Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 50174 Details for
Bug 80384
kdelibs emerge fails with syntax error from libxml2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Preprocessor output
kdoctools.preprocessor.txt (text/plain), 519.68 KB, created by
Kalen Brunham
on 2005-02-01 13:25:47 UTC
(
hide
)
Description:
Preprocessor output
Filename:
MIME Type:
Creator:
Kalen Brunham
Created:
2005-02-01 13:25:47 UTC
Size:
519.68 KB
patch
obsolete
>rm -f xslt_pure.cpp >ln -s ./xslt.cpp xslt_pure.cpp >g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kio/kssl -DSIMPLE_XSLT -I.. -I../kioslave -I../kioslave/bzip2 -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.3/include -I/usr/local/include/libxml2 -I/usr/include/libxml2 -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -E -c xslt_pure.cpp ># 1 "xslt_pure.cpp" ># 1 "<built-in>" ># 1 "<command line>" ># 1 "xslt_pure.cpp" ># 1 "/usr/include/libxslt/xsltconfig.h" 1 3 4 ># 15 "/usr/include/libxslt/xsltconfig.h" 3 4 >extern "C" { ># 139 "/usr/include/libxslt/xsltconfig.h" 3 4 >} ># 2 "xslt_pure.cpp" 2 ># 1 "/usr/include/libxslt/xsltInternals.h" 1 3 4 ># 16 "/usr/include/libxslt/xsltInternals.h" 3 4 ># 1 "/usr/local/include/libxml2/libxml/tree.h" 1 3 4 ># 16 "/usr/local/include/libxml2/libxml/tree.h" 3 4 ># 1 "/usr/include/stdio.h" 1 3 4 ># 28 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 296 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 297 "/usr/include/features.h" 2 3 4 ># 319 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 ># 320 "/usr/include/features.h" 2 3 4 ># 29 "/usr/include/stdio.h" 2 3 4 > >extern "C" { > > > ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/stddef.h" 1 3 4 ># 213 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/stddef.h" 3 4 >typedef unsigned int size_t; ># 35 "/usr/include/stdio.h" 2 3 4 > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 28 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/bits/types.h" 2 3 4 > > ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/stddef.h" 1 3 4 ># 32 "/usr/include/bits/types.h" 2 3 4 > > >typedef unsigned char __u_char; >typedef unsigned short int __u_short; >typedef unsigned int __u_int; >typedef unsigned long int __u_long; > > >typedef signed char __int8_t; >typedef unsigned char __uint8_t; >typedef signed short int __int16_t; >typedef unsigned short int __uint16_t; >typedef signed int __int32_t; >typedef unsigned int __uint32_t; > > > > >__extension__ typedef signed long long int __int64_t; >__extension__ typedef unsigned long long int __uint64_t; > > > > > > > >__extension__ typedef long long int __quad_t; >__extension__ typedef unsigned long long int __u_quad_t; ># 129 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 130 "/usr/include/bits/types.h" 2 3 4 > > > > > > >__extension__ typedef unsigned long long int __dev_t; >__extension__ typedef unsigned int __uid_t; >__extension__ typedef unsigned int __gid_t; >__extension__ typedef unsigned long int __ino_t; >__extension__ typedef unsigned long long int __ino64_t; >__extension__ typedef unsigned int __mode_t; >__extension__ typedef unsigned int __nlink_t; >__extension__ typedef long int __off_t; >__extension__ typedef long long int __off64_t; >__extension__ typedef int __pid_t; >__extension__ typedef struct { int __val[2]; } __fsid_t; >__extension__ typedef long int __clock_t; >__extension__ typedef unsigned long int __rlim_t; >__extension__ typedef unsigned long long int __rlim64_t; >__extension__ typedef unsigned int __id_t; >__extension__ typedef long int __time_t; >__extension__ typedef unsigned int __useconds_t; >__extension__ typedef long int __suseconds_t; > >__extension__ typedef int __daddr_t; >__extension__ typedef long int __swblk_t; >__extension__ typedef int __key_t; > > >__extension__ typedef int __clockid_t; > > >__extension__ typedef int __timer_t; > > >__extension__ typedef long int __blksize_t; > > > > >__extension__ typedef long int __blkcnt_t; >__extension__ typedef long long int __blkcnt64_t; > > >__extension__ typedef unsigned long int __fsblkcnt_t; >__extension__ typedef unsigned long long int __fsblkcnt64_t; > > >__extension__ typedef unsigned long int __fsfilcnt_t; >__extension__ typedef unsigned long long int __fsfilcnt64_t; > >__extension__ typedef int __ssize_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >__extension__ typedef int __intptr_t; > > >__extension__ typedef unsigned int __socklen_t; ># 37 "/usr/include/stdio.h" 2 3 4 > > > > > > > > > >typedef struct _IO_FILE FILE; > > > > > ># 62 "/usr/include/stdio.h" 3 4 >typedef struct _IO_FILE __FILE; ># 72 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/libio.h" 1 3 4 ># 32 "/usr/include/libio.h" 3 4 ># 1 "/usr/include/_G_config.h" 1 3 4 ># 14 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/stddef.h" 1 3 4 ># 354 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/stddef.h" 3 4 >typedef unsigned int wint_t; ># 15 "/usr/include/_G_config.h" 2 3 4 ># 24 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/include/wchar.h" 1 3 4 ># 48 "/usr/include/wchar.h" 3 4 ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/stddef.h" 1 3 4 ># 49 "/usr/include/wchar.h" 2 3 4 > ># 1 "/usr/include/bits/wchar.h" 1 3 4 ># 51 "/usr/include/wchar.h" 2 3 4 ># 76 "/usr/include/wchar.h" 3 4 >typedef struct >{ > int __count; > union > { > wint_t __wch; > char __wchb[4]; > } __value; >} __mbstate_t; ># 25 "/usr/include/_G_config.h" 2 3 4 > >typedef struct >{ > __off_t __pos; > __mbstate_t __state; >} _G_fpos_t; >typedef struct >{ > __off64_t __pos; > __mbstate_t __state; >} _G_fpos64_t; ># 44 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/include/gconv.h" 1 3 4 ># 28 "/usr/include/gconv.h" 3 4 ># 1 "/usr/include/wchar.h" 1 3 4 ># 48 "/usr/include/wchar.h" 3 4 ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/stddef.h" 1 3 4 ># 49 "/usr/include/wchar.h" 2 3 4 ># 29 "/usr/include/gconv.h" 2 3 4 > > ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/stddef.h" 1 3 4 ># 32 "/usr/include/gconv.h" 2 3 4 > > > > > >enum >{ > __GCONV_OK = 0, > __GCONV_NOCONV, > __GCONV_NODB, > __GCONV_NOMEM, > > __GCONV_EMPTY_INPUT, > __GCONV_FULL_OUTPUT, > __GCONV_ILLEGAL_INPUT, > __GCONV_INCOMPLETE_INPUT, > > __GCONV_ILLEGAL_DESCRIPTOR, > __GCONV_INTERNAL_ERROR >}; > > > >enum >{ > __GCONV_IS_LAST = 0x0001, > __GCONV_IGNORE_ERRORS = 0x0002 >}; > > > >struct __gconv_step; >struct __gconv_step_data; >struct __gconv_loaded_object; >struct __gconv_trans_data; > > > >typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, > __const unsigned char **, __const unsigned char *, > unsigned char **, size_t *, int, int); > > >typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char); > > >typedef int (*__gconv_init_fct) (struct __gconv_step *); >typedef void (*__gconv_end_fct) (struct __gconv_step *); > > > >typedef int (*__gconv_trans_fct) (struct __gconv_step *, > struct __gconv_step_data *, void *, > __const unsigned char *, > __const unsigned char **, > __const unsigned char *, unsigned char **, > size_t *); > > >typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, > __const unsigned char *, > unsigned char *, unsigned char *); > > >typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, > size_t *); > > >typedef int (*__gconv_trans_init_fct) (void **, const char *); >typedef void (*__gconv_trans_end_fct) (void *); > >struct __gconv_trans_data >{ > > __gconv_trans_fct __trans_fct; > __gconv_trans_context_fct __trans_context_fct; > __gconv_trans_end_fct __trans_end_fct; > void *__data; > struct __gconv_trans_data *__next; >}; > > > >struct __gconv_step >{ > struct __gconv_loaded_object *__shlib_handle; > __const char *__modname; > > int __counter; > > char *__from_name; > char *__to_name; > > __gconv_fct __fct; > __gconv_btowc_fct __btowc_fct; > __gconv_init_fct __init_fct; > __gconv_end_fct __end_fct; > > > > int __min_needed_from; > int __max_needed_from; > int __min_needed_to; > int __max_needed_to; > > > int __stateful; > > void *__data; >}; > > > >struct __gconv_step_data >{ > unsigned char *__outbuf; > unsigned char *__outbufend; > > > > int __flags; > > > > int __invocation_counter; > > > > int __internal_use; > > __mbstate_t *__statep; > __mbstate_t __state; > > > > struct __gconv_trans_data *__trans; >}; > > > >typedef struct __gconv_info >{ > size_t __nsteps; > struct __gconv_step *__steps; > __extension__ struct __gconv_step_data __data []; >} *__gconv_t; ># 45 "/usr/include/_G_config.h" 2 3 4 >typedef union >{ > struct __gconv_info __cd; > struct > { > struct __gconv_info __cd; > struct __gconv_step_data __data; > } __combined; >} _G_iconv_t; > >typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); >typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); ># 33 "/usr/include/libio.h" 2 3 4 ># 53 "/usr/include/libio.h" 3 4 ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/stdarg.h" 1 3 4 ># 43 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 54 "/usr/include/libio.h" 2 3 4 ># 163 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 173 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 196 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 264 "/usr/include/libio.h" 3 4 >struct _IO_FILE { > int _flags; > > > > > char* _IO_read_ptr; > char* _IO_read_end; > char* _IO_read_base; > char* _IO_write_base; > char* _IO_write_ptr; > char* _IO_write_end; > char* _IO_buf_base; > char* _IO_buf_end; > > char *_IO_save_base; > char *_IO_backup_base; > char *_IO_save_end; > > struct _IO_marker *_markers; > > struct _IO_FILE *_chain; > > int _fileno; > > > > int _flags2; > > __off_t _old_offset; > > > > unsigned short _cur_column; > signed char _vtable_offset; > char _shortbuf[1]; > > > > _IO_lock_t *_lock; ># 312 "/usr/include/libio.h" 3 4 > __off64_t _offset; > > > > > > void *__pad1; > void *__pad2; > > int _mode; > > char _unused2[15 * sizeof (int) - 2 * sizeof (void *)]; > >}; > > > > > >struct _IO_FILE_plus; > >extern struct _IO_FILE_plus _IO_2_1_stdin_; >extern struct _IO_FILE_plus _IO_2_1_stdout_; >extern struct _IO_FILE_plus _IO_2_1_stderr_; ># 351 "/usr/include/libio.h" 3 4 >typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); > > > > > > > >typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, > size_t __n); > > > > > > > >typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); > > >typedef int __io_close_fn (void *__cookie); > > > > >typedef __io_read_fn cookie_read_function_t; >typedef __io_write_fn cookie_write_function_t; >typedef __io_seek_fn cookie_seek_function_t; >typedef __io_close_fn cookie_close_function_t; > > >typedef struct >{ > __io_read_fn *read; > __io_write_fn *write; > __io_seek_fn *seek; > __io_close_fn *close; >} _IO_cookie_io_functions_t; >typedef _IO_cookie_io_functions_t cookie_io_functions_t; > >struct _IO_cookie_file; > > >extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, > void *__cookie, _IO_cookie_io_functions_t __fns); > > > > >extern "C" { > > >extern int __underflow (_IO_FILE *) throw (); >extern int __uflow (_IO_FILE *) throw (); >extern int __overflow (_IO_FILE *, int) throw (); >extern wint_t __wunderflow (_IO_FILE *) throw (); >extern wint_t __wuflow (_IO_FILE *) throw (); >extern wint_t __woverflow (_IO_FILE *, wint_t) throw (); ># 441 "/usr/include/libio.h" 3 4 >extern int _IO_getc (_IO_FILE *__fp) throw (); >extern int _IO_putc (int __c, _IO_FILE *__fp) throw (); >extern int _IO_feof (_IO_FILE *__fp) throw (); >extern int _IO_ferror (_IO_FILE *__fp) throw (); > >extern int _IO_peekc_locked (_IO_FILE *__fp) throw (); > > > > > >extern void _IO_flockfile (_IO_FILE *) throw (); >extern void _IO_funlockfile (_IO_FILE *) throw (); >extern int _IO_ftrylockfile (_IO_FILE *) throw (); ># 471 "/usr/include/libio.h" 3 4 >extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, > __gnuc_va_list, int *__restrict) throw (); >extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, > __gnuc_va_list) throw (); >extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) throw (); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) throw (); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) throw (); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) throw (); > >extern void _IO_free_backup_area (_IO_FILE *) throw (); ># 529 "/usr/include/libio.h" 3 4 >} ># 73 "/usr/include/stdio.h" 2 3 4 > > > > >typedef __gnuc_va_list va_list; ># 86 "/usr/include/stdio.h" 3 4 > > >typedef _G_fpos_t fpos_t; > > > > > >typedef _G_fpos64_t fpos64_t; ># 138 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 139 "/usr/include/stdio.h" 2 3 4 > > > >extern struct _IO_FILE *stdin; >extern struct _IO_FILE *stdout; >extern struct _IO_FILE *stderr; > > > > > > > >extern int remove (__const char *__filename) throw (); > >extern int rename (__const char *__old, __const char *__new) throw (); > > > > > > > > > >extern FILE *tmpfile (void); ># 174 "/usr/include/stdio.h" 3 4 >extern FILE *tmpfile64 (void); > > > >extern char *tmpnam (char *__s) throw (); > > > > > >extern char *tmpnam_r (char *__s) throw (); ># 196 "/usr/include/stdio.h" 3 4 >extern char *tempnam (__const char *__dir, __const char *__pfx) > throw () __attribute__ ((__malloc__)); > > > > > > > > >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); > ># 221 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 231 "/usr/include/stdio.h" 3 4 >extern int fcloseall (void); > > > > > > > > > >extern FILE *fopen (__const char *__restrict __filename, > __const char *__restrict __modes); > > > > >extern FILE *freopen (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream); ># 262 "/usr/include/stdio.h" 3 4 > > >extern FILE *fopen64 (__const char *__restrict __filename, > __const char *__restrict __modes); >extern FILE *freopen64 (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream); > > > > >extern FILE *fdopen (int __fd, __const char *__modes) throw (); > > > > > >extern FILE *fopencookie (void *__restrict __magic_cookie, > __const char *__restrict __modes, > _IO_cookie_io_functions_t __io_funcs) throw (); > > >extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) throw (); > > > > >extern FILE *open_memstream (char **__restrict __bufloc, > size_t *__restrict __sizeloc) throw (); > > > > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) throw (); > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) throw (); > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) throw (); > > >extern void setlinebuf (FILE *__stream) throw (); > > > > > > > > >extern int fprintf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int printf (__const char *__restrict __format, ...); > >extern int sprintf (char *__restrict __s, > __const char *__restrict __format, ...) throw (); > > > > > >extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg); > > > > >extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); > >extern int vsprintf (char *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) throw (); > > > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, ...) > throw () __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, __gnuc_va_list __arg) > throw () __attribute__ ((__format__ (__printf__, 3, 0))); > > > > > > >extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f, > __gnuc_va_list __arg) > throw () __attribute__ ((__format__ (__printf__, 2, 0))); >extern int __asprintf (char **__restrict __ptr, > __const char *__restrict __fmt, ...) > throw () __attribute__ ((__format__ (__printf__, 2, 3))); >extern int asprintf (char **__restrict __ptr, > __const char *__restrict __fmt, ...) > throw () __attribute__ ((__format__ (__printf__, 2, 3))); > > > > > > > >extern int vdprintf (int __fd, __const char *__restrict __fmt, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__printf__, 2, 0))); >extern int dprintf (int __fd, __const char *__restrict __fmt, ...) > __attribute__ ((__format__ (__printf__, 2, 3))); > > > > > > > > >extern int fscanf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int scanf (__const char *__restrict __format, ...); > >extern int sscanf (__const char *__restrict __s, > __const char *__restrict __format, ...) throw (); > > > > > > > > >extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 2, 0))); > > > > > >extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 1, 0))); > > >extern int vsscanf (__const char *__restrict __s, > __const char *__restrict __format, __gnuc_va_list __arg) > throw () __attribute__ ((__format__ (__scanf__, 2, 0))); > > > > > > > > > >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); > ># 454 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 465 "/usr/include/stdio.h" 3 4 >extern int fgetc_unlocked (FILE *__stream); > > > > > > > > > > > >extern int fputc (int __c, FILE *__stream); >extern int putc (int __c, FILE *__stream); > > > > > >extern int putchar (int __c); > ># 498 "/usr/include/stdio.h" 3 4 >extern int fputc_unlocked (int __c, FILE *__stream); > > > > > > > >extern int putc_unlocked (int __c, FILE *__stream); >extern int putchar_unlocked (int __c); > > > > > > >extern int getw (FILE *__stream); > > >extern int putw (int __w, FILE *__stream); > > > > > > > > >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream); > > > > > > >extern char *gets (char *__s); > ># 543 "/usr/include/stdio.h" 3 4 >extern char *fgets_unlocked (char *__restrict __s, int __n, > FILE *__restrict __stream); ># 559 "/usr/include/stdio.h" 3 4 >extern __ssize_t __getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream); >extern __ssize_t getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream); > > > > > > > >extern __ssize_t getline (char **__restrict __lineptr, > size_t *__restrict __n, > FILE *__restrict __stream); > > > > > > > > >extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); > > > > > >extern int puts (__const char *__s); > > > > > > >extern int ungetc (int __c, FILE *__stream); > > > > > > >extern size_t fread (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); > > > > >extern size_t fwrite (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __s); > ># 620 "/usr/include/stdio.h" 3 4 >extern int fputs_unlocked (__const char *__restrict __s, > FILE *__restrict __stream); ># 631 "/usr/include/stdio.h" 3 4 >extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); >extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); > > > > > > > > >extern int fseek (FILE *__stream, long int __off, int __whence); > > > > >extern long int ftell (FILE *__stream); > > > > >extern void rewind (FILE *__stream); > ># 667 "/usr/include/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off_t __off, int __whence); > > > > >extern __off_t ftello (FILE *__stream); ># 686 "/usr/include/stdio.h" 3 4 > > > > > > >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); > > > > >extern int fsetpos (FILE *__stream, __const fpos_t *__pos); ># 709 "/usr/include/stdio.h" 3 4 > > > >extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); >extern __off64_t ftello64 (FILE *__stream); >extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); >extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos); > > > > >extern void clearerr (FILE *__stream) throw (); > >extern int feof (FILE *__stream) throw (); > >extern int ferror (FILE *__stream) throw (); > > > > >extern void clearerr_unlocked (FILE *__stream) throw (); >extern int feof_unlocked (FILE *__stream) throw (); >extern int ferror_unlocked (FILE *__stream) throw (); > > > > > > > > >extern void perror (__const char *__s); > > > > > > ># 1 "/usr/include/bits/sys_errlist.h" 1 3 4 ># 27 "/usr/include/bits/sys_errlist.h" 3 4 >extern int sys_nerr; >extern __const char *__const sys_errlist[]; > > >extern int _sys_nerr; >extern __const char *__const _sys_errlist[]; ># 748 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) throw (); > > > > >extern int fileno_unlocked (FILE *__stream) throw (); ># 767 "/usr/include/stdio.h" 3 4 >extern FILE *popen (__const char *__command, __const char *__modes); > > > > > >extern int pclose (FILE *__stream); > > > > > >extern char *ctermid (char *__s) throw (); > > > > > >extern char *cuserid (char *__s); > > > > >struct obstack; > > >extern int obstack_printf (struct obstack *__restrict __obstack, > __const char *__restrict __format, ...) > throw () __attribute__ ((__format__ (__printf__, 2, 3))); >extern int obstack_vprintf (struct obstack *__restrict __obstack, > __const char *__restrict __format, > __gnuc_va_list __args) > throw () __attribute__ ((__format__ (__printf__, 2, 0))); > > > > > > > >extern void flockfile (FILE *__stream) throw (); > > > >extern int ftrylockfile (FILE *__stream) throw (); > > >extern void funlockfile (FILE *__stream) throw (); ># 828 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio.h" 1 3 4 ># 33 "/usr/include/bits/stdio.h" 3 4 >inline int >vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) >{ > return vfprintf (stdout, __fmt, __arg); >} > > >inline int >getchar (void) >{ > return _IO_getc (stdin); >} > > > > >inline int >getc_unlocked (FILE *__fp) >{ > return (__builtin_expect ((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end, 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > >inline int >getchar_unlocked (void) >{ > return (__builtin_expect ((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end, 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); >} > > > > >inline int >putchar (int __c) >{ > return _IO_putc (__c, stdout); >} > > > > >inline int >fputc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect ((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end, 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > > > > >inline int >putc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect ((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end, 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > >inline int >putchar_unlocked (int __c) >{ > return (__builtin_expect ((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end, 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); >} > > > > > >inline __ssize_t >getline (char **__lineptr, size_t *__n, FILE *__stream) >{ > return __getdelim (__lineptr, __n, '\n', __stream); >} > > > > > >inline int >feof_unlocked (FILE *__stream) throw () >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >inline int >ferror_unlocked (FILE *__stream) throw () >{ > return (((__stream)->_flags & 0x20) != 0); >} ># 829 "/usr/include/stdio.h" 2 3 4 > > >} ># 17 "/usr/local/include/libxml2/libxml/tree.h" 2 3 4 > > > ># 1 "/usr/local/include/libxml2/libxml/xmlversion.h" 1 3 4 ># 13 "/usr/local/include/libxml2/libxml/xmlversion.h" 3 4 >extern "C" { > > > > > > > >extern void xmlCheckVersion(int version); ># 232 "/usr/local/include/libxml2/libxml/xmlversion.h" 3 4 >} ># 21 "/usr/local/include/libxml2/libxml/tree.h" 2 3 4 > > >extern "C" { > > > > > > >typedef struct _xmlParserInputBuffer xmlParserInputBuffer; >typedef xmlParserInputBuffer *xmlParserInputBufferPtr; > >typedef struct _xmlOutputBuffer xmlOutputBuffer; >typedef xmlOutputBuffer *xmlOutputBufferPtr; > > >typedef struct _xmlParserInput xmlParserInput; >typedef xmlParserInput *xmlParserInputPtr; > >typedef struct _xmlParserCtxt xmlParserCtxt; >typedef xmlParserCtxt *xmlParserCtxtPtr; > >typedef struct _xmlSAXLocator xmlSAXLocator; >typedef xmlSAXLocator *xmlSAXLocatorPtr; > >typedef struct _xmlSAXHandler xmlSAXHandler; >typedef xmlSAXHandler *xmlSAXHandlerPtr; > > >typedef struct _xmlEntity xmlEntity; >typedef xmlEntity *xmlEntityPtr; ># 78 "/usr/local/include/libxml2/libxml/tree.h" 3 4 >typedef enum { > XML_ELEMENT_NODE= 1, > XML_ATTRIBUTE_NODE= 2, > XML_TEXT_NODE= 3, > XML_CDATA_SECTION_NODE= 4, > XML_ENTITY_REF_NODE= 5, > XML_ENTITY_NODE= 6, > XML_PI_NODE= 7, > XML_COMMENT_NODE= 8, > XML_DOCUMENT_NODE= 9, > XML_DOCUMENT_TYPE_NODE= 10, > XML_DOCUMENT_FRAG_NODE= 11, > XML_NOTATION_NODE= 12, > XML_HTML_DOCUMENT_NODE= 13, > XML_DTD_NODE= 14, > XML_ELEMENT_DECL= 15, > XML_ATTRIBUTE_DECL= 16, > XML_ENTITY_DECL= 17, > XML_NAMESPACE_DECL= 18, > XML_XINCLUDE_START= 19, > XML_XINCLUDE_END= 20 > > ,XML_DOCB_DOCUMENT_NODE= 21 > >} xmlElementType; ># 112 "/usr/local/include/libxml2/libxml/tree.h" 3 4 >typedef unsigned char xmlChar; ># 127 "/usr/local/include/libxml2/libxml/tree.h" 3 4 >typedef struct _xmlNotation xmlNotation; >typedef xmlNotation *xmlNotationPtr; >struct _xmlNotation { > const xmlChar *name; > const xmlChar *PublicID; > const xmlChar *SystemID; >}; > > > > > > > >typedef enum { > XML_ATTRIBUTE_CDATA = 1, > XML_ATTRIBUTE_ID, > XML_ATTRIBUTE_IDREF , > XML_ATTRIBUTE_IDREFS, > XML_ATTRIBUTE_ENTITY, > XML_ATTRIBUTE_ENTITIES, > XML_ATTRIBUTE_NMTOKEN, > XML_ATTRIBUTE_NMTOKENS, > XML_ATTRIBUTE_ENUMERATION, > XML_ATTRIBUTE_NOTATION >} xmlAttributeType; > > > > > > > >typedef enum { > XML_ATTRIBUTE_NONE = 1, > XML_ATTRIBUTE_REQUIRED, > XML_ATTRIBUTE_IMPLIED, > XML_ATTRIBUTE_FIXED >} xmlAttributeDefault; > > > > > > > >typedef struct _xmlEnumeration xmlEnumeration; >typedef xmlEnumeration *xmlEnumerationPtr; >struct _xmlEnumeration { > struct _xmlEnumeration *next; > const xmlChar *name; >}; > > > > > > > >typedef struct _xmlAttribute xmlAttribute; >typedef xmlAttribute *xmlAttributePtr; >struct _xmlAttribute { > void *_private; > xmlElementType type; > const xmlChar *name; > struct _xmlNode *children; > struct _xmlNode *last; > struct _xmlDtd *parent; > struct _xmlNode *next; > struct _xmlNode *prev; > struct _xmlDoc *doc; > > struct _xmlAttribute *nexth; > xmlAttributeType atype; > xmlAttributeDefault def; > const xmlChar *defaultValue; > xmlEnumerationPtr tree; > const xmlChar *prefix; > const xmlChar *elem; >}; > > > > > > >typedef enum { > XML_ELEMENT_CONTENT_PCDATA = 1, > XML_ELEMENT_CONTENT_ELEMENT, > XML_ELEMENT_CONTENT_SEQ, > XML_ELEMENT_CONTENT_OR >} xmlElementContentType; > > > > > > >typedef enum { > XML_ELEMENT_CONTENT_ONCE = 1, > XML_ELEMENT_CONTENT_OPT, > XML_ELEMENT_CONTENT_MULT, > XML_ELEMENT_CONTENT_PLUS >} xmlElementContentOccur; ># 239 "/usr/local/include/libxml2/libxml/tree.h" 3 4 >typedef struct _xmlElementContent xmlElementContent; >typedef xmlElementContent *xmlElementContentPtr; >struct _xmlElementContent { > xmlElementContentType type; > xmlElementContentOccur ocur; > const xmlChar *name; > struct _xmlElementContent *c1; > struct _xmlElementContent *c2; > struct _xmlElementContent *parent; > const xmlChar *prefix; >}; > > > > > > > >typedef enum { > XML_ELEMENT_TYPE_UNDEFINED = 0, > XML_ELEMENT_TYPE_EMPTY = 1, > XML_ELEMENT_TYPE_ANY, > XML_ELEMENT_TYPE_MIXED, > XML_ELEMENT_TYPE_ELEMENT >} xmlElementTypeVal; > > > > > > > >typedef struct _xmlElement xmlElement; >typedef xmlElement *xmlElementPtr; >struct _xmlElement { > void *_private; > xmlElementType type; > const xmlChar *name; > struct _xmlNode *children; > struct _xmlNode *last; > struct _xmlDtd *parent; > struct _xmlNode *next; > struct _xmlNode *prev; > struct _xmlDoc *doc; > > xmlElementTypeVal etype; > xmlElementContentPtr content; > xmlAttributePtr attributes; > const xmlChar *prefix; >}; ># 297 "/usr/local/include/libxml2/libxml/tree.h" 3 4 >typedef xmlElementType xmlNsType; ># 309 "/usr/local/include/libxml2/libxml/tree.h" 3 4 >typedef struct _xmlNs xmlNs; >typedef xmlNs *xmlNsPtr; >struct _xmlNs { > struct _xmlNs *next; > xmlNsType type; > const xmlChar *href; > const xmlChar *prefix; >}; > > > > > > > >typedef struct _xmlDtd xmlDtd; >typedef xmlDtd *xmlDtdPtr; >struct _xmlDtd { > void *_private; > xmlElementType type; > const xmlChar *name; > struct _xmlNode *children; > struct _xmlNode *last; > struct _xmlDoc *parent; > struct _xmlNode *next; > struct _xmlNode *prev; > struct _xmlDoc *doc; > > > void *notations; > void *elements; > void *attributes; > void *entities; > const xmlChar *ExternalID; > const xmlChar *SystemID; > void *pentities; >}; > > > > > > >typedef struct _xmlAttr xmlAttr; >typedef xmlAttr *xmlAttrPtr; >struct _xmlAttr { > void *_private; > xmlElementType type; > const xmlChar *name; > struct _xmlNode *children; > struct _xmlNode *last; > struct _xmlNode *parent; > struct _xmlAttr *next; > struct _xmlAttr *prev; > struct _xmlDoc *doc; > xmlNs *ns; > xmlAttributeType atype; >}; > > > > > > > >typedef struct _xmlID xmlID; >typedef xmlID *xmlIDPtr; >struct _xmlID { > struct _xmlID *next; > const xmlChar *value; > xmlAttrPtr attr; >}; > > > > > > > >typedef struct _xmlRef xmlRef; >typedef xmlRef *xmlRefPtr; >struct _xmlRef { > struct _xmlRef *next; > const xmlChar *value; > xmlAttrPtr attr; >}; ># 403 "/usr/local/include/libxml2/libxml/tree.h" 3 4 >typedef enum { > XML_BUFFER_ALLOC_DOUBLEIT, > XML_BUFFER_ALLOC_EXACT >} xmlBufferAllocationScheme; > > > > > > >typedef struct _xmlBuffer xmlBuffer; >typedef xmlBuffer *xmlBufferPtr; >struct _xmlBuffer { > xmlChar *content; > unsigned int use; > unsigned int size; > xmlBufferAllocationScheme alloc; >}; > > > > > > >typedef struct _xmlNode xmlNode; >typedef xmlNode *xmlNodePtr; >struct _xmlNode { > void *_private; > xmlElementType type; > const xmlChar *name; > struct _xmlNode *children; > struct _xmlNode *last; > struct _xmlNode *parent; > struct _xmlNode *next; > struct _xmlNode *prev; > struct _xmlDoc *doc; > > > xmlNs *ns; > xmlChar *content; > struct _xmlAttr *properties; > xmlNs *nsDef; >}; ># 470 "/usr/local/include/libxml2/libxml/tree.h" 3 4 >typedef struct _xmlDoc xmlDoc; >typedef xmlDoc *xmlDocPtr; >struct _xmlDoc { > void *_private; > xmlElementType type; > char *name; > struct _xmlNode *children; > struct _xmlNode *last; > struct _xmlNode *parent; > struct _xmlNode *next; > struct _xmlNode *prev; > struct _xmlDoc *doc; > > > int compression; > int standalone; > struct _xmlDtd *intSubset; > struct _xmlDtd *extSubset; > struct _xmlNs *oldNs; > const xmlChar *version; > const xmlChar *encoding; > void *ids; > void *refs; > const xmlChar *URL; > int charset; > >}; ># 531 "/usr/local/include/libxml2/libxml/tree.h" 3 4 >void xmlSetBufferAllocationScheme(xmlBufferAllocationScheme scheme); >xmlBufferAllocationScheme xmlGetBufferAllocationScheme(void); > >xmlBufferPtr xmlBufferCreate (void); >xmlBufferPtr xmlBufferCreateSize (size_t size); >int xmlBufferResize (xmlBufferPtr buf, > unsigned int size); >void xmlBufferFree (xmlBufferPtr buf); >int xmlBufferDump (FILE *file, > xmlBufferPtr buf); >void xmlBufferAdd (xmlBufferPtr buf, > const xmlChar *str, > int len); >void xmlBufferAddHead (xmlBufferPtr buf, > const xmlChar *str, > int len); >void xmlBufferCat (xmlBufferPtr buf, > const xmlChar *str); >void xmlBufferCCat (xmlBufferPtr buf, > const char *str); >int xmlBufferShrink (xmlBufferPtr buf, > unsigned int len); >int xmlBufferGrow (xmlBufferPtr buf, > unsigned int len); >void xmlBufferEmpty (xmlBufferPtr buf); >const xmlChar* xmlBufferContent (const xmlBufferPtr buf); >void xmlBufferSetAllocationScheme(xmlBufferPtr buf, > xmlBufferAllocationScheme scheme); >int xmlBufferLength (const xmlBufferPtr buf); > > > > >xmlDtdPtr xmlCreateIntSubset (xmlDocPtr doc, > const xmlChar *name, > const xmlChar *ExternalID, > const xmlChar *SystemID); >xmlDtdPtr xmlNewDtd (xmlDocPtr doc, > const xmlChar *name, > const xmlChar *ExternalID, > const xmlChar *SystemID); >xmlDtdPtr xmlGetIntSubset (xmlDocPtr doc); >void xmlFreeDtd (xmlDtdPtr cur); >xmlNsPtr xmlNewGlobalNs (xmlDocPtr doc, > const xmlChar *href, > const xmlChar *prefix); >xmlNsPtr xmlNewNs (xmlNodePtr node, > const xmlChar *href, > const xmlChar *prefix); >void xmlFreeNs (xmlNsPtr cur); >void xmlFreeNsList (xmlNsPtr cur); >xmlDocPtr xmlNewDoc (const xmlChar *version); >void xmlFreeDoc (xmlDocPtr cur); >xmlAttrPtr xmlNewDocProp (xmlDocPtr doc, > const xmlChar *name, > const xmlChar *value); >xmlAttrPtr xmlNewProp (xmlNodePtr node, > const xmlChar *name, > const xmlChar *value); >xmlAttrPtr xmlNewNsProp (xmlNodePtr node, > xmlNsPtr ns, > const xmlChar *name, > const xmlChar *value); >void xmlFreePropList (xmlAttrPtr cur); >void xmlFreeProp (xmlAttrPtr cur); >xmlAttrPtr xmlCopyProp (xmlNodePtr target, > xmlAttrPtr cur); >xmlAttrPtr xmlCopyPropList (xmlNodePtr target, > xmlAttrPtr cur); >xmlDtdPtr xmlCopyDtd (xmlDtdPtr dtd); >xmlDocPtr xmlCopyDoc (xmlDocPtr doc, > int recursive); > > > > >xmlNodePtr xmlNewDocNode (xmlDocPtr doc, > xmlNsPtr ns, > const xmlChar *name, > const xmlChar *content); >xmlNodePtr xmlNewDocRawNode (xmlDocPtr doc, > xmlNsPtr ns, > const xmlChar *name, > const xmlChar *content); >xmlNodePtr xmlNewNode (xmlNsPtr ns, > const xmlChar *name); >xmlNodePtr xmlNewChild (xmlNodePtr parent, > xmlNsPtr ns, > const xmlChar *name, > const xmlChar *content); >xmlNodePtr xmlNewTextChild (xmlNodePtr parent, > xmlNsPtr ns, > const xmlChar *name, > const xmlChar *content); >xmlNodePtr xmlNewDocText (xmlDocPtr doc, > const xmlChar *content); >xmlNodePtr xmlNewText (const xmlChar *content); >xmlNodePtr xmlNewPI (const xmlChar *name, > const xmlChar *content); >xmlNodePtr xmlNewDocTextLen (xmlDocPtr doc, > const xmlChar *content, > int len); >xmlNodePtr xmlNewTextLen (const xmlChar *content, > int len); >xmlNodePtr xmlNewDocComment (xmlDocPtr doc, > const xmlChar *content); >xmlNodePtr xmlNewComment (const xmlChar *content); >xmlNodePtr xmlNewCDataBlock (xmlDocPtr doc, > const xmlChar *content, > int len); >xmlNodePtr xmlNewCharRef (xmlDocPtr doc, > const xmlChar *name); >xmlNodePtr xmlNewReference (xmlDocPtr doc, > const xmlChar *name); >xmlNodePtr xmlCopyNode (const xmlNodePtr node, > int recursive); >xmlNodePtr xmlDocCopyNode (xmlNodePtr node, > xmlDocPtr doc, > int recursive); >xmlNodePtr xmlCopyNodeList (xmlNodePtr node); >xmlNodePtr xmlNewDocFragment (xmlDocPtr doc); > > > > >long xmlGetLineNo (xmlNodePtr node); >xmlChar * xmlGetNodePath (xmlNodePtr node); >xmlNodePtr xmlDocGetRootElement (xmlDocPtr doc); >xmlNodePtr xmlGetLastChild (xmlNodePtr parent); >int xmlNodeIsText (xmlNodePtr node); >int xmlIsBlankNode (xmlNodePtr node); > > > > >xmlNodePtr xmlDocSetRootElement (xmlDocPtr doc, > xmlNodePtr root); >void xmlNodeSetName (xmlNodePtr cur, > const xmlChar *name); >xmlNodePtr xmlAddChild (xmlNodePtr parent, > xmlNodePtr cur); >xmlNodePtr xmlAddChildList (xmlNodePtr parent, > xmlNodePtr cur); >xmlNodePtr xmlReplaceNode (xmlNodePtr old, > xmlNodePtr cur); >xmlNodePtr xmlAddSibling (xmlNodePtr cur, > xmlNodePtr elem); >xmlNodePtr xmlAddPrevSibling (xmlNodePtr cur, > xmlNodePtr elem); >xmlNodePtr xmlAddNextSibling (xmlNodePtr cur, > xmlNodePtr elem); >void xmlUnlinkNode (xmlNodePtr cur); >xmlNodePtr xmlTextMerge (xmlNodePtr first, > xmlNodePtr second); >void xmlTextConcat (xmlNodePtr node, > const xmlChar *content, > int len); >void xmlFreeNodeList (xmlNodePtr cur); >void xmlFreeNode (xmlNodePtr cur); >void xmlSetTreeDoc (xmlNodePtr tree, > xmlDocPtr doc); >void xmlSetListDoc (xmlNodePtr list, > xmlDocPtr doc); > > > > >xmlNsPtr xmlSearchNs (xmlDocPtr doc, > xmlNodePtr node, > const xmlChar *nameSpace); >xmlNsPtr xmlSearchNsByHref (xmlDocPtr doc, > xmlNodePtr node, > const xmlChar *href); >xmlNsPtr * xmlGetNsList (xmlDocPtr doc, > xmlNodePtr node); >void xmlSetNs (xmlNodePtr node, > xmlNsPtr ns); >xmlNsPtr xmlCopyNamespace (xmlNsPtr cur); >xmlNsPtr xmlCopyNamespaceList (xmlNsPtr cur); > > > > >xmlAttrPtr xmlSetProp (xmlNodePtr node, > const xmlChar *name, > const xmlChar *value); >xmlChar * xmlGetProp (xmlNodePtr node, > const xmlChar *name); >xmlAttrPtr xmlHasProp (xmlNodePtr node, > const xmlChar *name); >xmlAttrPtr xmlHasNsProp (xmlNodePtr node, > const xmlChar *name, > const xmlChar *nameSpace); >xmlAttrPtr xmlSetNsProp (xmlNodePtr node, > xmlNsPtr ns, > const xmlChar *name, > const xmlChar *value); >xmlChar * xmlGetNsProp (xmlNodePtr node, > const xmlChar *name, > const xmlChar *nameSpace); >xmlNodePtr xmlStringGetNodeList (xmlDocPtr doc, > const xmlChar *value); >xmlNodePtr xmlStringLenGetNodeList (xmlDocPtr doc, > const xmlChar *value, > int len); >xmlChar * xmlNodeListGetString (xmlDocPtr doc, > xmlNodePtr list, > int inLine); >xmlChar * xmlNodeListGetRawString (xmlDocPtr doc, > xmlNodePtr list, > int inLine); >void xmlNodeSetContent (xmlNodePtr cur, > const xmlChar *content); >void xmlNodeSetContentLen (xmlNodePtr cur, > const xmlChar *content, > int len); >void xmlNodeAddContent (xmlNodePtr cur, > const xmlChar *content); >void xmlNodeAddContentLen (xmlNodePtr cur, > const xmlChar *content, > int len); >xmlChar * xmlNodeGetContent (xmlNodePtr cur); >xmlChar * xmlNodeGetLang (xmlNodePtr cur); >void xmlNodeSetLang (xmlNodePtr cur, > const xmlChar *lang); >int xmlNodeGetSpacePreserve (xmlNodePtr cur); >void xmlNodeSetSpacePreserve (xmlNodePtr cur, > int val); >xmlChar * xmlNodeGetBase (xmlDocPtr doc, > xmlNodePtr cur); >void xmlNodeSetBase (xmlNodePtr cur, > xmlChar *uri); > > > > >int xmlRemoveProp (xmlAttrPtr cur); >int xmlUnsetProp (xmlNodePtr node, > const xmlChar *name); >int xmlUnsetNsProp (xmlNodePtr node, > xmlNsPtr ns, > const xmlChar *name); ># 782 "/usr/local/include/libxml2/libxml/tree.h" 3 4 >void xmlBufferWriteCHAR (xmlBufferPtr buf, > const xmlChar *string); > >void xmlBufferWriteChar (xmlBufferPtr buf, > const char *string); >void xmlBufferWriteQuotedString(xmlBufferPtr buf, > const xmlChar *string); > > > > >int xmlReconciliateNs (xmlDocPtr doc, > xmlNodePtr tree); > > > > >void xmlDocDumpFormatMemory (xmlDocPtr cur, > xmlChar **mem, > int *size, > int format); >void xmlDocDumpMemory (xmlDocPtr cur, > xmlChar **mem, > int *size); >void xmlDocDumpMemoryEnc (xmlDocPtr out_doc, > xmlChar **doc_txt_ptr, > int * doc_txt_len, > const char *txt_encoding); >void xmlDocDumpFormatMemoryEnc(xmlDocPtr out_doc, > xmlChar **doc_txt_ptr, > int * doc_txt_len, > const char *txt_encoding, > int format); >int xmlDocDump (FILE *f, > xmlDocPtr cur); >void xmlElemDump (FILE *f, > xmlDocPtr doc, > xmlNodePtr cur); >int xmlSaveFile (const char *filename, > xmlDocPtr cur); >int xmlSaveFormatFile (const char *filename, > xmlDocPtr cur, > int format); >void xmlNodeDump (xmlBufferPtr buf, > xmlDocPtr doc, > xmlNodePtr cur, > int level, > int format); > >int xmlSaveFileTo (xmlOutputBufferPtr buf, > xmlDocPtr cur, > const char *encoding); >int xmlSaveFormatFileTo (xmlOutputBufferPtr buf, > xmlDocPtr cur, > const char *encoding, > int format); >void xmlNodeDumpOutput (xmlOutputBufferPtr buf, > xmlDocPtr doc, > xmlNodePtr cur, > int level, > int format, > const char *encoding); > >int xmlSaveFormatFileEnc (const char *filename, > xmlDocPtr cur, > const char *encoding, > int format); > >int xmlSaveFileEnc (const char *filename, > xmlDocPtr cur, > const char *encoding); > > > > >int xmlGetDocCompressMode (xmlDocPtr doc); >void xmlSetDocCompressMode (xmlDocPtr doc, > int mode); >int xmlGetCompressMode (void); >void xmlSetCompressMode (int mode); > > >} > > ># 1 "/usr/local/include/libxml2/libxml/xmlmemory.h" 1 3 4 ># 45 "/usr/local/include/libxml2/libxml/xmlmemory.h" 3 4 >extern "C" { ># 57 "/usr/local/include/libxml2/libxml/xmlmemory.h" 3 4 >typedef void (*xmlFreeFunc)(void *mem); ># 66 "/usr/local/include/libxml2/libxml/xmlmemory.h" 3 4 >typedef void *(*xmlMallocFunc)(size_t size); ># 77 "/usr/local/include/libxml2/libxml/xmlmemory.h" 3 4 >typedef void *(*xmlReallocFunc)(void *mem, size_t size); ># 87 "/usr/local/include/libxml2/libxml/xmlmemory.h" 3 4 >typedef char *(*xmlStrdupFunc)(const char *str); ># 100 "/usr/local/include/libxml2/libxml/xmlmemory.h" 3 4 >int xmlMemSetup (xmlFreeFunc freeFunc, > xmlMallocFunc mallocFunc, > xmlReallocFunc reallocFunc, > xmlStrdupFunc strdupFunc); >int xmlMemGet (xmlFreeFunc *freeFunc, > xmlMallocFunc *mallocFunc, > xmlReallocFunc *reallocFunc, > xmlStrdupFunc *strdupFunc); > > > > >int xmlInitMemory (void); > > > > >int xmlMemUsed (void); >void xmlMemDisplay (FILE *fp); >void xmlMemShow (FILE *fp, int nr); >void xmlMemoryDump (void); ># 158 "/usr/local/include/libxml2/libxml/xmlmemory.h" 3 4 >} > > > > ># 1 "/usr/local/include/libxml2/libxml/threads.h" 1 3 4 ># 13 "/usr/local/include/libxml2/libxml/threads.h" 3 4 >extern "C" { > > > > > >typedef struct _xmlMutex xmlMutex; >typedef xmlMutex *xmlMutexPtr; > > > > >typedef struct _xmlRMutex xmlRMutex; >typedef xmlRMutex *xmlRMutexPtr; > > >} > ># 1 "/usr/local/include/libxml2/libxml/globals.h" 1 3 4 ># 16 "/usr/local/include/libxml2/libxml/globals.h" 3 4 ># 1 "/usr/local/include/libxml2/libxml/parser.h" 1 3 4 ># 12 "/usr/local/include/libxml2/libxml/parser.h" 3 4 ># 1 "/usr/local/include/libxml2/libxml/tree.h" 1 3 4 ># 13 "/usr/local/include/libxml2/libxml/parser.h" 2 3 4 ># 1 "/usr/local/include/libxml2/libxml/valid.h" 1 3 4 ># 14 "/usr/local/include/libxml2/libxml/valid.h" 3 4 ># 1 "/usr/local/include/libxml2/libxml/list.h" 1 3 4 ># 22 "/usr/local/include/libxml2/libxml/list.h" 3 4 >extern "C" { > > >typedef struct _xmlLink xmlLink; >typedef xmlLink *xmlLinkPtr; > >typedef struct _xmlList xmlList; >typedef xmlList *xmlListPtr; > > > > > > > >typedef void (*xmlListDeallocator) (xmlLinkPtr lk); ># 47 "/usr/local/include/libxml2/libxml/list.h" 3 4 >typedef int (*xmlListDataCompare) (const void *data0, const void *data1); ># 57 "/usr/local/include/libxml2/libxml/list.h" 3 4 >typedef int (*xmlListWalker) (const void *data, const void *user); > > >xmlListPtr xmlListCreate (xmlListDeallocator deallocator, > xmlListDataCompare compare); >void xmlListDelete (xmlListPtr l); > > >void * xmlListSearch (xmlListPtr l, > void *data); >void * xmlListReverseSearch (xmlListPtr l, > void *data); >int xmlListInsert (xmlListPtr l, > void *data) ; >int xmlListAppend (xmlListPtr l, > void *data) ; >int xmlListRemoveFirst (xmlListPtr l, > void *data); >int xmlListRemoveLast (xmlListPtr l, > void *data); >int xmlListRemoveAll (xmlListPtr l, > void *data); >void xmlListClear (xmlListPtr l); >int xmlListEmpty (xmlListPtr l); >xmlLinkPtr xmlListFront (xmlListPtr l); >xmlLinkPtr xmlListEnd (xmlListPtr l); >int xmlListSize (xmlListPtr l); > >void xmlListPopFront (xmlListPtr l); >void xmlListPopBack (xmlListPtr l); >int xmlListPushFront (xmlListPtr l, > void *data); >int xmlListPushBack (xmlListPtr l, > void *data); > > >void xmlListReverse (xmlListPtr l); >void xmlListSort (xmlListPtr l); >void xmlListWalk (xmlListPtr l, > xmlListWalker walker, > const void *user); >void xmlListReverseWalk (xmlListPtr l, > xmlListWalker walker, > const void *user); >void xmlListMerge (xmlListPtr l1, > xmlListPtr l2); >xmlListPtr xmlListDup (const xmlListPtr old); >int xmlListCopy (xmlListPtr cur, > const xmlListPtr old); > >void * xmlLinkGetData (xmlLinkPtr lk); > > > > > >} ># 15 "/usr/local/include/libxml2/libxml/valid.h" 2 3 4 > > >extern "C" { > > > > > >typedef struct _xmlValidState xmlValidState; >typedef xmlValidState *xmlValidStatePtr; ># 35 "/usr/local/include/libxml2/libxml/valid.h" 3 4 >typedef void (*xmlValidityErrorFunc) (void *ctx, > const char *msg, > ...); ># 48 "/usr/local/include/libxml2/libxml/valid.h" 3 4 >typedef void (*xmlValidityWarningFunc) (void *ctx, > const char *msg, > ...); > > > > > >typedef struct _xmlValidCtxt xmlValidCtxt; >typedef xmlValidCtxt *xmlValidCtxtPtr; >struct _xmlValidCtxt { > void *userData; > xmlValidityErrorFunc error; > xmlValidityWarningFunc warning; > > > xmlNodePtr node; > int nodeNr; > int nodeMax; > xmlNodePtr *nodeTab; > > int finishDtd; > xmlDocPtr doc; > int valid; > > > xmlValidState *vstate; > int vstateNr; > int vstateMax; > xmlValidState *vstateTab; >}; > > > > > > >typedef struct _xmlHashTable xmlNotationTable; >typedef xmlNotationTable *xmlNotationTablePtr; > > > > > > >typedef struct _xmlHashTable xmlElementTable; >typedef xmlElementTable *xmlElementTablePtr; > > > > > > >typedef struct _xmlHashTable xmlAttributeTable; >typedef xmlAttributeTable *xmlAttributeTablePtr; > > > > > > >typedef struct _xmlHashTable xmlIDTable; >typedef xmlIDTable *xmlIDTablePtr; > > > > > > >typedef struct _xmlHashTable xmlRefTable; >typedef xmlRefTable *xmlRefTablePtr; > > >xmlChar * xmlSplitQName2 (const xmlChar *name, > xmlChar **prefix); > > >xmlNotationPtr xmlAddNotationDecl (xmlValidCtxtPtr ctxt, > xmlDtdPtr dtd, > const xmlChar *name, > const xmlChar *PublicID, > const xmlChar *SystemID); >xmlNotationTablePtr xmlCopyNotationTable(xmlNotationTablePtr table); >void xmlFreeNotationTable(xmlNotationTablePtr table); >void xmlDumpNotationDecl (xmlBufferPtr buf, > xmlNotationPtr nota); >void xmlDumpNotationTable(xmlBufferPtr buf, > xmlNotationTablePtr table); > > >xmlElementContentPtr xmlNewElementContent (xmlChar *name, > xmlElementContentType type); >xmlElementContentPtr xmlCopyElementContent(xmlElementContentPtr content); >void xmlFreeElementContent(xmlElementContentPtr cur); >void xmlSnprintfElementContent(char *buf, > int size, > xmlElementContentPtr content, > int glob); > >void xmlSprintfElementContent(char *buf, > xmlElementContentPtr content, > int glob); > > > >xmlElementPtr xmlAddElementDecl (xmlValidCtxtPtr ctxt, > xmlDtdPtr dtd, > const xmlChar *name, > xmlElementTypeVal type, > xmlElementContentPtr content); >xmlElementTablePtr xmlCopyElementTable (xmlElementTablePtr table); >void xmlFreeElementTable (xmlElementTablePtr table); >void xmlDumpElementTable (xmlBufferPtr buf, > xmlElementTablePtr table); >void xmlDumpElementDecl (xmlBufferPtr buf, > xmlElementPtr elem); > > >xmlEnumerationPtr xmlCreateEnumeration (xmlChar *name); >void xmlFreeEnumeration (xmlEnumerationPtr cur); >xmlEnumerationPtr xmlCopyEnumeration (xmlEnumerationPtr cur); > > >xmlAttributePtr xmlAddAttributeDecl (xmlValidCtxtPtr ctxt, > xmlDtdPtr dtd, > const xmlChar *elem, > const xmlChar *name, > const xmlChar *ns, > xmlAttributeType type, > xmlAttributeDefault def, > const xmlChar *defaultValue, > xmlEnumerationPtr tree); >xmlAttributeTablePtr xmlCopyAttributeTable (xmlAttributeTablePtr table); >void xmlFreeAttributeTable (xmlAttributeTablePtr table); >void xmlDumpAttributeTable (xmlBufferPtr buf, > xmlAttributeTablePtr table); >void xmlDumpAttributeDecl (xmlBufferPtr buf, > xmlAttributePtr attr); > > >xmlIDPtr xmlAddID (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > const xmlChar *value, > xmlAttrPtr attr); >void xmlFreeIDTable (xmlIDTablePtr table); >xmlAttrPtr xmlGetID (xmlDocPtr doc, > const xmlChar *ID); >int xmlIsID (xmlDocPtr doc, > xmlNodePtr elem, > xmlAttrPtr attr); >int xmlRemoveID (xmlDocPtr doc, xmlAttrPtr attr); > > >xmlRefPtr xmlAddRef (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > const xmlChar *value, > xmlAttrPtr attr); >void xmlFreeRefTable (xmlRefTablePtr table); >int xmlIsRef (xmlDocPtr doc, > xmlNodePtr elem, > xmlAttrPtr attr); >int xmlRemoveRef (xmlDocPtr doc, xmlAttrPtr attr); >xmlListPtr xmlGetRefs (xmlDocPtr doc, > const xmlChar *ID); > > > > > >int xmlValidateRoot (xmlValidCtxtPtr ctxt, > xmlDocPtr doc); >int xmlValidateElementDecl (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > xmlElementPtr elem); >xmlChar * xmlValidNormalizeAttributeValue(xmlDocPtr doc, > xmlNodePtr elem, > const xmlChar *name, > const xmlChar *value); >xmlChar * xmlValidCtxtNormalizeAttributeValue(xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > xmlNodePtr elem, > const xmlChar *name, > const xmlChar *value); >int xmlValidateAttributeDecl(xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > xmlAttributePtr attr); >int xmlValidateAttributeValue(xmlAttributeType type, > const xmlChar *value); >int xmlValidateNotationDecl (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > xmlNotationPtr nota); >int xmlValidateDtd (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > xmlDtdPtr dtd); >int xmlValidateDtdFinal (xmlValidCtxtPtr ctxt, > xmlDocPtr doc); >int xmlValidateDocument (xmlValidCtxtPtr ctxt, > xmlDocPtr doc); >int xmlValidateElement (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > xmlNodePtr elem); >int xmlValidateOneElement (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > xmlNodePtr elem); >int xmlValidateOneAttribute (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > xmlNodePtr elem, > xmlAttrPtr attr, > const xmlChar *value); >int xmlValidateDocumentFinal(xmlValidCtxtPtr ctxt, > xmlDocPtr doc); >int xmlValidateNotationUse (xmlValidCtxtPtr ctxt, > xmlDocPtr doc, > const xmlChar *notationName); >int xmlIsMixedElement (xmlDocPtr doc, > const xmlChar *name); >xmlAttributePtr xmlGetDtdAttrDesc (xmlDtdPtr dtd, > const xmlChar *elem, > const xmlChar *name); >xmlAttributePtr xmlGetDtdQAttrDesc (xmlDtdPtr dtd, > const xmlChar *elem, > const xmlChar *name, > const xmlChar *prefix); >xmlNotationPtr xmlGetDtdNotationDesc (xmlDtdPtr dtd, > const xmlChar *name); >xmlElementPtr xmlGetDtdQElementDesc (xmlDtdPtr dtd, > const xmlChar *name, > const xmlChar *prefix); >xmlElementPtr xmlGetDtdElementDesc (xmlDtdPtr dtd, > const xmlChar *name); > >int xmlValidGetValidElements(xmlNode *prev, > xmlNode *next, > const xmlChar **list, > int max); >int xmlValidGetPotentialChildren(xmlElementContent *ctree, > const xmlChar **list, > int *len, > int max); >int xmlValidateNameValue (const xmlChar *value); >int xmlValidateNamesValue (const xmlChar *value); >int xmlValidateNmtokenValue (const xmlChar *value); >int xmlValidateNmtokensValue(const xmlChar *value); > >} ># 14 "/usr/local/include/libxml2/libxml/parser.h" 2 3 4 ># 1 "/usr/local/include/libxml2/libxml/entities.h" 1 3 4 ># 15 "/usr/local/include/libxml2/libxml/entities.h" 3 4 >extern "C" { > > > > > >typedef enum { > XML_INTERNAL_GENERAL_ENTITY = 1, > XML_EXTERNAL_GENERAL_PARSED_ENTITY = 2, > XML_EXTERNAL_GENERAL_UNPARSED_ENTITY = 3, > XML_INTERNAL_PARAMETER_ENTITY = 4, > XML_EXTERNAL_PARAMETER_ENTITY = 5, > XML_INTERNAL_PREDEFINED_ENTITY = 6 >} xmlEntityType; > > > > > > >struct _xmlEntity { > void *_private; > xmlElementType type; > const xmlChar *name; > struct _xmlNode *children; > struct _xmlNode *last; > struct _xmlDtd *parent; > struct _xmlNode *next; > struct _xmlNode *prev; > struct _xmlDoc *doc; > > xmlChar *orig; > xmlChar *content; > int length; > xmlEntityType etype; > const xmlChar *ExternalID; > const xmlChar *SystemID; > > struct _xmlEntity *nexte; > const xmlChar *URI; >}; > > > > > > >typedef struct _xmlHashTable xmlEntitiesTable; >typedef xmlEntitiesTable *xmlEntitiesTablePtr; > > > > > >void xmlInitializePredefinedEntities (void); >xmlEntityPtr xmlAddDocEntity (xmlDocPtr doc, > const xmlChar *name, > int type, > const xmlChar *ExternalID, > const xmlChar *SystemID, > const xmlChar *content); >xmlEntityPtr xmlAddDtdEntity (xmlDocPtr doc, > const xmlChar *name, > int type, > const xmlChar *ExternalID, > const xmlChar *SystemID, > const xmlChar *content); >xmlEntityPtr xmlGetPredefinedEntity (const xmlChar *name); >xmlEntityPtr xmlGetDocEntity (xmlDocPtr doc, > const xmlChar *name); >xmlEntityPtr xmlGetDtdEntity (xmlDocPtr doc, > const xmlChar *name); >xmlEntityPtr xmlGetParameterEntity (xmlDocPtr doc, > const xmlChar *name); >const xmlChar * xmlEncodeEntities (xmlDocPtr doc, > const xmlChar *input); >xmlChar * xmlEncodeEntitiesReentrant(xmlDocPtr doc, > const xmlChar *input); >xmlChar * xmlEncodeSpecialChars (xmlDocPtr doc, > const xmlChar *input); >xmlEntitiesTablePtr xmlCreateEntitiesTable (void); >xmlEntitiesTablePtr xmlCopyEntitiesTable (xmlEntitiesTablePtr table); >void xmlFreeEntitiesTable (xmlEntitiesTablePtr table); >void xmlDumpEntitiesTable (xmlBufferPtr buf, > xmlEntitiesTablePtr table); >void xmlDumpEntityDecl (xmlBufferPtr buf, > xmlEntityPtr ent); >void xmlCleanupPredefinedEntities(void); > > > >} ># 15 "/usr/local/include/libxml2/libxml/parser.h" 2 3 4 > > >extern "C" { ># 44 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef void (* xmlParserInputDeallocate)(xmlChar *str); > >struct _xmlParserInput { > > xmlParserInputBufferPtr buf; > > const char *filename; > const char *directory; > const xmlChar *base; > const xmlChar *cur; > const xmlChar *end; > int length; > int line; > int col; > int consumed; > xmlParserInputDeallocate free; > const xmlChar *encoding; > const xmlChar *version; > int standalone; >}; ># 72 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef struct _xmlParserNodeInfo xmlParserNodeInfo; >typedef xmlParserNodeInfo *xmlParserNodeInfoPtr; > >struct _xmlParserNodeInfo { > const struct _xmlNode* node; > > unsigned long begin_pos; > unsigned long begin_line; > unsigned long end_pos; > unsigned long end_line; >}; > >typedef struct _xmlParserNodeInfoSeq xmlParserNodeInfoSeq; >typedef xmlParserNodeInfoSeq *xmlParserNodeInfoSeqPtr; >struct _xmlParserNodeInfoSeq { > unsigned long maximum; > unsigned long length; > xmlParserNodeInfo* buffer; >}; > > > > > > > >typedef enum { > XML_PARSER_EOF = -1, > XML_PARSER_START = 0, > XML_PARSER_MISC, > XML_PARSER_PI, > XML_PARSER_DTD, > XML_PARSER_PROLOG, > XML_PARSER_COMMENT, > XML_PARSER_START_TAG, > XML_PARSER_CONTENT, > XML_PARSER_CDATA_SECTION, > XML_PARSER_END_TAG, > XML_PARSER_ENTITY_DECL, > XML_PARSER_ENTITY_VALUE, > XML_PARSER_ATTRIBUTE_VALUE, > XML_PARSER_SYSTEM_LITERAL, > XML_PARSER_EPILOG, > XML_PARSER_IGNORE, > XML_PARSER_PUBLIC_LITERAL >} xmlParserInputState; ># 148 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >struct _xmlParserCtxt { > struct _xmlSAXHandler *sax; > void *userData; > xmlDocPtr myDoc; > int wellFormed; > int replaceEntities; > const xmlChar *version; > const xmlChar *encoding; > int standalone; > int html; > > > xmlParserInputPtr input; > int inputNr; > int inputMax; > xmlParserInputPtr *inputTab; > > > xmlNodePtr node; > int nodeNr; > int nodeMax; > xmlNodePtr *nodeTab; > > int record_info; > xmlParserNodeInfoSeq node_seq; > > int errNo; > > int hasExternalSubset; > int hasPErefs; > int external; > > int valid; > int validate; > xmlValidCtxt vctxt; > > xmlParserInputState instate; > int token; > > char *directory; > > > xmlChar *name; > int nameNr; > int nameMax; > xmlChar * *nameTab; > > long nbChars; > long checkIndex; > int keepBlanks; > int disableSAX; > int inSubset; > xmlChar * intSubName; > xmlChar * extSubURI; > xmlChar * extSubSystem; > > > int * space; > int spaceNr; > int spaceMax; > int * spaceTab; > > int depth; > xmlParserInputPtr entity; > int charset; > > int nodelen; > int nodemem; > int pedantic; > void *_private; > > int loadsubset; > int linenumbers; > void *catalogs; >}; > > > > > > >struct _xmlSAXLocator { > const xmlChar *(*getPublicId)(void *ctx); > const xmlChar *(*getSystemId)(void *ctx); > int (*getLineNumber)(void *ctx); > int (*getColumnNumber)(void *ctx); >}; ># 258 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef xmlParserInputPtr (*resolveEntitySAXFunc) (void *ctx, > const xmlChar *publicId, > const xmlChar *systemId); ># 270 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef void (*internalSubsetSAXFunc) (void *ctx, > const xmlChar *name, > const xmlChar *ExternalID, > const xmlChar *SystemID); ># 283 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef void (*externalSubsetSAXFunc) (void *ctx, > const xmlChar *name, > const xmlChar *ExternalID, > const xmlChar *SystemID); ># 296 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef xmlEntityPtr (*getEntitySAXFunc) (void *ctx, > const xmlChar *name); ># 307 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef xmlEntityPtr (*getParameterEntitySAXFunc) (void *ctx, > const xmlChar *name); ># 320 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef void (*entityDeclSAXFunc) (void *ctx, > const xmlChar *name, > int type, > const xmlChar *publicId, > const xmlChar *systemId, > xmlChar *content); ># 335 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef void (*notationDeclSAXFunc)(void *ctx, > const xmlChar *name, > const xmlChar *publicId, > const xmlChar *systemId); ># 351 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef void (*attributeDeclSAXFunc)(void *ctx, > const xmlChar *elem, > const xmlChar *fullname, > int type, > int def, > const xmlChar *defaultValue, > xmlEnumerationPtr tree); ># 367 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef void (*elementDeclSAXFunc)(void *ctx, > const xmlChar *name, > int type, > xmlElementContentPtr content); ># 381 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef void (*unparsedEntityDeclSAXFunc)(void *ctx, > const xmlChar *name, > const xmlChar *publicId, > const xmlChar *systemId, > const xmlChar *notationName); ># 394 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef void (*setDocumentLocatorSAXFunc) (void *ctx, > xmlSAXLocatorPtr loc); > > > > > > >typedef void (*startDocumentSAXFunc) (void *ctx); > > > > > > >typedef void (*endDocumentSAXFunc) (void *ctx); ># 418 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef void (*startElementSAXFunc) (void *ctx, > const xmlChar *name, > const xmlChar **atts); > > > > > > > >typedef void (*endElementSAXFunc) (void *ctx, > const xmlChar *name); ># 441 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef void (*attributeSAXFunc) (void *ctx, > const xmlChar *name, > const xmlChar *value); > > > > > > > >typedef void (*referenceSAXFunc) (void *ctx, > const xmlChar *name); ># 461 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef void (*charactersSAXFunc) (void *ctx, > const xmlChar *ch, > int len); ># 473 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef void (*ignorableWhitespaceSAXFunc) (void *ctx, > const xmlChar *ch, > int len); ># 484 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef void (*processingInstructionSAXFunc) (void *ctx, > const xmlChar *target, > const xmlChar *data); > > > > > > > >typedef void (*commentSAXFunc) (void *ctx, > const xmlChar *value); ># 504 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef void (*cdataBlockSAXFunc) ( > void *ctx, > const xmlChar *value, > int len); ># 516 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef void (*warningSAXFunc) (void *ctx, > const char *msg, ...); ># 526 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef void (*errorSAXFunc) (void *ctx, > const char *msg, ...); ># 536 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef void (*fatalErrorSAXFunc) (void *ctx, > const char *msg, ...); ># 546 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef int (*isStandaloneSAXFunc) (void *ctx); ># 555 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef int (*hasInternalSubsetSAXFunc) (void *ctx); ># 564 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef int (*hasExternalSubsetSAXFunc) (void *ctx); > >struct _xmlSAXHandler { > internalSubsetSAXFunc internalSubset; > isStandaloneSAXFunc isStandalone; > hasInternalSubsetSAXFunc hasInternalSubset; > hasExternalSubsetSAXFunc hasExternalSubset; > resolveEntitySAXFunc resolveEntity; > getEntitySAXFunc getEntity; > entityDeclSAXFunc entityDecl; > notationDeclSAXFunc notationDecl; > attributeDeclSAXFunc attributeDecl; > elementDeclSAXFunc elementDecl; > unparsedEntityDeclSAXFunc unparsedEntityDecl; > setDocumentLocatorSAXFunc setDocumentLocator; > startDocumentSAXFunc startDocument; > endDocumentSAXFunc endDocument; > startElementSAXFunc startElement; > endElementSAXFunc endElement; > referenceSAXFunc reference; > charactersSAXFunc characters; > ignorableWhitespaceSAXFunc ignorableWhitespace; > processingInstructionSAXFunc processingInstruction; > commentSAXFunc comment; > warningSAXFunc warning; > errorSAXFunc error; > fatalErrorSAXFunc fatalError; > getParameterEntitySAXFunc getParameterEntity; > cdataBlockSAXFunc cdataBlock; > externalSubsetSAXFunc externalSubset; > int initialized; >}; ># 607 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >typedef xmlParserInputPtr (*xmlExternalEntityLoader) (const char *URL, > const char *ID, > xmlParserCtxtPtr context); ># 645 "/usr/local/include/libxml2/libxml/parser.h" 3 4 >} > ># 1 "/usr/local/include/libxml2/libxml/encoding.h" 1 3 4 ># 30 "/usr/local/include/libxml2/libxml/encoding.h" 3 4 ># 1 "/usr/include/iconv.h" 1 3 4 ># 24 "/usr/include/iconv.h" 3 4 ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/stddef.h" 1 3 4 ># 25 "/usr/include/iconv.h" 2 3 4 > > >extern "C" { > > >typedef void *iconv_t; > > > > > > > >extern iconv_t iconv_open (__const char *__tocode, __const char *__fromcode); > > > > >extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, > size_t *__restrict __inbytesleft, > char **__restrict __outbuf, > size_t *__restrict __outbytesleft); > > > > > >extern int iconv_close (iconv_t __cd); > >} ># 31 "/usr/local/include/libxml2/libxml/encoding.h" 2 3 4 > > >extern "C" { ># 54 "/usr/local/include/libxml2/libxml/encoding.h" 3 4 >typedef enum { > XML_CHAR_ENCODING_ERROR= -1, > XML_CHAR_ENCODING_NONE= 0, > XML_CHAR_ENCODING_UTF8= 1, > XML_CHAR_ENCODING_UTF16LE= 2, > XML_CHAR_ENCODING_UTF16BE= 3, > XML_CHAR_ENCODING_UCS4LE= 4, > XML_CHAR_ENCODING_UCS4BE= 5, > XML_CHAR_ENCODING_EBCDIC= 6, > XML_CHAR_ENCODING_UCS4_2143=7, > XML_CHAR_ENCODING_UCS4_3412=8, > XML_CHAR_ENCODING_UCS2= 9, > XML_CHAR_ENCODING_8859_1= 10, > XML_CHAR_ENCODING_8859_2= 11, > XML_CHAR_ENCODING_8859_3= 12, > XML_CHAR_ENCODING_8859_4= 13, > XML_CHAR_ENCODING_8859_5= 14, > XML_CHAR_ENCODING_8859_6= 15, > XML_CHAR_ENCODING_8859_7= 16, > XML_CHAR_ENCODING_8859_8= 17, > XML_CHAR_ENCODING_8859_9= 18, > XML_CHAR_ENCODING_2022_JP= 19, > XML_CHAR_ENCODING_SHIFT_JIS=20, > XML_CHAR_ENCODING_EUC_JP= 21, > XML_CHAR_ENCODING_ASCII= 22 >} xmlCharEncoding; ># 97 "/usr/local/include/libxml2/libxml/encoding.h" 3 4 >typedef int (* xmlCharEncodingInputFunc)(unsigned char *out, int *outlen, > const unsigned char *in, int *inlen); ># 119 "/usr/local/include/libxml2/libxml/encoding.h" 3 4 >typedef int (* xmlCharEncodingOutputFunc)(unsigned char *out, int *outlen, > const unsigned char *in, int *inlen); > > > > > > > >typedef struct _xmlCharEncodingHandler xmlCharEncodingHandler; >typedef xmlCharEncodingHandler *xmlCharEncodingHandlerPtr; >struct _xmlCharEncodingHandler { > char *name; > xmlCharEncodingInputFunc input; > xmlCharEncodingOutputFunc output; > > iconv_t iconv_in; > iconv_t iconv_out; > >}; > > >} > > > >extern "C" { > > > > > >void xmlInitCharEncodingHandlers (void); >void xmlCleanupCharEncodingHandlers (void); >void xmlRegisterCharEncodingHandler (xmlCharEncodingHandlerPtr handler); >xmlCharEncodingHandlerPtr > xmlGetCharEncodingHandler (xmlCharEncoding enc); >xmlCharEncodingHandlerPtr > xmlFindCharEncodingHandler (const char *name); > > > > > >int xmlAddEncodingAlias (const char *name, > const char *alias); >int xmlDelEncodingAlias (const char *alias); >const char * > xmlGetEncodingAlias (const char *alias); >void xmlCleanupEncodingAliases (void); >xmlCharEncoding > xmlParseCharEncoding (const char *name); >const char * > xmlGetCharEncodingName (xmlCharEncoding enc); > > > > >xmlCharEncoding > xmlDetectCharEncoding (const unsigned char *in, > int len); > >int xmlCharEncOutFunc (xmlCharEncodingHandler *handler, > xmlBufferPtr out, > xmlBufferPtr in); > >int xmlCharEncInFunc (xmlCharEncodingHandler *handler, > xmlBufferPtr out, > xmlBufferPtr in); >int xmlCharEncFirstLine (xmlCharEncodingHandler *handler, > xmlBufferPtr out, > xmlBufferPtr in); >int xmlCharEncCloseFunc (xmlCharEncodingHandler *handler); > > > > >int UTF8Toisolat1 (unsigned char *out, > int *outlen, > const unsigned char *in, > int *inlen); >int isolat1ToUTF8 (unsigned char *out, > int *outlen, > const unsigned char *in, > int *inlen); > > > > >int xmlCheckUTF8 (const unsigned char *utf); > >int xmlUTF8Strsize (const xmlChar *utf, > int len); >xmlChar * xmlUTF8Strndup (const xmlChar *utf, > int len); >xmlChar * xmlUTF8Strpos (const xmlChar *utf, > int pos); >int xmlUTF8Strloc (const xmlChar *utf, > const xmlChar *utfchar); >xmlChar * xmlUTF8Strsub (const xmlChar *utf, > int start, > int len); > >int xmlUTF8Strlen (const xmlChar *utf); > > >} ># 648 "/usr/local/include/libxml2/libxml/parser.h" 2 3 4 ># 1 "/usr/local/include/libxml2/libxml/xmlIO.h" 1 3 4 ># 22 "/usr/local/include/libxml2/libxml/xmlIO.h" 3 4 >extern "C" { ># 39 "/usr/local/include/libxml2/libxml/xmlIO.h" 3 4 >typedef int (*xmlInputMatchCallback) (char const *filename); ># 48 "/usr/local/include/libxml2/libxml/xmlIO.h" 3 4 >typedef void * (*xmlInputOpenCallback) (char const *filename); ># 59 "/usr/local/include/libxml2/libxml/xmlIO.h" 3 4 >typedef int (*xmlInputReadCallback) (void * context, char * buffer, int len); ># 68 "/usr/local/include/libxml2/libxml/xmlIO.h" 3 4 >typedef int (*xmlInputCloseCallback) (void * context); ># 84 "/usr/local/include/libxml2/libxml/xmlIO.h" 3 4 >typedef int (*xmlOutputMatchCallback) (char const *filename); ># 93 "/usr/local/include/libxml2/libxml/xmlIO.h" 3 4 >typedef void * (*xmlOutputOpenCallback) (char const *filename); ># 104 "/usr/local/include/libxml2/libxml/xmlIO.h" 3 4 >typedef int (*xmlOutputWriteCallback) (void * context, const char * buffer, > int len); ># 114 "/usr/local/include/libxml2/libxml/xmlIO.h" 3 4 >typedef int (*xmlOutputCloseCallback) (void * context); > > >} > > ># 1 "/usr/local/include/libxml2/libxml/globals.h" 1 3 4 ># 121 "/usr/local/include/libxml2/libxml/xmlIO.h" 2 3 4 > ># 1 "/usr/local/include/libxml2/libxml/parser.h" 1 3 4 ># 123 "/usr/local/include/libxml2/libxml/xmlIO.h" 2 3 4 > > > >extern "C" { > >struct _xmlParserInputBuffer { > void* context; > xmlInputReadCallback readcallback; > xmlInputCloseCallback closecallback; > > xmlCharEncodingHandlerPtr encoder; > > xmlBufferPtr buffer; > xmlBufferPtr raw; >}; > > >struct _xmlOutputBuffer { > void* context; > xmlOutputWriteCallback writecallback; > xmlOutputCloseCallback closecallback; > > xmlCharEncodingHandlerPtr encoder; > > xmlBufferPtr buffer; > xmlBufferPtr conv; > int written; >}; > > > > >void xmlCleanupInputCallbacks (void); >void xmlCleanupOutputCallbacks (void); > >void xmlRegisterDefaultInputCallbacks (void); >xmlParserInputBufferPtr > xmlAllocParserInputBuffer (xmlCharEncoding enc); > > > > > > > >xmlParserInputBufferPtr > xmlParserInputBufferCreateFilename (const char *URI, > xmlCharEncoding enc); > > >xmlParserInputBufferPtr > xmlParserInputBufferCreateFile (FILE *file, > xmlCharEncoding enc); >xmlParserInputBufferPtr > xmlParserInputBufferCreateFd (int fd, > xmlCharEncoding enc); >xmlParserInputBufferPtr > xmlParserInputBufferCreateMem (const char *mem, int size, > xmlCharEncoding enc); >xmlParserInputBufferPtr > xmlParserInputBufferCreateIO (xmlInputReadCallback ioread, > xmlInputCloseCallback ioclose, > void *ioctx, > xmlCharEncoding enc); >int xmlParserInputBufferRead (xmlParserInputBufferPtr in, > int len); >int xmlParserInputBufferGrow (xmlParserInputBufferPtr in, > int len); >int xmlParserInputBufferPush (xmlParserInputBufferPtr in, > int len, > const char *buf); >void xmlFreeParserInputBuffer (xmlParserInputBufferPtr in); >char * xmlParserGetDirectory (const char *filename); > >int xmlRegisterInputCallbacks (xmlInputMatchCallback matchFunc, > xmlInputOpenCallback openFunc, > xmlInputReadCallback readFunc, > xmlInputCloseCallback closeFunc); > > > >void xmlRegisterDefaultOutputCallbacks(void); >xmlOutputBufferPtr > xmlAllocOutputBuffer (xmlCharEncodingHandlerPtr encoder); > >xmlOutputBufferPtr > xmlOutputBufferCreateFilename (const char *URI, > xmlCharEncodingHandlerPtr encoder, > int compression); > >xmlOutputBufferPtr > xmlOutputBufferCreateFile (FILE *file, > xmlCharEncodingHandlerPtr encoder); > >xmlOutputBufferPtr > xmlOutputBufferCreateFd (int fd, > xmlCharEncodingHandlerPtr encoder); > >xmlOutputBufferPtr > xmlOutputBufferCreateIO (xmlOutputWriteCallback iowrite, > xmlOutputCloseCallback ioclose, > void *ioctx, > xmlCharEncodingHandlerPtr encoder); > >int xmlOutputBufferWrite (xmlOutputBufferPtr out, > int len, > const char *buf); >int xmlOutputBufferWriteString (xmlOutputBufferPtr out, > const char *str); > >int xmlOutputBufferFlush (xmlOutputBufferPtr out); >int xmlOutputBufferClose (xmlOutputBufferPtr out); > >int xmlRegisterOutputCallbacks (xmlOutputMatchCallback matchFunc, > xmlOutputOpenCallback openFunc, > xmlOutputWriteCallback writeFunc, > xmlOutputCloseCallback closeFunc); > > > >void * xmlIOHTTPOpenW (const char * post_uri, > int compression ); >void xmlRegisterHTTPPostCallbacks (void ); > > > > > >xmlParserInputPtr xmlNoNetExternalEntityLoader(const char *URL, > const char *ID, > xmlParserCtxtPtr ctxt); > > >} ># 649 "/usr/local/include/libxml2/libxml/parser.h" 2 3 4 > > >extern "C" { > > > > > > >void xmlInitParser (void); >void xmlCleanupParser (void); > > > > >int xmlParserInputRead (xmlParserInputPtr in, > int len); >int xmlParserInputGrow (xmlParserInputPtr in, > int len); > > > > >xmlChar * xmlStrdup (const xmlChar *cur); >xmlChar * xmlStrndup (const xmlChar *cur, > int len); >xmlChar * xmlCharStrndup (const char *cur, > int len); >xmlChar * xmlCharStrdup (const char *cur); >xmlChar * xmlStrsub (const xmlChar *str, > int start, > int len); >const xmlChar * xmlStrchr (const xmlChar *str, > xmlChar val); >const xmlChar * xmlStrstr (const xmlChar *str, > const xmlChar *val); >const xmlChar * xmlStrcasestr (const xmlChar *str, > xmlChar *val); >int xmlStrcmp (const xmlChar *str1, > const xmlChar *str2); >int xmlStrncmp (const xmlChar *str1, > const xmlChar *str2, > int len); >int xmlStrcasecmp (const xmlChar *str1, > const xmlChar *str2); >int xmlStrncasecmp (const xmlChar *str1, > const xmlChar *str2, > int len); >int xmlStrEqual (const xmlChar *str1, > const xmlChar *str2); >int xmlStrlen (const xmlChar *str); >xmlChar * xmlStrcat (xmlChar *cur, > const xmlChar *add); >xmlChar * xmlStrncat (xmlChar *cur, > const xmlChar *add, > int len); > > > > >xmlDocPtr xmlParseDoc (xmlChar *cur); >xmlDocPtr xmlParseMemory (const char *buffer, > int size); >xmlDocPtr xmlParseFile (const char *filename); >int xmlSubstituteEntitiesDefault(int val); >int xmlKeepBlanksDefault (int val); >void xmlStopParser (xmlParserCtxtPtr ctxt); >int xmlPedanticParserDefault(int val); >int xmlLineNumbersDefault (int val); > > > > >xmlDocPtr xmlRecoverDoc (xmlChar *cur); >xmlDocPtr xmlRecoverMemory (const char *buffer, > int size); >xmlDocPtr xmlRecoverFile (const char *filename); > > > > >int xmlParseDocument (xmlParserCtxtPtr ctxt); >int xmlParseExtParsedEnt (xmlParserCtxtPtr ctxt); >xmlDocPtr xmlSAXParseDoc (xmlSAXHandlerPtr sax, > xmlChar *cur, > int recovery); >int xmlSAXUserParseFile (xmlSAXHandlerPtr sax, > void *user_data, > const char *filename); >int xmlSAXUserParseMemory (xmlSAXHandlerPtr sax, > void *user_data, > const char *buffer, > int size); >xmlDocPtr xmlSAXParseMemory (xmlSAXHandlerPtr sax, > const char *buffer, > int size, > int recovery); >xmlDocPtr xmlSAXParseFile (xmlSAXHandlerPtr sax, > const char *filename, > int recovery); >xmlDocPtr xmlSAXParseFileWithData (xmlSAXHandlerPtr sax, > const char *filename, > int recovery, > void *data); >xmlDocPtr xmlSAXParseEntity (xmlSAXHandlerPtr sax, > const char *filename); >xmlDocPtr xmlParseEntity (const char *filename); >xmlDtdPtr xmlParseDTD (const xmlChar *ExternalID, > const xmlChar *SystemID); >xmlDtdPtr xmlSAXParseDTD (xmlSAXHandlerPtr sax, > const xmlChar *ExternalID, > const xmlChar *SystemID); >xmlDtdPtr xmlIOParseDTD (xmlSAXHandlerPtr sax, > xmlParserInputBufferPtr input, > xmlCharEncoding enc); >int xmlParseBalancedChunkMemory(xmlDocPtr doc, > xmlSAXHandlerPtr sax, > void *user_data, > int depth, > const xmlChar *string, > xmlNodePtr *lst); >int xmlParseExternalEntity (xmlDocPtr doc, > xmlSAXHandlerPtr sax, > void *user_data, > int depth, > const xmlChar *URL, > const xmlChar *ID, > xmlNodePtr *lst); >int xmlParseCtxtExternalEntity(xmlParserCtxtPtr ctx, > const xmlChar *URL, > const xmlChar *ID, > xmlNodePtr *lst); > > > > >void xmlInitParserCtxt (xmlParserCtxtPtr ctxt); >void xmlClearParserCtxt (xmlParserCtxtPtr ctxt); >void xmlFreeParserCtxt (xmlParserCtxtPtr ctxt); >void xmlSetupParserForBuffer (xmlParserCtxtPtr ctxt, > const xmlChar* buffer, > const char *filename); >xmlParserCtxtPtr xmlCreateDocParserCtxt (xmlChar *cur); > > > > > >int xmlGetFeaturesList (int *len, > const char **result); >int xmlGetFeature (xmlParserCtxtPtr ctxt, > const char *name, > void *result); >int xmlSetFeature (xmlParserCtxtPtr ctxt, > const char *name, > void *value); > > > > >xmlParserCtxtPtr xmlCreatePushParserCtxt(xmlSAXHandlerPtr sax, > void *user_data, > const char *chunk, > int size, > const char *filename); >int xmlParseChunk (xmlParserCtxtPtr ctxt, > const char *chunk, > int size, > int terminate); > > > > > >xmlParserCtxtPtr xmlCreateIOParserCtxt (xmlSAXHandlerPtr sax, > void *user_data, > xmlInputReadCallback ioread, > xmlInputCloseCallback ioclose, > void *ioctx, > xmlCharEncoding enc); > >xmlParserInputPtr xmlNewIOInputStream (xmlParserCtxtPtr ctxt, > xmlParserInputBufferPtr input, > xmlCharEncoding enc); > > > > >const xmlParserNodeInfo* > xmlParserFindNodeInfo (const xmlParserCtxtPtr ctxt, > const xmlNodePtr node); >void xmlInitNodeInfoSeq (xmlParserNodeInfoSeqPtr seq); >void xmlClearNodeInfoSeq (xmlParserNodeInfoSeqPtr seq); >unsigned long xmlParserFindNodeInfoIndex(const xmlParserNodeInfoSeqPtr seq, > const xmlNodePtr node); >void xmlParserAddNodeInfo (xmlParserCtxtPtr ctxt, > const xmlParserNodeInfoPtr info); > > > > > >void xmlSetExternalEntityLoader(xmlExternalEntityLoader f); >xmlExternalEntityLoader > xmlGetExternalEntityLoader(void); >xmlParserInputPtr > xmlLoadExternalEntity (const char *URL, > const char *ID, > xmlParserCtxtPtr ctxt); > > >} ># 17 "/usr/local/include/libxml2/libxml/globals.h" 2 3 4 ># 1 "/usr/local/include/libxml2/libxml/xmlerror.h" 1 3 4 > > > > > > >extern "C" { > > >typedef enum { > XML_ERR_OK = 0, > XML_ERR_INTERNAL_ERROR, > XML_ERR_NO_MEMORY, > > XML_ERR_DOCUMENT_START, > XML_ERR_DOCUMENT_EMPTY, > XML_ERR_DOCUMENT_END, > > XML_ERR_INVALID_HEX_CHARREF, > XML_ERR_INVALID_DEC_CHARREF, > XML_ERR_INVALID_CHARREF, > XML_ERR_INVALID_CHAR, > > XML_ERR_CHARREF_AT_EOF, > XML_ERR_CHARREF_IN_PROLOG, > XML_ERR_CHARREF_IN_EPILOG, > XML_ERR_CHARREF_IN_DTD, > XML_ERR_ENTITYREF_AT_EOF, > XML_ERR_ENTITYREF_IN_PROLOG, > XML_ERR_ENTITYREF_IN_EPILOG, > XML_ERR_ENTITYREF_IN_DTD, > XML_ERR_PEREF_AT_EOF, > XML_ERR_PEREF_IN_PROLOG, > XML_ERR_PEREF_IN_EPILOG, > XML_ERR_PEREF_IN_INT_SUBSET, > > XML_ERR_ENTITYREF_NO_NAME, > XML_ERR_ENTITYREF_SEMICOL_MISSING, > > XML_ERR_PEREF_NO_NAME, > XML_ERR_PEREF_SEMICOL_MISSING, > > XML_ERR_UNDECLARED_ENTITY, > XML_WAR_UNDECLARED_ENTITY, > XML_ERR_UNPARSED_ENTITY, > XML_ERR_ENTITY_IS_EXTERNAL, > XML_ERR_ENTITY_IS_PARAMETER, > > XML_ERR_UNKNOWN_ENCODING, > XML_ERR_UNSUPPORTED_ENCODING, > > XML_ERR_STRING_NOT_STARTED, > XML_ERR_STRING_NOT_CLOSED, > XML_ERR_NS_DECL_ERROR, > > XML_ERR_ENTITY_NOT_STARTED, > XML_ERR_ENTITY_NOT_FINISHED, > > XML_ERR_LT_IN_ATTRIBUTE, > XML_ERR_ATTRIBUTE_NOT_STARTED, > XML_ERR_ATTRIBUTE_NOT_FINISHED, > XML_ERR_ATTRIBUTE_WITHOUT_VALUE, > XML_ERR_ATTRIBUTE_REDEFINED, > > XML_ERR_LITERAL_NOT_STARTED, > XML_ERR_LITERAL_NOT_FINISHED, > > XML_ERR_COMMENT_NOT_FINISHED, > > XML_ERR_PI_NOT_STARTED, > XML_ERR_PI_NOT_FINISHED, > > XML_ERR_NOTATION_NOT_STARTED, > XML_ERR_NOTATION_NOT_FINISHED, > > XML_ERR_ATTLIST_NOT_STARTED, > XML_ERR_ATTLIST_NOT_FINISHED, > > XML_ERR_MIXED_NOT_STARTED, > XML_ERR_MIXED_NOT_FINISHED, > > XML_ERR_ELEMCONTENT_NOT_STARTED, > XML_ERR_ELEMCONTENT_NOT_FINISHED, > > XML_ERR_XMLDECL_NOT_STARTED, > XML_ERR_XMLDECL_NOT_FINISHED, > > XML_ERR_CONDSEC_NOT_STARTED, > XML_ERR_CONDSEC_NOT_FINISHED, > > XML_ERR_EXT_SUBSET_NOT_FINISHED, > > XML_ERR_DOCTYPE_NOT_FINISHED, > > XML_ERR_MISPLACED_CDATA_END, > XML_ERR_CDATA_NOT_FINISHED, > > XML_ERR_RESERVED_XML_NAME, > > XML_ERR_SPACE_REQUIRED, > XML_ERR_SEPARATOR_REQUIRED, > XML_ERR_NMTOKEN_REQUIRED, > XML_ERR_NAME_REQUIRED, > XML_ERR_PCDATA_REQUIRED, > XML_ERR_URI_REQUIRED, > XML_ERR_PUBID_REQUIRED, > XML_ERR_LT_REQUIRED, > XML_ERR_GT_REQUIRED, > XML_ERR_LTSLASH_REQUIRED, > XML_ERR_EQUAL_REQUIRED, > > XML_ERR_TAG_NAME_MISMATCH, > XML_ERR_TAG_NOT_FINISHED, > > XML_ERR_STANDALONE_VALUE, > > XML_ERR_ENCODING_NAME, > > XML_ERR_HYPHEN_IN_COMMENT, > > XML_ERR_INVALID_ENCODING, > > XML_ERR_EXT_ENTITY_STANDALONE, > > XML_ERR_CONDSEC_INVALID, > > XML_ERR_VALUE_REQUIRED, > > XML_ERR_NOT_WELL_BALANCED, > XML_ERR_EXTRA_CONTENT, > XML_ERR_ENTITY_CHAR_ERROR, > XML_ERR_ENTITY_PE_INTERNAL, > XML_ERR_ENTITY_LOOP, > XML_ERR_ENTITY_BOUNDARY, > XML_ERR_INVALID_URI, > XML_ERR_URI_FRAGMENT, > XML_WAR_CATALOG_PI, > XML_ERR_NO_DTD >}xmlParserErrors; ># 150 "/usr/local/include/libxml2/libxml/xmlerror.h" 3 4 >typedef void (*xmlGenericErrorFunc) (void *ctx, > const char *msg, > ...); > > > > > >void xmlSetGenericErrorFunc (void *ctx, > xmlGenericErrorFunc handler); >void initGenericErrorDefaultFunc(xmlGenericErrorFunc *handler); > > > > > >void xmlParserError (void *ctx, > const char *msg, > ...); >void xmlParserWarning (void *ctx, > const char *msg, > ...); >void xmlParserValidityError (void *ctx, > const char *msg, > ...); >void xmlParserValidityWarning(void *ctx, > const char *msg, > ...); >void xmlParserPrintFileInfo (xmlParserInputPtr input); >void xmlParserPrintFileContext(xmlParserInputPtr input); > > >} ># 18 "/usr/local/include/libxml2/libxml/globals.h" 2 3 4 ># 1 "/usr/local/include/libxml2/libxml/SAX.h" 1 3 4 ># 14 "/usr/local/include/libxml2/libxml/SAX.h" 3 4 ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/stddef.h" 1 3 4 ># 34 "/usr/include/stdlib.h" 2 3 4 > >extern "C" { > > > > > > ># 1 "/usr/include/bits/waitflags.h" 1 3 4 ># 43 "/usr/include/stdlib.h" 2 3 4 ># 1 "/usr/include/bits/waitstatus.h" 1 3 4 ># 63 "/usr/include/bits/waitstatus.h" 3 4 ># 1 "/usr/include/endian.h" 1 3 4 ># 37 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/endian.h" 1 3 4 ># 38 "/usr/include/endian.h" 2 3 4 ># 64 "/usr/include/bits/waitstatus.h" 2 3 4 > >union wait > { > int w_status; > struct > { > > unsigned int __w_termsig:7; > unsigned int __w_coredump:1; > unsigned int __w_retcode:8; > unsigned int:16; > > > > > > > > } __wait_terminated; > struct > { > > unsigned int __w_stopval:8; > unsigned int __w_stopsig:8; > unsigned int:16; > > > > > > > } __wait_stopped; > }; ># 44 "/usr/include/stdlib.h" 2 3 4 ># 93 "/usr/include/stdlib.h" 3 4 > > >typedef struct > { > int quot; > int rem; > } div_t; > > > >typedef struct > { > long int quot; > long int rem; > } ldiv_t; > > > > > > > >__extension__ typedef struct > { > long long int quot; > long long int rem; > } lldiv_t; > > ># 137 "/usr/include/stdlib.h" 3 4 >extern size_t __ctype_get_mb_cur_max (void) throw (); > > > > >extern double atof (__const char *__nptr) throw () __attribute__ ((__pure__)); > >extern int atoi (__const char *__nptr) throw () __attribute__ ((__pure__)); > >extern long int atol (__const char *__nptr) throw () __attribute__ ((__pure__)); > > > > > >__extension__ extern long long int atoll (__const char *__nptr) > throw () __attribute__ ((__pure__)); > > > > > >extern double strtod (__const char *__restrict __nptr, > char **__restrict __endptr) throw (); > > > > > >extern float strtof (__const char *__restrict __nptr, > char **__restrict __endptr) throw (); > >extern long double strtold (__const char *__restrict __nptr, > char **__restrict __endptr) throw (); > > > > > >extern long int strtol (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) throw (); > >extern unsigned long int strtoul (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw (); > > > > >__extension__ >extern long long int strtoq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) throw (); > >__extension__ >extern unsigned long long int strtouq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw (); > > > > > >__extension__ >extern long long int strtoll (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) throw (); > >__extension__ >extern unsigned long long int strtoull (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw (); > ># 225 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/include/xlocale.h" 1 3 4 ># 28 "/usr/include/xlocale.h" 3 4 >typedef struct __locale_struct >{ > > struct locale_data *__locales[13]; > > > const unsigned short int *__ctype_b; > const int *__ctype_tolower; > const int *__ctype_toupper; > > > const char *__names[13]; >} *__locale_t; ># 226 "/usr/include/stdlib.h" 2 3 4 > > > >extern long int strtol_l (__const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) throw (); > >extern unsigned long int strtoul_l (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) throw (); > >__extension__ >extern long long int strtoll_l (__const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) throw (); > >__extension__ >extern unsigned long long int strtoull_l (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) > throw (); > >extern double strtod_l (__const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) > throw (); > >extern float strtof_l (__const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) throw (); > >extern long double strtold_l (__const char *__restrict __nptr, > char **__restrict __endptr, > __locale_t __loc) throw (); > > > > > > >extern double __strtod_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > throw (); >extern float __strtof_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > throw (); >extern long double __strtold_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __group) throw (); > >extern long int __strtol_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) throw (); > > > >extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) throw (); > > > > >__extension__ >extern long long int __strtoll_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) throw (); > > > >__extension__ >extern unsigned long long int __strtoull_internal (__const char * > __restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > throw (); > > > > > > > > >extern __inline double >strtod (__const char *__restrict __nptr, char **__restrict __endptr) throw () >{ > return __strtod_internal (__nptr, __endptr, 0); >} >extern __inline long int >strtol (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtol_internal (__nptr, __endptr, __base, 0); >} >extern __inline unsigned long int >strtoul (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtoul_internal (__nptr, __endptr, __base, 0); >} > > > > >extern __inline float >strtof (__const char *__restrict __nptr, char **__restrict __endptr) throw () >{ > return __strtof_internal (__nptr, __endptr, 0); >} >extern __inline long double >strtold (__const char *__restrict __nptr, char **__restrict __endptr) throw () >{ > return __strtold_internal (__nptr, __endptr, 0); >} > > > > >__extension__ extern __inline long long int >strtoq (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtoll_internal (__nptr, __endptr, __base, 0); >} >__extension__ extern __inline unsigned long long int >strtouq (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtoull_internal (__nptr, __endptr, __base, 0); >} > > > > >__extension__ extern __inline long long int >strtoll (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtoll_internal (__nptr, __endptr, __base, 0); >} >__extension__ extern __inline unsigned long long int >strtoull (__const char * __restrict __nptr, char **__restrict __endptr, > int __base) throw () >{ > return __strtoull_internal (__nptr, __endptr, __base, 0); >} > > > > >extern __inline double >atof (__const char *__nptr) throw () >{ > return strtod (__nptr, (char **) __null); >} >extern __inline int >atoi (__const char *__nptr) throw () >{ > return (int) strtol (__nptr, (char **) __null, 10); >} >extern __inline long int >atol (__const char *__nptr) throw () >{ > return strtol (__nptr, (char **) __null, 10); >} > > > > >__extension__ extern __inline long long int >atoll (__const char *__nptr) throw () >{ > return strtoll (__nptr, (char **) __null, 10); >} > ># 408 "/usr/include/stdlib.h" 3 4 >extern char *l64a (long int __n) throw (); > > >extern long int a64l (__const char *__s) throw () __attribute__ ((__pure__)); > > > > ># 1 "/usr/include/sys/types.h" 1 3 4 ># 29 "/usr/include/sys/types.h" 3 4 >extern "C" { > > > > > >typedef __u_char u_char; >typedef __u_short u_short; >typedef __u_int u_int; >typedef __u_long u_long; >typedef __quad_t quad_t; >typedef __u_quad_t u_quad_t; >typedef __fsid_t fsid_t; > > > > >typedef __loff_t loff_t; > > > >typedef __ino_t ino_t; > > > > > > >typedef __ino64_t ino64_t; > > > > >typedef __dev_t dev_t; > > > > >typedef __gid_t gid_t; > > > > >typedef __mode_t mode_t; > > > > >typedef __nlink_t nlink_t; > > > > >typedef __uid_t uid_t; > > > > > >typedef __off_t off_t; > > > > > > >typedef __off64_t off64_t; > > > > >typedef __pid_t pid_t; > > > > >typedef __id_t id_t; > > > > >typedef __ssize_t ssize_t; > > > > > >typedef __daddr_t daddr_t; >typedef __caddr_t caddr_t; > > > > > >typedef __key_t key_t; ># 133 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 58 "/usr/include/time.h" 3 4 > > >typedef __clock_t clock_t; > > > ># 74 "/usr/include/time.h" 3 4 > > >typedef __time_t time_t; > > > ># 92 "/usr/include/time.h" 3 4 >typedef __clockid_t clockid_t; ># 104 "/usr/include/time.h" 3 4 >typedef __timer_t timer_t; ># 134 "/usr/include/sys/types.h" 2 3 4 > > > >typedef __useconds_t useconds_t; > > > >typedef __suseconds_t suseconds_t; > > > > > ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/stddef.h" 1 3 4 ># 148 "/usr/include/sys/types.h" 2 3 4 > > > >typedef unsigned long int ulong; >typedef unsigned short int ushort; >typedef unsigned int uint; ># 191 "/usr/include/sys/types.h" 3 4 >typedef int int8_t __attribute__ ((__mode__ (__QI__))); >typedef int int16_t __attribute__ ((__mode__ (__HI__))); >typedef int int32_t __attribute__ ((__mode__ (__SI__))); >typedef int int64_t __attribute__ ((__mode__ (__DI__))); > > >typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); >typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); > >typedef int register_t __attribute__ ((__mode__ (__word__))); ># 216 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/sys/select.h" 1 3 4 ># 31 "/usr/include/sys/select.h" 3 4 ># 1 "/usr/include/bits/select.h" 1 3 4 ># 32 "/usr/include/sys/select.h" 2 3 4 > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 23 "/usr/include/bits/sigset.h" 3 4 >typedef int __sig_atomic_t; > > > > >typedef struct > { > unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; > } __sigset_t; ># 35 "/usr/include/sys/select.h" 2 3 4 > > > >typedef __sigset_t sigset_t; > > > > > ># 1 "/usr/include/time.h" 1 3 4 ># 118 "/usr/include/time.h" 3 4 >struct timespec > { > __time_t tv_sec; > long int tv_nsec; > }; ># 45 "/usr/include/sys/select.h" 2 3 4 > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 69 "/usr/include/bits/time.h" 3 4 >struct timeval > { > __time_t tv_sec; > __suseconds_t tv_usec; > }; ># 47 "/usr/include/sys/select.h" 2 3 4 ># 55 "/usr/include/sys/select.h" 3 4 >typedef long int __fd_mask; ># 67 "/usr/include/sys/select.h" 3 4 >typedef struct > { > > > > __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))]; > > > > > > } fd_set; > > > > > > >typedef __fd_mask fd_mask; ># 99 "/usr/include/sys/select.h" 3 4 >extern "C" { ># 109 "/usr/include/sys/select.h" 3 4 >extern int select (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > struct timeval *__restrict __timeout); ># 121 "/usr/include/sys/select.h" 3 4 >extern int pselect (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > const struct timespec *__restrict __timeout, > const __sigset_t *__restrict __sigmask); > > >} ># 217 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/sysmacros.h" 1 3 4 ># 29 "/usr/include/sys/sysmacros.h" 3 4 >__extension__ >extern __inline unsigned int gnu_dev_major (unsigned long long int __dev) > throw (); >__extension__ >extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) > throw (); >__extension__ >extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > throw (); > > >__extension__ extern __inline unsigned int >gnu_dev_major (unsigned long long int __dev) throw () >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline unsigned int >gnu_dev_minor (unsigned long long int __dev) throw () >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline unsigned long long int >gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw () >{ > return ((__minor & 0xff) | ((__major & 0xfff) << 8) > | (((unsigned long long int) (__minor & ~0xff)) << 12) > | (((unsigned long long int) (__major & ~0xfff)) << 32)); >} ># 220 "/usr/include/sys/types.h" 2 3 4 > > > > >typedef __blksize_t blksize_t; > > > > > > >typedef __blkcnt_t blkcnt_t; > > > >typedef __fsblkcnt_t fsblkcnt_t; > > > >typedef __fsfilcnt_t fsfilcnt_t; ># 258 "/usr/include/sys/types.h" 3 4 >typedef __blkcnt64_t blkcnt64_t; >typedef __fsblkcnt64_t fsblkcnt64_t; >typedef __fsfilcnt64_t fsfilcnt64_t; > > > > > ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 ># 23 "/usr/include/bits/pthreadtypes.h" 3 4 ># 1 "/usr/include/bits/sched.h" 1 3 4 ># 83 "/usr/include/bits/sched.h" 3 4 >struct __sched_param > { > int __sched_priority; > }; ># 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 > > >struct _pthread_fastlock >{ > long int __status; > int __spinlock; > >}; > > > >typedef struct _pthread_descr_struct *_pthread_descr; > > > > > >typedef struct __pthread_attr_s >{ > int __detachstate; > int __schedpolicy; > struct __sched_param __schedparam; > int __inheritsched; > int __scope; > size_t __guardsize; > int __stackaddr_set; > void *__stackaddr; > size_t __stacksize; >} pthread_attr_t; > > > > > >__extension__ typedef long long __pthread_cond_align_t; > > > > >typedef struct >{ > struct _pthread_fastlock __c_lock; > _pthread_descr __c_waiting; > char __padding[48 - sizeof (struct _pthread_fastlock) > - sizeof (_pthread_descr) - sizeof (__pthread_cond_align_t)]; > __pthread_cond_align_t __align; >} pthread_cond_t; > > > >typedef struct >{ > int __dummy; >} pthread_condattr_t; > > >typedef unsigned int pthread_key_t; > > > > > >typedef struct >{ > int __m_reserved; > int __m_count; > _pthread_descr __m_owner; > int __m_kind; > struct _pthread_fastlock __m_lock; >} pthread_mutex_t; > > > >typedef struct >{ > int __mutexkind; >} pthread_mutexattr_t; > > > >typedef int pthread_once_t; > > > > >typedef struct _pthread_rwlock_t >{ > struct _pthread_fastlock __rw_lock; > int __rw_readers; > _pthread_descr __rw_writer; > _pthread_descr __rw_read_waiting; > _pthread_descr __rw_write_waiting; > int __rw_kind; > int __rw_pshared; >} pthread_rwlock_t; > > > >typedef struct >{ > int __lockkind; > int __pshared; >} pthread_rwlockattr_t; > > > > >typedef volatile int pthread_spinlock_t; > > >typedef struct { > struct _pthread_fastlock __ba_lock; > int __ba_required; > int __ba_present; > _pthread_descr __ba_waiting; >} pthread_barrier_t; > > >typedef struct { > int __pshared; >} pthread_barrierattr_t; > > > > > >typedef unsigned long int pthread_t; ># 267 "/usr/include/sys/types.h" 2 3 4 > > >} ># 417 "/usr/include/stdlib.h" 2 3 4 > > > > > > >extern long int random (void) throw (); > > >extern void srandom (unsigned int __seed) throw (); > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) throw (); > > > >extern char *setstate (char *__statebuf) throw (); > > > > > > > >struct random_data > { > int32_t *fptr; > int32_t *rptr; > int32_t *state; > int rand_type; > int rand_deg; > int rand_sep; > int32_t *end_ptr; > }; > >extern int random_r (struct random_data *__restrict __buf, > int32_t *__restrict __result) throw (); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) throw (); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) throw (); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) throw (); > > > > > > >extern int rand (void) throw (); > >extern void srand (unsigned int __seed) throw (); > > > > >extern int rand_r (unsigned int *__seed) throw (); > > > > > > > >extern double drand48 (void) throw (); >extern double erand48 (unsigned short int __xsubi[3]) throw (); > > >extern long int lrand48 (void) throw (); >extern long int nrand48 (unsigned short int __xsubi[3]) throw (); > > >extern long int mrand48 (void) throw (); >extern long int jrand48 (unsigned short int __xsubi[3]) throw (); > > >extern void srand48 (long int __seedval) throw (); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) throw (); >extern void lcong48 (unsigned short int __param[7]) throw (); > > > > > >struct drand48_data > { > unsigned short int __x[3]; > unsigned short int __old_x[3]; > unsigned short int __c; > unsigned short int __init; > unsigned long long int __a; > }; > > >extern int drand48_r (struct drand48_data *__restrict __buffer, > double *__restrict __result) throw (); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) throw (); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) throw (); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) throw (); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) throw (); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) throw (); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > throw (); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) throw (); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) throw (); > > > > > > > > > >extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)); > >extern void *calloc (size_t __nmemb, size_t __size) > throw () __attribute__ ((__malloc__)); > > > > > > > >extern void *realloc (void *__ptr, size_t __size) throw () __attribute__ ((__malloc__)); > >extern void free (void *__ptr) throw (); > > > > >extern void cfree (void *__ptr) throw (); > > > ># 1 "/usr/include/alloca.h" 1 3 4 ># 25 "/usr/include/alloca.h" 3 4 ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/stddef.h" 1 3 4 ># 26 "/usr/include/alloca.h" 2 3 4 > >extern "C" { > > > > > >extern void *alloca (size_t __size) throw (); > > > > > >} ># 579 "/usr/include/stdlib.h" 2 3 4 > > > > >extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)); > > > > >extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) > throw () __attribute__ ((__malloc__)); > > > > >extern void abort (void) throw () __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) throw (); > > > > > >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > throw (); > > > > > > >extern void exit (int __status) throw () __attribute__ ((__noreturn__)); > > > > > > >extern void _Exit (int __status) throw () __attribute__ ((__noreturn__)); > > > > > > >extern char *getenv (__const char *__name) throw (); > > > > >extern char *__secure_getenv (__const char *__name) throw (); > > > > > >extern int putenv (char *__string) throw (); > > > > > >extern int setenv (__const char *__name, __const char *__value, int __replace) > throw (); > > >extern int unsetenv (__const char *__name) throw (); > > > > > > >extern int clearenv (void) throw (); ># 663 "/usr/include/stdlib.h" 3 4 >extern char *mktemp (char *__template) throw (); ># 674 "/usr/include/stdlib.h" 3 4 >extern int mkstemp (char *__template); ># 683 "/usr/include/stdlib.h" 3 4 >extern int mkstemp64 (char *__template); ># 693 "/usr/include/stdlib.h" 3 4 >extern char *mkdtemp (char *__template) throw (); > > > > > > > > >extern int system (__const char *__command); > > > > > > > >extern char *canonicalize_file_name (__const char *__name) throw (); ># 720 "/usr/include/stdlib.h" 3 4 >extern char *realpath (__const char *__restrict __name, > char *__restrict __resolved) throw (); > > > > > > >typedef int (*__compar_fn_t) (__const void *, __const void *); > > >typedef __compar_fn_t comparison_fn_t; > > > > > > >extern void *bsearch (__const void *__key, __const void *__base, > size_t __nmemb, size_t __size, __compar_fn_t __compar); > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar); > > > >extern int abs (int __x) throw () __attribute__ ((__const__)); >extern long int labs (long int __x) throw () __attribute__ ((__const__)); > > > >__extension__ extern long long int llabs (long long int __x) > throw () __attribute__ ((__const__)); > > > > > > > >extern div_t div (int __numer, int __denom) > throw () __attribute__ ((__const__)); >extern ldiv_t ldiv (long int __numer, long int __denom) > throw () __attribute__ ((__const__)); > > > > >__extension__ extern lldiv_t lldiv (long long int __numer, > long long int __denom) > throw () __attribute__ ((__const__)); > ># 784 "/usr/include/stdlib.h" 3 4 >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) throw (); > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) throw (); > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) throw (); > > > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) throw (); >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) throw (); >extern char *qgcvt (long double __value, int __ndigit, char *__buf) throw (); > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) throw (); >extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) throw (); > >extern int qecvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) throw (); >extern int qfcvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) throw (); > > > > > > > >extern int mblen (__const char *__s, size_t __n) throw (); > > >extern int mbtowc (wchar_t *__restrict __pwc, > __const char *__restrict __s, size_t __n) throw (); > > >extern int wctomb (char *__s, wchar_t __wchar) throw (); > > > >extern size_t mbstowcs (wchar_t *__restrict __pwcs, > __const char *__restrict __s, size_t __n) throw (); > >extern size_t wcstombs (char *__restrict __s, > __const wchar_t *__restrict __pwcs, size_t __n) > throw (); > > > > > > > > >extern int rpmatch (__const char *__response) throw (); ># 866 "/usr/include/stdlib.h" 3 4 >extern int getsubopt (char **__restrict __optionp, > char *__const *__restrict __tokens, > char **__restrict __valuep) throw (); > > > > > >extern void setkey (__const char *__key) throw (); > > > > > > > >extern int posix_openpt (int __oflag); > > > > > > > >extern int grantpt (int __fd) throw (); > > > >extern int unlockpt (int __fd) throw (); > > > > >extern char *ptsname (int __fd) throw (); > > > > > > >extern int ptsname_r (int __fd, char *__buf, size_t __buflen) throw (); > > >extern int getpt (void); > > > > > > >extern int getloadavg (double __loadavg[], int __nelem) throw (); > > > > > >} ># 15 "/usr/local/include/libxml2/libxml/SAX.h" 2 3 4 > ># 1 "/usr/local/include/libxml2/libxml/xlink.h" 1 3 4 ># 19 "/usr/local/include/libxml2/libxml/xlink.h" 3 4 >extern "C" { ># 31 "/usr/local/include/libxml2/libxml/xlink.h" 3 4 >typedef xmlChar *xlinkHRef; >typedef xmlChar *xlinkRole; >typedef xmlChar *xlinkTitle; > >typedef enum { > XLINK_TYPE_NONE = 0, > XLINK_TYPE_SIMPLE, > XLINK_TYPE_EXTENDED, > XLINK_TYPE_EXTENDED_SET >} xlinkType; > >typedef enum { > XLINK_SHOW_NONE = 0, > XLINK_SHOW_NEW, > XLINK_SHOW_EMBED, > XLINK_SHOW_REPLACE >} xlinkShow; > >typedef enum { > XLINK_ACTUATE_NONE = 0, > XLINK_ACTUATE_AUTO, > XLINK_ACTUATE_ONREQUEST >} xlinkActuate; ># 63 "/usr/local/include/libxml2/libxml/xlink.h" 3 4 >typedef void (*xlinkNodeDetectFunc) (void *ctx, xmlNodePtr node); ># 80 "/usr/local/include/libxml2/libxml/xlink.h" 3 4 >typedef void >(*xlinkSimpleLinkFunk) (void *ctx, > xmlNodePtr node, > const xlinkHRef href, > const xlinkRole role, > const xlinkTitle title); ># 105 "/usr/local/include/libxml2/libxml/xlink.h" 3 4 >typedef void >(*xlinkExtendedLinkFunk)(void *ctx, > xmlNodePtr node, > int nbLocators, > const xlinkHRef *hrefs, > const xlinkRole *roles, > int nbArcs, > const xlinkRole *from, > const xlinkRole *to, > xlinkShow *show, > xlinkActuate *actuate, > int nbTitles, > const xlinkTitle *titles, > const xmlChar **langs); ># 133 "/usr/local/include/libxml2/libxml/xlink.h" 3 4 >typedef void >(*xlinkExtendedLinkSetFunk) (void *ctx, > xmlNodePtr node, > int nbLocators, > const xlinkHRef *hrefs, > const xlinkRole *roles, > int nbTitles, > const xlinkTitle *titles, > const xmlChar **langs); > > > > > > > >typedef struct _xlinkHandler xlinkHandler; >typedef xlinkHandler *xlinkHandlerPtr; >struct _xlinkHandler { > xlinkSimpleLinkFunk simple; > xlinkExtendedLinkFunk extended; > xlinkExtendedLinkSetFunk set; >}; > > > > > > >xlinkNodeDetectFunc xlinkGetDefaultDetect (void); >void xlinkSetDefaultDetect (xlinkNodeDetectFunc func); > > > > >xlinkHandlerPtr xlinkGetDefaultHandler (void); >void xlinkSetDefaultHandler (xlinkHandlerPtr handler); > > > > >xlinkType xlinkIsLink (xmlDocPtr doc, > xmlNodePtr node); > > >} ># 17 "/usr/local/include/libxml2/libxml/SAX.h" 2 3 4 > > >extern "C" { > >const xmlChar * getPublicId (void *ctx); >const xmlChar * getSystemId (void *ctx); >void setDocumentLocator (void *ctx, > xmlSAXLocatorPtr loc); > >int getLineNumber (void *ctx); >int getColumnNumber (void *ctx); > >int isStandalone (void *ctx); >int hasInternalSubset (void *ctx); >int hasExternalSubset (void *ctx); > >void internalSubset (void *ctx, > const xmlChar *name, > const xmlChar *ExternalID, > const xmlChar *SystemID); >void externalSubset (void *ctx, > const xmlChar *name, > const xmlChar *ExternalID, > const xmlChar *SystemID); >xmlEntityPtr getEntity (void *ctx, > const xmlChar *name); >xmlEntityPtr getParameterEntity (void *ctx, > const xmlChar *name); >xmlParserInputPtr resolveEntity (void *ctx, > const xmlChar *publicId, > const xmlChar *systemId); > >void entityDecl (void *ctx, > const xmlChar *name, > int type, > const xmlChar *publicId, > const xmlChar *systemId, > xmlChar *content); >void attributeDecl (void *ctx, > const xmlChar *elem, > const xmlChar *fullname, > int type, > int def, > const xmlChar *defaultValue, > xmlEnumerationPtr tree); >void elementDecl (void *ctx, > const xmlChar *name, > int type, > xmlElementContentPtr content); >void notationDecl (void *ctx, > const xmlChar *name, > const xmlChar *publicId, > const xmlChar *systemId); >void unparsedEntityDecl (void *ctx, > const xmlChar *name, > const xmlChar *publicId, > const xmlChar *systemId, > const xmlChar *notationName); > >void startDocument (void *ctx); >void endDocument (void *ctx); >void attribute (void *ctx, > const xmlChar *fullname, > const xmlChar *value); >void startElement (void *ctx, > const xmlChar *fullname, > const xmlChar **atts); >void endElement (void *ctx, > const xmlChar *name); >void reference (void *ctx, > const xmlChar *name); >void characters (void *ctx, > const xmlChar *ch, > int len); >void ignorableWhitespace (void *ctx, > const xmlChar *ch, > int len); >void processingInstruction (void *ctx, > const xmlChar *target, > const xmlChar *data); >void globalNamespace (void *ctx, > const xmlChar *href, > const xmlChar *prefix); >void setNamespace (void *ctx, > const xmlChar *name); >xmlNsPtr getNamespace (void *ctx); >int checkNamespace (void *ctx, > xmlChar *nameSpace); >void namespaceDecl (void *ctx, > const xmlChar *href, > const xmlChar *prefix); >void comment (void *ctx, > const xmlChar *value); >void cdataBlock (void *ctx, > const xmlChar *value, > int len); > >void initxmlDefaultSAXHandler (xmlSAXHandler *hdlr, > int warning); > >void inithtmlDefaultSAXHandler (xmlSAXHandler *hdlr); > > >void initdocbDefaultSAXHandler (xmlSAXHandler *hdlr); > >void xmlDefaultSAXHandlerInit (void); >void htmlDefaultSAXHandlerInit (void); >void docbDefaultSAXHandlerInit (void); > >} ># 19 "/usr/local/include/libxml2/libxml/globals.h" 2 3 4 ># 1 "/usr/local/include/libxml2/libxml/xmlmemory.h" 1 3 4 ># 20 "/usr/local/include/libxml2/libxml/globals.h" 2 3 4 > > >extern "C" { ># 55 "/usr/local/include/libxml2/libxml/globals.h" 3 4 >typedef struct _xmlGlobalState xmlGlobalState; >typedef xmlGlobalState *xmlGlobalStatePtr; >struct _xmlGlobalState >{ > const char *xmlParserVersion; > > xmlSAXLocator xmlDefaultSAXLocator; > xmlSAXHandler xmlDefaultSAXHandler; > xmlSAXHandler docbDefaultSAXHandler; > xmlSAXHandler htmlDefaultSAXHandler; > > xmlFreeFunc xmlFree; > xmlMallocFunc xmlMalloc; > xmlStrdupFunc xmlMemStrdup; > xmlReallocFunc xmlRealloc; > > xmlGenericErrorFunc xmlGenericError; > void *xmlGenericErrorContext; > > int oldXMLWDcompatibility; > > xmlBufferAllocationScheme xmlBufferAllocScheme; > int xmlDefaultBufferSize; > > int xmlSubstituteEntitiesDefaultValue; > int xmlDoValidityCheckingDefaultValue; > int xmlGetWarningsDefaultValue; > int xmlKeepBlanksDefaultValue; > int xmlLineNumbersDefaultValue; > int xmlLoadExtDtdDefaultValue; > int xmlParserDebugEntities; > int xmlPedanticParserDefaultValue; > > int xmlSaveNoEmptyTags; > int xmlIndentTreeOutput; >}; > > >} > ># 1 "/usr/local/include/libxml2/libxml/threads.h" 1 3 4 ># 96 "/usr/local/include/libxml2/libxml/globals.h" 2 3 4 > >extern "C" { > > >void xmlInitializeGlobalState(xmlGlobalStatePtr gs); ># 144 "/usr/local/include/libxml2/libxml/globals.h" 3 4 > extern xmlMallocFunc xmlMalloc; > extern xmlReallocFunc xmlRealloc; > extern xmlFreeFunc xmlFree; > extern xmlStrdupFunc xmlMemStrdup; > > > >extern xmlSAXHandler *__docbDefaultSAXHandler(void); > > > > > extern xmlSAXHandler docbDefaultSAXHandler; > > > > >extern xmlSAXHandler *__htmlDefaultSAXHandler(void); > > > > > extern xmlSAXHandler htmlDefaultSAXHandler; ># 178 "/usr/local/include/libxml2/libxml/globals.h" 3 4 >extern int *__oldXMLWDcompatibility(void); > > > > > extern int oldXMLWDcompatibility; > > >extern xmlBufferAllocationScheme *__xmlBufferAllocScheme(void); > > > > > extern xmlBufferAllocationScheme xmlBufferAllocScheme; > > >extern int *__xmlDefaultBufferSize(void); > > > > > extern int xmlDefaultBufferSize; > > >extern xmlSAXHandler *__xmlDefaultSAXHandler(void); > > > > > extern xmlSAXHandler xmlDefaultSAXHandler; > > >extern xmlSAXLocator *__xmlDefaultSAXLocator(void); > > > > > extern xmlSAXLocator xmlDefaultSAXLocator; > > >extern int *__xmlDoValidityCheckingDefaultValue(void); > > > > > extern int xmlDoValidityCheckingDefaultValue; > > >extern xmlGenericErrorFunc *__xmlGenericError(void); > > > > > extern xmlGenericErrorFunc xmlGenericError; > > >extern void * *__xmlGenericErrorContext(void); > > > > > extern void * xmlGenericErrorContext; > > >extern int *__xmlGetWarningsDefaultValue(void); > > > > > extern int xmlGetWarningsDefaultValue; > > >extern int *__xmlIndentTreeOutput(void); > > > > > extern int xmlIndentTreeOutput; > > >extern int *__xmlKeepBlanksDefaultValue(void); > > > > > extern int xmlKeepBlanksDefaultValue; > > >extern int *__xmlLineNumbersDefaultValue(void); > > > > > extern int xmlLineNumbersDefaultValue; > > >extern int *__xmlLoadExtDtdDefaultValue(void); > > > > > extern int xmlLoadExtDtdDefaultValue; > > >extern int *__xmlParserDebugEntities(void); > > > > > extern int xmlParserDebugEntities; > > >extern const char * *__xmlParserVersion(void); > > > > > extern const char * xmlParserVersion; > > >extern int *__xmlPedanticParserDefaultValue(void); > > > > > extern int xmlPedanticParserDefaultValue; > > >extern int *__xmlSaveNoEmptyTags(void); > > > > > extern int xmlSaveNoEmptyTags; > > >extern int *__xmlSubstituteEntitiesDefaultValue(void); > > > > > extern int xmlSubstituteEntitiesDefaultValue; > > > >} ># 32 "/usr/local/include/libxml2/libxml/threads.h" 2 3 4 > >extern "C" { > > >xmlMutexPtr xmlNewMutex (void); >void xmlMutexLock (xmlMutexPtr tok); >void xmlMutexUnlock (xmlMutexPtr tok); >void xmlFreeMutex (xmlMutexPtr tok); > >xmlRMutexPtr xmlNewRMutex (void); >void xmlRMutexLock (xmlRMutexPtr tok); >void xmlRMutexUnlock (xmlRMutexPtr tok); >void xmlFreeRMutex (xmlRMutexPtr tok); > > > > >void xmlInitThreads (void); >void xmlLockLibrary (void); >void xmlUnlockLibrary(void); >int xmlGetThreadId (void); >int xmlIsMainThread (void); >void xmlCleanupThreads(void); >xmlGlobalStatePtr xmlGetGlobalState(void); > > >} ># 164 "/usr/local/include/libxml2/libxml/xmlmemory.h" 2 3 4 ># 868 "/usr/local/include/libxml2/libxml/tree.h" 2 3 4 ># 17 "/usr/include/libxslt/xsltInternals.h" 2 3 4 ># 1 "/usr/local/include/libxml2/libxml/hash.h" 1 3 4 ># 24 "/usr/local/include/libxml2/libxml/hash.h" 3 4 >extern "C" { > > > > > >typedef struct _xmlHashTable xmlHashTable; >typedef xmlHashTable *xmlHashTablePtr; ># 43 "/usr/local/include/libxml2/libxml/hash.h" 3 4 >typedef void (*xmlHashDeallocator)(void *payload, xmlChar *name); ># 53 "/usr/local/include/libxml2/libxml/hash.h" 3 4 >typedef void *(*xmlHashCopier)(void *payload, xmlChar *name); ># 62 "/usr/local/include/libxml2/libxml/hash.h" 3 4 >typedef void (*xmlHashScanner)(void *payload, void *data, xmlChar *name); ># 73 "/usr/local/include/libxml2/libxml/hash.h" 3 4 >typedef void (*xmlHashScannerFull)(void *payload, void *data, > const xmlChar *name, const xmlChar *name2, > const xmlChar *name3); > > > > >xmlHashTablePtr xmlHashCreate (int size); >void xmlHashFree (xmlHashTablePtr table, > xmlHashDeallocator f); > > > > >int xmlHashAddEntry (xmlHashTablePtr table, > const xmlChar *name, > void *userdata); >int xmlHashUpdateEntry(xmlHashTablePtr table, > const xmlChar *name, > void *userdata, > xmlHashDeallocator f); >int xmlHashAddEntry2(xmlHashTablePtr table, > const xmlChar *name, > const xmlChar *name2, > void *userdata); >int xmlHashUpdateEntry2(xmlHashTablePtr table, > const xmlChar *name, > const xmlChar *name2, > void *userdata, > xmlHashDeallocator f); >int xmlHashAddEntry3(xmlHashTablePtr table, > const xmlChar *name, > const xmlChar *name2, > const xmlChar *name3, > void *userdata); >int xmlHashUpdateEntry3(xmlHashTablePtr table, > const xmlChar *name, > const xmlChar *name2, > const xmlChar *name3, > void *userdata, > xmlHashDeallocator f); > > > > >int xmlHashRemoveEntry(xmlHashTablePtr table, const xmlChar *name, > xmlHashDeallocator f); >int xmlHashRemoveEntry2(xmlHashTablePtr table, const xmlChar *name, > const xmlChar *name2, xmlHashDeallocator f); >int xmlHashRemoveEntry3(xmlHashTablePtr table, const xmlChar *name, > const xmlChar *name2, const xmlChar *name3, > xmlHashDeallocator f); > > > > >void * xmlHashLookup (xmlHashTablePtr table, > const xmlChar *name); >void * xmlHashLookup2 (xmlHashTablePtr table, > const xmlChar *name, > const xmlChar *name2); >void * xmlHashLookup3 (xmlHashTablePtr table, > const xmlChar *name, > const xmlChar *name2, > const xmlChar *name3); > > > > >xmlHashTablePtr xmlHashCopy (xmlHashTablePtr table, > xmlHashCopier f); >int xmlHashSize (xmlHashTablePtr table); >void xmlHashScan (xmlHashTablePtr table, > xmlHashScanner f, > void *data); >void xmlHashScan3 (xmlHashTablePtr table, > const xmlChar *name, > const xmlChar *name2, > const xmlChar *name3, > xmlHashScanner f, > void *data); >void xmlHashScanFull (xmlHashTablePtr table, > xmlHashScannerFull f, > void *data); >void xmlHashScanFull3(xmlHashTablePtr table, > const xmlChar *name, > const xmlChar *name2, > const xmlChar *name3, > xmlHashScannerFull f, > void *data); > >} ># 18 "/usr/include/libxslt/xsltInternals.h" 2 3 4 ># 1 "/usr/local/include/libxml2/libxml/xpath.h" 1 3 4 ># 19 "/usr/local/include/libxml2/libxml/xpath.h" 3 4 >extern "C" { > > >typedef struct _xmlXPathContext xmlXPathContext; >typedef xmlXPathContext *xmlXPathContextPtr; >typedef struct _xmlXPathParserContext xmlXPathParserContext; >typedef xmlXPathParserContext *xmlXPathParserContextPtr; > > > > > >typedef enum { > XPATH_EXPRESSION_OK = 0, > XPATH_NUMBER_ERROR, > XPATH_UNFINISHED_LITERAL_ERROR, > XPATH_START_LITERAL_ERROR, > XPATH_VARIABLE_REF_ERROR, > XPATH_UNDEF_VARIABLE_ERROR, > XPATH_INVALID_PREDICATE_ERROR, > XPATH_EXPR_ERROR, > XPATH_UNCLOSED_ERROR, > XPATH_UNKNOWN_FUNC_ERROR, > XPATH_INVALID_OPERAND, > XPATH_INVALID_TYPE, > XPATH_INVALID_ARITY, > XPATH_INVALID_CTXT_SIZE, > XPATH_INVALID_CTXT_POSITION, > XPATH_MEMORY_ERROR, > XPTR_SYNTAX_ERROR, > XPTR_RESOURCE_ERROR, > XPTR_SUB_RESOURCE_ERROR, > XPATH_UNDEF_PREFIX_ERROR, > XPATH_ENCODING_ERROR, > XPATH_INVALID_CHAR_ERROR >} xmlXPathError; > > > > >typedef struct _xmlNodeSet xmlNodeSet; >typedef xmlNodeSet *xmlNodeSetPtr; >struct _xmlNodeSet { > int nodeNr; > int nodeMax; > xmlNodePtr *nodeTab; > >}; ># 79 "/usr/local/include/libxml2/libxml/xpath.h" 3 4 >typedef enum { > XPATH_UNDEFINED = 0, > XPATH_NODESET = 1, > XPATH_BOOLEAN = 2, > XPATH_NUMBER = 3, > XPATH_STRING = 4, > XPATH_POINT = 5, > XPATH_RANGE = 6, > XPATH_LOCATIONSET = 7, > XPATH_USERS = 8, > XPATH_XSLT_TREE = 9 >} xmlXPathObjectType; > >typedef struct _xmlXPathObject xmlXPathObject; >typedef xmlXPathObject *xmlXPathObjectPtr; >struct _xmlXPathObject { > xmlXPathObjectType type; > xmlNodeSetPtr nodesetval; > int boolval; > double floatval; > xmlChar *stringval; > void *user; > int index; > void *user2; > int index2; >}; ># 116 "/usr/local/include/libxml2/libxml/xpath.h" 3 4 >typedef int (*xmlXPathConvertFunc) (xmlXPathObjectPtr obj, int type); > > > > > >typedef struct _xmlXPathType xmlXPathType; >typedef xmlXPathType *xmlXPathTypePtr; >struct _xmlXPathType { > const xmlChar *name; > xmlXPathConvertFunc func; >}; > > > > > >typedef struct _xmlXPathVariable xmlXPathVariable; >typedef xmlXPathVariable *xmlXPathVariablePtr; >struct _xmlXPathVariable { > const xmlChar *name; > xmlXPathObjectPtr value; >}; ># 148 "/usr/local/include/libxml2/libxml/xpath.h" 3 4 >typedef void (*xmlXPathEvalFunc)(xmlXPathParserContextPtr ctxt, > int nargs); > > > > > >typedef struct _xmlXPathFunct xmlXPathFunct; >typedef xmlXPathFunct *xmlXPathFuncPtr; >struct _xmlXPathFunct { > const xmlChar *name; > xmlXPathEvalFunc func; >}; ># 174 "/usr/local/include/libxml2/libxml/xpath.h" 3 4 >typedef xmlXPathObjectPtr (*xmlXPathAxisFunc) (xmlXPathParserContextPtr ctxt, > xmlXPathObjectPtr cur); > > > > > >typedef struct _xmlXPathAxis xmlXPathAxis; >typedef xmlXPathAxis *xmlXPathAxisPtr; >struct _xmlXPathAxis { > const xmlChar *name; > xmlXPathAxisFunc func; >}; ># 202 "/usr/local/include/libxml2/libxml/xpath.h" 3 4 >struct _xmlXPathContext { > xmlDocPtr doc; > xmlNodePtr node; > > int nb_variables_unused; > int max_variables_unused; > xmlHashTablePtr varHash; > > int nb_types; > int max_types; > xmlXPathTypePtr types; > > int nb_funcs_unused; > int max_funcs_unused; > xmlHashTablePtr funcHash; > > int nb_axis; > int max_axis; > xmlXPathAxisPtr axis; > > > xmlNsPtr *namespaces; > int nsNr; > void *user; > > > int contextSize; > int proximityPosition; > > > int xptr; > xmlNodePtr here; > xmlNodePtr origin; > > > xmlHashTablePtr nsHash; > void *varLookupFunc; > void *varLookupData; > > > void *extra; > > > const xmlChar *function; > const xmlChar *functionURI; > > > void *funcLookupFunc; > void *funcLookupData; > > > xmlNsPtr *tmpNsList; > int tmpNsNr; >}; > > > > > >typedef struct _xmlXPathCompExpr xmlXPathCompExpr; >typedef xmlXPathCompExpr *xmlXPathCompExprPtr; > > > > > > > >struct _xmlXPathParserContext { > const xmlChar *cur; > const xmlChar *base; > > int error; > > xmlXPathContextPtr context; > xmlXPathObjectPtr value; > int valueNr; > int valueMax; > xmlXPathObjectPtr *valueTab; > > xmlXPathCompExprPtr comp; > int xptr; > xmlNodePtr ancestor; >}; ># 297 "/usr/local/include/libxml2/libxml/xpath.h" 3 4 >typedef void (*xmlXPathFunction) (xmlXPathParserContextPtr ctxt, int nargs); ># 309 "/usr/local/include/libxml2/libxml/xpath.h" 3 4 > extern double xmlXPathNAN; > extern double xmlXPathPINF; > extern double xmlXPathNINF; > >int xmlXPathIsNaN (double val); >int xmlXPathIsInf (double val); ># 353 "/usr/local/include/libxml2/libxml/xpath.h" 3 4 >void xmlXPathFreeObject (xmlXPathObjectPtr obj); >xmlNodeSetPtr xmlXPathNodeSetCreate (xmlNodePtr val); >void xmlXPathFreeNodeSetList (xmlXPathObjectPtr obj); >void xmlXPathFreeNodeSet (xmlNodeSetPtr obj); >xmlXPathObjectPtr xmlXPathObjectCopy (xmlXPathObjectPtr val); >int xmlXPathCmpNodes (xmlNodePtr node1, > xmlNodePtr node2); > > > >int xmlXPathCastNumberToBoolean (double val); >int xmlXPathCastStringToBoolean (const xmlChar * val); >int xmlXPathCastNodeSetToBoolean (xmlNodeSetPtr ns); >int xmlXPathCastToBoolean (xmlXPathObjectPtr val); > >double xmlXPathCastBooleanToNumber (int val); >double xmlXPathCastStringToNumber (const xmlChar * val); >double xmlXPathCastNodeToNumber (xmlNodePtr node); >double xmlXPathCastNodeSetToNumber (xmlNodeSetPtr ns); >double xmlXPathCastToNumber (xmlXPathObjectPtr val); > >xmlChar * xmlXPathCastBooleanToString (int val); >xmlChar * xmlXPathCastNumberToString (double val); >xmlChar * xmlXPathCastNodeToString (xmlNodePtr node); >xmlChar * xmlXPathCastNodeSetToString (xmlNodeSetPtr ns); >xmlChar * xmlXPathCastToString (xmlXPathObjectPtr val); > >xmlXPathObjectPtr xmlXPathConvertBoolean (xmlXPathObjectPtr val); >xmlXPathObjectPtr xmlXPathConvertNumber (xmlXPathObjectPtr val); >xmlXPathObjectPtr xmlXPathConvertString (xmlXPathObjectPtr val); > > > > >void xmlXPathInit (void); >xmlXPathContextPtr xmlXPathNewContext (xmlDocPtr doc); >void xmlXPathFreeContext (xmlXPathContextPtr ctxt); > > > > >xmlXPathObjectPtr xmlXPathEval (const xmlChar *str, > xmlXPathContextPtr ctx); >xmlXPathObjectPtr xmlXPathEvalExpression (const xmlChar *str, > xmlXPathContextPtr ctxt); >int xmlXPathEvalPredicate (xmlXPathContextPtr ctxt, > xmlXPathObjectPtr res); > > > >xmlXPathCompExprPtr xmlXPathCompile (const xmlChar *str); >xmlXPathObjectPtr xmlXPathCompiledEval (xmlXPathCompExprPtr comp, > xmlXPathContextPtr ctx); >void xmlXPathFreeCompExpr (xmlXPathCompExprPtr comp); > >} ># 19 "/usr/include/libxslt/xsltInternals.h" 2 3 4 ># 1 "/usr/local/include/libxml2/libxml/xmlerror.h" 1 3 4 ># 20 "/usr/include/libxslt/xsltInternals.h" 2 3 4 ># 1 "/usr/include/libxml2/libxml/dict.h" 1 3 4 ># 18 "/usr/include/libxml2/libxml/dict.h" 3 4 >extern "C" { > > > > > >typedef struct _xmlDict xmlDict; >typedef xmlDict *xmlDictPtr; > > > > >XMLPUBFUN xmlDictPtr XMLCALL > xmlDictCreate (void); >XMLPUBFUN xmlDictPtr XMLCALL > xmlDictCreateSub(xmlDictPtr sub); >XMLPUBFUN int XMLCALL > xmlDictReference(xmlDictPtr dict); >XMLPUBFUN void XMLCALL > xmlDictFree (xmlDictPtr dict); > > > > >XMLPUBFUN const xmlChar * XMLCALL > xmlDictLookup (xmlDictPtr dict, > const xmlChar *name, > int len); >XMLPUBFUN const xmlChar * XMLCALL > xmlDictQLookup (xmlDictPtr dict, > const xmlChar *prefix, > const xmlChar *name); >XMLPUBFUN int XMLCALL > xmlDictOwns (xmlDictPtr dict, > const xmlChar *str); >XMLPUBFUN int XMLCALL > xmlDictSize (xmlDictPtr dict); > >} ># 21 "/usr/include/libxslt/xsltInternals.h" 2 3 4 ># 1 "/usr/include/libxslt/xslt.h" 1 3 4 ># 14 "/usr/include/libxslt/xslt.h" 3 4 ># 1 "/usr/include/libxslt/xsltexports.h" 1 3 4 ># 15 "/usr/include/libxslt/xslt.h" 2 3 4 > > >extern "C" { ># 62 "/usr/include/libxslt/xslt.h" 3 4 >extern int xsltMaxDepth; > > > > > > >extern const char *xsltEngineVersion; > > > > > > >extern const int xsltLibxsltVersion; > > > > > > >extern const int xsltLibxmlVersion; > > > > > void > xsltCleanupGlobals (void); > > >} ># 22 "/usr/include/libxslt/xsltInternals.h" 2 3 4 > ># 1 "/usr/include/libxslt/numbersInternals.h" 1 3 4 ># 17 "/usr/include/libxslt/numbersInternals.h" 3 4 >extern "C" { > > > > > > > >typedef struct _xsltNumberData xsltNumberData; >typedef xsltNumberData *xsltNumberDataPtr; > >struct _xsltNumberData { > const xmlChar *level; > const xmlChar *count; > const xmlChar *from; > const xmlChar *value; > const xmlChar *format; > int has_format; > int digitsPerGroup; > int groupingCharacter; > int groupingCharacterLen; > xmlDocPtr doc; > xmlNodePtr node; > > > > >}; > > > > > > >typedef struct _xsltFormatNumberInfo xsltFormatNumberInfo; >typedef xsltFormatNumberInfo *xsltFormatNumberInfoPtr; > >struct _xsltFormatNumberInfo { > int integer_hash; > int integer_digits; > int frac_digits; > int frac_hash; > int group; > int multiplier; > char add_decimal; > char is_multiplier_set; > char is_negative_pattern; >}; > > >} ># 24 "/usr/include/libxslt/xsltInternals.h" 2 3 4 > > >extern "C" { ># 48 "/usr/include/libxslt/xsltInternals.h" 3 4 >typedef struct _xsltRuntimeExtra xsltRuntimeExtra; >typedef xsltRuntimeExtra *xsltRuntimeExtraPtr; >struct _xsltRuntimeExtra { > void *info; > xmlFreeFunc deallocate; > void *val; >}; ># 86 "/usr/include/libxslt/xsltInternals.h" 3 4 >typedef struct _xsltTemplate xsltTemplate; >typedef xsltTemplate *xsltTemplatePtr; >struct _xsltTemplate { > struct _xsltTemplate *next; > struct _xsltStylesheet *style; > xmlChar *match; > float priority; > xmlChar *name; > xmlChar *nameURI; > xmlChar *mode; > xmlChar *modeURI; > xmlNodePtr content; > xmlNodePtr elem; > > int inheritedNsNr; > xmlNsPtr *inheritedNs; > > > int nbCalls; > unsigned long time; >}; > > > > > > >typedef struct _xsltDecimalFormat xsltDecimalFormat; >typedef xsltDecimalFormat *xsltDecimalFormatPtr; >struct _xsltDecimalFormat { > struct _xsltDecimalFormat *next; > xmlChar *name; > > xmlChar *digit; > xmlChar *patternSeparator; > > xmlChar *minusSign; > xmlChar *infinity; > xmlChar *noNumber; > > xmlChar *decimalPoint; > xmlChar *grouping; > xmlChar *percent; > xmlChar *permille; > xmlChar *zeroDigit; >}; > > > > > > > >typedef struct _xsltDocument xsltDocument; >typedef xsltDocument *xsltDocumentPtr; >struct _xsltDocument { > struct _xsltDocument *next; > int main; > xmlDocPtr doc; > void *keys; > struct _xsltDocument *includes; >}; > >typedef struct _xsltTransformContext xsltTransformContext; >typedef xsltTransformContext *xsltTransformContextPtr; > > > > > > > >typedef struct _xsltElemPreComp xsltElemPreComp; >typedef xsltElemPreComp *xsltElemPreCompPtr; ># 171 "/usr/include/libxslt/xsltInternals.h" 3 4 >typedef void (*xsltTransformFunction) (xsltTransformContextPtr ctxt, > xmlNodePtr node, > xmlNodePtr inst, > xsltElemPreCompPtr comp); ># 184 "/usr/include/libxslt/xsltInternals.h" 3 4 >typedef void (*xsltSortFunc) (xsltTransformContextPtr ctxt, xmlNodePtr *sorts, > int nbsorts); > >typedef enum { > XSLT_FUNC_COPY=1, > XSLT_FUNC_SORT, > XSLT_FUNC_TEXT, > XSLT_FUNC_ELEMENT, > XSLT_FUNC_ATTRIBUTE, > XSLT_FUNC_COMMENT, > XSLT_FUNC_PI, > XSLT_FUNC_COPYOF, > XSLT_FUNC_VALUEOF, > XSLT_FUNC_NUMBER, > XSLT_FUNC_APPLYIMPORTS, > XSLT_FUNC_CALLTEMPLATE, > XSLT_FUNC_APPLYTEMPLATES, > XSLT_FUNC_CHOOSE, > XSLT_FUNC_IF, > XSLT_FUNC_FOREACH, > XSLT_FUNC_DOCUMENT, > XSLT_FUNC_WITHPARAM, > XSLT_FUNC_PARAM, > XSLT_FUNC_VARIABLE, > XSLT_FUNC_WHEN, > XSLT_FUNC_EXTENSION >} xsltStyleType; > > > > > > > >typedef void (*xsltElemPreCompDeallocator) (xsltElemPreCompPtr comp); > > > > > > > >struct _xsltElemPreComp { > xsltElemPreCompPtr next; > xsltStyleType type; > xsltTransformFunction func; > xmlNodePtr inst; > > > xsltElemPreCompDeallocator free; >}; > > > > > > > >typedef struct _xsltStylePreComp xsltStylePreComp; > >typedef xsltStylePreComp *xsltStylePreCompPtr; > >struct _xsltStylePreComp { > xsltElemPreCompPtr next; > xsltStyleType type; > xsltTransformFunction func; > xmlNodePtr inst; > > > > > > const xmlChar *stype; > int has_stype; > int number; > const xmlChar *order; > int has_order; > int descending; > const xmlChar *lang; > int has_lang; > const xmlChar *case_order; > int lower_first; > > const xmlChar *use; > int has_use; > > int noescape; > > const xmlChar *name; > int has_name; > const xmlChar *ns; > int has_ns; > > const xmlChar *mode; > const xmlChar *modeURI; > > const xmlChar *test; > > xsltTemplatePtr templ; > > const xmlChar *select; > > int ver11; > const xmlChar *filename; > int has_filename; > > xsltNumberData numdata; > > xmlXPathCompExprPtr comp; > xmlNsPtr *nsList; > int nsNr; >}; > > > > > > >typedef struct _xsltStackElem xsltStackElem; >typedef xsltStackElem *xsltStackElemPtr; >struct _xsltStackElem { > struct _xsltStackElem *next; > xsltStylePreCompPtr comp; > int computed; > const xmlChar *name; > const xmlChar *nameURI; > const xmlChar *select; > xmlNodePtr tree; > xmlXPathObjectPtr value; >}; > > > > > > >typedef struct _xsltStylesheet xsltStylesheet; >typedef xsltStylesheet *xsltStylesheetPtr; >struct _xsltStylesheet { > > > > struct _xsltStylesheet *parent; > struct _xsltStylesheet *next; > struct _xsltStylesheet *imports; > > xsltDocumentPtr docList; > > > > > xmlDocPtr doc; > xmlHashTablePtr stripSpaces; > > int stripAll; > xmlHashTablePtr cdataSection; > > > > > xsltStackElemPtr variables; > > > > > xsltTemplatePtr templates; > void *templatesHash; > > void *rootMatch; > void *keyMatch; > void *elemMatch; > void *attrMatch; > void *parentMatch; > void *textMatch; > void *piMatch; > void *commentMatch; > > > > > xmlHashTablePtr nsAliases; > > > > > xmlHashTablePtr attributeSets; > > > > > xmlHashTablePtr nsHash; > void *nsDefs; > > > > > void *keys; > > > > > xmlChar *method; > xmlChar *methodURI; > xmlChar *version; > xmlChar *encoding; > int omitXmlDeclaration; > > > > > xsltDecimalFormatPtr decimalFormat; > int standalone; > xmlChar *doctypePublic; > xmlChar *doctypeSystem; > int indent; > xmlChar *mediaType; > > > > > xsltElemPreCompPtr preComps; > int warnings; > int errors; > > xmlChar *exclPrefix; > xmlChar **exclPrefixTab; > int exclPrefixNr; > int exclPrefixMax; > > void *_private; > > > > > xmlHashTablePtr extInfos; > int extrasNr; > > > > > xsltDocumentPtr includes; > > > > > xmlDictPtr dict; > > > > void *attVTs; > > > > const xmlChar *defaultAlias; >}; > > > > >typedef enum { > XSLT_OUTPUT_XML = 0, > XSLT_OUTPUT_HTML, > XSLT_OUTPUT_TEXT >} xsltOutputType; > >typedef enum { > XSLT_STATE_OK = 0, > XSLT_STATE_ERROR, > XSLT_STATE_STOPPED >} xsltTransformState; > >struct _xsltTransformContext { > xsltStylesheetPtr style; > xsltOutputType type; > > xsltTemplatePtr templ; > int templNr; > int templMax; > xsltTemplatePtr *templTab; > > xsltStackElemPtr vars; > int varsNr; > int varsMax; > xsltStackElemPtr *varsTab; > int varsBase; > > > > > xmlHashTablePtr extFunctions; > xmlHashTablePtr extElements; > xmlHashTablePtr extInfos; > > const xmlChar *mode; > const xmlChar *modeURI; > > xsltDocumentPtr docList; > > xsltDocumentPtr document; > xmlNodePtr node; > xmlNodeSetPtr nodeList; > > > xmlDocPtr output; > xmlNodePtr insert; > > xmlXPathContextPtr xpathCtxt; > xsltTransformState state; > > > > > xmlHashTablePtr globalVars; > > xmlNodePtr inst; > > int xinclude; > > const char * outputFile; > > int profile; > long prof; > int profNr; > int profMax; > long *profTab; > > void *_private; > > int extrasNr; > int extrasMax; > xsltRuntimeExtraPtr extras; > > xsltDocumentPtr styleList; > void * sec; > > xmlGenericErrorFunc error; > void * errctx; > > xsltSortFunc sortfunc; > > > > > xmlDocPtr tmpRVT; > xmlDocPtr persistRVT; > int ctxtflags; > > > > > const xmlChar *lasttext; > unsigned int lasttsize; > unsigned int lasttuse; > > > > int debugStatus; > unsigned long* traceCode; > > int parserOptions; > > > > > xmlDictPtr dict; >}; ># 580 "/usr/include/libxslt/xsltInternals.h" 3 4 > xsltStylesheetPtr > xsltNewStylesheet (void); > xsltStylesheetPtr > xsltParseStylesheetFile (const xmlChar* filename); > void > xsltFreeStylesheet (xsltStylesheetPtr sheet); > int > xsltIsBlank (xmlChar *str); > void > xsltFreeStackElemList (xsltStackElemPtr elem); > xsltDecimalFormatPtr > xsltDecimalFormatGetByName(xsltStylesheetPtr sheet, > xmlChar *name); > > xsltStylesheetPtr > xsltParseStylesheetProcess(xsltStylesheetPtr ret, > xmlDocPtr doc); > void > xsltParseStylesheetOutput(xsltStylesheetPtr style, > xmlNodePtr cur); > xsltStylesheetPtr > xsltParseStylesheetDoc (xmlDocPtr doc); > xsltStylesheetPtr > xsltParseStylesheetImportedDoc(xmlDocPtr doc, > xsltStylesheetPtr style); > xsltStylesheetPtr > xsltLoadStylesheetPI (xmlDocPtr doc); > void > xsltNumberFormat (xsltTransformContextPtr ctxt, > xsltNumberDataPtr data, > xmlNodePtr node); > xmlXPathError > xsltFormatNumberConversion(xsltDecimalFormatPtr self, > xmlChar *format, > double number, > xmlChar **result); > > void > xsltParseTemplateContent(xsltStylesheetPtr style, > xmlNodePtr templ); > int > xsltAllocateExtra (xsltStylesheetPtr style); > int > xsltAllocateExtraCtxt (xsltTransformContextPtr ctxt); > > > > xmlDocPtr > xsltCreateRVT (xsltTransformContextPtr ctxt); > int > xsltRegisterTmpRVT (xsltTransformContextPtr ctxt, > xmlDocPtr RVT); > int > xsltRegisterPersistRVT (xsltTransformContextPtr ctxt, > xmlDocPtr RVT); > void > xsltFreeRVTs (xsltTransformContextPtr ctxt); > > > > > void > xsltCompileAttr (xsltStylesheetPtr style, > xmlAttrPtr attr); > xmlChar * > xsltEvalAVT (xsltTransformContextPtr ctxt, > void *avt, > xmlNodePtr node); > void > xsltFreeAVTList (void *avt); > >} ># 3 "xslt_pure.cpp" 2 ># 1 "/usr/include/libxslt/transform.h" 1 3 4 ># 21 "/usr/include/libxslt/transform.h" 3 4 >extern "C" { > > > > > > void > xsltSetXIncludeDefault (int xinclude); > int > xsltGetXIncludeDefault (void); > > > > > xsltTransformContextPtr > xsltNewTransformContext (xsltStylesheetPtr style, > xmlDocPtr doc); > > void > xsltFreeTransformContext(xsltTransformContextPtr ctxt); > > xmlDocPtr > xsltApplyStylesheetUser (xsltStylesheetPtr style, > xmlDocPtr doc, > const char **params, > const char *output, > FILE * profile, > xsltTransformContextPtr userCtxt); > > > > void > xsltApplyStripSpaces (xsltTransformContextPtr ctxt, > xmlNodePtr node); > xmlDocPtr > xsltApplyStylesheet (xsltStylesheetPtr style, > xmlDocPtr doc, > const char **params); > xmlDocPtr > xsltProfileStylesheet (xsltStylesheetPtr style, > xmlDocPtr doc, > const char **params, > FILE * output); > int > xsltRunStylesheet (xsltStylesheetPtr style, > xmlDocPtr doc, > const char **params, > const char *output, > xmlSAXHandlerPtr SAX, > xmlOutputBufferPtr IObuf); > int > xsltRunStylesheetUser (xsltStylesheetPtr style, > xmlDocPtr doc, > const char **params, > const char *output, > xmlSAXHandlerPtr SAX, > xmlOutputBufferPtr IObuf, > FILE * profile, > xsltTransformContextPtr userCtxt); > void > xsltApplyOneTemplate (xsltTransformContextPtr ctxt, > xmlNodePtr node, > xmlNodePtr list, > xsltTemplatePtr templ, > xsltStackElemPtr params); > void > xsltDocumentElem (xsltTransformContextPtr ctxt, > xmlNodePtr node, > xmlNodePtr inst, > xsltStylePreCompPtr comp); > void > xsltSort (xsltTransformContextPtr ctxt, > xmlNodePtr node, > xmlNodePtr inst, > xsltStylePreCompPtr comp); > void > xsltCopy (xsltTransformContextPtr ctxt, > xmlNodePtr node, > xmlNodePtr inst, > xsltStylePreCompPtr comp); > void > xsltText (xsltTransformContextPtr ctxt, > xmlNodePtr node, > xmlNodePtr inst, > xsltStylePreCompPtr comp); > void > xsltElement (xsltTransformContextPtr ctxt, > xmlNodePtr node, > xmlNodePtr inst, > xsltStylePreCompPtr comp); > void > xsltComment (xsltTransformContextPtr ctxt, > xmlNodePtr node, > xmlNodePtr inst, > xsltStylePreCompPtr comp); > void > xsltAttribute (xsltTransformContextPtr ctxt, > xmlNodePtr node, > xmlNodePtr inst, > xsltStylePreCompPtr comp); > void > xsltProcessingInstruction(xsltTransformContextPtr ctxt, > xmlNodePtr node, > xmlNodePtr inst, > xsltStylePreCompPtr comp); > void > xsltCopyOf (xsltTransformContextPtr ctxt, > xmlNodePtr node, > xmlNodePtr inst, > xsltStylePreCompPtr comp); > void > xsltValueOf (xsltTransformContextPtr ctxt, > xmlNodePtr node, > xmlNodePtr inst, > xsltStylePreCompPtr comp); > void > xsltNumber (xsltTransformContextPtr ctxt, > xmlNodePtr node, > xmlNodePtr inst, > xsltStylePreCompPtr comp); > void > xsltApplyImports (xsltTransformContextPtr ctxt, > xmlNodePtr node, > xmlNodePtr inst, > xsltStylePreCompPtr comp); > void > xsltCallTemplate (xsltTransformContextPtr ctxt, > xmlNodePtr node, > xmlNodePtr inst, > xsltStylePreCompPtr comp); > void > xsltApplyTemplates (xsltTransformContextPtr ctxt, > xmlNodePtr node, > xmlNodePtr inst, > xsltStylePreCompPtr comp); > void > xsltChoose (xsltTransformContextPtr ctxt, > xmlNodePtr node, > xmlNodePtr inst, > xsltStylePreCompPtr comp); > void > xsltIf (xsltTransformContextPtr ctxt, > xmlNodePtr node, > xmlNodePtr inst, > xsltStylePreCompPtr comp); > void > xsltForEach (xsltTransformContextPtr ctxt, > xmlNodePtr node, > xmlNodePtr inst, > xsltStylePreCompPtr comp); > void > xsltRegisterAllElement (xsltTransformContextPtr ctxt); > > xmlNodePtr > xsltCopyTextString (xsltTransformContextPtr ctxt, > xmlNodePtr target, > const xmlChar *string, > int noescape); > > > > void > xslHandleDebugger (xmlNodePtr cur, > xmlNodePtr node, > xsltTemplatePtr templ, > xsltTransformContextPtr ctxt); > > >} ># 4 "xslt_pure.cpp" 2 ># 1 "/usr/include/libxslt/xsltutils.h" 1 3 4 ># 25 "/usr/include/libxslt/xsltutils.h" 3 4 ># 1 "/usr/local/include/libxml2/libxml/xmlerror.h" 1 3 4 ># 26 "/usr/include/libxslt/xsltutils.h" 2 3 4 > > > > >extern "C" { ># 87 "/usr/include/libxslt/xsltutils.h" 3 4 > xmlChar * > xsltGetNsProp (xmlNodePtr node, > const xmlChar *name, > const xmlChar *nameSpace); > const xmlChar * > xsltGetCNsProp (xsltStylesheetPtr style, > xmlNodePtr node, > const xmlChar *name, > const xmlChar *nameSpace); > int > xsltGetUTF8Char (const unsigned char *utf, > int *len); > > > > >typedef enum { > XSLT_TRACE_ALL = -1, > XSLT_TRACE_NONE = 0, > XSLT_TRACE_COPY_TEXT = 1<<0, > XSLT_TRACE_PROCESS_NODE = 1<<1, > XSLT_TRACE_APPLY_TEMPLATE = 1<<2, > XSLT_TRACE_COPY = 1<<3, > XSLT_TRACE_COMMENT = 1<<4, > XSLT_TRACE_PI = 1<<5, > XSLT_TRACE_COPY_OF = 1<<6, > XSLT_TRACE_VALUE_OF = 1<<7, > XSLT_TRACE_CALL_TEMPLATE = 1<<8, > XSLT_TRACE_APPLY_TEMPLATES = 1<<9, > XSLT_TRACE_CHOOSE = 1<<10, > XSLT_TRACE_IF = 1<<11, > XSLT_TRACE_FOR_EACH = 1<<12, > XSLT_TRACE_STRIP_SPACES = 1<<13, > XSLT_TRACE_TEMPLATES = 1<<14, > XSLT_TRACE_KEYS = 1<<15, > XSLT_TRACE_VARIABLES = 1<<16 >} xsltDebugTraceCodes; ># 134 "/usr/include/libxslt/xsltutils.h" 3 4 > void > xsltDebugSetDefaultTrace(xsltDebugTraceCodes val); > xsltDebugTraceCodes > xsltDebugGetDefaultTrace(void); > > > > >extern xmlGenericErrorFunc xsltGenericError; >extern void *xsltGenericErrorContext; >extern xmlGenericErrorFunc xsltGenericDebug; >extern void *xsltGenericDebugContext; > > void > xsltPrintErrorContext (xsltTransformContextPtr ctxt, > xsltStylesheetPtr style, > xmlNodePtr node); > void > xsltMessage (xsltTransformContextPtr ctxt, > xmlNodePtr node, > xmlNodePtr inst); > void > xsltSetGenericErrorFunc (void *ctx, > xmlGenericErrorFunc handler); > void > xsltSetGenericDebugFunc (void *ctx, > xmlGenericErrorFunc handler); > void > xsltSetTransformErrorFunc (xsltTransformContextPtr ctxt, > void *ctx, > xmlGenericErrorFunc handler); > void > xsltTransformError (xsltTransformContextPtr ctxt, > xsltStylesheetPtr style, > xmlNodePtr node, > const char *msg, > ...); > > int > xsltSetCtxtParseOptions (xsltTransformContextPtr ctxt, > int options); > > > > > void > xsltDocumentSortFunction (xmlNodeSetPtr list); > void > xsltSetSortFunc (xsltSortFunc handler); > void > xsltSetCtxtSortFunc (xsltTransformContextPtr ctxt, > xsltSortFunc handler); > void > xsltDefaultSortFunction (xsltTransformContextPtr ctxt, > xmlNodePtr *sorts, > int nbsorts); > void > xsltDoSortFunction (xsltTransformContextPtr ctxt, > xmlNodePtr * sorts, > int nbsorts); > xmlXPathObjectPtr * > xsltComputeSortResult (xsltTransformContextPtr ctxt, > xmlNodePtr sort); > > > > > > const xmlChar * > xsltSplitQName (xmlDictPtr dict, > const xmlChar *name, > const xmlChar **prefix); > const xmlChar * > xsltGetQNameURI (xmlNodePtr node, > xmlChar **name); > > const xmlChar * > xsltGetQNameURI2 (xsltStylesheetPtr style, > xmlNodePtr node, > const xmlChar **name); > > > > > int > xsltSaveResultTo (xmlOutputBufferPtr buf, > xmlDocPtr result, > xsltStylesheetPtr style); > int > xsltSaveResultToFilename (const char *URI, > xmlDocPtr result, > xsltStylesheetPtr style, > int compression); > int > xsltSaveResultToFile (FILE *file, > xmlDocPtr result, > xsltStylesheetPtr style); > int > xsltSaveResultToFd (int fd, > xmlDocPtr result, > xsltStylesheetPtr style); > int > xsltSaveResultToString (xmlChar **doc_txt_ptr, > int * doc_txt_len, > xmlDocPtr result, > xsltStylesheetPtr style); > > > > > xmlXPathCompExprPtr > xsltXPathCompile (xsltStylesheetPtr style, > const xmlChar *str); > > > > > void > xsltSaveProfiling (xsltTransformContextPtr ctxt, > FILE *output); > xmlDocPtr > xsltGetProfileInformation (xsltTransformContextPtr ctxt); > > long > xsltTimestamp (void); > void > xsltCalibrateAdjust (long delta); ># 273 "/usr/include/libxslt/xsltutils.h" 3 4 >typedef enum { > XSLT_DEBUG_NONE = 0, > XSLT_DEBUG_INIT, > XSLT_DEBUG_STEP, > XSLT_DEBUG_STEPOUT, > XSLT_DEBUG_NEXT, > XSLT_DEBUG_STOP, > XSLT_DEBUG_CONT, > XSLT_DEBUG_RUN, > XSLT_DEBUG_RUN_RESTART, > XSLT_DEBUG_QUIT >} xsltDebugStatusCodes; > >extern int xslDebugStatus; > >typedef void (*xsltHandleDebuggerCallback) (xmlNodePtr cur, xmlNodePtr node, > xsltTemplatePtr templ, xsltTransformContextPtr ctxt); >typedef int (*xsltAddCallCallback) (xsltTemplatePtr templ, xmlNodePtr source); >typedef void (*xsltDropCallCallback) (void); > > void > xsltSetDebuggerStatus (int value); > int > xsltGetDebuggerStatus (void); > int > xsltSetDebuggerCallbacks (int no, void *block); > int > xslAddCall (xsltTemplatePtr templ, > xmlNodePtr source); > void > xslDropCall (void); > > >} ># 5 "xslt_pure.cpp" 2 > ># 1 "/usr/local/include/libxml2/libxml/parserInternals.h" 1 ># 17 "/usr/local/include/libxml2/libxml/parserInternals.h" ># 1 "/usr/local/include/libxml2/libxml/HTMLparser.h" 1 ># 14 "/usr/local/include/libxml2/libxml/HTMLparser.h" >extern "C" { > > > > > >typedef xmlParserCtxt htmlParserCtxt; >typedef xmlParserCtxtPtr htmlParserCtxtPtr; >typedef xmlParserNodeInfo htmlParserNodeInfo; >typedef xmlSAXHandler htmlSAXHandler; >typedef xmlSAXHandlerPtr htmlSAXHandlerPtr; >typedef xmlParserInput htmlParserInput; >typedef xmlParserInputPtr htmlParserInputPtr; >typedef xmlDocPtr htmlDocPtr; >typedef xmlNodePtr htmlNodePtr; > > > > >typedef struct _htmlElemDesc htmlElemDesc; >typedef htmlElemDesc *htmlElemDescPtr; >struct _htmlElemDesc { > const char *name; > char startTag; > char endTag; > char saveEndTag; > char empty; > char depr; > char dtd; > char isinline; > const char *desc; >}; > > > > >typedef struct _htmlEntityDesc htmlEntityDesc; >typedef htmlEntityDesc *htmlEntityDescPtr; >struct _htmlEntityDesc { > unsigned int value; > const char *name; > const char *desc; >}; > > > > >const htmlElemDesc * htmlTagLookup (const xmlChar *tag); >const htmlEntityDesc * htmlEntityLookup(const xmlChar *name); >const htmlEntityDesc * htmlEntityValueLookup(unsigned int value); > >int htmlIsAutoClosed(htmlDocPtr doc, > htmlNodePtr elem); >int htmlAutoCloseTag(htmlDocPtr doc, > const xmlChar *name, > htmlNodePtr elem); >const htmlEntityDesc * htmlParseEntityRef(htmlParserCtxtPtr ctxt, > xmlChar **str); >int htmlParseCharRef(htmlParserCtxtPtr ctxt); >void htmlParseElement(htmlParserCtxtPtr ctxt); > >htmlDocPtr htmlSAXParseDoc (xmlChar *cur, > const char *encoding, > htmlSAXHandlerPtr sax, > void *userData); >htmlDocPtr htmlParseDoc (xmlChar *cur, > const char *encoding); >htmlDocPtr htmlSAXParseFile(const char *filename, > const char *encoding, > htmlSAXHandlerPtr sax, > void *userData); >htmlDocPtr htmlParseFile (const char *filename, > const char *encoding); >int UTF8ToHtml (unsigned char *out, > int *outlen, > const unsigned char *in, > int *inlen); >int htmlEncodeEntities(unsigned char *out, > int *outlen, > const unsigned char *in, > int *inlen, int quoteChar); >int htmlIsScriptAttribute(const xmlChar *name); >int htmlHandleOmittedElem(int val); > > > > >void htmlFreeParserCtxt (htmlParserCtxtPtr ctxt); >htmlParserCtxtPtr htmlCreatePushParserCtxt(htmlSAXHandlerPtr sax, > void *user_data, > const char *chunk, > int size, > const char *filename, > xmlCharEncoding enc); >int htmlParseChunk (htmlParserCtxtPtr ctxt, > const char *chunk, > int size, > int terminate); > >} ># 18 "/usr/local/include/libxml2/libxml/parserInternals.h" 2 > > >extern "C" { ># 179 "/usr/local/include/libxml2/libxml/parserInternals.h" > extern const xmlChar xmlStringText[]; > extern const xmlChar xmlStringTextNoenc[]; > extern const xmlChar xmlStringComment[]; > > > > >int xmlIsBaseChar (int c); >int xmlIsBlank (int c); >int xmlIsPubidChar (int c); >int xmlIsLetter (int c); >int xmlIsDigit (int c); >int xmlIsIdeographic(int c); >int xmlIsExtender (int c); >int xmlIsCombining (int c); >int xmlIsChar (int c); > > > > >xmlParserCtxtPtr xmlCreateFileParserCtxt (const char *filename); >xmlParserCtxtPtr xmlCreateMemoryParserCtxt(const char *buffer, > int size); >xmlParserCtxtPtr xmlNewParserCtxt (void); >xmlParserCtxtPtr xmlCreateEntityParserCtxt(const xmlChar *URL, > const xmlChar *ID, > const xmlChar *base); >int xmlSwitchEncoding (xmlParserCtxtPtr ctxt, > xmlCharEncoding enc); >int xmlSwitchToEncoding (xmlParserCtxtPtr ctxt, > xmlCharEncodingHandlerPtr handler); > > > > >void xmlHandleEntity (xmlParserCtxtPtr ctxt, > xmlEntityPtr entity); > > > > >xmlParserInputPtr xmlNewStringInputStream (xmlParserCtxtPtr ctxt, > const xmlChar *buffer); >xmlParserInputPtr xmlNewEntityInputStream (xmlParserCtxtPtr ctxt, > xmlEntityPtr entity); >void xmlPushInput (xmlParserCtxtPtr ctxt, > xmlParserInputPtr input); >xmlChar xmlPopInput (xmlParserCtxtPtr ctxt); >void xmlFreeInputStream (xmlParserInputPtr input); >xmlParserInputPtr xmlNewInputFromFile (xmlParserCtxtPtr ctxt, > const char *filename); >xmlParserInputPtr xmlNewInputStream (xmlParserCtxtPtr ctxt); > > > > >xmlChar * xmlSplitQName (xmlParserCtxtPtr ctxt, > const xmlChar *name, > xmlChar **prefix); >xmlChar * xmlNamespaceParseNCName (xmlParserCtxtPtr ctxt); >xmlChar * xmlNamespaceParseQName (xmlParserCtxtPtr ctxt, > xmlChar **prefix); >xmlChar * xmlNamespaceParseNSDef (xmlParserCtxtPtr ctxt); >xmlChar * xmlParseQuotedString (xmlParserCtxtPtr ctxt); >void xmlParseNamespace (xmlParserCtxtPtr ctxt); > > > > >xmlChar * xmlScanName (xmlParserCtxtPtr ctxt); >xmlChar * xmlParseName (xmlParserCtxtPtr ctxt); >xmlChar * xmlParseNmtoken (xmlParserCtxtPtr ctxt); >xmlChar * xmlParseEntityValue (xmlParserCtxtPtr ctxt, > xmlChar **orig); >xmlChar * xmlParseAttValue (xmlParserCtxtPtr ctxt); >xmlChar * xmlParseSystemLiteral (xmlParserCtxtPtr ctxt); >xmlChar * xmlParsePubidLiteral (xmlParserCtxtPtr ctxt); >void xmlParseCharData (xmlParserCtxtPtr ctxt, > int cdata); >xmlChar * xmlParseExternalID (xmlParserCtxtPtr ctxt, > xmlChar **publicID, > int strict); >void xmlParseComment (xmlParserCtxtPtr ctxt); >xmlChar * xmlParsePITarget (xmlParserCtxtPtr ctxt); >void xmlParsePI (xmlParserCtxtPtr ctxt); >void xmlParseNotationDecl (xmlParserCtxtPtr ctxt); >void xmlParseEntityDecl (xmlParserCtxtPtr ctxt); >int xmlParseDefaultDecl (xmlParserCtxtPtr ctxt, > xmlChar **value); >xmlEnumerationPtr xmlParseNotationType (xmlParserCtxtPtr ctxt); >xmlEnumerationPtr xmlParseEnumerationType (xmlParserCtxtPtr ctxt); >int xmlParseEnumeratedType (xmlParserCtxtPtr ctxt, > xmlEnumerationPtr *tree); >int xmlParseAttributeType (xmlParserCtxtPtr ctxt, > xmlEnumerationPtr *tree); >void xmlParseAttributeListDecl(xmlParserCtxtPtr ctxt); >xmlElementContentPtr xmlParseElementMixedContentDecl > (xmlParserCtxtPtr ctxt, > xmlParserInputPtr inputchk); > > > > > >xmlElementContentPtr xmlParseElementChildrenContentDecl > (xmlParserCtxtPtr ctxt, > xmlParserInputPtr inputchk); > >int xmlParseElementContentDecl(xmlParserCtxtPtr ctxt, > xmlChar *name, > xmlElementContentPtr *result); >int xmlParseElementDecl (xmlParserCtxtPtr ctxt); >void xmlParseMarkupDecl (xmlParserCtxtPtr ctxt); >int xmlParseCharRef (xmlParserCtxtPtr ctxt); >xmlEntityPtr xmlParseEntityRef (xmlParserCtxtPtr ctxt); >void xmlParseReference (xmlParserCtxtPtr ctxt); >void xmlParsePEReference (xmlParserCtxtPtr ctxt); >void xmlParseDocTypeDecl (xmlParserCtxtPtr ctxt); >xmlChar * xmlParseAttribute (xmlParserCtxtPtr ctxt, > xmlChar **value); >xmlChar * xmlParseStartTag (xmlParserCtxtPtr ctxt); >void xmlParseEndTag (xmlParserCtxtPtr ctxt); >void xmlParseCDSect (xmlParserCtxtPtr ctxt); >void xmlParseContent (xmlParserCtxtPtr ctxt); >void xmlParseElement (xmlParserCtxtPtr ctxt); >xmlChar * xmlParseVersionNum (xmlParserCtxtPtr ctxt); >xmlChar * xmlParseVersionInfo (xmlParserCtxtPtr ctxt); >xmlChar * xmlParseEncName (xmlParserCtxtPtr ctxt); >xmlChar * xmlParseEncodingDecl (xmlParserCtxtPtr ctxt); >int xmlParseSDDecl (xmlParserCtxtPtr ctxt); >void xmlParseXMLDecl (xmlParserCtxtPtr ctxt); >void xmlParseTextDecl (xmlParserCtxtPtr ctxt); >void xmlParseMisc (xmlParserCtxtPtr ctxt); >void xmlParseExternalSubset (xmlParserCtxtPtr ctxt, > const xmlChar *ExternalID, > const xmlChar *SystemID); ># 340 "/usr/local/include/libxml2/libxml/parserInternals.h" >xmlChar * xmlDecodeEntities (xmlParserCtxtPtr ctxt, > int len, > int what, > xmlChar end, > xmlChar end2, > xmlChar end3); >xmlChar * xmlStringDecodeEntities (xmlParserCtxtPtr ctxt, > const xmlChar *str, > int what, > xmlChar end, > xmlChar end2, > xmlChar end3); > > > > >int nodePush (xmlParserCtxtPtr ctxt, > xmlNodePtr value); >xmlNodePtr nodePop (xmlParserCtxtPtr ctxt); >int inputPush (xmlParserCtxtPtr ctxt, > xmlParserInputPtr value); >xmlParserInputPtr inputPop (xmlParserCtxtPtr ctxt); >xmlChar *namePop (xmlParserCtxtPtr ctxt); >int namePush (xmlParserCtxtPtr ctxt, > xmlChar *value); > > > > >int xmlSkipBlankChars (xmlParserCtxtPtr ctxt); >int xmlStringCurrentChar (xmlParserCtxtPtr ctxt, > const xmlChar *cur, > int *len); >void xmlParserHandlePEReference(xmlParserCtxtPtr ctxt); >void xmlParserHandleReference(xmlParserCtxtPtr ctxt); >int xmlCheckLanguageID (const xmlChar *lang); > > > > >int xmlCurrentChar (xmlParserCtxtPtr ctxt, > int *len); >int xmlCopyCharMultiByte (xmlChar *out, > int val); >int xmlCopyChar (int len, > xmlChar *out, > int val); >void xmlNextChar (xmlParserCtxtPtr ctxt); >void xmlParserInputShrink (xmlParserInputPtr in); > > > > > >void htmlInitAutoClose (void); >htmlParserCtxtPtr htmlCreateFileParserCtxt(const char *filename, > const char *encoding); ># 412 "/usr/local/include/libxml2/libxml/parserInternals.h" >typedef void (*xmlEntityReferenceFunc) (xmlEntityPtr ent, > xmlNodePtr firstNode, > xmlNodePtr lastNode); > >void xmlSetEntityReferenceFunc (xmlEntityReferenceFunc func); > > > >} ># 7 "xslt_pure.cpp" 2 ># 1 "/usr/local/include/libxml2/libxml/catalog.h" 1 ># 28 "/usr/local/include/libxml2/libxml/catalog.h" >extern "C" { ># 49 "/usr/local/include/libxml2/libxml/catalog.h" >typedef enum { > XML_CATA_PREFER_NONE = 0, > XML_CATA_PREFER_PUBLIC = 1, > XML_CATA_PREFER_SYSTEM >} xmlCatalogPrefer; > >typedef enum { > XML_CATA_ALLOW_NONE = 0, > XML_CATA_ALLOW_GLOBAL = 1, > XML_CATA_ALLOW_DOCUMENT = 2, > XML_CATA_ALLOW_ALL = 3 >} xmlCatalogAllow; > >typedef struct _xmlCatalog xmlCatalog; >typedef xmlCatalog *xmlCatalogPtr; > > > > >xmlCatalogPtr xmlNewCatalog (int sgml); >xmlCatalogPtr xmlLoadACatalog (const char *filename); >xmlCatalogPtr xmlLoadSGMLSuperCatalog (const char *filename); >int xmlConvertSGMLCatalog (xmlCatalogPtr catal); >int xmlACatalogAdd (xmlCatalogPtr catal, > const xmlChar *type, > const xmlChar *orig, > const xmlChar *replace); >int xmlACatalogRemove (xmlCatalogPtr catal, > const xmlChar *value); >xmlChar * xmlACatalogResolve (xmlCatalogPtr catal, > const xmlChar *pubID, > const xmlChar *sysID); >xmlChar * xmlACatalogResolveSystem(xmlCatalogPtr catal, > const xmlChar *sysID); >xmlChar * xmlACatalogResolvePublic(xmlCatalogPtr catal, > const xmlChar *pubID); >xmlChar * xmlACatalogResolveURI (xmlCatalogPtr catal, > const xmlChar *URI); >void xmlACatalogDump (xmlCatalogPtr catal, > FILE *out); >void xmlFreeCatalog (xmlCatalogPtr catal); >int xmlCatalogIsEmpty (xmlCatalogPtr catal); > > > > >void xmlInitializeCatalog (void); >int xmlLoadCatalog (const char *filename); >void xmlLoadCatalogs (const char *paths); >void xmlCatalogCleanup (void); >void xmlCatalogDump (FILE *out); >xmlChar * xmlCatalogResolve (const xmlChar *pubID, > const xmlChar *sysID); >xmlChar * xmlCatalogResolveSystem (const xmlChar *sysID); >xmlChar * xmlCatalogResolvePublic (const xmlChar *pubID); >xmlChar * xmlCatalogResolveURI (const xmlChar *URI); >int xmlCatalogAdd (const xmlChar *type, > const xmlChar *orig, > const xmlChar *replace); >int xmlCatalogRemove (const xmlChar *value); >xmlDocPtr xmlParseCatalogFile (const char *filename); >int xmlCatalogConvert (void); > > > > > >void xmlCatalogFreeLocal (void *catalogs); >void * xmlCatalogAddLocal (void *catalogs, > const xmlChar *URL); >xmlChar * xmlCatalogLocalResolve (void *catalogs, > const xmlChar *pubID, > const xmlChar *sysID); >xmlChar * xmlCatalogLocalResolveURI(void *catalogs, > const xmlChar *URI); > > > >int xmlCatalogSetDebug (int level); >xmlCatalogPrefer xmlCatalogSetDefaultPrefer(xmlCatalogPrefer prefer); >void xmlCatalogSetDefaults (xmlCatalogAllow allow); >xmlCatalogAllow xmlCatalogGetDefaults (void); > > > >const xmlChar * xmlCatalogGetSystem (const xmlChar *sysID); >const xmlChar * xmlCatalogGetPublic (const xmlChar *pubID); > > >} ># 8 "xslt_pure.cpp" 2 ># 1 "../kdecore/kdebug.h" 1 ># 25 "../kdecore/kdebug.h" ># 1 "/usr/qt/3/include/qstring.h" 1 ># 42 "/usr/qt/3/include/qstring.h" ># 1 "/usr/qt/3/include/qcstring.h" 1 ># 43 "/usr/qt/3/include/qcstring.h" ># 1 "/usr/qt/3/include/qmemarray.h" 1 ># 42 "/usr/qt/3/include/qmemarray.h" ># 1 "/usr/qt/3/include/qgarray.h" 1 ># 42 "/usr/qt/3/include/qgarray.h" ># 1 "/usr/qt/3/include/qshared.h" 1 ># 42 "/usr/qt/3/include/qshared.h" ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 609 "/usr/qt/3/include/qglobal.h" >typedef unsigned char uchar; >typedef unsigned short ushort; >typedef unsigned uint; >typedef unsigned long ulong; >typedef char *pchar; >typedef uchar *puchar; >typedef const char *pcchar; > > > > > > > >const bool FALSE = 0; >const bool TRUE = !0; ># 673 "/usr/qt/3/include/qglobal.h" >inline int qRound( double d ) >{ > return d >= 0.0 ? int(d + 0.5) : int( d - ((int)d-1) + 0.5 ) + ((int)d-1); >} ># 693 "/usr/qt/3/include/qglobal.h" >typedef signed char Q_INT8; >typedef unsigned char Q_UINT8; >typedef short Q_INT16; >typedef unsigned short Q_UINT16; >typedef int Q_INT32; >typedef unsigned int Q_UINT32; > > > > >typedef long Q_LONG; >typedef unsigned long Q_ULONG; ># 714 "/usr/qt/3/include/qglobal.h" >typedef long long Q_INT64; >typedef unsigned long long Q_UINT64; > >typedef Q_INT64 Q_LLONG; >typedef Q_UINT64 Q_ULLONG; > > > > > > > > typedef Q_ULONG QtOffset; > > > > > > > >class QDataStream; ># 758 "/usr/qt/3/include/qglobal.h" ># 1 "/usr/qt/3/include/qconfig.h" 1 ># 759 "/usr/qt/3/include/qglobal.h" 2 ># 768 "/usr/qt/3/include/qglobal.h" ># 1 "/usr/qt/3/include/qmodules.h" 1 ># 769 "/usr/qt/3/include/qglobal.h" 2 ># 824 "/usr/qt/3/include/qglobal.h" ># 1 "/usr/qt/3/include/qfeatures.h" 1 ># 825 "/usr/qt/3/include/qglobal.h" 2 ># 891 "/usr/qt/3/include/qglobal.h" > const char *qVersion(); > bool qSysInfo( int *wordSize, bool *bigEndian ); > bool qSharedBuild(); ># 952 "/usr/qt/3/include/qglobal.h" > void qDebug( const char *, ... ) > > __attribute__ ((format (printf, 1, 2))) > >; > > void qWarning( const char *, ... ) > > __attribute__ ((format (printf, 1, 2))) > >; > > void qFatal( const char *, ... ) > > __attribute__ ((format (printf, 1, 2))) > >; > > void qSystemWarning( const char *, int code = -1 ); ># 1016 "/usr/qt/3/include/qglobal.h" > bool qt_check_pointer( bool c, const char *, int ); ># 1030 "/usr/qt/3/include/qglobal.h" >enum QtMsgType { QtDebugMsg, QtWarningMsg, QtFatalMsg }; > >typedef void (*QtMsgHandler)(QtMsgType, const char *); > QtMsgHandler qInstallMsgHandler( QtMsgHandler ); > > > > > > void qSuppressObsoleteWarnings( bool = TRUE ); > > void qObsolete( const char *obj, const char *oldfunc, > const char *newfunc ); > void qObsolete( const char *obj, const char *oldfunc ); > void qObsolete( const char *message ); > > > > > > > const char *qInstallPath(); > const char *qInstallPathDocs(); > const char *qInstallPathHeaders(); > const char *qInstallPathLibs(); > const char *qInstallPathBins(); > const char *qInstallPathPlugins(); > const char *qInstallPathData(); > const char *qInstallPathTranslations(); > const char *qInstallPathSysconf(); ># 43 "/usr/qt/3/include/qshared.h" 2 > > > >struct QShared >{ > QShared() : count( 1 ) { } > void ref() { count++; } > bool deref() { return !--count; } > uint count; >}; ># 43 "/usr/qt/3/include/qgarray.h" 2 > > > >class QGArray >{ >friend class QBuffer; >public: > > > struct array_data : public QShared { > array_data():data(0),len(0) > > > > {} > char *data; > uint len; > > > > }; > QGArray(); > enum Optimization { MemOptim, SpeedOptim }; >protected: > QGArray( int, int ); > QGArray( int size ); > QGArray( const QGArray &a ); > virtual ~QGArray(); > > QGArray &operator=( const QGArray &a ) { return assign( a ); } > > virtual void detach() { duplicate(*this); } > > > char *data() const { return shd->data; } > uint nrefs() const { return shd->count; } > uint size() const { return shd->len; } > bool isEqual( const QGArray &a ) const; > > bool resize( uint newsize, Optimization optim ); > bool resize( uint newsize ); > > bool fill( const char *d, int len, uint sz ); > > QGArray &assign( const QGArray &a ); > QGArray &assign( const char *d, uint len ); > QGArray &duplicate( const QGArray &a ); > QGArray &duplicate( const char *d, uint len ); > void store( const char *d, uint len ); > > array_data *sharedBlock() const { return shd; } > void setSharedBlock( array_data *p ) { shd=(array_data*)p; } > > QGArray &setRawData( const char *d, uint len ); > void resetRawData( const char *d, uint len ); > > int find( const char *d, uint index, uint sz ) const; > int contains( const char *d, uint sz ) const; > > void sort( uint sz ); > int bsearch( const char *d, uint sz ) const; > > char *at( uint index ) const; > > bool setExpand( uint index, const char *d, uint sz ); > >protected: > virtual array_data *newData(); > virtual void deleteData( array_data *p ); > >private: > static void msg_index( uint ); > array_data *shd; >}; > > >inline char *QGArray::at( uint index ) const >{ > > if ( index >= size() ) { > msg_index( index ); > index = 0; > } > > return &shd->data[index]; >} ># 43 "/usr/qt/3/include/qmemarray.h" 2 > > > >template<class type> >class QMemArray : public QGArray >{ >public: > typedef type* Iterator; > typedef const type* ConstIterator; > typedef type ValueType; > >protected: > QMemArray( int, int ) : QGArray( 0, 0 ) {} > >public: > QMemArray() {} > QMemArray( int size ) : QGArray(size*sizeof(type)) {} > QMemArray( const QMemArray<type> &a ) : QGArray(a) {} > ~QMemArray() {} > QMemArray<type> &operator=(const QMemArray<type> &a) > { return (QMemArray<type>&)QGArray::assign(a); } > type *data() const { return (type *)QGArray::data(); } > uint nrefs() const { return QGArray::nrefs(); } > uint size() const { return QGArray::size()/sizeof(type); } > uint count() const { return size(); } > bool isEmpty() const { return QGArray::size() == 0; } > bool isNull() const { return QGArray::data() == 0; } > bool resize( uint size ) { return QGArray::resize(size*sizeof(type)); } > bool resize( uint size, Optimization optim ) { return QGArray::resize(size*sizeof(type), optim); } > bool truncate( uint pos ) { return QGArray::resize(pos*sizeof(type)); } > bool fill( const type &d, int size = -1 ) > { return QGArray::fill((char*)&d,size,sizeof(type) ); } > void detach() { QGArray::detach(); } > QMemArray<type> copy() const > { QMemArray<type> tmp; return tmp.duplicate(*this); } > QMemArray<type>& assign( const QMemArray<type>& a ) > { return (QMemArray<type>&)QGArray::assign(a); } > QMemArray<type>& assign( const type *a, uint n ) > { return (QMemArray<type>&)QGArray::assign((char*)a,n*sizeof(type)); } > QMemArray<type>& duplicate( const QMemArray<type>& a ) > { return (QMemArray<type>&)QGArray::duplicate(a); } > QMemArray<type>& duplicate( const type *a, uint n ) > { return (QMemArray<type>&)QGArray::duplicate((char*)a,n*sizeof(type)); } > QMemArray<type>& setRawData( const type *a, uint n ) > { return (QMemArray<type>&)QGArray::setRawData((char*)a, > n*sizeof(type)); } > void resetRawData( const type *a, uint n ) > { QGArray::resetRawData((char*)a,n*sizeof(type)); } > int find( const type &d, uint i=0 ) const > { return QGArray::find((char*)&d,i,sizeof(type)); } > int contains( const type &d ) const > { return QGArray::contains((char*)&d,sizeof(type)); } > void sort() { QGArray::sort(sizeof(type)); } > int bsearch( const type &d ) const > { return QGArray::bsearch((const char*)&d,sizeof(type)); } > > type& operator[]( int i ) const > { return (type &)(*(type *)QGArray::at(i*sizeof(type))); } > type& at( uint i ) const > { return (type &)(*(type *)QGArray::at(i*sizeof(type))); } > operator const type*() const { return (const type *)QGArray::data(); } > bool operator==( const QMemArray<type> &a ) const { return isEqual(a); } > bool operator!=( const QMemArray<type> &a ) const { return !isEqual(a); } > Iterator begin() { return data(); } > Iterator end() { return data() + size(); } > ConstIterator begin() const { return data(); } > ConstIterator end() const { return data() + size(); } >}; > > > > > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 118 "/usr/qt/3/include/qmemarray.h" 2 ># 44 "/usr/qt/3/include/qcstring.h" 2 > > ># 1 "/usr/include/string.h" 1 3 4 ># 28 "/usr/include/string.h" 3 4 >extern "C" { > > > > ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/stddef.h" 1 3 4 ># 34 "/usr/include/string.h" 2 3 4 > > > > >extern void *memcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) throw (); > > >extern void *memmove (void *__dest, __const void *__src, size_t __n) > throw (); > > > > > > >extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, > int __c, size_t __n) > throw (); > > > > > >extern void *memset (void *__s, int __c, size_t __n) throw (); > > >extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) > throw () __attribute__ ((__pure__)); > > >extern void *memchr (__const void *__s, int __c, size_t __n) > throw () __attribute__ ((__pure__)); > > > > > >extern void *rawmemchr (__const void *__s, int __c) throw () __attribute__ ((__pure__)); > > >extern void *memrchr (__const void *__s, int __c, size_t __n) > throw () __attribute__ ((__pure__)); > > > > > >extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) > throw (); > >extern char *strncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) throw (); > > >extern char *strcat (char *__restrict __dest, __const char *__restrict __src) > throw (); > >extern char *strncat (char *__restrict __dest, __const char *__restrict __src, > size_t __n) throw (); > > >extern int strcmp (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)); > >extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) > throw () __attribute__ ((__pure__)); > > >extern int strcoll (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)); > >extern size_t strxfrm (char *__restrict __dest, > __const char *__restrict __src, size_t __n) throw (); > ># 117 "/usr/include/string.h" 3 4 >extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) > throw () __attribute__ ((__pure__)); > >extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n, > __locale_t __l) throw (); > > > > >extern char *strdup (__const char *__s) throw () __attribute__ ((__malloc__)); > > > > > > >extern char *strndup (__const char *__string, size_t __n) > throw () __attribute__ ((__malloc__)); ># 160 "/usr/include/string.h" 3 4 > > >extern char *strchr (__const char *__s, int __c) throw () __attribute__ ((__pure__)); > >extern char *strrchr (__const char *__s, int __c) throw () __attribute__ ((__pure__)); > > > > > >extern char *strchrnul (__const char *__s, int __c) throw () __attribute__ ((__pure__)); > > > > > >extern size_t strcspn (__const char *__s, __const char *__reject) > throw () __attribute__ ((__pure__)); > > >extern size_t strspn (__const char *__s, __const char *__accept) > throw () __attribute__ ((__pure__)); > >extern char *strpbrk (__const char *__s, __const char *__accept) > throw () __attribute__ ((__pure__)); > >extern char *strstr (__const char *__haystack, __const char *__needle) > throw () __attribute__ ((__pure__)); > > > >extern char *strtok (char *__restrict __s, __const char *__restrict __delim) > throw (); > > > > >extern char *__strtok_r (char *__restrict __s, > __const char *__restrict __delim, > char **__restrict __save_ptr) throw (); > >extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, > char **__restrict __save_ptr) throw (); > > > > >extern char *strcasestr (__const char *__haystack, __const char *__needle) > throw () __attribute__ ((__pure__)); > > > > > > >extern void *memmem (__const void *__haystack, size_t __haystacklen, > __const void *__needle, size_t __needlelen) > throw () __attribute__ ((__pure__)); > > > >extern void *__mempcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) throw (); >extern void *mempcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) throw (); > > > > > >extern size_t strlen (__const char *__s) throw () __attribute__ ((__pure__)); > > > > > >extern size_t strnlen (__const char *__string, size_t __maxlen) > throw () __attribute__ ((__pure__)); > > > > > >extern char *strerror (int __errnum) throw (); > ># 268 "/usr/include/string.h" 3 4 >extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) throw (); > > > > > >extern void __bzero (void *__s, size_t __n) throw (); > > > >extern void bcopy (__const void *__src, void *__dest, size_t __n) throw (); > > >extern void bzero (void *__s, size_t __n) throw (); > > >extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) > throw () __attribute__ ((__pure__)); > > >extern char *index (__const char *__s, int __c) throw () __attribute__ ((__pure__)); > > >extern char *rindex (__const char *__s, int __c) throw () __attribute__ ((__pure__)); > > > >extern int ffs (int __i) throw () __attribute__ ((__const__)); > > > > >extern int ffsl (long int __l) throw () __attribute__ ((__const__)); > >__extension__ extern int ffsll (long long int __ll) > throw () __attribute__ ((__const__)); > > > > >extern int strcasecmp (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)); > > >extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) > throw () __attribute__ ((__pure__)); > > > > > >extern int strcasecmp_l (__const char *__s1, __const char *__s2, > __locale_t __loc) throw () __attribute__ ((__pure__)); > >extern int strncasecmp_l (__const char *__s1, __const char *__s2, > size_t __n, __locale_t __loc) > throw () __attribute__ ((__pure__)); > > > > > >extern char *strsep (char **__restrict __stringp, > __const char *__restrict __delim) throw (); > > > > >extern int strverscmp (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)); > > >extern char *strsignal (int __sig) throw (); > > >extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) > throw (); >extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) > throw (); > > > >extern char *__stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) throw (); >extern char *stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) throw (); > > >extern char *strfry (char *__string) throw (); > > >extern void *memfrob (void *__s, size_t __n) throw (); > > > > > > >extern char *basename (__const char *__filename) throw (); ># 400 "/usr/include/string.h" 3 4 >} ># 47 "/usr/qt/3/include/qcstring.h" 2 > > > > > > > void *qmemmove( void *dst, const void *src, uint len ); > > char *qstrdup( const char * ); > > inline uint qstrlen( const char *str ) >{ return str ? (uint)strlen(str) : 0u; } > > inline char *qstrcpy( char *dst, const char *src ) >{ return src ? strcpy(dst, src) : 0; } > > char *qstrncpy( char *dst, const char *src, uint len ); > > inline int qstrcmp( const char *str1, const char *str2 ) >{ > return ( str1 && str2 ) ? strcmp( str1, str2 ) > : ( str1 ? 1 : ( str2 ? -1 : 0 ) ); >} > > inline int qstrncmp( const char *str1, const char *str2, uint len ) >{ > return ( str1 && str2 ) ? strncmp( str1, str2, len ) > : ( str1 ? 1 : ( str2 ? -1 : 0 ) ); >} > > int qstricmp( const char *, const char * ); > > int qstrnicmp( const char *, const char *, uint len ); ># 98 "/usr/qt/3/include/qcstring.h" > Q_UINT16 qChecksum( const char *s, uint len ); ># 116 "/usr/qt/3/include/qcstring.h" >typedef QMemArray<char> QByteArray; > > > > QByteArray qCompress( const uchar* data, int nbytes ); > QByteArray qUncompress( const uchar* data, int nbytes ); > inline QByteArray qCompress( const QByteArray& data) >{ return qCompress( (const uchar*)data.data(), data.size() ); } > inline QByteArray qUncompress( const QByteArray& data ) >{ return qUncompress( (const uchar*)data.data(), data.size() ); } > > > > > > > QDataStream &operator<<( QDataStream &, const QByteArray & ); > QDataStream &operator>>( QDataStream &, QByteArray & ); > > > > > > >class QRegExp; > >class QCString : public QByteArray >{ >public: > QCString() {} > QCString( int size ); > QCString( const QCString &s ) : QByteArray( s ) {} > QCString( const char *str ); > QCString( const char *str, uint maxlen ); > ~QCString(); > > QCString &operator=( const QCString &s ); > QCString &operator=( const char *str ); > > bool isNull() const; > bool isEmpty() const; > uint length() const; > bool resize( uint newlen ); > bool truncate( uint pos ); > bool fill( char c, int len = -1 ); > > QCString copy() const; > > QCString &sprintf( const char *format, ... ); > > int find( char c, int index=0, bool cs=TRUE ) const; > int find( const char *str, int index=0, bool cs=TRUE ) const; > > int find( const QRegExp &, int index=0 ) const; > > int findRev( char c, int index=-1, bool cs=TRUE) const; > int findRev( const char *str, int index=-1, bool cs=TRUE) const; > > int findRev( const QRegExp &, int index=-1 ) const; > > int contains( char c, bool cs=TRUE ) const; > int contains( const char *str, bool cs=TRUE ) const; > > int contains( const QRegExp & ) const; > > QCString left( uint len ) const; > QCString right( uint len ) const; > QCString mid( uint index, uint len=0xffffffff) const; > > QCString leftJustify( uint width, char fill=' ', bool trunc=FALSE)const; > QCString rightJustify( uint width, char fill=' ',bool trunc=FALSE)const; > > QCString lower() const; > QCString upper() const; > > QCString stripWhiteSpace() const; > QCString simplifyWhiteSpace() const; > > QCString &insert( uint index, const char * ); > QCString &insert( uint index, char ); > QCString &append( const char * ); > QCString &prepend( const char * ); > QCString &remove( uint index, uint len ); > QCString &replace( uint index, uint len, const char * ); > > QCString &replace( const QRegExp &, const char * ); > > QCString &replace( char c, const char *after ); > QCString &replace( const char *, const char * ); > QCString &replace( char, char ); > > short toShort( bool *ok=0 ) const; > ushort toUShort( bool *ok=0 ) const; > int toInt( bool *ok=0 ) const; > uint toUInt( bool *ok=0 ) const; > long toLong( bool *ok=0 ) const; > ulong toULong( bool *ok=0 ) const; > float toFloat( bool *ok=0 ) const; > double toDouble( bool *ok=0 ) const; > > QCString &setStr( const char *s ); > QCString &setNum( short ); > QCString &setNum( ushort ); > QCString &setNum( int ); > QCString &setNum( uint ); > QCString &setNum( long ); > QCString &setNum( ulong ); > QCString &setNum( float, char f='g', int prec=6 ); > QCString &setNum( double, char f='g', int prec=6 ); > > bool setExpand( uint index, char c ); > > operator const char *() const; > QCString &operator+=( const char *str ); > QCString &operator+=( char c ); >private: > int find( const char *str, int index, bool cs, uint l ) const; >}; > > > > > > > QDataStream &operator<<( QDataStream &, const QCString & ); > QDataStream &operator>>( QDataStream &, QCString & ); > > > > > > >inline QCString &QCString::operator=( const QCString &s ) >{ return (QCString&)assign( s ); } > >inline QCString &QCString::operator=( const char *str ) >{ return (QCString&)duplicate( str, qstrlen(str)+1 ); } > >inline bool QCString::isNull() const >{ return data() == 0; } > >inline bool QCString::isEmpty() const >{ return data() == 0 || *data() == '\0'; } > >inline uint QCString::length() const >{ return qstrlen( data() ); } > >inline bool QCString::truncate( uint pos ) >{ return resize(pos+1); } > >inline QCString QCString::copy() const >{ return QCString( data() ); } > >inline QCString &QCString::prepend( const char *s ) >{ return insert(0,s); } > >inline QCString &QCString::append( const char *s ) >{ return operator+=(s); } > >inline QCString &QCString::setNum( short n ) >{ return setNum((long)n); } > >inline QCString &QCString::setNum( ushort n ) >{ return setNum((ulong)n); } > >inline QCString &QCString::setNum( int n ) >{ return setNum((long)n); } > >inline QCString &QCString::setNum( uint n ) >{ return setNum((ulong)n); } > >inline QCString &QCString::setNum( float n, char f, int prec ) >{ return setNum((double)n,f,prec); } > >inline QCString::operator const char *() const >{ return (const char *)data(); } > > > > > > > inline bool operator==( const QCString &s1, const QCString &s2 ) >{ return qstrcmp( s1.data(), s2.data() ) == 0; } > > inline bool operator==( const QCString &s1, const char *s2 ) >{ return qstrcmp( s1.data(), s2 ) == 0; } > > inline bool operator==( const char *s1, const QCString &s2 ) >{ return qstrcmp( s1, s2.data() ) == 0; } > > inline bool operator!=( const QCString &s1, const QCString &s2 ) >{ return qstrcmp( s1.data(), s2.data() ) != 0; } > > inline bool operator!=( const QCString &s1, const char *s2 ) >{ return qstrcmp( s1.data(), s2 ) != 0; } > > inline bool operator!=( const char *s1, const QCString &s2 ) >{ return qstrcmp( s1, s2.data() ) != 0; } > > inline bool operator<( const QCString &s1, const QCString& s2 ) >{ return qstrcmp( s1.data(), s2.data() ) < 0; } > > inline bool operator<( const QCString &s1, const char *s2 ) >{ return qstrcmp( s1.data(), s2 ) < 0; } > > inline bool operator<( const char *s1, const QCString &s2 ) >{ return qstrcmp( s1, s2.data() ) < 0; } > > inline bool operator<=( const QCString &s1, const QCString &s2 ) >{ return qstrcmp( s1.data(), s2.data() ) <= 0; } > > inline bool operator<=( const QCString &s1, const char *s2 ) >{ return qstrcmp( s1.data(), s2 ) <= 0; } > > inline bool operator<=( const char *s1, const QCString &s2 ) >{ return qstrcmp( s1, s2.data() ) <= 0; } > > inline bool operator>( const QCString &s1, const QCString &s2 ) >{ return qstrcmp( s1.data(), s2.data() ) > 0; } > > inline bool operator>( const QCString &s1, const char *s2 ) >{ return qstrcmp( s1.data(), s2 ) > 0; } > > inline bool operator>( const char *s1, const QCString &s2 ) >{ return qstrcmp( s1, s2.data() ) > 0; } > > inline bool operator>=( const QCString &s1, const QCString& s2 ) >{ return qstrcmp( s1.data(), s2.data() ) >= 0; } > > inline bool operator>=( const QCString &s1, const char *s2 ) >{ return qstrcmp( s1.data(), s2 ) >= 0; } > > inline bool operator>=( const char *s1, const QCString &s2 ) >{ return qstrcmp( s1, s2.data() ) >= 0; } > > inline const QCString operator+( const QCString &s1, > const QCString &s2 ) >{ > QCString tmp( s1.data() ); > tmp += s2; > return tmp; >} > > inline const QCString operator+( const QCString &s1, const char *s2 ) >{ > QCString tmp( s1.data() ); > tmp += s2; > return tmp; >} > > inline const QCString operator+( const char *s1, const QCString &s2 ) >{ > QCString tmp( s1 ); > tmp += s2; > return tmp; >} > > inline const QCString operator+( const QCString &s1, char c2 ) >{ > QCString tmp( s1.data() ); > tmp += c2; > return tmp; >} > > inline const QCString operator+( char c1, const QCString &s2 ) >{ > QCString tmp; > tmp += c1; > tmp += s2; > return tmp; >} ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 389 "/usr/qt/3/include/qcstring.h" 2 ># 43 "/usr/qt/3/include/qstring.h" 2 > > > ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/limits.h" 1 3 4 ># 11 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/limits.h" 3 4 ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/syslimits.h" 1 3 4 > > > > > > ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/limits.h" 1 3 4 ># 122 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/limits.h" 3 4 ># 1 "/usr/include/limits.h" 1 3 4 ># 144 "/usr/include/limits.h" 3 4 ># 1 "/usr/include/bits/posix1_lim.h" 1 3 4 ># 145 "/usr/include/bits/posix1_lim.h" 3 4 ># 1 "/usr/include/bits/local_lim.h" 1 3 4 ># 36 "/usr/include/bits/local_lim.h" 3 4 ># 1 "/usr/include/linux/limits.h" 1 3 4 ># 37 "/usr/include/bits/local_lim.h" 2 3 4 ># 146 "/usr/include/bits/posix1_lim.h" 2 3 4 ># 145 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/posix2_lim.h" 1 3 4 ># 149 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/xopen_lim.h" 1 3 4 ># 34 "/usr/include/bits/xopen_lim.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 35 "/usr/include/bits/xopen_lim.h" 2 3 4 ># 153 "/usr/include/limits.h" 2 3 4 ># 123 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/limits.h" 2 3 4 ># 8 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/syslimits.h" 2 3 4 ># 12 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/limits.h" 2 3 4 ># 47 "/usr/qt/3/include/qstring.h" 2 ># 68 "/usr/qt/3/include/qstring.h" >class QRegExp; >class QString; >class QCharRef; >template <class T> class QDeepCopy; > >class QChar { >public: > QChar(); > QChar( char c ); > QChar( uchar c ); > QChar( uchar c, uchar r ); > QChar( const QChar& c ); > QChar( ushort rc ); > QChar( short rc ); > QChar( uint rc ); > QChar( int rc ); > > static const QChar null; > static const QChar replacement; > static const QChar byteOrderMark; > static const QChar byteOrderSwapped; > static const QChar nbsp; > > > > enum Category > { > NoCategory, > > Mark_NonSpacing, > Mark_SpacingCombining, > Mark_Enclosing, > > Number_DecimalDigit, > Number_Letter, > Number_Other, > > Separator_Space, > Separator_Line, > Separator_Paragraph, > > Other_Control, > Other_Format, > Other_Surrogate, > Other_PrivateUse, > Other_NotAssigned, > > Letter_Uppercase, > Letter_Lowercase, > Letter_Titlecase, > Letter_Modifier, > Letter_Other, > > Punctuation_Connector, > Punctuation_Dash, > Punctuation_Dask = Punctuation_Dash, > Punctuation_Open, > Punctuation_Close, > Punctuation_InitialQuote, > Punctuation_FinalQuote, > Punctuation_Other, > > Symbol_Math, > Symbol_Currency, > Symbol_Modifier, > Symbol_Other > }; > > enum Direction > { > DirL, DirR, DirEN, DirES, DirET, DirAN, DirCS, DirB, DirS, DirWS, DirON, > DirLRE, DirLRO, DirAL, DirRLE, DirRLO, DirPDF, DirNSM, DirBN > }; > > enum Decomposition > { > Single, Canonical, Font, NoBreak, Initial, Medial, > Final, Isolated, Circle, Super, Sub, Vertical, > Wide, Narrow, Small, Square, Compat, Fraction > }; > > enum Joining > { > OtherJoining, Dual, Right, Center > }; > > enum CombiningClass > { > Combining_BelowLeftAttached = 200, > Combining_BelowAttached = 202, > Combining_BelowRightAttached = 204, > Combining_LeftAttached = 208, > Combining_RightAttached = 210, > Combining_AboveLeftAttached = 212, > Combining_AboveAttached = 214, > Combining_AboveRightAttached = 216, > > Combining_BelowLeft = 218, > Combining_Below = 220, > Combining_BelowRight = 222, > Combining_Left = 224, > Combining_Right = 226, > Combining_AboveLeft = 228, > Combining_Above = 230, > Combining_AboveRight = 232, > > Combining_DoubleBelow = 233, > Combining_DoubleAbove = 234, > Combining_IotaSubscript = 240 > }; > > > > int digitValue() const; > QChar lower() const; > QChar upper() const; > > Category category() const; > Direction direction() const; > Joining joining() const; > bool mirrored() const; > QChar mirroredChar() const; > const QString &decomposition() const; > Decomposition decompositionTag() const; > unsigned char combiningClass() const; > > char latin1() const { return ucs > 0xff ? 0 : (char) ucs; } > ushort unicode() const { return ucs; } > > > > ushort &unicode() { return ucs; } > > > > operator char() const { return latin1(); } > > > bool isNull() const { return unicode()==0; } > bool isPrint() const; > bool isPunct() const; > bool isSpace() const; > bool isMark() const; > bool isLetter() const; > bool isNumber() const; > bool isLetterOrNumber() const; > bool isDigit() const; > bool isSymbol() const; > > uchar cell() const { return ((uchar) ucs & 0xff); } > uchar row() const { return ((uchar) (ucs>>8)&0xff); } > void setCell( uchar cell ) { ucs = (ucs & 0xff00) + cell; } > void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } > > static bool networkOrdered() { > int wordSize; > bool bigEndian = FALSE; > qSysInfo( &wordSize, &bigEndian ); > return bigEndian; > } > > friend inline bool operator==( char ch, QChar c ); > friend inline bool operator==( QChar c, char ch ); > friend inline bool operator==( QChar c1, QChar c2 ); > friend inline bool operator!=( QChar c1, QChar c2 ); > friend inline bool operator!=( char ch, QChar c ); > friend inline bool operator!=( QChar c, char ch ); > friend inline bool operator<=( QChar c, char ch ); > friend inline bool operator<=( char ch, QChar c ); > friend inline bool operator<=( QChar c1, QChar c2 ); > >private: > ushort ucs; > > > >} ; > >inline QChar::QChar() : ucs( 0 ) > > > >{ >} >inline QChar::QChar( char c ) : ucs( (uchar)c ) > > > >{ >} >inline QChar::QChar( uchar c ) : ucs( c ) > > > >{ >} >inline QChar::QChar( uchar c, uchar r ) : ucs( (r << 8) | c ) > > > >{ >} >inline QChar::QChar( const QChar& c ) : ucs( c.ucs ) > > > >{ >} > >inline QChar::QChar( ushort rc ) : ucs( rc ) > > > >{ >} >inline QChar::QChar( short rc ) : ucs( (ushort) rc ) > > > >{ >} >inline QChar::QChar( uint rc ) : ucs( (ushort ) (rc & 0xffff) ) > > > >{ >} >inline QChar::QChar( int rc ) : ucs( (ushort) (rc & 0xffff) ) > > > >{ >} > >inline bool operator==( char ch, QChar c ) >{ > return ((uchar) ch) == c.ucs; >} > >inline bool operator==( QChar c, char ch ) >{ > return ((uchar) ch) == c.ucs; >} > >inline bool operator==( QChar c1, QChar c2 ) >{ > return c1.ucs == c2.ucs; >} > >inline bool operator!=( QChar c1, QChar c2 ) >{ > return c1.ucs != c2.ucs; >} > >inline bool operator!=( char ch, QChar c ) >{ > return ((uchar)ch) != c.ucs; >} > >inline bool operator!=( QChar c, char ch ) >{ > return ((uchar) ch) != c.ucs; >} > >inline bool operator<=( QChar c, char ch ) >{ > return c.ucs <= ((uchar) ch); >} > >inline bool operator<=( char ch, QChar c ) >{ > return ((uchar) ch) <= c.ucs; >} > >inline bool operator<=( QChar c1, QChar c2 ) >{ > return c1.ucs <= c2.ucs; >} > >inline bool operator>=( QChar c, char ch ) { return ch <= c; } >inline bool operator>=( char ch, QChar c ) { return c <= ch; } >inline bool operator>=( QChar c1, QChar c2 ) { return c2 <= c1; } >inline bool operator<( QChar c, char ch ) { return !(ch<=c); } >inline bool operator<( char ch, QChar c ) { return !(c<=ch); } >inline bool operator<( QChar c1, QChar c2 ) { return !(c2<=c1); } >inline bool operator>( QChar c, char ch ) { return !(ch>=c); } >inline bool operator>( char ch, QChar c ) { return !(c>=ch); } >inline bool operator>( QChar c1, QChar c2 ) { return !(c2>=c1); } > > >struct QStringData : public QShared { > QStringData() : > QShared(), unicode(0), ascii(0), len(0), issimpletext(TRUE), maxl(0), islatin1(FALSE) { ref(); } > QStringData(QChar *u, uint l, uint m) : > QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } > ~QStringData() { if ( unicode ) delete[] ((char*)unicode); > if ( ascii ) delete[] ascii; } > > void deleteSelf(); > QChar *unicode; > char *ascii; > void setDirty() { > if ( ascii ) { > delete [] ascii; > ascii = 0; > } > issimpletext = FALSE; > } > > > > uint len : 30; > > uint issimpletext : 1; > > > > uint maxl : 30; > > uint islatin1 : 1; > >private: > > QStringData( const QStringData& ); > QStringData& operator=( const QStringData& ); > >}; > > >class QString >{ >public: > QString(); > QString( QChar ); > QString( const QString & ); > QString( const QByteArray& ); > QString( const QChar* unicode, uint length ); > > QString( const char *str ); > > > > > ~QString(); > > QString &operator=( const QString & ); > QString &operator=( const char * ); > > > > QString &operator=( const QCString& ); > QString &operator=( QChar c ); > QString &operator=( char c ); > > static const QString null; > > bool isNull() const; > bool isEmpty() const; > uint length() const; > void truncate( uint pos ); > > QString & fill( QChar c, int len = -1 ); > > QString copy() const; > > QString arg( long a, int fieldWidth = 0, int base = 10 ) const; > QString arg( ulong a, int fieldWidth = 0, int base = 10 ) const; > QString arg( Q_LLONG a, int fieldwidth=0, int base=10 ) const; > QString arg( Q_ULLONG a, int fieldwidth=0, int base=10 ) const; > QString arg( int a, int fieldWidth = 0, int base = 10 ) const; > QString arg( uint a, int fieldWidth = 0, int base = 10 ) const; > QString arg( short a, int fieldWidth = 0, int base = 10 ) const; > QString arg( ushort a, int fieldWidth = 0, int base = 10 ) const; > QString arg( double a, int fieldWidth = 0, char fmt = 'g', > int prec = -1 ) const; > QString arg( char a, int fieldWidth = 0 ) const; > QString arg( QChar a, int fieldWidth = 0 ) const; > QString arg( const QString& a, int fieldWidth = 0 ) const; > QString arg( const QString& a1, const QString& a2 ) const; > QString arg( const QString& a1, const QString& a2, > const QString& a3 ) const; > QString arg( const QString& a1, const QString& a2, const QString& a3, > const QString& a4 ) const; > > > QString &sprintf( const char* format, ... ) > > __attribute__ ((format (printf, 2, 3))) > > ; > > > int find( QChar c, int index=0, bool cs=TRUE ) const; > int find( char c, int index=0, bool cs=TRUE ) const; > int find( const QString &str, int index=0, bool cs=TRUE ) const; > > int find( const QRegExp &, int index=0 ) const; > > > int find( const char* str, int index=0 ) const; > > int findRev( QChar c, int index=-1, bool cs=TRUE) const; > int findRev( char c, int index=-1, bool cs=TRUE) const; > int findRev( const QString &str, int index=-1, bool cs=TRUE) const; > > int findRev( const QRegExp &, int index=-1 ) const; > > > int findRev( const char* str, int index=-1 ) const; > > int contains( QChar c, bool cs=TRUE ) const; > int contains( char c, bool cs=TRUE ) const > { return contains(QChar(c), cs); } > > int contains( const char* str, bool cs=TRUE ) const; > > int contains( const QString &str, bool cs=TRUE ) const; > > int contains( const QRegExp & ) const; > > > enum SectionFlags { > SectionDefault = 0x00, > SectionSkipEmpty = 0x01, > SectionIncludeLeadingSep = 0x02, > SectionIncludeTrailingSep = 0x04, > SectionCaseInsensitiveSeps = 0x08 > }; > QString section( QChar sep, int start, int end = 0xffffffff, int flags = SectionDefault ) const; > QString section( char sep, int start, int end = 0xffffffff, int flags = SectionDefault ) const; > > QString section( const char *in_sep, int start, int end = 0xffffffff, int flags = SectionDefault ) const; > > QString section( const QString &in_sep, int start, int end = 0xffffffff, int flags = SectionDefault ) const; > > QString section( const QRegExp ®, int start, int end = 0xffffffff, int flags = SectionDefault ) const; > > > QString left( uint len ) const; > QString right( uint len ) const; > QString mid( uint index, uint len=0xffffffff) const; > > QString leftJustify( uint width, QChar fill=' ', bool trunc=FALSE)const; > QString rightJustify( uint width, QChar fill=' ',bool trunc=FALSE)const; > > QString lower() const; > QString upper() const; > > QString stripWhiteSpace() const; > QString simplifyWhiteSpace() const; > > QString &insert( uint index, const QString & ); > > QString &insert( uint index, const QByteArray & ); > QString &insert( uint index, const char * ); > > QString &insert( uint index, const QChar*, uint len ); > QString &insert( uint index, QChar ); > QString &insert( uint index, char c ) { return insert(index,QChar(c)); } > QString &append( char ); > QString &append( QChar ); > QString &append( const QString & ); > > QString &append( const QByteArray & ); > QString &append( const char * ); > > > > > QString &prepend( char ); > QString &prepend( QChar ); > QString &prepend( const QString & ); > > QString &prepend( const QByteArray & ); > QString &prepend( const char * ); > > > > > QString &remove( uint index, uint len ); > > > > > QString &remove( const QString & ); > QString &remove( const QString &, bool cs ); > > QString &remove( QChar c ); > QString &remove( char c ) > { return remove( QChar(c) ); } > > QString &remove( const char * ); > > > QString &remove( const QRegExp & ); > > QString &replace( uint index, uint len, const QString & ); > QString &replace( uint index, uint len, const QChar*, uint clen ); > QString &replace( uint index, uint len, QChar ); > QString &replace( uint index, uint len, char c ) > { return replace( index, len, QChar(c) ); } > > > > > > > > QString &replace( QChar c, const QString & ); > QString &replace( QChar c, const QString &, bool ); > > > QString &replace( char c, const QString & after ) > { return replace( QChar(c), after, TRUE ); } > QString &replace( char c, const QString & after, bool cs ) > { return replace( QChar(c), after, cs ); } > > > QString &replace( const QString &, const QString & ); > QString &replace( const QString &, const QString &, bool ); > > > QString &replace( const QRegExp &, const QString & ); > > QString &replace( QChar, QChar ); > > short toShort( bool *ok=0, int base=10 ) const; > ushort toUShort( bool *ok=0, int base=10 ) const; > int toInt( bool *ok=0, int base=10 ) const; > uint toUInt( bool *ok=0, int base=10 ) const; > long toLong( bool *ok=0, int base=10 ) const; > ulong toULong( bool *ok=0, int base=10 ) const; > Q_LLONG toLongLong( bool *ok=0, int base=10 ) const; > Q_ULLONG toULongLong( bool *ok=0, int base=10 ) const; > float toFloat( bool *ok=0 ) const; > double toDouble( bool *ok=0 ) const; > > QString &setNum( short, int base=10 ); > QString &setNum( ushort, int base=10 ); > QString &setNum( int, int base=10 ); > QString &setNum( uint, int base=10 ); > QString &setNum( long, int base=10 ); > QString &setNum( ulong, int base=10 ); > QString &setNum( Q_LLONG, int base=10 ); > QString &setNum( Q_ULLONG, int base=10 ); > QString &setNum( float, char f='g', int prec=6 ); > QString &setNum( double, char f='g', int prec=6 ); > > static QString number( long, int base=10 ); > static QString number( ulong, int base=10); > static QString number( Q_LLONG, int base=10 ); > static QString number( Q_ULLONG, int base=10); > static QString number( int, int base=10 ); > static QString number( uint, int base=10); > static QString number( double, char f='g', int prec=6 ); > > void setExpand( uint index, QChar c ); > > QString &operator+=( const QString &str ); > > QString &operator+=( const QByteArray &str ); > QString &operator+=( const char *str ); > > > > > QString &operator+=( QChar c ); > QString &operator+=( char c ); > > QChar at( uint i ) const > { return i < d->len ? d->unicode[i] : QChar::null; } > QChar operator[]( int i ) const { return at((uint)i); } > QCharRef at( uint i ); > QCharRef operator[]( int i ); > > QChar constref(uint i) const > { return at(i); } > QChar& ref(uint i) > { > if ( d->count != 1 || i >= d->len ) > subat( i ); > d->setDirty(); > return d->unicode[i]; > } > > const QChar* unicode() const { return d->unicode; } > const char* ascii() const; > static QString fromAscii(const char*, int len=-1); > const char* latin1() const; > static QString fromLatin1(const char*, int len=-1); > QCString utf8() const; > static QString fromUtf8(const char*, int len=-1); > QCString local8Bit() const; > static QString fromLocal8Bit(const char*, int len=-1); > bool operator!() const; > > > > > > > > static QString fromUcs2( const unsigned short *ucs2 ); > const unsigned short *ucs2() const; > > QString &setUnicode( const QChar* unicode, uint len ); > QString &setUnicodeCodes( const ushort* unicode_as_ushorts, uint len ); > QString &setAscii( const char*, int len=-1 ); > QString &setLatin1( const char*, int len=-1 ); > > int compare( const QString& s ) const; > static int compare( const QString& s1, const QString& s2 ) > { return s1.compare( s2 ); } > > int localeAwareCompare( const QString& s ) const; > static int localeAwareCompare( const QString& s1, const QString& s2 ) > { return s1.localeAwareCompare( s2 ); } > > > friend QDataStream &operator>>( QDataStream &, QString & ); > > > void compose(); ># 701 "/usr/qt/3/include/qstring.h" > bool startsWith( const QString& str ) const; > bool startsWith( const QString& str, bool cs ) const; > > > bool endsWith( const QString& str ) const; > bool endsWith( const QString& str, bool cs ) const; > > > void setLength( uint newLength ); > > uint capacity() const; > void reserve( uint minCapacity ); > void squeeze(); > > bool simpleText() const { if ( !d->issimpletext ) checkSimpleText(); return (bool)d->issimpletext; } > bool isRightToLeft() const; > > >private: > QString( int size, bool ); > > void deref(); > void real_detach(); > void subat( uint ); > QString multiArg( int numArgs, const QString& a1, const QString& a2, > const QString& a3 = QString::null, > const QString& a4 = QString::null ) const; > > void checkSimpleText() const; > void grow( uint newLength ); > > QString &insertHelper( uint index, const char *s, uint len=(2147483647 * 2U + 1U) ); > QString &operatorPlusEqHelper( const char *s, uint len2=(2147483647 * 2U + 1U) ); > > > static QChar* latin1ToUnicode( const char*, uint * len, uint maxlen=(uint)-1 ); > static QChar* latin1ToUnicode( const QByteArray&, uint * len ); > static char* unicodeToLatin1( const QChar*, uint len ); > > QStringData *d; > static QStringData* shared_null; > static QStringData* makeSharedNull(); > > friend class QConstString; > friend class QTextStream; > QString( QStringData* dd, bool ) : d(dd) { } > > > void detach(); > friend class QDeepCopy<QString>; >}; > >class QCharRef { > friend class QString; > QString& s; > uint p; > QCharRef(QString* str, uint pos) : s(*str), p(pos) { } > >public: > > > > > ushort unicode() const { return s.constref(p).unicode(); } > char latin1() const { return s.constref(p).latin1(); } > > > QCharRef operator=(char c ) { s.ref(p)=c; return *this; } > QCharRef operator=(uchar c ) { s.ref(p)=c; return *this; } > QCharRef operator=(QChar c ) { s.ref(p)=c; return *this; } > QCharRef operator=(const QCharRef& c ) { s.ref(p)=c.unicode(); return *this; } > QCharRef operator=(ushort rc ) { s.ref(p)=rc; return *this; } > QCharRef operator=(short rc ) { s.ref(p)=rc; return *this; } > QCharRef operator=(uint rc ) { s.ref(p)=rc; return *this; } > QCharRef operator=(int rc ) { s.ref(p)=rc; return *this; } > > operator QChar () const { return s.constref(p); } > > > bool isNull() const { return unicode()==0; } > bool isPrint() const { return s.constref(p).isPrint(); } > bool isPunct() const { return s.constref(p).isPunct(); } > bool isSpace() const { return s.constref(p).isSpace(); } > bool isMark() const { return s.constref(p).isMark(); } > bool isLetter() const { return s.constref(p).isLetter(); } > bool isNumber() const { return s.constref(p).isNumber(); } > bool isLetterOrNumber() { return s.constref(p).isLetterOrNumber(); } > bool isDigit() const { return s.constref(p).isDigit(); } > > int digitValue() const { return s.constref(p).digitValue(); } > QChar lower() const { return s.constref(p).lower(); } > QChar upper() const { return s.constref(p).upper(); } > > QChar::Category category() const { return s.constref(p).category(); } > QChar::Direction direction() const { return s.constref(p).direction(); } > QChar::Joining joining() const { return s.constref(p).joining(); } > bool mirrored() const { return s.constref(p).mirrored(); } > QChar mirroredChar() const { return s.constref(p).mirroredChar(); } > const QString &decomposition() const { return s.constref(p).decomposition(); } > QChar::Decomposition decompositionTag() const { return s.constref(p).decompositionTag(); } > unsigned char combiningClass() const { return s.constref(p).combiningClass(); } > > > uchar cell() const { return s.constref(p).cell(); } > uchar row() const { return s.constref(p).row(); } > >}; > >inline QCharRef QString::at( uint i ) { return QCharRef(this,i); } >inline QCharRef QString::operator[]( int i ) { return at((uint)i); } > > >class QConstString : private QString { >public: > QConstString( const QChar* unicode, uint length ); > ~QConstString(); > const QString& string() const { return *this; } >}; > > > > > > > QDataStream &operator<<( QDataStream &, const QString & ); > QDataStream &operator>>( QDataStream &, QString & ); ># 838 "/usr/qt/3/include/qstring.h" >inline QString::QString() : > d(shared_null ? shared_null : makeSharedNull()) >{ > d->ref(); >} > >inline QString::~QString() >{ > if ( d->deref() ) { > if ( d != shared_null ) > d->deleteSelf(); > } >} > > >inline void QString::detach() >{ real_detach(); } > >inline QString QString::section( QChar sep, int start, int end, int flags ) const >{ return section(QString(sep), start, end, flags); } > >inline QString QString::section( char sep, int start, int end, int flags ) const >{ return section(QChar(sep), start, end, flags); } > > >inline QString QString::section( const char *in_sep, int start, int end, int flags ) const >{ return section(QString(in_sep), start, end, flags); } > > >inline QString &QString::operator=( QChar c ) >{ *this = QString(c); return *this; } > >inline QString &QString::operator=( char c ) >{ *this = QString(QChar(c)); return *this; } > >inline bool QString::isNull() const >{ return unicode() == 0; } > >inline bool QString::operator!() const >{ return isNull(); } > >inline uint QString::length() const >{ return d->len; } > >inline uint QString::capacity() const >{ return d->maxl; } > >inline bool QString::isEmpty() const >{ return length() == 0; } > >inline QString QString::copy() const >{ return QString( *this ); } > > >inline QString &QString::insert( uint index, const char *s ) >{ return insertHelper( index, s ); } > >inline QString &QString::insert( uint index, const QByteArray &s ) >{ > int pos = s.find( 0 ); > return insertHelper( index, s, pos==-1 ? s.size() : pos ); >} > > >inline QString &QString::prepend( const QString & s ) >{ return insert(0,s); } > >inline QString &QString::prepend( QChar c ) >{ return insert(0,c); } > >inline QString &QString::prepend( char c ) >{ return insert(0,c); } > > >inline QString &QString::prepend( const QByteArray & s ) >{ return insert(0,s); } > > > >inline QString &QString::operator+=( const QByteArray &s ) >{ > int pos = s.find( 0 ); > return operatorPlusEqHelper( s, pos==-1 ? s.size() : pos ); >} > > >inline QString &QString::append( const QString & s ) >{ return operator+=(s); } > > >inline QString &QString::append( const QByteArray &s ) >{ return operator+=(s); } > >inline QString &QString::append( const char * s ) >{ return operator+=(s); } > > >inline QString &QString::append( QChar c ) >{ return operator+=(c); } > >inline QString &QString::append( char c ) >{ return operator+=(c); } ># 952 "/usr/qt/3/include/qstring.h" >inline QString &QString::setNum( short n, int base ) >{ return setNum((Q_LLONG)n, base); } > >inline QString &QString::setNum( ushort n, int base ) >{ return setNum((Q_ULLONG)n, base); } > >inline QString &QString::setNum( int n, int base ) >{ return setNum((Q_LLONG)n, base); } > >inline QString &QString::setNum( uint n, int base ) >{ return setNum((Q_ULLONG)n, base); } > >inline QString &QString::setNum( float n, char f, int prec ) >{ return setNum((double)n,f,prec); } > >inline QString QString::arg( int a, int fieldWidth, int base ) const >{ return arg( (Q_LLONG)a, fieldWidth, base ); } > >inline QString QString::arg( uint a, int fieldWidth, int base ) const >{ return arg( (Q_ULLONG)a, fieldWidth, base ); } > >inline QString QString::arg( short a, int fieldWidth, int base ) const >{ return arg( (Q_LLONG)a, fieldWidth, base ); } > >inline QString QString::arg( ushort a, int fieldWidth, int base ) const >{ return arg( (Q_ULLONG)a, fieldWidth, base ); } > >inline QString QString::arg( const QString& a1, const QString& a2 ) const { > return multiArg( 2, a1, a2 ); >} > >inline QString QString::arg( const QString& a1, const QString& a2, > const QString& a3 ) const { > return multiArg( 3, a1, a2, a3 ); >} > >inline QString QString::arg( const QString& a1, const QString& a2, > const QString& a3, const QString& a4 ) const { > return multiArg( 4, a1, a2, a3, a4 ); >} > >inline int QString::find( char c, int index, bool cs ) const >{ return find(QChar(c), index, cs); } > >inline int QString::findRev( char c, int index, bool cs ) const >{ return findRev( QChar(c), index, cs ); } > > >inline int QString::find( const char* str, int index ) const >{ return find(QString::fromAscii(str), index); } > >inline int QString::findRev( const char* str, int index ) const >{ return findRev(QString::fromAscii(str), index); } > > > > > > > > bool operator!=( const QString &s1, const QString &s2 ); > bool operator<( const QString &s1, const QString &s2 ); > bool operator<=( const QString &s1, const QString &s2 ); > bool operator==( const QString &s1, const QString &s2 ); > bool operator>( const QString &s1, const QString &s2 ); > bool operator>=( const QString &s1, const QString &s2 ); > > bool operator!=( const QString &s1, const char *s2 ); > bool operator<( const QString &s1, const char *s2 ); > bool operator<=( const QString &s1, const char *s2 ); > bool operator==( const QString &s1, const char *s2 ); > bool operator>( const QString &s1, const char *s2 ); > bool operator>=( const QString &s1, const char *s2 ); > bool operator!=( const char *s1, const QString &s2 ); > bool operator<( const char *s1, const QString &s2 ); > bool operator<=( const char *s1, const QString &s2 ); > bool operator==( const char *s1, const QString &s2 ); > > bool operator>=( const char *s1, const QString &s2 ); > > > inline const QString operator+( const QString &s1, const QString &s2 ) >{ > QString tmp( s1 ); > tmp += s2; > return tmp; >} > > > inline const QString operator+( const QString &s1, const char *s2 ) >{ > QString tmp( s1 ); > tmp += QString::fromAscii(s2); > return tmp; >} > > inline const QString operator+( const char *s1, const QString &s2 ) >{ > QString tmp = QString::fromAscii( s1 ); > tmp += s2; > return tmp; >} > > > inline const QString operator+( const QString &s1, QChar c2 ) >{ > QString tmp( s1 ); > tmp += c2; > return tmp; >} > > inline const QString operator+( const QString &s1, char c2 ) >{ > QString tmp( s1 ); > tmp += c2; > return tmp; >} > > inline const QString operator+( QChar c1, const QString &s2 ) >{ > QString tmp; > tmp += c1; > tmp += s2; > return tmp; >} > > inline const QString operator+( char c1, const QString &s2 ) >{ > QString tmp; > tmp += c1; > tmp += s2; > return tmp; >} ># 1109 "/usr/qt/3/include/qstring.h" ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 1110 "/usr/qt/3/include/qstring.h" 2 ># 26 "../kdecore/kdebug.h" 2 > >class QWidget; >class QDateTime; >class QDate; >class QTime; >class QPoint; >class QSize; >class QRect; >class QRegion; >class KURL; >class QStringList; >class QColor; >class QPen; >class QBrush; >class QVariant; >template <class T> >class QValueList; > >class kdbgstream; >class kndbgstream; ># 54 "../kdecore/kdebug.h" >typedef kdbgstream & (*KDBGFUNC)(kdbgstream &); >typedef kndbgstream & (*KNDBGFUNC)(kndbgstream &); ># 65 "../kdecore/kdebug.h" >class kdbgstreamprivate; ># 79 "../kdecore/kdebug.h" >class kdbgstream { > public: > > > > kdbgstream(unsigned int _area, unsigned int _level, bool _print = true) : > area(_area), level(_level), print(_print) { } > kdbgstream(const char * initialString, unsigned int _area, unsigned int _level, bool _print = true) : > output(QString::fromLatin1(initialString)), area(_area), level(_level), print(_print) { } > > kdbgstream(kdbgstream &str); > kdbgstream(const kdbgstream &str) : > output(str.output), area(str.area), level(str.level), print(str.print) {} > ~kdbgstream(); > > > > > > kdbgstream &operator<<(bool i) { > if (!print) return *this; > output += QString::fromLatin1(i ? "true" : "false"); > return *this; > } > > > > > > kdbgstream &operator<<(short i) { > if (!print) return *this; > QString tmp; tmp.setNum(i); output += tmp; > return *this; > } > > > > > > kdbgstream &operator<<(unsigned short i) { > if (!print) return *this; > QString tmp; tmp.setNum(i); output += tmp; > return *this; > } > > > > > > kdbgstream &operator<<(char ch); > > > > > > kdbgstream &operator<<(unsigned char ch) { > return operator<<( static_cast<char>( ch ) ); > } > > > > > > kdbgstream &operator<<(int i) { > if (!print) return *this; > QString tmp; tmp.setNum(i); output += tmp; > return *this; > } > > > > > > kdbgstream &operator<<(unsigned int i) { > if (!print) return *this; > QString tmp; tmp.setNum(i); output += tmp; > return *this; > } > > > > > > kdbgstream &operator<<(long i) { > if (!print) return *this; > QString tmp; tmp.setNum(i); output += tmp; > return *this; > } > > > > > > kdbgstream &operator<<(unsigned long i) { > if (!print) return *this; > QString tmp; tmp.setNum(i); output += tmp; > return *this; > } > > > > > > kdbgstream &operator<<(Q_LLONG i) { > if (!print) return *this; > QString tmp; tmp.setNum(i); output += tmp; > return *this; > } > > > > > > kdbgstream &operator<<(Q_ULLONG i) { > if (!print) return *this; > QString tmp; tmp.setNum(i); output += tmp; > return *this; > } > > > > > void flush(); > > > > > > > > kdbgstream &operator<<(QChar ch); > > > > > > kdbgstream &operator<<(const QString& string) { > if (!print) return *this; > output += string; > if (output.at(output.length() -1 ) == '\n') > flush(); > return *this; > } > > > > > > kdbgstream &operator<<(const char *string) { > if (!print) return *this; > output += QString::fromUtf8(string); > if (output.at(output.length() - 1) == '\n') > flush(); > return *this; > } > > > > > > kdbgstream &operator<<(const QCString& string) { > *this << string.data(); > return *this; > } > > > > > > kdbgstream& operator<<(const void * p) { > form("%p", p); > return *this; > } > > > > > > kdbgstream& operator<<(KDBGFUNC f) { > if (!print) return *this; > return (*f)(*this); > } > > > > > > kdbgstream& operator<<(double d) { > QString tmp; tmp.setNum(d); output += tmp; > return *this; > } > > > > > > > kdbgstream &form(const char *format, ...) > > __attribute__ ( ( format ( printf, 2, 3 ) ) ) > > ; > > > > > > > kdbgstream& operator << (const QWidget* widget); > kdbgstream& operator << (QWidget* widget); > > > > > > > kdbgstream& operator << ( const QDateTime& dateTime ); > > > > > > > kdbgstream& operator << ( const QDate& date ); > > > > > > > kdbgstream& operator << ( const QTime& time ); > > > > > > > kdbgstream& operator << ( const QPoint& point ); > > > > > > > kdbgstream& operator << ( const QSize& size ); > > > > > > > kdbgstream& operator << ( const QRect& rect); > > > > > > > kdbgstream& operator << ( const QRegion& region); > > > > > > > kdbgstream& operator << ( const KURL& url ); > > > > > > > > kdbgstream& operator << ( const QStringList& list); > > > > > > > kdbgstream& operator << ( const QColor& color); > > > > > > > > kdbgstream& operator << ( const QPen& pen ); > > > > > > > kdbgstream& operator << ( const QBrush& brush ); > > > > > > > > kdbgstream& operator << ( const QVariant& variant ); > > > > > > > > kdbgstream& operator << ( const QByteArray& data ); > > > > > > > > template <class T> > kdbgstream& operator << ( const QValueList<T> &list ); > > private: > QString output; > unsigned int area, level; > bool print; > kdbgstreamprivate* d; >}; > >template <class T> >kdbgstream &kdbgstream::operator<<( const QValueList<T> &list ) >{ > *this << "("; > typename QValueList<T>::ConstIterator it = list.begin(); > if ( !list.isEmpty() ) { > *this << *it++; > } > for ( ; it != list.end(); ++it ) { > *this << "," << *it; > } > *this << ")"; > return *this; >} > > > > > > > >inline kdbgstream &endl( kdbgstream &s) { s << "\n"; return s; } > > > > > > > >inline kdbgstream &flush( kdbgstream &s) { s.flush(); return s; } > >kdbgstream &perror( kdbgstream &s); > > > > > > > >class kndbgstream { > public: > > kndbgstream() {} > ~kndbgstream() {} > > > > > kndbgstream &operator<<(short int ) { return *this; } > > > > > kndbgstream &operator<<(unsigned short int ) { return *this; } > > > > > kndbgstream &operator<<(char ) { return *this; } > > > > > kndbgstream &operator<<(unsigned char ) { return *this; } > > > > > kndbgstream &operator<<(int ) { return *this; } > > > > > kndbgstream &operator<<(unsigned int ) { return *this; } > > > > void flush() {} > > > > > kndbgstream &operator<<(QChar) { return *this; } > > > > > kndbgstream &operator<<(const QString& ) { return *this; } > > > > > kndbgstream &operator<<(const QCString& ) { return *this; } > > > > > kndbgstream &operator<<(const char *) { return *this; } > > > > > kndbgstream& operator<<(const void *) { return *this; } > > > > > kndbgstream& operator<<(void *) { return *this; } > > > > > kndbgstream& operator<<(double) { return *this; } > > > > > kndbgstream& operator<<(long) { return *this; } > > > > > kndbgstream& operator<<(unsigned long) { return *this; } > > > > > kndbgstream& operator<<(Q_LLONG) { return *this; } > > > > > kndbgstream& operator<<(Q_ULLONG) { return *this; } > > > > > kndbgstream& operator<<(KNDBGFUNC) { return *this; } > > > > > kndbgstream& operator << (const QWidget*) { return *this; } > kndbgstream& operator << (QWidget*) { return *this; } > > > > > kndbgstream &form(const char *, ...) { return *this; } > > kndbgstream& operator<<( const QDateTime& ) { return *this; } > kndbgstream& operator<<( const QDate& ) { return *this; } > kndbgstream& operator<<( const QTime& ) { return *this; } > kndbgstream& operator<<( const QPoint & ) { return *this; } > kndbgstream& operator<<( const QSize & ) { return *this; } > kndbgstream& operator<<( const QRect & ) { return *this; } > kndbgstream& operator<<( const QRegion & ) { return *this; } > kndbgstream& operator<<( const KURL & ) { return *this; } > kndbgstream& operator<<( const QStringList & ) { return *this; } > kndbgstream& operator<<( const QColor & ) { return *this; } > kndbgstream& operator<<( const QPen & ) { return *this; } > kndbgstream& operator<<( const QBrush & ) { return *this; } > kndbgstream& operator<<( const QVariant & ) { return *this; } > kndbgstream& operator<<( const QByteArray & ) { return *this; } > > template <class T> > kndbgstream& operator<<( const QValueList<T> & ) { return *this; } >}; > > > > > > >inline kndbgstream &endl( kndbgstream & s) { return s; } > > > > > >inline kndbgstream &flush( kndbgstream & s) { return s; } >inline kndbgstream &perror( kndbgstream & s) { return s; } ># 598 "../kdecore/kdebug.h" >kdbgstream kdDebug(int area = 0); >kdbgstream kdDebug(bool cond, int area = 0); > > > > > >QString kdBacktrace(); > > > > > > > >QString kdBacktrace(int levels); > > > > > >inline kndbgstream kndDebug(int area = 0) { (void)area;; return kndbgstream(); } >inline kndbgstream kndDebug(bool , int = 0) { return kndbgstream(); } >inline QString kndBacktrace() { return QString::null; } >inline QString kndBacktrace(int) { return QString::null; } > > > > > > > >kdbgstream kdWarning(int area = 0); >kdbgstream kdWarning(bool cond, int area = 0); > > > > > > >kdbgstream kdError(int area = 0); >kdbgstream kdError(bool cond, int area = 0); > > > > > > >kdbgstream kdFatal(int area = 0); >kdbgstream kdFatal(bool cond, int area = 0); > > > > > > >void kdClearDebugConfig(); ># 9 "xslt_pure.cpp" 2 ># 1 "../kdecore/kstandarddirs.h" 1 ># 27 "../kdecore/kstandarddirs.h" ># 1 "/usr/qt/3/include/qdict.h" 1 ># 42 "/usr/qt/3/include/qdict.h" ># 1 "/usr/qt/3/include/qgdict.h" 1 ># 42 "/usr/qt/3/include/qgdict.h" ># 1 "/usr/qt/3/include/qptrcollection.h" 1 ># 40 "/usr/qt/3/include/qptrcollection.h" ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 41 "/usr/qt/3/include/qptrcollection.h" 2 > > > >class QGVector; >class QGList; >class QGDict; > > >class QPtrCollection >{ >public: > bool autoDelete() const { return del_item; } > void setAutoDelete( bool enable ) { del_item = enable; } > > virtual uint count() const = 0; > virtual void clear() = 0; > > typedef void *Item; > >protected: > QPtrCollection() { del_item = FALSE; } > QPtrCollection(const QPtrCollection &) { del_item = FALSE; } > virtual ~QPtrCollection() {} > > bool del_item; > > virtual Item newItem( Item ); > virtual void deleteItem( Item ) = 0; >}; ># 43 "/usr/qt/3/include/qgdict.h" 2 > > > >class QGDictIterator; >class QGDItList; > > >class QBaseBucket >{ >public: > QPtrCollection::Item getData() { return data; } > QPtrCollection::Item setData( QPtrCollection::Item d ) { return data = d; } > QBaseBucket *getNext() { return next; } > void setNext( QBaseBucket *n) { next = n; } >protected: > QBaseBucket( QPtrCollection::Item d, QBaseBucket *n ) : data(d), next(n) {} > QPtrCollection::Item data; > QBaseBucket *next; >}; > >class QStringBucket : public QBaseBucket >{ >public: > QStringBucket( const QString &k, QPtrCollection::Item d, QBaseBucket *n ) > : QBaseBucket(d,n), key(k) {} > const QString &getKey() const { return key; } >private: > QString key; >}; > >class QAsciiBucket : public QBaseBucket >{ >public: > QAsciiBucket( const char *k, QPtrCollection::Item d, QBaseBucket *n ) > : QBaseBucket(d,n), key(k) {} > const char *getKey() const { return key; } >private: > const char *key; >}; > >class QIntBucket : public QBaseBucket >{ >public: > QIntBucket( long k, QPtrCollection::Item d, QBaseBucket *n ) > : QBaseBucket(d,n), key(k) {} > long getKey() const { return key; } >private: > long key; >}; > >class QPtrBucket : public QBaseBucket >{ >public: > QPtrBucket( void *k, QPtrCollection::Item d, QBaseBucket *n ) > : QBaseBucket(d,n), key(k) {} > void *getKey() const { return key; } >private: > void *key; >}; > > >class QGDict : public QPtrCollection >{ >public: > uint count() const { return numItems; } > uint size() const { return vlen; } > QPtrCollection::Item look_string( const QString& key, QPtrCollection::Item, > int ); > QPtrCollection::Item look_ascii( const char *key, QPtrCollection::Item, int ); > QPtrCollection::Item look_int( long key, QPtrCollection::Item, int ); > QPtrCollection::Item look_ptr( void *key, QPtrCollection::Item, int ); > > QDataStream &read( QDataStream & ); > QDataStream &write( QDataStream & ) const; > >protected: > enum KeyType { StringKey, AsciiKey, IntKey, PtrKey }; > > QGDict( uint len, KeyType kt, bool cs, bool ck ); > QGDict( const QGDict & ); > ~QGDict(); > > QGDict &operator=( const QGDict & ); > > bool remove_string( const QString &key, QPtrCollection::Item item=0 ); > bool remove_ascii( const char *key, QPtrCollection::Item item=0 ); > bool remove_int( long key, QPtrCollection::Item item=0 ); > bool remove_ptr( void *key, QPtrCollection::Item item=0 ); > QPtrCollection::Item take_string( const QString &key ); > QPtrCollection::Item take_ascii( const char *key ); > QPtrCollection::Item take_int( long key ); > QPtrCollection::Item take_ptr( void *key ); > > void clear(); > void resize( uint ); > > int hashKeyString( const QString & ); > int hashKeyAscii( const char * ); > > void statistics() const; > > > virtual QDataStream &read( QDataStream &, QPtrCollection::Item & ); > virtual QDataStream &write( QDataStream &, QPtrCollection::Item ) const; > >private: > QBaseBucket **vec; > uint vlen; > uint numItems; > uint keytype : 2; > uint cases : 1; > uint copyk : 1; > QGDItList *iterators; > void unlink_common( int, QBaseBucket *, QBaseBucket * ); > QStringBucket *unlink_string( const QString &, > QPtrCollection::Item item = 0 ); > QAsciiBucket *unlink_ascii( const char *, QPtrCollection::Item item = 0 ); > QIntBucket *unlink_int( long, QPtrCollection::Item item = 0 ); > QPtrBucket *unlink_ptr( void *, QPtrCollection::Item item = 0 ); > void init( uint, KeyType, bool, bool ); > friend class QGDictIterator; >}; > > >class QGDictIterator >{ >friend class QGDict; >public: > QGDictIterator( const QGDict & ); > QGDictIterator( const QGDictIterator & ); > QGDictIterator &operator=( const QGDictIterator & ); > ~QGDictIterator(); > > QPtrCollection::Item toFirst(); > > QPtrCollection::Item get() const; > QString getKeyString() const; > const char *getKeyAscii() const; > long getKeyInt() const; > void *getKeyPtr() const; > > QPtrCollection::Item operator()(); > QPtrCollection::Item operator++(); > QPtrCollection::Item operator+=(uint); > >protected: > QGDict *dict; > >private: > QBaseBucket *curNode; > uint curIndex; >}; > >inline QPtrCollection::Item QGDictIterator::get() const >{ > return curNode ? curNode->getData() : 0; >} > >inline QString QGDictIterator::getKeyString() const >{ > return curNode ? ((QStringBucket*)curNode)->getKey() : QString::null; >} > >inline const char *QGDictIterator::getKeyAscii() const >{ > return curNode ? ((QAsciiBucket*)curNode)->getKey() : 0; >} > >inline long QGDictIterator::getKeyInt() const >{ > return curNode ? ((QIntBucket*)curNode)->getKey() : 0; >} > >inline void *QGDictIterator::getKeyPtr() const >{ > return curNode ? ((QPtrBucket*)curNode)->getKey() : 0; >} ># 43 "/usr/qt/3/include/qdict.h" 2 > > >template<class type> >class QDict > > > > : public QGDict > >{ >public: > QDict( int size = 17, bool caseSensitive = TRUE ) > : QGDict( size, StringKey, caseSensitive, FALSE ) { } > QDict( const QDict<type> &d ) : QGDict( d ) { } > ~QDict() { clear(); } > QDict<type> &operator=(const QDict<type> &d) > { return (QDict<type>&)QGDict::operator=(d); } > uint count() const { return QGDict::count(); } > uint size() const { return QGDict::size(); } > bool isEmpty() const { return QGDict::count() == 0; } > > void insert( const QString &k, const type *d ) > { QGDict::look_string(k,(Item)d,1); } > void replace( const QString &k, const type *d ) > { QGDict::look_string(k,(Item)d,2); } > bool remove( const QString &k ) { return QGDict::remove_string(k); } > type *take( const QString &k ) { return (type *)QGDict::take_string(k); } > type *find( const QString &k ) const > { return (type *)((QGDict*)this)->QGDict::look_string(k,0,0); } > type *operator[]( const QString &k ) const > { return (type *)((QGDict*)this)->QGDict::look_string(k,0,0); } > > void clear() { QGDict::clear(); } > void resize( uint n ) { QGDict::resize(n); } > void statistics() const { QGDict::statistics(); } > > > > > > > >private: > void deleteItem( Item d ); >}; > > >template<> inline void QDict<void>::deleteItem( Item ) >{ >} > > >template<class type> inline void QDict<type>::deleteItem( QPtrCollection::Item d ) >{ > if ( del_item ) delete (type *)d; >} > >template<class type> >class QDictIterator : public QGDictIterator >{ >public: > QDictIterator(const QDict<type> &d) : QGDictIterator((QGDict &)d) { } > ~QDictIterator() {} > uint count() const { return dict->count(); } > bool isEmpty() const { return dict->count() == 0; } > type *toFirst() { return (type *)QGDictIterator::toFirst(); } > operator type *() const { return (type *)QGDictIterator::get(); } > type *operator*() { return (type *)QGDictIterator::get(); } > type *current() const { return (type *)QGDictIterator::get(); } > QString currentKey() const{ return QGDictIterator::getKeyString(); } > type *operator()() { return (type *)QGDictIterator::operator()(); } > type *operator++() { return (type *)QGDictIterator::operator++(); } > type *operator+=(uint j) { return (type *)QGDictIterator::operator+=(j); } >}; > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 120 "/usr/qt/3/include/qdict.h" 2 ># 28 "../kdecore/kstandarddirs.h" 2 ># 1 "/usr/qt/3/include/qstringlist.h" 1 ># 42 "/usr/qt/3/include/qstringlist.h" ># 1 "/usr/qt/3/include/qvaluelist.h" 1 ># 42 "/usr/qt/3/include/qvaluelist.h" ># 1 "/usr/qt/3/include/qtl.h" 1 ># 42 "/usr/qt/3/include/qtl.h" ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 43 "/usr/qt/3/include/qtl.h" 2 ># 1 "/usr/qt/3/include/qtextstream.h" 1 ># 42 "/usr/qt/3/include/qtextstream.h" ># 1 "/usr/qt/3/include/qiodevice.h" 1 ># 42 "/usr/qt/3/include/qiodevice.h" ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 43 "/usr/qt/3/include/qiodevice.h" 2 ># 88 "/usr/qt/3/include/qiodevice.h" >class QIODevice >{ >public: > > > > typedef Q_ULONG Offset; > > > QIODevice(); > virtual ~QIODevice(); > > int flags() const { return ioMode; } > int mode() const { return ioMode & 0x00ff; } > int state() const { return ioMode & 0xf000; } > > bool isDirectAccess() const { return ((ioMode & 0x0100) == 0x0100); } > bool isSequentialAccess() const { return ((ioMode & 0x0200) == 0x0200); } > bool isCombinedAccess() const { return ((ioMode & 0x0300) == 0x0300); } > bool isBuffered() const { return ((ioMode & 0x0040) != 0x0040); } > bool isRaw() const { return ((ioMode & 0x0040) == 0x0040); } > bool isSynchronous() const { return ((ioMode & 0x0080) != 0x0080); } > bool isAsynchronous() const { return ((ioMode & 0x0080) == 0x0080); } > bool isTranslated() const { return ((ioMode & 0x0010) == 0x0010); } > bool isReadable() const { return ((ioMode & 0x0001) == 0x0001); } > bool isWritable() const { return ((ioMode & 0x0002) == 0x0002); } > bool isReadWrite() const { return ((ioMode & 0x0003) == 0x0003); } > bool isInactive() const { return state() == 0; } > bool isOpen() const { return state() == 0x1000; } > > int status() const { return ioSt; } > void resetStatus() { ioSt = 0; } > > virtual bool open( int mode ) = 0; > virtual void close() = 0; > virtual void flush() = 0; > > virtual Offset size() const = 0; > virtual Offset at() const; > virtual bool at( Offset ); > virtual bool atEnd() const; > bool reset() { return at(0); } > > virtual Q_LONG readBlock( char *data, Q_ULONG maxlen ) = 0; > virtual Q_LONG writeBlock( const char *data, Q_ULONG len ) = 0; > virtual Q_LONG readLine( char *data, Q_ULONG maxlen ); > Q_LONG writeBlock( const QByteArray& data ); > virtual QByteArray readAll(); > > virtual int getch() = 0; > virtual int putch( int ) = 0; > virtual int ungetch( int ) = 0; > >protected: > void setFlags( int f ) { ioMode = f; } > void setType( int ); > void setMode( int ); > void setState( int ); > void setStatus( int ); > Offset ioIndex; > >private: > int ioMode; > int ioSt; > >private: > > QIODevice( const QIODevice & ); > QIODevice &operator=( const QIODevice & ); > >}; ># 43 "/usr/qt/3/include/qtextstream.h" 2 > > > > > >class QTextCodec; >class QTextDecoder; > >class QTextStreamPrivate; > >class QTextStream >{ >public: > enum Encoding { Locale, Latin1, Unicode, UnicodeNetworkOrder, > UnicodeReverse, RawUnicode, UnicodeUTF8 }; > > void setEncoding( Encoding ); > > void setCodec( QTextCodec* ); > QTextCodec *codec(); > > > QTextStream(); > QTextStream( QIODevice * ); > QTextStream( QString*, int mode ); > QTextStream( QString&, int mode ); > QTextStream( QByteArray, int mode ); > QTextStream( FILE *, int mode ); > virtual ~QTextStream(); > > QIODevice *device() const; > void setDevice( QIODevice * ); > void unsetDevice(); > > bool atEnd() const; > bool eof() const; > > QTextStream &operator>>( QChar & ); > QTextStream &operator>>( char & ); > QTextStream &operator>>( signed short & ); > QTextStream &operator>>( unsigned short & ); > QTextStream &operator>>( signed int & ); > QTextStream &operator>>( unsigned int & ); > QTextStream &operator>>( signed long & ); > QTextStream &operator>>( unsigned long & ); > QTextStream &operator>>( float & ); > QTextStream &operator>>( double & ); > QTextStream &operator>>( char * ); > QTextStream &operator>>( QString & ); > QTextStream &operator>>( QCString & ); > > QTextStream &operator<<( QChar ); > QTextStream &operator<<( char ); > QTextStream &operator<<( signed short ); > QTextStream &operator<<( unsigned short ); > QTextStream &operator<<( signed int ); > QTextStream &operator<<( unsigned int ); > QTextStream &operator<<( signed long ); > QTextStream &operator<<( unsigned long ); > QTextStream &operator<<( float ); > QTextStream &operator<<( double ); > QTextStream &operator<<( const char* ); > QTextStream &operator<<( const QString & ); > QTextStream &operator<<( const QCString & ); > QTextStream &operator<<( void * ); > > QTextStream &readRawBytes( char *, uint len ); > QTextStream &writeRawBytes( const char* , uint len ); > > QString readLine(); > QString read(); > void skipWhiteSpace(); > > enum { > skipws = 0x0001, > left = 0x0002, > right = 0x0004, > internal = 0x0008, > bin = 0x0010, > oct = 0x0020, > dec = 0x0040, > hex = 0x0080, > showbase = 0x0100, > showpoint = 0x0200, > uppercase = 0x0400, > showpos = 0x0800, > scientific= 0x1000, > fixed = 0x2000 > }; > > static const int basefield; > static const int adjustfield; > static const int floatfield; > > int flags() const; > int flags( int f ); > int setf( int bits ); > int setf( int bits, int mask ); > int unsetf( int bits ); > > void reset(); > > int width() const; > int width( int ); > int fill() const; > int fill( int ); > int precision() const; > int precision( int ); > >private: > long input_int(); > void init(); > QTextStream &output_int( int, ulong, bool ); > QIODevice *dev; > > int fflags; > int fwidth; > int fillchar; > int fprec; > bool doUnicodeHeader; > bool owndev; > QTextCodec *mapper; > QTextStreamPrivate * d; > QChar unused1; > bool latin1; > bool internalOrder; > bool networkOrder; > void *unused2; > > QChar eat_ws(); > uint ts_getline( QChar* ); > void ts_ungetc( QChar ); > QChar ts_getc(); > uint ts_getbuf( QChar*, uint ); > void ts_putc(int); > void ts_putc(QChar); > bool ts_isspace(QChar); > bool ts_isdigit(QChar); > ulong input_bin(); > ulong input_oct(); > ulong input_dec(); > ulong input_hex(); > double input_double(); > QTextStream &writeBlock( const char* p, uint len ); > QTextStream &writeBlock( const QChar* p, uint len ); > >private: > > QTextStream( const QTextStream & ); > QTextStream &operator=( const QTextStream & ); > >}; > >typedef QTextStream QTS; > >class QTextIStream : public QTextStream { >public: > QTextIStream( const QString* s ) : > QTextStream((QString*)s,0x0001) { } > QTextIStream( QByteArray ba ) : > QTextStream(ba,0x0001) { } > QTextIStream( FILE *f ) : > QTextStream(f,0x0001) { } > >private: > > QTextIStream( const QTextIStream & ); > QTextIStream &operator=( const QTextIStream & ); > >}; > >class QTextOStream : public QTextStream { >public: > QTextOStream( QString* s ) : > QTextStream(s,0x0002) { } > QTextOStream( QByteArray ba ) : > QTextStream(ba,0x0002) { } > QTextOStream( FILE *f ) : > QTextStream(f,0x0002) { } > >private: > > QTextOStream( const QTextOStream & ); > QTextOStream &operator=( const QTextOStream & ); > >}; > > > > > >inline QIODevice *QTextStream::device() const >{ return dev; } > >inline bool QTextStream::atEnd() const >{ return dev ? dev->atEnd() : FALSE; } > >inline bool QTextStream::eof() const >{ return atEnd(); } > >inline int QTextStream::flags() const >{ return fflags; } > >inline int QTextStream::flags( int f ) >{ int oldf = fflags; fflags = f; return oldf; } > >inline int QTextStream::setf( int bits ) >{ int oldf = fflags; fflags |= bits; return oldf; } > >inline int QTextStream::setf( int bits, int mask ) >{ int oldf = fflags; fflags = (fflags & ~mask) | (bits & mask); return oldf; } > >inline int QTextStream::unsetf( int bits ) >{ int oldf = fflags; fflags &= ~bits; return oldf; } > >inline int QTextStream::width() const >{ return fwidth; } > >inline int QTextStream::width( int w ) >{ int oldw = fwidth; fwidth = w; return oldw; } > >inline int QTextStream::fill() const >{ return fillchar; } > >inline int QTextStream::fill( int f ) >{ int oldc = fillchar; fillchar = f; return oldc; } > >inline int QTextStream::precision() const >{ return fprec; } > >inline int QTextStream::precision( int p ) >{ int oldp = fprec; fprec = p; return oldp; } > > > > >inline QChar QTextStream::ts_getc() >{ QChar r; return ( ts_getbuf( &r,1 ) == 1 ? r : QChar((ushort)0xffff) ); } > > > > > >typedef QTextStream & (*QTSFUNC)(QTextStream &); >typedef int (QTextStream::*QTSMFI)(int); > >class QTSManip { >public: > QTSManip( QTSMFI m, int a ) { mf=m; arg=a; } > void exec( QTextStream &s ) { (s.*mf)(arg); } >private: > QTSMFI mf; > int arg; >}; > > inline QTextStream &operator>>( QTextStream &s, QTSFUNC f ) >{ return (*f)( s ); } > > inline QTextStream &operator<<( QTextStream &s, QTSFUNC f ) >{ return (*f)( s ); } > > inline QTextStream &operator<<( QTextStream &s, QTSManip m ) >{ m.exec(s); return s; } > > QTextStream &bin( QTextStream &s ); > QTextStream &oct( QTextStream &s ); > QTextStream &dec( QTextStream &s ); > QTextStream &hex( QTextStream &s ); > QTextStream &endl( QTextStream &s ); > QTextStream &flush( QTextStream &s ); > QTextStream &ws( QTextStream &s ); > QTextStream &reset( QTextStream &s ); > > inline QTSManip qSetW( int w ) >{ > QTSMFI func = &QTextStream::width; > return QTSManip(func,w); >} > > inline QTSManip qSetFill( int f ) >{ > QTSMFI func = &QTextStream::fill; > return QTSManip(func,f); >} > > inline QTSManip qSetPrecision( int p ) >{ > QTSMFI func = &QTextStream::precision; > return QTSManip(func,p); >} ># 44 "/usr/qt/3/include/qtl.h" 2 > > > > >template <class T> >class QTextOStreamIterator >{ >protected: > QTextOStream& stream; > QString separator; > >public: > QTextOStreamIterator( QTextOStream& s) : stream( s ) {} > QTextOStreamIterator( QTextOStream& s, const QString& sep ) > : stream( s ), separator( sep ) {} > QTextOStreamIterator<T>& operator= ( const T& x ) { > stream << x; > if ( !separator.isEmpty() ) > stream << separator; > return *this; > } > QTextOStreamIterator<T>& operator*() { return *this; } > QTextOStreamIterator<T>& operator++() { return *this; } > QTextOStreamIterator<T>& operator++(int) { return *this; } >}; > > >template <class InputIterator, class OutputIterator> >inline OutputIterator qCopy( InputIterator _begin, InputIterator _end, > OutputIterator _dest ) >{ > while( _begin != _end ) > *_dest++ = *_begin++; > return _dest; >} > >template <class BiIterator, class BiOutputIterator> >inline BiOutputIterator qCopyBackward( BiIterator _begin, BiIterator _end, > BiOutputIterator _dest ) >{ > while ( _begin != _end ) > *--_dest = *--_end; > return _dest; >} > >template <class InputIterator1, class InputIterator2> >inline bool qEqual( InputIterator1 first1, InputIterator1 last1, InputIterator2 first2 ) >{ > > for ( ; first1 != last1; ++first1, ++first2 ) > if ( *first1 != *first2 ) > return FALSE; > return TRUE; >} > >template <class ForwardIterator, class T> >inline void qFill( ForwardIterator first, ForwardIterator last, const T& val ) >{ > for ( ; first != last; ++first ) > *first = val; >} ># 121 "/usr/qt/3/include/qtl.h" >template <class InputIterator, class T> >inline InputIterator qFind( InputIterator first, InputIterator last, > const T& val ) >{ > while ( first != last && *first != val ) > ++first; > return first; >} > >template <class InputIterator, class T, class Size> >inline void qCount( InputIterator first, InputIterator last, const T& value, > Size& n ) >{ > for ( ; first != last; ++first ) > if ( *first == value ) > ++n; >} > >template <class T> >inline void qSwap( T& _value1, T& _value2 ) >{ > T tmp = _value1; > _value1 = _value2; > _value2 = tmp; >} > > >template <class InputIterator> > void qBubbleSort( InputIterator b, InputIterator e ) >{ > > InputIterator last = e; > --last; > > if ( last == b ) > return; > > > while( b != last ) { > bool swapped = FALSE; > InputIterator swap_pos = b; > InputIterator x = e; > InputIterator y = x; > y--; > do { > --x; > --y; > if ( *x < *y ) { > swapped = TRUE; > qSwap( *x, *y ); > swap_pos = y; > } > } while( y != b ); > if ( !swapped ) > return; > b = swap_pos; > b++; > } >} > > >template <class Container> >inline void qBubbleSort( Container &c ) >{ > qBubbleSort( c.begin(), c.end() ); >} > > >template <class Value> > void qHeapSortPushDown( Value* heap, int first, int last ) >{ > int r = first; > while ( r <= last / 2 ) { > if ( last == 2 * r ) { > > if ( heap[2 * r] < heap[r] ) > qSwap( heap[r], heap[2 * r] ); > r = last; > } else { > > if ( heap[2 * r] < heap[r] && !(heap[2 * r + 1] < heap[2 * r]) ) { > > qSwap( heap[r], heap[2 * r] ); > r *= 2; > } else if ( heap[2 * r + 1] < heap[r] > && heap[2 * r + 1] < heap[2 * r] ) { > > qSwap( heap[r], heap[2 * r + 1] ); > r = 2 * r + 1; > } else { > r = last; > } > } > } >} > > >template <class InputIterator, class Value> > void qHeapSortHelper( InputIterator b, InputIterator e, Value, uint n ) >{ > > InputIterator insert = b; > Value* realheap = new Value[n]; > > Value* heap = realheap - 1; > int size = 0; > for( ; insert != e; ++insert ) { > heap[++size] = *insert; > int i = size; > while( i > 1 && heap[i] < heap[i / 2] ) { > qSwap( heap[i], heap[i / 2] ); > i /= 2; > } > } > > > for( uint i = n; i > 0; i-- ) { > *b++ = heap[1]; > if ( i > 1 ) { > heap[1] = heap[i]; > qHeapSortPushDown( heap, 1, (int)i - 1 ); > } > } > > delete[] realheap; >} > > >template <class InputIterator> > void qHeapSort( InputIterator b, InputIterator e ) >{ > > if ( b == e ) > return; > > > InputIterator it = b; > uint n = 0; > while ( it != e ) { > ++n; > ++it; > } > > > > qHeapSortHelper( b, e, *b, n ); >} > > >template <class Container> > void qHeapSort( Container &c ) >{ > if ( c.begin() == c.end() ) > return; > > > > qHeapSortHelper( c.begin(), c.end(), *(c.begin()), (uint)c.count() ); >} > >template <class Container> >class QBackInsertIterator >{ >public: > explicit QBackInsertIterator( Container &c ) > : container( &c ) > { > } > > QBackInsertIterator<Container>& > operator=( const typename Container::value_type &value ) > { > container->push_back( value ); > return *this; > } > > QBackInsertIterator<Container>& operator*() > { > return *this; > } > > QBackInsertIterator<Container>& operator++() > { > return *this; > } > > QBackInsertIterator<Container>& operator++(int) > { > return *this; > } > >protected: > Container *container; >}; > >template <class Container> >inline QBackInsertIterator<Container> qBackInserter( Container &c ) >{ > return QBackInsertIterator<Container>( c ); >} ># 43 "/usr/qt/3/include/qvaluelist.h" 2 > ># 1 "/usr/qt/3/include/qdatastream.h" 1 ># 47 "/usr/qt/3/include/qdatastream.h" >class QDataStream >{ >public: > QDataStream(); > QDataStream( QIODevice * ); > QDataStream( QByteArray, int mode ); > virtual ~QDataStream(); > > QIODevice *device() const; > void setDevice( QIODevice * ); > void unsetDevice(); > > bool atEnd() const; > bool eof() const; > > enum ByteOrder { BigEndian, LittleEndian }; > int byteOrder() const; > void setByteOrder( int ); > > bool isPrintableData() const; > void setPrintableData( bool ); > > int version() const; > void setVersion( int ); > > QDataStream &operator>>( Q_INT8 &i ); > QDataStream &operator>>( Q_UINT8 &i ); > QDataStream &operator>>( Q_INT16 &i ); > QDataStream &operator>>( Q_UINT16 &i ); > QDataStream &operator>>( Q_INT32 &i ); > QDataStream &operator>>( Q_UINT32 &i ); > QDataStream &operator>>( Q_INT64 &i ); > QDataStream &operator>>( Q_UINT64 &i ); > > QDataStream &operator>>( Q_LONG &i ); > QDataStream &operator>>( Q_ULONG &i ); > > > QDataStream &operator>>( float &f ); > QDataStream &operator>>( double &f ); > QDataStream &operator>>( char *&str ); > > QDataStream &operator<<( Q_INT8 i ); > QDataStream &operator<<( Q_UINT8 i ); > QDataStream &operator<<( Q_INT16 i ); > QDataStream &operator<<( Q_UINT16 i ); > QDataStream &operator<<( Q_INT32 i ); > QDataStream &operator<<( Q_UINT32 i ); > QDataStream &operator<<( Q_INT64 i ); > QDataStream &operator<<( Q_UINT64 i ); > > QDataStream &operator<<( Q_LONG i ); > QDataStream &operator<<( Q_ULONG i ); > > QDataStream &operator<<( float f ); > QDataStream &operator<<( double f ); > QDataStream &operator<<( const char *str ); > > QDataStream &readBytes( char *&, uint &len ); > QDataStream &readRawBytes( char *, uint len ); > > QDataStream &writeBytes( const char *, uint len ); > QDataStream &writeRawBytes( const char *, uint len ); > >private: > QIODevice *dev; > bool owndev; > int byteorder; > bool printable; > bool noswap; > int ver; > >private: > > QDataStream( const QDataStream & ); > QDataStream &operator=( const QDataStream & ); > >}; > > > > > > >inline QIODevice *QDataStream::device() const >{ return dev; } > >inline bool QDataStream::atEnd() const >{ return dev ? dev->atEnd() : TRUE; } > >inline bool QDataStream::eof() const >{ return atEnd(); } > >inline int QDataStream::byteOrder() const >{ return byteorder; } > >inline bool QDataStream::isPrintableData() const >{ return printable; } > >inline void QDataStream::setPrintableData( bool p ) >{ printable = p; } > >inline int QDataStream::version() const >{ return ver; } > >inline void QDataStream::setVersion( int v ) >{ ver = v; } > >inline QDataStream &QDataStream::operator>>( Q_UINT8 &i ) >{ return *this >> (Q_INT8&)i; } > >inline QDataStream &QDataStream::operator>>( Q_UINT16 &i ) >{ return *this >> (Q_INT16&)i; } > >inline QDataStream &QDataStream::operator>>( Q_UINT32 &i ) >{ return *this >> (Q_INT32&)i; } > >inline QDataStream &QDataStream::operator>>( Q_UINT64 &i ) >{ return *this >> (Q_INT64&)i; } > > >inline QDataStream &QDataStream::operator>>( Q_ULONG &i ) >{ return *this >> (Q_LONG&)i; } > > >inline QDataStream &QDataStream::operator<<( Q_UINT8 i ) >{ return *this << (Q_INT8)i; } > >inline QDataStream &QDataStream::operator<<( Q_UINT16 i ) >{ return *this << (Q_INT16)i; } > >inline QDataStream &QDataStream::operator<<( Q_UINT32 i ) >{ return *this << (Q_INT32)i; } > >inline QDataStream &QDataStream::operator<<( Q_UINT64 i ) >{ return *this << (Q_INT64)i; } > > >inline QDataStream &QDataStream::operator<<( Q_ULONG i ) >{ return *this << (Q_LONG)i; } ># 45 "/usr/qt/3/include/qvaluelist.h" 2 ># 58 "/usr/qt/3/include/qvaluelist.h" >template <class T> >class QValueListNode >{ >public: > QValueListNode( const T& t ) : data( t ) { } > QValueListNode() { } > > > > > > QValueListNode<T>* next; > QValueListNode<T>* prev; > T data; >}; > >template<class T> >class QValueListIterator >{ > public: > > > > typedef QValueListNode<T>* NodePtr; > > > > typedef T value_type; > typedef size_t size_type; > > > > typedef int difference_type; > > typedef T* pointer; > typedef T& reference; > > > > > NodePtr node; > > > > > QValueListIterator() : node( 0 ) {} > QValueListIterator( NodePtr p ) : node( p ) {} > QValueListIterator( const QValueListIterator<T>& it ) : node( it.node ) {} > > bool operator==( const QValueListIterator<T>& it ) const { return node == it.node; } > bool operator!=( const QValueListIterator<T>& it ) const { return node != it.node; } > const T& operator*() const { return node->data; } > T& operator*() { return node->data; } > > > > QValueListIterator<T>& operator++() { > node = node->next; > return *this; > } > > QValueListIterator<T> operator++(int) { > QValueListIterator<T> tmp = *this; > node = node->next; > return tmp; > } > > QValueListIterator<T>& operator--() { > node = node->prev; > return *this; > } > > QValueListIterator<T> operator--(int) { > QValueListIterator<T> tmp = *this; > node = node->prev; > return tmp; > } > > QValueListIterator<T>& operator+=( int j ) { > while ( j-- ) > node = node->next; > return *this; > } > > QValueListIterator<T>& operator-=( int j ) { > while ( j-- ) > node = node->prev; > return *this; > } > >}; > >template<class T> >class QValueListConstIterator >{ > public: > > > > typedef QValueListNode<T>* NodePtr; > > > > typedef T value_type; > typedef size_t size_type; > > > > typedef int difference_type; > > typedef const T* pointer; > typedef const T& reference; > > > > > NodePtr node; > > > > > QValueListConstIterator() : node( 0 ) {} > QValueListConstIterator( NodePtr p ) : node( p ) {} > QValueListConstIterator( const QValueListConstIterator<T>& it ) : node( it.node ) {} > QValueListConstIterator( const QValueListIterator<T>& it ) : node( it.node ) {} > > bool operator==( const QValueListConstIterator<T>& it ) const { return node == it.node; } > bool operator!=( const QValueListConstIterator<T>& it ) const { return node != it.node; } > const T& operator*() const { return node->data; } > > > > QValueListConstIterator<T>& operator++() { > node = node->next; > return *this; > } > > QValueListConstIterator<T> operator++(int) { > QValueListConstIterator<T> tmp = *this; > node = node->next; > return tmp; > } > > QValueListConstIterator<T>& operator--() { > node = node->prev; > return *this; > } > > QValueListConstIterator<T> operator--(int) { > QValueListConstIterator<T> tmp = *this; > node = node->prev; > return tmp; > } >}; > >template <class T> >class QValueListPrivate : public QShared >{ >public: > > > > typedef QValueListIterator<T> Iterator; > typedef QValueListConstIterator<T> ConstIterator; > typedef QValueListNode<T> Node; > typedef QValueListNode<T>* NodePtr; > typedef size_t size_type; > > > > > QValueListPrivate(); > QValueListPrivate( const QValueListPrivate<T>& _p ); > > void derefAndDelete() > { > if ( deref() ) > delete this; > } > > > > > > ~QValueListPrivate(); > > Iterator insert( Iterator it, const T& x ); > Iterator remove( Iterator it ); > NodePtr find( NodePtr start, const T& x ) const; > int findIndex( NodePtr start, const T& x ) const; > uint contains( const T& x ) const; > uint remove( const T& x ); > NodePtr at( size_type i ) const; > void clear(); > > NodePtr node; > size_type nodes; >}; > >template <class T> > QValueListPrivate<T>::QValueListPrivate() >{ > node = new Node; node->next = node->prev = node; nodes = 0; >} > >template <class T> > QValueListPrivate<T>::QValueListPrivate( const QValueListPrivate<T>& _p ) > : QShared() >{ > node = new Node; node->next = node->prev = node; nodes = 0; > Iterator b( _p.node->next ); > Iterator e( _p.node ); > Iterator i( node ); > while( b != e ) > insert( i, *b++ ); >} > >template <class T> > QValueListPrivate<T>::~QValueListPrivate() { > NodePtr p = node->next; > while( p != node ) { > NodePtr x = p->next; > delete p; > p = x; > } > delete node; >} > >template <class T> > typename QValueListPrivate<T>::Iterator QValueListPrivate<T>::insert( typename QValueListPrivate<T>::Iterator it, const T& x ) >{ > NodePtr p = new Node( x ); > p->next = it.node; > p->prev = it.node->prev; > it.node->prev->next = p; > it.node->prev = p; > nodes++; > return p; >} > >template <class T> > typename QValueListPrivate<T>::Iterator QValueListPrivate<T>::remove( typename QValueListPrivate<T>::Iterator it ) >{ > ((it.node != node) ? (void)0 : qWarning("ASSERT: \"%s\" in %s (%d)","it.node != node","/usr/qt/3/include/qvaluelist.h",301)); > NodePtr next = it.node->next; > NodePtr prev = it.node->prev; > prev->next = next; > next->prev = prev; > delete it.node; > nodes--; > return Iterator( next ); >} > >template <class T> > typename QValueListPrivate<T>::NodePtr QValueListPrivate<T>::find( typename QValueListPrivate<T>::NodePtr start, const T& x ) const >{ > ConstIterator first( start ); > ConstIterator last( node ); > while( first != last) { > if ( *first == x ) > return first.node; > ++first; > } > return last.node; >} > >template <class T> > int QValueListPrivate<T>::findIndex( typename QValueListPrivate<T>::NodePtr start, const T& x ) const >{ > ConstIterator first( start ); > ConstIterator last( node ); > int pos = 0; > while( first != last) { > if ( *first == x ) > return pos; > ++first; > ++pos; > } > return -1; >} > >template <class T> > uint QValueListPrivate<T>::contains( const T& x ) const >{ > uint result = 0; > Iterator first = Iterator( node->next ); > Iterator last = Iterator( node ); > while( first != last) { > if ( *first == x ) > ++result; > ++first; > } > return result; >} > >template <class T> > uint QValueListPrivate<T>::remove( const T& x ) >{ > uint result = 0; > Iterator first = Iterator( node->next ); > Iterator last = Iterator( node ); > while( first != last) { > if ( *first == x ) { > first = remove( first ); > ++result; > } else > ++first; > } > return result; >} > >template <class T> > typename QValueListPrivate<T>::NodePtr QValueListPrivate<T>::at( size_type i ) const >{ > ((i <= nodes) ? (void)0 : qWarning("ASSERT: \"%s\" in %s (%d)","i <= nodes","/usr/qt/3/include/qvaluelist.h",372)); > NodePtr p = node->next; > for( size_type x = 0; x < i; ++x ) > p = p->next; > return p; >} > >template <class T> > void QValueListPrivate<T>::clear() >{ > nodes = 0; > NodePtr p = node->next; > while( p != node ) { > NodePtr next = p->next; > delete p; > p = next; > } > node->next = node->prev = node; >} ># 405 "/usr/qt/3/include/qvaluelist.h" >template <class T> class QDeepCopy; > >template <class T> >class QValueList >{ >public: > > > > typedef QValueListIterator<T> iterator; > typedef QValueListConstIterator<T> const_iterator; > typedef T value_type; > typedef value_type* pointer; > typedef const value_type* const_pointer; > typedef value_type& reference; > typedef const value_type& const_reference; > typedef size_t size_type; > > > > typedef int difference_type; > > > > > > QValueList() { sh = new QValueListPrivate<T>; } > QValueList( const QValueList<T>& l ) { sh = l.sh; sh->ref(); } > > > > > > > > ~QValueList() { sh->derefAndDelete(); } > > QValueList<T>& operator= ( const QValueList<T>& l ) > { > l.sh->ref(); > sh->derefAndDelete(); > sh = l.sh; > return *this; > } ># 471 "/usr/qt/3/include/qvaluelist.h" > bool operator== ( const QValueList<T>& l ) const; > bool operator!= ( const QValueList<T>& l ) const { return !( *this == l ); } > iterator begin() { detach(); return iterator( sh->node->next ); } > const_iterator begin() const { return const_iterator( sh->node->next ); } > const_iterator constBegin() const { return const_iterator( sh->node->next ); } > iterator end() { detach(); return iterator( sh->node ); } > const_iterator end() const { return const_iterator( sh->node ); } > const_iterator constEnd() const { return const_iterator( sh->node ); } > iterator insert( iterator it, const T& x ) { detach(); return sh->insert( it, x ); } > uint remove( const T& x ) { detach(); return sh->remove( x ); } > void clear(); > > > QValueList<T>& operator<< ( const T& x ) > { > append( x ); > return *this; > } > > size_type size() const { return sh->nodes; } > bool empty() const { return sh->nodes == 0; } > void push_front( const T& x ) { detach(); sh->insert( begin(), x ); } > void push_back( const T& x ) { detach(); sh->insert( end(), x ); } > iterator erase( iterator pos ) { detach(); return sh->remove( pos ); } > iterator erase( iterator first, iterator last ); > reference front() { ; return *begin(); } > const_reference front() const { ; return *begin(); } > reference back() { ; return *(--end()); } > const_reference back() const { ; return *(--end()); } > void pop_front() { ; erase( begin() ); } > void pop_back() { > ; > iterator tmp = end(); > erase( --tmp ); > } > void insert( iterator pos, size_type n, const T& x ); ># 517 "/usr/qt/3/include/qvaluelist.h" > QValueList<T> operator+ ( const QValueList<T>& l ) const; > QValueList<T>& operator+= ( const QValueList<T>& l ); > > iterator fromLast() { detach(); return iterator( sh->node->prev ); } > const_iterator fromLast() const { return const_iterator( sh->node->prev ); } > > bool isEmpty() const { return ( sh->nodes == 0 ); } > > iterator append( const T& x ) { detach(); return sh->insert( end(), x ); } > iterator prepend( const T& x ) { detach(); return sh->insert( begin(), x ); } > > iterator remove( iterator it ) { detach(); return sh->remove( it ); } > > T& first() { ; detach(); return sh->node->next->data; } > const T& first() const { ; return sh->node->next->data; } > T& last() { ; detach(); return sh->node->prev->data; } > const T& last() const { ; return sh->node->prev->data; } > > T& operator[] ( size_type i ) { ; detach(); return sh->at(i)->data; } > const T& operator[] ( size_type i ) const { ; return sh->at(i)->data; } > iterator at( size_type i ) { ; detach(); return iterator( sh->at(i) ); } > const_iterator at( size_type i ) const { ; return const_iterator( sh->at(i) ); } > iterator find ( const T& x ) { detach(); return iterator( sh->find( sh->node->next, x) ); } > const_iterator find ( const T& x ) const { return const_iterator( sh->find( sh->node->next, x) ); } > iterator find ( iterator it, const T& x ) { detach(); return iterator( sh->find( it.node, x ) ); } > const_iterator find ( const_iterator it, const T& x ) const { return const_iterator( sh->find( it.node, x ) ); } > int findIndex( const T& x ) const { return sh->findIndex( sh->node->next, x) ; } > size_type contains( const T& x ) const { return sh->contains( x ); } > > size_type count() const { return sh->nodes; } > > QValueList<T>& operator+= ( const T& x ) > { > append( x ); > return *this; > } > typedef QValueListIterator<T> Iterator; > typedef QValueListConstIterator<T> ConstIterator; > typedef T ValueType; > >protected: > > > > void detach() { if ( sh->count > 1 ) detachInternal(); } > > > > > QValueListPrivate<T>* sh; > >private: > void detachInternal(); > > friend class QDeepCopy< QValueList<T> >; >}; > >template <class T> > bool QValueList<T>::operator== ( const QValueList<T>& l ) const >{ > if ( size() != l.size() ) > return FALSE; > const_iterator it2 = begin(); > const_iterator it = l.begin(); > for( ; it != l.end(); ++it, ++it2 ) > if ( !( *it == *it2 ) ) > return FALSE; > return TRUE; >} > >template <class T> > void QValueList<T>::clear() >{ > if ( sh->count == 1 ) sh->clear(); else { sh->deref(); sh = new QValueListPrivate<T>; } >} > >template <class T> > typename QValueList<T>::iterator QValueList<T>::erase( typename QValueList<T>::iterator first, typename QValueList<T>::iterator last ) >{ > while ( first != last ) > erase( first++ ); > return last; >} > > >template <class T> > void QValueList<T>::insert( typename QValueList<T>::iterator pos, size_type n, const T& x ) >{ > for ( ; n > 0; --n ) > insert( pos, x ); >} > >template <class T> > QValueList<T> QValueList<T>::operator+ ( const QValueList<T>& l ) const >{ > QValueList<T> l2( *this ); > for( const_iterator it = l.begin(); it != l.end(); ++it ) > l2.append( *it ); > return l2; >} > >template <class T> > QValueList<T>& QValueList<T>::operator+= ( const QValueList<T>& l ) >{ > for( const_iterator it = l.begin(); it != l.end(); ++it ) > append( *it ); > return *this; >} > >template <class T> > void QValueList<T>::detachInternal() >{ > sh->deref(); sh = new QValueListPrivate<T>( *sh ); >} > > >template <class T> > QDataStream& operator>>( QDataStream& s, QValueList<T>& l ) >{ > l.clear(); > Q_UINT32 c; > s >> c; > for( Q_UINT32 i = 0; i < c; ++i ) > { > T t; > s >> t; > l.append( t ); > if ( s.atEnd() ) > break; > } > return s; >} > >template <class T> > QDataStream& operator<<( QDataStream& s, const QValueList<T>& l ) >{ > s << (Q_UINT32)l.size(); > QValueListConstIterator<T> it = l.begin(); > for( ; it != l.end(); ++it ) > s << *it; > return s; >} > > > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 664 "/usr/qt/3/include/qvaluelist.h" 2 ># 43 "/usr/qt/3/include/qstringlist.h" 2 > ># 1 "/usr/qt/3/include/qstrlist.h" 1 ># 43 "/usr/qt/3/include/qstrlist.h" ># 1 "/usr/qt/3/include/qptrlist.h" 1 ># 40 "/usr/qt/3/include/qptrlist.h" ># 1 "/usr/qt/3/include/qglist.h" 1 ># 45 "/usr/qt/3/include/qglist.h" >class QLNode >{ >friend class QGList; >friend class QGListIterator; >friend class QGListStdIterator; >public: > QPtrCollection::Item getData() { return data; } >private: > QPtrCollection::Item data; > QLNode *prev; > QLNode *next; > QLNode( QPtrCollection::Item d ) { data = d; } >}; > >class QGListIteratorList; > >class QGList : public QPtrCollection >{ >friend class QGListIterator; >friend class QGListIteratorList; >friend class QGVector; >public: > uint count() const; > > > QDataStream &read( QDataStream & ); > QDataStream &write( QDataStream & ) const; > >protected: > QGList(); > QGList( const QGList & ); > virtual ~QGList(); > > QGList &operator=( const QGList & ); > bool operator==( const QGList& ) const; > > void inSort( QPtrCollection::Item ); > void append( QPtrCollection::Item ); > bool insertAt( uint index, QPtrCollection::Item ); > void relinkNode( QLNode * ); > bool removeNode( QLNode * ); > bool remove( QPtrCollection::Item = 0 ); > bool removeRef( QPtrCollection::Item = 0 ); > bool removeFirst(); > bool removeLast(); > bool removeAt( uint ); > bool replaceAt( uint, QPtrCollection::Item ); > QPtrCollection::Item takeNode( QLNode * ); > QPtrCollection::Item take(); > QPtrCollection::Item takeAt( uint index ); > QPtrCollection::Item takeFirst(); > QPtrCollection::Item takeLast(); > > void sort(); > void clear(); > > int findRef( QPtrCollection::Item, bool = TRUE ); > int find( QPtrCollection::Item, bool = TRUE ); > > uint containsRef( QPtrCollection::Item ) const; > uint contains( QPtrCollection::Item ) const; > > QPtrCollection::Item at( uint index ); > int at() const; > QLNode *currentNode() const; > > QPtrCollection::Item get() const; > > QPtrCollection::Item cfirst() const; > QPtrCollection::Item clast() const; > QPtrCollection::Item first(); > QPtrCollection::Item last(); > QPtrCollection::Item next(); > QPtrCollection::Item prev(); > > void toVector( QGVector * ) const; > > virtual int compareItems( QPtrCollection::Item, QPtrCollection::Item ); > > > virtual QDataStream &read( QDataStream &, QPtrCollection::Item & ); > virtual QDataStream &write( QDataStream &, QPtrCollection::Item ) const; > > > QLNode* begin() const { return firstNode; } > QLNode* end() const { return 0; } > QLNode* erase( QLNode* it ); > >private: > void prepend( QPtrCollection::Item ); > > void heapSortPushDown( QPtrCollection::Item* heap, int first, int last ); > > QLNode *firstNode; > QLNode *lastNode; > QLNode *curNode; > int curIndex; > uint numNodes; > QGListIteratorList *iterators; > > QLNode *locate( uint ); > QLNode *unlink(); >}; > > >inline uint QGList::count() const >{ > return numNodes; >} > >inline bool QGList::removeFirst() >{ > first(); > return remove(); >} > >inline bool QGList::removeLast() >{ > last(); > return remove(); >} > >inline int QGList::at() const >{ > return curIndex; >} > >inline QPtrCollection::Item QGList::at( uint index ) >{ > QLNode *n = locate( index ); > return n ? n->data : 0; >} > >inline QLNode *QGList::currentNode() const >{ > return curNode; >} > >inline QPtrCollection::Item QGList::get() const >{ > return curNode ? curNode->data : 0; >} > >inline QPtrCollection::Item QGList::cfirst() const >{ > return firstNode ? firstNode->data : 0; >} > >inline QPtrCollection::Item QGList::clast() const >{ > return lastNode ? lastNode->data : 0; >} > > > > > > > > QDataStream &operator>>( QDataStream &, QGList & ); > QDataStream &operator<<( QDataStream &, const QGList & ); > > > > > > >class QGListIterator >{ >friend class QGList; >friend class QGListIteratorList; >protected: > QGListIterator( const QGList & ); > QGListIterator( const QGListIterator & ); > QGListIterator &operator=( const QGListIterator & ); > ~QGListIterator(); > > bool atFirst() const; > bool atLast() const; > QPtrCollection::Item toFirst(); > QPtrCollection::Item toLast(); > > QPtrCollection::Item get() const; > QPtrCollection::Item operator()(); > QPtrCollection::Item operator++(); > QPtrCollection::Item operator+=(uint); > QPtrCollection::Item operator--(); > QPtrCollection::Item operator-=(uint); > >protected: > QGList *list; > >private: > QLNode *curNode; >}; > > >inline bool QGListIterator::atFirst() const >{ > return curNode == list->firstNode; >} > >inline bool QGListIterator::atLast() const >{ > return curNode == list->lastNode; >} > >inline QPtrCollection::Item QGListIterator::get() const >{ > return curNode ? curNode->data : 0; >} > >class QGListStdIterator >{ >public: > inline QGListStdIterator( QLNode* n ) : node( n ){} > inline operator QLNode* () { return node; } >protected: > inline QLNode *next() { return node->next; } > QLNode *node; >}; ># 41 "/usr/qt/3/include/qptrlist.h" 2 > > >template<class type> >class QPtrListStdIterator : public QGListStdIterator >{ >public: > inline QPtrListStdIterator( QLNode* n ): QGListStdIterator(n) {} > type *operator*() { return node ? (type *)node->getData() : 0; } > inline QPtrListStdIterator<type> operator++() > { node = next(); return *this; } > inline QPtrListStdIterator<type> operator++(int) > { QLNode* n = node; node = next(); return QPtrListStdIterator<type>( n ); } > inline bool operator==( const QPtrListStdIterator<type>& it ) const { return node == it.node; } > inline bool operator!=( const QPtrListStdIterator<type>& it ) const { return node != it.node; } >}; > > >template<class type> >class QPtrList > > > > : public QGList > >{ >public: > > QPtrList() {} > QPtrList( const QPtrList<type> &l ) : QGList(l) {} > ~QPtrList() { clear(); } > QPtrList<type> &operator=(const QPtrList<type> &l) > { return (QPtrList<type>&)QGList::operator=(l); } > bool operator==( const QPtrList<type> &list ) const > { return QGList::operator==( list ); } > bool operator!=( const QPtrList<type> &list ) const > { return !QGList::operator==( list ); } > uint count() const { return QGList::count(); } > bool isEmpty() const { return QGList::count() == 0; } > bool insert( uint i, const type *d){ return QGList::insertAt(i,(QPtrCollection::Item)d); } > void inSort( const type *d ) { QGList::inSort((QPtrCollection::Item)d); } > void prepend( const type *d ) { QGList::insertAt(0,(QPtrCollection::Item)d); } > void append( const type *d ) { QGList::append((QPtrCollection::Item)d); } > bool remove( uint i ) { return QGList::removeAt(i); } > bool remove() { return QGList::remove((QPtrCollection::Item)0); } > bool remove( const type *d ) { return QGList::remove((QPtrCollection::Item)d); } > bool removeRef( const type *d ) { return QGList::removeRef((QPtrCollection::Item)d); } > void removeNode( QLNode *n ) { QGList::removeNode(n); } > bool removeFirst() { return QGList::removeFirst(); } > bool removeLast() { return QGList::removeLast(); } > type *take( uint i ) { return (type *)QGList::takeAt(i); } > type *take() { return (type *)QGList::take(); } > type *takeNode( QLNode *n ) { return (type *)QGList::takeNode(n); } > void clear() { QGList::clear(); } > void sort() { QGList::sort(); } > int find( const type *d ) { return QGList::find((QPtrCollection::Item)d); } > int findNext( const type *d ) { return QGList::find((QPtrCollection::Item)d,FALSE); } > int findRef( const type *d ) { return QGList::findRef((QPtrCollection::Item)d); } > int findNextRef( const type *d ){ return QGList::findRef((QPtrCollection::Item)d,FALSE);} > uint contains( const type *d ) const { return QGList::contains((QPtrCollection::Item)d); } > uint containsRef( const type *d ) const > { return QGList::containsRef((QPtrCollection::Item)d); } > bool replace( uint i, const type *d ) { return QGList::replaceAt( i, (QPtrCollection::Item)d ); } > type *at( uint i ) { return (type *)QGList::at(i); } > int at() const { return QGList::at(); } > type *current() const { return (type *)QGList::get(); } > QLNode *currentNode() const { return QGList::currentNode(); } > type *getFirst() const { return (type *)QGList::cfirst(); } > type *getLast() const { return (type *)QGList::clast(); } > type *first() { return (type *)QGList::first(); } > type *last() { return (type *)QGList::last(); } > type *next() { return (type *)QGList::next(); } > type *prev() { return (type *)QGList::prev(); } > void toVector( QGVector *vec )const{ QGList::toVector(vec); } > > > > typedef QPtrListStdIterator<type> Iterator; > typedef QPtrListStdIterator<type> ConstIterator; > inline Iterator begin() { return QGList::begin(); } > inline ConstIterator begin() const { return QGList::begin(); } > inline ConstIterator constBegin() const { return QGList::begin(); } > inline Iterator end() { return QGList::end(); } > inline ConstIterator end() const { return QGList::end(); } > inline ConstIterator constEnd() const { return QGList::end(); } > inline Iterator erase( Iterator it ) { return QGList::erase( it ); } > > typedef Iterator iterator; > typedef ConstIterator const_iterator; ># 138 "/usr/qt/3/include/qptrlist.h" >private: > void deleteItem( Item d ); >}; > > >template<> inline void QPtrList<void>::deleteItem( QPtrCollection::Item ) >{ >} > > >template<class type> inline void QPtrList<type>::deleteItem( QPtrCollection::Item d ) >{ > if ( del_item ) delete (type *)d; >} > >template<class type> >class QPtrListIterator : public QGListIterator >{ >public: > QPtrListIterator(const QPtrList<type> &l) :QGListIterator((QGList &)l) {} > ~QPtrListIterator() {} > uint count() const { return list->count(); } > bool isEmpty() const { return list->count() == 0; } > bool atFirst() const { return QGListIterator::atFirst(); } > bool atLast() const { return QGListIterator::atLast(); } > type *toFirst() { return (type *)QGListIterator::toFirst(); } > type *toLast() { return (type *)QGListIterator::toLast(); } > operator type *() const { return (type *)QGListIterator::get(); } > type *operator*() { return (type *)QGListIterator::get(); } > > > > > > > > type *current() const { return (type *)QGListIterator::get(); } > type *operator()() { return (type *)QGListIterator::operator()();} > type *operator++() { return (type *)QGListIterator::operator++(); } > type *operator+=(uint j) { return (type *)QGListIterator::operator+=(j);} > type *operator--() { return (type *)QGListIterator::operator--(); } > type *operator-=(uint j) { return (type *)QGListIterator::operator-=(j);} > QPtrListIterator<type>& operator=(const QPtrListIterator<type>&it) > { QGListIterator::operator=(it); return *this; } >}; > > > > > > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 191 "/usr/qt/3/include/qptrlist.h" 2 ># 44 "/usr/qt/3/include/qstrlist.h" 2 ># 52 "/usr/qt/3/include/qstrlist.h" >typedef QPtrListIterator<char> QStrListIterator; > > >class QStrList : public QPtrList<char> >{ >public: > QStrList( bool deepCopies=TRUE ) { dc = deepCopies; del_item = deepCopies; } > QStrList( const QStrList & ); > ~QStrList() { clear(); } > QStrList& operator=( const QStrList & ); > >private: > QPtrCollection::Item newItem( QPtrCollection::Item d ) { return dc ? qstrdup( (const char*)d ) : d; } > void deleteItem( QPtrCollection::Item d ) { if ( del_item ) delete[] (char*)d; } > int compareItems( QPtrCollection::Item s1, QPtrCollection::Item s2 ) { return qstrcmp((const char*)s1, > (const char*)s2); } > > QDataStream &read( QDataStream &s, QPtrCollection::Item &d ) > { s >> (char *&)d; return s; } > QDataStream &write( QDataStream &s, QPtrCollection::Item d ) const > { return s << (const char *)d; } > > bool dc; >}; > > >class QStrIList : public QStrList >{ >public: > QStrIList( bool deepCopies=TRUE ) : QStrList( deepCopies ) {} > ~QStrIList() { clear(); } >private: > int compareItems( QPtrCollection::Item s1, QPtrCollection::Item s2 ) > { return qstricmp((const char*)s1, > (const char*)s2); } >}; > > >inline QStrList & QStrList::operator=( const QStrList &strList ) >{ > clear(); > dc = strList.dc; > del_item = dc; > QPtrList<char>::operator=( strList ); > return *this; >} > >inline QStrList::QStrList( const QStrList &strList ) > : QPtrList<char>( strList ) >{ > dc = FALSE; > operator=( strList ); >} ># 45 "/usr/qt/3/include/qstringlist.h" 2 > > > > >class QRegExp; >template <class T> class QDeepCopy; > > > > > > > >class QStringList : public QValueList<QString> >{ >public: > QStringList() { } > QStringList( const QStringList& l ) : QValueList<QString>(l) { } > QStringList( const QValueList<QString>& l ) : QValueList<QString>(l) { } > QStringList( const QString& i ) { append(i); } > > QStringList( const char* i ) { append(i); } > > > static QStringList fromStrList(const QStrList&); > > void sort(); > > static QStringList split( const QString &sep, const QString &str, bool allowEmptyEntries = FALSE ); > static QStringList split( const QChar &sep, const QString &str, bool allowEmptyEntries = FALSE ); > > static QStringList split( const QRegExp &sep, const QString &str, bool allowEmptyEntries = FALSE ); > > QString join( const QString &sep ) const; > > QStringList grep( const QString &str, bool cs = TRUE ) const; > > QStringList grep( const QRegExp &expr ) const; > > > QStringList& gres( const QString &before, const QString &after, > bool cs = TRUE ); > > QStringList& gres( const QRegExp &expr, const QString &after ); > > >protected: > void detach() { QValueList<QString>::detach(); } > friend class QDeepCopy< QStringList >; >}; > > >class QDataStream; >extern QDataStream &operator>>( QDataStream &, QStringList& ); >extern QDataStream &operator<<( QDataStream &, const QStringList& ); ># 29 "../kdecore/kstandarddirs.h" 2 ># 1 "../kdecore/kglobal.h" 1 ># 21 "../kdecore/kglobal.h" ># 1 "../kdecore/kdemacros.h" 1 ># 22 "../kdecore/kglobal.h" 2 ># 1 "../kdecore/kinstance.h" 1 ># 21 "../kdecore/kinstance.h" >class KStandardDirs; >class KAboutData; >class KConfig; >class KIconLoader; >class KCharsets; >class QFont; >class KInstancePrivate; >class KMimeSourceFactory; >class KSharedConfig; ># 44 "../kdecore/kinstance.h" >class KInstance >{ > friend class KStandardDirs; > > public: > > > > > KInstance( const QCString& instanceName) ; ># 65 "../kdecore/kinstance.h" > KInstance( const KAboutData * aboutData ); > > > > > > > > KInstance( KInstance* src ); > > > > > virtual ~KInstance(); > > > > > > KStandardDirs *dirs() const; > > > > > > KConfig *config() const; > > > > > > KSharedConfig *sharedConfig() const; > > > > > > KIconLoader *iconLoader() const; > > > > > void newIconLoader() const; > > > > > > > > const KAboutData *aboutData() const; > > > > > > > QCString instanceName() const; > > > > > > > KMimeSourceFactory* mimeSourceFactory () const; > >protected: > > > > KInstance( const KInstance& ); > > > > > > > void setConfigName(const QString &name); > >private: > mutable KStandardDirs *_dirs; > > mutable KConfig *_config; > mutable KIconLoader *_iconLoader; > > QCString _name; > const KAboutData *_aboutData; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > KInstancePrivate *d; >}; ># 23 "../kdecore/kglobal.h" 2 > >class KCharsets; >class KConfig; >class KSharedConfig; >class KIconLoader; >class KLocale; >class KStandardDirs; >class KStaticDeleterBase; >class KStaticDeleterList; >class KStringDict; >class QString; ># 45 "../kdecore/kglobal.h" >class KGlobal >{ >public: > > > > > > > > static KInstance *instance(); > > > > > > static KStandardDirs *dirs(); > > > > > > static KConfig *config(); > > > > > > static KSharedConfig *sharedConfig(); > > > > > > static KIconLoader *iconLoader(); > > > > > > static KLocale *locale(); > > > > > > static KCharsets *charsets(); ># 110 "../kdecore/kglobal.h" > static const QString &staticQString(const char *str); ># 129 "../kdecore/kglobal.h" > static const QString &staticQString(const QString &str); > > > > > > > > static void registerStaticDeleter(KStaticDeleterBase *d); > > > > > > > > static void unregisterStaticDeleter(KStaticDeleterBase *d); > > > > > > > > static void deleteStaticDeleters(); > > > static KStringDict *_stringDict; > static KInstance *_instance; > static KLocale *_locale; > static KCharsets *_charsets; > static KStaticDeleterList *_staticDeleters; > > > > > > > > static void setActiveInstance(KInstance *d); > static KInstance *activeInstance() { return _activeInstance; } > > static KInstance *_activeInstance; >}; ># 197 "../kdecore/kglobal.h" >template<class T> >inline const T& kMin (const T& a, const T& b) { return a < b ? a : b; } > >template<class T> >inline const T& kMax (const T& a, const T& b) { return b < a ? a : b; } > >template<class T> >inline T kAbs (const T& a) { return a < 0 ? -a : a; } > >template<class T> >inline const T& kClamp( const T& x, const T& low, const T& high ) >{ > if ( x < low ) return low; > else if ( high < x ) return high; > else return x; >} ># 30 "../kdecore/kstandarddirs.h" 2 > >class KConfig; >class KStandardDirsPrivate; ># 125 "../kdecore/kstandarddirs.h" >class KStandardDirs >{ >public: > > > > KStandardDirs( ); > > > > > virtual ~KStandardDirs(); ># 147 "../kdecore/kstandarddirs.h" > void addPrefix( const QString& dir ); ># 156 "../kdecore/kstandarddirs.h" > void addXdgConfigPrefix( const QString& dir ); ># 165 "../kdecore/kstandarddirs.h" > void addXdgDataPrefix( const QString& dir ); ># 186 "../kdecore/kstandarddirs.h" > bool addResourceType( const char *type, > const QString& relativename ); ># 204 "../kdecore/kstandarddirs.h" > bool addResourceDir( const char *type, > const QString& absdir); ># 225 "../kdecore/kstandarddirs.h" > QString findResource( const char *type, > const QString& filename ) const; ># 243 "../kdecore/kstandarddirs.h" > bool isRestrictedResource( const char *type, > const QString& relPath=QString::null ) const; ># 258 "../kdecore/kstandarddirs.h" > Q_UINT32 calcResourceHash( const char *type, > const QString& filename, bool deep) const; ># 277 "../kdecore/kstandarddirs.h" > QStringList findDirs( const char *type, > const QString& reldir ) const; ># 300 "../kdecore/kstandarddirs.h" > QString findResourceDir( const char *type, > const QString& filename) const; ># 323 "../kdecore/kstandarddirs.h" > QStringList findAllResources( const char *type, > const QString& filter = QString::null, > bool recursive = false, > bool unique = false) const; ># 350 "../kdecore/kstandarddirs.h" > QStringList findAllResources( const char *type, > const QString& filter, > bool recursive, > bool unique, > QStringList &relPaths) const; ># 365 "../kdecore/kstandarddirs.h" > static QStringList systemPaths( const QString& pstr=QString::null ); ># 384 "../kdecore/kstandarddirs.h" > static QString findExe( const QString& appname, > const QString& pathstr=QString::null, > bool ignoreExecBit=false ); ># 406 "../kdecore/kstandarddirs.h" > static int findAllExe( QStringList& list, const QString& appname, > const QString& pathstr=QString::null, > bool ignoreExecBit=false ); ># 419 "../kdecore/kstandarddirs.h" > void addKDEDefaults(); ># 430 "../kdecore/kstandarddirs.h" > bool addCustomized(KConfig *config); ># 443 "../kdecore/kstandarddirs.h" > QStringList resourceDirs(const char *type) const; > > > > > > > > QStringList allTypes() const; ># 470 "../kdecore/kstandarddirs.h" > QString saveLocation(const char *type, > const QString& suffix = QString::null, > bool create = true) const; ># 489 "../kdecore/kstandarddirs.h" > QString relativeLocation(const char *type, const QString &absPath); ># 501 "../kdecore/kstandarddirs.h" > static bool makeDir(const QString& dir, int mode = 0755); ># 530 "../kdecore/kstandarddirs.h" > static QString kde_default(const char *type); > > > > > QString kfsstnd_prefixes(); > > > > > > > > QString localkdedir() const; > > > > > > QString localxdgdatadir() const; > > > > > > QString localxdgconfdir() const; > > > > > > > > static bool exists(const QString &fullPath); ># 573 "../kdecore/kstandarddirs.h" > static QString realPath(const QString &dirname); > private: > > QStringList prefixes; > > > QDict<QStringList> absolutes; > QDict<QStringList> relatives; > > mutable QDict<QStringList> dircache; > mutable QDict<QString> savelocations; > > > KStandardDirs( const KStandardDirs& ); > KStandardDirs& operator= ( const KStandardDirs& ); > > bool addedCustoms; > > class KStandardDirsPrivate; > KStandardDirsPrivate *d; > > void checkConfig() const; > void applyDataRestrictions(const QString &) const; > void createSpecialResource(const char*); > > > > > void addPrefix( const QString& dir, bool priority ); > void addXdgConfigPrefix( const QString& dir, bool priority ); > void addXdgDataPrefix( const QString& dir, bool priority ); > > > > bool addResourceType( const char *type, > const QString& relativename, bool priority ); > bool addResourceDir( const char *type, > const QString& absdir, bool priority); >}; ># 669 "../kdecore/kstandarddirs.h" >QString locate( const char *type, const QString& filename, const KInstance* instance = KGlobal::instance() ); ># 680 "../kdecore/kstandarddirs.h" >QString locateLocal( const char *type, const QString& filename, const KInstance* instance = KGlobal::instance() ); ># 691 "../kdecore/kstandarddirs.h" >QString locateLocal( const char *type, const QString& filename, bool createDir, const KInstance* instance = KGlobal::instance() ); ># 10 "xslt_pure.cpp" 2 ># 1 "/usr/qt/3/include/qdir.h" 1 ># 42 "/usr/qt/3/include/qdir.h" ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 43 "/usr/qt/3/include/qdir.h" 2 > ># 1 "/usr/qt/3/include/qfileinfo.h" 1 ># 42 "/usr/qt/3/include/qfileinfo.h" ># 1 "/usr/qt/3/include/qfile.h" 1 ># 47 "/usr/qt/3/include/qfile.h" >class QDir; >class QFilePrivate; > >class QFile : public QIODevice >{ >public: > QFile(); > QFile( const QString &name ); > ~QFile(); > > QString name() const; > void setName( const QString &name ); > > typedef QCString (*EncoderFn)( const QString &fileName ); > typedef QString (*DecoderFn)( const QCString &localfileName ); > static QCString encodeName( const QString &fileName ); > static QString decodeName( const QCString &localFileName ); > static void setEncodingFunction( EncoderFn ); > static void setDecodingFunction( DecoderFn ); > > bool exists() const; > static bool exists( const QString &fileName ); > > bool remove(); > static bool remove( const QString &fileName ); > > bool open( int ); > bool open( int, FILE * ); > bool open( int, int ); > void close(); > void flush(); > > Offset size() const; > Offset at() const; > bool at( Offset ); > bool atEnd() const; > > Q_LONG readBlock( char *data, Q_ULONG len ); > Q_LONG writeBlock( const char *data, Q_ULONG len ); > Q_LONG writeBlock( const QByteArray& data ) > { return QIODevice::writeBlock(data); } > Q_LONG readLine( char *data, Q_ULONG maxlen ); > Q_LONG readLine( QString &, Q_ULONG maxlen ); > > int getch(); > int putch( int ); > int ungetch( int ); > > int handle() const; > > QString errorString() const; > >protected: > void setErrorString( const QString& ); > QString fn; > FILE *fh; > int fd; > Offset length; > bool ext_f; > QFilePrivate *d; > >private: > void init(); > void setErrorStringErrno( int ); > QCString ungetchBuffer; > >private: > > QFile( const QFile & ); > QFile &operator=( const QFile & ); > >}; > > >inline QString QFile::name() const >{ return fn; } > >inline QIODevice::Offset QFile::at() const >{ return ioIndex; } ># 43 "/usr/qt/3/include/qfileinfo.h" 2 ># 1 "/usr/qt/3/include/qdatetime.h" 1 ># 43 "/usr/qt/3/include/qdatetime.h" ># 1 "/usr/qt/3/include/qnamespace.h" 1 ># 42 "/usr/qt/3/include/qnamespace.h" ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 43 "/usr/qt/3/include/qnamespace.h" 2 > > > >class QColor; >class QCursor; > > >class Qt { >public: > static const QColor & color0; > static const QColor & color1; > static const QColor & black; > static const QColor & white; > static const QColor & darkGray; > static const QColor & gray; > static const QColor & lightGray; > static const QColor & red; > static const QColor & green; > static const QColor & blue; > static const QColor & cyan; > static const QColor & magenta; > static const QColor & yellow; > static const QColor & darkRed; > static const QColor & darkGreen; > static const QColor & darkBlue; > static const QColor & darkCyan; > static const QColor & darkMagenta; > static const QColor & darkYellow; > > > enum ButtonState { > NoButton = 0x0000, > LeftButton = 0x0001, > RightButton = 0x0002, > MidButton = 0x0004, > MouseButtonMask = 0x0007, > ShiftButton = 0x0100, > ControlButton = 0x0200, > AltButton = 0x0400, > MetaButton = 0x0800, > KeyButtonMask = 0x0f00, > Keypad = 0x4000 > }; > > > > enum Orientation { > Horizontal = 0, > Vertical > }; > > > enum SortOrder { > Ascending, > Descending > }; > > > > > > > enum AlignmentFlags { > AlignAuto = 0x0000, > AlignLeft = 0x0001, > AlignRight = 0x0002, > AlignHCenter = 0x0004, > AlignJustify = 0x0008, > AlignHorizontal_Mask = AlignLeft | AlignRight | AlignHCenter | AlignJustify, > AlignTop = 0x0010, > AlignBottom = 0x0020, > AlignVCenter = 0x0040, > AlignVertical_Mask = AlignTop | AlignBottom | AlignVCenter, > AlignCenter = AlignVCenter | AlignHCenter > }; > > > enum TextFlags { > SingleLine = 0x0080, > DontClip = 0x0100, > ExpandTabs = 0x0200, > ShowPrefix = 0x0400, > WordBreak = 0x0800, > BreakAnywhere = 0x1000, > > DontPrint = 0x2000, > Underline = 0x01000000, > Overline = 0x02000000, > StrikeOut = 0x04000000, > IncludeTrailingSpaces = 0x08000000, > > NoAccel = 0x4000 > }; > > > typedef uint WState; > > > enum WidgetState { > WState_Created = 0x00000001, > WState_Disabled = 0x00000002, > WState_Visible = 0x00000004, > WState_ForceHide = 0x00000008, > WState_OwnCursor = 0x00000010, > WState_MouseTracking = 0x00000020, > WState_CompressKeys = 0x00000040, > WState_BlockUpdates = 0x00000080, > WState_InPaintEvent = 0x00000100, > WState_Reparented = 0x00000200, > WState_ConfigPending = 0x00000400, > WState_Resized = 0x00000800, > WState_AutoMask = 0x00001000, > WState_Polished = 0x00002000, > WState_DND = 0x00004000, > WState_Reserved0 = 0x00008000, > WState_FullScreen = 0x00010000, > WState_OwnSizePolicy = 0x00020000, > WState_CreatedHidden = 0x00040000, > WState_Maximized = 0x00080000, > WState_Minimized = 0x00100000, > WState_ForceDisabled = 0x00200000, > WState_Exposed = 0x00400000, > WState_HasMouse = 0x00800000 > }; > > > typedef uint WFlags; > > > enum WidgetFlags { > WType_TopLevel = 0x00000001, > WType_Dialog = 0x00000002, > WType_Popup = 0x00000004, > WType_Desktop = 0x00000008, > WType_Mask = 0x0000000f, > > WStyle_Customize = 0x00000010, > WStyle_NormalBorder = 0x00000020, > WStyle_DialogBorder = 0x00000040, > WStyle_NoBorder = 0x00002000, > WStyle_Title = 0x00000080, > WStyle_SysMenu = 0x00000100, > WStyle_Minimize = 0x00000200, > WStyle_Maximize = 0x00000400, > WStyle_MinMax = WStyle_Minimize | WStyle_Maximize, > WStyle_Tool = 0x00000800, > WStyle_StaysOnTop = 0x00001000, > WStyle_ContextHelp = 0x00004000, > WStyle_Reserved = 0x00008000, > WStyle_Mask = 0x0000fff0, > > WDestructiveClose = 0x00010000, > WPaintDesktop = 0x00020000, > WPaintUnclipped = 0x00040000, > WPaintClever = 0x00080000, > WResizeNoErase = 0x00100000, > WMouseNoMask = 0x00200000, > WStaticContents = 0x00400000, > WRepaintNoErase = 0x00800000, > > WX11BypassWM = 0x01000000, > WWinOwnDC = 0x00000000, > WMacNoSheet = 0x00000000, > WMacDrawer = 0x00000000, ># 218 "/usr/qt/3/include/qnamespace.h" > WGroupLeader = 0x02000000, > WShowModal = 0x04000000, > WNoMousePropagation = 0x08000000, > WSubWindow = 0x10000000, > > WStyle_Splash = 0x20000000, > > > > WNoAutoErase = WRepaintNoErase | WResizeNoErase > > > > > > > > }; > > enum WindowState { > WindowNoState = 0x00000000, > WindowMinimized = 0x00000001, > WindowMaximized = 0x00000002, > WindowFullScreen = 0x00000004, > WindowActive = 0x00000008 > }; > > > > > > > enum ImageConversionFlags { > ColorMode_Mask = 0x00000003, > AutoColor = 0x00000000, > ColorOnly = 0x00000003, > MonoOnly = 0x00000002, > > > AlphaDither_Mask = 0x0000000c, > ThresholdAlphaDither = 0x00000000, > OrderedAlphaDither = 0x00000004, > DiffuseAlphaDither = 0x00000008, > NoAlpha = 0x0000000c, > > Dither_Mask = 0x00000030, > DiffuseDither = 0x00000000, > OrderedDither = 0x00000010, > ThresholdDither = 0x00000020, > > > DitherMode_Mask = 0x000000c0, > AutoDither = 0x00000000, > PreferDither = 0x00000040, > AvoidDither = 0x00000080 > }; > > > enum BGMode { > TransparentMode, > OpaqueMode > }; ># 295 "/usr/qt/3/include/qnamespace.h" > enum GUIStyle { > WindowsStyle = 1, > MotifStyle = 4 > }; ># 310 "/usr/qt/3/include/qnamespace.h" > enum SequenceMatch { > NoMatch, > PartialMatch, > Identical > }; > > > enum Modifier { > META = 0x00100000, > SHIFT = 0x00200000, > CTRL = 0x00400000, > ALT = 0x00800000, > MODIFIER_MASK = 0x00f00000, > UNICODE_ACCEL = 0x10000000, > > ASCII_ACCEL = UNICODE_ACCEL > }; > > > enum Key { > Key_Escape = 0x1000, > Key_Tab = 0x1001, > Key_Backtab = 0x1002, Key_BackTab = Key_Backtab, > Key_Backspace = 0x1003, Key_BackSpace = Key_Backspace, > Key_Return = 0x1004, > Key_Enter = 0x1005, > Key_Insert = 0x1006, > Key_Delete = 0x1007, > Key_Pause = 0x1008, > Key_Print = 0x1009, > Key_SysReq = 0x100a, > Key_Clear = 0x100b, > Key_Home = 0x1010, > Key_End = 0x1011, > Key_Left = 0x1012, > Key_Up = 0x1013, > Key_Right = 0x1014, > Key_Down = 0x1015, > Key_Prior = 0x1016, Key_PageUp = Key_Prior, > Key_Next = 0x1017, Key_PageDown = Key_Next, > Key_Shift = 0x1020, > Key_Control = 0x1021, > Key_Meta = 0x1022, > Key_Alt = 0x1023, > Key_CapsLock = 0x1024, > Key_NumLock = 0x1025, > Key_ScrollLock = 0x1026, > Key_F1 = 0x1030, > Key_F2 = 0x1031, > Key_F3 = 0x1032, > Key_F4 = 0x1033, > Key_F5 = 0x1034, > Key_F6 = 0x1035, > Key_F7 = 0x1036, > Key_F8 = 0x1037, > Key_F9 = 0x1038, > Key_F10 = 0x1039, > Key_F11 = 0x103a, > Key_F12 = 0x103b, > Key_F13 = 0x103c, > Key_F14 = 0x103d, > Key_F15 = 0x103e, > Key_F16 = 0x103f, > Key_F17 = 0x1040, > Key_F18 = 0x1041, > Key_F19 = 0x1042, > Key_F20 = 0x1043, > Key_F21 = 0x1044, > Key_F22 = 0x1045, > Key_F23 = 0x1046, > Key_F24 = 0x1047, > Key_F25 = 0x1048, > Key_F26 = 0x1049, > Key_F27 = 0x104a, > Key_F28 = 0x104b, > Key_F29 = 0x104c, > Key_F30 = 0x104d, > Key_F31 = 0x104e, > Key_F32 = 0x104f, > Key_F33 = 0x1050, > Key_F34 = 0x1051, > Key_F35 = 0x1052, > Key_Super_L = 0x1053, > Key_Super_R = 0x1054, > Key_Menu = 0x1055, > Key_Hyper_L = 0x1056, > Key_Hyper_R = 0x1057, > Key_Help = 0x1058, > Key_Direction_L = 0x1059, > Key_Direction_R = 0x1060, > Key_Space = 0x20, > Key_Any = Key_Space, > Key_Exclam = 0x21, > Key_QuoteDbl = 0x22, > Key_NumberSign = 0x23, > Key_Dollar = 0x24, > Key_Percent = 0x25, > Key_Ampersand = 0x26, > Key_Apostrophe = 0x27, > Key_ParenLeft = 0x28, > Key_ParenRight = 0x29, > Key_Asterisk = 0x2a, > Key_Plus = 0x2b, > Key_Comma = 0x2c, > Key_Minus = 0x2d, > Key_Period = 0x2e, > Key_Slash = 0x2f, > Key_0 = 0x30, > Key_1 = 0x31, > Key_2 = 0x32, > Key_3 = 0x33, > Key_4 = 0x34, > Key_5 = 0x35, > Key_6 = 0x36, > Key_7 = 0x37, > Key_8 = 0x38, > Key_9 = 0x39, > Key_Colon = 0x3a, > Key_Semicolon = 0x3b, > Key_Less = 0x3c, > Key_Equal = 0x3d, > Key_Greater = 0x3e, > Key_Question = 0x3f, > Key_At = 0x40, > Key_A = 0x41, > Key_B = 0x42, > Key_C = 0x43, > Key_D = 0x44, > Key_E = 0x45, > Key_F = 0x46, > Key_G = 0x47, > Key_H = 0x48, > Key_I = 0x49, > Key_J = 0x4a, > Key_K = 0x4b, > Key_L = 0x4c, > Key_M = 0x4d, > Key_N = 0x4e, > Key_O = 0x4f, > Key_P = 0x50, > Key_Q = 0x51, > Key_R = 0x52, > Key_S = 0x53, > Key_T = 0x54, > Key_U = 0x55, > Key_V = 0x56, > Key_W = 0x57, > Key_X = 0x58, > Key_Y = 0x59, > Key_Z = 0x5a, > Key_BracketLeft = 0x5b, > Key_Backslash = 0x5c, > Key_BracketRight = 0x5d, > Key_AsciiCircum = 0x5e, > Key_Underscore = 0x5f, > Key_QuoteLeft = 0x60, > Key_BraceLeft = 0x7b, > Key_Bar = 0x7c, > Key_BraceRight = 0x7d, > Key_AsciiTilde = 0x7e, > > > > Key_nobreakspace = 0x0a0, > Key_exclamdown = 0x0a1, > Key_cent = 0x0a2, > Key_sterling = 0x0a3, > Key_currency = 0x0a4, > Key_yen = 0x0a5, > Key_brokenbar = 0x0a6, > Key_section = 0x0a7, > Key_diaeresis = 0x0a8, > Key_copyright = 0x0a9, > Key_ordfeminine = 0x0aa, > Key_guillemotleft = 0x0ab, > Key_notsign = 0x0ac, > Key_hyphen = 0x0ad, > Key_registered = 0x0ae, > Key_macron = 0x0af, > Key_degree = 0x0b0, > Key_plusminus = 0x0b1, > Key_twosuperior = 0x0b2, > Key_threesuperior = 0x0b3, > Key_acute = 0x0b4, > Key_mu = 0x0b5, > Key_paragraph = 0x0b6, > Key_periodcentered = 0x0b7, > Key_cedilla = 0x0b8, > Key_onesuperior = 0x0b9, > Key_masculine = 0x0ba, > Key_guillemotright = 0x0bb, > Key_onequarter = 0x0bc, > Key_onehalf = 0x0bd, > Key_threequarters = 0x0be, > Key_questiondown = 0x0bf, > Key_Agrave = 0x0c0, > Key_Aacute = 0x0c1, > Key_Acircumflex = 0x0c2, > Key_Atilde = 0x0c3, > Key_Adiaeresis = 0x0c4, > Key_Aring = 0x0c5, > Key_AE = 0x0c6, > Key_Ccedilla = 0x0c7, > Key_Egrave = 0x0c8, > Key_Eacute = 0x0c9, > Key_Ecircumflex = 0x0ca, > Key_Ediaeresis = 0x0cb, > Key_Igrave = 0x0cc, > Key_Iacute = 0x0cd, > Key_Icircumflex = 0x0ce, > Key_Idiaeresis = 0x0cf, > Key_ETH = 0x0d0, > Key_Ntilde = 0x0d1, > Key_Ograve = 0x0d2, > Key_Oacute = 0x0d3, > Key_Ocircumflex = 0x0d4, > Key_Otilde = 0x0d5, > Key_Odiaeresis = 0x0d6, > Key_multiply = 0x0d7, > Key_Ooblique = 0x0d8, > Key_Ugrave = 0x0d9, > Key_Uacute = 0x0da, > Key_Ucircumflex = 0x0db, > Key_Udiaeresis = 0x0dc, > Key_Yacute = 0x0dd, > Key_THORN = 0x0de, > Key_ssharp = 0x0df, > Key_agrave = 0x0e0, > Key_aacute = 0x0e1, > Key_acircumflex = 0x0e2, > Key_atilde = 0x0e3, > Key_adiaeresis = 0x0e4, > Key_aring = 0x0e5, > Key_ae = 0x0e6, > Key_ccedilla = 0x0e7, > Key_egrave = 0x0e8, > Key_eacute = 0x0e9, > Key_ecircumflex = 0x0ea, > Key_ediaeresis = 0x0eb, > Key_igrave = 0x0ec, > Key_iacute = 0x0ed, > Key_icircumflex = 0x0ee, > Key_idiaeresis = 0x0ef, > Key_eth = 0x0f0, > Key_ntilde = 0x0f1, > Key_ograve = 0x0f2, > Key_oacute = 0x0f3, > Key_ocircumflex = 0x0f4, > Key_otilde = 0x0f5, > Key_odiaeresis = 0x0f6, > Key_division = 0x0f7, > Key_oslash = 0x0f8, > Key_ugrave = 0x0f9, > Key_uacute = 0x0fa, > Key_ucircumflex = 0x0fb, > Key_udiaeresis = 0x0fc, > Key_yacute = 0x0fd, > Key_thorn = 0x0fe, > Key_ydiaeresis = 0x0ff, > > > > Key_Back = 0x1061, > Key_Forward = 0x1062, > Key_Stop = 0x1063, > Key_Refresh = 0x1064, > > Key_VolumeDown = 0x1070, > Key_VolumeMute = 0x1071, > Key_VolumeUp = 0x1072, > Key_BassBoost = 0x1073, > Key_BassUp = 0x1074, > Key_BassDown = 0x1075, > Key_TrebleUp = 0x1076, > Key_TrebleDown = 0x1077, > > Key_MediaPlay = 0x1080, > Key_MediaStop = 0x1081, > Key_MediaPrev = 0x1082, > Key_MediaNext = 0x1083, > Key_MediaRecord = 0x1084, > > Key_HomePage = 0x1090, > Key_Favorites = 0x1091, > Key_Search = 0x1092, > Key_Standby = 0x1093, > Key_OpenUrl = 0x1094, > > Key_LaunchMail = 0x10a0, > Key_LaunchMedia = 0x10a1, > Key_Launch0 = 0x10a2, > Key_Launch1 = 0x10a3, > Key_Launch2 = 0x10a4, > Key_Launch3 = 0x10a5, > Key_Launch4 = 0x10a6, > Key_Launch5 = 0x10a7, > Key_Launch6 = 0x10a8, > Key_Launch7 = 0x10a9, > Key_Launch8 = 0x10aa, > Key_Launch9 = 0x10ab, > Key_LaunchA = 0x10ac, > Key_LaunchB = 0x10ad, > Key_LaunchC = 0x10ae, > Key_LaunchD = 0x10af, > Key_LaunchE = 0x10b0, > Key_LaunchF = 0x10b1, > > Key_MediaLast = 0x1fff, > > Key_unknown = 0xffff > }; > > > enum ArrowType { > UpArrow, > DownArrow, > LeftArrow, > RightArrow > }; > > > enum RasterOp { > CopyROP, > OrROP, > XorROP, > NotAndROP, EraseROP=NotAndROP, > NotCopyROP, > NotOrROP, > NotXorROP, > AndROP, NotEraseROP=AndROP, > NotROP, > ClearROP, > SetROP, > NopROP, > AndNotROP, > OrNotROP, > NandROP, > NorROP, LastROP=NorROP > }; > > > enum PenStyle { > NoPen, > SolidLine, > DashLine, > DotLine, > DashDotLine, > DashDotDotLine, > MPenStyle = 0x0f > }; > > > enum PenCapStyle { > FlatCap = 0x00, > SquareCap = 0x10, > RoundCap = 0x20, > MPenCapStyle = 0x30 > }; > > > enum PenJoinStyle { > MiterJoin = 0x00, > BevelJoin = 0x40, > RoundJoin = 0x80, > MPenJoinStyle = 0xc0 > }; > > > enum BrushStyle { > NoBrush, > SolidPattern, > Dense1Pattern, > Dense2Pattern, > Dense3Pattern, > Dense4Pattern, > Dense5Pattern, > Dense6Pattern, > Dense7Pattern, > HorPattern, > VerPattern, > CrossPattern, > BDiagPattern, > FDiagPattern, > DiagCrossPattern, > CustomPattern=24 > }; > > > enum MacintoshVersion { > > MV_Unknown = 0x0000, > > > MV_9 = 0x0001, > MV_10_DOT_0 = 0x0002, > MV_10_DOT_1 = 0x0003, > MV_10_DOT_2 = 0x0004, > MV_10_DOT_3 = 0x0005, > > > MV_CHEETAH = MV_10_DOT_0, > MV_PUMA = MV_10_DOT_1, > MV_JAGUAR = MV_10_DOT_2, > MV_PANTHER = MV_10_DOT_3 > }; > > > enum WindowsVersion { > WV_32s = 0x0001, > WV_95 = 0x0002, > WV_98 = 0x0003, > WV_Me = 0x0004, > WV_DOS_based = 0x000f, > > WV_NT = 0x0010, > WV_2000 = 0x0020, > WV_XP = 0x0030, > WV_2003 = 0x0040, > WV_NT_based = 0x00f0, > > WV_CE = 0x0100, > WV_CENET = 0x0200, > WV_CE_based = 0x0f00 > }; > > > enum UIEffect { > UI_General, > UI_AnimateMenu, > UI_FadeMenu, > UI_AnimateCombo, > UI_AnimateTooltip, > UI_FadeTooltip, > UI_AnimateToolBox > }; > > > enum CursorShape { > ArrowCursor, > UpArrowCursor, > CrossCursor, > WaitCursor, > IbeamCursor, > SizeVerCursor, > SizeHorCursor, > SizeBDiagCursor, > SizeFDiagCursor, > SizeAllCursor, > BlankCursor, > SplitVCursor, > SplitHCursor, > PointingHandCursor, > ForbiddenCursor, > WhatsThisCursor, > BusyCursor, > LastCursor = BusyCursor, > BitmapCursor = 24 > }; > > > > static const QCursor & arrowCursor; > static const QCursor & upArrowCursor; > static const QCursor & crossCursor; > static const QCursor & waitCursor; > static const QCursor & ibeamCursor; > static const QCursor & sizeVerCursor; > static const QCursor & sizeHorCursor; > static const QCursor & sizeBDiagCursor; > static const QCursor & sizeFDiagCursor; > static const QCursor & sizeAllCursor; > static const QCursor & blankCursor; > static const QCursor & splitVCursor; > > static const QCursor & splitHCursor; > > static const QCursor & pointingHandCursor; > static const QCursor & forbiddenCursor; > static const QCursor & whatsThisCursor; > static const QCursor & busyCursor; > > > enum TextFormat { > PlainText, > RichText, > AutoText, > LogText > }; > > > enum AnchorAttribute { > AnchorName, > AnchorHref > }; > > > enum Dock { > DockUnmanaged, > DockTornOff, > DockTop, > DockBottom, > DockRight, > DockLeft, > DockMinimized ># 824 "/usr/qt/3/include/qnamespace.h" > }; > > typedef Dock ToolBarDock; > > > enum DateFormat { > TextDate, > ISODate, > LocalDate > }; > > > enum TimeSpec { > LocalTime, > UTC > }; > > > enum BackgroundMode { > FixedColor, > FixedPixmap, > NoBackground, > PaletteForeground, > PaletteButton, > PaletteLight, > PaletteMidlight, > PaletteDark, > PaletteMid, > PaletteText, > PaletteBrightText, > PaletteBase, > PaletteBackground, > PaletteShadow, > PaletteHighlight, > PaletteHighlightedText, > PaletteButtonText, > PaletteLink, > PaletteLinkVisited, > X11ParentRelative > }; > > typedef uint ComparisonFlags; > > > enum StringComparisonMode { > CaseSensitive = 0x00001, > BeginsWith = 0x00002, > EndsWith = 0x00004, > Contains = 0x00008, > ExactMatch = 0x00010 > }; > > > enum Corner { > TopLeft = 0x00000, > TopRight = 0x00001, > BottomLeft = 0x00002, > BottomRight = 0x00003 > }; ># 891 "/usr/qt/3/include/qnamespace.h" > typedef unsigned long HANDLE; > > > >}; > > >class QInternal { >public: > enum PaintDeviceFlags { > UndefinedDevice = 0x00, > Widget = 0x01, > Pixmap = 0x02, > Printer = 0x03, > Picture = 0x04, > System = 0x05, > DeviceTypeMask = 0x0f, > ExternalDevice = 0x10, > > CompatibilityMode = 0x20 > }; >}; ># 44 "/usr/qt/3/include/qdatetime.h" 2 > > > > > > > >class QDate >{ >public: > QDate() { jd = 0; } > QDate( int y, int m, int d ); > > bool isNull() const { return jd == 0; } > bool isValid() const; > > int year() const; > int month() const; > int day() const; > int dayOfWeek() const; > int dayOfYear() const; > int daysInMonth() const; > int daysInYear() const; > int weekNumber( int *yearNum = 0 ) const; > > > > > > > static QString shortMonthName( int month ); > static QString shortDayName( int weekday ); > static QString longMonthName( int month ); > static QString longDayName( int weekday ); > > > > QString toString( Qt::DateFormat f = Qt::TextDate ) const; > > QString toString( const QString& format ) const; > > bool setYMD( int y, int m, int d ); > > QDate addDays( int days ) const; > QDate addMonths( int months ) const; > QDate addYears( int years ) const; > int daysTo( const QDate & ) const; > > bool operator==( const QDate &d ) const { return jd == d.jd; } > bool operator!=( const QDate &d ) const { return jd != d.jd; } > bool operator<( const QDate &d ) const { return jd < d.jd; } > bool operator<=( const QDate &d ) const { return jd <= d.jd; } > bool operator>( const QDate &d ) const { return jd > d.jd; } > bool operator>=( const QDate &d ) const { return jd >= d.jd; } > > static QDate currentDate(); > static QDate currentDate( Qt::TimeSpec ); > > static QDate fromString( const QString& s, Qt::DateFormat f = Qt::TextDate ); > > static bool isValid( int y, int m, int d ); > static bool leapYear( int year ); > > static uint gregorianToJulian( int y, int m, int d ); > static void julianToGregorian( uint jd, int &y, int &m, int &d ); >private: > uint jd; > friend class QDateTime; > > friend QDataStream &operator<<( QDataStream &, const QDate & ); > friend QDataStream &operator>>( QDataStream &, QDate & ); > >}; > > > > > > >class QTime >{ >public: > QTime() { ds=0; } > QTime( int h, int m, int s=0, int ms=0 ); > > bool isNull() const { return ds == 0; } > bool isValid() const; > > int hour() const; > int minute() const; > int second() const; > int msec() const; > > > QString toString( Qt::DateFormat f = Qt::TextDate ) const; > > QString toString( const QString& format ) const; > > bool setHMS( int h, int m, int s, int ms=0 ); > > QTime addSecs( int secs ) const; > int secsTo( const QTime & ) const; > QTime addMSecs( int ms ) const; > int msecsTo( const QTime & ) const; > > bool operator==( const QTime &d ) const { return ds == d.ds; } > bool operator!=( const QTime &d ) const { return ds != d.ds; } > bool operator<( const QTime &d ) const { return ds < d.ds; } > bool operator<=( const QTime &d ) const { return ds <= d.ds; } > bool operator>( const QTime &d ) const { return ds > d.ds; } > bool operator>=( const QTime &d ) const { return ds >= d.ds; } > > static QTime currentTime(); > static QTime currentTime( Qt::TimeSpec ); > > static QTime fromString( const QString& s, Qt::DateFormat f = Qt::TextDate ); > > static bool isValid( int h, int m, int s, int ms=0 ); > > void start(); > int restart(); > int elapsed() const; > >private: > static bool currentTime( QTime * ); > static bool currentTime( QTime *, Qt::TimeSpec ); > > uint ds; > friend class QDateTime; > > friend QDataStream &operator<<( QDataStream &, const QTime & ); > friend QDataStream &operator>>( QDataStream &, QTime & ); > >}; > > > > > > >class QDateTime >{ >public: > QDateTime() {} > QDateTime( const QDate & ); > QDateTime( const QDate &, const QTime & ); > > bool isNull() const { return d.isNull() && t.isNull(); } > bool isValid() const { return d.isValid() && t.isValid(); } > > QDate date() const { return d; } > QTime time() const { return t; } > uint toTime_t() const; > void setDate( const QDate &date ) { d = date; } > void setTime( const QTime &time ) { t = time; } > void setTime_t( uint secsSince1Jan1970UTC ); > void setTime_t( uint secsSince1Jan1970UTC, Qt::TimeSpec ); > > > QString toString( Qt::DateFormat f = Qt::TextDate ) const; > > QString toString( const QString& format ) const; > > QDateTime addDays( int days ) const; > QDateTime addMonths( int months ) const; > QDateTime addYears( int years ) const; > QDateTime addSecs( int secs ) const; > int daysTo( const QDateTime & ) const; > int secsTo( const QDateTime & ) const; > > bool operator==( const QDateTime &dt ) const; > bool operator!=( const QDateTime &dt ) const; > bool operator<( const QDateTime &dt ) const; > bool operator<=( const QDateTime &dt ) const; > bool operator>( const QDateTime &dt ) const; > bool operator>=( const QDateTime &dt ) const; > > static QDateTime currentDateTime(); > static QDateTime currentDateTime( Qt::TimeSpec ); > > static QDateTime fromString( const QString& s, Qt::DateFormat f = Qt::TextDate ); > >private: > QDate d; > QTime t; > > friend QDataStream &operator<<( QDataStream &, const QDateTime &); > friend QDataStream &operator>>( QDataStream &, QDateTime & ); > >}; > > > > > > > > QDataStream &operator<<( QDataStream &, const QDate & ); > QDataStream &operator>>( QDataStream &, QDate & ); > QDataStream &operator<<( QDataStream &, const QTime & ); > QDataStream &operator>>( QDataStream &, QTime & ); > QDataStream &operator<<( QDataStream &, const QDateTime & ); > QDataStream &operator>>( QDataStream &, QDateTime & ); ># 44 "/usr/qt/3/include/qfileinfo.h" 2 > > > >class QDir; >struct QFileInfoCache; >template <class T> class QDeepCopy; > > >class QFileInfo >{ >public: > enum PermissionSpec { > ReadOwner = 04000, WriteOwner = 02000, ExeOwner = 01000, > ReadUser = 00400, WriteUser = 00200, ExeUser = 00100, > ReadGroup = 00040, WriteGroup = 00020, ExeGroup = 00010, > ReadOther = 00004, WriteOther = 00002, ExeOther = 00001 }; > > QFileInfo(); > QFileInfo( const QString &file ); > QFileInfo( const QFile & ); > > QFileInfo( const QDir &, const QString &fileName ); > > QFileInfo( const QFileInfo & ); > ~QFileInfo(); > > QFileInfo &operator=( const QFileInfo & ); > > void setFile( const QString &file ); > void setFile( const QFile & ); > > void setFile( const QDir &, const QString &fileName ); > > bool exists() const; > void refresh() const; > bool caching() const; > void setCaching( bool ); > > QString filePath() const; > QString fileName() const; > > QString absFilePath() const; > > QString baseName( bool complete = FALSE ) const; > QString extension( bool complete = TRUE ) const; > > > QString dirPath( bool absPath = FALSE ) const; > > > QDir dir( bool absPath = FALSE ) const; > > bool isReadable() const; > bool isWritable() const; > bool isExecutable() const; > bool isHidden() const; > > > bool isRelative() const; > bool convertToAbs(); > > > bool isFile() const; > bool isDir() const; > bool isSymLink() const; > > QString readLink() const; > > QString owner() const; > uint ownerId() const; > QString group() const; > uint groupId() const; > > bool permission( int permissionSpec ) const; > > > > > > > uint size() const; > > > QDateTime created() const; > QDateTime lastModified() const; > QDateTime lastRead() const; > >private: > void doStat() const; > static void slashify( QString & ); > static void makeAbs( QString & ); > > QString fn; > QFileInfoCache *fic; > bool cache; > > bool symLink; > > > void detach(); > friend class QDeepCopy< QFileInfo >; >}; > > >inline bool QFileInfo::caching() const >{ > return cache; >} ># 45 "/usr/qt/3/include/qdir.h" 2 > > > > >typedef QPtrList<QFileInfo> QFileInfoList; >typedef QPtrListIterator<QFileInfo> QFileInfoListIterator; >class QStringList; >template <class T> class QDeepCopy; > > >class QDir >{ >public: > enum FilterSpec { Dirs = 0x001, > Files = 0x002, > Drives = 0x004, > NoSymLinks = 0x008, > All = 0x007, > TypeMask = 0x00F, > > Readable = 0x010, > Writable = 0x020, > Executable = 0x040, > RWEMask = 0x070, > > Modified = 0x080, > Hidden = 0x100, > System = 0x200, > AccessMask = 0x3F0, > > DefaultFilter = -1 }; > > enum SortSpec { Name = 0x00, > Time = 0x01, > Size = 0x02, > Unsorted = 0x03, > SortByMask = 0x03, > > DirsFirst = 0x04, > Reversed = 0x08, > IgnoreCase = 0x10, > DefaultSort = -1 }; > > QDir(); > QDir( const QString &path, const QString &nameFilter = QString::null, > int sortSpec = Name | IgnoreCase, int filterSpec = All ); > QDir( const QDir & ); > > virtual ~QDir(); > > QDir &operator=( const QDir & ); > QDir &operator=( const QString &path ); > > virtual void setPath( const QString &path ); > virtual QString path() const; > virtual QString absPath() const; > virtual QString canonicalPath() const; > > virtual QString dirName() const; > virtual QString filePath( const QString &fileName, > bool acceptAbsPath = TRUE ) const; > virtual QString absFilePath( const QString &fileName, > bool acceptAbsPath = TRUE ) const; > > static QString convertSeparators( const QString &pathName ); > > virtual bool cd( const QString &dirName, bool acceptAbsPath = TRUE ); > virtual bool cdUp(); > > QString nameFilter() const; > virtual void setNameFilter( const QString &nameFilter ); > FilterSpec filter() const; > virtual void setFilter( int filterSpec ); > SortSpec sorting() const; > virtual void setSorting( int sortSpec ); > > bool matchAllDirs() const; > virtual void setMatchAllDirs( bool ); > > uint count() const; > QString operator[]( int ) const; > > virtual QStrList encodedEntryList( int filterSpec = DefaultFilter, > int sortSpec = DefaultSort ) const; > virtual QStrList encodedEntryList( const QString &nameFilter, > int filterSpec = DefaultFilter, > int sortSpec = DefaultSort ) const; > virtual QStringList entryList( int filterSpec = DefaultFilter, > int sortSpec = DefaultSort ) const; > virtual QStringList entryList( const QString &nameFilter, > int filterSpec = DefaultFilter, > int sortSpec = DefaultSort ) const; > > virtual const QFileInfoList *entryInfoList( int filterSpec = DefaultFilter, > int sortSpec = DefaultSort ) const; > virtual const QFileInfoList *entryInfoList( const QString &nameFilter, > int filterSpec = DefaultFilter, > int sortSpec = DefaultSort ) const; > > static const QFileInfoList *drives(); > > virtual bool mkdir( const QString &dirName, > bool acceptAbsPath = TRUE ) const; > virtual bool rmdir( const QString &dirName, > bool acceptAbsPath = TRUE ) const; > > virtual bool isReadable() const; > virtual bool exists() const; > virtual bool isRoot() const; > > virtual bool isRelative() const; > virtual void convertToAbs(); > > virtual bool operator==( const QDir & ) const; > virtual bool operator!=( const QDir & ) const; > > virtual bool remove( const QString &fileName, > bool acceptAbsPath = TRUE ); > virtual bool rename( const QString &name, const QString &newName, > bool acceptAbsPaths = TRUE ); > virtual bool exists( const QString &name, > bool acceptAbsPath = TRUE ); > > static char separator(); > > static bool setCurrent( const QString &path ); > static QDir current(); > static QDir home(); > static QDir root(); > static QString currentDirPath(); > static QString homeDirPath(); > static QString rootDirPath(); > > static bool match( const QStringList &filters, const QString &fileName ); > static bool match( const QString &filter, const QString &fileName ); > static QString cleanDirPath( const QString &dirPath ); > static bool isRelativePath( const QString &path ); > void refresh() const; > >private: > > > > > void init(); > virtual bool readDirEntries( const QString &nameFilter, > int FilterSpec, int SortSpec ); > > static void slashify( QString & ); > > QString dPath; > QStringList *fList; > QFileInfoList *fiList; > QString nameFilt; > FilterSpec filtS; > SortSpec sortS; > uint dirty : 1; > uint allDirs : 1; > > void detach(); > friend class QDeepCopy< QDir >; >}; > > >inline QString QDir::path() const >{ > return dPath; >} > >inline QString QDir::nameFilter() const >{ > return nameFilt; >} > >inline QDir::FilterSpec QDir::filter() const >{ > return filtS; >} > >inline QDir::SortSpec QDir::sorting() const >{ > return sortS; >} > >inline bool QDir::matchAllDirs() const >{ > return allDirs; >} > >inline bool QDir::operator!=( const QDir &d ) const >{ > return !(*this == d); >} > > >struct QDirSortItem { > QString filename_cache; > QFileInfo* item; >}; ># 11 "xslt_pure.cpp" 2 ># 1 "/usr/qt/3/include/qregexp.h" 1 ># 46 "/usr/qt/3/include/qregexp.h" >class QRegExpEngine; >struct QRegExpPrivate; > >class QRegExp >{ >public: > enum CaretMode { CaretAtZero, CaretAtOffset, CaretWontMatch }; > > QRegExp(); > QRegExp( const QString& pattern, bool caseSensitive = TRUE, > bool wildcard = FALSE ); > QRegExp( const QRegExp& rx ); > ~QRegExp(); > QRegExp& operator=( const QRegExp& rx ); > > bool operator==( const QRegExp& rx ) const; > bool operator!=( const QRegExp& rx ) const { return !operator==( rx ); } > > bool isEmpty() const; > bool isValid() const; > QString pattern() const; > void setPattern( const QString& pattern ); > bool caseSensitive() const; > void setCaseSensitive( bool sensitive ); > > bool wildcard() const; > void setWildcard( bool wildcard ); > > bool minimal() const; > void setMinimal( bool minimal ); > > bool exactMatch( const QString& str ) const; ># 90 "/usr/qt/3/include/qregexp.h" > int search( const QString& str, int offset = 0 ) const; > int search( const QString& str, int offset, CaretMode caretMode ) const; > int searchRev( const QString& str, int offset = -1 ) const; > int searchRev( const QString& str, int offset, CaretMode caretMode ) const; > > int matchedLength() const; > > int numCaptures() const; > QStringList capturedTexts(); > QString cap( int nth = 0 ); > int pos( int nth = 0 ); > QString errorString(); > > > static QString escape( const QString& str ); > >private: > void prepareEngine() const; > void prepareEngineForMatch( const QString& str ) const; > void invalidateEngine(); > > static int caretIndex( int offset, CaretMode caretMode ); > > QRegExpEngine *eng; > QRegExpPrivate *priv; >}; ># 12 "xslt_pure.cpp" 2 ># 1 "xslt.h" 1 > > > > > >QString transform(const QString &file, const QString& stylesheet); >QString splitOut(const QString &parsed, int index); >void fillInstance(KInstance &ins, const QString &srcdir = QString::null ); >bool saveToCache( const QString &contents, const QString &filename ); >QString lookForCache( const QString &filename ); >QCString fromUnicode( const QString &data ); >void replaceCharsetHeader( QString &output ); > >extern bool warnings_exist; >extern QString *SRCDIR; > > > > > >bool compareTimeStamps( const QString &older, const QString &newer ); ># 13 "xslt_pure.cpp" 2 > ># 1 "kio_help.h" 1 > > > > > ># 1 "/usr/include/sys/stat.h" 1 3 4 ># 37 "/usr/include/sys/stat.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 38 "/usr/include/sys/stat.h" 2 3 4 ># 103 "/usr/include/sys/stat.h" 3 4 >extern "C" { > ># 1 "/usr/include/bits/stat.h" 1 3 4 ># 36 "/usr/include/bits/stat.h" 3 4 >struct stat > { > __dev_t st_dev; > unsigned short int __pad1; > > __ino_t st_ino; > > > > __mode_t st_mode; > __nlink_t st_nlink; > __uid_t st_uid; > __gid_t st_gid; > __dev_t st_rdev; > unsigned short int __pad2; > > __off_t st_size; > > > > __blksize_t st_blksize; > > > __blkcnt_t st_blocks; ># 70 "/usr/include/bits/stat.h" 3 4 > struct timespec st_atim; > struct timespec st_mtim; > struct timespec st_ctim; ># 85 "/usr/include/bits/stat.h" 3 4 > unsigned long int __unused4; > unsigned long int __unused5; > > > > }; > > >struct stat64 > { > __dev_t st_dev; > unsigned int __pad1; > > __ino_t __st_ino; > __mode_t st_mode; > __nlink_t st_nlink; > __uid_t st_uid; > __gid_t st_gid; > __dev_t st_rdev; > unsigned int __pad2; > __off64_t st_size; > __blksize_t st_blksize; > > __blkcnt64_t st_blocks; > > > > > > > > struct timespec st_atim; > struct timespec st_mtim; > struct timespec st_ctim; ># 127 "/usr/include/bits/stat.h" 3 4 > __ino64_t st_ino; > }; ># 106 "/usr/include/sys/stat.h" 2 3 4 ># 207 "/usr/include/sys/stat.h" 3 4 >extern int stat (__const char *__restrict __file, > struct stat *__restrict __buf) throw (); > > > >extern int fstat (int __fd, struct stat *__buf) throw (); ># 226 "/usr/include/sys/stat.h" 3 4 >extern int stat64 (__const char *__restrict __file, > struct stat64 *__restrict __buf) throw (); >extern int fstat64 (int __fd, struct stat64 *__buf) throw (); > > > > > > >extern int lstat (__const char *__restrict __file, > struct stat *__restrict __buf) throw (); ># 248 "/usr/include/sys/stat.h" 3 4 >extern int lstat64 (__const char *__restrict __file, > struct stat64 *__restrict __buf) throw (); > > > > > >extern int chmod (__const char *__file, __mode_t __mode) throw (); > > > > > >extern int lchmod (__const char *__file, __mode_t __mode) throw (); > > > > >extern int fchmod (int __fd, __mode_t __mode) throw (); > > > > > >extern __mode_t umask (__mode_t __mask) throw (); > > > > >extern __mode_t getumask (void) throw (); > > > >extern int mkdir (__const char *__path, __mode_t __mode) throw (); > > > > > >extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev) > throw (); > > > > >extern int mkfifo (__const char *__path, __mode_t __mode) throw (); ># 319 "/usr/include/sys/stat.h" 3 4 >extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) throw (); >extern int __xstat (int __ver, __const char *__filename, > struct stat *__stat_buf) throw (); >extern int __lxstat (int __ver, __const char *__filename, > struct stat *__stat_buf) throw (); ># 343 "/usr/include/sys/stat.h" 3 4 >extern int __fxstat64 (int __ver, int __fildes, struct stat64 *__stat_buf) > throw (); >extern int __xstat64 (int __ver, __const char *__filename, > struct stat64 *__stat_buf) throw (); >extern int __lxstat64 (int __ver, __const char *__filename, > struct stat64 *__stat_buf) throw (); > >extern int __xmknod (int __ver, __const char *__path, __mode_t __mode, > __dev_t *__dev) throw (); > > > > >extern __inline__ int stat (__const char *__path, > struct stat *__statbuf) throw () >{ > return __xstat (3, __path, __statbuf); >} > > >extern __inline__ int lstat (__const char *__path, > struct stat *__statbuf) throw () >{ > return __lxstat (3, __path, __statbuf); >} > > >extern __inline__ int fstat (int __fd, struct stat *__statbuf) throw () >{ > return __fxstat (3, __fd, __statbuf); >} > > >extern __inline__ int mknod (__const char *__path, __mode_t __mode, > __dev_t __dev) throw () >{ > return __xmknod (1, __path, __mode, &__dev); >} > > > > > >extern __inline__ int stat64 (__const char *__path, > struct stat64 *__statbuf) throw () >{ > return __xstat64 (3, __path, __statbuf); >} > > >extern __inline__ int lstat64 (__const char *__path, > struct stat64 *__statbuf) throw () >{ > return __lxstat64 (3, __path, __statbuf); >} > > >extern __inline__ int fstat64 (int __fd, struct stat64 *__statbuf) throw () >{ > return __fxstat64 (3, __fd, __statbuf); >} > > > > >} ># 7 "kio_help.h" 2 > > > ># 1 "/usr/include/unistd.h" 1 3 4 ># 28 "/usr/include/unistd.h" 3 4 >extern "C" { ># 171 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/bits/posix_opt.h" 1 3 4 ># 172 "/usr/include/unistd.h" 2 3 4 > > > ># 1 "/usr/include/bits/environments.h" 1 3 4 ># 23 "/usr/include/bits/environments.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 24 "/usr/include/bits/environments.h" 2 3 4 ># 176 "/usr/include/unistd.h" 2 3 4 ># 195 "/usr/include/unistd.h" 3 4 ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/stddef.h" 1 3 4 ># 196 "/usr/include/unistd.h" 2 3 4 ># 236 "/usr/include/unistd.h" 3 4 >typedef __intptr_t intptr_t; > > > > > > >typedef __socklen_t socklen_t; ># 256 "/usr/include/unistd.h" 3 4 >extern int access (__const char *__name, int __type) throw (); > > > > >extern int euidaccess (__const char *__name, int __type) throw (); ># 286 "/usr/include/unistd.h" 3 4 >extern __off_t lseek (int __fd, __off_t __offset, int __whence) throw (); ># 298 "/usr/include/unistd.h" 3 4 >extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence) throw (); > > > > > > >extern int close (int __fd); > > > > > > >extern ssize_t read (int __fd, void *__buf, size_t __nbytes); > > > > > >extern ssize_t write (int __fd, __const void *__buf, size_t __n); ># 328 "/usr/include/unistd.h" 3 4 >extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, > __off_t __offset); > > > > > > >extern ssize_t pwrite (int __fd, __const void *__buf, size_t __n, > __off_t __offset); ># 356 "/usr/include/unistd.h" 3 4 >extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes, > __off64_t __offset); > > >extern ssize_t pwrite64 (int __fd, __const void *__buf, size_t __n, > __off64_t __offset); > > > > > > > >extern int pipe (int __pipedes[2]) throw (); ># 378 "/usr/include/unistd.h" 3 4 >extern unsigned int alarm (unsigned int __seconds) throw (); ># 390 "/usr/include/unistd.h" 3 4 >extern unsigned int sleep (unsigned int __seconds); > > > > > > >extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) > throw (); > > > > > > >extern int usleep (__useconds_t __useconds); ># 414 "/usr/include/unistd.h" 3 4 >extern int pause (void); > > > >extern int chown (__const char *__file, __uid_t __owner, __gid_t __group) > throw (); > > > >extern int fchown (int __fd, __uid_t __owner, __gid_t __group) throw (); > > > > >extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group) > throw (); > > > > >extern int chdir (__const char *__path) throw (); > > > >extern int fchdir (int __fd) throw (); ># 448 "/usr/include/unistd.h" 3 4 >extern char *getcwd (char *__buf, size_t __size) throw (); > > > > > >extern char *get_current_dir_name (void) throw (); > > > > > > >extern char *getwd (char *__buf) throw (); > > > > >extern int dup (int __fd) throw (); > > >extern int dup2 (int __fd, int __fd2) throw (); > > >extern char **__environ; > >extern char **environ; > > > > > >extern int execve (__const char *__path, char *__const __argv[], > char *__const __envp[]) throw (); > > > > >extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[]) > throw (); > > > > >extern int execv (__const char *__path, char *__const __argv[]) throw (); > > > >extern int execle (__const char *__path, __const char *__arg, ...) throw (); > > > >extern int execl (__const char *__path, __const char *__arg, ...) throw (); > > > >extern int execvp (__const char *__file, char *__const __argv[]) throw (); > > > > >extern int execlp (__const char *__file, __const char *__arg, ...) throw (); > > > > >extern int nice (int __inc) throw (); > > > > >extern void _exit (int __status) __attribute__ ((__noreturn__)); > > > > > ># 1 "/usr/include/bits/confname.h" 1 3 4 ># 26 "/usr/include/bits/confname.h" 3 4 >enum > { > _PC_LINK_MAX, > > _PC_MAX_CANON, > > _PC_MAX_INPUT, > > _PC_NAME_MAX, > > _PC_PATH_MAX, > > _PC_PIPE_BUF, > > _PC_CHOWN_RESTRICTED, > > _PC_NO_TRUNC, > > _PC_VDISABLE, > > _PC_SYNC_IO, > > _PC_ASYNC_IO, > > _PC_PRIO_IO, > > _PC_SOCK_MAXBUF, > > _PC_FILESIZEBITS, > > _PC_REC_INCR_XFER_SIZE, > > _PC_REC_MAX_XFER_SIZE, > > _PC_REC_MIN_XFER_SIZE, > > _PC_REC_XFER_ALIGN, > > _PC_ALLOC_SIZE_MIN, > > _PC_SYMLINK_MAX, > > _PC_2_SYMLINKS > > }; > > >enum > { > _SC_ARG_MAX, > > _SC_CHILD_MAX, > > _SC_CLK_TCK, > > _SC_NGROUPS_MAX, > > _SC_OPEN_MAX, > > _SC_STREAM_MAX, > > _SC_TZNAME_MAX, > > _SC_JOB_CONTROL, > > _SC_SAVED_IDS, > > _SC_REALTIME_SIGNALS, > > _SC_PRIORITY_SCHEDULING, > > _SC_TIMERS, > > _SC_ASYNCHRONOUS_IO, > > _SC_PRIORITIZED_IO, > > _SC_SYNCHRONIZED_IO, > > _SC_FSYNC, > > _SC_MAPPED_FILES, > > _SC_MEMLOCK, > > _SC_MEMLOCK_RANGE, > > _SC_MEMORY_PROTECTION, > > _SC_MESSAGE_PASSING, > > _SC_SEMAPHORES, > > _SC_SHARED_MEMORY_OBJECTS, > > _SC_AIO_LISTIO_MAX, > > _SC_AIO_MAX, > > _SC_AIO_PRIO_DELTA_MAX, > > _SC_DELAYTIMER_MAX, > > _SC_MQ_OPEN_MAX, > > _SC_MQ_PRIO_MAX, > > _SC_VERSION, > > _SC_PAGESIZE, > > > _SC_RTSIG_MAX, > > _SC_SEM_NSEMS_MAX, > > _SC_SEM_VALUE_MAX, > > _SC_SIGQUEUE_MAX, > > _SC_TIMER_MAX, > > > > > _SC_BC_BASE_MAX, > > _SC_BC_DIM_MAX, > > _SC_BC_SCALE_MAX, > > _SC_BC_STRING_MAX, > > _SC_COLL_WEIGHTS_MAX, > > _SC_EQUIV_CLASS_MAX, > > _SC_EXPR_NEST_MAX, > > _SC_LINE_MAX, > > _SC_RE_DUP_MAX, > > _SC_CHARCLASS_NAME_MAX, > > > _SC_2_VERSION, > > _SC_2_C_BIND, > > _SC_2_C_DEV, > > _SC_2_FORT_DEV, > > _SC_2_FORT_RUN, > > _SC_2_SW_DEV, > > _SC_2_LOCALEDEF, > > > _SC_PII, > > _SC_PII_XTI, > > _SC_PII_SOCKET, > > _SC_PII_INTERNET, > > _SC_PII_OSI, > > _SC_POLL, > > _SC_SELECT, > > _SC_UIO_MAXIOV, > > _SC_IOV_MAX = _SC_UIO_MAXIOV, > > _SC_PII_INTERNET_STREAM, > > _SC_PII_INTERNET_DGRAM, > > _SC_PII_OSI_COTS, > > _SC_PII_OSI_CLTS, > > _SC_PII_OSI_M, > > _SC_T_IOV_MAX, > > > > _SC_THREADS, > > _SC_THREAD_SAFE_FUNCTIONS, > > _SC_GETGR_R_SIZE_MAX, > > _SC_GETPW_R_SIZE_MAX, > > _SC_LOGIN_NAME_MAX, > > _SC_TTY_NAME_MAX, > > _SC_THREAD_DESTRUCTOR_ITERATIONS, > > _SC_THREAD_KEYS_MAX, > > _SC_THREAD_STACK_MIN, > > _SC_THREAD_THREADS_MAX, > > _SC_THREAD_ATTR_STACKADDR, > > _SC_THREAD_ATTR_STACKSIZE, > > _SC_THREAD_PRIORITY_SCHEDULING, > > _SC_THREAD_PRIO_INHERIT, > > _SC_THREAD_PRIO_PROTECT, > > _SC_THREAD_PROCESS_SHARED, > > > _SC_NPROCESSORS_CONF, > > _SC_NPROCESSORS_ONLN, > > _SC_PHYS_PAGES, > > _SC_AVPHYS_PAGES, > > _SC_ATEXIT_MAX, > > _SC_PASS_MAX, > > > _SC_XOPEN_VERSION, > > _SC_XOPEN_XCU_VERSION, > > _SC_XOPEN_UNIX, > > _SC_XOPEN_CRYPT, > > _SC_XOPEN_ENH_I18N, > > _SC_XOPEN_SHM, > > > _SC_2_CHAR_TERM, > > _SC_2_C_VERSION, > > _SC_2_UPE, > > > _SC_XOPEN_XPG2, > > _SC_XOPEN_XPG3, > > _SC_XOPEN_XPG4, > > > _SC_CHAR_BIT, > > _SC_CHAR_MAX, > > _SC_CHAR_MIN, > > _SC_INT_MAX, > > _SC_INT_MIN, > > _SC_LONG_BIT, > > _SC_WORD_BIT, > > _SC_MB_LEN_MAX, > > _SC_NZERO, > > _SC_SSIZE_MAX, > > _SC_SCHAR_MAX, > > _SC_SCHAR_MIN, > > _SC_SHRT_MAX, > > _SC_SHRT_MIN, > > _SC_UCHAR_MAX, > > _SC_UINT_MAX, > > _SC_ULONG_MAX, > > _SC_USHRT_MAX, > > > _SC_NL_ARGMAX, > > _SC_NL_LANGMAX, > > _SC_NL_MSGMAX, > > _SC_NL_NMAX, > > _SC_NL_SETMAX, > > _SC_NL_TEXTMAX, > > > _SC_XBS5_ILP32_OFF32, > > _SC_XBS5_ILP32_OFFBIG, > > _SC_XBS5_LP64_OFF64, > > _SC_XBS5_LPBIG_OFFBIG, > > > _SC_XOPEN_LEGACY, > > _SC_XOPEN_REALTIME, > > _SC_XOPEN_REALTIME_THREADS, > > > _SC_ADVISORY_INFO, > > _SC_BARRIERS, > > _SC_BASE, > > _SC_C_LANG_SUPPORT, > > _SC_C_LANG_SUPPORT_R, > > _SC_CLOCK_SELECTION, > > _SC_CPUTIME, > > _SC_THREAD_CPUTIME, > > _SC_DEVICE_IO, > > _SC_DEVICE_SPECIFIC, > > _SC_DEVICE_SPECIFIC_R, > > _SC_FD_MGMT, > > _SC_FIFO, > > _SC_PIPE, > > _SC_FILE_ATTRIBUTES, > > _SC_FILE_LOCKING, > > _SC_FILE_SYSTEM, > > _SC_MONOTONIC_CLOCK, > > _SC_MULTI_PROCESS, > > _SC_SINGLE_PROCESS, > > _SC_NETWORKING, > > _SC_READER_WRITER_LOCKS, > > _SC_SPIN_LOCKS, > > _SC_REGEXP, > > _SC_REGEX_VERSION, > > _SC_SHELL, > > _SC_SIGNALS, > > _SC_SPAWN, > > _SC_SPORADIC_SERVER, > > _SC_THREAD_SPORADIC_SERVER, > > _SC_SYSTEM_DATABASE, > > _SC_SYSTEM_DATABASE_R, > > _SC_TIMEOUTS, > > _SC_TYPED_MEMORY_OBJECTS, > > _SC_USER_GROUPS, > > _SC_USER_GROUPS_R, > > _SC_2_PBS, > > _SC_2_PBS_ACCOUNTING, > > _SC_2_PBS_LOCATE, > > _SC_2_PBS_MESSAGE, > > _SC_2_PBS_TRACK, > > _SC_SYMLOOP_MAX, > > _SC_STREAMS, > > _SC_2_PBS_CHECKPOINT, > > > _SC_V6_ILP32_OFF32, > > _SC_V6_ILP32_OFFBIG, > > _SC_V6_LP64_OFF64, > > _SC_V6_LPBIG_OFFBIG, > > > _SC_HOST_NAME_MAX, > > _SC_TRACE, > > _SC_TRACE_EVENT_FILTER, > > _SC_TRACE_INHERIT, > > _SC_TRACE_LOG, > > > _SC_LEVEL1_ICACHE_SIZE, > > _SC_LEVEL1_ICACHE_ASSOC, > > _SC_LEVEL1_ICACHE_LINESIZE, > > _SC_LEVEL1_DCACHE_SIZE, > > _SC_LEVEL1_DCACHE_ASSOC, > > _SC_LEVEL1_DCACHE_LINESIZE, > > _SC_LEVEL2_CACHE_SIZE, > > _SC_LEVEL2_CACHE_ASSOC, > > _SC_LEVEL2_CACHE_LINESIZE, > > _SC_LEVEL3_CACHE_SIZE, > > _SC_LEVEL3_CACHE_ASSOC, > > _SC_LEVEL3_CACHE_LINESIZE, > > _SC_LEVEL4_CACHE_SIZE, > > _SC_LEVEL4_CACHE_ASSOC, > > _SC_LEVEL4_CACHE_LINESIZE > > > }; > > >enum > { > _CS_PATH, > > > _CS_V6_WIDTH_RESTRICTED_ENVS, > > > _CS_GNU_LIBC_VERSION, > > _CS_GNU_LIBPTHREAD_VERSION, > > > _CS_LFS_CFLAGS = 1000, > > _CS_LFS_LDFLAGS, > > _CS_LFS_LIBS, > > _CS_LFS_LINTFLAGS, > > _CS_LFS64_CFLAGS, > > _CS_LFS64_LDFLAGS, > > _CS_LFS64_LIBS, > > _CS_LFS64_LINTFLAGS, > > > _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, > > _CS_XBS5_ILP32_OFF32_LDFLAGS, > > _CS_XBS5_ILP32_OFF32_LIBS, > > _CS_XBS5_ILP32_OFF32_LINTFLAGS, > > _CS_XBS5_ILP32_OFFBIG_CFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LDFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LIBS, > > _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, > > _CS_XBS5_LP64_OFF64_CFLAGS, > > _CS_XBS5_LP64_OFF64_LDFLAGS, > > _CS_XBS5_LP64_OFF64_LIBS, > > _CS_XBS5_LP64_OFF64_LINTFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_CFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LIBS, > > _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, > > > _CS_POSIX_V6_ILP32_OFF32_CFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LIBS, > > _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LIBS, > > _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, > > _CS_POSIX_V6_LP64_OFF64_CFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LDFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LIBS, > > _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS > > }; ># 526 "/usr/include/unistd.h" 2 3 4 > > >extern long int pathconf (__const char *__path, int __name) throw (); > > >extern long int fpathconf (int __fd, int __name) throw (); > > >extern long int sysconf (int __name) throw () __attribute__ ((__const__)); > > > >extern size_t confstr (int __name, char *__buf, size_t __len) throw (); > > > > >extern __pid_t getpid (void) throw (); > > >extern __pid_t getppid (void) throw (); > > > > >extern __pid_t getpgrp (void) throw (); ># 561 "/usr/include/unistd.h" 3 4 >extern __pid_t __getpgid (__pid_t __pid) throw (); > >extern __pid_t getpgid (__pid_t __pid) throw (); > > > > > > >extern int setpgid (__pid_t __pid, __pid_t __pgid) throw (); ># 587 "/usr/include/unistd.h" 3 4 >extern int setpgrp (void) throw (); ># 605 "/usr/include/unistd.h" 3 4 >extern __pid_t setsid (void) throw (); > > > >extern __pid_t getsid (__pid_t __pid) throw (); > > > >extern __uid_t getuid (void) throw (); > > >extern __uid_t geteuid (void) throw (); > > >extern __gid_t getgid (void) throw (); > > >extern __gid_t getegid (void) throw (); > > > > >extern int getgroups (int __size, __gid_t __list[]) throw (); > > > >extern int group_member (__gid_t __gid) throw (); > > > > > > >extern int setuid (__uid_t __uid) throw (); > > > > >extern int setreuid (__uid_t __ruid, __uid_t __euid) throw (); > > > > >extern int seteuid (__uid_t __uid) throw (); > > > > > > >extern int setgid (__gid_t __gid) throw (); > > > > >extern int setregid (__gid_t __rgid, __gid_t __egid) throw (); > > > > >extern int setegid (__gid_t __gid) throw (); > > > > > >extern int getresuid (__uid_t *__euid, __uid_t *__ruid, __uid_t *__suid); > > > >extern int getresgid (__gid_t *__egid, __gid_t *__rgid, __gid_t *__sgid); > > > >extern int setresuid (__uid_t __euid, __uid_t __ruid, __uid_t __suid); > > > >extern int setresgid (__gid_t __egid, __gid_t __rgid, __gid_t __sgid); > > > > > > >extern __pid_t fork (void) throw (); > > > > > > >extern __pid_t vfork (void) throw (); > > > > > >extern char *ttyname (int __fd) throw (); > > > >extern int ttyname_r (int __fd, char *__buf, size_t __buflen) throw (); > > > >extern int isatty (int __fd) throw (); > > > > > >extern int ttyslot (void) throw (); > > > > >extern int link (__const char *__from, __const char *__to) throw (); > > > >extern int symlink (__const char *__from, __const char *__to) throw (); > > > > >extern int readlink (__const char *__restrict __path, char *__restrict __buf, > size_t __len) throw (); > > > >extern int unlink (__const char *__name) throw (); > > >extern int rmdir (__const char *__path) throw (); > > > >extern __pid_t tcgetpgrp (int __fd) throw (); > > >extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) throw (); > > > > > > >extern char *getlogin (void); > > > > > > > >extern int getlogin_r (char *__name, size_t __name_len); > > > > >extern int setlogin (__const char *__name) throw (); ># 775 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/getopt.h" 1 3 4 ># 50 "/usr/include/getopt.h" 3 4 >extern "C" { ># 59 "/usr/include/getopt.h" 3 4 >extern char *optarg; ># 73 "/usr/include/getopt.h" 3 4 >extern int optind; > > > > >extern int opterr; > > > >extern int optopt; ># 152 "/usr/include/getopt.h" 3 4 >extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) > throw (); ># 171 "/usr/include/getopt.h" 3 4 >} ># 776 "/usr/include/unistd.h" 2 3 4 > > > > > > > >extern int gethostname (char *__name, size_t __len) throw (); > > > > > > >extern int sethostname (__const char *__name, size_t __len) throw (); > > > >extern int sethostid (long int __id) throw (); > > > > > >extern int getdomainname (char *__name, size_t __len) throw (); >extern int setdomainname (__const char *__name, size_t __len) throw (); > > > > > >extern int vhangup (void) throw (); > > >extern int revoke (__const char *__file) throw (); > > > > > > > >extern int profil (unsigned short int *__sample_buffer, size_t __size, > size_t __offset, unsigned int __scale) throw (); > > > > > >extern int acct (__const char *__name) throw (); > > > >extern char *getusershell (void) throw (); >extern void endusershell (void) throw (); >extern void setusershell (void) throw (); > > > > > >extern int daemon (int __nochdir, int __noclose) throw (); > > > > > > >extern int chroot (__const char *__path) throw (); > > > >extern char *getpass (__const char *__prompt); ># 857 "/usr/include/unistd.h" 3 4 >extern int fsync (int __fd); > > > > > > >extern long int gethostid (void); > > >extern void sync (void) throw (); > > > > >extern int getpagesize (void) throw () __attribute__ ((__const__)); > > > > >extern int truncate (__const char *__file, __off_t __length) throw (); ># 888 "/usr/include/unistd.h" 3 4 >extern int truncate64 (__const char *__file, __off64_t __length) throw (); > > > > >extern int ftruncate (int __fd, __off_t __length) throw (); ># 903 "/usr/include/unistd.h" 3 4 >extern int ftruncate64 (int __fd, __off64_t __length) throw (); > > > > > >extern int getdtablesize (void) throw (); ># 918 "/usr/include/unistd.h" 3 4 >extern int brk (void *__addr) throw (); > > > > > >extern void *sbrk (intptr_t __delta) throw (); ># 939 "/usr/include/unistd.h" 3 4 >extern long int syscall (long int __sysno, ...) throw (); ># 962 "/usr/include/unistd.h" 3 4 >extern int lockf (int __fd, int __cmd, __off_t __len); ># 972 "/usr/include/unistd.h" 3 4 >extern int lockf64 (int __fd, int __cmd, __off64_t __len); ># 993 "/usr/include/unistd.h" 3 4 >extern int fdatasync (int __fildes) throw (); > > > > > > > >extern char *crypt (__const char *__key, __const char *__salt) throw (); > > > >extern void encrypt (char *__block, int __edflag) throw (); > > > > > > >extern void swab (__const void *__restrict __from, void *__restrict __to, > ssize_t __n) throw (); > > > > > > > >extern char *ctermid (char *__s) throw (); > > >} ># 11 "kio_help.h" 2 > > ># 1 "/usr/qt/3/include/qintdict.h" 1 ># 45 "/usr/qt/3/include/qintdict.h" >template<class type> >class QIntDict > > > > : public QGDict > >{ >public: > QIntDict(int size=17) : QGDict(size,IntKey,0,0) {} > QIntDict( const QIntDict<type> &d ) : QGDict(d) {} > ~QIntDict() { clear(); } > QIntDict<type> &operator=(const QIntDict<type> &d) > { return (QIntDict<type>&)QGDict::operator=(d); } > uint count() const { return QGDict::count(); } > uint size() const { return QGDict::size(); } > bool isEmpty() const { return QGDict::count() == 0; } > void insert( long k, const type *d ) > { QGDict::look_int(k,(Item)d,1); } > void replace( long k, const type *d ) > { QGDict::look_int(k,(Item)d,2); } > bool remove( long k ) { return QGDict::remove_int(k); } > type *take( long k ) { return (type*)QGDict::take_int(k); } > type *find( long k ) const > { return (type *)((QGDict*)this)->QGDict::look_int(k,0,0); } > type *operator[]( long k ) const > { return (type *)((QGDict*)this)->QGDict::look_int(k,0,0); } > void clear() { QGDict::clear(); } > void resize( uint n ) { QGDict::resize(n); } > void statistics() const { QGDict::statistics(); } > > > > > > > >private: > void deleteItem( Item d ); >}; > > >template<> inline void QIntDict<void>::deleteItem( QPtrCollection::Item ) >{ >} > > >template<class type> inline void QIntDict<type>::deleteItem( QPtrCollection::Item d ) >{ > if ( del_item ) delete (type*)d; >} > >template<class type> >class QIntDictIterator : public QGDictIterator >{ >public: > QIntDictIterator(const QIntDict<type> &d) :QGDictIterator((QGDict &)d) {} > ~QIntDictIterator() {} > uint count() const { return dict->count(); } > bool isEmpty() const { return dict->count() == 0; } > type *toFirst() { return (type *)QGDictIterator::toFirst(); } > operator type *() const { return (type *)QGDictIterator::get(); } > type *current() const { return (type *)QGDictIterator::get(); } > long currentKey() const { return QGDictIterator::getKeyInt(); } > type *operator()() { return (type *)QGDictIterator::operator()(); } > type *operator++() { return (type *)QGDictIterator::operator++(); } > type *operator+=(uint j) { return (type *)QGDictIterator::operator+=(j);} >}; > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 116 "/usr/qt/3/include/qintdict.h" 2 ># 14 "kio_help.h" 2 > > > > ># 1 "../kio/kio/global.h" 1 ># 26 "../kio/kio/global.h" ># 1 "/usr/qt/3/include/qmap.h" 1 ># 42 "/usr/qt/3/include/qmap.h" ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 43 "/usr/qt/3/include/qmap.h" 2 > > ># 1 "/usr/qt/3/include/qpair.h" 1 ># 40 "/usr/qt/3/include/qpair.h" ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 41 "/usr/qt/3/include/qpair.h" 2 > > > >template <class T1, class T2> >struct QPair >{ > typedef T1 first_type; > typedef T2 second_type; > > QPair() > : first( T1() ), second( T2() ) > {} > QPair( const T1& t1, const T2& t2 ) > : first( t1 ), second( t2 ) > {} > > QPair<T1, T2>& operator=(const QPair<T1, T2>& other) > { > if (this != &other) { > first = other.first; > second = other.second; > } > return *this; > } > > T1 first; > T2 second; >}; > >template <class T1, class T2> > bool operator==( const QPair<T1, T2>& x, const QPair<T1, T2>& y ) >{ > return x.first == y.first && x.second == y.second; >} > >template <class T1, class T2> > bool operator<( const QPair<T1, T2>& x, const QPair<T1, T2>& y ) >{ > return x.first < y.first || > ( !( y.first < x.first ) && x.second < y.second ); >} > >template <class T1, class T2> > QPair<T1, T2> qMakePair( const T1& x, const T2& y ) >{ > return QPair<T1, T2>( x, y ); >} > > >template <class T1, class T2> >inline QDataStream& operator>>( QDataStream& s, QPair<T1, T2>& p ) >{ > s >> p.first >> p.second; > return s; >} > >template <class T1, class T2> >inline QDataStream& operator<<( QDataStream& s, const QPair<T1, T2>& p ) >{ > s << p.first << p.second; > return s; >} ># 46 "/usr/qt/3/include/qmap.h" 2 ># 56 "/usr/qt/3/include/qmap.h" >struct QMapNodeBase >{ > enum Color { Red, Black }; > > QMapNodeBase* left; > QMapNodeBase* right; > QMapNodeBase* parent; > > Color color; > > QMapNodeBase* minimum() { > QMapNodeBase* x = this; > while ( x->left ) > x = x->left; > return x; > } > > QMapNodeBase* maximum() { > QMapNodeBase* x = this; > while ( x->right ) > x = x->right; > return x; > } >}; > > >template <class K, class T> >struct QMapNode : public QMapNodeBase >{ > QMapNode( const K& _key, const T& _data ) { data = _data; key = _key; } > QMapNode( const K& _key ) { key = _key; } > QMapNode( const QMapNode<K,T>& _n ) { key = _n.key; data = _n.data; } > QMapNode() { } > T data; > K key; >}; > > >template<class K, class T> >class QMapIterator >{ > public: > > > > typedef QMapNode< K, T >* NodePtr; > > > > typedef T value_type; > > > > typedef int difference_type; > > typedef T* pointer; > typedef T& reference; > > > > > QMapNode<K,T>* node; > > > > > QMapIterator() : node( 0 ) {} > QMapIterator( QMapNode<K,T>* p ) : node( p ) {} > QMapIterator( const QMapIterator<K,T>& it ) : node( it.node ) {} > > bool operator==( const QMapIterator<K,T>& it ) const { return node == it.node; } > bool operator!=( const QMapIterator<K,T>& it ) const { return node != it.node; } > T& operator*() { return node->data; } > const T& operator*() const { return node->data; } > > > > const K& key() const { return node->key; } > T& data() { return node->data; } > const T& data() const { return node->data; } > >private: > int inc(); > int dec(); > >public: > QMapIterator<K,T>& operator++() { > inc(); > return *this; > } > > QMapIterator<K,T> operator++(int) { > QMapIterator<K,T> tmp = *this; > inc(); > return tmp; > } > > QMapIterator<K,T>& operator--() { > dec(); > return *this; > } > > QMapIterator<K,T> operator--(int) { > QMapIterator<K,T> tmp = *this; > dec(); > return tmp; > } >}; > >template <class K, class T> > int QMapIterator<K,T>::inc() >{ > QMapNodeBase* tmp = node; > if ( tmp->right ) { > tmp = tmp->right; > while ( tmp->left ) > tmp = tmp->left; > } else { > QMapNodeBase* y = tmp->parent; > while (tmp == y->right) { > tmp = y; > y = y->parent; > } > if (tmp->right != y) > tmp = y; > } > node = (NodePtr)tmp; > return 0; >} > >template <class K, class T> > int QMapIterator<K,T>::dec() >{ > QMapNodeBase* tmp = node; > if (tmp->color == QMapNodeBase::Red && > tmp->parent->parent == tmp ) { > tmp = tmp->right; > } else if (tmp->left != 0) { > QMapNodeBase* y = tmp->left; > while ( y->right ) > y = y->right; > tmp = y; > } else { > QMapNodeBase* y = tmp->parent; > while (tmp == y->left) { > tmp = y; > y = y->parent; > } > tmp = y; > } > node = (NodePtr)tmp; > return 0; >} > >template<class K, class T> >class QMapConstIterator >{ > public: > > > > typedef QMapNode< K, T >* NodePtr; > > > > typedef T value_type; > > > > typedef int difference_type; > > typedef const T* pointer; > typedef const T& reference; > > > > > > QMapNode<K,T>* node; > > > > > QMapConstIterator() : node( 0 ) {} > QMapConstIterator( QMapNode<K,T>* p ) : node( p ) {} > QMapConstIterator( const QMapConstIterator<K,T>& it ) : node( it.node ) {} > QMapConstIterator( const QMapIterator<K,T>& it ) : node( it.node ) {} > > bool operator==( const QMapConstIterator<K,T>& it ) const { return node == it.node; } > bool operator!=( const QMapConstIterator<K,T>& it ) const { return node != it.node; } > const T& operator*() const { return node->data; } > > > > const K& key() const { return node->key; } > const T& data() const { return node->data; } > >private: > int inc(); > int dec(); > >public: > QMapConstIterator<K,T>& operator++() { > inc(); > return *this; > } > > QMapConstIterator<K,T> operator++(int) { > QMapConstIterator<K,T> tmp = *this; > inc(); > return tmp; > } > > QMapConstIterator<K,T>& operator--() { > dec(); > return *this; > } > > QMapConstIterator<K,T> operator--(int) { > QMapConstIterator<K,T> tmp = *this; > dec(); > return tmp; > } >}; > >template <class K, class T> > int QMapConstIterator<K,T>::inc() >{ > QMapNodeBase* tmp = node; > if ( tmp->right ) { > tmp = tmp->right; > while ( tmp->left ) > tmp = tmp->left; > } else { > QMapNodeBase* y = tmp->parent; > while (tmp == y->right) { > tmp = y; > y = y->parent; > } > if (tmp->right != y) > tmp = y; > } > node = (NodePtr)tmp; > return 0; >} > >template <class K, class T> > int QMapConstIterator<K,T>::dec() >{ > QMapNodeBase* tmp = node; > if (tmp->color == QMapNodeBase::Red && > tmp->parent->parent == tmp ) { > tmp = tmp->right; > } else if (tmp->left != 0) { > QMapNodeBase* y = tmp->left; > while ( y->right ) > y = y->right; > tmp = y; > } else { > QMapNodeBase* y = tmp->parent; > while (tmp == y->left) { > tmp = y; > y = y->parent; > } > tmp = y; > } > node = (NodePtr)tmp; > return 0; >} > > >class QMapPrivateBase : public QShared >{ >public: > QMapPrivateBase() { > node_count = 0; > } > QMapPrivateBase( const QMapPrivateBase* _map) { > node_count = _map->node_count; > } > > > > > void rotateLeft( QMapNodeBase* x, QMapNodeBase*& root); > void rotateRight( QMapNodeBase* x, QMapNodeBase*& root ); > void rebalance( QMapNodeBase* x, QMapNodeBase*& root ); > QMapNodeBase* removeAndRebalance( QMapNodeBase* z, QMapNodeBase*& root, > QMapNodeBase*& leftmost, > QMapNodeBase*& rightmost ); > > > > > int node_count; >}; > > >template <class Key, class T> >class QMapPrivate : public QMapPrivateBase >{ >public: > > > > typedef QMapIterator< Key, T > Iterator; > typedef QMapConstIterator< Key, T > ConstIterator; > typedef QMapNode< Key, T > Node; > typedef QMapNode< Key, T >* NodePtr; > > > > > QMapPrivate(); > QMapPrivate( const QMapPrivate< Key, T >* _map ); > ~QMapPrivate() { clear(); delete header; } > > NodePtr copy( NodePtr p ); > void clear(); > void clear( NodePtr p ); > > Iterator begin() { return Iterator( (NodePtr)(header->left ) ); } > Iterator end() { return Iterator( header ); } > ConstIterator begin() const { return ConstIterator( (NodePtr)(header->left ) ); } > ConstIterator end() const { return ConstIterator( header ); } > > ConstIterator find(const Key& k) const; > > void remove( Iterator it ) { > NodePtr del = (NodePtr) removeAndRebalance( it.node, header->parent, header->left, header->right ); > delete del; > --node_count; > } ># 414 "/usr/qt/3/include/qmap.h" > Iterator insertSingle( const Key& k ); > Iterator insert( QMapNodeBase* x, QMapNodeBase* y, const Key& k ); > >protected: > > > > const Key& key( QMapNodeBase* b ) const { return ((NodePtr)b)->key; } > > > > > NodePtr header; >}; > > >template <class Key, class T> > QMapPrivate<Key,T>::QMapPrivate() { > header = new Node; > header->color = QMapNodeBase::Red; > header->parent = 0; > header->left = header->right = header; >} >template <class Key, class T> > QMapPrivate<Key,T>::QMapPrivate( const QMapPrivate< Key, T >* _map ) : QMapPrivateBase( _map ) { > header = new Node; > header->color = QMapNodeBase::Red; > if ( _map->header->parent == 0 ) { > header->parent = 0; > header->left = header->right = header; > } else { > header->parent = copy( (NodePtr)(_map->header->parent) ); > header->parent->parent = header; > header->left = header->parent->minimum(); > header->right = header->parent->maximum(); > } >} > >template <class Key, class T> > typename QMapPrivate<Key,T>::NodePtr QMapPrivate<Key,T>::copy( typename QMapPrivate<Key,T>::NodePtr p ) >{ > if ( !p ) > return 0; > NodePtr n = new Node( *p ); > n->color = p->color; > if ( p->left ) { > n->left = copy( (NodePtr)(p->left) ); > n->left->parent = n; > } else { > n->left = 0; > } > if ( p->right ) { > n->right = copy( (NodePtr)(p->right) ); > n->right->parent = n; > } else { > n->right = 0; > } > return n; >} > >template <class Key, class T> > void QMapPrivate<Key,T>::clear() >{ > clear( (NodePtr)(header->parent) ); > header->color = QMapNodeBase::Red; > header->parent = 0; > header->left = header->right = header; > node_count = 0; >} > >template <class Key, class T> > void QMapPrivate<Key,T>::clear( typename QMapPrivate<Key,T>::NodePtr p ) >{ > while ( p != 0 ) { > clear( (NodePtr)p->right ); > NodePtr y = (NodePtr)p->left; > delete p; > p = y; > } >} > >template <class Key, class T> > typename QMapPrivate<Key,T>::ConstIterator QMapPrivate<Key,T>::find(const Key& k) const >{ > QMapNodeBase* y = header; > QMapNodeBase* x = header->parent; > > while ( x != 0 ) { > > if ( !( key(x) < k ) ) { > y = x; > x = x->left; > } else { > x = x->right; > } > } > > > > if ( y == header || k < key(y) ) > return ConstIterator( header ); > return ConstIterator( (NodePtr)y ); >} > >template <class Key, class T> > typename QMapPrivate<Key,T>::Iterator QMapPrivate<Key,T>::insertSingle( const Key& k ) >{ > > QMapNodeBase* y = header; > QMapNodeBase* x = header->parent; > bool result = TRUE; > while ( x != 0 ) { > result = ( k < key(x) ); > y = x; > x = result ? x->left : x->right; > } > > Iterator j( (NodePtr)y ); > if ( result ) { > > if ( j == begin() ) { > return insert(x, y, k ); > } else { > > --j; > } > } > > if ( (j.node->key) < k ) > return insert(x, y, k ); > > return j; >} > > >template <class Key, class T> > typename QMapPrivate<Key,T>::Iterator QMapPrivate<Key,T>::insert( QMapNodeBase* x, QMapNodeBase* y, const Key& k ) >{ > NodePtr z = new Node( k ); > if (y == header || x != 0 || k < key(y) ) { > y->left = z; > if ( y == header ) { > header->parent = z; > header->right = z; > } else if ( y == header->left ) > header->left = z; > } else { > y->right = z; > if ( y == header->right ) > header->right = z; > } > z->parent = y; > z->left = 0; > z->right = 0; > rebalance( z, header->parent ); > ++node_count; > return Iterator(z); >} ># 587 "/usr/qt/3/include/qmap.h" >template <class T> class QDeepCopy; > >template<class Key, class T> >class QMap >{ >public: > > > > typedef Key key_type; > typedef T mapped_type; > typedef QPair<const key_type, mapped_type> value_type; > typedef value_type* pointer; > typedef const value_type* const_pointer; > typedef value_type& reference; > typedef const value_type& const_reference; > > > > typedef int difference_type; > > typedef size_t size_type; > typedef QMapIterator<Key,T> iterator; > typedef QMapConstIterator<Key,T> const_iterator; > typedef QPair<iterator,bool> insert_pair; > > typedef QMapIterator< Key, T > Iterator; > typedef QMapConstIterator< Key, T > ConstIterator; > typedef T ValueType; > typedef QMapPrivate< Key, T > Priv; > > > > > QMap() > { > sh = new QMapPrivate< Key, T >; > } > QMap( const QMap<Key,T>& m ) > { > sh = m.sh; sh->ref(); > } ># 641 "/usr/qt/3/include/qmap.h" > ~QMap() > { > if ( sh->deref() ) > delete sh; > } > QMap<Key,T>& operator= ( const QMap<Key,T>& m ); ># 660 "/usr/qt/3/include/qmap.h" > iterator begin() { detach(); return sh->begin(); } > iterator end() { detach(); return sh->end(); } > const_iterator begin() const { return ((const Priv*)sh)->begin(); } > const_iterator end() const { return ((const Priv*)sh)->end(); } > const_iterator constBegin() const { return begin(); } > const_iterator constEnd() const { return end(); } > > iterator replace( const Key& k, const T& v ) > { > remove( k ); > return insert( k, v ); > } > > size_type size() const > { > return sh->node_count; > } > bool empty() const > { > return sh->node_count == 0; > } > QPair<iterator,bool> insert( const value_type& x ); > > void erase( iterator it ) > { > detach(); > sh->remove( it ); > } > void erase( const key_type& k ); > size_type count( const key_type& k ) const; > T& operator[] ( const Key& k ); > void clear(); > > iterator find ( const Key& k ) > { > detach(); > return iterator( sh->find( k ).node ); > } > const_iterator find ( const Key& k ) const { return sh->find( k ); } > > const T& operator[] ( const Key& k ) const > { ; return sh->find( k ).data(); } > bool contains ( const Key& k ) const > { return find( k ) != end(); } > > > size_type count() const { return sh->node_count; } > > QValueList<Key> keys() const { > QValueList<Key> r; > for (const_iterator i=begin(); i!=end(); ++i) > r.append(i.key()); > return r; > } > > QValueList<T> values() const { > QValueList<T> r; > for (const_iterator i=begin(); i!=end(); ++i) > r.append(*i); > return r; > } > > bool isEmpty() const { return sh->node_count == 0; } > > iterator insert( const Key& key, const T& value, bool overwrite = TRUE ); > void remove( iterator it ) { detach(); sh->remove( it ); } > void remove( const Key& k ); ># 735 "/usr/qt/3/include/qmap.h" >protected: > > > > void detach() { if ( sh->count > 1 ) detachInternal(); } > > Priv* sh; >private: > void detachInternal(); > > friend class QDeepCopy< QMap<Key,T> >; >}; > >template<class Key, class T> > QMap<Key,T>& QMap<Key,T>::operator= ( const QMap<Key,T>& m ) >{ > m.sh->ref(); > if ( sh->deref() ) > delete sh; > sh = m.sh; > return *this; >} > >template<class Key, class T> > typename QMap<Key,T>::insert_pair QMap<Key,T>::insert( const typename QMap<Key,T>::value_type& x ) >{ > detach(); > size_type n = size(); > iterator it = sh->insertSingle( x.first ); > bool inserted = FALSE; > if ( n < size() ) { > inserted = TRUE; > it.data() = x.second; > } > return QPair<iterator,bool>( it, inserted ); >} > >template<class Key, class T> > void QMap<Key,T>::erase( const Key& k ) >{ > detach(); > iterator it( sh->find( k ).node ); > if ( it != end() ) > sh->remove( it ); >} > >template<class Key, class T> > typename QMap<Key,T>::size_type QMap<Key,T>::count( const Key& k ) const >{ > const_iterator it( sh->find( k ).node ); > if ( it != end() ) { > size_type c = 0; > while ( it != end() ) { > ++it; > ++c; > } > return c; > } > return 0; >} > >template<class Key, class T> > T& QMap<Key,T>::operator[] ( const Key& k ) >{ > detach(); > QMapNode<Key,T>* p = sh->find( k ).node; > if ( p != sh->end().node ) > return p->data; > return insert( k, T() ).data(); >} > >template<class Key, class T> > void QMap<Key,T>::clear() >{ > if ( sh->count == 1 ) > sh->clear(); > else { > sh->deref(); > sh = new QMapPrivate<Key,T>; > } >} > >template<class Key, class T> > typename QMap<Key,T>::iterator QMap<Key,T>::insert( const Key& key, const T& value, bool overwrite ) >{ > detach(); > size_type n = size(); > iterator it = sh->insertSingle( key ); > if ( overwrite || n < size() ) > it.data() = value; > return it; >} > >template<class Key, class T> > void QMap<Key,T>::remove( const Key& k ) >{ > detach(); > iterator it( sh->find( k ).node ); > if ( it != end() ) > sh->remove( it ); >} > >template<class Key, class T> > void QMap<Key,T>::detachInternal() >{ > sh->deref(); sh = new QMapPrivate<Key,T>( sh ); >} > > > >template<class Key, class T> > QDataStream& operator>>( QDataStream& s, QMap<Key,T>& m ) { > m.clear(); > Q_UINT32 c; > s >> c; > for( Q_UINT32 i = 0; i < c; ++i ) { > Key k; T t; > s >> k >> t; > m.insert( k, t ); > if ( s.atEnd() ) > break; > } > return s; >} > > >template<class Key, class T> > QDataStream& operator<<( QDataStream& s, const QMap<Key,T>& m ) { > s << (Q_UINT32)m.size(); > QMapConstIterator<Key,T> it = m.begin(); > for( ; it != m.end(); ++it ) > s << it.key() << it.data(); > return s; >} > > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 873 "/usr/qt/3/include/qmap.h" 2 ># 27 "../kio/kio/global.h" 2 > ># 1 "../kdecore/kurl.h" 1 ># 27 "../kdecore/kurl.h" >class QUrl; >class QStringList; >template <typename K, typename V> class QMap; > >class KURLPrivate; ># 118 "../kdecore/kurl.h" >class KURL >{ >public: > enum AdjustementFlags > { > NoAdjustements = 0, > StripFileProtocol = 1 > }; > > > > > enum URIMode > { > > > > > Auto, > > > > > Invalid, > > > > > RawURI, > > > > URL, > > > > > > Mailto > }; > > > > > > > > class List : public QValueList<KURL> > { > public: > > > > List() { } > > > > > > List(const KURL &url); > > > > > > List(const QStringList &list); > > > > > QStringList toStringList() const; > }; > > > > KURL(); > > > > > ~KURL(); ># 216 "../kdecore/kurl.h" > KURL( const QString& url, int encoding_hint = 0 ); ># 226 "../kdecore/kurl.h" > KURL( const char * url, int encoding_hint = 0 ); ># 236 "../kdecore/kurl.h" > KURL( const QCString& url, int encoding_hint = 0 ); > > > > > > KURL( const KURL& u ); > > > > > KURL( const QUrl &u ); ># 260 "../kdecore/kurl.h" > KURL( const KURL& _baseurl, const QString& _rel_url, int encoding_hint=0 ); > > > > > > > QString protocol() const { return m_bIsMalformed ? QString::null : m_strProtocol; } > > > > > void setProtocol( const QString& _txt ); > > > > > > > int uriMode() const; > > > > > > QString user() const { return m_strUser; } > > > > > > > void setUser( const QString& _txt ); > > > > > bool hasUser() const { return !m_strUser.isEmpty(); } > > > > > > QString pass() const { return m_strPass; } ># 314 "../kdecore/kurl.h" > void setPass( const QString& _txt ); > > > > > bool hasPass() const { return !m_strPass.isEmpty(); } > > > > > > QString host() const { return m_strHost; } > > > > > > > > void setHost( const QString& _txt ); > > > > > bool hasHost() const { return !m_strHost.isEmpty(); } > > > > > > > unsigned short int port() const { return m_iPort; } > > > > > void setPort( unsigned short int _p ); > > > > > > > QString path() const { return m_strPath; } ># 372 "../kdecore/kurl.h" > QString path( int _trailing ) const; ># 382 "../kdecore/kurl.h" > void setPath( const QString& path ); > > > > > > bool hasPath() const { return !m_strPath.isEmpty(); } ># 398 "../kdecore/kurl.h" > void cleanPath(bool cleanDirSeparator = true); ># 411 "../kdecore/kurl.h" > void adjustPath(int _trailing); ># 420 "../kdecore/kurl.h" > void setEncodedPathAndQuery( const QString& _txt, int encoding_hint = 0 ); > > > > > > > > void setEncodedPath(const QString& _txt, int encoding_hint = 0 ); ># 447 "../kdecore/kurl.h" > QString encodedPathAndQuery( int _trailing = 0, bool _no_empty_path = false, int encoding_hint = 0) const; ># 457 "../kdecore/kurl.h" > void setQuery( const QString& _txt, int encoding_hint = 0); ># 467 "../kdecore/kurl.h" > QString query() const; > > > > > > QString ref() const { return m_strRef_encoded; } > > > > > > void setRef( const QString& _txt ) { m_strRef_encoded = _txt; } > > > > > > > > bool hasRef() const { return !m_strRef_encoded.isNull(); } ># 496 "../kdecore/kurl.h" > QString htmlRef() const; > > > > > > > QString encodedHtmlRef() const; ># 512 "../kdecore/kurl.h" > void setHTMLRef( const QString& _ref ); > > > > > > > bool hasHTMLRef() const; > > > > > > > bool isValid() const { return !m_bIsMalformed; } > > > > __attribute__ ((deprecated)) bool isMalformed() const { return !isValid(); } > > > > > > > bool isLocalFile() const; > > > > > > > > void setFileEncoding(const QString &encoding); > > > > > > > > QString fileEncoding() const; > > > > > > > > bool hasSubURL() const; ># 573 "../kdecore/kurl.h" > void addPath( const QString& txt ); > > > > > > QString queryItem( const QString& item ) const; ># 590 "../kdecore/kurl.h" > QString queryItem( const QString& item, int encoding_hint ) const; ># 600 "../kdecore/kurl.h" > enum QueryItemsOptions { CaseInsensitiveKeys = 1 }; > > > > > QMap< QString, QString > queryItems( int options=0 ) const; ># 618 "../kdecore/kurl.h" > QMap< QString, QString > queryItems( int options, int encoding_hint ) const; ># 630 "../kdecore/kurl.h" > void addQueryItem( const QString& _item, const QString& _value, int encoding_hint = 0 ); > > > > > > > void removeQueryItem( const QString& _item ); ># 652 "../kdecore/kurl.h" > void setFileName( const QString&_txt ); ># 664 "../kdecore/kurl.h" > QString fileName( bool _ignore_trailing_slash_in_path = true ) const; ># 677 "../kdecore/kurl.h" > QString directory( bool _strip_trailing_slash_from_result = true, > bool _ignore_trailing_slash_in_path = true ) const; > > > > > void setDirectory(const QString &dir); ># 698 "../kdecore/kurl.h" > bool cd( const QString& _dir ); ># 718 "../kdecore/kurl.h" > QString url( int _trailing = 0, int encoding_hint = 0) const; ># 733 "../kdecore/kurl.h" > QString prettyURL( int _trailing = 0) const; ># 744 "../kdecore/kurl.h" > QString prettyURL( int _trailing, AdjustementFlags _flags) const; ># 753 "../kdecore/kurl.h" > QString htmlURL() const; > > > > > > > bool isEmpty() const; ># 770 "../kdecore/kurl.h" > KURL upURL( ) const; > > bool operator<(const KURL& _u) const; > > KURL& operator=( const KURL& _u ); > KURL& operator=( const QString& _url ); > KURL& operator=( const char * _url ); > KURL& operator=( const QUrl & u ); > > bool operator==( const KURL& _u ) const; > bool operator==( const QString& _u ) const; > bool operator!=( const KURL& _u ) const { return !( *this == _u ); } > bool operator!=( const QString& _u ) const { return !( *this == _u ); } ># 794 "../kdecore/kurl.h" > bool cmp( const KURL &u, bool ignore_trailing = false ) const __attribute__ ((deprecated)); ># 805 "../kdecore/kurl.h" > bool equals( const KURL &u, bool ignore_trailing = false ) const; > > > > > > > bool isParentOf( const KURL& u ) const; ># 829 "../kdecore/kurl.h" > static List split( const QString& _url ); ># 846 "../kdecore/kurl.h" > static List split( const KURL& _url ); ># 855 "../kdecore/kurl.h" > static KURL join( const List& _list ); ># 870 "../kdecore/kurl.h" > static KURL fromPathOrURL( const QString& text ); ># 882 "../kdecore/kurl.h" > static QString encode_string(const QString &str, int encoding_hint = 0); ># 894 "../kdecore/kurl.h" > static QString encode_string_no_slash(const QString &str, int encoding_hint = 0); ># 906 "../kdecore/kurl.h" > static QString decode_string(const QString &str, int encoding_hint = 0); ># 916 "../kdecore/kurl.h" > static bool isRelativeURL(const QString &_url); ># 934 "../kdecore/kurl.h" > static QString relativeURL(const KURL &base_url, const KURL &url, int encoding_hint = 0); ># 945 "../kdecore/kurl.h" > static QString relativePath(const QString &base_dir, const QString &path, bool *isParent=0); > > > > > > > static URIMode uriModeForProtocol(const QString& protocol); > > > > > QString filename( bool _ignore_trailing_slash_in_path = true ) const > { > return fileName(_ignore_trailing_slash_in_path); > } > >protected: > void reset(); > void parseURL( const QString& _url, int encoding_hint = 0 ); > void parseRawURI( const QString& _url, int encoding_hint = 0 ); > void parseMailto( const QString& _url, int encoding_hint = 0 ); > void parse( const QString& _url, int encoding_hint = 0 ); > >private: > void _setQuery( const QString& _txt, int encoding_hint = 0); > > QString m_strProtocol; > QString m_strUser; > QString m_strPass; > QString m_strHost; > QString m_strPath; > QString m_strRef_encoded; > QString m_strQuery_encoded; > bool m_bIsMalformed : 1; > enum URIMode m_iUriMode : 3; > uint freeForUse : 4; > unsigned short int m_iPort; > QString m_strPath_encoded; > > friend QDataStream & operator<< (QDataStream & s, const KURL & a); > friend QDataStream & operator>> (QDataStream & s, KURL & a); >private: > KURLPrivate* d; >}; ># 998 "../kdecore/kurl.h" >bool urlcmp( const QString& _url1, const QString& _url2 ); ># 1012 "../kdecore/kurl.h" >bool urlcmp( const QString& _url1, const QString& _url2, bool _ignore_trailing, bool _ignore_ref ); > >QDataStream & operator<< (QDataStream & s, const KURL & a); >QDataStream & operator>> (QDataStream & s, KURL & a); ># 29 "../kio/kio/global.h" 2 > > > > > >namespace KIO >{ > > typedef signed long long int fileoffset_t; > > typedef unsigned long long int filesize_t; > > > > > > > > QString convertSize( KIO::filesize_t size ); ># 56 "../kio/kio/global.h" > QString number( KIO::filesize_t size ); > > > > > > > > QString convertSizeFromKB( KIO::filesize_t kbSize ); ># 74 "../kio/kio/global.h" > QTime calculateRemaining( KIO::filesize_t totalSize, KIO::filesize_t processedSize, KIO::filesize_t speed ); ># 85 "../kio/kio/global.h" > QString itemsSummaryString(uint items, uint files, uint dirs, KIO::filesize_t size, bool showSize); ># 94 "../kio/kio/global.h" > QString encodeFileName( const QString & str ); > > > > > > > QString decodeFileName( const QString & str ); > > > > > enum Command { > CMD_HOST = '0', > CMD_CONNECT = '1', > CMD_DISCONNECT = '2', > CMD_SLAVE_STATUS = '3', > CMD_SLAVE_CONNECT = '4', > CMD_SLAVE_HOLD = '5', > CMD_NONE = 'A', > CMD_TESTDIR = 'B', > CMD_GET = 'C', > CMD_PUT = 'D', > CMD_STAT = 'E', > CMD_MIMETYPE = 'F', > CMD_LISTDIR = 'G', > CMD_MKDIR = 'H', > CMD_RENAME = 'I', > CMD_COPY = 'J', > CMD_DEL = 'K', > CMD_CHMOD = 'L', > CMD_SPECIAL = 'M', > CMD_USERPASS = 'N', > CMD_REPARSECONFIGURATION = 'O', > CMD_META_DATA = 'P', > CMD_SYMLINK = 'Q', > CMD_SUBURL = 'R', > CMD_MESSAGEBOXANSWER = 'S', > CMD_RESUMEANSWER = 'T', > CMD_CONFIG = 'U', > CMD_MULTI_GET = 'V' > > > }; > > > > > enum Error { > ERR_CANNOT_OPEN_FOR_READING = 1, > ERR_CANNOT_OPEN_FOR_WRITING = 2, > ERR_CANNOT_LAUNCH_PROCESS = 3, > ERR_INTERNAL = 4, > ERR_MALFORMED_URL = 5, > ERR_UNSUPPORTED_PROTOCOL = 6, > ERR_NO_SOURCE_PROTOCOL = 7, > ERR_UNSUPPORTED_ACTION = 8, > ERR_IS_DIRECTORY = 9, > ERR_IS_FILE = 10, > ERR_DOES_NOT_EXIST = 11, > ERR_FILE_ALREADY_EXIST = 12, > ERR_DIR_ALREADY_EXIST = 13, > ERR_UNKNOWN_HOST = 14, > ERR_ACCESS_DENIED = 15, > ERR_WRITE_ACCESS_DENIED = 16, > ERR_CANNOT_ENTER_DIRECTORY = 17, > ERR_PROTOCOL_IS_NOT_A_FILESYSTEM = 18, > ERR_CYCLIC_LINK = 19, > ERR_USER_CANCELED = 20, > ERR_CYCLIC_COPY = 21, > ERR_COULD_NOT_CREATE_SOCKET = 22, > ERR_COULD_NOT_CONNECT = 23, > ERR_CONNECTION_BROKEN = 24, > ERR_NOT_FILTER_PROTOCOL = 25, > ERR_COULD_NOT_MOUNT = 26, > ERR_COULD_NOT_UNMOUNT = 27, > ERR_COULD_NOT_READ = 28, > ERR_COULD_NOT_WRITE = 29, > ERR_COULD_NOT_BIND = 30, > ERR_COULD_NOT_LISTEN = 31, > ERR_COULD_NOT_ACCEPT = 32, > ERR_COULD_NOT_LOGIN = 33, > ERR_COULD_NOT_STAT = 34, > ERR_COULD_NOT_CLOSEDIR = 35, > ERR_COULD_NOT_MKDIR = 37, > ERR_COULD_NOT_RMDIR = 38, > ERR_CANNOT_RESUME = 39, > ERR_CANNOT_RENAME = 40, > ERR_CANNOT_CHMOD = 41, > ERR_CANNOT_DELETE = 42, > > > ERR_SLAVE_DIED = 43, > ERR_OUT_OF_MEMORY = 44, > ERR_UNKNOWN_PROXY_HOST = 45, > ERR_COULD_NOT_AUTHENTICATE = 46, > ERR_ABORTED = 47, > > ERR_INTERNAL_SERVER = 48, > ERR_SERVER_TIMEOUT = 49, > ERR_SERVICE_NOT_AVAILABLE = 50, > ERR_UNKNOWN = 51, > > ERR_UNKNOWN_INTERRUPT = 53, > ERR_CANNOT_DELETE_ORIGINAL = 54, > ERR_CANNOT_DELETE_PARTIAL = 55, > ERR_CANNOT_RENAME_ORIGINAL = 56, > ERR_CANNOT_RENAME_PARTIAL = 57, > ERR_NEED_PASSWD = 58, > ERR_CANNOT_SYMLINK = 59, > ERR_NO_CONTENT = 60, > ERR_DISK_FULL = 61, > ERR_IDENTICAL_FILES = 62, > ERR_SLAVE_DEFINED = 63, > > > > > > ERR_UPGRADE_REQUIRED = 64, > > > ERR_POST_DENIED = 65 > > }; ># 227 "../kio/kio/global.h" > QString buildErrorString(int errorCode, const QString &errorText); ># 239 "../kio/kio/global.h" > QString buildHTMLErrorString(int errorCode, const QString &errorText, > const KURL *reqUrl = 0L, int method = -1 ); ># 258 "../kio/kio/global.h" > QByteArray rawErrorDetail(int errorCode, const QString &errorText, > const KURL *reqUrl = 0L, int method = -1 ); ># 269 "../kio/kio/global.h" > QString unsupportedActionErrorString(const QString &protocol, int cmd); > > > > > enum UDSAtomTypes { > > UDS_STRING = 1, > UDS_LONG = 2, > UDS_TIME = 4 | UDS_LONG, > > > UDS_SIZE = 8 | UDS_LONG, > UDS_SIZE_LARGE = 32768 | UDS_LONG, > > UDS_USER = 16 | UDS_STRING, > > > > UDS_ICON_NAME = 24 | UDS_STRING, > > UDS_GROUP = 32 | UDS_STRING, > > > > UDS_EXTRA = 48 | UDS_STRING, > > UDS_NAME = 64 | UDS_STRING, > > UDS_ACCESS = 128 | UDS_LONG, > > UDS_MODIFICATION_TIME = 256 | UDS_TIME, > > UDS_ACCESS_TIME = 512 | UDS_TIME, > > UDS_CREATION_TIME = 1024 | UDS_TIME, > > > > UDS_FILE_TYPE = 2048 | UDS_LONG, > > > UDS_LINK_DEST = 4096 | UDS_STRING, > > UDS_URL = 8192 | UDS_STRING, > > UDS_MIME_TYPE = 16384 | UDS_STRING, > > > UDS_GUESSED_MIME_TYPE = 16392 | UDS_STRING, > > > UDS_XML_PROPERTIES = 32768 | UDS_STRING > }; > > > > > > > enum CacheControl > { > CC_CacheOnly, > CC_Cache, > CC_Verify, > CC_Refresh, > > CC_Reload > }; ># 346 "../kio/kio/global.h" > KIO::CacheControl parseCacheControl(const QString &cacheControl); ># 355 "../kio/kio/global.h" > QString getCacheControlString(KIO::CacheControl cacheControl); > > > > > > > QString findDeviceMountPoint( const QString& device ); ># 371 "../kio/kio/global.h" > QString findPathMountPoint( const QString & filename ); ># 380 "../kio/kio/global.h" > bool probably_slow_mounted(const QString& filename); > > > > > > > > bool manually_mounted(const QString& filename); > > enum FileSystemFlag { SupportsChmod, SupportsChown, SupportsUTime, > SupportsSymlinks, CaseInsensitive }; ># 411 "../kio/kio/global.h" > bool testFileSystemFlag(const QString& filename, FileSystemFlag flag); ># 427 "../kio/kio/global.h" >class UDSAtom >{ >public: > > > > QString m_str; > > > > long long m_long; > > > > > unsigned int m_uds; >}; > > > > >typedef QValueList<UDSAtom> UDSEntry; >typedef QValueList<UDSEntry> UDSEntryList; >typedef QValueListIterator<UDSEntry> UDSEntryListIterator; >typedef QValueListConstIterator<UDSEntry> UDSEntryListConstIterator; > > > > >class MetaData : public QMap<QString, QString> >{ >public: > > > > MetaData() : QMap<QString, QString>() { }; > > > > MetaData(const QMap<QString, QString>&metaData) : > QMap<QString, QString>(metaData) { }; > > > > > > > MetaData & operator+= ( const QMap<QString,QString> &metaData ) > { > QMap<QString,QString>::ConstIterator it; > for( it = metaData.begin(); > it != metaData.end(); > ++it) > { > replace(it.key(), it.data()); > } > return *this; > } >}; > >} ># 19 "kio_help.h" 2 ># 1 "../kio/kio/slavebase.h" 1 ># 24 "../kio/kio/slavebase.h" ># 1 "../kdecore/kconfigbase.h" 1 ># 26 "../kdecore/kconfigbase.h" ># 1 "/usr/qt/3/include/qobject.h" 1 ># 42 "/usr/qt/3/include/qobject.h" ># 1 "/usr/qt/3/include/qobjectdefs.h" 1 ># 42 "/usr/qt/3/include/qobjectdefs.h" ># 1 "/usr/qt/3/include/qglobal.h" 1 ># 43 "/usr/qt/3/include/qobjectdefs.h" 2 ># 72 "/usr/qt/3/include/qobjectdefs.h" >struct QUObject; ># 152 "/usr/qt/3/include/qobjectdefs.h" >class QObject; >class QMetaObject; >class QSignal; >class QConnection; >class QEvent; >struct QMetaData; >class QConnectionList; >class QConnectionListIt; >class QSignalVec; >class QObjectList; >class QObjectListIt; >class QMemberDict; > > void *qt_find_obj_child( QObject *, const char *, const char * ); > > > > void *qt_inheritedBy( QMetaObject *super, const QObject *cls ); > >template <typename T> > T qt_cast(const QObject *object) >{ return (T)qt_inheritedBy( ((T)0)->staticMetaObject(), object ); } ># 43 "/usr/qt/3/include/qobject.h" 2 ># 1 "/usr/qt/3/include/qwindowdefs.h" 1 ># 50 "/usr/qt/3/include/qwindowdefs.h" >class QPaintDevice; >class QPaintDeviceMetrics; >class QWidget; >class QWidgetMapper; >class QDialog; >class QColor; >class QColorGroup; >class QPalette; >class QCursor; >class QPoint; >class QSize; >class QRect; >class QPointArray; >class QPainter; >class QRegion; >class QFont; >class QFontMetrics; >class QFontInfo; >class QPen; >class QBrush; >class QWMatrix; >class QPixmap; >class QBitmap; >class QMovie; >class QImage; >class QImageIO; >class QPicture; >class QPrinter; >class QAccel; >class QTimer; >class QTime; >class QClipboard; > > > > >class QWidgetList; >class QWidgetListIt; ># 141 "/usr/qt/3/include/qwindowdefs.h" >typedef struct _XDisplay Display; >typedef union _XEvent XEvent; >typedef struct _XGC *GC; >typedef struct _XRegion *Region; >typedef unsigned long WId; > > Display *qt_xdisplay(); > int qt_xscreen(); > WId qt_xrootwin(); > WId qt_xrootwin( int scrn ); > GC qt_xget_readonly_gc( int scrn, bool monochrome ); > GC qt_xget_temp_gc( int scrn, bool monochrome ); > > const char *qAppClass(); ># 166 "/usr/qt/3/include/qwindowdefs.h" >class QApplication; > > > > > > > >typedef Q_INT32 QCOORD; >const QCOORD QCOORD_MAX = 2147483647; >const QCOORD QCOORD_MIN = -QCOORD_MAX - 1; > >typedef unsigned int QRgb; > > const char *qAppName(); > > > >typedef void (*QtCleanUpFunction)(); > void qAddPostRoutine( QtCleanUpFunction ); > void qRemovePostRoutine( QtCleanUpFunction ); ># 44 "/usr/qt/3/include/qobject.h" 2 > ># 1 "/usr/qt/3/include/qevent.h" 1 ># 43 "/usr/qt/3/include/qevent.h" ># 1 "/usr/qt/3/include/qregion.h" 1 ># 43 "/usr/qt/3/include/qregion.h" ># 1 "/usr/qt/3/include/qrect.h" 1 ># 42 "/usr/qt/3/include/qrect.h" ># 1 "/usr/qt/3/include/qsize.h" 1 ># 42 "/usr/qt/3/include/qsize.h" ># 1 "/usr/qt/3/include/qpoint.h" 1 ># 46 "/usr/qt/3/include/qpoint.h" >class QPoint >{ >public: > QPoint(); > QPoint( int xpos, int ypos ); > > bool isNull() const; > > int x() const; > int y() const; > void setX( int x ); > void setY( int y ); > > int manhattanLength() const; > > QCOORD &rx(); > QCOORD &ry(); > > QPoint &operator+=( const QPoint &p ); > QPoint &operator-=( const QPoint &p ); > QPoint &operator*=( int c ); > QPoint &operator*=( double c ); > QPoint &operator/=( int c ); > QPoint &operator/=( double c ); > > friend inline bool operator==( const QPoint &, const QPoint & ); > friend inline bool operator!=( const QPoint &, const QPoint & ); > friend inline const QPoint operator+( const QPoint &, const QPoint & ); > friend inline const QPoint operator-( const QPoint &, const QPoint & ); > friend inline const QPoint operator*( const QPoint &, int ); > friend inline const QPoint operator*( int, const QPoint & ); > friend inline const QPoint operator*( const QPoint &, double ); > friend inline const QPoint operator*( double, const QPoint & ); > friend inline const QPoint operator-( const QPoint & ); > friend inline const QPoint operator/( const QPoint &, int ); > friend inline const QPoint operator/( const QPoint &, double ); > >private: > static void warningDivByZero(); > > > > > > QCOORD xp; > QCOORD yp; > >}; > > > > > > > QDataStream &operator<<( QDataStream &, const QPoint & ); > QDataStream &operator>>( QDataStream &, QPoint & ); > > > > > > >inline QPoint::QPoint() >{ xp=0; yp=0; } > >inline QPoint::QPoint( int xpos, int ypos ) >{ xp=(QCOORD)xpos; yp=(QCOORD)ypos; } > >inline bool QPoint::isNull() const >{ return xp == 0 && yp == 0; } > >inline int QPoint::x() const >{ return xp; } > >inline int QPoint::y() const >{ return yp; } > >inline void QPoint::setX( int x ) >{ xp = (QCOORD)x; } > >inline void QPoint::setY( int y ) >{ yp = (QCOORD)y; } > >inline QCOORD &QPoint::rx() >{ return xp; } > >inline QCOORD &QPoint::ry() >{ return yp; } > >inline QPoint &QPoint::operator+=( const QPoint &p ) >{ xp+=p.xp; yp+=p.yp; return *this; } > >inline QPoint &QPoint::operator-=( const QPoint &p ) >{ xp-=p.xp; yp-=p.yp; return *this; } > >inline QPoint &QPoint::operator*=( int c ) >{ xp*=(QCOORD)c; yp*=(QCOORD)c; return *this; } > >inline QPoint &QPoint::operator*=( double c ) >{ xp=(QCOORD)(xp*c); yp=(QCOORD)(yp*c); return *this; } > >inline bool operator==( const QPoint &p1, const QPoint &p2 ) >{ return p1.xp == p2.xp && p1.yp == p2.yp; } > >inline bool operator!=( const QPoint &p1, const QPoint &p2 ) >{ return p1.xp != p2.xp || p1.yp != p2.yp; } > >inline const QPoint operator+( const QPoint &p1, const QPoint &p2 ) >{ return QPoint(p1.xp+p2.xp, p1.yp+p2.yp); } > >inline const QPoint operator-( const QPoint &p1, const QPoint &p2 ) >{ return QPoint(p1.xp-p2.xp, p1.yp-p2.yp); } > >inline const QPoint operator*( const QPoint &p, int c ) >{ return QPoint(p.xp*c, p.yp*c); } > >inline const QPoint operator*( int c, const QPoint &p ) >{ return QPoint(p.xp*c, p.yp*c); } > >inline const QPoint operator*( const QPoint &p, double c ) >{ return QPoint((QCOORD)(p.xp*c), (QCOORD)(p.yp*c)); } > >inline const QPoint operator*( double c, const QPoint &p ) >{ return QPoint((QCOORD)(p.xp*c), (QCOORD)(p.yp*c)); } > >inline const QPoint operator-( const QPoint &p ) >{ return QPoint(-p.xp, -p.yp); } > >inline QPoint &QPoint::operator/=( int c ) >{ > > if ( c == 0 ) > warningDivByZero(); > > xp/=(QCOORD)c; > yp/=(QCOORD)c; > return *this; >} > >inline QPoint &QPoint::operator/=( double c ) >{ > > if ( c == 0.0 ) > warningDivByZero(); > > xp=(QCOORD)(xp/c); > yp=(QCOORD)(yp/c); > return *this; >} > >inline const QPoint operator/( const QPoint &p, int c ) >{ > > if ( c == 0 ) > QPoint::warningDivByZero(); > > return QPoint(p.xp/c, p.yp/c); >} > >inline const QPoint operator/( const QPoint &p, double c ) >{ > > if ( c == 0.0 ) > QPoint::warningDivByZero(); > > return QPoint((QCOORD)(p.xp/c), (QCOORD)(p.yp/c)); >} > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 216 "/usr/qt/3/include/qpoint.h" 2 ># 43 "/usr/qt/3/include/qsize.h" 2 > > >class QSize > >{ >public: > > enum ScaleMode { > ScaleFree, > ScaleMin, > ScaleMax > }; > > QSize(); > QSize( int w, int h ); > > bool isNull() const; > bool isEmpty() const; > bool isValid() const; > > int width() const; > int height() const; > void setWidth( int w ); > void setHeight( int h ); > void transpose(); > > void scale( int w, int h, ScaleMode mode ); > void scale( const QSize &s, ScaleMode mode ); > > QSize expandedTo( const QSize & ) const; > QSize boundedTo( const QSize & ) const; > > QCOORD &rwidth(); > QCOORD &rheight(); > > QSize &operator+=( const QSize & ); > QSize &operator-=( const QSize & ); > QSize &operator*=( int c ); > QSize &operator*=( double c ); > QSize &operator/=( int c ); > QSize &operator/=( double c ); > > friend inline bool operator==( const QSize &, const QSize & ); > friend inline bool operator!=( const QSize &, const QSize & ); > friend inline const QSize operator+( const QSize &, const QSize & ); > friend inline const QSize operator-( const QSize &, const QSize & ); > friend inline const QSize operator*( const QSize &, int ); > friend inline const QSize operator*( int, const QSize & ); > friend inline const QSize operator*( const QSize &, double ); > friend inline const QSize operator*( double, const QSize & ); > friend inline const QSize operator/( const QSize &, int ); > friend inline const QSize operator/( const QSize &, double ); > >private: > static void warningDivByZero(); > > QCOORD wd; > QCOORD ht; >}; > > > > > > > QDataStream &operator<<( QDataStream &, const QSize & ); > QDataStream &operator>>( QDataStream &, QSize & ); > > > > > > >inline QSize::QSize() >{ wd = ht = -1; } > >inline QSize::QSize( int w, int h ) >{ wd=(QCOORD)w; ht=(QCOORD)h; } > >inline bool QSize::isNull() const >{ return wd==0 && ht==0; } > >inline bool QSize::isEmpty() const >{ return wd<1 || ht<1; } > >inline bool QSize::isValid() const >{ return wd>=0 && ht>=0; } > >inline int QSize::width() const >{ return wd; } > >inline int QSize::height() const >{ return ht; } > >inline void QSize::setWidth( int w ) >{ wd=(QCOORD)w; } > >inline void QSize::setHeight( int h ) >{ ht=(QCOORD)h; } > >inline QCOORD &QSize::rwidth() >{ return wd; } > >inline QCOORD &QSize::rheight() >{ return ht; } > >inline QSize &QSize::operator+=( const QSize &s ) >{ wd+=s.wd; ht+=s.ht; return *this; } > >inline QSize &QSize::operator-=( const QSize &s ) >{ wd-=s.wd; ht-=s.ht; return *this; } > >inline QSize &QSize::operator*=( int c ) >{ wd*=(QCOORD)c; ht*=(QCOORD)c; return *this; } > >inline QSize &QSize::operator*=( double c ) >{ wd=(QCOORD)(wd*c); ht=(QCOORD)(ht*c); return *this; } > >inline bool operator==( const QSize &s1, const QSize &s2 ) >{ return s1.wd == s2.wd && s1.ht == s2.ht; } > >inline bool operator!=( const QSize &s1, const QSize &s2 ) >{ return s1.wd != s2.wd || s1.ht != s2.ht; } > >inline const QSize operator+( const QSize & s1, const QSize & s2 ) >{ return QSize(s1.wd+s2.wd, s1.ht+s2.ht); } > >inline const QSize operator-( const QSize &s1, const QSize &s2 ) >{ return QSize(s1.wd-s2.wd, s1.ht-s2.ht); } > >inline const QSize operator*( const QSize &s, int c ) >{ return QSize(s.wd*c, s.ht*c); } > >inline const QSize operator*( int c, const QSize &s ) >{ return QSize(s.wd*c, s.ht*c); } > >inline const QSize operator*( const QSize &s, double c ) >{ return QSize((QCOORD)(s.wd*c), (QCOORD)(s.ht*c)); } > >inline const QSize operator*( double c, const QSize &s ) >{ return QSize((QCOORD)(s.wd*c), (QCOORD)(s.ht*c)); } > >inline QSize &QSize::operator/=( int c ) >{ > > if ( c == 0 ) > warningDivByZero(); > > wd/=(QCOORD)c; ht/=(QCOORD)c; > return *this; >} > >inline QSize &QSize::operator/=( double c ) >{ > > if ( c == 0.0 ) > warningDivByZero(); > > wd=(QCOORD)(wd/c); ht=(QCOORD)(ht/c); > return *this; >} > >inline const QSize operator/( const QSize &s, int c ) >{ > > if ( c == 0 ) > QSize::warningDivByZero(); > > return QSize(s.wd/c, s.ht/c); >} > >inline const QSize operator/( const QSize &s, double c ) >{ > > if ( c == 0.0 ) > QSize::warningDivByZero(); > > return QSize((QCOORD)(s.wd/c), (QCOORD)(s.ht/c)); >} > >inline QSize QSize::expandedTo( const QSize & otherSize ) const >{ > return QSize( ((otherSize.wd) < (wd) ? (wd) : (otherSize.wd)), ((otherSize.ht) < (ht) ? (ht) : (otherSize.ht)) ); >} > >inline QSize QSize::boundedTo( const QSize & otherSize ) const >{ > return QSize( ((wd) < (otherSize.wd) ? (wd) : (otherSize.wd)), ((ht) < (otherSize.ht) ? (ht) : (otherSize.ht)) ); >} ># 43 "/usr/qt/3/include/qrect.h" 2 > > > > > > > >class QRect >{ >public: > QRect() { x1 = y1 = 0; x2 = y2 = -1; } > QRect( const QPoint &topleft, const QPoint &bottomright ); > QRect( const QPoint &topleft, const QSize &size ); > QRect( int left, int top, int width, int height ); > > bool isNull() const; > bool isEmpty() const; > bool isValid() const; > QRect normalize() const; > > int left() const; > int top() const; > int right() const; > int bottom() const; > > QCOORD &rLeft(); > QCOORD &rTop(); > QCOORD &rRight(); > QCOORD &rBottom(); > > int x() const; > int y() const; > void setLeft( int pos ); > void setTop( int pos ); > void setRight( int pos ); > void setBottom( int pos ); > void setX( int x ); > void setY( int y ); > > void setTopLeft( const QPoint &p ); > void setBottomRight( const QPoint &p ); > void setTopRight( const QPoint &p ); > void setBottomLeft( const QPoint &p ); > > QPoint topLeft() const; > QPoint bottomRight() const; > QPoint topRight() const; > QPoint bottomLeft() const; > QPoint center() const; > > void rect( int *x, int *y, int *w, int *h ) const; > void coords( int *x1, int *y1, int *x2, int *y2 ) const; > > void moveLeft( int pos ); > void moveTop( int pos ); > void moveRight( int pos ); > void moveBottom( int pos ); > void moveTopLeft( const QPoint &p ); > void moveBottomRight( const QPoint &p ); > void moveTopRight( const QPoint &p ); > void moveBottomLeft( const QPoint &p ); > void moveCenter( const QPoint &p ); > void moveBy( int dx, int dy ); > > void setRect( int x, int y, int w, int h ); > void setCoords( int x1, int y1, int x2, int y2 ); > void addCoords( int x1, int y1, int x2, int y2 ); > > QSize size() const; > int width() const; > int height() const; > void setWidth( int w ); > void setHeight( int h ); > void setSize( const QSize &s ); > > QRect operator|(const QRect &r) const; > QRect operator&(const QRect &r) const; > QRect& operator|=(const QRect &r); > QRect& operator&=(const QRect &r); > > bool contains( const QPoint &p, bool proper=FALSE ) const; > bool contains( int x, int y ) const; > bool contains( int x, int y, bool proper ) const; > bool contains( const QRect &r, bool proper=FALSE ) const; > QRect unite( const QRect &r ) const; > QRect intersect( const QRect &r ) const; > bool intersects( const QRect &r ) const; > > friend bool operator==( const QRect &, const QRect & ); > friend bool operator!=( const QRect &, const QRect & ); > >private: > > friend void qt_setCoords( QRect *r, int xp1, int yp1, int xp2, int yp2 ); > > > > > > > > QCOORD x1; > QCOORD y1; > QCOORD x2; > QCOORD y2; > >}; > > bool operator==( const QRect &, const QRect & ); > bool operator!=( const QRect &, const QRect & ); > > > > > > > QDataStream &operator<<( QDataStream &, const QRect & ); > QDataStream &operator>>( QDataStream &, QRect & ); > > > > > > >inline QRect::QRect( int left, int top, int width, int height ) >{ > x1 = (QCOORD)left; > y1 = (QCOORD)top; > x2 = (QCOORD)(left+width-1); > y2 = (QCOORD)(top+height-1); >} > >inline bool QRect::isNull() const >{ return x2 == x1-1 && y2 == y1-1; } > >inline bool QRect::isEmpty() const >{ return x1 > x2 || y1 > y2; } > >inline bool QRect::isValid() const >{ return x1 <= x2 && y1 <= y2; } > >inline int QRect::left() const >{ return x1; } > >inline int QRect::top() const >{ return y1; } > >inline int QRect::right() const >{ return x2; } > >inline int QRect::bottom() const >{ return y2; } > >inline QCOORD &QRect::rLeft() >{ return x1; } > >inline QCOORD & QRect::rTop() >{ return y1; } > >inline QCOORD & QRect::rRight() >{ return x2; } > >inline QCOORD & QRect::rBottom() >{ return y2; } > >inline int QRect::x() const >{ return x1; } > >inline int QRect::y() const >{ return y1; } > >inline void QRect::setLeft( int pos ) >{ x1 = (QCOORD)pos; } > >inline void QRect::setTop( int pos ) >{ y1 = (QCOORD)pos; } > >inline void QRect::setRight( int pos ) >{ x2 = (QCOORD)pos; } > >inline void QRect::setBottom( int pos ) >{ y2 = (QCOORD)pos; } > >inline void QRect::setX( int x ) >{ x1 = (QCOORD)x; } > >inline void QRect::setY( int y ) >{ y1 = (QCOORD)y; } > >inline QPoint QRect::topLeft() const >{ return QPoint(x1, y1); } > >inline QPoint QRect::bottomRight() const >{ return QPoint(x2, y2); } > >inline QPoint QRect::topRight() const >{ return QPoint(x2, y1); } > >inline QPoint QRect::bottomLeft() const >{ return QPoint(x1, y2); } > >inline QPoint QRect::center() const >{ return QPoint((x1+x2)/2, (y1+y2)/2); } > >inline int QRect::width() const >{ return x2 - x1 + 1; } > >inline int QRect::height() const >{ return y2 - y1 + 1; } > >inline QSize QRect::size() const >{ return QSize(x2-x1+1, y2-y1+1); } > >inline bool QRect::contains( int x, int y, bool proper ) const >{ > if ( proper ) > return x > x1 && x < x2 && > y > y1 && y < y2; > else > return x >= x1 && x <= x2 && > y >= y1 && y <= y2; >} > >inline bool QRect::contains( int x, int y ) const >{ > return x >= x1 && x <= x2 && > y >= y1 && y <= y2; >} > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 273 "/usr/qt/3/include/qrect.h" 2 ># 44 "/usr/qt/3/include/qregion.h" 2 > > > >struct QRegionPrivate; > > >class QRegion >{ >public: > enum RegionType { Rectangle, Ellipse }; > > QRegion(); > QRegion( int x, int y, int w, int h, RegionType = Rectangle ); > QRegion( const QRect &, RegionType = Rectangle ); > QRegion( const QPointArray &, bool winding=FALSE ); > QRegion( const QRegion & ); > QRegion( const QBitmap & ); > ~QRegion(); > QRegion &operator=( const QRegion & ); > > bool isNull() const; > bool isEmpty() const; > > bool contains( const QPoint &p ) const; > bool contains( const QRect &r ) const; > > void translate( int dx, int dy ); > > QRegion unite( const QRegion & ) const; > QRegion intersect( const QRegion &) const; > QRegion subtract( const QRegion & ) const; > QRegion eor( const QRegion & ) const; > > QRect boundingRect() const; > QMemArray<QRect> rects() const; > void setRects( const QRect *, int ); > > const QRegion operator|( const QRegion & ) const; > const QRegion operator+( const QRegion & ) const; > const QRegion operator&( const QRegion & ) const; > const QRegion operator-( const QRegion & ) const; > const QRegion operator^( const QRegion & ) const; > QRegion& operator|=( const QRegion & ); > QRegion& operator+=( const QRegion & ); > QRegion& operator&=( const QRegion & ); > QRegion& operator-=( const QRegion & ); > QRegion& operator^=( const QRegion & ); > > bool operator==( const QRegion & ) const; > bool operator!=( const QRegion &r ) const > { return !(operator==(r)); } > > > > > Region handle() const { if(!data->rgn) updateX11Region(); return data->rgn; } ># 108 "/usr/qt/3/include/qregion.h" > friend QDataStream &operator<<( QDataStream &, const QRegion & ); > friend QDataStream &operator>>( QDataStream &, QRegion & ); > >private: > QRegion( bool ); > QRegion copy() const; > void detach(); > > > > > void updateX11Region() const; > void *clipRectangles( int &num ) const; > friend void *qt_getClipRects( const QRegion &, int & ); > > void exec( const QByteArray &, int ver = 0 ); > struct QRegionData : public QShared { > > > > Region rgn; > void *xrectangles; > QRegionPrivate *region; > > > > > > > > bool is_null; > } *data; ># 149 "/usr/qt/3/include/qregion.h" >}; ># 169 "/usr/qt/3/include/qregion.h" > QDataStream &operator<<( QDataStream &, const QRegion & ); > QDataStream &operator>>( QDataStream &, QRegion & ); ># 44 "/usr/qt/3/include/qevent.h" 2 > ># 1 "/usr/qt/3/include/qmime.h" 1 ># 48 "/usr/qt/3/include/qmime.h" >class QImageDrag; >class QTextDrag; > >class QMimeSource >{ > friend class QClipboardData; > >public: > QMimeSource(); > virtual ~QMimeSource(); > virtual const char* format( int n = 0 ) const = 0; > virtual bool provides( const char* ) const; > virtual QByteArray encodedData( const char* ) const = 0; > int serialNumber() const; > >private: > int ser_no; > enum { NoCache, Text, Graphics } cacheType; > union > { > struct > { > QString *str; > QCString *subtype; > } txt; > struct > { > QImage *img; > QPixmap *pix; > } gfx; > } cache; > void clearCache(); > > > friend class QImageDrag; > friend class QTextDrag; > >}; > >inline int QMimeSource::serialNumber() const >{ return ser_no; } > >class QStringList; >class QMimeSourceFactoryData; > >class QMimeSourceFactory { >public: > QMimeSourceFactory(); > virtual ~QMimeSourceFactory(); > > static QMimeSourceFactory* defaultFactory(); > static void setDefaultFactory( QMimeSourceFactory* ); > static QMimeSourceFactory* takeDefaultFactory(); > static void addFactory( QMimeSourceFactory *f ); > static void removeFactory( QMimeSourceFactory *f ); > > virtual const QMimeSource* data(const QString& abs_name) const; > virtual QString makeAbsolute(const QString& abs_or_rel_name, const QString& context) const; > const QMimeSource* data(const QString& abs_or_rel_name, const QString& context) const; > > virtual void setText( const QString& abs_name, const QString& text ); > virtual void setImage( const QString& abs_name, const QImage& im ); > virtual void setPixmap( const QString& abs_name, const QPixmap& pm ); > virtual void setData( const QString& abs_name, QMimeSource* data ); > virtual void setFilePath( const QStringList& ); > virtual QStringList filePath() const; > void addFilePath( const QString& ); > virtual void setExtensionType( const QString& ext, const char* mimetype ); > >private: > QMimeSource *dataInternal(const QString& abs_name, const QMap<QString, QString> &extensions ) const; > QMimeSourceFactoryData* d; >}; ># 46 "/usr/qt/3/include/qevent.h" 2 > > > >class QEvent: public Qt >{ >public: > enum Type { ># 61 "/usr/qt/3/include/qevent.h" > None = 0, > > > Timer = 1, > MouseButtonPress = 2, > MouseButtonRelease = 3, > MouseButtonDblClick = 4, > MouseMove = 5, > KeyPress = 6, > KeyRelease = 7, > FocusIn = 8, > FocusOut = 9, > Enter = 10, > Leave = 11, > Paint = 12, > Move = 13, > Resize = 14, > Create = 15, > Destroy = 16, > Show = 17, > Hide = 18, > Close = 19, > Quit = 20, > Reparent = 21, > ShowMinimized = 22, > ShowNormal = 23, > WindowActivate = 24, > WindowDeactivate = 25, > ShowToParent = 26, > HideToParent = 27, > ShowMaximized = 28, > ShowFullScreen = 29, > Accel = 30, > Wheel = 31, > AccelAvailable = 32, > CaptionChange = 33, > IconChange = 34, > ParentFontChange = 35, > ApplicationFontChange = 36, > ParentPaletteChange = 37, > ApplicationPaletteChange = 38, > PaletteChange = 39, > Clipboard = 40, > Speech = 42, > SockAct = 50, > AccelOverride = 51, > DeferredDelete = 52, > DragEnter = 60, > DragMove = 61, > DragLeave = 62, > Drop = 63, > DragResponse = 64, > ChildInserted = 70, > ChildRemoved = 71, > LayoutHint = 72, > ShowWindowRequest = 73, > WindowBlocked = 74, > WindowUnblocked = 75, > ActivateControl = 80, > DeactivateControl = 81, > ContextMenu = 82, > IMStart = 83, > IMCompose = 84, > IMEnd = 85, > Accessibility = 86, > TabletMove = 87, > LocaleChange = 88, > LanguageChange = 89, > LayoutDirectionChange = 90, > Style = 91, > TabletPress = 92, > TabletRelease = 93, > OkRequest = 94, > HelpRequest = 95, > WindowStateChange = 96, > IconDrag = 97, > User = 1000, > MaxUser = 65535 > }; > > > QEvent( Type type ) : t(type), posted(FALSE), spont(FALSE) {} > virtual ~QEvent(); > Type type() const { return t; } > bool spontaneous() const { return spont; } >protected: > Type t; >private: > uint posted : 1; > uint spont : 1; > > > friend class QApplication; > friend class QAccelManager; > friend class QBaseApplication; > friend class QETWidget; >}; > > >class QTimerEvent : public QEvent >{ >public: > QTimerEvent( int timerId ) > : QEvent(Timer), id(timerId) {} > int timerId() const { return id; } >protected: > int id; >}; > > >class QMouseEvent : public QEvent >{ >public: > QMouseEvent( Type type, const QPoint &pos, int button, int state ); > > QMouseEvent( Type type, const QPoint &pos, const QPoint&globalPos, > int button, int state ) > : QEvent(type), p(pos), g(globalPos), b((ushort)button),s((ushort)state),accpt(TRUE) {}; > > const QPoint &pos() const { return p; } > const QPoint &globalPos() const { return g; } > int x() const { return p.x(); } > int y() const { return p.y(); } > int globalX() const { return g.x(); } > int globalY() const { return g.y(); } > ButtonState button() const { return (ButtonState) b; } > ButtonState state() const { return (ButtonState) s; } > ButtonState stateAfter() const; > bool isAccepted() const { return accpt; } > void accept() { accpt = TRUE; } > void ignore() { accpt = FALSE; } >protected: > QPoint p; > QPoint g; > ushort b; > ushort s; > uint accpt:1; >}; > > > >class QWheelEvent : public QEvent >{ >public: > QWheelEvent( const QPoint &pos, int delta, int state, Orientation orient = Vertical ); > QWheelEvent( const QPoint &pos, const QPoint& globalPos, int delta, int state, Orientation orient = Vertical ) > : QEvent(Wheel), p(pos), g(globalPos), d(delta), s((ushort)state), > accpt(TRUE), o(orient) {} > int delta() const { return d; } > const QPoint &pos() const { return p; } > const QPoint &globalPos() const { return g; } > int x() const { return p.x(); } > int y() const { return p.y(); } > int globalX() const { return g.x(); } > int globalY() const { return g.y(); } > ButtonState state() const { return ButtonState(s); } > Orientation orientation() const { return o; } > bool isAccepted() const { return accpt; } > void accept() { accpt = TRUE; } > void ignore() { accpt = FALSE; } >protected: > QPoint p; > QPoint g; > int d; > ushort s; > bool accpt; > Orientation o; >}; > > >class QTabletEvent : public QEvent >{ >public: > enum TabletDevice { NoDevice = -1, Puck, Stylus, Eraser }; > QTabletEvent( Type t, const QPoint &pos, const QPoint &globalPos, int device, > int pressure, int xTilt, int yTilt, const QPair<int,int> &uId ); > QTabletEvent( const QPoint &pos, const QPoint &globalPos, int device, > int pressure, int xTilt, int yTilt, const QPair<int,int> &uId ) > : QEvent( TabletMove ), mPos( pos ), mGPos( globalPos ), mDev( device ), > mPress( pressure ), mXT( xTilt ), mYT( yTilt ), mType( uId.first ), > mPhy( uId.second ), mbAcc(TRUE) > {} > int pressure() const { return mPress; } > int xTilt() const { return mXT; } > int yTilt() const { return mYT; } > const QPoint &pos() const { return mPos; } > const QPoint &globalPos() const { return mGPos; } > int x() const { return mPos.x(); } > int y() const { return mPos.y(); } > int globalX() const { return mGPos.x(); } > int globalY() const { return mGPos.y(); } > TabletDevice device() const { return TabletDevice(mDev); } > int isAccepted() const { return mbAcc; } > void accept() { mbAcc = TRUE; } > void ignore() { mbAcc = FALSE; } > QPair<int,int> uniqueId() { return QPair<int,int>( mType, mPhy); } >protected: > QPoint mPos; > QPoint mGPos; > int mDev, > mPress, > mXT, > mYT, > mType, > mPhy; > bool mbAcc; > >}; > >class QKeyEvent : public QEvent >{ >public: > QKeyEvent( Type type, int key, int ascii, int state, > const QString& text=QString::null, bool autorep=FALSE, ushort count=1 ) > : QEvent(type), txt(text), k((ushort)key), s((ushort)state), > a((uchar)ascii), accpt(TRUE), autor(autorep), c(count) > { > if ( key >= Key_Back && key <= Key_MediaLast ) > accpt = FALSE; > } > int key() const { return k; } > int ascii() const { return a; } > ButtonState state() const { return ButtonState(s); } > ButtonState stateAfter() const; > bool isAccepted() const { return accpt; } > QString text() const { return txt; } > bool isAutoRepeat() const { return autor; } > int count() const { return int(c); } > void accept() { accpt = TRUE; } > void ignore() { accpt = FALSE; } > >protected: > QString txt; > ushort k, s; > uchar a; > uint accpt:1; > uint autor:1; > ushort c; >}; > > >class QFocusEvent : public QEvent >{ >public: > > QFocusEvent( Type type ) > : QEvent(type) {} > > bool gotFocus() const { return type() == FocusIn; } > bool lostFocus() const { return type() == FocusOut; } > > enum Reason { Mouse, Tab, Backtab, ActiveWindow, Popup, Shortcut, Other }; > static Reason reason(); > static void setReason( Reason reason ); > static void resetReason(); > >private: > static Reason m_reason; > static Reason prev_reason; >}; > > >class QPaintEvent : public QEvent >{ >public: > QPaintEvent( const QRegion& paintRegion, bool erased = TRUE) > : QEvent(Paint), > rec(paintRegion.boundingRect()), > reg(paintRegion), > erase(erased){} > QPaintEvent( const QRect &paintRect, bool erased = TRUE ) > : QEvent(Paint), > rec(paintRect), > reg(paintRect), > erase(erased){} > QPaintEvent( const QRegion &paintRegion, const QRect &paintRect, bool erased = TRUE ) > : QEvent(Paint), > rec(paintRect), > reg(paintRegion), > erase(erased){} > > const QRect &rect() const { return rec; } > const QRegion ®ion() const { return reg; } > bool erased() const { return erase; } >protected: > friend class QApplication; > friend class QBaseApplication; > QRect rec; > QRegion reg; > bool erase; >}; > > >class QMoveEvent : public QEvent >{ >public: > QMoveEvent( const QPoint &pos, const QPoint &oldPos ) > : QEvent(Move), p(pos), oldp(oldPos) {} > const QPoint &pos() const { return p; } > const QPoint &oldPos()const { return oldp;} >protected: > QPoint p, oldp; > friend class QApplication; > friend class QBaseApplication; >}; > > >class QResizeEvent : public QEvent >{ >public: > QResizeEvent( const QSize &size, const QSize &oldSize ) > : QEvent(Resize), s(size), olds(oldSize) {} > const QSize &size() const { return s; } > const QSize &oldSize()const { return olds;} >protected: > QSize s, olds; > friend class QApplication; > friend class QBaseApplication; >}; > > >class QCloseEvent : public QEvent >{ >public: > QCloseEvent() > : QEvent(Close), accpt(FALSE) {} > bool isAccepted() const { return accpt; } > void accept() { accpt = TRUE; } > void ignore() { accpt = FALSE; } >protected: > bool accpt; >}; > > >class QIconDragEvent : public QEvent >{ >public: > QIconDragEvent() > : QEvent(IconDrag), accpt(FALSE) {} > > bool isAccepted() const { return accpt; } > void accept() { accpt = TRUE; } > void ignore() { accpt = FALSE; } >protected: > bool accpt; >}; > >class QShowEvent : public QEvent >{ >public: > QShowEvent() > : QEvent(Show) {} >}; > > >class QHideEvent : public QEvent >{ >public: > QHideEvent() > : QEvent(Hide) {} >}; > >class QContextMenuEvent : public QEvent >{ >public: > enum Reason { Mouse, Keyboard, Other }; > QContextMenuEvent( Reason reason, const QPoint &pos, const QPoint &globalPos, int state ) > : QEvent( ContextMenu ), p( pos ), gp( globalPos ), accpt( TRUE ), consum( TRUE ), > reas( reason ), s((ushort)state) {} > QContextMenuEvent( Reason reason, const QPoint &pos, int state ); > > int x() const { return p.x(); } > int y() const { return p.y(); } > int globalX() const { return gp.x(); } > int globalY() const { return gp.y(); } > > const QPoint& pos() const { return p; } > const QPoint& globalPos() const { return gp; } > > ButtonState state() const { return (ButtonState) s; } > bool isAccepted() const { return accpt; } > bool isConsumed() const { return consum; } > void consume() { accpt = FALSE; consum = TRUE; } > void accept() { accpt = TRUE; consum = TRUE; } > void ignore() { accpt = FALSE; consum = FALSE; } > > Reason reason() const { return Reason( reas ); } > >protected: > QPoint p; > QPoint gp; > bool accpt; > bool consum; > uint reas:8; > ushort s; >}; > > >class QIMEvent : public QEvent >{ >public: > QIMEvent( Type type, const QString &text, int cursorPosition ) > : QEvent(type), txt(text), cpos(cursorPosition), a(TRUE) {} > const QString &text() const { return txt; } > int cursorPos() const { return cpos; } > bool isAccepted() const { return a; } > void accept() { a = TRUE; } > void ignore() { a = FALSE; } > int selectionLength() const; > >private: > QString txt; > int cpos; > bool a; >}; > >class QIMComposeEvent : public QIMEvent >{ >public: > QIMComposeEvent( Type type, const QString &text, int cursorPosition, > int selLength ) > : QIMEvent( type, text, cursorPosition ), selLen( selLength ) { } > >private: > int selLen; > > friend class QIMEvent; >}; > >inline int QIMEvent::selectionLength() const >{ > if ( type() != IMCompose ) return 0; > QIMComposeEvent *that = (QIMComposeEvent *) this; > return that->selLen; >} ># 504 "/usr/qt/3/include/qevent.h" >class QDropEvent : public QEvent, public QMimeSource >{ >public: > QDropEvent( const QPoint& pos, Type typ=Drop ) > : QEvent(typ), p(pos), > act(0), accpt(0), accptact(0), resv(0), > d(0) > {} > const QPoint &pos() const { return p; } > bool isAccepted() const { return accpt || accptact; } > void accept(bool y=TRUE) { accpt = y; } > void ignore() { accpt = FALSE; } > > bool isActionAccepted() const { return accptact; } > void acceptAction(bool y=TRUE) { accptact = y; } > enum Action { Copy, Link, Move, Private, UserAction=100 }; > void setAction( Action a ) { act = (uint)a; } > Action action() const { return Action(act); } > > QWidget* source() const; > const char* format( int n = 0 ) const; > QByteArray encodedData( const char* ) const; > bool provides( const char* ) const; > > QByteArray data(const char* f) const { return encodedData(f); } > > void setPoint( const QPoint& np ) { p = np; } > >protected: > QPoint p; > uint act:8; > uint accpt:1; > uint accptact:1; > uint resv:5; > void * d; >}; > > > >class QDragMoveEvent : public QDropEvent >{ >public: > QDragMoveEvent( const QPoint& pos, Type typ=DragMove ) > : QDropEvent(pos,typ), > rect( pos, QSize( 1, 1 ) ) {} > QRect answerRect() const { return rect; } > void accept( bool y=TRUE ) { QDropEvent::accept(y); } > void accept( const QRect & r) { accpt = TRUE; rect = r; } > void ignore( const QRect & r) { accpt =FALSE; rect = r; } > void ignore() { QDropEvent::ignore(); } > >protected: > QRect rect; >}; > > >class QDragEnterEvent : public QDragMoveEvent >{ >public: > QDragEnterEvent( const QPoint& pos ) : > QDragMoveEvent(pos, DragEnter) { } >}; > > > >class QDragResponseEvent : public QEvent >{ >public: > QDragResponseEvent( bool accepted ) > : QEvent(DragResponse), a(accepted) {} > bool dragAccepted() const { return a; } >protected: > bool a; >}; > > >class QDragLeaveEvent : public QEvent >{ >public: > QDragLeaveEvent() > : QEvent(DragLeave) {} >}; > > > >class QChildEvent : public QEvent >{ >public: > QChildEvent( Type type, QObject *child ) > : QEvent(type), c(child) {} > QObject *child() const { return c; } > bool inserted() const { return t == ChildInserted; } > bool removed() const { return t == ChildRemoved; } >protected: > QObject *c; >}; > > >class QCustomEvent : public QEvent >{ >public: > QCustomEvent( int type ); > QCustomEvent( Type type, void *data ) > : QEvent(type), d(data) {}; > void *data() const { return d; } > void setData( void* data ) { d = data; } >private: > void *d; >}; ># 46 "/usr/qt/3/include/qobject.h" 2 > > > > > > >class QMetaObject; >class QVariant; >class QMetaProperty; >class QPostEventList; >class QSenderObjectList; >class QObjectPrivate; > >class QObjectUserData; > >struct QUObject; > >class QObject: public Qt >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; > > >public: > QObject( QObject *parent=0, const char *name=0 ); > virtual ~QObject(); ># 79 "/usr/qt/3/include/qobject.h" > virtual bool event( QEvent * ); > virtual bool eventFilter( QObject *, QEvent * ); > > bool isA( const char * ) const; > bool inherits( const char * ) const; > > const char *name() const; > const char *name( const char * defaultName ) const; > > virtual void setName( const char *name ); > bool isWidgetType() const { return isWidget; } > bool highPriority() const { return FALSE; } > > bool signalsBlocked() const { return blockSig; } > void blockSignals( bool b ); > > int startTimer( int interval ); > void killTimer( int id ); > void killTimers(); > > QObject *child( const char *objName, const char *inheritsClass = 0, bool recursiveSearch = TRUE ); > const QObjectList *children() const { return childObjects; } > > static const QObjectList *objectTrees(); > > QObjectList *queryList( const char *inheritsClass = 0, > const char *objName = 0, > bool regexpMatch = TRUE, > bool recursiveSearch = TRUE ) const; > > virtual void insertChild( QObject * ); > virtual void removeChild( QObject * ); > > void installEventFilter( const QObject * ); > void removeEventFilter( const QObject * ); > > static bool connect( const QObject *sender, const char *signal, > const QObject *receiver, const char *member ); > bool connect( const QObject *sender, const char *signal, > const char *member ) const; > static bool disconnect( const QObject *sender, const char *signal, > const QObject *receiver, const char *member ); > bool disconnect( const char *signal=0, > const QObject *receiver=0, const char *member=0 ); > bool disconnect( const QObject *receiver, const char *member=0 ); > static void connectInternal( const QObject *sender, int signal_index, > const QObject *receiver, int membcode, int member_index ); > static bool disconnectInternal( const QObject *sender, int signal_index, > const QObject *receiver, int membcode, int member_index ); > > void dumpObjectTree(); > void dumpObjectInfo(); > > > virtual bool setProperty( const char *name, const QVariant& value ); > virtual QVariant property( const char *name ) const; > > > static QString tr( const char *sourceText, const char * = 0); > > static QString trUtf8( const char *sourceText, const char * = 0); > > > > > static uint registerUserData(); > void setUserData( uint id, QObjectUserData* data); > QObjectUserData* userData( uint id ) const; > > >protected: > void destroyed(); > void destroyed( QObject* obj ); > >public: > QObject *parent() const { return parentObj; } > >public : > void deleteLater(); > >private : > void cleanupEventFilter( QObject* ); > >protected: > bool activate_filters( QEvent * ); > QConnectionList *receivers( const char* signal ) const; > QConnectionList *receivers( int signal ) const; > void activate_signal( int signal ); > void activate_signal( int signal, int ); > void activate_signal( int signal, double ); > void activate_signal( int signal, QString ); > void activate_signal_bool( int signal, bool ); > void activate_signal( QConnectionList *clist, QUObject *o ); > > const QObject *sender(); > > virtual void timerEvent( QTimerEvent * ); > virtual void childEvent( QChildEvent * ); > virtual void customEvent( QCustomEvent * ); > > virtual void connectNotify( const char *signal ); > virtual void disconnectNotify( const char *signal ); > virtual bool checkConnectArgs( const char *signal, const QObject *receiver, > const char *member ); > static QCString normalizeSignalSlot( const char *signalSlot ); > >private: > uint isSignal : 1; > uint isWidget : 1; > uint pendTimer : 1; > uint blockSig : 1; > uint wasDeleted : 1; > uint isTree : 1; > > const char *objname; > QObject *parentObj; > QObjectList *childObjects; > QSignalVec *connections; > QSenderObjectList *senderObjects; > QObjectList *eventFilters; > QPostEventList *postedEvents; > QObjectPrivate* d; > > static QMetaObject* staticQtMetaObject(); > > friend class QApplication; > friend class QBaseApplication; > friend class QWidget; > friend class QSignal; > >private: > > QObject( const QObject & ); > QObject &operator=( const QObject & ); > >}; > > > >class QObjectUserData { >public: > virtual ~QObjectUserData(); >}; > > > >inline bool QObject::connect( const QObject *sender, const char *signal, > const char *member ) const >{ > return connect( sender, signal, this, member ); >} > > >inline bool QObject::disconnect( const char *signal, > const QObject *receiver, const char *member ) >{ > return disconnect( this, signal, receiver, member ); >} > > >inline bool QObject::disconnect( const QObject *receiver, const char *member ) >{ > return disconnect( this, 0, receiver, member ); >} > > > >inline QString QObject::tr( const char *sourceText, const char * ) { > return QString::fromLatin1( sourceText ); >} > >inline QString QObject::trUtf8( const char *sourceText, const char * ) { > return QString::fromUtf8( sourceText ); >} > > > > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 259 "/usr/qt/3/include/qobject.h" 2 ># 27 "../kdecore/kconfigbase.h" 2 ># 1 "/usr/qt/3/include/qcolor.h" 1 ># 46 "/usr/qt/3/include/qcolor.h" >const QRgb RGB_MASK = 0x00ffffff; > > inline int qRed( QRgb rgb ) >{ return (int)((rgb >> 16) & 0xff); } > > inline int qGreen( QRgb rgb ) >{ return (int)((rgb >> 8) & 0xff); } > > inline int qBlue( QRgb rgb ) >{ return (int)(rgb & 0xff); } > > inline int qAlpha( QRgb rgb ) >{ return (int)((rgb >> 24) & 0xff); } > > inline QRgb qRgb( int r, int g, int b ) >{ return (0xff << 24) | ((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff); } > > inline QRgb qRgba( int r, int g, int b, int a ) >{ return ((a & 0xff) << 24) | ((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff); } > > inline int qGray( int r, int g, int b ) >{ return (r*11+g*16+b*5)/32; } > > inline int qGray( QRgb rgb ) >{ return qGray( qRed(rgb), qGreen(rgb), qBlue(rgb) ); } > > >class QColor >{ >public: > enum Spec { Rgb, Hsv }; > > QColor(); > QColor( int r, int g, int b ); > QColor( int x, int y, int z, Spec ); > QColor( QRgb rgb, uint pixel=0xffffffff); > QColor( const QString& name ); > QColor( const char *name ); > QColor( const QColor & ); > QColor &operator=( const QColor & ); > > bool isValid() const; > bool isDirty() const; > QString name() const; > void setNamedColor( const QString& name ); > > QRgb rgb() const; > void setRgb( int r, int g, int b ); > void setRgb( QRgb rgb ); > void getRgb( int *r, int *g, int *b ) const { rgb( r, g, b ); } > void rgb( int *r, int *g, int *b ) const; > > int red() const; > int green() const; > int blue() const; > > void setHsv( int h, int s, int v ); > void getHsv( int *h, int *s, int *v ) const { hsv( h, s, v ); } > void hsv( int *h, int *s, int *v ) const; > void getHsv( int &h, int &s, int &v ) const { hsv( &h, &s, &v ); } > > QColor light( int f = 150 ) const; > QColor dark( int f = 200 ) const; > > bool operator==( const QColor &c ) const; > bool operator!=( const QColor &c ) const; > > uint alloc(); > uint pixel() const; > > > > uint alloc( int screen ); > uint pixel( int screen ) const; > > > static int maxColors(); > static int numBitPlanes(); > > static int enterAllocContext(); > static void leaveAllocContext(); > static int currentAllocContext(); > static void destroyAllocContext( int ); ># 138 "/usr/qt/3/include/qcolor.h" > static void initialize(); > static void cleanup(); > > static QStringList colorNames(); > > enum { Dirt = 0x44495254, Invalid = 0x49000000 }; > >private: > void setSystemNamedColor( const QString& name ); > void setPixel( uint pixel ); > static void initGlobalColors(); > static uint argbToPix32(QRgb); > static QColor* globalColors(); > static bool color_init; > static bool globals_init; > > > > static enum ColorModel { d8, d32 } colormodel; > union { > QRgb argb; > struct D8 { > QRgb argb; > uchar pix; > uchar invalid; > uchar dirty; > uchar direct; > } d8; > struct D32 { > QRgb argb; > uint pix; > bool invalid() const { return argb == QColor::Invalid && pix == QColor::Dirt; } > bool probablyDirty() const { return pix == QColor::Dirt; } > } d32; > } d; >}; > > >inline QColor::QColor() >{ d.d32.argb = Invalid; d.d32.pix = Dirt; } > >inline QColor::QColor( int r, int g, int b ) >{ > d.d32.argb = Invalid; > d.d32.pix = Dirt; > setRgb( r, g, b ); >} > >inline QRgb QColor::rgb() const >{ return d.argb; } > >inline int QColor::red() const >{ return qRed(d.argb); } > >inline int QColor::green() const >{ return qGreen(d.argb); } > >inline int QColor::blue() const >{ return qBlue(d.argb); } > >inline bool QColor::isValid() const >{ > if ( colormodel == d8 ) > return !d.d8.invalid; > else > return !d.d32.invalid(); >} > >inline bool QColor::operator==( const QColor &c ) const >{ > return d.argb == c.d.argb && isValid() == c.isValid(); >} > >inline bool QColor::operator!=( const QColor &c ) const >{ > return !operator==(c); >} > > > > > > > > QDataStream &operator<<( QDataStream &, const QColor & ); > QDataStream &operator>>( QDataStream &, QColor & ); ># 28 "../kdecore/kconfigbase.h" 2 ># 1 "/usr/qt/3/include/qfont.h" 1 ># 47 "/usr/qt/3/include/qfont.h" >class QFontPrivate; >class QStringList; >class QTextFormatCollection; > >class QFont >{ >public: > enum StyleHint { > Helvetica, SansSerif = Helvetica, > Times, Serif = Times, > Courier, TypeWriter = Courier, > OldEnglish, Decorative = OldEnglish, > System, > AnyStyle > }; > > enum StyleStrategy { > PreferDefault = 0x0001, > PreferBitmap = 0x0002, > PreferDevice = 0x0004, > PreferOutline = 0x0008, > ForceOutline = 0x0010, > PreferMatch = 0x0020, > PreferQuality = 0x0040, > PreferAntialias = 0x0080, > NoAntialias = 0x0100, > OpenGLCompatible = 0x0200 > }; > > enum Weight { > Light = 25, > Normal = 50, > DemiBold = 63, > Bold = 75, > Black = 87 > }; > > enum Stretch { > UltraCondensed = 50, > ExtraCondensed = 62, > Condensed = 75, > SemiCondensed = 87, > Unstretched = 100, > SemiExpanded = 112, > Expanded = 125, > ExtraExpanded = 150, > UltraExpanded = 200 > }; > > > QFont(); > > > > > > QFont( const QString &family, int pointSize = -1, int weight = -1, > bool italic = FALSE ); > > > QFont( const QFont & ); > > ~QFont(); > > QString family() const; > void setFamily( const QString &); > > int pointSize() const; > float pointSizeFloat() const; > void setPointSize( int ); > void setPointSizeFloat( float ); > > int pixelSize() const; > void setPixelSize( int ); > void setPixelSizeFloat( float ); > > int weight() const; > void setWeight( int ); > > bool bold() const; > void setBold( bool ); > > bool italic() const; > void setItalic( bool ); > > bool underline() const; > void setUnderline( bool ); > > bool overline() const; > void setOverline( bool ); > > bool strikeOut() const; > void setStrikeOut( bool ); > > bool fixedPitch() const; > void setFixedPitch( bool ); > > StyleHint styleHint() const; > StyleStrategy styleStrategy() const; > void setStyleHint( StyleHint, StyleStrategy = PreferDefault ); > void setStyleStrategy( StyleStrategy s ); > > int stretch() const; > void setStretch( int ); > > > bool rawMode() const; > void setRawMode( bool ); > > > bool exactMatch() const; > > QFont &operator=( const QFont & ); > bool operator==( const QFont & ) const; > bool operator!=( const QFont & ) const; > bool isCopyOf( const QFont & ) const; > > > > > > Qt::HANDLE handle() const; > > > > > void setRawName( const QString & ); > QString rawName() const; > > QString key() const; > > QString toString() const; > bool fromString(const QString &); > > > static QString substitute(const QString &); > static QStringList substitutes(const QString &); > static QStringList substitutions(); > static void insertSubstitution(const QString&, const QString &); > static void insertSubstitutions(const QString&, const QStringList &); > static void removeSubstitution(const QString &); > > static void initialize(); > static void cleanup(); > > static void cacheStatistics(); ># 203 "/usr/qt/3/include/qfont.h" > enum Script { > > Latin, > Greek, > Cyrillic, > Armenian, > Georgian, > Runic, > Ogham, > SpacingModifiers, > CombiningMarks, > > > Hebrew, > Arabic, > Syriac, > Thaana, > > > Devanagari, > Bengali, > Gurmukhi, > Gujarati, > Oriya, > Tamil, > Telugu, > Kannada, > Malayalam, > Sinhala, > Thai, > Lao, > Tibetan, > Myanmar, > Khmer, > > > Han, > Hiragana, > Katakana, > Hangul, > Bopomofo, > Yi, > > > Ethiopic, > Cherokee, > CanadianAboriginal, > Mongolian, > > > CurrencySymbols, > LetterlikeSymbols, > NumberForms, > MathematicalOperators, > TechnicalSymbols, > GeometricSymbols, > MiscellaneousSymbols, > EnclosedAndSquare, > Braille, > > Unicode, > > > Tagalog, > Hanunoo, > Buhid, > Tagbanwa, > > KatakanaHalfWidth, > > > Limbu, > TaiLe, > > > > NScripts, > UnknownScript = NScripts, > > NoScript, > > > > > > Han_Japanese, > Han_SimplifiedChinese, > Han_TraditionalChinese, > Han_Korean, > > LastPrivateScript > > }; > > QString defaultFamily() const; > QString lastResortFamily() const; > QString lastResortFont() const; ># 308 "/usr/qt/3/include/qfont.h" > QFont resolve( const QFont & ) const; > >protected: > > bool dirty() const; > int deciPointSize() const; > >private: > QFont( QFontPrivate *, QPaintDevice *pd ); > > void detach(); > > > > > void x11SetScreen( int screen = -1 ); > int x11Screen() const; > > > friend class QFontMetrics; > friend class QFontInfo; > friend class QPainter; > friend class QPSPrinterFont; > friend class QApplication; > friend class QWidget; > friend class QTextFormatCollection; > friend class QTextLayout; > friend class QTextItem; > friend class QGLContext; > > > friend QDataStream &operator<<( QDataStream &, const QFont & ); > friend QDataStream &operator>>( QDataStream &, QFont & ); > > > QFontPrivate *d; >}; > > >inline bool QFont::bold() const >{ return weight() > Normal; } > > >inline void QFont::setBold( bool enable ) >{ setWeight( enable ? Bold : Normal ); } ># 362 "/usr/qt/3/include/qfont.h" > QDataStream &operator<<( QDataStream &, const QFont & ); > QDataStream &operator>>( QDataStream &, QFont & ); ># 29 "../kdecore/kconfigbase.h" 2 > > > ># 1 "/usr/qt/3/include/qvariant.h" 1 ># 46 "/usr/qt/3/include/qvariant.h" >class QString; >class QCString; >class QFont; >class QPixmap; >class QBrush; >class QRect; >class QPoint; >class QImage; >class QSize; >class QColor; >class QPalette; >class QColorGroup; >class QIconSet; >class QDataStream; >class QPointArray; >class QRegion; >class QBitmap; >class QCursor; >class QStringList; >class QSizePolicy; >class QDate; >class QTime; >class QDateTime; >class QBitArray; >class QKeySequence; >class QPen; > >class QVariant; > >template <class T> class QValueList; >template <class T> class QValueListConstIterator; >template <class T> class QValueListNode; >template <class Key, class T> class QMap; >template <class Key, class T> class QMapConstIterator; > > >class QVariant >{ >public: > enum Type { > Invalid, > Map, > List, > String, > StringList, > Font, > Pixmap, > Brush, > Rect, > Size, > Color, > Palette, > ColorGroup, > IconSet, > Point, > Image, > Int, > UInt, > Bool, > Double, > CString, > PointArray, > Region, > Bitmap, > Cursor, > SizePolicy, > Date, > Time, > DateTime, > ByteArray, > BitArray, > KeySequence, > Pen, > LongLong, > ULongLong > }; > > QVariant(); > ~QVariant(); > QVariant( const QVariant& ); > > QVariant( QDataStream& s ); > > QVariant( const QString& ); > QVariant( const QCString& ); > QVariant( const char* ); > > QVariant( const QStringList& ); > > QVariant( const QFont& ); > QVariant( const QPixmap& ); > QVariant( const QImage& ); > QVariant( const QBrush& ); > QVariant( const QPoint& ); > QVariant( const QRect& ); > QVariant( const QSize& ); > QVariant( const QColor& ); > QVariant( const QPalette& ); > QVariant( const QColorGroup& ); > QVariant( const QIconSet& ); > QVariant( const QPointArray& ); > QVariant( const QRegion& ); > QVariant( const QBitmap& ); > QVariant( const QCursor& ); > QVariant( const QDate& ); > QVariant( const QTime& ); > QVariant( const QDateTime& ); > QVariant( const QByteArray& ); > QVariant( const QBitArray& ); > > QVariant( const QKeySequence& ); > > QVariant( const QPen& ); > > QVariant( const QValueList<QVariant>& ); > QVariant( const QMap<QString,QVariant>& ); > > QVariant( int ); > QVariant( uint ); > QVariant( Q_LLONG ); > QVariant( Q_ULLONG ); > > QVariant( bool, int ); > QVariant( double ); > QVariant( QSizePolicy ); > > QVariant& operator= ( const QVariant& ); > bool operator==( const QVariant& ) const; > bool operator!=( const QVariant& ) const; > > Type type() const; > const char* typeName() const; > > bool canCast( Type ) const; > bool cast( Type ); > > bool isValid() const; > bool isNull() const; > > void clear(); > > const QString toString() const; > const QCString toCString() const; > > const QStringList toStringList() const; > > const QFont toFont() const; > const QPixmap toPixmap() const; > const QImage toImage() const; > const QBrush toBrush() const; > const QPoint toPoint() const; > const QRect toRect() const; > const QSize toSize() const; > const QColor toColor() const; > const QPalette toPalette() const; > const QColorGroup toColorGroup() const; > const QIconSet toIconSet() const; > const QPointArray toPointArray() const; > const QBitmap toBitmap() const; > const QRegion toRegion() const; > const QCursor toCursor() const; > const QDate toDate() const; > const QTime toTime() const; > const QDateTime toDateTime() const; > const QByteArray toByteArray() const; > const QBitArray toBitArray() const; > > const QKeySequence toKeySequence() const; > > const QPen toPen() const; > int toInt( bool * ok=0 ) const; > uint toUInt( bool * ok=0 ) const; > Q_LLONG toLongLong( bool * ok=0 ) const; > Q_ULLONG toULongLong( bool * ok=0 ) const; > bool toBool() const; > double toDouble( bool * ok=0 ) const; > > const QValueList<QVariant> toList() const; > const QMap<QString,QVariant> toMap() const; > > QSizePolicy toSizePolicy() const; > > > QValueListConstIterator<QString> stringListBegin() const; > QValueListConstIterator<QString> stringListEnd() const; > QValueListConstIterator<QVariant> listBegin() const; > QValueListConstIterator<QVariant> listEnd() const; > QMapConstIterator<QString,QVariant> mapBegin() const; > QMapConstIterator<QString,QVariant> mapEnd() const; > QMapConstIterator<QString,QVariant> mapFind( const QString& ) const; > > QString& asString(); > QCString& asCString(); > > QStringList& asStringList(); > > QFont& asFont(); > QPixmap& asPixmap(); > QImage& asImage(); > QBrush& asBrush(); > QPoint& asPoint(); > QRect& asRect(); > QSize& asSize(); > QColor& asColor(); > QPalette& asPalette(); > QColorGroup& asColorGroup(); > QIconSet& asIconSet(); > QPointArray& asPointArray(); > QBitmap& asBitmap(); > QRegion& asRegion(); > QCursor& asCursor(); > QDate& asDate(); > QTime& asTime(); > QDateTime& asDateTime(); > QByteArray& asByteArray(); > QBitArray& asBitArray(); > > QKeySequence& asKeySequence(); > > QPen& asPen(); > int& asInt(); > uint& asUInt(); > Q_LLONG& asLongLong(); > Q_ULLONG& asULongLong(); > bool& asBool(); > double& asDouble(); > > QValueList<QVariant>& asList(); > QMap<QString,QVariant>& asMap(); > > QSizePolicy& asSizePolicy(); > > > void load( QDataStream& ); > void save( QDataStream& ) const; > > static const char* typeToName( Type typ ); > static Type nameToType( const char* name ); > >private: > void detach(); > > class Private : public QShared > { > public: > Private(); > Private( Private* ); > ~Private(); > > void clear(); > > Type typ; > union > { > uint u; > int i; > Q_LLONG ll; > Q_ULLONG ull; > bool b; > double d; > void *ptr; > } value; > uint is_null : 1; > }; > > Private* d; > >public: > void* rawAccess( void* ptr = 0, Type typ = Invalid, bool deepCopy = FALSE ); >}; ># 324 "/usr/qt/3/include/qvariant.h" >inline QVariant::Type QVariant::type() const >{ > return d->typ; >} > >inline bool QVariant::isValid() const >{ > return (d->typ != Invalid); >} > > >inline QValueListConstIterator<QString> QVariant::stringListBegin() const >{ > if ( d->typ != StringList ) > return QValueListConstIterator<QString>(); > return ((const QStringList*)d->value.ptr)->begin(); >} > >inline QValueListConstIterator<QString> QVariant::stringListEnd() const >{ > if ( d->typ != StringList ) > return QValueListConstIterator<QString>(); > return ((const QStringList*)d->value.ptr)->end(); >} > >inline QValueListConstIterator<QVariant> QVariant::listBegin() const >{ > if ( d->typ != List ) > return QValueListConstIterator<QVariant>(); > return ((const QValueList<QVariant>*)d->value.ptr)->begin(); >} > >inline QValueListConstIterator<QVariant> QVariant::listEnd() const >{ > if ( d->typ != List ) > return QValueListConstIterator<QVariant>(); > return ((const QValueList<QVariant>*)d->value.ptr)->end(); >} > >inline QMapConstIterator<QString,QVariant> QVariant::mapBegin() const >{ > if ( d->typ != Map ) > return QMapConstIterator<QString,QVariant>(); > return ((const QMap<QString,QVariant>*)d->value.ptr)->begin(); >} > >inline QMapConstIterator<QString,QVariant> QVariant::mapEnd() const >{ > if ( d->typ != Map ) > return QMapConstIterator<QString,QVariant>(); > return ((const QMap<QString,QVariant>*)d->value.ptr)->end(); >} > >inline QMapConstIterator<QString,QVariant> QVariant::mapFind( const QString& key ) const >{ > if ( d->typ != Map ) > return QMapConstIterator<QString,QVariant>(); > return ((const QMap<QString,QVariant>*)d->value.ptr)->find( key ); >} > > > > QDataStream& operator>> ( QDataStream& s, QVariant& p ); > QDataStream& operator<< ( QDataStream& s, const QVariant& p ); > QDataStream& operator>> ( QDataStream& s, QVariant::Type& p ); > QDataStream& operator<< ( QDataStream& s, const QVariant::Type p ); ># 33 "../kdecore/kconfigbase.h" 2 > > ># 1 "../kdecore/kconfigdata.h" 1 ># 31 "../kdecore/kconfigdata.h" >struct KEntry >{ > KEntry() > : mValue(0), bDirty(false), bNLS(false), > bGlobal(false), bImmutable(false), bDeleted(false), bExpand(false) {} > QCString mValue; > > > > bool bDirty :1; > > > > bool bNLS :1; > > > > bool bGlobal:1; > > > > bool bImmutable:1; > > > > bool bDeleted:1; > > > > bool bExpand:1; >}; > > > > > > >struct KEntryKey >{ > KEntryKey(const QCString& _group = 0, > const QCString& _key = 0) > : mGroup(_group), mKey(_key), bLocal(false), bDefault(false), > c_key(_key.data()) {} > > > > QCString mGroup; > > > > QCString mKey; > > > > bool bLocal :1; > > > > bool bDefault:1; > > const char *c_key; >}; > > > > > >inline bool operator <(const KEntryKey &k1, const KEntryKey &k2) >{ > > int result=qstrcmp(k1.mGroup.data(),k2.mGroup.data()); > if (result!=0) > return (result<0); > > if (!k1.c_key && k2.c_key) > return true; > > result = 0; > if (k1.c_key && k2.c_key) > result = strcmp(k1.c_key, k2.c_key); > if (result != 0) > return result < 0; > if (!k1.bLocal && k2.bLocal) > return true; > if (k1.bLocal && !k2.bLocal) > return false; > return (!k1.bDefault && k2.bDefault); >} ># 127 "../kdecore/kconfigdata.h" >typedef QMap<KEntryKey, KEntry> KEntryMap; > > > > > > >typedef QMap<KEntryKey, KEntry>::Iterator KEntryMapIterator; ># 143 "../kdecore/kconfigdata.h" >typedef QMap<KEntryKey, KEntry>::ConstIterator KEntryMapConstIterator; ># 36 "../kdecore/kconfigbase.h" 2 > >class KConfigBackEnd; >class KConfigBasePrivate; >class KConfigGroup; ># 67 "../kdecore/kconfigbase.h" >class KConfigBase : public QObject >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; > > friend class KConfigBackEnd; > friend class KConfigINIBackEnd; > friend class KConfigGroup; > >public: > > > > KConfigBase(); > > > > > virtual ~KConfigBase(); ># 96 "../kdecore/kconfigbase.h" > void setGroup( const QString& group ); > > > > > > void setDesktopGroup(); > > > > > > > > QString group() const; > > > > > > > > bool hasGroup(const QString &group) const; > > > > > > > virtual QStringList groupList() const = 0; > > > > > > > QString locale() const; ># 141 "../kdecore/kconfigbase.h" > QString readEntry(const QString& pKey, > const QString& aDefault = QString::null ) const; ># 151 "../kdecore/kconfigbase.h" > QString readEntry(const char *pKey, > const QString& aDefault = QString::null ) const; ># 167 "../kdecore/kconfigbase.h" > QVariant readPropertyEntry( const QString& pKey, QVariant::Type ) const; ># 183 "../kdecore/kconfigbase.h" > QVariant readPropertyEntry( const char *pKey, QVariant::Type ) const; ># 199 "../kdecore/kconfigbase.h" > QVariant readPropertyEntry( const QString& pKey, > const QVariant &aDefault) const; ># 216 "../kdecore/kconfigbase.h" > QVariant readPropertyEntry( const char *pKey, > const QVariant &aDefault) const; ># 229 "../kdecore/kconfigbase.h" > int readListEntry( const QString& pKey, QStrList &list, char sep = ',' ) const; ># 241 "../kdecore/kconfigbase.h" > int readListEntry( const char *pKey, QStrList &list, char sep = ',' ) const; ># 250 "../kdecore/kconfigbase.h" > QStringList readListEntry( const QString& pKey, char sep = ',' ) const; ># 259 "../kdecore/kconfigbase.h" > QStringList readListEntry( const char *pKey, char sep = ',' ) const; ># 270 "../kdecore/kconfigbase.h" > QStringList readListEntry( const char* pKey, const QStringList& aDefault, > char sep = ',' ) const; > > > > > > > > QValueList<int> readIntListEntry( const QString& pKey ) const; > > > > > > > > QValueList<int> readIntListEntry( const char *pKey ) const; ># 300 "../kdecore/kconfigbase.h" > QString readPathEntry( const QString& pKey, const QString & aDefault = QString::null ) const; ># 313 "../kdecore/kconfigbase.h" > QString readPathEntry( const char *pKey, const QString & aDefault = QString::null ) const; ># 327 "../kdecore/kconfigbase.h" > QStringList readPathListEntry( const QString& pKey, char sep = ',' ) const; ># 341 "../kdecore/kconfigbase.h" > QStringList readPathListEntry( const char *pKey, char sep = ',' ) const; ># 355 "../kdecore/kconfigbase.h" > int readNumEntry( const QString& pKey, int nDefault = 0 ) const; ># 368 "../kdecore/kconfigbase.h" > int readNumEntry( const char *pKey, int nDefault = 0 ) const; ># 381 "../kdecore/kconfigbase.h" > unsigned int readUnsignedNumEntry( const QString& pKey, unsigned int nDefault = 0 ) const; ># 394 "../kdecore/kconfigbase.h" > unsigned int readUnsignedNumEntry( const char *pKey, unsigned int nDefault = 0 ) const; ># 408 "../kdecore/kconfigbase.h" > long readLongNumEntry( const QString& pKey, long nDefault = 0 ) const; ># 421 "../kdecore/kconfigbase.h" > long readLongNumEntry( const char *pKey, long nDefault = 0 ) const; ># 434 "../kdecore/kconfigbase.h" > unsigned long readUnsignedLongNumEntry( const QString& pKey, unsigned long nDefault = 0 ) const; ># 447 "../kdecore/kconfigbase.h" > unsigned long readUnsignedLongNumEntry( const char *pKey, unsigned long nDefault = 0 ) const; ># 460 "../kdecore/kconfigbase.h" > Q_INT64 readNum64Entry( const QString& pKey, Q_INT64 nDefault = 0 ) const; ># 473 "../kdecore/kconfigbase.h" > Q_INT64 readNum64Entry( const char *pKey, Q_INT64 nDefault = 0 ) const; ># 486 "../kdecore/kconfigbase.h" > Q_UINT64 readUnsignedNum64Entry( const QString& pKey, Q_UINT64 nDefault = 0 ) const; ># 499 "../kdecore/kconfigbase.h" > Q_UINT64 readUnsignedNum64Entry( const char *pKey, Q_UINT64 nDefault = 0 ) const; ># 512 "../kdecore/kconfigbase.h" > double readDoubleNumEntry( const QString& pKey, double nDefault = 0.0 ) const; ># 525 "../kdecore/kconfigbase.h" > double readDoubleNumEntry( const char *pKey, double nDefault = 0.0 ) const; ># 538 "../kdecore/kconfigbase.h" > QFont readFontEntry( const QString& pKey, const QFont* pDefault = 0L ) const; ># 551 "../kdecore/kconfigbase.h" > QFont readFontEntry( const char *pKey, const QFont* pDefault = 0L ) const; ># 564 "../kdecore/kconfigbase.h" > bool readBoolEntry( const QString& pKey, bool bDefault = false ) const; ># 577 "../kdecore/kconfigbase.h" > bool readBoolEntry( const char *pKey, bool bDefault = false ) const; ># 590 "../kdecore/kconfigbase.h" > QRect readRectEntry( const QString& pKey, const QRect* pDefault = 0L ) const; ># 603 "../kdecore/kconfigbase.h" > QRect readRectEntry( const char *pKey, const QRect* pDefault = 0L ) const; ># 616 "../kdecore/kconfigbase.h" > QPoint readPointEntry( const QString& pKey, const QPoint* pDefault = 0L ) const; ># 629 "../kdecore/kconfigbase.h" > QPoint readPointEntry( const char *pKey, const QPoint* pDefault = 0L ) const; ># 642 "../kdecore/kconfigbase.h" > QSize readSizeEntry( const QString& pKey, const QSize* pDefault = 0L ) const; ># 655 "../kdecore/kconfigbase.h" > QSize readSizeEntry( const char *pKey, const QSize* pDefault = 0L ) const; ># 669 "../kdecore/kconfigbase.h" > QColor readColorEntry( const QString& pKey, const QColor* pDefault = 0L ) const; ># 682 "../kdecore/kconfigbase.h" > QColor readColorEntry( const char *pKey, const QColor* pDefault = 0L ) const; ># 696 "../kdecore/kconfigbase.h" > QDateTime readDateTimeEntry( const QString& pKey, const QDateTime* pDefault = 0L ) const; ># 710 "../kdecore/kconfigbase.h" > QDateTime readDateTimeEntry( const char *pKey, const QDateTime* pDefault = 0L ) const; ># 720 "../kdecore/kconfigbase.h" > QString readEntryUntranslated( const QString& pKey, > const QString& aDefault = QString::null ) const; ># 731 "../kdecore/kconfigbase.h" > QString readEntryUntranslated( const char *pKey, > const QString& aDefault = QString::null ) const; ># 751 "../kdecore/kconfigbase.h" > void writeEntry( const QString& pKey, const QString& pValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 772 "../kdecore/kconfigbase.h" > void writeEntry( const char *pKey, const QString& pValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 795 "../kdecore/kconfigbase.h" > void writeEntry( const QString& pKey, const QVariant& rValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 817 "../kdecore/kconfigbase.h" > void writeEntry( const char *pKey, const QVariant& rValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 841 "../kdecore/kconfigbase.h" > void writeEntry( const QString& pKey, const QStrList &rValue, > char sep = ',', bool bPersistent = true, bool bGlobal = false, bool bNLS = false ); ># 863 "../kdecore/kconfigbase.h" > void writeEntry( const char *pKey, const QStrList &rValue, > char sep = ',', bool bPersistent = true, bool bGlobal = false, bool bNLS = false ); ># 886 "../kdecore/kconfigbase.h" > void writeEntry( const QString& pKey, const QStringList &rValue, > char sep = ',', bool bPersistent = true, bool bGlobal = false, bool bNLS = false ); ># 908 "../kdecore/kconfigbase.h" > void writeEntry( const char *pKey, const QStringList &rValue, > char sep = ',', bool bPersistent = true, bool bGlobal = false, bool bNLS = false ); ># 931 "../kdecore/kconfigbase.h" > void writeEntry( const QString& pKey, const QValueList<int>& rValue, > bool bPersistent = true, bool bGlobal = false, bool bNLS = false ); ># 952 "../kdecore/kconfigbase.h" > void writeEntry( const char *pKey, const QValueList<int>& rValue, > bool bPersistent = true, bool bGlobal = false, bool bNLS = false ); ># 972 "../kdecore/kconfigbase.h" > void writeEntry( const QString& pKey, const char *pValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ) > { writeEntry(pKey, QString::fromLatin1(pValue), bPersistent, bGlobal, bNLS); } ># 993 "../kdecore/kconfigbase.h" > void writeEntry( const char *pKey, const char *pValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ) > { writeEntry(pKey, QString::fromLatin1(pValue), bPersistent, bGlobal, bNLS); } ># 1013 "../kdecore/kconfigbase.h" > void writeEntry( const QString& pKey, int nValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1031 "../kdecore/kconfigbase.h" > void writeEntry( const char *pKey, int nValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1050 "../kdecore/kconfigbase.h" > void writeEntry( const QString& pKey, unsigned int nValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1068 "../kdecore/kconfigbase.h" > void writeEntry( const char *pKey, unsigned int nValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1086 "../kdecore/kconfigbase.h" > void writeEntry( const QString& pKey, long nValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1103 "../kdecore/kconfigbase.h" > void writeEntry( const char *pKey, long nValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1121 "../kdecore/kconfigbase.h" > void writeEntry( const QString& pKey, unsigned long nValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1138 "../kdecore/kconfigbase.h" > void writeEntry( const char *pKey, unsigned long nValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1156 "../kdecore/kconfigbase.h" > void writeEntry( const QString& pKey, Q_INT64 nValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1173 "../kdecore/kconfigbase.h" > void writeEntry( const char *pKey, Q_INT64 nValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1191 "../kdecore/kconfigbase.h" > void writeEntry( const QString& pKey, Q_UINT64 nValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1208 "../kdecore/kconfigbase.h" > void writeEntry( const char *pKey, Q_UINT64 nValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1229 "../kdecore/kconfigbase.h" > void writeEntry( const QString& pKey, double nValue, > bool bPersistent = true, bool bGlobal = false, > char format = 'g', int precision = 6, > bool bNLS = false ); ># 1250 "../kdecore/kconfigbase.h" > void writeEntry( const char *pKey, double nValue, > bool bPersistent = true, bool bGlobal = false, > char format = 'g', int precision = 6, > bool bNLS = false ); ># 1269 "../kdecore/kconfigbase.h" > void writeEntry( const QString& pKey, bool bValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1286 "../kdecore/kconfigbase.h" > void writeEntry( const char *pKey, bool bValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1304 "../kdecore/kconfigbase.h" > void writeEntry( const QString& pKey, const QFont& rFont, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1321 "../kdecore/kconfigbase.h" > void writeEntry( const char *pKey, const QFont& rFont, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1342 "../kdecore/kconfigbase.h" > void writeEntry( const QString& pKey, const QColor& rColor, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1362 "../kdecore/kconfigbase.h" > void writeEntry( const char *pKey, const QColor& rColor, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1383 "../kdecore/kconfigbase.h" > void writeEntry( const QString& pKey, const QDateTime& rDateTime, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1403 "../kdecore/kconfigbase.h" > void writeEntry( const char *pKey, const QDateTime& rDateTime, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1425 "../kdecore/kconfigbase.h" > void writeEntry( const QString& pKey, const QRect& rValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1445 "../kdecore/kconfigbase.h" > void writeEntry( const char *pKey, const QRect& rValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1466 "../kdecore/kconfigbase.h" > void writeEntry( const QString& pKey, const QPoint& rValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1486 "../kdecore/kconfigbase.h" > void writeEntry( const char *pKey, const QPoint& rValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1507 "../kdecore/kconfigbase.h" > void writeEntry( const QString& pKey, const QSize& rValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1527 "../kdecore/kconfigbase.h" > void writeEntry( const char *pKey, const QSize& rValue, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1548 "../kdecore/kconfigbase.h" > void writePathEntry( const QString& pKey, const QString & path, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1568 "../kdecore/kconfigbase.h" > void writePathEntry( const char *pKey, const QString & path, > bool bPersistent = true, bool bGlobal = false, > bool bNLS = false ); ># 1595 "../kdecore/kconfigbase.h" > void writePathEntry( const QString& pKey, const QStringList &rValue, > char sep = ',', bool bPersistent = true, bool bGlobal = false, bool bNLS = false ); ># 1620 "../kdecore/kconfigbase.h" > void writePathEntry( const char *pKey, const QStringList &rValue, > char sep = ',', bool bPersistent = true, bool bGlobal = false, bool bNLS = false ); ># 1632 "../kdecore/kconfigbase.h" > void deleteEntry( const QString& pKey, > bool bNLS = false, bool bGlobal = false); ># 1642 "../kdecore/kconfigbase.h" > void deleteEntry( const char *pKey, > bool bNLS = false, bool bGlobal = false); ># 1662 "../kdecore/kconfigbase.h" > bool deleteGroup( const QString& group, bool bDeep = true, bool bGlobal = false ); ># 1672 "../kdecore/kconfigbase.h" > void setDollarExpansion( bool _bExpand = true ) { bExpand = _bExpand; } > > > > > > > bool isDollarExpansion() const { return bExpand; } ># 1695 "../kdecore/kconfigbase.h" > virtual void rollback( bool bDeep = true ); ># 1710 "../kdecore/kconfigbase.h" > virtual void sync(); > > > > > > bool isDirty() const { return bDirty; } ># 1725 "../kdecore/kconfigbase.h" > virtual void setReadOnly(bool _ro) { bReadOnly = _ro; } > > > > > > > bool isReadOnly() const { return bReadOnly; } ># 1743 "../kdecore/kconfigbase.h" > bool hasKey( const QString& key ) const; ># 1755 "../kdecore/kconfigbase.h" > virtual QMap<QString, QString> entryMap(const QString &group) const = 0; ># 1769 "../kdecore/kconfigbase.h" > virtual void reparseConfiguration() = 0; > > > > > > bool isImmutable() const; > > > > > > > > bool groupIsImmutable(const QString &group) const; > > > > > > > > bool entryIsImmutable(const QString &key) const; > > > > > > > enum ConfigState { NoAccess, ReadOnly, ReadWrite }; ># 1813 "../kdecore/kconfigbase.h" > ConfigState getConfigState() const; > > > > > > > > bool checkConfigFilesWritable(bool warnUser); > > > > > > > > void setReadDefaults(bool b); > > > > > > > bool readDefaults() const; ># 1849 "../kdecore/kconfigbase.h" > void revertToDefault(const QString &key); ># 1877 "../kdecore/kconfigbase.h" > bool hasDefault(const QString &key) const; > >protected: > > > > > > void setLocale(); > > > > > > > virtual void setDirty(bool _bDirty = true) { bDirty = _bDirty; } > > > > > > > virtual void parseConfigFiles(); ># 1916 "../kdecore/kconfigbase.h" > virtual KEntryMap internalEntryMap( const QString& pGroup ) const = 0; ># 1929 "../kdecore/kconfigbase.h" > virtual KEntryMap internalEntryMap() const = 0; ># 1946 "../kdecore/kconfigbase.h" > virtual void putData(const KEntryKey &_key, const KEntry &_data, bool _checkGroup = true) = 0; ># 1962 "../kdecore/kconfigbase.h" > virtual KEntry lookupData(const KEntryKey &_key) const = 0; > > virtual bool internalHasGroup(const QCString &group) const = 0; > > > > > KConfigBackEnd *backEnd; >public: > > > > void setGroup( const QCString &pGroup ); > void setGroup( const char *pGroup ); > bool hasGroup(const QCString &_pGroup) const; > bool hasGroup(const char *_pGroup) const; > bool hasKey( const char *pKey ) const; > >protected: > QCString readEntryUtf8( const char *pKey) const; > > > > QCString mGroup; > > > > QCString aLocaleString; > > > > > bool bDirty; > > bool bLocaleInitialized; > bool bReadOnly; > mutable bool bExpand; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KConfigBasePrivate; > KConfigBasePrivate *d; >}; > >class KConfigGroupSaverPrivate; ># 2045 "../kdecore/kconfigbase.h" >class KConfigGroupSaver >{ >public: ># 2057 "../kdecore/kconfigbase.h" > KConfigGroupSaver( KConfigBase* config, QString group ) > > : _config(config), _oldgroup(config->group()) > { _config->setGroup( group ); } > > KConfigGroupSaver( KConfigBase* config, const char *group ) > : _config(config), _oldgroup(config->group()) > { _config->setGroup( group ); } > > KConfigGroupSaver( KConfigBase* config, const QCString &group ) > : _config(config), _oldgroup(config->group()) > { _config->setGroup( group ); } > > ~KConfigGroupSaver() { _config->setGroup( _oldgroup ); } > > KConfigBase* config() { return _config; }; > >private: > KConfigBase* _config; > QString _oldgroup; > > KConfigGroupSaver(const KConfigGroupSaver&); > KConfigGroupSaver& operator=(const KConfigGroupSaver&); > > KConfigGroupSaverPrivate *d; >}; > >class KConfigGroupPrivate; > > > > >class KConfigGroup: public KConfigBase >{ >public: > > > > > KConfigGroup(KConfigBase *master, const QCString &group); > > > > > > > KConfigGroup(KConfigBase *master, const QString &group); > > > > > > > > KConfigGroup(KConfigBase *master, const char * group); > > > > > > > > void deleteGroup(bool bGlobal = false); > > > virtual void setDirty(bool b); > virtual void putData(const KEntryKey &_key, const KEntry &_data, bool _checkGroup = true); > virtual KEntry lookupData(const KEntryKey &_key) const; > virtual void sync(); > >private: > > void setGroup() { } > void setDesktopGroup() { } > void group() { } > void hasGroup() { } > void setReadOnly(bool) { } > void isDirty() { } > > > virtual QStringList groupList() const { return QStringList(); } > virtual void rollback(bool) { } > virtual void reparseConfiguration() { } > virtual QMap<QString, QString> entryMap(const QString &) const > { return QMap<QString,QString>(); } > virtual KEntryMap internalEntryMap( const QString&) const > { return KEntryMap(); } > virtual KEntryMap internalEntryMap() const > { return KEntryMap(); } > virtual bool internalHasGroup(const QCString &) const > { return false; } > > void getConfigState() { } > > KConfigBase *mMaster; >protected: > virtual void virtual_hook( int id, void* data ); >private: > KConfigGroupPrivate* d; >}; ># 25 "../kio/kio/slavebase.h" 2 > ># 1 "../kio/kio/authinfo.h" 1 ># 29 "../kio/kio/authinfo.h" >namespace KIO { ># 51 "../kio/kio/authinfo.h" >class AuthInfo >{ > friend QDataStream& operator<< (QDataStream& s, const AuthInfo& a); > friend QDataStream& operator>> (QDataStream& s, AuthInfo& a); > >public: > > > > AuthInfo(); > > > > > AuthInfo( const AuthInfo& info ); > > > > > AuthInfo& operator=( const AuthInfo& info ); > > > > > > bool isModified() const { return modified; } > > > > > > void setModified( bool flag ) { modified = flag; } ># 94 "../kio/kio/authinfo.h" > KURL url; > > > > > QString username; > > > > > QString password; ># 115 "../kio/kio/authinfo.h" > QString prompt; ># 126 "../kio/kio/authinfo.h" > QString caption; ># 150 "../kio/kio/authinfo.h" > QString comment; ># 159 "../kio/kio/authinfo.h" > QString commentLabel; ># 177 "../kio/kio/authinfo.h" > QString realmValue; ># 187 "../kio/kio/authinfo.h" > QString digestInfo; ># 200 "../kio/kio/authinfo.h" > bool verifyPath; > > > > > > > bool readOnly; ># 220 "../kio/kio/authinfo.h" > bool keepPassword; > >protected: > bool modified; >private: > class AuthInfoPrivate* d; >}; > >QDataStream& operator<< (QDataStream& s, const AuthInfo& a); >QDataStream& operator>> (QDataStream& s, AuthInfo& a); ># 240 "../kio/kio/authinfo.h" >class NetRC >{ >public: ># 254 "../kio/kio/authinfo.h" > enum LookUpMode > { > exactOnly = 0x0002, > defaultOnly = 0x0004, > presetOnly = 0x0008 > }; > > > > > > struct AutoLogin > { > QString type; > QString machine; > QString login; > QString password; > QMap<QString, QStringList> macdef; > }; > > > > > > static NetRC* self(); ># 290 "../kio/kio/authinfo.h" > bool lookup( const KURL& url, AutoLogin& login, > bool userealnetrc = false, > QString type = QString::null, > int mode = (exactOnly|defaultOnly) ); > > > > void reload() { isDirty = true; } > >protected: > QString extract( const char*, const char*, int& ); > int openf( const QString& ); > bool parse( int ); > >private: > NetRC(); > ~NetRC(); > >private: > bool isDirty; > > typedef QValueList<AutoLogin> LoginList; > typedef QMap<QString, LoginList> LoginMap; > LoginMap loginMap; > > static NetRC* instance; > class NetRCPrivate; > NetRCPrivate* d; >}; >} ># 27 "../kio/kio/slavebase.h" 2 > >class DCOPClient; >class KRemoteEncoding; > >namespace KIO { > >class Connection; >class SlaveBasePrivate; ># 45 "../kio/kio/slavebase.h" >class SlaveBase >{ >public: > SlaveBase( const QCString &protocol, const QCString &pool_socket, const QCString &app_socket); > virtual ~SlaveBase(); > > > > > > void exit(); > > > > > void dispatchLoop(); > > > > > void setConnection( Connection* connection ) { m_pConnection = connection; } > > > > Connection *connection() const { return m_pConnection; } ># 84 "../kio/kio/slavebase.h" > void data( const QByteArray &data ); > > > > > > void dataReq( ); ># 109 "../kio/kio/slavebase.h" > void error( int _errid, const QString &_text ); > > > > > void connected(); > > > > > > void finished(); > > > > > void needSubURLData(); > > > > > > > > void slaveStatus(const QString &host, bool connected); > > > > > > > > void statEntry( const UDSEntry& _entry ); > > > > > > void listEntries( const UDSEntryList& _entry ); ># 156 "../kio/kio/slavebase.h" > bool canResume( KIO::filesize_t offset ); > > > > > > void canResume(); ># 173 "../kio/kio/slavebase.h" > void totalSize( KIO::filesize_t _bytes ); > > > > > > void processedSize( KIO::filesize_t _bytes ); ># 192 "../kio/kio/slavebase.h" > void processedPercent( float percent ); > > > > > > > void speed( unsigned long _bytes_per_second ); > > > > > > void redirection( const KURL &_url ); > > > > > > > void errorPage(); > > > > > > void mimeType( const QString &_type ); > > > > > void warning( const QString &msg ); > > > > > > void infoMessage( const QString &msg ); > > enum MessageBoxType { QuestionYesNo = 1, WarningYesNo = 2, WarningContinueCancel = 3, WarningYesNoCancel = 4, Information = 5, SSLMessageBox = 6 }; ># 246 "../kio/kio/slavebase.h" > int messageBox( MessageBoxType type, const QString &text, > const QString &caption = QString::null, > const QString &buttonYes = QString::null, > const QString &buttonNo = QString::null ); ># 267 "../kio/kio/slavebase.h" > int messageBox( const QString &text, MessageBoxType type, > const QString &caption = QString::null, > const QString &buttonYes = QString::null, > const QString &buttonNo = QString::null, > const QString &dontAskAgainName = QString::null ); > > > > > > void setMetaData(const QString &key, const QString &value); > > > > > > > bool hasMetaData(const QString &key) const; > > > > > > QString metaData(const QString &key) const; > > > > > > > bool hasMetaData(const QString &key); > > > > > > QString metaData(const QString &key); ># 312 "../kio/kio/slavebase.h" > KConfigBase* config(); > > > > > > > > KRemoteEncoding* remoteEncoding(); ># 339 "../kio/kio/slavebase.h" > virtual void setHost(const QString& host, int port, const QString& user, const QString& pass); > > > > > virtual void setSubURL(const KURL&url); ># 355 "../kio/kio/slavebase.h" > virtual void openConnection(); ># 365 "../kio/kio/slavebase.h" > virtual void closeConnection(); > > > > > > > > virtual void get( const KURL& url ); ># 384 "../kio/kio/slavebase.h" > virtual void put( const KURL& url, int permissions, bool overwrite, bool resume ); > > > > > > > virtual void stat( const KURL& url ); ># 405 "../kio/kio/slavebase.h" > virtual void mimetype( const KURL& url ); ># 414 "../kio/kio/slavebase.h" > virtual void listDir( const KURL& url ); ># 423 "../kio/kio/slavebase.h" > virtual void mkdir( const KURL&url, int permissions ); ># 433 "../kio/kio/slavebase.h" > virtual void rename( const KURL& src, const KURL& dest, bool overwrite ); ># 442 "../kio/kio/slavebase.h" > virtual void symlink( const QString& target, const KURL& dest, bool overwrite ); > > > > > > virtual void chmod( const KURL& url, int permissions ); ># 460 "../kio/kio/slavebase.h" > virtual void copy( const KURL &src, const KURL &dest, int permissions, bool overwrite ); > > > > > > > > virtual void del( const KURL &url, bool isfile); ># 478 "../kio/kio/slavebase.h" > virtual void special( const QByteArray & data ); ># 487 "../kio/kio/slavebase.h" > virtual void multiGet( const QByteArray & data ); > > > > > > virtual void slave_status(); > > > > > > virtual void reparseConfiguration(); > > > > > > int connectTimeout(); > > > > > int proxyConnectTimeout(); > > > > > > int responseTimeout(); > > > > > > int readTimeout(); ># 538 "../kio/kio/slavebase.h" > void setTimeoutSpecialCommand(int timeout, const QByteArray &data=QByteArray()); > > > > > static void sigsegv_handler(int); > > > > static void sigpipe_handler(int); ># 556 "../kio/kio/slavebase.h" > virtual bool dispatch(); > > > > virtual void dispatch( int command, const QByteArray &data ); ># 570 "../kio/kio/slavebase.h" > int readData( QByteArray &buffer ); ># 582 "../kio/kio/slavebase.h" > void listEntry( const UDSEntry& _entry, bool ready); > > > > > > void connectSlave(const QString& path); > void disconnectSlave(); ># 635 "../kio/kio/slavebase.h" > bool openPassDlg( KIO::AuthInfo& info, const QString &errorMsg ); > > > > > > bool openPassDlg( KIO::AuthInfo& info ); ># 670 "../kio/kio/slavebase.h" > bool checkCachedAuthentication( AuthInfo& info ); > > > > > > > > bool cacheAuthentication( const AuthInfo& info ); > > > > > > bool pingCacheDaemon() const; > > > > > > > > QString createAuthCacheKey( const KURL& url ); ># 701 "../kio/kio/slavebase.h" > void sendAuthenticationKey( const QCString& gKey, const QCString& key, bool keep ); ># 711 "../kio/kio/slavebase.h" > void delCachedAuthentication( const QString& key ); > > > > > > void setMultipleAuthCaching( bool ) {}; > > > > > > bool multipleAuthCaching() const { return false; } ># 743 "../kio/kio/slavebase.h" > bool requestNetwork(const QString& host = QString::null); ># 758 "../kio/kio/slavebase.h" > void dropNetwork(const QString& host = QString::null); > > > > > > DCOPClient *dcopClient(); > > > > > > int waitForAnswer( int expected1, int expected2, QByteArray & data, int * pCmd = 0 ); > > > > > void sendMetaData(); > > > > > QCString mProtocol; > > Connection * m_pConnection; > > MetaData mOutgoingMetaData; > MetaData mIncomingMetaData; > > > > > > > > bool wasKilled() const; > > > > > > void setKillFlag(); > >protected: > UDSEntryList pendingListEntries; > uint listEntryCurrentSize; > long listEntry_sec, listEntry_usec; > Connection *appconn; > QString mPoolSocket; > QString mAppSocket; > bool mConnectedToApp; > static long s_seqNr; > virtual void virtual_hook( int id, void* data ); > >private: > SlaveBasePrivate *d; >}; > >} ># 20 "kio_help.h" 2 > >class HelpProtocol : public KIO::SlaveBase >{ >public: > > HelpProtocol( bool ghelp, const QCString &pool, const QCString &app); > virtual ~HelpProtocol() { } > > virtual void get( const KURL& url ); > > virtual void mimetype( const KURL& url ); > >private: > > QString langLookup(QString fname); > void emitFile( const KURL &url ); > void get_file( const KURL& url ); > QString lookupFile(const QString &fname, const QString &query, > bool &redirect); > > void notFound(); > void unicodeError( const QString &t ); > > QString mParsed; > bool mGhelp; >}; ># 15 "xslt_pure.cpp" 2 ># 1 "../kdecore/klocale.h" 1 ># 28 "../kdecore/klocale.h" >class QStringList; >class QTextCodec; >class QDate; >class QTime; >class QDateTime; > >class KGlobal; >class KConfig; >class KConfigBase; >class KLocalePrivate; >class KCatalogue; >class KCalendarSystem; ># 73 "../kdecore/klocale.h" >QString i18n(const char *text); ># 82 "../kdecore/klocale.h" >QString i18n(const char *comment, const char *text); > > > > > > > >QString i18n(const char *singular, const char *plural, unsigned long n); > > > > > > > >inline QString tr2i18n(const char* message, const char* =0) { > return i18n(message); >} ># 114 "../kdecore/klocale.h" >class KLocale >{ > friend class KGlobal; >public: ># 134 "../kdecore/klocale.h" > KLocale( const QString& catalog, KConfig *config = 0 ); > > > > > KLocale( const KLocale & rhs ); > > > > > KLocale& operator= ( const KLocale & rhs ); > > > > > ~KLocale(); ># 169 "../kdecore/klocale.h" > QString translate( const char *index ) const; ># 196 "../kdecore/klocale.h" > QString translate( const char *comment, const char *fallback) const; ># 208 "../kdecore/klocale.h" > QString translate( const char *singular, const char *plural, > unsigned long n) const; ># 218 "../kdecore/klocale.h" > bool setEncoding(int mibEnum); ># 229 "../kdecore/klocale.h" > bool setLanguage(const QString & language); ># 240 "../kdecore/klocale.h" > bool setLanguage(const QStringList & languages); ># 251 "../kdecore/klocale.h" > bool setCountry(const QString & country); > > > > > > enum SignPosition { ParensAround = 0, BeforeQuantityMoney = 1, > AfterQuantityMoney = 2, > BeforeMoney = 3, AfterMoney = 4 }; > > > > > > > > QString decimalSymbol() const; ># 276 "../kdecore/klocale.h" > QString thousandsSeparator() const; > > > > > > > > QString currencySymbol() const; ># 293 "../kdecore/klocale.h" > QString monetaryDecimalSymbol() const; ># 302 "../kdecore/klocale.h" > QString monetaryThousandsSeparator() const; > > > > > > > > QString positiveSign() const; > > > > > > > > QString negativeSign() const; > > > > > > > > int fracDigits() const; > > > > > > > > bool positivePrefixCurrencySymbol() const; > > > > > > > > bool negativePrefixCurrencySymbol() const; ># 351 "../kdecore/klocale.h" > SignPosition positiveMonetarySignPosition() const; ># 360 "../kdecore/klocale.h" > SignPosition negativeMonetarySignPosition() const; ># 376 "../kdecore/klocale.h" > QString formatMoney(double num, > const QString & currency = QString::null, > int digits = -1) const; ># 392 "../kdecore/klocale.h" > QString formatNumber(double num, int precision = -1) const; ># 405 "../kdecore/klocale.h" > QString formatLong(long num) const; ># 415 "../kdecore/klocale.h" > bool nounDeclension() const; ># 426 "../kdecore/klocale.h" > QString formatDate(const QDate &pDate, bool shortFormat = false) const; ># 435 "../kdecore/klocale.h" > bool dateMonthNamePossessive() const; ># 449 "../kdecore/klocale.h" > QString formatTime(const QTime &pTime, bool includeSecs, bool isDuration ) const; ># 461 "../kdecore/klocale.h" > QString formatTime(const QTime &pTime, bool includeSecs = false) const; > > > > > > > bool use12Clock() const; ># 479 "../kdecore/klocale.h" > bool weekStartsMonday() const __attribute__ ((deprecated)); > > > > > > > > int weekStartDay() const; ># 509 "../kdecore/klocale.h" > QString monthName(int i, bool shortName = false) const __attribute__ ((deprecated)); ># 534 "../kdecore/klocale.h" > QString monthNamePossessive(int i, bool shortName = false) const __attribute__ ((deprecated)); ># 546 "../kdecore/klocale.h" > QString weekDayName(int i, bool shortName = false) const __attribute__ ((deprecated)); > > > > > > > > const KCalendarSystem * calendar() const; ># 563 "../kdecore/klocale.h" > QString calendarType() const; ># 573 "../kdecore/klocale.h" > void setCalendar(const QString & calendarType); ># 585 "../kdecore/klocale.h" > QString formatDateTime(const QDateTime &pDateTime, > bool shortFormat = true, > bool includeSecs = false) const; ># 598 "../kdecore/klocale.h" > double readMoney(const QString &numStr, bool * ok = 0) const; ># 609 "../kdecore/klocale.h" > double readNumber(const QString &numStr, bool * ok = 0) const; ># 621 "../kdecore/klocale.h" > QDate readDate(const QString &str, bool* ok = 0) const; > > > > > > QDate readDate( const QString &intstr, const QString &fmt, bool* ok = 0) const; > > enum ReadDateFlags { > NormalFormat = 1, > ShortFormat = 2 > }; ># 647 "../kdecore/klocale.h" > QDate readDate(const QString &str, ReadDateFlags flags, bool *ok = 0) const; ># 661 "../kdecore/klocale.h" > QTime readTime(const QString &str, bool* ok = 0) const; > > enum ReadTimeFlags { > WithSeconds = 0, > WithoutSeconds = 1 > }; ># 681 "../kdecore/klocale.h" > QTime readTime(const QString &str, ReadTimeFlags flags, bool *ok = 0) const; ># 690 "../kdecore/klocale.h" > QString language() const; > > > > > > > > QString country() const; ># 713 "../kdecore/klocale.h" > QStringList languagesTwoAlpha() const; ># 723 "../kdecore/klocale.h" > QStringList languageList() const; ># 733 "../kdecore/klocale.h" > const char * encoding() const; ># 743 "../kdecore/klocale.h" > int encodingMib() const; ># 752 "../kdecore/klocale.h" > QTextCodec * codecForEncoding() const; ># 762 "../kdecore/klocale.h" > int fileEncodingMib() const; ># 785 "../kdecore/klocale.h" > void setDateFormat(const QString & format); ># 807 "../kdecore/klocale.h" > void setDateFormatShort(const QString & format); > > > > > > > void setDateMonthNamePossessive(bool possessive); ># 833 "../kdecore/klocale.h" > void setTimeFormat(const QString & format); ># 844 "../kdecore/klocale.h" > void setWeekStartsMonday(bool start) __attribute__ ((deprecated)); > > > > > > > > void setWeekStartDay(int day); > > > > > > > QString dateFormat() const; > > > > > > > QString dateFormatShort() const; > > > > > > > QString timeFormat() const; > > > > > > > void setDecimalSymbol(const QString & symbol); > > > > > > void setThousandsSeparator(const QString & separator); > > > > > > > void setPositiveSign(const QString & sign); > > > > > > void setNegativeSign(const QString & sign); > > > > > > void setPositiveMonetarySignPosition(SignPosition signpos); > > > > > > void setNegativeMonetarySignPosition(SignPosition signpos); > > > > > > > > void setPositivePrefixCurrencySymbol(bool prefix); > > > > > > > > void setNegativePrefixCurrencySymbol(bool prefix); > > > > > > void setFracDigits(int digits); > > > > > > void setMonetaryThousandsSeparator(const QString & separator); > > > > > > > void setMonetaryDecimalSymbol(const QString & symbol); > > > > > > void setCurrencySymbol(const QString & symbol); > > > > > > > int pageSize() const; > > > > > > > void setPageSize(int paperFormat); > > > > > > enum MeasureSystem { Metric, Imperial }; > > > > > > > MeasureSystem measureSystem() const; > > > > > > > void setMeasureSystem(MeasureSystem value); ># 998 "../kdecore/klocale.h" > void insertCatalogue(const QString& catalog); > > > > > > > void removeCatalogue(const QString &catalog); > > > > > > void setActiveCatalogue(const QString &catalog); > > > > > > > > QString translateQt(const char *context, > const char *sourceText, > const char *message) const; > > > > > > > QStringList allLanguagesTwoAlpha() const; > > > > > > > > QString twoAlphaToLanguageName(const QString &code) const; > > > > > > > QStringList allCountriesTwoAlpha() const; > > > > > > > > QString twoAlphaToCountryName(const QString &code) const; ># 1062 "../kdecore/klocale.h" > static void splitLocale(const QString & str, > QString & language, > QString & country, > QString & charset); ># 1075 "../kdecore/klocale.h" > static void setMainCatalogue(const char *catalog); > > > > > > > > static QString langLookup(const QString &fname, const char *rtype = "html"); > > > > > > > static QString defaultLanguage(); > > > > > > > static QString defaultCountry(); > > > > > > static QString _initLanguage(KConfigBase *config); ># 1112 "../kdecore/klocale.h" > QString formatMoney(const QString &numStr) const __attribute__ ((deprecated)); > > > > > > QString formatNumber(const QString &numStr) const __attribute__ ((deprecated)); > > > > > > > > QString languages() const __attribute__ ((deprecated)); > > > > > > bool setCharset(const QString & charset) __attribute__ ((deprecated)); > > > > > > QString charset() const __attribute__ ((deprecated)); > >protected: > > > > > static void initInstance(); > >private: > > > > > > > void initFormat(KConfig *config); > > > > > > > > void initMainCatalogues(const QString & catalog); ># 1172 "../kdecore/klocale.h" > void initLanguageList(KConfig * config, bool useEnv); > > > > > > > void initEncoding(KConfig * config); > > > > > > void initFileNameEncoding(KConfig *config); > > > > > static QCString encodeFileNameUTF8( const QString & fileName ); > > > > > static QString decodeFileNameUTF8( const QCString & localFileName ); > > > > > > void initCatalogue( KCatalogue & catalog ); > > > > > void doFormatInit() const; > > > > > void initFormat(); > > > > > QString translate_priv(const char *index, > const char *text, > const char ** original = 0, > int* pluralType = 0) const; > > > > > bool useDefaultLanguage() const; > > > > > bool isLanguageInstalled(const QString & language) const; > > > > > > void updateCatalogues( ); > > > > > void initPluralTypes( ); > > > > > > int pluralType( const QString & language ); > > > > > > > > int pluralType( const KCatalogue& catalog ); ># 1268 "../kdecore/klocale.h" > static QString catalogueFileName(const QString & language, > const KCatalogue & catalog); > > > > > > > bool isApplicationTranslatedInto( const QString & language); > >private: > > QString m_decimalSymbol; > QString m_thousandsSeparator; > QString m_currencySymbol; > QString m_monetaryDecimalSymbol; > QString m_monetaryThousandsSeparator; > QString m_positiveSign; > QString m_negativeSign; > int m_fracDigits; > SignPosition m_positiveMonetarySignPosition; > SignPosition m_negativeMonetarySignPosition; > > > QString m_timeFormat; > QString m_dateFormat; > QString m_dateFormatShort; > > QString m_language; > QString m_country; > > bool m_weekStartsMonday; > bool m_positivePrefixCurrencySymbol; > bool m_negativePrefixCurrencySymbol; > > KLocalePrivate *d; >}; ># 16 "xslt_pure.cpp" 2 ># 1 "/usr/include/assert.h" 1 3 4 ># 65 "/usr/include/assert.h" 3 4 >extern "C" { > > >extern void __assert_fail (__const char *__assertion, __const char *__file, > unsigned int __line, __const char *__function) > throw () __attribute__ ((__noreturn__)); > > >extern void __assert_perror_fail (int __errnum, __const char *__file, > unsigned int __line, > __const char *__function) > throw () __attribute__ ((__noreturn__)); > > > > >extern void __assert (const char *__assertion, const char *__file, int __line) > throw () __attribute__ ((__noreturn__)); > > >} ># 17 "xslt_pure.cpp" 2 ># 1 "../kio/kio/kfilterbase.h" 1 ># 24 "../kio/kio/kfilterbase.h" >class QIODevice; > > > > > > >class KFilterBase : public QObject >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; >public: > KFilterBase(); > virtual ~KFilterBase(); > > > > > > > void setDevice( QIODevice * dev, bool autodelete = false ); > > > > > > > > QIODevice * device() { return m_dev; } > > virtual void init( int mode ) = 0; > > virtual int mode() const = 0; > > virtual void terminate() {} > > virtual void reset() {} > > virtual bool readHeader() = 0; > > virtual bool writeHeader( const QCString & filename ) = 0; > > virtual void setOutBuffer( char * data, uint maxlen ) = 0; > > virtual void setInBuffer( const char * data, uint size ) = 0; > > virtual bool inBufferEmpty() const { return inBufferAvailable() == 0; } > > virtual int inBufferAvailable() const = 0; > > virtual bool outBufferFull() const { return outBufferAvailable() == 0; } > > virtual int outBufferAvailable() const = 0; > > > enum Result { OK, END, ERROR }; > > virtual Result uncompress() = 0; > > virtual Result compress( bool finish ) = 0; > > > > > > > > static KFilterBase * findFilterByFileName( const QString & fileName ); > > > > > > > > static KFilterBase * findFilterByMimeType( const QString & mimeType ); > >protected: > QIODevice * m_dev; > bool m_bAutoDel; >protected: > virtual void virtual_hook( int id, void* data ); >private: > class KFilterBasePrivate; >}; ># 18 "xslt_pure.cpp" 2 ># 1 "../kio/kio/kfilterdev.h" 1 ># 25 "../kio/kio/kfilterdev.h" >class QFile; >class KFilterBase; ># 36 "../kio/kio/kfilterdev.h" >class KFilterDev : public QIODevice >{ >public: > > > > > > > KFilterDev( KFilterBase * filter, bool autodeleteFilterBase = false ); > > > > > virtual ~KFilterDev(); > > > > > > virtual bool open( int mode ); > > > > > virtual void close(); > virtual void flush(); > > > > > > > void setOrigFileName( const QCString & fileName ); > > > > > > > > void setSkipHeaders(); > > > virtual QIODevice::Offset size() const; > > virtual QIODevice::Offset at() const; > > > > virtual bool at( QIODevice::Offset ); > > virtual bool atEnd() const; > > virtual Q_LONG readBlock( char *data, Q_ULONG maxlen ); > virtual Q_LONG writeBlock( const char *data, Q_ULONG len ); > > > virtual int getch(); > virtual int putch( int ); > virtual int ungetch( int ); ># 108 "../kio/kio/kfilterdev.h" > static QIODevice* createFilterDevice(KFilterBase* base, QFile* file) __attribute__ ((deprecated)); >public: ># 137 "../kio/kio/kfilterdev.h" > static QIODevice * deviceForFile( const QString & fileName, const QString & mimetype = QString::null, > bool forceFilter = false ); ># 158 "../kio/kio/kfilterdev.h" > static QIODevice * device( QIODevice* inDevice, const QString & mimetype); ># 181 "../kio/kio/kfilterdev.h" > static QIODevice * device( QIODevice* inDevice, const QString & mimetype, bool autoDeleteInDevice ); > >private: > KFilterBase *filter; > class KFilterDevPrivate; > KFilterDevPrivate * d; >}; ># 19 "xslt_pure.cpp" 2 ># 1 "/usr/qt/3/include/qtextcodec.h" 1 ># 47 "/usr/qt/3/include/qtextcodec.h" >class QTextCodec; >class QIODevice; >class QFont; > >class QTextEncoder { >public: > virtual ~QTextEncoder(); > virtual QCString fromUnicode(const QString& uc, int& lenInOut) = 0; >}; > >class QTextDecoder { >public: > virtual ~QTextDecoder(); > virtual QString toUnicode(const char* chars, int len) = 0; >}; > >class QTextCodec { >public: > virtual ~QTextCodec(); > > > static QTextCodec* loadCharmap(QIODevice*); > static QTextCodec* loadCharmapFile(QString filename); > > static QTextCodec* codecForMib(int mib); > static QTextCodec* codecForName(const char* hint, int accuracy=0); > static QTextCodec* codecForContent(const char* chars, int len); > static QTextCodec* codecForIndex(int i); > static QTextCodec* codecForLocale(); > static void setCodecForLocale(QTextCodec *c); > > static QTextCodec* codecForTr(); > static void setCodecForTr(QTextCodec *c); > static QTextCodec* codecForCStrings(); > static void setCodecForCStrings(QTextCodec *c); > > static void deleteAllCodecs(); > > static const char* locale(); > > virtual const char* name() const = 0; > virtual const char* mimeName() const; > virtual int mibEnum() const = 0; > > virtual QTextDecoder* makeDecoder() const; > virtual QTextEncoder* makeEncoder() const; > > virtual QString toUnicode(const char* chars, int len) const; > virtual QCString fromUnicode(const QString& uc, int& lenInOut) const; > > QCString fromUnicode(const QString& uc) const; > QString toUnicode(const QByteArray&, int len) const; > QString toUnicode(const QByteArray&) const; > QString toUnicode(const QCString&, int len) const; > QString toUnicode(const QCString&) const; > QString toUnicode(const char* chars) const; > virtual bool canEncode( QChar ) const; > virtual bool canEncode( const QString& ) const; > > virtual int heuristicContentMatch(const char* chars, int len) const = 0; > virtual int heuristicNameMatch(const char* hint) const; > > virtual QByteArray fromUnicode(const QString& uc, int from, int len) const; > virtual unsigned short characterFromUnicode(const QString &str, int pos) const; > >protected: > QTextCodec(); > static int simpleHeuristicNameMatch(const char* name, const char* hint); > >private: > friend class QFont; > friend class QFontEngineXLFD; > void fromUnicodeInternal( const QChar *in, unsigned short *out, int length ); > > static QTextCodec *cftr; > static QTextCodec *cfcs; >}; > >inline QTextCodec* QTextCodec::codecForTr() { return cftr; } >inline void QTextCodec::setCodecForTr(QTextCodec *c) { cftr = c; } >inline QTextCodec* QTextCodec::codecForCStrings() { return cfcs; } >inline void QTextCodec::setCodecForCStrings(QTextCodec *c) { cfcs = c; } ># 20 "xslt_pure.cpp" 2 > ># 1 "../config.h" 1 ># 857 "../config.h" >extern "C" { > >int mkstemps(char *, int); > >} ># 917 "../config.h" >extern "C" { > >unsigned long strlcat(char*, const char*, unsigned long); > >} > > > > > > > >extern "C" { > >unsigned long strlcpy(char*, const char*, unsigned long); > >} ># 22 "xslt_pure.cpp" 2 ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/stdarg.h" 1 3 4 ># 23 "xslt_pure.cpp" 2 ># 1 "../kdecore/klibloader.h" 1 ># 24 "../kdecore/klibloader.h" ># 1 "/usr/qt/3/include/qasciidict.h" 1 ># 45 "/usr/qt/3/include/qasciidict.h" >template<class type> >class QAsciiDict > > > > : public QGDict > >{ >public: > QAsciiDict(int size=17, bool caseSensitive=TRUE, bool copyKeys=TRUE ) > : QGDict(size,AsciiKey,caseSensitive,copyKeys) {} > QAsciiDict( const QAsciiDict<type> &d ) : QGDict(d) {} > ~QAsciiDict() { clear(); } > QAsciiDict<type> &operator=(const QAsciiDict<type> &d) > { return (QAsciiDict<type>&)QGDict::operator=(d); } > uint count() const { return QGDict::count(); } > uint size() const { return QGDict::size(); } > bool isEmpty() const { return QGDict::count() == 0; } > > void insert( const char *k, const type *d ) > { QGDict::look_ascii(k,(Item)d,1); } > void replace( const char *k, const type *d ) > { QGDict::look_ascii(k,(Item)d,2); } > bool remove( const char *k ) { return QGDict::remove_ascii(k); } > type *take( const char *k ) { return (type *)QGDict::take_ascii(k); } > type *find( const char *k ) const > { return (type *)((QGDict*)this)->QGDict::look_ascii(k,0,0); } > type *operator[]( const char *k ) const > { return (type *)((QGDict*)this)->QGDict::look_ascii(k,0,0); } > > void clear() { QGDict::clear(); } > void resize( uint n ) { QGDict::resize(n); } > void statistics() const { QGDict::statistics(); } > > > > > > > >private: > void deleteItem( Item d ); >}; > > >template<> inline void QAsciiDict<void>::deleteItem( QPtrCollection::Item ) >{ >} > > >template<class type> inline void QAsciiDict<type>::deleteItem( QPtrCollection::Item d ) >{ > if ( del_item ) delete (type *)d; >} > >template<class type> >class QAsciiDictIterator : public QGDictIterator >{ >public: > QAsciiDictIterator(const QAsciiDict<type> &d) > : QGDictIterator((QGDict &)d) {} > ~QAsciiDictIterator() {} > uint count() const { return dict->count(); } > bool isEmpty() const { return dict->count() == 0; } > type *toFirst() { return (type *)QGDictIterator::toFirst(); } > operator type *() const { return (type *)QGDictIterator::get(); } > type *current() const { return (type *)QGDictIterator::get(); } > const char *currentKey() const { return QGDictIterator::getKeyAscii(); } > type *operator()() { return (type *)QGDictIterator::operator()(); } > type *operator++() { return (type *)QGDictIterator::operator++(); } > type *operator+=(uint j) { return (type *)QGDictIterator::operator+=(j);} >}; > > ># 1 "/usr/qt/3/include/qwinexport.h" 1 ># 120 "/usr/qt/3/include/qasciidict.h" 2 ># 25 "../kdecore/klibloader.h" 2 > > > > > >class KInstance; >class QTimer; >class KLibrary; >class KLibFactory; >class KLibFactoryPrivate; >class KLibLoaderPrivate; >class KLibraryPrivate; ># 50 "../kdecore/klibloader.h" >class KLibrary : public QObject >{ > friend class KLibLoader; > friend class QAsciiDict<KLibrary>; > > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; >public: > > > > KLibrary( const QString& libname, const QString& filename, void * handle ); > > > > > > QString name() const; > > > > > > QString fileName() const; > > > > > > KLibFactory* factory(); ># 89 "../kdecore/klibloader.h" > void* symbol( const char* name ) const; ># 100 "../kdecore/klibloader.h" > bool hasSymbol( const char* name ) const; > > > > > > > void unload() const; > >private : > void slotObjectCreated( QObject *obj ); > void slotObjectDestroyed(); > void slotTimeout(); > >private: > > > > > ~KLibrary(); > > QString m_libname; > QString m_filename; > KLibFactory* m_factory; > void * m_handle; > QPtrList<QObject> m_objs; > QTimer *m_timer; > KLibraryPrivate *d; >}; > >class KLibWrapPrivate; ># 142 "../kdecore/klibloader.h" >class KLibLoader : public QObject >{ > friend class KLibrary; > > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; >public: > > > > > > ~KLibLoader(); ># 175 "../kdecore/klibloader.h" > KLibFactory* factory( const char* libname ); ># 197 "../kdecore/klibloader.h" > virtual KLibrary* library( const char* libname ); ># 221 "../kdecore/klibloader.h" > KLibrary* globalLibrary( const char *name ); ># 230 "../kdecore/klibloader.h" > QString lastErrorMessage() const; ># 246 "../kdecore/klibloader.h" > virtual void unloadLibrary( const char *libname ); > > > > > > > > static KLibLoader* self(); ># 264 "../kdecore/klibloader.h" > static void cleanUp(); ># 276 "../kdecore/klibloader.h" > static QString findLibrary( const char * name, const KInstance * instance = KGlobal::instance() ); > >protected: > KLibLoader( QObject* parent = 0, const char* name = 0 ); > >private : > void slotLibraryDestroyed(); >private: > void close_pending( KLibWrapPrivate * ); > QAsciiDict<KLibWrapPrivate> m_libs; > > static KLibLoader* s_self; > >protected: > virtual void virtual_hook( int id, void* data ); >private: > KLibLoaderPrivate *d; >}; ># 330 "../kdecore/klibloader.h" >class KLibFactory : public QObject >{ > public: virtual QMetaObject *metaObject() const { return staticMetaObject(); } virtual const char *className() const; virtual void* qt_cast( const char* ); virtual bool qt_invoke( int, QUObject* ); virtual bool qt_emit( int, QUObject* ); virtual bool qt_property( int id, int f, QVariant* v); static bool qt_static_property( QObject* , int, int, QVariant* ); static QMetaObject* staticMetaObject(); QObject* qObject() { return (QObject*)this; } private: static QMetaObject *metaObj; >public: > > > > > > KLibFactory( QObject* parent = 0, const char* name = 0 ); > virtual ~KLibFactory(); ># 363 "../kdecore/klibloader.h" > QObject* create( QObject* parent = 0, const char* name = 0, const char* classname = "QObject", const QStringList &args = QStringList() ); > >protected: > > > > > void objectCreated( QObject *obj ); > > >protected: ># 391 "../kdecore/klibloader.h" > virtual QObject* createObject( QObject* parent = 0, const char* name = 0, > const char* className = "QObject", > const QStringList &args = QStringList() ) = 0; > > >protected: > virtual void virtual_hook( int id, void* data ); >private: > KLibFactoryPrivate *d; >}; ># 24 "xslt_pure.cpp" 2 ># 1 "../kdecore/kcharsets.h" 1 ># 28 "../kdecore/kcharsets.h" >class KGlobal; >class KCharsetsPrivate; > >class QTextCodec; ># 44 "../kdecore/kcharsets.h" >class KCharsets >{ > friend class KGlobal; > >protected: > > > > KCharsets(); > >public: > > > > > virtual ~KCharsets(); > > > > > > > > QTextCodec *codecForName(const QString &name) const; ># 76 "../kdecore/kcharsets.h" > QTextCodec *codecForName(const QString &n, bool &ok) const; > > > > > > > > static QChar fromEntity(const QString &str); ># 94 "../kdecore/kcharsets.h" > static QChar fromEntity(const QString &str, int &len); > > > > > > > > static QString toEntity(const QChar &ch); ># 111 "../kdecore/kcharsets.h" > static QString resolveEntities( const QString &text ); > > > > > > QStringList availableEncodingNames(); > > > > > > QStringList descriptiveEncodingNames(); > > > > > > > QString languageForEncoding( const QString &encoding ); > > > > > > > QString encodingForName( const QString &descriptiveName ); > >private: > KCharsetsPrivate *d; >}; ># 25 "xslt_pure.cpp" 2 ># 1 "../kioslave/gzip/kgzipfilter.h" 1 ># 24 "../kioslave/gzip/kgzipfilter.h" >class KGzipFilter : public KFilterBase >{ >public: > KGzipFilter(); > virtual ~KGzipFilter(); > > virtual void init( int mode ); > virtual int mode() const { return m_mode; } > virtual void terminate(); > virtual void reset(); > virtual bool readHeader(); > virtual bool writeHeader( const QCString & fileName ); > void writeFooter(); > virtual void setOutBuffer( char * data, uint maxlen ); > virtual void setInBuffer( const char * data, uint size ); > virtual int inBufferAvailable() const; > virtual int outBufferAvailable() const; > virtual Result uncompress(); > virtual Result compress( bool finish ); >private: > Result uncompress_noop(); > int m_mode; > ulong m_crc; > bool m_headerWritten; > class KGzipFilterPrivate; > KGzipFilterPrivate *d; >}; ># 26 "xslt_pure.cpp" 2 ># 1 "../kioslave/bzip2/kbzip2filter.h" 1 ># 22 "../kioslave/bzip2/kbzip2filter.h" ># 1 "../config.h" 1 ># 857 "../config.h" >extern "C" { > >int mkstemps(char *, int); > >} ># 917 "../config.h" >extern "C" { > >unsigned long strlcat(char*, const char*, unsigned long); > >} > > > > > > > >extern "C" { > >unsigned long strlcpy(char*, const char*, unsigned long); > >} ># 23 "../kioslave/bzip2/kbzip2filter.h" 2 > > > > > >class KBzip2Filter : public KFilterBase >{ >public: > KBzip2Filter(); > virtual ~KBzip2Filter(); > > virtual void init( int ); > virtual int mode() const { return m_mode; } > virtual void terminate(); > virtual void reset(); > virtual bool readHeader() { return true; } > virtual bool writeHeader( const QCString & ) { return true; } > virtual void setOutBuffer( char * data, uint maxlen ); > virtual void setInBuffer( const char * data, uint size ); > virtual int inBufferAvailable() const; > virtual int outBufferAvailable() const; > virtual Result uncompress(); > virtual Result compress( bool finish ); >private: > class KBzip2FilterPrivate; > KBzip2FilterPrivate *d; > int m_mode; >}; ># 27 "xslt_pure.cpp" 2 ># 36 "xslt_pure.cpp" >int writeToQString(void * context, const char * buffer, int len) >{ > QString *t = (QString*)context; > *t += QString::fromUtf8(buffer, len); > return len; >} > >int closeQString(void * context) { > QString *t = (QString*)context; > *t += '\n'; > return 0; >} > >QString transform( const QString &pat, const QString& tss) >{ > QString parsed; > > ; > > xsltStylesheetPtr style_sheet = > xsltParseStylesheetFile((const xmlChar *)tss.latin1()); > > if ( !style_sheet ) { > return parsed; > } > > if (style_sheet->indent == 1) > xmlIndentTreeOutput = 1; > else > xmlIndentTreeOutput = 0; > > ; > > xmlDocPtr doc = xmlParseFile( pat.latin1() ); > xsltTransformContextPtr ctxt; > > ctxt = xsltNewTransformContext(style_sheet, doc); > if (ctxt == __null) > return parsed; > > > const char *params[16 + 1]; > params[0] = __null; > ; > xmlDocPtr res = xsltApplyStylesheet(style_sheet, doc, params); > xmlFreeDoc(doc); > if (res != __null) { > xmlOutputBufferPtr outp = xmlOutputBufferCreateIO(writeToQString, (xmlOutputCloseCallback)closeQString, &parsed, 0); > outp->written = 0; > ; > xsltSaveResultTo ( outp, res, style_sheet ); > xmlOutputBufferFlush(outp); > xmlFreeDoc(res); > } > xsltFreeStylesheet(style_sheet); > > return parsed; >} ># 130 "xslt_pure.cpp" >QString splitOut(const QString &parsed, int index) >{ > int start_index = index + 1; > while (parsed.at(start_index - 1) != '>') start_index++; > > int inside = 0; > > QString filedata; > > while (true) { > int endindex = parsed.find("</FILENAME>", index); > int startindex = parsed.find("<FILENAME ", index) + 1; > > > > if (startindex > 0) { > if (startindex < endindex) { > > index = startindex + 8; > inside++; > } else { > index = endindex + 8; > inside--; > } > } else { > inside--; > index = endindex + 1; > } > > if (inside == 0) { > filedata = parsed.mid(start_index, endindex - start_index); > break; > } > > } > > index = filedata.find("<FILENAME "); > > if (index > 0) { > int endindex = filedata.findRev("</FILENAME>"); > while (filedata.at(endindex) != '>') endindex++; > endindex++; > filedata = filedata.left(index) + filedata.mid(endindex); > } > > > return filedata; >} > >void fillInstance(KInstance &ins, const QString &srcdir) { > QString catalogs; > > if ( srcdir.isEmpty() ) { > catalogs += ins.dirs()->findResource("data", "ksgmltools2/customization/catalog"); > catalogs += ':'; > catalogs += ins.dirs()->findResource("data", "ksgmltools2/docbook/xml-dtd-4.2/docbook.cat"); > ins.dirs()->addResourceType("dtd", KStandardDirs::kde_default("data") + "ksgmltools2"); > } else { > catalogs += srcdir +"/customization/catalog:" + srcdir + "/docbook/xml-dtd-4.2/docbook.cat"; > ins.dirs()->addResourceDir("dtd", srcdir); > } > > xmlLoadCatalogs(catalogs.latin1()); >} > >extern "C" void *init_kbzip2filter(); > >static QIODevice *getBZip2device(const QString &fileName ) >{ > QFile * f = new QFile( fileName ); > KLibFactory * factory = static_cast<KLibFactory*>(init_kbzip2filter()); > KFilterBase * base = static_cast<KFilterBase*>( factory->create(0, "bzip2" ) ); > > if ( base ) > { > base->setDevice(f, true); > return new KFilterDev(base, true); > } > return 0; >} > >bool saveToCache( const QString &contents, const QString &filename ) >{ > QIODevice *fd = ::getBZip2device(filename); > > if (!fd->open(0x0002)) > { > delete fd; > return false; > } > > fd->writeBlock( contents.utf8() ); > fd->close(); > delete fd; > return true; >} > >static bool readCache( const QString &filename, > const QString &cache, QString &output) >{ > kdDebug( 7119 ) << "verifyCache " << filename << " " << cache << endl; > if ( !compareTimeStamps( filename, cache ) ) > return false; > if ( !compareTimeStamps( locate( "dtd", "customization/kde-chunk.xsl"), cache ) ) > return false; > > kdDebug( 7119 ) << "create filter" << endl; > QIODevice *fd = ::getBZip2device(cache); > > if (!fd->open(0x0001)) > { > delete fd; > ::unlink( cache.local8Bit() ); > return false; > } > > kdDebug( 7119 ) << "reading" << endl; > > char buffer[32000]; > int n; > QCString text; > > while ( ( n = fd->readBlock(buffer, 31900) ) > 0) > { > buffer[n] = 0; > text += buffer; > } > kdDebug( 7119 ) << "read " << text.length() << endl; > fd->close(); > > output = QString::fromUtf8( text ); > delete fd; > > if (n == -1) > return false; > > kdDebug( 7119 ) << "finished " << endl; > > return true; >} > >QString lookForCache( const QString &filename ) >{ > kdDebug() << "lookForCache " << filename << endl; > (static_cast<void> (__builtin_expect (!!(filename.endsWith( ".docbook" )), 1) ? 0 : (__assert_fail ("filename.endsWith( \".docbook\" )", "xslt_pure.cpp", 274, __PRETTY_FUNCTION__), 0))); > (static_cast<void> (__builtin_expect (!!(filename.at( 0 ) == '/'), 1) ? 0 : (__assert_fail ("filename.at( 0 ) == '/'", "xslt_pure.cpp", 275, __PRETTY_FUNCTION__), 0))); > > QString cache = filename.left( filename.length() - 7 ); > QString output; > if ( readCache( filename, cache + "cache.bz2", output) ) > return output; > if ( readCache( filename, > locateLocal( "cache", > "kio_help" + cache + > "cache.bz2" ), output ) ) > return output; > > return QString::null; >} > >bool compareTimeStamps( const QString &older, const QString &newer ) >{ > QFileInfo _older( older ); > QFileInfo _newer( newer ); > (static_cast<void> (__builtin_expect (!!(_older.exists()), 1) ? 0 : (__assert_fail ("_older.exists()", "xslt_pure.cpp", 294, __PRETTY_FUNCTION__), 0))); > if ( !_newer.exists() ) > return false; > return ( _newer.lastModified() > _older.lastModified() ); >} > >QCString fromUnicode( const QString &data ) >{ > QTextCodec *locale = QTextCodec::codecForLocale(); > QCString result; > char buffer[30000]; > uint buffer_len = 0; > uint len = 0; > uint offset = 0; > const int part_len = 5000; > > QString part; > > while ( offset < data.length() ) > { > part = data.mid( offset, part_len ); > QCString test = locale->fromUnicode( part ); > if ( locale->toUnicode( test ) == part ) { > result += test; > offset += part_len; > continue; > } > len = part.length(); > buffer_len = 0; > for ( uint i = 0; i < len; i++ ) { > QCString test = locale->fromUnicode( part.mid( i, 1 ) ); > if ( locale->toUnicode( test ) == part.mid( i, 1 ) ) { > if (buffer_len + test.length() + 1 > sizeof(buffer)) > break; > strcpy( buffer + buffer_len, test.data() ); > buffer_len += test.length(); > } else { > QString res; > res.sprintf( "&#%d;", part.at( i ).unicode() ); > test = locale->fromUnicode( res ); > if (buffer_len + test.length() + 1 > sizeof(buffer)) > break; > strcpy( buffer + buffer_len, test.data() ); > buffer_len += test.length(); > } > } > result += QCString( buffer, buffer_len + 1); > offset += part_len; > } > return result; >} > >void replaceCharsetHeader( QString &output ) >{ > QString name = QTextCodec::codecForLocale()->name(); > name.replace( QString( "ISO " ), "iso-" ); > output.replace( QString( "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">" ), > QString( "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=%1\">" ).arg( name ) ); >} >/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -E -R /usr/kde/3.3/lib -R /usr/qt/3/lib -R /usr/lib -R/usr/local/lib -R/usr/lib -L/usr/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib -o meinproc meinproc.o xslt_pure.o libkbzipfilter_dummy.la -L/usr/lib -lxslt -lxml2 -lz -lpthread -lm -L/usr/local/lib -lxml2 -lz -lm
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 80384
: 50174