Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 305916 Details for
Bug 447212
Macros with For Next loops broken in OpenOffice.org.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
test-case
test.ii (text/plain), 273.66 KB, created by
Caolan McNamara
on 2008-05-19 09:31:23 UTC
(
hide
)
Description:
test-case
Filename:
MIME Type:
Creator:
Caolan McNamara
Created:
2008-05-19 09:31:23 UTC
Size:
273.66 KB
patch
obsolete
># 1 "/backup/callcatcherbot/DEV300_m12/basic/source/sbx/sbxdbl.cxx" ># 1 "/backup/callcatcherbot/DEV300_m12/basic/source/sbx//" ># 1 "<built-in>" ># 1 "<command-line>" ># 1 "/backup/callcatcherbot/DEV300_m12/basic/source/sbx/sbxdbl.cxx" ># 32 "/backup/callcatcherbot/DEV300_m12/basic/source/sbx/sbxdbl.cxx" ># 1 "../../inc/pch/precompiled_basic.hxx" 1 ># 33 "/backup/callcatcherbot/DEV300_m12/basic/source/sbx/sbxdbl.cxx" 2 ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/errcode.hxx" 1 ># 36 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/errcode.hxx" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/solar.h" 1 ># 34 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/solar.h" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/sal/types.h" 1 ># 34 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/sal/types.h" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/sal/config.h" 1 ># 35 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/sal/config.h" >extern "C" { > > > >} > > > ># 1 "/usr/include/stdlib.h" 1 3 4 ># 25 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 335 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 360 "/usr/include/sys/cdefs.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 361 "/usr/include/sys/cdefs.h" 2 3 4 ># 336 "/usr/include/features.h" 2 3 4 ># 359 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 > > > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 5 "/usr/include/gnu/stubs.h" 2 3 4 > > > > ># 1 "/usr/include/gnu/stubs-64.h" 1 3 4 ># 10 "/usr/include/gnu/stubs.h" 2 3 4 ># 360 "/usr/include/features.h" 2 3 4 ># 26 "/usr/include/stdlib.h" 2 3 4 > > > > > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.3.0/include/stddef.h" 1 3 4 ># 214 "/usr/lib/gcc/x86_64-redhat-linux/4.3.0/include/stddef.h" 3 4 >typedef long unsigned int size_t; ># 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 ># 65 "/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 ># 66 "/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 ># 96 "/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; > > ># 140 "/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__)) __attribute__ ((__nonnull__ (1))) ; > >extern int atoi (__const char *__nptr) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > >extern long int atol (__const char *__nptr) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > > > > > >__extension__ extern long long int atoll (__const char *__nptr) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > > > > > >extern double strtod (__const char *__restrict __nptr, > char **__restrict __endptr) > throw () __attribute__ ((__nonnull__ (1))) ; > > > > > >extern float strtof (__const char *__restrict __nptr, > char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))) ; > >extern long double strtold (__const char *__restrict __nptr, > char **__restrict __endptr) > throw () __attribute__ ((__nonnull__ (1))) ; > > > > > >extern long int strtol (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))) ; > >extern unsigned long int strtoul (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))) ; > > > > >__extension__ >extern long long int strtoq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))) ; > >__extension__ >extern unsigned long long int strtouq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))) ; > > > > > >__extension__ >extern long long int strtoll (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))) ; > >__extension__ >extern unsigned long long int strtoull (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))) ; > ># 236 "/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; ># 237 "/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 () __attribute__ ((__nonnull__ (1, 4))) ; > >extern unsigned long int strtoul_l (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 4))) ; > >__extension__ >extern long long int strtoll_l (__const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 4))) ; > >__extension__ >extern unsigned long long int strtoull_l (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 4))) ; > >extern double strtod_l (__const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 3))) ; > >extern float strtof_l (__const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 3))) ; > >extern long double strtold_l (__const char *__restrict __nptr, > char **__restrict __endptr, > __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 3))) ; > > > > > >extern __inline __attribute__ ((__gnu_inline__)) double >atof (__const char *__nptr) throw () >{ > return strtod (__nptr, (char **) __null); >} >extern __inline __attribute__ ((__gnu_inline__)) int >atoi (__const char *__nptr) throw () >{ > return (int) strtol (__nptr, (char **) __null, 10); >} >extern __inline __attribute__ ((__gnu_inline__)) long int >atol (__const char *__nptr) throw () >{ > return strtol (__nptr, (char **) __null, 10); >} > > > > >__extension__ extern __inline __attribute__ ((__gnu_inline__)) long long int >atoll (__const char *__nptr) throw () >{ > return strtoll (__nptr, (char **) __null, 10); >} > ># 311 "/usr/include/stdlib.h" 3 4 >extern char *l64a (long int __n) throw () ; > > >extern long int a64l (__const char *__s) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > > > > ># 1 "/usr/include/sys/types.h" 1 3 4 ># 29 "/usr/include/sys/types.h" 3 4 >extern "C" { > ># 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 > > >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; > >typedef signed long int __int64_t; >typedef unsigned long int __uint64_t; > > > > > > > >typedef long int __quad_t; >typedef unsigned long int __u_quad_t; ># 131 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 132 "/usr/include/bits/types.h" 2 3 4 > > >typedef unsigned long int __dev_t; >typedef unsigned int __uid_t; >typedef unsigned int __gid_t; >typedef unsigned long int __ino_t; >typedef unsigned long int __ino64_t; >typedef unsigned int __mode_t; >typedef unsigned long int __nlink_t; >typedef long int __off_t; >typedef long int __off64_t; >typedef int __pid_t; >typedef struct { int __val[2]; } __fsid_t; >typedef long int __clock_t; >typedef unsigned long int __rlim_t; >typedef unsigned long int __rlim64_t; >typedef unsigned int __id_t; >typedef long int __time_t; >typedef unsigned int __useconds_t; >typedef long int __suseconds_t; > >typedef int __daddr_t; >typedef long int __swblk_t; >typedef int __key_t; > > >typedef int __clockid_t; > > >typedef void * __timer_t; > > >typedef long int __blksize_t; > > > > >typedef long int __blkcnt_t; >typedef long int __blkcnt64_t; > > >typedef unsigned long int __fsblkcnt_t; >typedef unsigned long int __fsblkcnt64_t; > > >typedef unsigned long int __fsfilcnt_t; >typedef unsigned long int __fsfilcnt64_t; > >typedef long int __ssize_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >typedef long int __intptr_t; > > >typedef unsigned int __socklen_t; ># 32 "/usr/include/sys/types.h" 2 3 4 > > > >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 ># 59 "/usr/include/time.h" 3 4 > > >typedef __clock_t clock_t; > > > ># 75 "/usr/include/time.h" 3 4 > > >typedef __time_t time_t; > > > ># 93 "/usr/include/time.h" 3 4 >typedef __clockid_t clockid_t; ># 105 "/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/x86_64-redhat-linux/4.3.0/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; ># 195 "/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__))); ># 220 "/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 ># 24 "/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 ># 121 "/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); > > >} ># 221 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/sysmacros.h" 1 3 4 ># 30 "/usr/include/sys/sysmacros.h" 3 4 >__extension__ >extern unsigned int gnu_dev_major (unsigned long long int __dev) > throw (); >__extension__ >extern unsigned int gnu_dev_minor (unsigned long long int __dev) > throw (); >__extension__ >extern unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > throw (); > > >__extension__ extern __inline __attribute__ ((__gnu_inline__)) unsigned int >gnu_dev_major (unsigned long long int __dev) throw () >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline __attribute__ ((__gnu_inline__)) unsigned int >gnu_dev_minor (unsigned long long int __dev) throw () >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline __attribute__ ((__gnu_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)); >} ># 224 "/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; ># 262 "/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/wordsize.h" 1 3 4 ># 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 ># 50 "/usr/include/bits/pthreadtypes.h" 3 4 >typedef unsigned long int pthread_t; > > >typedef union >{ > char __size[56]; > long int __align; >} pthread_attr_t; > > > >typedef struct __pthread_internal_list >{ > struct __pthread_internal_list *__prev; > struct __pthread_internal_list *__next; >} __pthread_list_t; ># 76 "/usr/include/bits/pthreadtypes.h" 3 4 >typedef union >{ > struct __pthread_mutex_s > { > int __lock; > unsigned int __count; > int __owner; > > unsigned int __nusers; > > > > int __kind; > > int __spins; > __pthread_list_t __list; ># 101 "/usr/include/bits/pthreadtypes.h" 3 4 > } __data; > char __size[40]; > long int __align; >} pthread_mutex_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_mutexattr_t; > > > > >typedef union >{ > struct > { > int __lock; > unsigned int __futex; > __extension__ unsigned long long int __total_seq; > __extension__ unsigned long long int __wakeup_seq; > __extension__ unsigned long long int __woken_seq; > void *__mutex; > unsigned int __nwaiters; > unsigned int __broadcast_seq; > } __data; > char __size[48]; > __extension__ long long int __align; >} pthread_cond_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_condattr_t; > > > >typedef unsigned int pthread_key_t; > > > >typedef int pthread_once_t; > > > > > >typedef union >{ > > struct > { > int __lock; > unsigned int __nr_readers; > unsigned int __readers_wakeup; > unsigned int __writer_wakeup; > unsigned int __nr_readers_queued; > unsigned int __nr_writers_queued; > int __writer; > int __shared; > unsigned long int __pad1; > unsigned long int __pad2; > > > unsigned int __flags; > } __data; ># 187 "/usr/include/bits/pthreadtypes.h" 3 4 > char __size[56]; > long int __align; >} pthread_rwlock_t; > >typedef union >{ > char __size[8]; > long int __align; >} pthread_rwlockattr_t; > > > > > >typedef volatile int pthread_spinlock_t; > > > > >typedef union >{ > char __size[32]; > long int __align; >} pthread_barrier_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_barrierattr_t; ># 271 "/usr/include/sys/types.h" 2 3 4 > > >} ># 321 "/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 () __attribute__ ((__nonnull__ (2))); > > > >extern char *setstate (char *__statebuf) throw () __attribute__ ((__nonnull__ (1))); > > > > > > > >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 () __attribute__ ((__nonnull__ (1, 2))); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) > throw () __attribute__ ((__nonnull__ (2))); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) > throw () __attribute__ ((__nonnull__ (2, 4))); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > > >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 () __attribute__ ((__nonnull__ (1))); > > >extern long int lrand48 (void) throw (); >extern long int nrand48 (unsigned short int __xsubi[3]) > throw () __attribute__ ((__nonnull__ (1))); > > >extern long int mrand48 (void) throw (); >extern long int jrand48 (unsigned short int __xsubi[3]) > throw () __attribute__ ((__nonnull__ (1))); > > >extern void srand48 (long int __seedval) throw (); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) > throw () __attribute__ ((__nonnull__ (1))); >extern void lcong48 (unsigned short int __param[7]) throw () __attribute__ ((__nonnull__ (1))); > > > > > >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 () __attribute__ ((__nonnull__ (1, 2))); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > throw () __attribute__ ((__nonnull__ (1, 2))); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > throw () __attribute__ ((__nonnull__ (1, 2))); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > throw () __attribute__ ((__nonnull__ (2))); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > > > > > >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__ ((__warn_unused_result__)); > >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/x86_64-redhat-linux/4.3.0/include/stddef.h" 1 3 4 ># 26 "/usr/include/alloca.h" 2 3 4 > >extern "C" { > > > > > >extern void *alloca (size_t __size) throw (); > > > > > >} ># 498 "/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__ ((__nonnull__ (1))) ; > > > > >extern void abort (void) throw () __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > throw () __attribute__ ((__nonnull__ (1))); > > > > > > >extern void exit (int __status) throw () __attribute__ ((__noreturn__)); > > > > > > >extern void _Exit (int __status) throw () __attribute__ ((__noreturn__)); > > > > > > >extern char *getenv (__const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; > > > > >extern char *__secure_getenv (__const char *__name) > throw () __attribute__ ((__nonnull__ (1))) ; > > > > > >extern int putenv (char *__string) throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int setenv (__const char *__name, __const char *__value, int __replace) > throw () __attribute__ ((__nonnull__ (2))); > > >extern int unsetenv (__const char *__name) throw (); > > > > > > >extern int clearenv (void) throw (); ># 583 "/usr/include/stdlib.h" 3 4 >extern char *mktemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ; ># 594 "/usr/include/stdlib.h" 3 4 >extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; ># 604 "/usr/include/stdlib.h" 3 4 >extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ; ># 614 "/usr/include/stdlib.h" 3 4 >extern char *mkdtemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ; ># 625 "/usr/include/stdlib.h" 3 4 >extern int mkostemp (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; ># 635 "/usr/include/stdlib.h" 3 4 >extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; > > > > > > > > > >extern int system (__const char *__command) ; > > > > > > >extern char *canonicalize_file_name (__const char *__name) > throw () __attribute__ ((__nonnull__ (1))) ; ># 662 "/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; > > > >typedef int (*__compar_d_fn_t) (__const void *, __const void *, void *); > > > > > >extern void *bsearch (__const void *__key, __const void *__base, > size_t __nmemb, size_t __size, __compar_fn_t __compar) > __attribute__ ((__nonnull__ (1, 2, 5))) ; > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); > >extern void qsort_r (void *__base, size_t __nmemb, size_t __size, > __compar_d_fn_t __compar, void *__arg) > __attribute__ ((__nonnull__ (1, 4))); > > > > >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__)) ; > ># 735 "/usr/include/stdlib.h" 3 4 >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) > throw () __attribute__ ((__nonnull__ (3))) ; > > > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > throw () __attribute__ ((__nonnull__ (3, 4))) ; >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > throw () __attribute__ ((__nonnull__ (3, 4))) ; >extern char *qgcvt (long double __value, int __ndigit, char *__buf) > throw () __attribute__ ((__nonnull__ (3))) ; > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); >extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); > >extern int qecvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > throw () __attribute__ ((__nonnull__ (3, 4, 5))); >extern int qfcvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > throw () __attribute__ ((__nonnull__ (3, 4, 5))); > > > > > > > >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 () __attribute__ ((__nonnull__ (1))) ; ># 823 "/usr/include/stdlib.h" 3 4 >extern int getsubopt (char **__restrict __optionp, > char *__const *__restrict __tokens, > char **__restrict __valuep) > throw () __attribute__ ((__nonnull__ (1, 2, 3))) ; > > > > > >extern void setkey (__const char *__key) throw () __attribute__ ((__nonnull__ (1))); > > > > > > > >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 () __attribute__ ((__nonnull__ (2))); > > >extern int getpt (void); > > > > > > >extern int getloadavg (double __loadavg[], int __nelem) > throw () __attribute__ ((__nonnull__ (1))); ># 891 "/usr/include/stdlib.h" 3 4 >} ># 44 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/sal/config.h" 2 ># 35 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/sal/types.h" 2 > > > ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/sal/typesizes.h" 1 ># 39 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/sal/types.h" 2 ># 52 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/sal/types.h" >extern "C" { > > > > > > > >typedef unsigned char sal_Bool; > > > > >typedef signed char sal_Int8; >typedef unsigned char sal_uInt8; > > > typedef signed short sal_Int16; > typedef unsigned short sal_uInt16; ># 83 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/sal/types.h" > typedef signed int sal_Int32; > typedef unsigned int sal_uInt32; ># 107 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/sal/types.h" > typedef signed long int sal_Int64; > typedef unsigned long int sal_uInt64; ># 138 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/sal/types.h" >typedef char sal_Char; >typedef signed char sal_sChar; >typedef unsigned char sal_uChar; > > > > > > typedef sal_uInt16 sal_Unicode; > > >typedef void * sal_Handle; > > > > > > > typedef sal_uInt64 sal_Size; > typedef sal_Int64 sal_sSize; ># 166 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/sal/types.h" > typedef sal_Int64 sal_PtrDiff; ># 192 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/sal/types.h" > typedef sal_Int64 sal_IntPtr; > typedef sal_uInt64 sal_uIntPtr; ># 303 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/sal/types.h" >typedef struct _sal_Sequence >{ > > > sal_Int32 nRefCount; > > > sal_Int32 nElements; > > > char elements[1]; >} sal_Sequence; ># 364 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/sal/types.h" >enum __sal_NoAcquire >{ > > > SAL_NO_ACQUIRE >}; > > > > >} > > > > >namespace sal { ># 392 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/sal/types.h" >template< typename T1, typename T2 > inline T1 static_int_cast(T2 n) { > return static_cast< T1 >(n); >} > >} ># 35 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/solar.h" 2 ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/endian.h" 1 ># 37 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/endian.h" >extern "C" { ># 249 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/endian.h" >} ># 36 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/solar.h" 2 ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/comphelper/fileformat.h" 1 ># 37 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/solar.h" 2 ># 60 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/solar.h" >typedef sal_Bool BOOL; >typedef sal_uInt8 BYTE; >typedef sal_uInt16 USHORT; >typedef sal_uIntPtr ULONG; >typedef int FASTBOOL; > > > >typedef sal_Int16 INT16; >typedef sal_uInt16 UINT16; > > > >typedef sal_Char INT8; > >typedef sal_uInt8 UINT8; > > > > > > >typedef sal_Int64 INT64; >typedef sal_uInt64 UINT64; >typedef sal_Int32 INT32; >typedef sal_uInt32 UINT32; ># 120 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/solar.h" >typedef BYTE SVBT8[1]; >typedef BYTE SVBT16[2]; >typedef BYTE SVBT32[4]; >typedef BYTE SVBT64[8]; > > > >inline BYTE SVBT8ToByte ( const SVBT8 p ) { return p[0]; } > >inline USHORT SVBT16ToShort( const SVBT16 p ) { return *(USHORT*)p; } > > > > > >inline sal_uInt32 SVBT32ToUInt32 ( const SVBT32 p ) { return *(sal_uInt32*)p; } > > > > > > > >inline double SVBT64ToDouble( const SVBT64 p ) { return *(double*)p; } ># 168 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/solar.h" >inline void ByteToSVBT8 ( BYTE n, SVBT8 p ) { p[0] = n; } > >inline void ShortToSVBT16( USHORT n, SVBT16 p ) { *(USHORT*)p = n; } > > > > > >inline void UInt32ToSVBT32 ( sal_uInt32 n, SVBT32 p ) { *(sal_uInt32*)p = n; } > > > > > > > >inline void DoubleToSVBT64( double n, SVBT64 p ) { *(double*)p = n; } ># 253 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/solar.h" >template<typename T> inline T Min(T a, T b) { return (a<b?a:b); } >template<typename T> inline T Max(T a, T b) { return (a>b?a:b); } >template<typename T> inline T Abs(T a) { return (a>=0?a:-a); } ># 37 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/errcode.hxx" 2 ># 101 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/errcode.hxx" >typedef ULONG ErrCode; > >inline ULONG ERRCODE_TOERRID( ULONG x ) >{ > return x & ~(31UL <<26); >} > >inline ULONG ERRCODE_TOERROR( ULONG x ) >{ > return ((x & 0x80000000UL) ? 0 : (x & 0x3fffffffUL)); >} ># 34 "/backup/callcatcherbot/DEV300_m12/basic/source/sbx/sbxdbl.cxx" 2 ># 1 "../../inc/basic/sbx.hxx" 1 ># 34 "../../inc/basic/sbx.hxx" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/ref.hxx" 1 ># 33 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/ref.hxx" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/toolsdllapi.h" 1 ># 34 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/ref.hxx" 2 ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/list.hxx" 1 ># 35 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/list.hxx" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/contnr.hxx" 1 ># 36 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/contnr.hxx" ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.3.0/include/limits.h" 1 3 4 ># 11 "/usr/lib/gcc/x86_64-redhat-linux/4.3.0/include/limits.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.3.0/include/syslimits.h" 1 3 4 > > > > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.3.0/include/limits.h" 1 3 4 ># 122 "/usr/lib/gcc/x86_64-redhat-linux/4.3.0/include/limits.h" 3 4 ># 1 "/usr/include/limits.h" 1 3 4 ># 145 "/usr/include/limits.h" 3 4 ># 1 "/usr/include/bits/posix1_lim.h" 1 3 4 ># 153 "/usr/include/bits/posix1_lim.h" 3 4 ># 1 "/usr/include/bits/local_lim.h" 1 3 4 ># 39 "/usr/include/bits/local_lim.h" 3 4 ># 1 "/usr/include/linux/limits.h" 1 3 4 ># 40 "/usr/include/bits/local_lim.h" 2 3 4 ># 154 "/usr/include/bits/posix1_lim.h" 2 3 4 ># 146 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/posix2_lim.h" 1 3 4 ># 150 "/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 ># 154 "/usr/include/limits.h" 2 3 4 ># 123 "/usr/lib/gcc/x86_64-redhat-linux/4.3.0/include/limits.h" 2 3 4 ># 8 "/usr/lib/gcc/x86_64-redhat-linux/4.3.0/include/syslimits.h" 2 3 4 ># 12 "/usr/lib/gcc/x86_64-redhat-linux/4.3.0/include/limits.h" 2 3 4 ># 37 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/contnr.hxx" 2 > >class CBlock; ># 50 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/contnr.hxx" >class Container >{ >private: > CBlock* pFirstBlock; > CBlock* pCurBlock; > CBlock* pLastBlock; > USHORT nCurIndex; > USHORT nBlockSize; > USHORT nInitSize; > USHORT nReSize; > ULONG nCount; > > __attribute__ ((visibility("hidden"))) void ImpCopyContainer(Container const *); > > > > >protected: > > > > > > > void** GetObjectPtr( ULONG nIndex ); > >public: > Container( USHORT nBlockSize, > USHORT nInitSize, > USHORT nReSize ); > Container( ULONG nSize ); > Container( const Container& rContainer ); > ~Container(); > > void Insert( void* p ); > void Insert( void* p, ULONG nIndex ); > void Insert( void* pNew, void* pOld ); > > void* Remove(); > void* Remove( ULONG nIndex ); > void* Remove( void* p ) > { return Remove( GetPos( p ) ); } > > void* Replace( void* p ); > void* Replace( void* p, ULONG nIndex ); > void* Replace( void* pNew, void* pOld ) > { return Replace( pNew, GetPos( pOld ) ); } > > void SetSize( ULONG nNewSize ); > ULONG GetSize() const { return nCount; } > > ULONG Count() const { return nCount; } > void Clear(); > > void* GetCurObject() const; > ULONG GetCurPos() const; > void* GetObject( ULONG nIndex ) const; > ULONG GetPos( const void* p ) const; > ULONG GetPos( const void* p, ULONG nStartIndex, > BOOL bForward = 1 ) const; > > void* Seek( ULONG nIndex ); > void* Seek( void* p ) { return Seek( GetPos( p ) ); } > > void* First(); > void* Last(); > void* Next(); > void* Prev(); > > Container& operator =( const Container& rContainer ); > > BOOL operator ==( const Container& rContainer ) const; > BOOL operator !=( const Container& rContainer ) const > { return !(Container::operator==( rContainer )); } >}; ># 36 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/list.hxx" 2 ># 44 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/list.hxx" >class List : private Container >{ >public: > using Container::Insert; > using Container::Remove; > using Container::Replace; > using Container::Clear; > using Container::Count; > using Container::GetCurObject; > using Container::GetCurPos; > using Container::GetObject; > using Container::GetPos; > using Container::Seek; > using Container::First; > using Container::Last; > using Container::Next; > using Container::Prev; > > List( USHORT _nInitSize = 16, USHORT _nReSize = 16 ) : > Container( 1024, _nInitSize, _nReSize ) {} > List( USHORT _nBlockSize, USHORT _nInitSize, USHORT _nReSize ) : > Container( _nBlockSize, _nInitSize, _nReSize ) {} > List( const List& rList ) : Container( rList ) {} > > List& operator =( const List& rList ) > { Container::operator =( rList ); return *this; } > > BOOL operator ==( const List& rList ) const > { return Container::operator ==( rList ); } > BOOL operator !=( const List& rList ) const > { return Container::operator !=( rList ); } >}; ># 35 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/ref.hxx" 2 ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/link.hxx" 1 ># 42 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/link.hxx" >typedef long (*PSTUB)( void*, void* ); ># 107 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/link.hxx" >class Link >{ > void* pInst; > PSTUB pFunc; > >public: > Link(); > Link( void* pLinkHdl, PSTUB pMemFunc ); > > long Call( void* pCaller ) const; > > BOOL IsSet() const; > BOOL operator !() const; > > BOOL operator==( const Link& rLink ) const; > BOOL operator!=( const Link& rLink ) const > { return !(Link::operator==( rLink )); } > BOOL operator<( const Link& rLink ) const > { return ((ULONG)rLink.pFunc < (ULONG)pFunc); } >}; > >inline Link::Link() >{ > pInst = 0; > pFunc = 0; >} > >inline Link::Link( void* pLinkHdl, PSTUB pMemFunc ) >{ > pInst = pLinkHdl; > pFunc = pMemFunc; >} > >inline long Link::Call(void *pCaller) const >{ > return pFunc ? (*pFunc)(pInst, pCaller) : 0; >} > >inline BOOL Link::IsSet() const >{ > if ( pFunc ) > return 1; > else > return 0; >} > >inline BOOL Link::operator !() const >{ > if ( !pFunc ) > return 1; > else > return 0; >} ># 36 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/ref.hxx" 2 ># 328 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/ref.hxx" >class SvRefBase >{ > UINT32 nRefCount; > > > >protected: > > virtual ~SvRefBase(); > virtual void QueryDelete(); >public: > SvRefBase() { nRefCount = 0x80000000; } > SvRefBase( const SvRefBase & ) > { nRefCount = 0x80000000; } > SvRefBase & operator = ( const SvRefBase & ) { return *this; } > > void RestoreNoDelete() > { > if( nRefCount < 0x80000000 ) > nRefCount += 0x80000000; > } > UINT32 AddMulRef( UINT32 n ) { return nRefCount += n; } > UINT32 AddNextRef() { return ++nRefCount; } > UINT32 AddRef() > { > if( nRefCount >= 0x80000000 ) > nRefCount -= 0x80000000; > return ++nRefCount; > } > void ReleaseReference() > { > if( !--nRefCount ) > QueryDelete(); > } > UINT32 ReleaseRef() > { > UINT32 n = --nRefCount; > if( !n ) > QueryDelete(); > return n; > } > UINT32 GetRefCount() const { return nRefCount; } >}; > > > > > > > >class SvRefBase; class SvRefBaseRef { protected: SvRefBase * pObj; public: inline SvRefBaseRef() { pObj = 0; } inline SvRefBaseRef( const SvRefBaseRef & rObj ); inline SvRefBaseRef( SvRefBase * pObjP ); inline void Clear(); inline ~SvRefBaseRef(); inline SvRefBaseRef & operator = ( const SvRefBaseRef & rObj ); inline SvRefBaseRef & operator = ( SvRefBase * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvRefBase * operator & () const { return pObj; } inline SvRefBase * operator -> () const { return pObj; } inline SvRefBase & operator * () const { return *pObj; } inline operator SvRefBase * () const { return pObj; } }; inline SvRefBaseRef::SvRefBaseRef( const SvRefBaseRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SvRefBaseRef::SvRefBaseRef( SvRefBase * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SvRefBaseRef::Clear() { if( pObj ) { SvRefBase* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SvRefBaseRef::~SvRefBaseRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SvRefBaseRef & SvRefBaseRef:: operator = ( const SvRefBaseRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SvRefBase* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SvRefBaseRef & SvRefBaseRef::operator = ( SvRefBase * pObjP ) { return *this = SvRefBaseRef( pObjP ); } > >class SvRefBaseList : private List { public: using List::Clear; using List::Count; using List::GetCurPos; SvRefBaseList( USHORT _nInitSize = 16, USHORT _nReSize = 16 ) : List( _nInitSize, _nReSize ) {} SvRefBaseList( USHORT _nBlockSize, USHORT _nInitSize, USHORT _nReSize ) : List( _nBlockSize, _nInitSize, _nReSize ) {} SvRefBaseList( const SvRefBaseList& rClassName ) : List( rClassName ) {} void Insert( SvRefBase* p, ULONG nIndex ) { List::Insert( (void*)p, nIndex ); } void Insert( SvRefBase* p ) { List::Insert( (void*)p ); } void Insert( SvRefBase* pNew, SvRefBase* pOld ) { List::Insert( (void*)pNew, (void*)pOld ); } SvRefBase* Remove() { return (SvRefBase*)List::Remove(); } SvRefBase* Remove( ULONG nIndex ) { return (SvRefBase*)List::Remove( nIndex ); } SvRefBase* Remove( SvRefBase* p ) { return (SvRefBase*)List::Remove( (void*)p ); } SvRefBase* Replace( SvRefBase* p ) { return (SvRefBase*)List::Replace( (void*)p ); } SvRefBase* Replace( SvRefBase* p, ULONG nIndex ) { return (SvRefBase*)List::Replace( (void*)p, nIndex ); } SvRefBase* Replace( SvRefBase* pNew, SvRefBase* pOld ) { return (SvRefBase*)List::Replace( (void*)pNew, (void*)pOld ); } SvRefBase* GetCurObject() const { return (SvRefBase*)List::GetCurObject(); } SvRefBase* GetObject( ULONG nIndex ) const { return (SvRefBase*)List::GetObject( nIndex ); } ULONG GetPos( const SvRefBase* p ) const { return List::GetPos( (const void*)p ); } ULONG GetPos( const SvRefBase* p, ULONG nStartIndex, BOOL bForward = 1 ) const { return List::GetPos( (const void*)p, nStartIndex, bForward ); } SvRefBase* Seek( ULONG nIndex ) { return (SvRefBase*)List::Seek( nIndex ); } SvRefBase* Seek( void* p ) { return (SvRefBase*)List::Seek( p ); } SvRefBase* First() { return (SvRefBase*)List::First(); } SvRefBase* Last() { return (SvRefBase*)List::Last(); } SvRefBase* Next() { return (SvRefBase*)List::Next(); } SvRefBase* Prev() { return (SvRefBase*)List::Prev(); } SvRefBaseList& operator =( const SvRefBaseList& rClassName ) { List::operator =( rClassName ); return *this; } BOOL operator ==( const SvRefBaseList& rList ) const { return List::operator ==( rList ); } BOOL operator !=( const SvRefBaseList& rList ) const { return List::operator !=( rList ); } };class SvRefBaseMemberList : public SvRefBaseList{public:inline SvRefBaseMemberList();inline SvRefBaseMemberList(USHORT nInitSz, USHORT nResize );inline SvRefBaseMemberList( const SvRefBaseMemberList & rRef );inline ~SvRefBaseMemberList();inline SvRefBaseMemberList & operator = ( const SvRefBaseMemberList & rRef );inline void Clear();inline void Insert( SvRefBase* p ){ SvRefBaseList::Insert( p ); p->AddRef();}inline void Insert( SvRefBase* p, ULONG nIndex ){ SvRefBaseList::Insert( p, nIndex ); p->AddRef();}inline void Insert( SvRefBase* p, SvRefBase* pOld ){ SvRefBaseList::Insert( p, pOld ); p->AddRef();}inline void Append( SvRefBase* p ){ Insert( p, (9223372036854775807L * 2UL + 1UL) );}inline SvRefBase* Remove();inline SvRefBase* Remove( ULONG nIndex );inline SvRefBase* Remove( SvRefBase* p );inline SvRefBase* Replace( SvRefBase* p );inline SvRefBase* Replace( SvRefBase* p, ULONG nIndex );inline SvRefBase* Replace( SvRefBase* pNew, SvRefBase* pOld );inline void Append( const SvRefBaseMemberList & );}; > >class SvWeakBase; >class SvWeakHdl : public SvRefBase >{ > friend class SvWeakBase; > SvWeakBase* _pObj; >public: > void ResetWeakBase( ) { _pObj = 0; } >private: > SvWeakHdl( SvWeakBase* pObj ) : _pObj( pObj ) {} >public: > SvWeakBase* GetObj() { return _pObj; } >}; > >class SvWeakHdl; class SvWeakHdlRef { protected: SvWeakHdl * pObj; public: inline SvWeakHdlRef() { pObj = 0; } inline SvWeakHdlRef( const SvWeakHdlRef & rObj ); inline SvWeakHdlRef( SvWeakHdl * pObjP ); inline void Clear(); inline ~SvWeakHdlRef(); inline SvWeakHdlRef & operator = ( const SvWeakHdlRef & rObj ); inline SvWeakHdlRef & operator = ( SvWeakHdl * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvWeakHdl * operator & () const { return pObj; } inline SvWeakHdl * operator -> () const { return pObj; } inline SvWeakHdl & operator * () const { return *pObj; } inline operator SvWeakHdl * () const { return pObj; } }; inline SvWeakHdlRef::SvWeakHdlRef( const SvWeakHdlRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SvWeakHdlRef::SvWeakHdlRef( SvWeakHdl * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SvWeakHdlRef::Clear() { if( pObj ) { SvWeakHdl* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SvWeakHdlRef::~SvWeakHdlRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SvWeakHdlRef & SvWeakHdlRef:: operator = ( const SvWeakHdlRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SvWeakHdl* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SvWeakHdlRef & SvWeakHdlRef::operator = ( SvWeakHdl * pObjP ) { return *this = SvWeakHdlRef( pObjP ); } > >class SvCompatWeakHdl : public SvRefBase >{ > friend class SvCompatWeakBase; > void* _pObj; > SvCompatWeakHdl( void* pObj ) : _pObj( pObj ) {} >public: > void ResetWeakBase( ) { _pObj = 0; } > void* GetObj() { return _pObj; } >}; > >class SvCompatWeakHdl; class SvCompatWeakHdlRef { protected: SvCompatWeakHdl * pObj; public: inline SvCompatWeakHdlRef() { pObj = 0; } inline SvCompatWeakHdlRef( const SvCompatWeakHdlRef & rObj ); inline SvCompatWeakHdlRef( SvCompatWeakHdl * pObjP ); inline void Clear(); inline ~SvCompatWeakHdlRef(); inline SvCompatWeakHdlRef & operator = ( const SvCompatWeakHdlRef & rObj ); inline SvCompatWeakHdlRef & operator = ( SvCompatWeakHdl * pObj ); inline BOOL Is() const { return pObj != __null; } inline SvCompatWeakHdl * operator & () const { return pObj; } inline SvCompatWeakHdl * operator -> () const { return pObj; } inline SvCompatWeakHdl & operator * () const { return *pObj; } inline operator SvCompatWeakHdl * () const { return pObj; } }; inline SvCompatWeakHdlRef::SvCompatWeakHdlRef( const SvCompatWeakHdlRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SvCompatWeakHdlRef::SvCompatWeakHdlRef( SvCompatWeakHdl * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SvCompatWeakHdlRef::Clear() { if( pObj ) { SvCompatWeakHdl* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SvCompatWeakHdlRef::~SvCompatWeakHdlRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SvCompatWeakHdlRef & SvCompatWeakHdlRef:: operator = ( const SvCompatWeakHdlRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SvCompatWeakHdl* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SvCompatWeakHdlRef & SvCompatWeakHdlRef::operator = ( SvCompatWeakHdl * pObjP ) { return *this = SvCompatWeakHdlRef( pObjP ); } > >class SvWeakBase >{ > SvWeakHdlRef _xHdl; >public: > SvWeakHdl* GetHdl() { return _xHdl; } > > > SvWeakBase() { _xHdl = new SvWeakHdl( this ); } > ~SvWeakBase() { _xHdl->ResetWeakBase(); } >}; > >class SvCompatWeakBase >{ > SvCompatWeakHdlRef _xHdl; >public: > SvCompatWeakHdl* GetHdl() { return _xHdl; } > > > SvCompatWeakBase( void* pObj ) { _xHdl = new SvCompatWeakHdl( pObj ); } > ~SvCompatWeakBase() { _xHdl->ResetWeakBase(); } >}; ># 457 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/ref.hxx" >class SvWeakBaseWeak { SvWeakHdlRef _xHdl; public: inline SvWeakBaseWeak( ) {} inline SvWeakBaseWeak( SvWeakBase* pObj ) { if( pObj ) _xHdl = pObj->GetHdl(); } inline void Clear() { _xHdl.Clear(); } inline SvWeakBaseWeak& operator = ( SvWeakBase * pObj ) { _xHdl = pObj ? pObj->GetHdl() : 0; return *this; } inline BOOL Is() const { return _xHdl.Is() && _xHdl->GetObj(); } inline SvWeakBase * operator & () const { return (SvWeakBase*) ( _xHdl.Is() ? _xHdl->GetObj() : 0 ); } inline SvWeakBase * operator -> () const { return (SvWeakBase*) ( _xHdl.Is() ? _xHdl->GetObj() : 0 ); } inline SvWeakBase & operator * () const { return *(SvWeakBase*) _xHdl->GetObj(); } inline operator SvWeakBase * () const { return (SvWeakBase*) (_xHdl.Is() ? _xHdl->GetObj() : 0 ); } }; ># 35 "../../inc/basic/sbx.hxx" 2 ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/svtools/svarray.hxx" 1 ># 104 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/svtools/svarray.hxx" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/svtools/svldllapi.h" 1 ># 105 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/svtools/svarray.hxx" 2 > > ># 1 "/usr/include/string.h" 1 3 4 ># 28 "/usr/include/string.h" 3 4 >extern "C" { > > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.3.0/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 () __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memmove (void *__dest, __const void *__src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, > int __c, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern void *memset (void *__s, int __c, size_t __n) throw () __attribute__ ((__nonnull__ (1))); > > >extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memchr (__const void *__s, int __c, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern void *rawmemchr (__const void *__s, int __c) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > >extern void *memrchr (__const void *__s, int __c, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) > throw () __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strcat (char *__restrict __dest, __const char *__restrict __src) > throw () __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncat (char *__restrict __dest, __const char *__restrict __src, > size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcmp (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcoll (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern size_t strxfrm (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (2))); > ># 121 "/usr/include/string.h" 3 4 >extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); > >extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n, > __locale_t __l) throw () __attribute__ ((__nonnull__ (2, 4))); > > > > >extern char *strdup (__const char *__s) > throw () __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern char *strndup (__const char *__string, size_t __n) > throw () __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); ># 165 "/usr/include/string.h" 3 4 > > >extern char *strchr (__const char *__s, int __c) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > >extern char *strrchr (__const char *__s, int __c) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strchrnul (__const char *__s, int __c) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern size_t strcspn (__const char *__s, __const char *__reject) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern size_t strspn (__const char *__s, __const char *__accept) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strpbrk (__const char *__s, __const char *__accept) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strstr (__const char *__haystack, __const char *__needle) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *strtok (char *__restrict __s, __const char *__restrict __delim) > throw () __attribute__ ((__nonnull__ (2))); > > > > >extern char *__strtok_r (char *__restrict __s, > __const char *__restrict __delim, > char **__restrict __save_ptr) > throw () __attribute__ ((__nonnull__ (2, 3))); > >extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, > char **__restrict __save_ptr) > throw () __attribute__ ((__nonnull__ (2, 3))); > > > > >extern char *strcasestr (__const char *__haystack, __const char *__needle) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memmem (__const void *__haystack, size_t __haystacklen, > __const void *__needle, size_t __needlelen) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3))); > > > >extern void *__mempcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); >extern void *mempcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern size_t strlen (__const char *__s) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern size_t strnlen (__const char *__string, size_t __maxlen) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strerror (int __errnum) throw (); > ># 281 "/usr/include/string.h" 3 4 >extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) > throw () __attribute__ ((__nonnull__ (2))); > > > > > >extern char *strerror_l (int __errnum, __locale_t __l) throw (); > > > > > >extern void __bzero (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); > > > >extern void bcopy (__const void *__src, void *__dest, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern void bzero (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); > > >extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *index (__const char *__s, int __c) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > >extern char *rindex (__const char *__s, int __c) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > >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__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern int strcasecmp_l (__const char *__s1, __const char *__s2, > __locale_t __loc) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); > >extern int strncasecmp_l (__const char *__s1, __const char *__s2, > size_t __n, __locale_t __loc) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); > > > > > >extern char *strsep (char **__restrict __stringp, > __const char *__restrict __delim) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > >extern int strverscmp (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strsignal (int __sig) throw (); > > >extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) > throw () __attribute__ ((__nonnull__ (1, 2))); >extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *__stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); >extern char *stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strfry (char *__string) throw () __attribute__ ((__nonnull__ (1))); > > >extern void *memfrob (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); > > > > > > >extern char *basename (__const char *__filename) throw () __attribute__ ((__nonnull__ (1))); ># 432 "/usr/include/string.h" 3 4 >} ># 108 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/svtools/svarray.hxx" 2 > > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.3.0/include/limits.h" 1 3 4 ># 113 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/svtools/svarray.hxx" 2 > > ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/alloc.h" 1 ># 37 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/alloc.h" >extern "C" { ># 48 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/alloc.h" >void * rtl_allocateMemory ( > sal_Size Bytes >) throw (); ># 67 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/alloc.h" >void * rtl_reallocateMemory ( > void * Ptr, > sal_Size Bytes >) throw (); > > > > > > >void rtl_freeMemory ( > void * Ptr >) throw (); ># 89 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/alloc.h" >void * rtl_allocateZeroMemory ( > sal_Size Bytes >) throw (); > > > > > > > >void rtl_freeZeroMemory ( > void * Ptr, > sal_Size Bytes >) throw (); > > > > >typedef struct rtl_arena_st rtl_arena_type; ># 126 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/alloc.h" >rtl_arena_type * > rtl_arena_create ( > const char * pName, > sal_Size quantum, > sal_Size quantum_cache_max, > rtl_arena_type * source_arena, > void * ( * source_alloc)(rtl_arena_type *, sal_Size *), > void ( * source_free) (rtl_arena_type *, void *, sal_Size), > int nFlags >) throw (); ># 145 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/alloc.h" >void > rtl_arena_destroy ( > rtl_arena_type * pArena >) throw (); ># 160 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/alloc.h" >void * > rtl_arena_alloc ( > rtl_arena_type * pArena, > sal_Size * pBytes >) throw (); ># 177 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/alloc.h" >void > rtl_arena_free ( > rtl_arena_type * pArena, > void * pAddr, > sal_Size nBytes >) throw (); > > > > >typedef struct rtl_cache_st rtl_cache_type; ># 208 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/alloc.h" >rtl_cache_type * > rtl_cache_create ( > const char * pName, > sal_Size nObjSize, > sal_Size nObjAlign, > int ( * constructor)(void * pObj, void * pUserArg), > void ( * destructor) (void * pObj, void * pUserArg), > void ( * reclaim) (void * pUserArg), > void * pUserArg, > rtl_arena_type * pSource, > int nFlags >) throw (); ># 230 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/alloc.h" >void > rtl_cache_destroy ( > rtl_cache_type * pCache >) throw (); ># 242 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/alloc.h" >void * > rtl_cache_alloc ( > rtl_cache_type * pCache >) throw (); ># 257 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/alloc.h" >void > rtl_cache_free ( > rtl_cache_type * pCache, > void * pObj >) throw (); > > > >} ># 116 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/svtools/svarray.hxx" 2 > > >class String; > > > > > >class DummyType; >inline void* operator new( size_t, DummyType* pPtr ) >{ > return pPtr; >} >inline void operator delete( void*, DummyType* ) {} ># 673 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/svtools/svarray.hxx" >typedef void* VoidPtr; >typedef BOOL (*FnForEach_SvPtrarr)( const VoidPtr &, void* );class SvPtrarr{protected: VoidPtr *pData; USHORT nFree; USHORT nA; void _resize(size_t n);public: SvPtrarr( USHORT= 0, BYTE= 1 ); ~SvPtrarr() { rtl_freeMemory( pData ); } VoidPtr& operator[](USHORT nP) const { return *(pData+nP); }void Insert( const SvPtrarr * pI, USHORT nP, USHORT nS = 0, USHORT nE = (32767 * 2 + 1) ){ if( (32767 * 2 + 1) == nE ) nE = pI->nA; if( nS < nE ) Insert( (const VoidPtr*)pI->pData+nS, (USHORT)nE-nS, nP );} VoidPtr & GetObject(USHORT nP) const { return (*this)[nP]; } void Insert( const VoidPtr & aE, USHORT nP ); void Insert( const VoidPtr *pE, USHORT nL, USHORT nP ); void Remove( USHORT nP, USHORT nL = 1 ); void Replace( const VoidPtr & aE, USHORT nP ); void Replace( const VoidPtr *pE, USHORT nL, USHORT nP ); USHORT Count() const { return nA; } const VoidPtr* GetData() const { return (const VoidPtr*)pData; } void ForEach( FnForEach_SvPtrarr fnForEach, void* pArgs = 0 ) { _ForEach( 0, nA, fnForEach, pArgs ); } void ForEach( USHORT nS, USHORT nE, FnForEach_SvPtrarr fnForEach, void* pArgs = 0 ) { _ForEach( nS, nE, fnForEach, pArgs ); } void _ForEach( USHORT nStt, USHORT nE, FnForEach_SvPtrarr fnCall, void* pArgs = 0 );USHORT GetPos( const VoidPtr & aE ) const;}; >typedef BOOL (*FnForEach_SvPtrarrPlain)( const VoidPtr, void* );class SvPtrarrPlain{protected: VoidPtr *pData; USHORT nFree; USHORT nA; void _resize(size_t n);public: SvPtrarrPlain( USHORT= 0, BYTE= 1 ); ~SvPtrarrPlain() { rtl_freeMemory( pData ); } VoidPtr& operator[](USHORT nP) const { return *(pData+nP); }void Insert( const SvPtrarrPlain * pI, USHORT nP, USHORT nS = 0, USHORT nE = (32767 * 2 + 1) ){ if( (32767 * 2 + 1) == nE ) nE = pI->nA; if( nS < nE ) Insert( (const VoidPtr*)pI->pData+nS, (USHORT)nE-nS, nP );} VoidPtr GetObject(USHORT nP) const { return (*this)[nP]; } void Insert( const VoidPtr aE, USHORT nP ); void Insert( const VoidPtr *pE, USHORT nL, USHORT nP ); void Remove( USHORT nP, USHORT nL = 1 ); void Replace( const VoidPtr aE, USHORT nP ); void Replace( const VoidPtr *pE, USHORT nL, USHORT nP ); USHORT Count() const { return nA; } const VoidPtr* GetData() const { return (const VoidPtr*)pData; } void ForEach( FnForEach_SvPtrarrPlain fnForEach, void* pArgs = 0 ) { _ForEach( 0, nA, fnForEach, pArgs ); } void ForEach( USHORT nS, USHORT nE, FnForEach_SvPtrarrPlain fnForEach, void* pArgs = 0 ) { _ForEach( nS, nE, fnForEach, pArgs ); } void _ForEach( USHORT nStt, USHORT nE, FnForEach_SvPtrarrPlain fnCall, void* pArgs = 0 );USHORT GetPos( const VoidPtr aE ) const;}; ># 36 "../../inc/basic/sbx.hxx" 2 ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/svtools/smplhint.hxx" 1 ># 34 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/svtools/smplhint.hxx" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/svtools/hint.hxx" 1 ># 34 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/svtools/hint.hxx" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/rtti.hxx" 1 ># 37 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/rtti.hxx" >typedef void* (*TypeId)(); ># 35 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/svtools/hint.hxx" 2 > >class SfxHint >{ >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > virtual ~SfxHint(); >}; ># 35 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/svtools/smplhint.hxx" 2 ># 71 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/svtools/smplhint.hxx" >class SfxSimpleHint: public SfxHint >{ >private: > ULONG nId; >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SfxSimpleHint( ULONG nId ); > ULONG GetId() const { return nId; } >}; ># 37 "../../inc/basic/sbx.hxx" 2 ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/svtools/lstner.hxx" 1 ># 37 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/svtools/lstner.hxx" >class SfxBroadcaster; >class SfxHint; > > >typedef SvPtrarr SfxBroadcasterArr_Impl; > > > > > > > >class SfxListener >{ > SfxBroadcasterArr_Impl aBCs; > >private: > const SfxListener& operator=(const SfxListener &); > >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > > SfxListener(); > SfxListener( const SfxListener &rCopy ); > virtual ~SfxListener(); > > BOOL StartListening( SfxBroadcaster& rBroadcaster, BOOL bPreventDups = 0 ); > BOOL EndListening( SfxBroadcaster& rBroadcaster, BOOL bAllDups = 0 ); > void EndListening( USHORT nNo ); > void EndListeningAll(); > BOOL IsListening( SfxBroadcaster& rBroadcaster ) const; > > USHORT GetBroadcasterCount() const > { return aBCs.Count(); } > SfxBroadcaster* GetBroadcasterJOE( USHORT nNo ) const > { return (SfxBroadcaster*) aBCs.GetObject(nNo); } > > virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); > > > void RemoveBroadcaster_Impl( SfxBroadcaster& rBC ); > >}; ># 38 "../../inc/basic/sbx.hxx" 2 ># 1 "../../inc/basic/sbxdef.hxx" 1 ># 45 "../../inc/basic/sbxdef.hxx" >enum SbxClassType { > SbxCLASS_DONTCARE = 1, > SbxCLASS_ARRAY, > SbxCLASS_VALUE, > SbxCLASS_VARIABLE, > SbxCLASS_METHOD, > SbxCLASS_PROPERTY, > SbxCLASS_OBJECT >}; > > > > > > >enum SbxDataType { > SbxEMPTY = 0, > SbxNULL = 1, > SbxINTEGER = 2, > SbxLONG = 3, > SbxSINGLE = 4, > SbxDOUBLE = 5, > SbxCURRENCY = 6, > SbxDATE = 7, > SbxSTRING = 8, > SbxOBJECT = 9, > SbxERROR = 10, > SbxBOOL = 11, > SbxVARIANT = 12, > SbxDATAOBJECT = 13, > > SbxCHAR = 16, > SbxBYTE = 17, > SbxUSHORT = 18, > SbxULONG = 19, > SbxLONG64 = 20, > SbxULONG64 = 21, > SbxINT = 22, > SbxUINT = 23, > SbxVOID = 24, > SbxHRESULT = 25, > SbxPOINTER = 26, > SbxDIMARRAY = 27, > SbxCARRAY = 28, > SbxUSERDEF = 29, > SbxLPSTR = 30, > SbxLPWSTR = 31, > SbxCoreSTRING = 32, > SbxWSTRING = 33, > SbxWCHAR = 34, > SbxSALINT64 = 35, > SbxSALUINT64 = 36, > SbxDECIMAL = 37, > > SbxVECTOR = 0x1000, > SbxARRAY = 0x2000, > SbxBYREF = 0x4000, > > SbxSV1 = 128, > SbxMEMORYSTREAM, > SbxSTORAGE, > > SbxUSER1 = 256, > SbxUSERn = 2047 >}; > > > > > > >enum SbxOperator { > > SbxEXP, > SbxMUL, > SbxDIV, > SbxMOD, > SbxPLUS, > SbxMINUS, > SbxNEG, > SbxIDIV, > > SbxAND, > SbxOR, > SbxXOR, > SbxEQV, > SbxIMP, > SbxNOT, > > SbxCAT, > > SbxEQ, > SbxNE, > SbxLT, > SbxGT, > SbxLE, > SbxGE >}; > > > > > > >enum SbxNameType { > SbxNAME_NONE, > SbxNAME_SHORT, > SbxNAME_SHORT_TYPES, > SbxNAME_LONG_TYPES >}; > > > > >typedef ULONG SbxError; ># 382 "../../inc/basic/sbxdef.hxx" >enum SbxBOOL { SbxFALSE = 0, SbxTRUE = -1 }; ># 39 "../../inc/basic/sbx.hxx" 2 ># 1 "../../inc/basic/sbxform.hxx" 1 ># 92 "../../inc/basic/sbxform.hxx" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/string.hxx" 1 ># 35 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/string.hxx" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/thread.h" 1 ># 34 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/thread.h" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/time.h" 1 ># 37 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/time.h" >extern "C" { ># 52 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/time.h" >typedef struct { > sal_uInt32 Seconds; > sal_uInt32 Nanosec; >} TimeValue; ># 66 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/time.h" >typedef struct _oslDateTime >{ > > > > sal_uInt32 NanoSeconds; > > > > sal_uInt16 Seconds; > > > > > sal_uInt16 Minutes; > > > > > sal_uInt16 Hours; > > > > > sal_uInt16 Day; > > > > > sal_uInt16 DayOfWeek; > > > > > sal_uInt16 Month; > > > > > sal_uInt16 Year; > >} oslDateTime; > > > > > >sal_Bool osl_getSystemTime( TimeValue* pTimeVal ); ># 122 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/time.h" >sal_Bool osl_getDateTimeFromTimeValue( TimeValue* pTimeVal, oslDateTime* pDateTime ); ># 131 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/time.h" >sal_Bool osl_getTimeValueFromDateTime( oslDateTime* pDateTime, TimeValue* pTimeVal ); ># 140 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/time.h" >sal_Bool osl_getLocalTimeFromSystemTime( TimeValue* pSystemTimeVal, TimeValue* pLocalTimeVal ); ># 149 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/time.h" >sal_Bool osl_getSystemTimeFromLocalTime( TimeValue* pLocalTimeVal, TimeValue* pSystemTimeVal ); > > > > > > >sal_uInt32 osl_getGlobalTimer(void); > > >} ># 35 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/thread.h" 2 > > ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/textenc.h" 1 ># 52 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/textenc.h" >typedef sal_uInt16 rtl_TextEncoding; ># 38 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/thread.h" 2 > > > >extern "C" { > > > > > > >typedef void* oslThread; > > > >typedef void ( *oslWorkerFunction)(void*); > > > > > > >typedef enum >{ > osl_Thread_PriorityHighest, > osl_Thread_PriorityAboveNormal, > osl_Thread_PriorityNormal, > osl_Thread_PriorityBelowNormal, > osl_Thread_PriorityLowest, > osl_Thread_PriorityUnknown, > osl_Thread_Priority_FORCE_EQUAL_SIZE = 0x7fffffff >} oslThreadPriority; > > >typedef sal_uInt32 oslThreadIdentifier; > >typedef sal_uInt32 oslThreadKey; ># 82 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/thread.h" >oslThread osl_createThread(oslWorkerFunction pWorker, void* pThreadData); ># 91 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/thread.h" >oslThread osl_createSuspendedThread(oslWorkerFunction pWorker, void* pThreadData); > > > > > >oslThreadIdentifier osl_getThreadIdentifier(oslThread Thread); > > > > > > >void osl_destroyThread(oslThread Thread); > > > > >void osl_resumeThread(oslThread Thread); > > > > >void osl_suspendThread(oslThread Thread); > > > > >void osl_setThreadPriority(oslThread Thread, oslThreadPriority Priority); > > > > > >oslThreadPriority osl_getThreadPriority(const oslThread Thread); > > > > > >sal_Bool osl_isThreadRunning(const oslThread Thread); > > > > >void osl_joinWithThread(oslThread Thread); > > > > >void osl_waitThread(const TimeValue* pDelay); > > > > >void osl_terminateThread(oslThread Thread); > > > > > > > >sal_Bool osl_scheduleThread(oslThread Thread); ># 163 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/thread.h" >void osl_yieldThread(void); > > > >typedef void ( *oslThreadKeyCallbackFunction)(void *); > > >oslThreadKey osl_createThreadKey(oslThreadKeyCallbackFunction pCallback); > > >void osl_destroyThreadKey(oslThreadKey Key); > > >void* osl_getThreadKeyData(oslThreadKey Key); > > >sal_Bool osl_setThreadKeyData(oslThreadKey Key, void *pData); > > >rtl_TextEncoding osl_getThreadTextEncoding(void); > > > > >rtl_TextEncoding osl_setThreadTextEncoding(rtl_TextEncoding Encoding); > > >} ># 36 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/string.hxx" 2 > ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/textcvt.h" 1 ># 40 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/textcvt.h" >extern "C" { > > > > > > > >typedef void* rtl_TextToUnicodeConverter; > > > >typedef void* rtl_TextToUnicodeContext; > > > >rtl_TextToUnicodeConverter rtl_createTextToUnicodeConverter( rtl_TextEncoding eTextEncoding ); > > > >void rtl_destroyTextToUnicodeConverter( rtl_TextToUnicodeConverter hConverter ); > > > >rtl_TextToUnicodeContext rtl_createTextToUnicodeContext( rtl_TextToUnicodeConverter hConverter ); > > > >void rtl_destroyTextToUnicodeContext( rtl_TextToUnicodeConverter hConverter, rtl_TextToUnicodeContext hContext ); > > > >void rtl_resetTextToUnicodeContext( rtl_TextToUnicodeConverter hConverter, rtl_TextToUnicodeContext hContext ); ># 102 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/textcvt.h" >sal_Size rtl_convertTextToUnicode( rtl_TextToUnicodeConverter hConverter, > rtl_TextToUnicodeContext hContext, > const sal_Char* pSrcBuf, sal_Size nSrcBytes, > sal_Unicode* pDestBuf, sal_Size nDestChars, > sal_uInt32 nFlags, sal_uInt32* pInfo, > sal_Size* pSrcCvtBytes ); > > > >typedef void* rtl_UnicodeToTextConverter; > > > >typedef void* rtl_UnicodeToTextContext; > > > >rtl_UnicodeToTextConverter rtl_createUnicodeToTextConverter( rtl_TextEncoding eTextEncoding ); > > > >void rtl_destroyUnicodeToTextConverter( rtl_UnicodeToTextConverter hConverter ); > > > >rtl_UnicodeToTextContext rtl_createUnicodeToTextContext( rtl_UnicodeToTextConverter hConverter ); > > > >void rtl_destroyUnicodeToTextContext( rtl_UnicodeToTextConverter hConverter, rtl_UnicodeToTextContext hContext ); > > > >void rtl_resetUnicodeToTextContext( rtl_UnicodeToTextConverter hConverter, rtl_UnicodeToTextContext hContext ); ># 172 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/textcvt.h" >sal_Size rtl_convertUnicodeToText( rtl_UnicodeToTextConverter hConverter, > rtl_UnicodeToTextContext hContext, > const sal_Unicode* pSrcBuf, sal_Size nSrcChars, > sal_Char* pDestBuf, sal_Size nDestBytes, > sal_uInt32 nFlags, sal_uInt32* pInfo, > sal_Size* pSrcCvtChars ); > > >} ># 38 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/string.hxx" 2 > ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" 1 ># 37 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/diagnose.h" 1 ># 38 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/diagnose.h" >extern "C" { > > > > > > >void osl_breakDebug(void); >sal_Bool osl_assertFailedLine(const sal_Char* pszFileName, sal_Int32 nLine, const sal_Char* pszMessage); >void osl_trace(const sal_Char* pszFormat, ...); >sal_Int32 osl_reportError(sal_uInt32 nType, const sal_Char* pszErrorMessage); > > > > > > > >typedef void ( *pfunc_osl_printDebugMessage)( const sal_Char * pszMessage ); > > > >typedef void ( *pfunc_osl_printDetailedDebugMessage)( const sal_Char * pszFileName, sal_Int32 nLine, const sal_Char* pszMessage ); ># 69 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/diagnose.h" >pfunc_osl_printDebugMessage osl_setDebugMessageFunc( pfunc_osl_printDebugMessage pNewFunc ); > > > > > >pfunc_osl_printDetailedDebugMessage osl_setDetailedDebugMessageFunc( pfunc_osl_printDetailedDebugMessage pNewFunc ); > > >} ># 38 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" 2 > ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/memory.h" 1 ># 38 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/memory.h" >extern "C" { > > >void rtl_zeroMemory(void *Ptr, sal_Size Bytes); >void rtl_fillMemory(void *Ptr, sal_Size Bytes, sal_uInt8 Fill); >void rtl_copyMemory(void *Dst, const void *Src, sal_Size Bytes); >void rtl_moveMemory(void *Dst, const void *Src, sal_Size Bytes); >sal_Int32 rtl_compareMemory(const void *MemA, const void *MemB, sal_Size Bytes); >void* rtl_findInMemory(const void *MemA, sal_uInt8 ch, sal_Size Bytes); > > >} ># 40 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" 2 > ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" 1 ># 35 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/interlck.h" 1 ># 37 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/interlck.h" >extern "C" { > > >typedef sal_Int32 oslInterlockedCount; > > > > > >oslInterlockedCount osl_incrementInterlockedCount(oslInterlockedCount* pCount); > > > > > >oslInterlockedCount osl_decrementInterlockedCount(oslInterlockedCount* pCount); > > >} ># 36 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" 2 > > > >extern "C" { ># 56 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_getLength( const sal_Char * str ) throw (); ># 76 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_compare( const sal_Char * first, const sal_Char * second ) throw (); ># 103 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_compare_WithLength( const sal_Char * first, sal_Int32 firstLen, const sal_Char * second, sal_Int32 secondLen ) throw (); ># 134 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_shortenedCompare_WithLength( const sal_Char * first, sal_Int32 firstLen, const sal_Char * second, sal_Int32 secondLen, sal_Int32 shortenedLen ) throw (); ># 161 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_reverseCompare_WithLength( const sal_Char * first, sal_Int32 firstLen, const sal_Char * second, sal_Int32 secondLen ) throw (); ># 182 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_compareIgnoreAsciiCase( const sal_Char * first, const sal_Char * second ) throw (); ># 211 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_compareIgnoreAsciiCase_WithLength( const sal_Char * first, sal_Int32 firstLen, const sal_Char * second, sal_Int32 secondLen ) throw (); ># 245 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_shortenedCompareIgnoreAsciiCase_WithLength( const sal_Char * first, sal_Int32 firstLen, const sal_Char * second, sal_Int32 secondLen, sal_Int32 shortenedLen ) throw (); ># 259 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_hashCode( const sal_Char * str ) throw (); ># 276 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_hashCode_WithLength( const sal_Char * str, sal_Int32 len ) throw (); ># 292 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_indexOfChar( const sal_Char * str, sal_Char ch ) throw (); ># 310 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_indexOfChar_WithLength( const sal_Char * str, sal_Int32 len, sal_Char ch ) throw (); ># 327 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_lastIndexOfChar( const sal_Char * str, sal_Char ch ) throw (); ># 346 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_lastIndexOfChar_WithLength( const sal_Char * str, sal_Int32 len, sal_Char ch ) throw (); ># 363 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_indexOfStr( const sal_Char * str, const sal_Char * subStr ) throw (); ># 387 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_indexOfStr_WithLength( const sal_Char * str, sal_Int32 len, const sal_Char * subStr, sal_Int32 subLen ) throw (); ># 404 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_lastIndexOfStr( const sal_Char * str, const sal_Char * subStr ) throw (); ># 428 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_lastIndexOfStr_WithLength( const sal_Char * str, sal_Int32 len, const sal_Char * subStr, sal_Int32 subLen ) throw (); ># 444 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >void rtl_str_replaceChar( sal_Char * str, sal_Char oldChar, sal_Char newChar ) throw (); ># 463 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >void rtl_str_replaceChar_WithLength( sal_Char * str, sal_Int32 len, sal_Char oldChar, sal_Char newChar ) throw (); ># 474 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >void rtl_str_toAsciiLowerCase( sal_Char * str ) throw (); ># 488 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >void rtl_str_toAsciiLowerCase_WithLength( sal_Char * str, sal_Int32 len ) throw (); ># 499 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >void rtl_str_toAsciiUpperCase( sal_Char * str ) throw (); ># 513 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >void rtl_str_toAsciiUpperCase_WithLength( sal_Char * str, sal_Int32 len ) throw (); ># 527 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_trim( sal_Char * str ) throw (); ># 545 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_trim_WithLength( sal_Char * str, sal_Int32 len ) throw (); ># 565 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_valueOfBoolean( sal_Char * str, sal_Bool b ) throw (); ># 581 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_valueOfChar( sal_Char * str, sal_Char ch ) throw (); ># 603 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_valueOfInt32( sal_Char * str, sal_Int32 i, sal_Int16 radix ) throw (); ># 627 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_valueOfInt64( sal_Char * str, sal_Int64 l, sal_Int16 radix ) throw (); ># 645 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_valueOfFloat( sal_Char * str, float f ) throw (); ># 663 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_valueOfDouble( sal_Char * str, double d ) throw (); ># 677 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Bool rtl_str_toBoolean( const sal_Char * str ) throw (); ># 695 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_str_toInt32( const sal_Char * str, sal_Int16 radix ) throw (); ># 713 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int64 rtl_str_toInt64( const sal_Char * str, sal_Int16 radix ) throw (); ># 727 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >float rtl_str_toFloat( const sal_Char * str ) throw (); ># 741 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >double rtl_str_toDouble( const sal_Char * str ) throw (); ># 755 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >typedef struct _rtl_String >{ > oslInterlockedCount refCount; > sal_Int32 length; > sal_Char buffer[1]; >} rtl_String; ># 773 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >void rtl_string_acquire( rtl_String * str ) throw (); ># 782 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >void rtl_string_release( rtl_String * str ) throw (); > > > > > > > >void rtl_string_new( rtl_String ** newStr ) throw (); ># 805 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >void rtl_string_new_WithLength( rtl_String ** newStr, sal_Int32 len ) throw (); ># 820 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >void rtl_string_newFromString( rtl_String ** newStr, const rtl_String * value ) throw (); ># 835 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >void rtl_string_newFromStr( rtl_String ** newStr, const sal_Char * value ) throw (); ># 854 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >void rtl_string_newFromStr_WithLength( rtl_String ** newStr, const sal_Char * value, sal_Int32 len ) throw (); ># 868 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >void rtl_string_assign( rtl_String ** str, rtl_String * rightValue ) throw (); ># 880 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_string_getLength( const rtl_String * str ) throw (); ># 890 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Char * rtl_string_getStr( rtl_String * str ) throw (); ># 909 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >void rtl_string_newConcat( rtl_String ** newStr, rtl_String * left, rtl_String * right ) throw (); ># 940 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >void rtl_string_newReplaceStrAt( rtl_String ** newStr, rtl_String * str, sal_Int32 idx, sal_Int32 count, rtl_String * subStr ) throw (); ># 966 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >void rtl_string_newReplace( rtl_String ** newStr, rtl_String * str, sal_Char oldChar, sal_Char newChar ) throw (); ># 987 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >void rtl_string_newToAsciiLowerCase( rtl_String ** newStr, rtl_String * str ) throw (); ># 1008 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >void rtl_string_newToAsciiUpperCase( rtl_String ** newStr, rtl_String * str ) throw (); ># 1029 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >void rtl_string_newTrim( rtl_String ** newStr, rtl_String * str ) throw (); ># 1075 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Int32 rtl_string_getToken( rtl_String ** newStr , rtl_String * str, sal_Int32 token, sal_Char cTok, sal_Int32 idx ) throw (); ># 1153 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >void rtl_uString2String( rtl_String ** newStr, const sal_Unicode * str, sal_Int32 len, rtl_TextEncoding encoding, sal_uInt32 convertFlags ) throw (); ># 1185 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.h" >sal_Bool rtl_convertUStringToString(rtl_String ** pTarget, > sal_Unicode const * pSource, > sal_Int32 nLength, > rtl_TextEncoding nEncoding, > sal_uInt32 nFlags) > throw (); > > >} ># 42 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" 2 > > > > > >namespace rtl >{ ># 76 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" >class OString >{ >public: > > rtl_String * pData; > >private: > > class DO_NOT_ACQUIRE; > > > OString( rtl_String * value, DO_NOT_ACQUIRE * ) > { > pData = value; > } > >public: > > > > OString() > { > pData = 0; > rtl_string_new( &pData ); > } > > > > > > > OString( const OString & str ) > { > pData = str.pData; > rtl_string_acquire( pData ); > } > > > > > > > OString( rtl_String * str ) > { > pData = str; > rtl_string_acquire( pData ); > } > > > > > > > explicit OString( sal_Char value ) > : pData (0) > { > rtl_string_newFromStr_WithLength( &pData, &value, 1 ); > } > > > > > > > OString( const sal_Char * value ) > { > pData = 0; > rtl_string_newFromStr( &pData, value ); > } ># 154 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > OString( const sal_Char * value, sal_Int32 length ) > { > pData = 0; > rtl_string_newFromStr_WithLength( &pData, value, length ); > } ># 174 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > OString( const sal_Unicode * value, sal_Int32 length, > rtl_TextEncoding encoding, > sal_uInt32 convertFlags = (((sal_uInt32)0x0006) | ((sal_uInt32)0x0060) | ((sal_uInt32)0x0100) | ((sal_uInt32)0x0400) | ((sal_uInt32)0x4000)) ) > { > pData = 0; > rtl_uString2String( &pData, value, length, encoding, convertFlags ); > > ((void)0); > > > > > > } > > > > > ~OString() > { > rtl_string_release( pData ); > } > > > > > > > OString & operator=( const OString & str ) > { > rtl_string_assign( &pData, str.pData ); > return *this; > } > > > > > > > OString & operator+=( const OString & str ) > { > rtl_string_newConcat( &pData, pData, str.pData ); > return *this; > } ># 227 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > sal_Int32 getLength() const { return pData->length; } ># 240 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > operator const sal_Char *() const { return pData->buffer; } ># 253 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > const sal_Char * getStr() const { return pData->buffer; } ># 267 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > sal_Int32 compareTo( const OString & str ) const > { > return rtl_str_compare_WithLength( pData->buffer, pData->length, > str.pData->buffer, str.pData->length ); > } ># 286 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > sal_Int32 compareTo( const OString & rObj, sal_Int32 maxLength ) const > { > return rtl_str_shortenedCompare_WithLength( pData->buffer, pData->length, > rObj.pData->buffer, rObj.pData->length, maxLength ); > } ># 304 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > sal_Int32 reverseCompareTo( const OString & str ) const > { > return rtl_str_reverseCompare_WithLength( pData->buffer, pData->length, > str.pData->buffer, str.pData->length ); > } ># 321 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > sal_Bool equals( const OString & str ) const > { > if ( pData->length != str.pData->length ) > return ((sal_Bool)0); > if ( pData == str.pData ) > return ((sal_Bool)1); > return rtl_str_reverseCompare_WithLength( pData->buffer, pData->length, > str.pData->buffer, str.pData->length ) == 0; > } ># 345 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > sal_Bool equalsIgnoreAsciiCase( const OString & str ) const > { > if ( pData->length != str.pData->length ) > return ((sal_Bool)0); > if ( pData == str.pData ) > return ((sal_Bool)1); > return rtl_str_compareIgnoreAsciiCase_WithLength( pData->buffer, pData->length, > str.pData->buffer, str.pData->length ) == 0; > } ># 370 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > sal_Bool match( const OString & str, sal_Int32 fromIndex = 0 ) const > { > return rtl_str_shortenedCompare_WithLength( pData->buffer+fromIndex, pData->length-fromIndex, > str.pData->buffer, str.pData->length, str.pData->length ) == 0; > } ># 394 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > sal_Bool matchIgnoreAsciiCase( const OString & str, sal_Int32 fromIndex = 0 ) const > { > return rtl_str_shortenedCompareIgnoreAsciiCase_WithLength( pData->buffer+fromIndex, pData->length-fromIndex, > str.pData->buffer, str.pData->length, > str.pData->length ) == 0; > } > > friend sal_Bool operator == ( const OString& rStr1, const OString& rStr2 ) > { return rStr1.getLength() == rStr2.getLength() && rStr1.compareTo( rStr2 ) == 0; } > friend sal_Bool operator == ( const OString& rStr1, const sal_Char * pStr2 ) > { return rStr1.compareTo( pStr2 ) == 0; } > friend sal_Bool operator == ( const sal_Char * pStr1, const OString& rStr2 ) > { return OString( pStr1 ).compareTo( rStr2 ) == 0; } > > friend sal_Bool operator != ( const OString& rStr1, const OString& rStr2 ) > { return !(operator == ( rStr1, rStr2 )); } > friend sal_Bool operator != ( const OString& rStr1, const sal_Char * pStr2 ) > { return !(operator == ( rStr1, pStr2 )); } > friend sal_Bool operator != ( const sal_Char * pStr1, const OString& rStr2 ) > { return !(operator == ( pStr1, rStr2 )); } > > friend sal_Bool operator < ( const OString& rStr1, const OString& rStr2 ) > { return rStr1.compareTo( rStr2 ) < 0; } > friend sal_Bool operator > ( const OString& rStr1, const OString& rStr2 ) > { return rStr1.compareTo( rStr2 ) > 0; } > friend sal_Bool operator <= ( const OString& rStr1, const OString& rStr2 ) > { return rStr1.compareTo( rStr2 ) <= 0; } > friend sal_Bool operator >= ( const OString& rStr1, const OString& rStr2 ) > { return rStr1.compareTo( rStr2 ) >= 0; } ># 431 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > sal_Int32 hashCode() const > { > return rtl_str_hashCode_WithLength( pData->buffer, pData->length ); > } ># 449 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > sal_Int32 indexOf( sal_Char ch, sal_Int32 fromIndex = 0 ) const > { > sal_Int32 ret = rtl_str_indexOfChar_WithLength( pData->buffer+fromIndex, pData->length-fromIndex, ch ); > return (ret < 0 ? ret : ret+fromIndex); > } ># 464 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > sal_Int32 lastIndexOf( sal_Char ch ) const > { > return rtl_str_lastIndexOfChar_WithLength( pData->buffer, pData->length, ch ); > } ># 481 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > sal_Int32 lastIndexOf( sal_Char ch, sal_Int32 fromIndex ) const > { > return rtl_str_lastIndexOfChar_WithLength( pData->buffer, fromIndex, ch ); > } ># 501 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > sal_Int32 indexOf( const OString & str, sal_Int32 fromIndex = 0 ) const > { > sal_Int32 ret = rtl_str_indexOfStr_WithLength( pData->buffer+fromIndex, pData->length-fromIndex, > str.pData->buffer, str.pData->length ); > return (ret < 0 ? ret : ret+fromIndex); > } ># 523 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > sal_Int32 lastIndexOf( const OString & str ) const > { > return rtl_str_lastIndexOfStr_WithLength( pData->buffer, pData->length, > str.pData->buffer, str.pData->length ); > } ># 546 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > sal_Int32 lastIndexOf( const OString & str, sal_Int32 fromIndex ) const > { > return rtl_str_lastIndexOfStr_WithLength( pData->buffer, fromIndex, > str.pData->buffer, str.pData->length ); > } ># 561 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > OString copy( sal_Int32 beginIndex ) const > { > ((void)0); > if ( beginIndex == 0 ) > return *this; > else > { > rtl_String* pNew = 0; > rtl_string_newFromStr_WithLength( &pNew, pData->buffer+beginIndex, getLength()-beginIndex ); > return OString( pNew, (DO_NOT_ACQUIRE*)0 ); > } > } ># 585 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > OString copy( sal_Int32 beginIndex, sal_Int32 count ) const > { > ((void)0); > > if ( (beginIndex == 0) && (count == getLength()) ) > return *this; > else > { > rtl_String* pNew = 0; > rtl_string_newFromStr_WithLength( &pNew, pData->buffer+beginIndex, count ); > return OString( pNew, (DO_NOT_ACQUIRE*)0 ); > } > } ># 607 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > OString concat( const OString & str ) const > { > rtl_String* pNew = 0; > rtl_string_newConcat( &pNew, pData, str.pData ); > return OString( pNew, (DO_NOT_ACQUIRE*)0 ); > } > > friend OString operator+( const OString & str1, const OString & str2 ) > { > return str1.concat( str2 ); > } ># 632 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > OString replaceAt( sal_Int32 index, sal_Int32 count, const OString& newStr ) const > { > rtl_String* pNew = 0; > rtl_string_newReplaceStrAt( &pNew, pData, index, count, newStr.pData ); > return OString( pNew, (DO_NOT_ACQUIRE*)0 ); > } ># 652 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > OString replace( sal_Char oldChar, sal_Char newChar ) const > { > rtl_String* pNew = 0; > rtl_string_newReplace( &pNew, pData, oldChar, newChar ); > return OString( pNew, (DO_NOT_ACQUIRE*)0 ); > } ># 669 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > OString toAsciiLowerCase() const > { > rtl_String* pNew = 0; > rtl_string_newToAsciiLowerCase( &pNew, pData ); > return OString( pNew, (DO_NOT_ACQUIRE*)0 ); > } ># 686 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > OString toAsciiUpperCase() const > { > rtl_String* pNew = 0; > rtl_string_newToAsciiUpperCase( &pNew, pData ); > return OString( pNew, (DO_NOT_ACQUIRE*)0 ); > } ># 704 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > OString trim() const > { > rtl_String* pNew = 0; > rtl_string_newTrim( &pNew, pData ); > return OString( pNew, (DO_NOT_ACQUIRE*)0 ); > } ># 735 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > OString getToken( sal_Int32 token, sal_Char cTok, sal_Int32& index ) const > { > rtl_String * pNew = 0; > index = rtl_string_getToken( &pNew, pData, token, cTok, index ); > return OString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 750 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > sal_Bool toBoolean() const > { > return rtl_str_toBoolean( pData->buffer ); > } > > > > > > > > sal_Char toChar() const > { > return pData->buffer[0]; > } ># 775 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > sal_Int32 toInt32( sal_Int16 radix = 10 ) const > { > return rtl_str_toInt32( pData->buffer, radix ); > } ># 789 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > sal_Int64 toInt64( sal_Int16 radix = 10 ) const > { > return rtl_str_toInt64( pData->buffer, radix ); > } ># 802 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > float toFloat() const > { > return rtl_str_toFloat( pData->buffer ); > } ># 815 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > double toDouble() const > { > return rtl_str_toDouble( pData->buffer ); > } ># 830 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > static OString valueOf( sal_Bool b ) > { > sal_Char aBuf[6]; > rtl_String* pNewData = 0; > rtl_string_newFromStr_WithLength( &pNewData, aBuf, rtl_str_valueOfBoolean( aBuf, b ) ); > return OString( pNewData, (DO_NOT_ACQUIRE*)0 ); > } > > > > > > > > static OString valueOf( sal_Char c ) > { > return OString( &c, 1 ); > } ># 858 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > static OString valueOf( sal_Int32 i, sal_Int16 radix = 10 ) > { > sal_Char aBuf[33]; > rtl_String* pNewData = 0; > rtl_string_newFromStr_WithLength( &pNewData, aBuf, rtl_str_valueOfInt32( aBuf, i, radix ) ); > return OString( pNewData, (DO_NOT_ACQUIRE*)0 ); > } ># 875 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > static OString valueOf( sal_Int64 ll, sal_Int16 radix = 10 ) > { > sal_Char aBuf[65]; > rtl_String* pNewData = 0; > rtl_string_newFromStr_WithLength( &pNewData, aBuf, rtl_str_valueOfInt64( aBuf, ll, radix ) ); > return OString( pNewData, (DO_NOT_ACQUIRE*)0 ); > } ># 891 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > static OString valueOf( float f ) > { > sal_Char aBuf[15]; > rtl_String* pNewData = 0; > rtl_string_newFromStr_WithLength( &pNewData, aBuf, rtl_str_valueOfFloat( aBuf, f ) ); > return OString( pNewData, (DO_NOT_ACQUIRE*)0 ); > } ># 907 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > static OString valueOf( double d ) > { > sal_Char aBuf[25]; > rtl_String* pNewData = 0; > rtl_string_newFromStr_WithLength( &pNewData, aBuf, rtl_str_valueOfDouble( aBuf, d ) ); > return OString( pNewData, (DO_NOT_ACQUIRE*)0 ); > } >}; ># 923 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" >struct OStringHash >{ ># 934 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/string.hxx" > size_t operator()( const rtl::OString& rString ) const > { return (size_t)rString.hashCode(); } >}; > > > >} ># 40 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/string.hxx" 2 > > ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" 1 ># 39 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" 1 ># 40 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >extern "C" { ># 57 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_getLength( const sal_Unicode * str ) throw (); ># 77 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_compare( const sal_Unicode * first, const sal_Unicode * second ) throw (); ># 104 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_compare_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Unicode * second, sal_Int32 secondLen ) throw (); ># 135 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_shortenedCompare_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Unicode * second, sal_Int32 secondLen, sal_Int32 shortenedLen ) throw (); ># 162 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_reverseCompare_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Unicode * second, sal_Int32 secondLen ) throw (); ># 185 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Bool rtl_ustr_asciil_reverseEquals_WithLength( const sal_Unicode * first, const sal_Char * second, sal_Int32 len ) throw (); ># 206 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_compareIgnoreAsciiCase( const sal_Unicode * first, const sal_Unicode * second ) throw (); ># 235 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_compareIgnoreAsciiCase_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Unicode * second, sal_Int32 secondLen ) throw (); ># 269 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_shortenedCompareIgnoreAsciiCase_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Unicode * second, sal_Int32 secondLen, sal_Int32 shortenedLen ) throw (); ># 294 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_ascii_compare( const sal_Unicode * first, const sal_Char * second ) throw (); ># 322 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_ascii_compare_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Char * second ) throw (); ># 354 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_ascii_shortenedCompare_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Char * second, sal_Int32 shortenedLen ) throw (); ># 385 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_asciil_reverseCompare_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Char * second, sal_Int32 secondLen ) throw (); ># 411 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_ascii_compareIgnoreAsciiCase( const sal_Unicode * first, const sal_Char * second ) throw (); ># 441 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_ascii_compareIgnoreAsciiCase_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Char * second ) throw (); ># 474 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_ascii_compareIgnoreAsciiCase_WithLengths( > sal_Unicode const * first, sal_Int32 firstLen, > char const * second, sal_Int32 secondLen) throw (); ># 511 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength( const sal_Unicode * first, sal_Int32 firstLen, const sal_Char * second, sal_Int32 shortenedLen ) throw (); ># 525 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_hashCode( const sal_Unicode * str ) throw (); ># 542 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_hashCode_WithLength( const sal_Unicode * str, sal_Int32 len ) throw (); ># 558 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_indexOfChar( const sal_Unicode * str, sal_Unicode ch ) throw (); ># 576 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_indexOfChar_WithLength( const sal_Unicode * str, sal_Int32 len, sal_Unicode ch ) throw (); ># 593 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_lastIndexOfChar( const sal_Unicode * str, sal_Unicode ch ) throw (); ># 612 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_lastIndexOfChar_WithLength( const sal_Unicode * str, sal_Int32 len, sal_Unicode ch ) throw (); ># 629 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_indexOfStr( const sal_Unicode * str, const sal_Unicode * subStr ) throw (); ># 653 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_indexOfStr_WithLength( const sal_Unicode * str, sal_Int32 len, const sal_Unicode * subStr, sal_Int32 subLen ) throw (); ># 679 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_indexOfAscii_WithLength( > sal_Unicode const * str, sal_Int32 len, > char const * subStr, sal_Int32 subLen) throw (); ># 698 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_lastIndexOfStr( const sal_Unicode * str, const sal_Unicode * subStr ) throw (); ># 722 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_lastIndexOfStr_WithLength( const sal_Unicode * str, sal_Int32 len, const sal_Unicode * subStr, sal_Int32 subLen ) throw (); ># 748 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_lastIndexOfAscii_WithLength( > sal_Unicode const * str, sal_Int32 len, > char const * subStr, sal_Int32 subLen) throw (); ># 766 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_ustr_replaceChar( sal_Unicode * str, sal_Unicode oldChar, sal_Unicode newChar ) throw (); ># 785 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_ustr_replaceChar_WithLength( sal_Unicode * str, sal_Int32 len, sal_Unicode oldChar, sal_Unicode newChar ) throw (); ># 796 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_ustr_toAsciiLowerCase( sal_Unicode * str ) throw (); ># 810 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_ustr_toAsciiLowerCase_WithLength( sal_Unicode * str, sal_Int32 len ) throw (); ># 821 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_ustr_toAsciiUpperCase( sal_Unicode * str ) throw (); ># 835 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_ustr_toAsciiUpperCase_WithLength( sal_Unicode * str, sal_Int32 len ) throw (); ># 849 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_trim( sal_Unicode * str ) throw (); ># 867 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_trim_WithLength( sal_Unicode * str, sal_Int32 len ) throw (); ># 887 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_valueOfBoolean( sal_Unicode * str, sal_Bool b ) throw (); ># 903 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_valueOfChar( sal_Unicode * str, sal_Unicode ch ) throw (); ># 925 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_valueOfInt32( sal_Unicode * str, sal_Int32 i, sal_Int16 radix ) throw (); ># 949 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_valueOfInt64( sal_Unicode * str, sal_Int64 l, sal_Int16 radix ) throw (); ># 967 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_valueOfFloat( sal_Unicode * str, float f ) throw (); ># 985 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_valueOfDouble( sal_Unicode * str, double d ) throw (); ># 999 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Bool rtl_ustr_toBoolean( const sal_Unicode * str ) throw (); ># 1017 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_ustr_toInt32( const sal_Unicode * str, sal_Int16 radix ) throw (); ># 1035 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int64 rtl_ustr_toInt64( const sal_Unicode * str, sal_Int16 radix ) throw (); ># 1049 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >float rtl_ustr_toFloat( const sal_Unicode * str ) throw (); ># 1063 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >double rtl_ustr_toDouble( const sal_Unicode * str ) throw (); ># 1075 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >typedef struct _rtl_uString >{ > oslInterlockedCount refCount; > sal_Int32 length; > sal_Unicode buffer[1]; >} rtl_uString; ># 1093 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_uString_acquire( rtl_uString * str ) throw (); ># 1102 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_uString_release( rtl_uString * str ) throw (); > > > > > > > >void rtl_uString_new( rtl_uString ** newStr ) throw (); ># 1125 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_uString_new_WithLength( rtl_uString ** newStr, sal_Int32 nLen ) throw (); ># 1140 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_uString_newFromString( rtl_uString ** newStr, const rtl_uString * value ) throw (); ># 1155 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_uString_newFromStr( rtl_uString ** newStr, const sal_Unicode * value ) throw (); ># 1174 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_uString_newFromStr_WithLength( rtl_uString ** newStr, const sal_Unicode * value, sal_Int32 len ) throw (); ># 1193 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_uString_newFromAscii( rtl_uString ** newStr, const sal_Char * value ) throw (); ># 1214 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_uString_newFromCodePoints( > rtl_uString ** newString, sal_uInt32 const * codePoints, > sal_Int32 codePointCount) throw (); ># 1230 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_uString_assign( rtl_uString ** str, rtl_uString * rightValue ) throw (); ># 1242 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_uString_getLength( const rtl_uString * str ) throw (); ># 1252 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Unicode * rtl_uString_getStr( rtl_uString * str ) throw (); ># 1271 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_uString_newConcat( rtl_uString ** newStr, rtl_uString * left, rtl_uString * right ) throw (); ># 1302 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_uString_newReplaceStrAt( rtl_uString ** newStr, rtl_uString * str, sal_Int32 idx, sal_Int32 count, rtl_uString * subStr ) throw (); ># 1328 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_uString_newReplace( rtl_uString ** newStr, rtl_uString * str, sal_Unicode oldChar, sal_Unicode newChar ) throw (); ># 1349 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_uString_newToAsciiLowerCase( rtl_uString ** newStr, rtl_uString * str ) throw (); ># 1370 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_uString_newToAsciiUpperCase( rtl_uString ** newStr, rtl_uString * str ) throw (); ># 1391 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_uString_newTrim( rtl_uString ** newStr, rtl_uString * str ) throw (); ># 1437 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Int32 rtl_uString_getToken( rtl_uString ** newStr , rtl_uString * str, sal_Int32 token, sal_Unicode cTok, sal_Int32 idx ) throw (); ># 1497 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_string2UString( rtl_uString ** newStr, const sal_Char * str, sal_Int32 len, rtl_TextEncoding encoding, sal_uInt32 convertFlags ) throw (); ># 1521 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_uString_intern( rtl_uString ** newStr, > rtl_uString * str) throw (); ># 1559 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >void rtl_uString_internConvert( rtl_uString ** newStr, > const sal_Char * str, > sal_Int32 len, > rtl_TextEncoding encoding, > sal_uInt32 convertFlags, > sal_uInt32 *pInfo) throw (); ># 1618 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_uInt32 rtl_uString_iterateCodePoints( > rtl_uString const * string, sal_Int32 * indexUtf16, > sal_Int32 incrementCodePoints); ># 1655 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.h" >sal_Bool rtl_convertStringToUString( > rtl_uString ** target, char const * source, sal_Int32 length, > rtl_TextEncoding encoding, sal_uInt32 flags) throw (); > > >} ># 40 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" 2 ># 49 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" >namespace rtl >{ ># 77 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" >class OUString >{ >public: > > rtl_uString * pData; > >private: > > class DO_NOT_ACQUIRE{}; > > > OUString( rtl_uString * value, DO_NOT_ACQUIRE * ) > { > pData = value; > } > >public: > > > > OUString() > { > pData = 0; > rtl_uString_new( &pData ); > } > > > > > > > OUString( const OUString & str ) > { > pData = str.pData; > rtl_uString_acquire( pData ); > } > > > > > > > OUString( rtl_uString * str ) > { > pData = str; > rtl_uString_acquire( pData ); > } > > > > > > > > inline OUString( rtl_uString * str, __sal_NoAcquire ) > { pData = str; } > > > > > > > > explicit OUString( sal_Unicode value ) > : pData (0) > { > rtl_uString_newFromStr_WithLength( &pData, &value, 1 ); > } > > > > > > > OUString( const sal_Unicode * value ) > { > pData = 0; > rtl_uString_newFromStr( &pData, value ); > } ># 165 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > OUString( const sal_Unicode * value, sal_Int32 length ) > { > pData = 0; > rtl_uString_newFromStr_WithLength( &pData, value, length ); > } ># 185 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > OUString( const sal_Char * value, sal_Int32 length, > rtl_TextEncoding encoding, > sal_uInt32 convertFlags = (((sal_uInt32)0x0003) | ((sal_uInt32)0x0030) | ((sal_uInt32)0x0300)) ) > { > pData = 0; > rtl_string2UString( &pData, value, length, encoding, convertFlags ); > > ((void)0); > > > > > > } ># 216 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > inline explicit OUString( > sal_uInt32 const * codePoints, sal_Int32 codePointCount): > pData(__null) > { > rtl_uString_newFromCodePoints(&pData, codePoints, codePointCount); > if (pData == __null) { > > abort(); > > > > } > } > > > > > ~OUString() > { > rtl_uString_release( pData ); > } ># 249 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > static inline OUString const & unacquired( rtl_uString * const * ppHandle ) > { return * reinterpret_cast< OUString const * >( ppHandle ); } > > > > > > > OUString & operator=( const OUString & str ) > { > rtl_uString_assign( &pData, str.pData ); > return *this; > } > > > > > > > OUString & operator+=( const OUString & str ) > { > rtl_uString_newConcat( &pData, pData, str.pData ); > return *this; > } ># 282 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Int32 getLength() const { return pData->length; } ># 291 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > operator const sal_Unicode *() const { return pData->buffer; } ># 300 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > const sal_Unicode * getStr() const { return pData->buffer; } ># 314 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Int32 compareTo( const OUString & str ) const > { > return rtl_ustr_compare_WithLength( pData->buffer, pData->length, > str.pData->buffer, str.pData->length ); > } ># 333 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Int32 compareTo( const OUString & str, sal_Int32 maxLength ) const > { > return rtl_ustr_shortenedCompare_WithLength( pData->buffer, pData->length, > str.pData->buffer, str.pData->length, maxLength ); > } ># 351 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Int32 reverseCompareTo( const OUString & str ) const > { > return rtl_ustr_reverseCompare_WithLength( pData->buffer, pData->length, > str.pData->buffer, str.pData->length ); > } ># 368 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Bool equals( const OUString & str ) const > { > if ( pData->length != str.pData->length ) > return ((sal_Bool)0); > if ( pData == str.pData ) > return ((sal_Bool)1); > return rtl_ustr_reverseCompare_WithLength( pData->buffer, pData->length, > str.pData->buffer, str.pData->length ) == 0; > } ># 392 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Bool equalsIgnoreAsciiCase( const OUString & str ) const > { > if ( pData->length != str.pData->length ) > return ((sal_Bool)0); > if ( pData == str.pData ) > return ((sal_Bool)1); > return rtl_ustr_compareIgnoreAsciiCase_WithLength( pData->buffer, pData->length, > str.pData->buffer, str.pData->length ) == 0; > } ># 417 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Bool match( const OUString & str, sal_Int32 fromIndex = 0 ) const > { > return rtl_ustr_shortenedCompare_WithLength( pData->buffer+fromIndex, pData->length-fromIndex, > str.pData->buffer, str.pData->length, str.pData->length ) == 0; > } ># 441 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Bool matchIgnoreAsciiCase( const OUString & str, sal_Int32 fromIndex = 0 ) const > { > return rtl_ustr_shortenedCompareIgnoreAsciiCase_WithLength( pData->buffer+fromIndex, pData->length-fromIndex, > str.pData->buffer, str.pData->length, > str.pData->length ) == 0; > } ># 464 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Int32 compareToAscii( const sal_Char* asciiStr ) const > { > return rtl_ustr_ascii_compare_WithLength( pData->buffer, pData->length, asciiStr ); > } ># 486 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Int32 compareToAscii( const sal_Char * asciiStr, sal_Int32 maxLength ) const > { > return rtl_ustr_ascii_shortenedCompare_WithLength( pData->buffer, pData->length, > asciiStr, maxLength ); > } ># 511 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Int32 reverseCompareToAsciiL( const sal_Char * asciiStr, sal_Int32 asciiStrLength ) const > { > return rtl_ustr_asciil_reverseCompare_WithLength( pData->buffer, pData->length, > asciiStr, asciiStrLength ); > } ># 532 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Bool equalsAscii( const sal_Char* asciiStr ) const > { > return rtl_ustr_ascii_compare_WithLength( pData->buffer, pData->length, > asciiStr ) == 0; > } ># 555 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Bool equalsAsciiL( const sal_Char* asciiStr, sal_Int32 asciiStrLength ) const > { > if ( pData->length != asciiStrLength ) > return ((sal_Bool)0); > > return rtl_ustr_asciil_reverseEquals_WithLength( > pData->buffer, asciiStr, asciiStrLength ); > } ># 582 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Bool equalsIgnoreAsciiCaseAscii( const sal_Char * asciiStr ) const > { > return rtl_ustr_ascii_compareIgnoreAsciiCase_WithLength( pData->buffer, pData->length, asciiStr ) == 0; > } ># 607 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Bool equalsIgnoreAsciiCaseAsciiL( const sal_Char * asciiStr, sal_Int32 asciiStrLength ) const > { > if ( pData->length != asciiStrLength ) > return ((sal_Bool)0); > > return rtl_ustr_ascii_compareIgnoreAsciiCase_WithLength( pData->buffer, pData->length, asciiStr ) == 0; > } ># 635 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Bool matchAsciiL( const sal_Char* asciiStr, sal_Int32 asciiStrLength, sal_Int32 fromIndex = 0 ) const > { > return rtl_ustr_ascii_shortenedCompare_WithLength( pData->buffer+fromIndex, pData->length-fromIndex, > asciiStr, asciiStrLength ) == 0; > } ># 665 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Bool matchIgnoreAsciiCaseAsciiL( const sal_Char* asciiStr, sal_Int32 asciiStrLength, sal_Int32 fromIndex = 0 ) const > { > return rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength( pData->buffer+fromIndex, pData->length-fromIndex, > asciiStr, asciiStrLength ) == 0; > } ># 682 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > inline bool endsWithAsciiL(char const * asciiStr, sal_Int32 asciiStrLength) > const > { > return asciiStrLength <= pData->length > && rtl_ustr_asciil_reverseEquals_WithLength( > pData->buffer + pData->length - asciiStrLength, asciiStr, > asciiStrLength); > } ># 701 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > inline bool endsWithIgnoreAsciiCaseAsciiL( > char const * asciiStr, sal_Int32 asciiStrLength) const > { > return asciiStrLength <= pData->length > && (rtl_ustr_ascii_compareIgnoreAsciiCase_WithLengths( > pData->buffer + pData->length - asciiStrLength, > asciiStrLength, asciiStr, asciiStrLength) > == 0); > } > > friend sal_Bool operator == ( const OUString& rStr1, const OUString& rStr2 ) > { return rStr1.getLength() == rStr2.getLength() && rStr1.compareTo( rStr2 ) == 0; } > friend sal_Bool operator == ( const OUString& rStr1, const sal_Unicode * pStr2 ) > { return rStr1.compareTo( pStr2 ) == 0; } > friend sal_Bool operator == ( const sal_Unicode * pStr1, const OUString& rStr2 ) > { return OUString( pStr1 ).compareTo( rStr2 ) == 0; } > > friend sal_Bool operator != ( const OUString& rStr1, const OUString& rStr2 ) > { return !(operator == ( rStr1, rStr2 )); } > friend sal_Bool operator != ( const OUString& rStr1, const sal_Unicode * pStr2 ) > { return !(operator == ( rStr1, pStr2 )); } > friend sal_Bool operator != ( const sal_Unicode * pStr1, const OUString& rStr2 ) > { return !(operator == ( pStr1, rStr2 )); } > > friend sal_Bool operator < ( const OUString& rStr1, const OUString& rStr2 ) > { return rStr1.compareTo( rStr2 ) < 0; } > friend sal_Bool operator > ( const OUString& rStr1, const OUString& rStr2 ) > { return rStr1.compareTo( rStr2 ) > 0; } > friend sal_Bool operator <= ( const OUString& rStr1, const OUString& rStr2 ) > { return rStr1.compareTo( rStr2 ) <= 0; } > friend sal_Bool operator >= ( const OUString& rStr1, const OUString& rStr2 ) > { return rStr1.compareTo( rStr2 ) >= 0; } ># 741 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Int32 hashCode() const > { > return rtl_ustr_hashCode_WithLength( pData->buffer, pData->length ); > } ># 759 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Int32 indexOf( sal_Unicode ch, sal_Int32 fromIndex = 0 ) const > { > sal_Int32 ret = rtl_ustr_indexOfChar_WithLength( pData->buffer+fromIndex, pData->length-fromIndex, ch ); > return (ret < 0 ? ret : ret+fromIndex); > } ># 774 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Int32 lastIndexOf( sal_Unicode ch ) const > { > return rtl_ustr_lastIndexOfChar_WithLength( pData->buffer, pData->length, ch ); > } ># 791 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Int32 lastIndexOf( sal_Unicode ch, sal_Int32 fromIndex ) const > { > return rtl_ustr_lastIndexOfChar_WithLength( pData->buffer, fromIndex, ch ); > } ># 811 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Int32 indexOf( const OUString & str, sal_Int32 fromIndex = 0 ) const > { > sal_Int32 ret = rtl_ustr_indexOfStr_WithLength( pData->buffer+fromIndex, pData->length-fromIndex, > str.pData->buffer, str.pData->length ); > return (ret < 0 ? ret : ret+fromIndex); > } ># 841 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Int32 indexOfAsciiL( > char const * str, sal_Int32 len, sal_Int32 fromIndex = 0) const > > { > sal_Int32 ret = rtl_ustr_indexOfAscii_WithLength( > pData->buffer + fromIndex, pData->length - fromIndex, str, len); > return ret < 0 ? ret : ret + fromIndex; > } ># 865 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Int32 lastIndexOf( const OUString & str ) const > { > return rtl_ustr_lastIndexOfStr_WithLength( pData->buffer, pData->length, > str.pData->buffer, str.pData->length ); > } ># 888 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Int32 lastIndexOf( const OUString & str, sal_Int32 fromIndex ) const > { > return rtl_ustr_lastIndexOfStr_WithLength( pData->buffer, fromIndex, > str.pData->buffer, str.pData->length ); > } ># 913 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Int32 lastIndexOfAsciiL(char const * str, sal_Int32 len) const > > { > return rtl_ustr_lastIndexOfAscii_WithLength( > pData->buffer, pData->length, str, len); > } ># 929 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > OUString copy( sal_Int32 beginIndex ) const > { > ((void)0); > if ( beginIndex == 0 ) > return *this; > else > { > rtl_uString* pNew = 0; > rtl_uString_newFromStr_WithLength( &pNew, pData->buffer+beginIndex, getLength()-beginIndex ); > return OUString( pNew, (DO_NOT_ACQUIRE*)0 ); > } > } ># 953 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > OUString copy( sal_Int32 beginIndex, sal_Int32 count ) const > { > ((void)0); > > if ( (beginIndex == 0) && (count == getLength()) ) > return *this; > else > { > rtl_uString* pNew = 0; > rtl_uString_newFromStr_WithLength( &pNew, pData->buffer+beginIndex, count ); > return OUString( pNew, (DO_NOT_ACQUIRE*)0 ); > } > } ># 975 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > OUString concat( const OUString & str ) const > { > rtl_uString* pNew = 0; > rtl_uString_newConcat( &pNew, pData, str.pData ); > return OUString( pNew, (DO_NOT_ACQUIRE*)0 ); > } > > friend OUString operator+( const OUString& rStr1, const OUString& rStr2 ) > { > return rStr1.concat( rStr2 ); > } ># 1000 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > OUString replaceAt( sal_Int32 index, sal_Int32 count, const OUString& newStr ) const > { > rtl_uString* pNew = 0; > rtl_uString_newReplaceStrAt( &pNew, pData, index, count, newStr.pData ); > return OUString( pNew, (DO_NOT_ACQUIRE*)0 ); > } ># 1020 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > OUString replace( sal_Unicode oldChar, sal_Unicode newChar ) const > { > rtl_uString* pNew = 0; > rtl_uString_newReplace( &pNew, pData, oldChar, newChar ); > return OUString( pNew, (DO_NOT_ACQUIRE*)0 ); > } ># 1037 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > OUString toAsciiLowerCase() const > { > rtl_uString* pNew = 0; > rtl_uString_newToAsciiLowerCase( &pNew, pData ); > return OUString( pNew, (DO_NOT_ACQUIRE*)0 ); > } ># 1054 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > OUString toAsciiUpperCase() const > { > rtl_uString* pNew = 0; > rtl_uString_newToAsciiUpperCase( &pNew, pData ); > return OUString( pNew, (DO_NOT_ACQUIRE*)0 ); > } ># 1072 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > OUString trim() const > { > rtl_uString* pNew = 0; > rtl_uString_newTrim( &pNew, pData ); > return OUString( pNew, (DO_NOT_ACQUIRE*)0 ); > } ># 1103 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > OUString getToken( sal_Int32 token, sal_Unicode cTok, sal_Int32& index ) const > { > rtl_uString * pNew = 0; > index = rtl_uString_getToken( &pNew, pData, token, cTok, index ); > return OUString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 1118 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Bool toBoolean() const > { > return rtl_ustr_toBoolean( pData->buffer ); > } > > > > > > > > sal_Unicode toChar() const > { > return pData->buffer[0]; > } ># 1143 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Int32 toInt32( sal_Int16 radix = 10 ) const > { > return rtl_ustr_toInt32( pData->buffer, radix ); > } ># 1157 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > sal_Int64 toInt64( sal_Int16 radix = 10 ) const > { > return rtl_ustr_toInt64( pData->buffer, radix ); > } ># 1170 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > float toFloat() const > { > return rtl_ustr_toFloat( pData->buffer ); > } ># 1183 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > double toDouble() const > { > return rtl_ustr_toDouble( pData->buffer ); > } ># 1204 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > OUString intern() const > { > rtl_uString * pNew = 0; > rtl_uString_intern( &pNew, pData ); > > ((void)0); > > > > > > return OUString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 1243 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > static OUString intern( const sal_Char * value, sal_Int32 length, > rtl_TextEncoding encoding, > sal_uInt32 convertFlags = (((sal_uInt32)0x0003) | ((sal_uInt32)0x0030) | ((sal_uInt32)0x0300)), > sal_uInt32 *pInfo = __null ) > { > rtl_uString * pNew = 0; > rtl_uString_internConvert( &pNew, value, length, encoding, > convertFlags, pInfo ); > > ((void)0); > > > > > > return OUString( pNew, (DO_NOT_ACQUIRE *)0 ); > } ># 1285 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > inline bool convertToString(OString * pTarget, rtl_TextEncoding nEncoding, > sal_uInt32 nFlags) const > { > return rtl_convertUStringToString(&pTarget->pData, pData->buffer, > pData->length, nEncoding, nFlags); > } ># 1343 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > inline sal_uInt32 iterateCodePoints( > sal_Int32 * indexUtf16, sal_Int32 incrementCodePoints = 1) const > { > return rtl_uString_iterateCodePoints( > pData, indexUtf16, incrementCodePoints); > } ># 1360 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > static OUString valueOf( sal_Bool b ) > { > sal_Unicode aBuf[6]; > rtl_uString* pNewData = 0; > rtl_uString_newFromStr_WithLength( &pNewData, aBuf, rtl_ustr_valueOfBoolean( aBuf, b ) ); > return OUString( pNewData, (DO_NOT_ACQUIRE*)0 ); > } > > > > > > > > static OUString valueOf( sal_Unicode c ) > { > return OUString( &c, 1 ); > } ># 1388 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > static OUString valueOf( sal_Int32 i, sal_Int16 radix = 10 ) > { > sal_Unicode aBuf[33]; > rtl_uString* pNewData = 0; > rtl_uString_newFromStr_WithLength( &pNewData, aBuf, rtl_ustr_valueOfInt32( aBuf, i, radix ) ); > return OUString( pNewData, (DO_NOT_ACQUIRE*)0 ); > } ># 1405 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > static OUString valueOf( sal_Int64 ll, sal_Int16 radix = 10 ) > { > sal_Unicode aBuf[65]; > rtl_uString* pNewData = 0; > rtl_uString_newFromStr_WithLength( &pNewData, aBuf, rtl_ustr_valueOfInt64( aBuf, ll, radix ) ); > return OUString( pNewData, (DO_NOT_ACQUIRE*)0 ); > } ># 1421 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > static OUString valueOf( float f ) > { > sal_Unicode aBuf[15]; > rtl_uString* pNewData = 0; > rtl_uString_newFromStr_WithLength( &pNewData, aBuf, rtl_ustr_valueOfFloat( aBuf, f ) ); > return OUString( pNewData, (DO_NOT_ACQUIRE*)0 ); > } ># 1437 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > static OUString valueOf( double d ) > { > sal_Unicode aBuf[25]; > rtl_uString* pNewData = 0; > rtl_uString_newFromStr_WithLength( &pNewData, aBuf, rtl_ustr_valueOfDouble( aBuf, d ) ); > return OUString( pNewData, (DO_NOT_ACQUIRE*)0 ); > } ># 1457 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > static OUString createFromAscii( const sal_Char * value ) > { > rtl_uString* pNew = 0; > rtl_uString_newFromAscii( &pNew, value ); > return OUString( pNew, (DO_NOT_ACQUIRE*)0 ); > } >}; ># 1472 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" >struct OUStringHash >{ ># 1483 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" > size_t operator()(const rtl::OUString& rString) const > { return (size_t)rString.hashCode(); } >}; ># 1506 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" >inline OUString OStringToOUString( const OString & rStr, > rtl_TextEncoding encoding, > sal_uInt32 convertFlags = (((sal_uInt32)0x0003) | ((sal_uInt32)0x0030) | ((sal_uInt32)0x0300)) ) >{ > return OUString( rStr.getStr(), rStr.getLength(), encoding, convertFlags ); >} ># 1530 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/rtl/ustring.hxx" >inline OString OUStringToOString( const OUString & rUnicode, > rtl_TextEncoding encoding, > sal_uInt32 convertFlags = (((sal_uInt32)0x0006) | ((sal_uInt32)0x0060) | ((sal_uInt32)0x0100) | ((sal_uInt32)0x0400) | ((sal_uInt32)0x4000)) ) >{ > return OString( rUnicode.getStr(), rUnicode.getLength(), encoding, convertFlags ); >} > > > >} ># 43 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/string.hxx" 2 ># 60 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/string.hxx" >class ResId; >class String; >class ByteString; >class String; ># 85 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/string.hxx" >typedef rtl_TextEncoding CharSet; > > > >inline rtl_TextEncoding gsl_getSystemTextEncoding() >{ > return osl_getThreadTextEncoding(); >} > > > > > > > >enum LineEnd { LINEEND_CR, LINEEND_LF, LINEEND_CRLF }; > >inline LineEnd GetSystemLineEnd() >{ > > return LINEEND_LF; > > > >} ># 129 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/string.hxx" >enum StringCompare { COMPARE_LESS = -1, COMPARE_EQUAL = 0, COMPARE_GREATER = 1 }; ># 146 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/string.hxx" >typedef struct _ByteStringData >{ > sal_Int32 mnRefCount; > sal_Int32 mnLen; > sal_Char maStr[1]; >} ByteStringData; ># 163 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/string.hxx" >class ByteString >{ > friend class String; > > __attribute__ ((visibility("hidden"))) void InitStringRes( const String& rStr ); > >private: > ByteStringData* mpData; > > __attribute__ ((visibility("hidden"))) inline void ImplCopyData(); > __attribute__ ((visibility("hidden"))) inline char * ImplCopyStringData(char *); > __attribute__ ((visibility("hidden"))) void ImplUpdateStringFromUniString( > sal_Unicode const *, sal_Size, rtl_TextEncoding, sal_uInt32); > __attribute__ ((visibility("hidden"))) void ImplStringConvert( > rtl_TextEncoding, rtl_TextEncoding, BOOL); > >public: > ByteString(); > ByteString( const ByteString& rStr ); > ByteString( const ByteString& rStr, USHORT nPos, USHORT nLen ); > ByteString( const rtl::OString& rStr ); > ByteString( const sal_Char* pCharStr ); > ByteString( const sal_Char* pCharStr, USHORT nLen ); > ByteString( const int* pDummy ); > ByteString( sal_Char c ); > ByteString(int); > > ByteString( const String& rUniStr, > rtl_TextEncoding eTextEncoding, > sal_uInt32 nCvtFlags = (((sal_uInt32)0x0006) | ((sal_uInt32)0x0060) | ((sal_uInt32)0x0100) | ((sal_uInt32)0x0400) | ((sal_uInt32)0x4000)) ); > ByteString( const String& rUniStr, USHORT nPos, USHORT nLen, > rtl_TextEncoding eTextEncoding, > sal_uInt32 nCvtFlags = (((sal_uInt32)0x0006) | ((sal_uInt32)0x0060) | ((sal_uInt32)0x0100) | ((sal_uInt32)0x0400) | ((sal_uInt32)0x4000)) ); > ByteString( const sal_Unicode* pUniStr, > rtl_TextEncoding eTextEncoding, > sal_uInt32 nCvtFlags = (((sal_uInt32)0x0006) | ((sal_uInt32)0x0060) | ((sal_uInt32)0x0100) | ((sal_uInt32)0x0400) | ((sal_uInt32)0x4000)) ); > ByteString( const sal_Unicode* pUniStr, USHORT nLen, > rtl_TextEncoding eTextEncoding, > sal_uInt32 nCvtFlags = (((sal_uInt32)0x0006) | ((sal_uInt32)0x0060) | ((sal_uInt32)0x0100) | ((sal_uInt32)0x0400) | ((sal_uInt32)0x4000)) ); > ~ByteString(); > > operator rtl::OString () const > { > return rtl::OString (reinterpret_cast<rtl_String*>(mpData)); > } > > static ByteString CreateFromInt32( sal_Int32 n, sal_Int16 nRadix = 10 ); > static ByteString CreateFromInt64( sal_Int64 n, sal_Int16 nRadix = 10 ); > static ByteString CreateFromFloat( float f ); > static ByteString CreateFromDouble( double d ); > static const ByteString& EmptyString(); > sal_Int32 ToInt32() const; > sal_Int64 ToInt64() const; > float ToFloat() const; > double ToDouble() const; > > ByteString& Assign( const ByteString& rStr ); > ByteString& Assign( const rtl::OString& rStr ); > ByteString& Assign( const sal_Char* pCharStr ); > ByteString& Assign( const sal_Char* pCharStr, USHORT nLen ); > ByteString& Assign( sal_Char c ); > void Assign(int); > > ByteString& operator =( const ByteString& rStr ) > { return Assign( rStr ); } > ByteString& operator =( const rtl::OString& rStr ) > { return Assign( rStr ); } > ByteString& operator =( const sal_Char* pCharStr ) > { return Assign( pCharStr ); } > ByteString& operator =( const sal_Char c ) > { return Assign( c ); } > void operator =(int); > > > ByteString& Append( const ByteString& rStr ); > ByteString& Append( const sal_Char* pCharStr ); > ByteString& Append( const sal_Char* pCharStr, USHORT nLen ); > ByteString& Append( char c ); > void Append(int); > > ByteString& operator +=( const ByteString& rStr ) > { return Append( rStr ); } > ByteString& operator +=( const sal_Char* pCharStr ) > { return Append( pCharStr ); } > ByteString& operator +=( sal_Char c ) > { return Append( c ); } > void operator +=(int); > > > void SetChar( USHORT nIndex, sal_Char c ); > sal_Char GetChar( USHORT nIndex ) const > { return mpData->maStr[nIndex]; } > > USHORT Len() const { return (USHORT)mpData->mnLen; } > > ByteString& Insert( const ByteString& rStr, USHORT nIndex = ((USHORT)0xFFFF) ); > ByteString& Insert( const ByteString& rStr, USHORT nPos, USHORT nLen, > USHORT nIndex = ((USHORT)0xFFFF) ); > ByteString& Insert( const sal_Char* pCharStr, USHORT nIndex = ((USHORT)0xFFFF) ); > ByteString& Insert( sal_Char c, USHORT nIndex = ((USHORT)0xFFFF) ); > ByteString& Replace( USHORT nIndex, USHORT nCount, const ByteString& rStr ); > ByteString& Erase( USHORT nIndex = 0, USHORT nCount = ((USHORT)0xFFFF) ); > ByteString Copy( USHORT nIndex = 0, USHORT nCount = ((USHORT)0xFFFF) ) const; > > ByteString& Fill( USHORT nCount, sal_Char cFillChar = ' ' ); > ByteString& Expand( USHORT nCount, sal_Char cExpandChar = ' ' ); > > ByteString& EraseLeadingChars( sal_Char c = ' ' ); > ByteString& EraseTrailingChars( sal_Char c = ' ' ); > ByteString& EraseLeadingAndTrailingChars( sal_Char c = ' ' ); > ByteString& EraseAllChars( sal_Char c = ' ' ); > ByteString& Reverse(); > > ByteString& Convert( rtl_TextEncoding eSource, > rtl_TextEncoding eTarget, > BOOL bReplace = 1 ); > static sal_Char Convert( sal_Char c, rtl_TextEncoding eSource, > rtl_TextEncoding eTarget, > BOOL bReplace = 1 ); > static sal_Unicode ConvertToUnicode( sal_Char c, > rtl_TextEncoding eTextEncoding ); > static sal_Char ConvertFromUnicode( sal_Unicode c, > rtl_TextEncoding eTextEncoding, > BOOL bReplace = 1 ); > static sal_Unicode ConvertToUnicode( const sal_Char* pChar, sal_Size* pLen, > rtl_TextEncoding eTextEncoding ); > static sal_Size ConvertFromUnicode( sal_Unicode c, sal_Char* pBuf, sal_Size nBufLen, > rtl_TextEncoding eTextEncoding, > BOOL bReplace = 1 ); > ByteString& ConvertLineEnd( LineEnd eLineEnd ); > ByteString& ConvertLineEnd() > { return ConvertLineEnd( GetSystemLineEnd() ); } > > BOOL IsLowerAscii() const; > BOOL IsUpperAscii() const; > BOOL IsAlphaAscii() const; > BOOL IsNumericAscii() const; > BOOL IsAlphaNumericAscii() const; > > ByteString& ToLowerAscii(); > ByteString& ToUpperAscii(); > > StringCompare CompareTo( const ByteString& rStr, > USHORT nLen = ((USHORT)0xFFFF) ) const; > StringCompare CompareTo( const sal_Char* pCharStr, > USHORT nLen = ((USHORT)0xFFFF) ) const; > StringCompare CompareIgnoreCaseToAscii( const ByteString& rStr, > USHORT nLen = ((USHORT)0xFFFF) ) const; > StringCompare CompareIgnoreCaseToAscii( const sal_Char* pCharStr, > USHORT nLen = ((USHORT)0xFFFF) ) const; > BOOL Equals( const ByteString& rStr ) const; > BOOL Equals( const sal_Char* pCharStr ) const; > BOOL EqualsIgnoreCaseAscii( const ByteString& rStr ) const; > BOOL EqualsIgnoreCaseAscii( const sal_Char* pCharStr ) const; > BOOL Equals( const ByteString& rStr, > USHORT nIndex, USHORT nLen ) const; > BOOL Equals( const sal_Char* pCharStr, > USHORT nIndex, USHORT nLen ) const; > BOOL EqualsIgnoreCaseAscii( const ByteString& rStr, > USHORT nIndex, USHORT nLen ) const; > BOOL EqualsIgnoreCaseAscii( const sal_Char* pCharStr, > USHORT nIndex, USHORT nLen ) const; > > USHORT Match( const ByteString& rStr ) const; > USHORT Match( const sal_Char* pCharStr ) const; > > USHORT Search( sal_Char c, USHORT nIndex = 0 ) const; > USHORT Search( const ByteString& rStr, USHORT nIndex = 0 ) const; > USHORT Search( const sal_Char* pCharStr, USHORT nIndex = 0 ) const; > USHORT SearchBackward( sal_Char c, USHORT nIndex = ((USHORT)0xFFFF) ) const; > USHORT SearchChar( const sal_Char* pChars, USHORT nIndex = 0 ) const; > USHORT SearchCharBackward( const sal_Char* pChars, USHORT nIndex = ((USHORT)0xFFFF) ) const; > > USHORT SearchAndReplace( sal_Char c, sal_Char cRep, USHORT nIndex = 0 ); > USHORT SearchAndReplace( const ByteString& rStr, const ByteString& rRepStr, > USHORT nIndex = 0 ); > USHORT SearchAndReplace( const sal_Char* pCharStr, const ByteString& rRepStr, > USHORT nIndex = 0 ); > void SearchAndReplaceAll( sal_Char c, sal_Char cRep ); > void SearchAndReplaceAll( const ByteString& rStr, const ByteString& rRepStr ); > void SearchAndReplaceAll( const sal_Char* pCharStr, const ByteString& rRepStr ); > > USHORT GetTokenCount( sal_Char cTok = ';' ) const; > void SetToken( USHORT nToken, sal_Char cTok, const ByteString& rStr, > USHORT nIndex = 0 ); > ByteString GetToken( USHORT nToken, sal_Char cTok, USHORT& rIndex ) const; > ByteString GetToken( USHORT nToken, sal_Char cTok = ';' ) const; > > USHORT GetQuotedTokenCount( const ByteString& rQuotedPairs, sal_Char cTok = ';' ) const; > ByteString GetQuotedToken( USHORT nToken, const ByteString& rQuotedPairs, > sal_Char cTok, USHORT& rIndex ) const; > ByteString GetQuotedToken( USHORT nToken, const ByteString& rQuotedPairs, > sal_Char cTok = ';' ) const; > > const sal_Char* GetBuffer() const { return mpData->maStr; } > sal_Char* GetBufferAccess(); > void ReleaseBufferAccess( USHORT nLen = ((USHORT)0xFFFF) ); > sal_Char* AllocBuffer( USHORT nLen ); > > friend BOOL operator == ( const ByteString& rStr1, const ByteString& rStr2 ) > { return rStr1.Equals( rStr2 ); } > friend BOOL operator == ( const ByteString& rStr, const sal_Char* pCharStr ) > { return rStr.Equals( pCharStr ); } > friend BOOL operator == ( const sal_Char* pCharStr, const ByteString& rStr ) > { return rStr.Equals( pCharStr ); } > friend BOOL operator != ( const ByteString& rStr1, const ByteString& rStr2 ) > { return !(operator == ( rStr1, rStr2 )); } > friend BOOL operator != ( const ByteString& rStr, const sal_Char* pCharStr ) > { return !(operator == ( rStr, pCharStr )); } > friend BOOL operator != ( const sal_Char* pCharStr, const ByteString& rStr ) > { return !(operator == ( pCharStr, rStr )); } > friend BOOL operator < ( const ByteString& rStr1, const ByteString& rStr2 ) > { return (rStr1.CompareTo( rStr2 ) == COMPARE_LESS); } > friend BOOL operator < ( const ByteString& rStr, const sal_Char* pCharStr ) > { return (rStr.CompareTo( pCharStr ) == COMPARE_LESS); } > friend BOOL operator < ( const sal_Char* pCharStr, const ByteString& rStr ) > { return (rStr.CompareTo( pCharStr ) >= COMPARE_EQUAL); } > friend BOOL operator > ( const ByteString& rStr1, const ByteString& rStr2 ) > { return (rStr1.CompareTo( rStr2 ) == COMPARE_GREATER); } > friend BOOL operator > ( const ByteString& rStr, const sal_Char* pCharStr ) > { return (rStr.CompareTo( pCharStr ) == COMPARE_GREATER); } > friend BOOL operator > ( const sal_Char* pCharStr, const ByteString& rStr ) > { return (rStr.CompareTo( pCharStr ) <= COMPARE_EQUAL); } > friend BOOL operator <= ( const ByteString& rStr1, const ByteString& rStr2 ) > { return !(operator > ( rStr1, rStr2 )); } > friend BOOL operator <= ( const ByteString& rStr, const sal_Char* pCharStr ) > { return !(operator > ( rStr, pCharStr )); } > friend BOOL operator <= ( const sal_Char* pCharStr, const ByteString& rStr ) > { return !(operator > ( pCharStr, rStr )); } > friend BOOL operator >= ( const ByteString& rStr1, const ByteString& rStr2 ) > { return !(operator < ( rStr1, rStr2 )); } > friend BOOL operator >= ( const ByteString& rStr, const sal_Char* pCharStr ) > { return !(operator < ( rStr, pCharStr )); } > friend BOOL operator >= ( const sal_Char* pCharStr, const ByteString& rStr ) > { return !(operator < ( pCharStr, rStr )); } >}; > >inline ByteString ByteString::Copy( USHORT nIndex, USHORT nCount ) const >{ > return ByteString( *this, nIndex, nCount ); >} > >inline ByteString ByteString::GetToken( USHORT nToken, sal_Char cTok ) const >{ > USHORT nTempPos = 0; > return GetToken( nToken, cTok, nTempPos ); >} > >inline ByteString ByteString::GetQuotedToken( USHORT nToken, const ByteString& rQuotedPairs, > sal_Char cTok ) const >{ > USHORT nTempPos = 0; > return GetQuotedToken( nToken, rQuotedPairs, cTok, nTempPos ); >} ># 433 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/string.hxx" >typedef struct _UniStringData >{ > sal_Int32 mnRefCount; > sal_Int32 mnLen; > sal_Unicode maStr[1]; >} UniStringData; ># 458 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/string.hxx" >class String >{ > friend class ByteString; > > __attribute__ ((visibility("hidden"))) void InitStringRes( const sal_Char* pUTF8Str, sal_Int32 nLen ); > >private: > UniStringData* mpData; > > __attribute__ ((visibility("hidden"))) inline void ImplCopyData(); > __attribute__ ((visibility("hidden"))) inline sal_Unicode * ImplCopyStringData(sal_Unicode *); > >public: > String(); > String( const ResId& rResId ); > String( const String& rStr ); > String( const String& rStr, USHORT nPos, USHORT nLen ); > String( const rtl::OUString& rStr ); > String( const sal_Unicode* pCharStr ); > String( const sal_Unicode* pCharStr, USHORT nLen ); > String( const int* pDummy ); > String( sal_Unicode c ); > String(int); > > String(char c); > String( const ByteString& rByteStr, > rtl_TextEncoding eTextEncoding, > sal_uInt32 nCvtFlags = (((sal_uInt32)0x0003) | ((sal_uInt32)0x0030) | ((sal_uInt32)0x0300)) ); > String( const ByteString& rByteStr, USHORT nPos, USHORT nLen, > rtl_TextEncoding eTextEncoding, > sal_uInt32 nCvtFlags = (((sal_uInt32)0x0003) | ((sal_uInt32)0x0030) | ((sal_uInt32)0x0300)) ); > String( const sal_Char* pByteStr, > rtl_TextEncoding eTextEncoding, > sal_uInt32 nCvtFlags = (((sal_uInt32)0x0003) | ((sal_uInt32)0x0030) | ((sal_uInt32)0x0300)) ); > String( const sal_Char* pByteStr, USHORT nLen, > rtl_TextEncoding eTextEncoding, > sal_uInt32 nCvtFlags = (((sal_uInt32)0x0003) | ((sal_uInt32)0x0030) | ((sal_uInt32)0x0300)) ); > ~String(); > > operator rtl::OUString () const > { > return rtl::OUString (reinterpret_cast<rtl_uString*>(mpData)); > } > > String intern() const; > > static String CreateFromAscii( const sal_Char* pAsciiStr ); > static String CreateFromAscii( const sal_Char* pAsciiStr, USHORT nLen ); > > static String CreateFromInt32( sal_Int32 n, sal_Int16 nRadix = 10 ); > static String CreateFromInt64( sal_Int64 n, sal_Int16 nRadix = 10 ); > static String CreateFromFloat( float f ); > static String CreateFromDouble( double d ); > static const String& EmptyString(); > sal_Int32 ToInt32() const; > sal_Int64 ToInt64() const; > float ToFloat() const; > double ToDouble() const; > > String& Assign( const String& rStr ); > String& Assign( const rtl::OUString& rStr ); > String& Assign( const sal_Unicode* pCharStr ); > String& Assign( const sal_Unicode* pCharStr, USHORT nLen ); > String& Assign( sal_Unicode c ); > void Assign(int); > > inline String & Assign(char c) > { return Assign(static_cast< sal_Unicode >(c)); } > String& AssignAscii( const sal_Char* pAsciiStr ); > String& AssignAscii( const sal_Char* pAsciiStr, USHORT nLen ); > String& operator =( const String& rStr ) > { return Assign( rStr ); } > String& operator =( const rtl::OUString& rStr ) > { return Assign( rStr ); } > String& operator =( const sal_Unicode* pCharStr ) > { return Assign( pCharStr ); } > String& operator =( sal_Unicode c ) > { return Assign( c ); } > void operator =(int); > > inline String & operator =(char c) > { return operator =(static_cast< sal_Unicode >(c)); } > > String& Append( const String& rStr ); > String& Append( const sal_Unicode* pCharStr ); > String& Append( const sal_Unicode* pCharStr, USHORT nLen ); > String& Append( sal_Unicode c ); > void Append(int); > > inline String & Append(char c) > { return Append(static_cast< sal_Unicode >(c)); } > String& AppendAscii( const sal_Char* pAsciiStr ); > String& AppendAscii( const sal_Char* pAsciiStr, USHORT nLen ); > String& operator +=( const String& rStr ) > { return Append( rStr ); } > String& operator +=( const sal_Unicode* pCharStr ) > { return Append( pCharStr ); } > String& operator +=( sal_Unicode c ) > { return Append( c ); } > void operator +=(int); > > inline String & operator +=(char c) > { return operator +=(static_cast< sal_Unicode >(c)); } > > void SetChar( USHORT nIndex, sal_Unicode c ); > sal_Unicode GetChar( USHORT nIndex ) const > { return mpData->maStr[nIndex]; } > > USHORT Len() const { return (USHORT)mpData->mnLen; } > > String& Insert( const String& rStr, USHORT nIndex = ((USHORT)0xFFFF) ); > String& Insert( const String& rStr, USHORT nPos, USHORT nLen, > USHORT nIndex = ((USHORT)0xFFFF) ); > String& Insert( const sal_Unicode* pCharStr, USHORT nIndex = ((USHORT)0xFFFF) ); > String& Insert( sal_Unicode c, USHORT nIndex = ((USHORT)0xFFFF) ); > String& InsertAscii( const sal_Char* pAsciiStr, USHORT nIndex = ((USHORT)0xFFFF) ); > String& Replace( USHORT nIndex, USHORT nLen, const String& rStr ); > String& ReplaceAscii( USHORT nIndex, USHORT nLen, > const sal_Char* pAsciiStr, USHORT nStrLen = ((USHORT)0xFFFF) ); > String& Erase( USHORT nIndex = 0, USHORT nCount = ((USHORT)0xFFFF) ); > String Copy( USHORT nIndex = 0, USHORT nCount = ((USHORT)0xFFFF) ) const; > > String& Fill( USHORT nCount, sal_Unicode cFillChar = ' ' ); > String& Expand( USHORT nCount, sal_Unicode cExpandChar = ' ' ); > > String& EraseLeadingChars( sal_Unicode c = ' ' ); > String& EraseTrailingChars( sal_Unicode c = ' ' ); > String& EraseLeadingAndTrailingChars( sal_Unicode c = ' ' ); > String& EraseAllChars( sal_Unicode c = ' ' ); > String& Reverse(); > > String& ConvertLineEnd( LineEnd eLineEnd ); > String& ConvertLineEnd() > { return ConvertLineEnd( GetSystemLineEnd() ); } > > String& ToLowerAscii(); > String& ToUpperAscii(); > > StringCompare CompareTo( const String& rStr, > USHORT nLen = ((USHORT)0xFFFF) ) const; > StringCompare CompareTo( const sal_Unicode* pCharStr, > USHORT nLen = ((USHORT)0xFFFF) ) const; > StringCompare CompareToAscii( const sal_Char* pAsciiStr, > USHORT nLen = ((USHORT)0xFFFF) ) const; > StringCompare CompareIgnoreCaseToAscii( const String& rStr, > USHORT nLen = ((USHORT)0xFFFF) ) const; > StringCompare CompareIgnoreCaseToAscii( const sal_Unicode* pCharStr, > USHORT nLen = ((USHORT)0xFFFF) ) const; > StringCompare CompareIgnoreCaseToAscii( const sal_Char* pAsciiStr, > USHORT nLen = ((USHORT)0xFFFF) ) const; > BOOL Equals( const String& rStr ) const; > BOOL Equals( const sal_Unicode* pCharStr ) const; > BOOL EqualsAscii( const sal_Char* pAsciiStr ) const; > BOOL EqualsIgnoreCaseAscii( const String& rStr ) const; > BOOL EqualsIgnoreCaseAscii( const sal_Unicode* pCharStr ) const; > BOOL EqualsIgnoreCaseAscii( const sal_Char* pAsciiStr ) const; > BOOL Equals( const String& rStr, > USHORT nIndex, USHORT nLen ) const; > BOOL Equals( const sal_Unicode* pCharStr, > USHORT nIndex, USHORT nLen ) const; > BOOL EqualsAscii( const sal_Char* pAsciiStr, > USHORT nIndex, USHORT nLen ) const; > BOOL EqualsIgnoreCaseAscii( const String& rStr, > USHORT nIndex, USHORT nLen ) const; > BOOL EqualsIgnoreCaseAscii( const sal_Unicode* pCharStr, > USHORT nIndex, USHORT nLen ) const; > BOOL EqualsIgnoreCaseAscii( const sal_Char* pAsciiStr, > USHORT nIndex, USHORT nLen ) const; > > USHORT Match( const String& rStr ) const; > USHORT Match( const sal_Unicode* pCharStr ) const; > > USHORT Search( sal_Unicode c, USHORT nIndex = 0 ) const; > USHORT Search( const String& rStr, USHORT nIndex = 0 ) const; > USHORT Search( const sal_Unicode* pCharStr, USHORT nIndex = 0 ) const; > USHORT SearchAscii( const sal_Char* pAsciiStr, USHORT nIndex = 0 ) const; > USHORT SearchBackward( sal_Unicode c, USHORT nIndex = ((USHORT)0xFFFF) ) const; > USHORT SearchChar( const sal_Unicode* pChars, USHORT nIndex = 0 ) const; > USHORT SearchCharBackward( const sal_Unicode* pChars, USHORT nIndex = ((USHORT)0xFFFF) ) const; > > USHORT SearchAndReplace( sal_Unicode c, sal_Unicode cRep, > USHORT nIndex = 0 ); > USHORT SearchAndReplace( const String& rStr, const String& rRepStr, > USHORT nIndex = 0 ); > USHORT SearchAndReplace( const sal_Unicode* pCharStr, const String& rRepStr, > USHORT nIndex = 0 ); > USHORT SearchAndReplaceAscii( const sal_Char* pAsciiStr, const String& rRepStr, > USHORT nIndex = 0 ); > void SearchAndReplaceAll( sal_Unicode c, sal_Unicode cRep ); > void SearchAndReplaceAll( const String& rStr, const String& rRepStr ); > void SearchAndReplaceAll( const sal_Unicode* pCharStr, const String& rRepStr ); > void SearchAndReplaceAllAscii( const sal_Char* pAsciiStr, const String& rRepStr ); > > USHORT GetTokenCount( sal_Unicode cTok = ';' ) const; > void SetToken( USHORT nToken, sal_Unicode cTok, const String& rStr, > USHORT nIndex = 0 ); > String GetToken( USHORT nToken, sal_Unicode cTok, USHORT& rIndex ) const; > String GetToken( USHORT nToken, sal_Unicode cTok = ';' ) const; > > USHORT GetQuotedTokenCount( const String& rQuotedPairs, sal_Unicode cTok = ';' ) const; > String GetQuotedToken( USHORT nToken, const String& rQuotedPairs, > sal_Unicode cTok, USHORT& rIndex ) const; > String GetQuotedToken( USHORT nToken, const String& rQuotedPairs, > sal_Unicode cTok = ';' ) const; > > const sal_Unicode* GetBuffer() const { return mpData->maStr; } > sal_Unicode* GetBufferAccess(); > void ReleaseBufferAccess( USHORT nLen = ((USHORT)0xFFFF) ); > sal_Unicode* AllocBuffer( USHORT nLen ); > > friend BOOL operator == ( const String& rStr1, const String& rStr2 ) > { return rStr1.Equals( rStr2 ); } > friend BOOL operator != ( const String& rStr1, const String& rStr2 ) > { return !(operator == ( rStr1, rStr2 )); } > friend BOOL operator < ( const String& rStr1, const String& rStr2 ) > { return (rStr1.CompareTo( rStr2 ) == COMPARE_LESS); } > friend BOOL operator > ( const String& rStr1, const String& rStr2 ) > { return (rStr1.CompareTo( rStr2 ) == COMPARE_GREATER); } > friend BOOL operator <= ( const String& rStr1, const String& rStr2 ) > { return !(operator > ( rStr1, rStr2 )); } > friend BOOL operator >= ( const String& rStr1, const String& rStr2 ) > { return !(operator < ( rStr1, rStr2 )); } >}; > >inline String String::Copy( USHORT nIndex, USHORT nCount ) const >{ > return String( *this, nIndex, nCount ); >} > >inline String String::GetToken( USHORT nToken, sal_Unicode cTok ) const >{ > USHORT nTempPos = 0; > return GetToken( nToken, cTok, nTempPos ); >} > >inline String String::GetQuotedToken( USHORT nToken, const String& rQuotedPairs, > sal_Unicode cTok ) const >{ > USHORT nTempPos = 0; > return GetQuotedToken( nToken, rQuotedPairs, cTok, nTempPos ); >} ># 93 "../../inc/basic/sbxform.hxx" 2 > >class SbxBasicFormater { > public: > > > > SbxBasicFormater( sal_Unicode _cDecPoint, sal_Unicode _cThousandSep, > String _sOnStrg, > String _sOffStrg, > String _sYesStrg, > String _sNoStrg, > String _sTrueStrg, > String _sFalseStrg, > String _sCurrencyStrg, > String _sCurrencyFormatStrg ); ># 118 "../../inc/basic/sbxform.hxx" > String BasicFormat( double dNumber, String sFormatStrg ); > String BasicFormatNull( String sFormatStrg ); > > static BOOL isBasicFormat( String sFormatStrg ); > > private: > > > inline void ShiftString( String& sStrg, USHORT nStartPos ); > inline void StrAppendChar( String& sStrg, sal_Unicode ch ); > void AppendDigit( String& sStrg, short nDigit ); > void LeftShiftDecimalPoint( String& sStrg ); > void StrRoundDigit( String& sStrg, short nPos, BOOL& bOverflow ); > void StrRoundDigit( String& sStrg, short nPos ); > void ParseBack( String& sStrg, const String& sFormatStrg, > short nFormatPos ); > > > void InitScan( double _dNum ); > void InitExp( double _dNewExp ); > short GetDigitAtPosScan( short nPos, BOOL& bFoundFirstDigit ); > short GetDigitAtPosExpScan( double dNewExponent, short nPos, > BOOL& bFoundFirstDigit ); > short GetDigitAtPosExpScan( short nPos, BOOL& bFoundFirstDigit ); > > > > > > > String GetPosFormatString( const String& sFormatStrg, BOOL & bFound ); > String GetNegFormatString( const String& sFormatStrg, BOOL & bFound ); > String Get0FormatString( const String& sFormatStrg, BOOL & bFound ); > String GetNullFormatString( const String& sFormatStrg, BOOL & bFound ); > short AnalyseFormatString( const String& sFormatStrg, > short& nNoOfDigitsLeft, short& nNoOfDigitsRight, > short& nNoOfOptionalDigitsLeft, > short& nNoOfExponentDigits, > short& nNoOfOptionalExponentDigits, > BOOL& bPercent, BOOL& bCurrency, BOOL& bScientific, > BOOL& bGenerateThousandSeparator, > short& nMultipleThousandSeparators ); > void ScanFormatString( double dNumber, const String& sFormatStrg, > String& sReturnStrg, BOOL bCreateSign ); > > > sal_Unicode cDecPoint; > sal_Unicode cThousandSep; > > String sOnStrg; > String sOffStrg; > String sYesStrg; > String sNoStrg; > String sTrueStrg; > String sFalseStrg; > String sCurrencyStrg; > String sCurrencyFormatStrg; > > > > > String sSciNumStrg; > > String sNumExpStrg; > double dNum; > short nNumExp; > short nExpExp; >}; ># 40 "../../inc/basic/sbx.hxx" 2 > > ># 1 "../../inc/basic/sbxobj.hxx" 1 ># 35 "../../inc/basic/sbxobj.hxx" ># 1 "../../inc/basic/sbxvar.hxx" 1 ># 36 "../../inc/basic/sbxvar.hxx" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/offuh/com/sun/star/bridge/oleautomation/Decimal.hpp" 1 > > > > > ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/offuh/com/sun/star/bridge/oleautomation/Decimal.hdl" 1 > > > > > ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/cppu/macros.hxx" 1 ># 34 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/cppu/macros.hxx" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/uno/lbnames.h" 1 ># 35 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/cppu/macros.hxx" 2 ># 7 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/offuh/com/sun/star/bridge/oleautomation/Decimal.hdl" 2 > > >namespace com { namespace sun { namespace star { namespace bridge { namespace oleautomation { > > > > > > > >struct Decimal { > inline Decimal() ; > > inline Decimal(const ::sal_Int8& Scale_, const ::sal_Int8& Sign_, const ::sal_uInt32& LowValue_, const ::sal_uInt32& MiddleValue_, const ::sal_uInt32& HighValue_) ; > > ::sal_Int8 Scale; > ::sal_Int8 Sign; > ::sal_uInt32 LowValue; > ::sal_uInt32 MiddleValue; > ::sal_uInt32 HighValue; >}; > > > > > > > >} } } } } > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::bridge::oleautomation::Decimal* ); ># 7 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/offuh/com/sun/star/bridge/oleautomation/Decimal.hpp" 2 > ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.hxx" 1 ># 33 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.hxx" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/mutex.hxx" 1 ># 36 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/mutex.hxx" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/mutex.h" 1 ># 37 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/mutex.h" >extern "C" { > > >struct _oslMutexImpl; >typedef struct _oslMutexImpl * oslMutex; > > > > >oslMutex osl_createMutex(void); > > > > >void osl_destroyMutex(oslMutex Mutex); > > > > > >sal_Bool osl_acquireMutex(oslMutex Mutex); > > > > > >sal_Bool osl_tryToAcquireMutex(oslMutex Mutex); > > > > > >sal_Bool osl_releaseMutex(oslMutex Mutex); > > > > >oslMutex * osl_getGlobalMutex(void); > > >} ># 37 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/osl/mutex.hxx" 2 > > >namespace osl >{ > > > class Mutex { > > public: > > > > > Mutex() > { > mutex = osl_createMutex(); > } > > > > > ~Mutex() > { > osl_destroyMutex(mutex); > } > > > > > > sal_Bool acquire() > { > return osl_acquireMutex(mutex); > } > > > > > > sal_Bool tryToAcquire() > { > return osl_tryToAcquireMutex(mutex); > } > > > > > > sal_Bool release() > { > return osl_releaseMutex(mutex); > } > > > > > > > > static Mutex * getGlobalMutex() > { > return (Mutex *)osl_getGlobalMutex(); > } > > private: > oslMutex mutex; > > > > > > > > Mutex(const Mutex&); > > > > > > > > Mutex(oslMutex Mutex); > > > > > Mutex& operator= (const Mutex&); > > > > > Mutex& operator= (oslMutex); > }; > > > > template<class T> > class Guard > { > private: > Guard( const Guard& ); > const Guard& operator = ( const Guard& ); > > protected: > T * pT; > public: > > > > Guard(T * pT_) : pT(pT_) > { > pT->acquire(); > } > > > > Guard(T & t) : pT(&t) > { > pT->acquire(); > } > > > ~Guard() > { > pT->release(); > } > }; > > > > template<class T> > class ClearableGuard > { > private: > ClearableGuard( const ClearableGuard& ); > const ClearableGuard& operator = ( const ClearableGuard& ); > protected: > T * pT; > public: > > > > ClearableGuard(T * pT_) : pT(pT_) > { > pT->acquire(); > } > > > > ClearableGuard(T & t) : pT(&t) > { > pT->acquire(); > } > > > > ~ClearableGuard() > { > if (pT) > pT->release(); > } > > > > void clear() > { > if(pT) > { > pT->release(); > pT = __null; > } > } > }; > > > > template< class T > > class ResettableGuard : public ClearableGuard< T > > { > private: > ResettableGuard(ResettableGuard &); > void operator =(ResettableGuard &); > > protected: > T* pResetT; > public: > > > ResettableGuard( T* pT_ ) : > ClearableGuard<T>( pT_ ), > pResetT( pT_ ) > {} > > > > ResettableGuard( T& rT ) : > ClearableGuard<T>( rT ), > pResetT( &rT ) > {} > > > > void reset() > { > if( pResetT ) > { > this->pT = pResetT; > this->pT->acquire(); > } > } > }; > > typedef Guard<Mutex> MutexGuard; > typedef ClearableGuard<Mutex> ClearableMutexGuard; > typedef ResettableGuard< Mutex > ResettableMutexGuard; >} ># 34 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.hxx" 2 ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" 1 ># 33 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" 1 ># 34 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/uik.h" 1 ># 43 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/uik.h" >typedef struct _typelib_Uik >{ > sal_uInt32 m_Data1; > sal_uInt16 m_Data2; > sal_uInt16 m_Data3; > sal_uInt32 m_Data4; > sal_uInt32 m_Data5; >} typelib_Uik; ># 35 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" 2 ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typeclass.h" 1 ># 37 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typeclass.h" >typedef enum _typelib_TypeClass >{ > > typelib_TypeClass_VOID = 0, > > typelib_TypeClass_CHAR = 1, > > typelib_TypeClass_BOOLEAN = 2, > > typelib_TypeClass_BYTE = 3, > > typelib_TypeClass_SHORT = 4, > > typelib_TypeClass_UNSIGNED_SHORT = 5, > > typelib_TypeClass_LONG = 6, > > typelib_TypeClass_UNSIGNED_LONG = 7, > > typelib_TypeClass_HYPER = 8, > > typelib_TypeClass_UNSIGNED_HYPER = 9, > > typelib_TypeClass_FLOAT = 10, > > typelib_TypeClass_DOUBLE = 11, > > typelib_TypeClass_STRING = 12, > > typelib_TypeClass_TYPE = 13, > > typelib_TypeClass_ANY = 14, > > typelib_TypeClass_ENUM = 15, > > typelib_TypeClass_TYPEDEF = 16, > > typelib_TypeClass_STRUCT = 17, > > typelib_TypeClass_UNION = 18, > > typelib_TypeClass_EXCEPTION = 19, > > typelib_TypeClass_SEQUENCE = 20, > > typelib_TypeClass_ARRAY = 21, > > typelib_TypeClass_INTERFACE = 22, > > typelib_TypeClass_SERVICE = 23, > > typelib_TypeClass_MODULE = 24, > > typelib_TypeClass_INTERFACE_METHOD = 25, > > typelib_TypeClass_INTERFACE_ATTRIBUTE = 26, > > typelib_TypeClass_UNKNOWN = 27, > > typelib_TypeClass_PROPERTY = 28, > > typelib_TypeClass_CONSTANT = 29, > > typelib_TypeClass_CONSTANTS = 30, > > typelib_TypeClass_SINGLETON = 31, > > typelib_TypeClass_MAKE_FIXED_SIZE = 0x7fffffff >} typelib_TypeClass; ># 36 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" 2 > > > >extern "C" >{ > > >struct _typelib_TypeDescription; ># 53 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >typedef struct _typelib_TypeDescriptionReference >{ > > > > sal_Int32 nRefCount; > > > > sal_Int32 nStaticRefCount; > > > typelib_TypeClass eTypeClass; > > > rtl_uString * pTypeName; > > > struct _typelib_TypeDescription * pType; > > > void * pUniqueIdentifier; > > > void * pReserved; >} typelib_TypeDescriptionReference; > > > > > >typedef struct _typelib_TypeDescription >{ > > > > sal_Int32 nRefCount; > > > > sal_Int32 nStaticRefCount; > > > typelib_TypeClass eTypeClass; > > > rtl_uString * pTypeName; > > > struct _typelib_TypeDescription * pSelf; > > > void * pUniqueIdentifier; > > > void * pReserved; > > > > > > > sal_Bool bComplete; > > > sal_Int32 nSize; > > > sal_Int32 nAlignment; > > > typelib_TypeDescriptionReference * pWeakRef; > > > sal_Bool bOnDemand; >} typelib_TypeDescription; > > > >typedef struct _typelib_CompoundTypeDescription >{ > > > typelib_TypeDescription aBase; > > > > struct _typelib_CompoundTypeDescription * pBaseTypeDescription; > > > > sal_Int32 nMembers; > > > sal_Int32 * pMemberOffsets; > > > typelib_TypeDescriptionReference ** ppTypeRefs; > > > rtl_uString ** ppMemberNames; >} typelib_CompoundTypeDescription; ># 165 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >typedef struct _typelib_StructTypeDescription >{ > > > > typelib_CompoundTypeDescription aBase; > > > > > > > > sal_Bool * pParameterizedTypes; >} typelib_StructTypeDescription; > > > >typedef struct _typelib_UnionTypeDescription >{ > > > typelib_TypeDescription aBase; > > > > typelib_TypeDescriptionReference * pDiscriminantTypeRef; > > > > sal_Int64 nDefaultDiscriminant; > > > typelib_TypeDescriptionReference * pDefaultTypeRef; > > > sal_Int32 nMembers; > > > sal_Int64 * pDiscriminants; > > > typelib_TypeDescriptionReference ** ppTypeRefs; > > > rtl_uString ** ppMemberNames; > > > sal_Int32 nValueOffset; >} typelib_UnionTypeDescription; > > > >typedef struct _typelib_IndirectTypeDescription >{ > > > typelib_TypeDescription aBase; > > > > typelib_TypeDescriptionReference * pType; >} typelib_IndirectTypeDescription; > > > >typedef struct _typelib_ArrayTypeDescription >{ > > > typelib_IndirectTypeDescription aBase; > > > > sal_Int32 nDimensions; > > > sal_Int32 nTotalElements; > > > sal_Int32 * pDimensions; >} typelib_ArrayTypeDescription; > > > >typedef struct _typelib_EnumTypeDescription >{ > > > typelib_TypeDescription aBase; > > > > sal_Int32 nDefaultEnumValue; > > > sal_Int32 nEnumValues; > > > rtl_uString ** ppEnumNames; > > > sal_Int32 * pEnumValues; >} typelib_EnumTypeDescription; > > > >typedef struct _typelib_MethodParameter >{ > > > rtl_uString * pName; > > > typelib_TypeDescriptionReference * pTypeRef; > > > > sal_Bool bIn; > > > > sal_Bool bOut; >} typelib_MethodParameter; > > > > >typedef struct _typelib_InterfaceMemberTypeDescription >{ > > > typelib_TypeDescription aBase; > > > > > sal_Int32 nPosition; > > > rtl_uString * pMemberName; >} typelib_InterfaceMemberTypeDescription; > > > > >typedef struct _typelib_InterfaceMethodTypeDescription >{ > > > typelib_InterfaceMemberTypeDescription aBase; > > > > typelib_TypeDescriptionReference * pReturnTypeRef; > > > sal_Int32 nParams; > > > typelib_MethodParameter * pParams; > > > sal_Int32 nExceptions; > > > typelib_TypeDescriptionReference ** ppExceptions; > > > sal_Bool bOneWay; > > > > > > struct _typelib_InterfaceTypeDescription * pInterface; > > > > > > typelib_TypeDescriptionReference * pBaseRef; > > > > > > > > sal_Int32 nIndex; >} typelib_InterfaceMethodTypeDescription; > > > > >typedef struct _typelib_InterfaceAttributeTypeDescription >{ > > > typelib_InterfaceMemberTypeDescription aBase; > > > > sal_Bool bReadOnly; > > > typelib_TypeDescriptionReference * pAttributeTypeRef; > > > > > > struct _typelib_InterfaceTypeDescription * pInterface; > > > > > > typelib_TypeDescriptionReference * pBaseRef; > > > > > > > > sal_Int32 nIndex; > > > > > sal_Int32 nGetExceptions; > > > > > typelib_TypeDescriptionReference ** ppGetExceptions; > > > > > sal_Int32 nSetExceptions; > > > > > typelib_TypeDescriptionReference ** ppSetExceptions; >} typelib_InterfaceAttributeTypeDescription; ># 442 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >typedef struct _typelib_InterfaceTypeDescription > >{ > > > typelib_TypeDescription aBase; > > > > > > > struct _typelib_InterfaceTypeDescription * pBaseTypeDescription; > > > typelib_Uik aUik; > > > sal_Int32 nMembers; > > > typelib_TypeDescriptionReference ** ppMembers; > > > sal_Int32 nAllMembers; > > > typelib_TypeDescriptionReference ** ppAllMembers; > > > > sal_Int32 * pMapMemberIndexToFunctionIndex; > > > sal_Int32 nMapFunctionIndexToMemberIndex; > > > sal_Int32 * pMapFunctionIndexToMemberIndex; > > > > > sal_Int32 nBaseTypes; > > > > > struct _typelib_InterfaceTypeDescription ** ppBaseTypes; >} typelib_InterfaceTypeDescription; > > > >typedef struct _typelib_CompoundMember_Init >{ > > > typelib_TypeClass eTypeClass; > > > > > > rtl_uString * pTypeName; > > > rtl_uString * pMemberName; >} typelib_CompoundMember_Init; > > > > > > >typedef struct _typelib_StructMember_Init >{ > > > > typelib_CompoundMember_Init aBase; > > > > > > sal_Bool bParameterizedType; >} typelib_StructMember_Init; > > > >typedef struct _typelib_Parameter_Init >{ > > > typelib_TypeClass eTypeClass; > > > rtl_uString * pTypeName; > > > rtl_uString * pParamName; > > > sal_Bool bIn; > > > sal_Bool bOut; >} typelib_Parameter_Init; > > > >typedef struct _typelib_Union_Init >{ > > > sal_Int64 nDiscriminant; > > > rtl_uString * pMemberName; > > > typelib_TypeDescriptionReference* pTypeRef; >} typelib_Union_Init; ># 581 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >void typelib_typedescription_newUnion( > typelib_TypeDescription ** ppRet, > rtl_uString * pTypeName, > typelib_TypeDescriptionReference * pDiscriminantTypeRef, > sal_Int64 nDefaultDiscriminant, > typelib_TypeDescriptionReference * pDefaultTypeRef, > sal_Int32 nMembers, > typelib_Union_Init * pMembers ) > throw (); ># 600 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >void typelib_typedescription_newEnum( > typelib_TypeDescription ** ppRet, > rtl_uString * pTypeName, > sal_Int32 nDefaultValue, > sal_Int32 nEnumValues, > rtl_uString ** ppEnumNames, > sal_Int32 * pEnumValues ) > throw (); ># 616 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >void typelib_typedescription_newArray( > typelib_TypeDescription ** ppRet, > typelib_TypeDescriptionReference * pElementTypeRef, > sal_Int32 nDimensions, > sal_Int32 * pDimensions ) > throw (); ># 638 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >void typelib_typedescription_new( > typelib_TypeDescription ** ppRet, > typelib_TypeClass eTypeClass, > rtl_uString * pTypeName, > typelib_TypeDescriptionReference * pType, > sal_Int32 nMembers, > typelib_CompoundMember_Init * pMembers ) > throw (); ># 657 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >void typelib_typedescription_newStruct( > typelib_TypeDescription ** ppRet, > rtl_uString * pTypeName, > typelib_TypeDescriptionReference * pType, > sal_Int32 nMembers, > typelib_StructMember_Init * pMembers ) > throw (); ># 681 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >void typelib_typedescription_newInterface( > typelib_InterfaceTypeDescription ** ppRet, > rtl_uString * pTypeName, > sal_uInt32 nUik1, sal_uInt16 nUik2, sal_uInt16 nUik3, sal_uInt32 nUik4, sal_uInt32 nUik5, > typelib_TypeDescriptionReference * pBaseInterface, > sal_Int32 nMembers, > typelib_TypeDescriptionReference ** ppMembers ) > throw (); ># 706 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >void typelib_typedescription_newMIInterface( > typelib_InterfaceTypeDescription ** ppRet, > rtl_uString * pTypeName, > sal_uInt32 nUik1, sal_uInt16 nUik2, sal_uInt16 nUik3, sal_uInt32 nUik4, sal_uInt32 nUik5, > sal_Int32 nBaseInterfaces, > typelib_TypeDescriptionReference ** ppBaseInterfaces, > sal_Int32 nMembers, > typelib_TypeDescriptionReference ** ppMembers ) > throw (); ># 729 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >void typelib_typedescription_newInterfaceMethod( > typelib_InterfaceMethodTypeDescription ** ppRet, > sal_Int32 nAbsolutePosition, > sal_Bool bOneWay, > rtl_uString * pMethodName, > typelib_TypeClass eReturnTypeClass, > rtl_uString * pReturnTypeName, > sal_Int32 nParams, > typelib_Parameter_Init * pParams, > sal_Int32 nExceptions, > rtl_uString ** ppExceptionNames ) > throw (); ># 755 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >void typelib_typedescription_newInterfaceAttribute( > typelib_InterfaceAttributeTypeDescription ** ppRet, > sal_Int32 nAbsolutePosition, > rtl_uString * pAttributeName, > typelib_TypeClass eAttributeTypeClass, > rtl_uString * pAttributeTypeName, > sal_Bool bReadOnly ) > throw (); ># 781 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >void typelib_typedescription_newExtendedInterfaceAttribute( > typelib_InterfaceAttributeTypeDescription ** ppRet, > sal_Int32 nAbsolutePosition, > rtl_uString * pAttributeName, > typelib_TypeClass eAttributeTypeClass, > rtl_uString * pAttributeTypeName, > sal_Bool bReadOnly, > sal_Int32 nGetExceptions, rtl_uString ** ppGetExceptionNames, > sal_Int32 nSetExceptions, rtl_uString ** ppSetExceptionNames ) > throw (); > > > > > >void typelib_typedescription_acquire( > typelib_TypeDescription * pDesc ) > throw (); > > > > > > >void typelib_typedescription_release( > typelib_TypeDescription * pDesc ) > throw (); > > > > > > >void typelib_typedescription_register( > typelib_TypeDescription ** ppNewDescription ) > throw (); > > > > > > > >sal_Bool typelib_typedescription_equals( > const typelib_TypeDescription * p1, const typelib_TypeDescription * p2 ) > throw (); > > > > > > >void typelib_typedescription_getByName( > typelib_TypeDescription ** ppRet, rtl_uString * pName ) > throw (); > > > > > >void typelib_setCacheSize( > sal_Int32 nNewSize ) > throw (); ># 852 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >typedef void ( * typelib_typedescription_Callback)( > void * pContext, typelib_TypeDescription ** ppRet, rtl_uString * pTypeName ); > > > > > > >void typelib_typedescription_registerCallback( > void * pContext, typelib_typedescription_Callback pCallback ) > throw (); > > > > > > >void typelib_typedescription_revokeCallback( > void * pContext, typelib_typedescription_Callback pCallback ) > throw (); ># 930 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >void typelib_typedescriptionreference_new( > typelib_TypeDescriptionReference ** ppTDR, > typelib_TypeClass eTypeClass, > rtl_uString * pTypeName ) > throw (); ># 943 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >void typelib_typedescriptionreference_newByAsciiName( > typelib_TypeDescriptionReference ** ppTDR, > typelib_TypeClass eTypeClass, > const sal_Char * pTypeName ) > throw (); > > > > > >void typelib_typedescriptionreference_acquire( > typelib_TypeDescriptionReference * pRef ) > throw (); > > > > > > >void typelib_typedescriptionreference_release( > typelib_TypeDescriptionReference * pRef ) > throw (); > > > > > > >void typelib_typedescriptionreference_getDescription( > typelib_TypeDescription ** ppRet, typelib_TypeDescriptionReference * pRef ) > throw (); > > > > > > > >sal_Bool typelib_typedescriptionreference_equals( > const typelib_TypeDescriptionReference * p1, const typelib_TypeDescriptionReference * p2 ) > throw (); > > > > > > >void typelib_typedescriptionreference_assign( > typelib_TypeDescriptionReference ** ppDest, > typelib_TypeDescriptionReference * pSource ) > throw (); > > > > > > > >sal_Bool typelib_typedescription_isAssignableFrom( > typelib_TypeDescription * pAssignable, > typelib_TypeDescription * pFrom ) > throw (); > > > > > > > >sal_Bool typelib_typedescriptionreference_isAssignableFrom( > typelib_TypeDescriptionReference * pAssignable, > typelib_TypeDescriptionReference * pFrom ) > throw (); ># 1026 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >typelib_TypeDescriptionReference ** typelib_static_type_getByTypeClass( > typelib_TypeClass eTypeClass ) > throw (); > > > > > > > >void typelib_static_type_init( > typelib_TypeDescriptionReference ** ppRef, > typelib_TypeClass eTypeClass, const sal_Char * pTypeName ) > throw (); > > > > > > >void typelib_static_sequence_type_init( > typelib_TypeDescriptionReference ** ppRef, > typelib_TypeDescriptionReference * pElementType ) > throw (); ># 1058 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >void typelib_static_array_type_init( > typelib_TypeDescriptionReference ** ppRef, > typelib_TypeDescriptionReference * pElementType, > sal_Int32 nDimensions, ... ) > throw (); ># 1077 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >void typelib_static_compound_type_init( > typelib_TypeDescriptionReference ** ppRef, > typelib_TypeClass eTypeClass, const sal_Char * pTypeName, > typelib_TypeDescriptionReference * pBaseType, > sal_Int32 nMembers, typelib_TypeDescriptionReference ** ppMembers ) > throw (); ># 1099 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >void typelib_static_struct_type_init( > typelib_TypeDescriptionReference ** ppRef, const sal_Char * pTypeName, > typelib_TypeDescriptionReference * pBaseType, > sal_Int32 nMembers, typelib_TypeDescriptionReference ** ppMembers, > sal_Bool const * pParameterizedTypes ) > throw (); > > > > > > > >void typelib_static_interface_type_init( > typelib_TypeDescriptionReference ** ppRef, > const sal_Char * pTypeName, > typelib_TypeDescriptionReference * pBaseType ) > throw (); ># 1128 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >void typelib_static_mi_interface_type_init( > typelib_TypeDescriptionReference ** ppRef, > const sal_Char * pTypeName, > sal_Int32 nBaseTypes, > typelib_TypeDescriptionReference ** ppBaseTypes ) > throw (); > > > > > > > >void typelib_static_enum_type_init( > typelib_TypeDescriptionReference ** ppRef, > const sal_Char * pTypeName, > sal_Int32 nDefaultValue ) > throw (); ># 1160 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >void typelib_static_union_type_init( > typelib_TypeDescriptionReference ** ppRef, > const sal_Char * pTypeName, > typelib_TypeDescriptionReference * pDiscriminantType, > sal_Int64 nDefaultDiscriminant, > typelib_TypeDescriptionReference * pDefaultType, > sal_Int32 nMembers, > sal_Int64 * pDiscriminants, > typelib_TypeDescriptionReference ** pMemberTypes ) > throw (); ># 1179 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/typelib/typedescription.h" >sal_Bool typelib_typedescription_complete( > typelib_TypeDescription ** ppTypeDescr ) > throw (); > > >} ># 34 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" 2 > ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/offuh/com/sun/star/uno/TypeClass.hdl" 1 > > > > > > > >namespace com { namespace sun { namespace star { namespace uno { > >enum TypeClass >{ > TypeClass_VOID = 0, > TypeClass_CHAR = 1, > TypeClass_BOOLEAN = 2, > TypeClass_BYTE = 3, > TypeClass_SHORT = 4, > TypeClass_UNSIGNED_SHORT = 5, > TypeClass_LONG = 6, > TypeClass_UNSIGNED_LONG = 7, > TypeClass_HYPER = 8, > TypeClass_UNSIGNED_HYPER = 9, > TypeClass_FLOAT = 10, > TypeClass_DOUBLE = 11, > TypeClass_STRING = 12, > TypeClass_TYPE = 13, > TypeClass_ANY = 14, > TypeClass_ENUM = 15, > TypeClass_TYPEDEF = 16, > TypeClass_STRUCT = 17, > TypeClass_UNION = 18, > TypeClass_EXCEPTION = 19, > TypeClass_SEQUENCE = 20, > TypeClass_ARRAY = 21, > TypeClass_INTERFACE = 22, > TypeClass_SERVICE = 23, > TypeClass_MODULE = 24, > TypeClass_INTERFACE_METHOD = 25, > TypeClass_INTERFACE_ATTRIBUTE = 26, > TypeClass_UNKNOWN = 27, > TypeClass_PROPERTY = 28, > TypeClass_CONSTANT = 29, > TypeClass_CONSTANTS = 30, > TypeClass_SINGLETON = 31, > TypeClass_MAKE_FIXED_SIZE = 0x7fffffff >}; > >} } } } > >namespace com { namespace sun { namespace star { namespace uno { >class Type; >} } } } > >inline const ::com::sun::star::uno::Type& getCppuType( const ::com::sun::star::uno::TypeClass* ) ; ># 36 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" 2 > > > > > > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace uno >{ > > > >enum UnoType_NoAcquire >{ > > > > UNO_TYPE_NO_ACQUIRE >}; ># 68 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" >class Type >{ > > > > typelib_TypeDescriptionReference * _pType; > >public: > > > inline static void * operator new ( size_t nSize ) > { return ::rtl_allocateMemory( nSize ); } > > inline static void operator delete ( void * pMem ) > { ::rtl_freeMemory( pMem ); } > > inline static void * operator new ( size_t, void * pMem ) > { return pMem; } > > inline static void operator delete ( void *, void * ) > {} > > > > inline Type() ; > > > > > > > inline Type( TypeClass eTypeClass, const ::rtl::OUString & rTypeName ) ; > > > > > > > inline Type( TypeClass eTypeClass, const sal_Char * pTypeName ) ; > > > > > > inline Type( typelib_TypeDescriptionReference * pType ) ; > > > > > > > > inline Type( typelib_TypeDescriptionReference * pType, UnoType_NoAcquire ) ; > > > > > > > inline Type( typelib_TypeDescriptionReference * pType, __sal_NoAcquire ) ; > > > > > > inline Type( const Type & rType ) ; > > > > inline ~Type() > { ::typelib_typedescriptionreference_release( _pType ); } > > > > > > > inline Type & operator = ( const Type & rType ) ; > > > > > > inline TypeClass getTypeClass() const > { return (TypeClass)_pType->eTypeClass; } > > > > > > inline ::rtl::OUString getTypeName() const ; > > > > > > inline void getDescription( typelib_TypeDescription ** ppDescr ) const > { ::typelib_typedescriptionreference_getDescription( ppDescr, _pType ); } > > > > > > inline typelib_TypeDescriptionReference * getTypeLibType() const > { return _pType; } ># 182 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" > inline sal_Bool isAssignableFrom( const Type & rType ) const > { return ::typelib_typedescriptionreference_isAssignableFrom( _pType, rType._pType ); } > > > > > > > inline sal_Bool equals( const Type & rType ) const > { return ::typelib_typedescriptionreference_equals( _pType, rType._pType ); } > > > > > > inline sal_Bool operator == ( const Type & rType ) const > { return ::typelib_typedescriptionreference_equals( _pType, rType._pType ); } > > > > > > inline sal_Bool operator != ( const Type & rType ) const > { return (! ::typelib_typedescriptionreference_equals( _pType, rType._pType )); } >}; > > > >template< class T > >class Array >{ >public: > static typelib_TypeDescriptionReference * s_pType; >}; > >} >} >} >} ># 230 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" >inline const ::com::sun::star::uno::Type & getCppuType( const ::com::sun::star::uno::Type * ) ; > > > > >inline const ::com::sun::star::uno::Type & getCppuVoidType() ; > > > > >inline const ::com::sun::star::uno::Type & getVoidCppuType() ; > > > > > >inline const ::com::sun::star::uno::Type & getCppuBooleanType() ; > > > > >inline const ::com::sun::star::uno::Type & getBooleanCppuType() ; ># 260 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" >inline const ::com::sun::star::uno::Type & getCppuType( const sal_Bool * ) ; ># 269 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" >inline const ::com::sun::star::uno::Type & getCppuType( > bool const * ) ; > > > > > >inline const ::com::sun::star::uno::Type & getCharCppuType() ; > > > > >inline const ::com::sun::star::uno::Type & getCppuCharType() ; ># 291 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" >inline const ::com::sun::star::uno::Type & getCppuType( const sal_Int8 * ) ; ># 301 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" >inline const ::com::sun::star::uno::Type & getCppuType( const ::rtl::OUString * ) ; ># 311 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" >inline const ::com::sun::star::uno::Type & getCppuType( const sal_Int16 * ) ; ># 321 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" >inline const ::com::sun::star::uno::Type & getCppuType( const sal_uInt16 * ) ; ># 331 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" >inline const ::com::sun::star::uno::Type & getCppuType( const sal_Int32 * ) ; ># 341 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" >inline const ::com::sun::star::uno::Type & getCppuType( const sal_uInt32 * ) ; ># 351 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" >inline const ::com::sun::star::uno::Type & getCppuType( const sal_Int64 * ) ; ># 361 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" >inline const ::com::sun::star::uno::Type & getCppuType( const sal_uInt64 * ) ; ># 371 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" >inline const ::com::sun::star::uno::Type & getCppuType( const float * ) ; ># 381 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" >inline const ::com::sun::star::uno::Type & getCppuType( const double * ) ; > > > > > > >template< class T > >inline const ::com::sun::star::uno::Type & getCppuArrayType1( T * pT ) ; > > > > > >template< class T > >inline const ::com::sun::star::uno::Type & getCppuArrayType2( T * pT ) ; > > > > > >template< class T > >inline const ::com::sun::star::uno::Type & getCppuArrayType3( T * pT ) ; > > > > > >template< class T > >inline const ::com::sun::star::uno::Type & getCppuArrayType4( T * pT ) ; > > > > > >template< class T > >inline const ::com::sun::star::uno::Type & getCppuArrayType5( T * pT ) ; > > > > > >template< class T > >inline const ::com::sun::star::uno::Type & getCppuArrayType6( T * pT ) ; ># 444 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" >template< typename T > inline const ::com::sun::star::uno::Type & >getCppuType() ; ># 458 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.h" >template<> inline const ::com::sun::star::uno::Type & >getCppuType< sal_Unicode >() ; ># 35 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.hxx" 2 ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/cppu/unotype.hxx" 1 ># 40 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/cppu/unotype.hxx" >namespace com { namespace sun { namespace star { namespace uno { > class Any; > class Exception; > template< typename > class Reference; > template< typename > class Sequence; > class XInterface; >} } } } >namespace rtl { class OUString; } > >namespace cppu { > >template< typename > class UnoType; ># 61 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/cppu/unotype.hxx" >struct UnoVoidType; ># 74 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/cppu/unotype.hxx" >struct UnoUnsignedShortType; ># 87 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/cppu/unotype.hxx" >struct UnoCharType; ># 101 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/cppu/unotype.hxx" >template< typename > struct UnoSequenceType; > >namespace detail { > >inline ::com::sun::star::uno::Type const & getTypeFromTypeDescriptionReference( > ::typelib_TypeDescriptionReference * const * tdr) >{ > return *reinterpret_cast< ::com::sun::star::uno::Type const * >(tdr); >} > >inline ::com::sun::star::uno::Type const & >getTypeFromTypeClass(::typelib_TypeClass tc) { > return getTypeFromTypeDescriptionReference( > ::typelib_static_type_getByTypeClass(tc)); >} > >} > >} > > > > >namespace cppu { namespace detail { > > >inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(::cppu::UnoVoidType const *) { > return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_VOID); >} > >inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(bool const *) { > return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_BOOLEAN); >} > >inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(::sal_Bool const *) { > return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_BOOLEAN); >} > >inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(::sal_Int8 const *) { > return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_BYTE); >} > >inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(::sal_Int16 const *) { > return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_SHORT); >} > >inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(::cppu::UnoUnsignedShortType const *) { > return ::cppu::detail::getTypeFromTypeClass( > ::typelib_TypeClass_UNSIGNED_SHORT); >} > >inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(::sal_Int32 const *) { > return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_LONG); >} > >inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(::sal_uInt32 const *) { > return ::cppu::detail::getTypeFromTypeClass( > ::typelib_TypeClass_UNSIGNED_LONG); >} > >inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(::sal_Int64 const *) { > return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_HYPER); >} > >inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(::sal_uInt64 const *) { > return ::cppu::detail::getTypeFromTypeClass( > ::typelib_TypeClass_UNSIGNED_HYPER); >} > >inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(float const *) { > return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_FLOAT); >} > >inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(double const *) { > return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_DOUBLE); >} > >inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(::cppu::UnoCharType const *) { > return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_CHAR); >} > >inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(::rtl::OUString const *) { > return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_STRING); >} > >inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(::com::sun::star::uno::Type const *) { > return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_TYPE); >} > >inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(::com::sun::star::uno::Any const *) { > return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_ANY); >} > >template< typename T > inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(::cppu::UnoSequenceType< T > const *) { > > static typelib_TypeDescriptionReference * p = 0; > if (p == 0) { > ::typelib_static_sequence_type_init( > &p, ::cppu::UnoType< T >::get().getTypeLibType()); > } > return ::cppu::detail::getTypeFromTypeDescriptionReference(&p); >} > >template< typename T > inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(::com::sun::star::uno::Sequence< T > const *) { > return cppu_detail_getUnoType( > static_cast< ::cppu::UnoSequenceType< T > * >(0)); >} > >inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(::com::sun::star::uno::Exception const *) { > return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_EXCEPTION); >} > >inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(::com::sun::star::uno::XInterface const *) { > return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_INTERFACE); >} > >template< typename T > inline ::com::sun::star::uno::Type const & >cppu_detail_getUnoType(::com::sun::star::uno::Reference< T > const *) { > return ::cppu::UnoType< T >::get(); >} > > >} } > > >namespace cppu { ># 268 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/cppu/unotype.hxx" >template< typename T > class UnoType { >public: > static inline ::com::sun::star::uno::Type const & get() { > using namespace ::cppu::detail; > return cppu_detail_getUnoType(static_cast< T * >(0)); > } > >private: > UnoType(UnoType &); > ~UnoType(); > void operator =(UnoType &); >}; ># 291 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/cppu/unotype.hxx" >template< typename T > inline ::com::sun::star::uno::Type const & >getTypeFavourUnsigned(T const *) { > return ::cppu::UnoType< T >::get(); >} ># 306 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/cppu/unotype.hxx" >inline ::com::sun::star::uno::Type const & >getTypeFavourUnsigned(::sal_uInt16 const *) { > return ::cppu::UnoType< ::cppu::UnoUnsignedShortType >::get(); >} ># 321 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/cppu/unotype.hxx" >template< typename T > inline ::com::sun::star::uno::Type const & >getTypeFavourUnsigned(::com::sun::star::uno::Sequence< T > const *); ># 338 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/cppu/unotype.hxx" >template< typename T > inline ::com::sun::star::uno::Type const & >getTypeFavourChar(T const *) { > return ::cppu::UnoType< T >::get(); >} ># 356 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/cppu/unotype.hxx" >inline ::com::sun::star::uno::Type const & >getTypeFavourChar(::sal_Unicode const *) { > return ::cppu::UnoType< ::cppu::UnoCharType >::get(); >} ># 374 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/cppu/unotype.hxx" >template< typename T > inline ::com::sun::star::uno::Type const & >getTypeFavourChar(::com::sun::star::uno::Sequence< T > const *); > > >} ># 36 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/com/sun/star/uno/Type.hxx" 2 > >namespace com >{ >namespace sun >{ >namespace star >{ >namespace uno >{ > > >inline Type::Type() >{ > _pType = reinterpret_cast< const ::com::sun::star::uno::Type * >( > ::typelib_static_type_getByTypeClass( typelib_TypeClass_VOID ) )->getTypeLibType(); > ::typelib_typedescriptionreference_acquire( _pType ); >} > >inline Type::Type( TypeClass eTypeClass, const ::rtl::OUString & rTypeName ) > : _pType( 0 ) >{ > ::typelib_typedescriptionreference_new( &_pType, (typelib_TypeClass)eTypeClass, rTypeName.pData ); >} > >inline Type::Type( TypeClass eTypeClass, const sal_Char * pTypeName ) > : _pType( 0 ) >{ > ::typelib_typedescriptionreference_newByAsciiName( &_pType, (typelib_TypeClass)eTypeClass, pTypeName ); >} > >inline Type::Type( typelib_TypeDescriptionReference * pType ) > : _pType( pType ) >{ > ::typelib_typedescriptionreference_acquire( _pType ); >} > >inline Type::Type( typelib_TypeDescriptionReference * pType, UnoType_NoAcquire ) > : _pType( pType ) >{ >} > >inline Type::Type( typelib_TypeDescriptionReference * pType, __sal_NoAcquire ) > : _pType( pType ) >{ >} > >inline Type::Type( const Type & rType ) > : _pType( rType._pType ) >{ > ::typelib_typedescriptionreference_acquire( _pType ); >} > >inline ::rtl::OUString Type::getTypeName() const >{ > return ::rtl::OUString( _pType->pTypeName ); >} > >inline Type & Type::operator = ( const Type & rType ) >{ > ::typelib_typedescriptionreference_assign( &_pType, rType._pType ); > return *this; >} > > >template< class T > >typelib_TypeDescriptionReference * Array< T >::s_pType = 0; > >} >} >} >} > >inline const ::com::sun::star::uno::Type & getCppuType( const ::com::sun::star::uno::Type * ) >{ > return ::cppu::UnoType< ::com::sun::star::uno::Type >::get(); >} > >inline const ::com::sun::star::uno::Type & getCppuVoidType() >{ > return ::cppu::UnoType< ::cppu::UnoVoidType >::get(); >} >inline const ::com::sun::star::uno::Type & getVoidCppuType() >{ > return ::cppu::UnoType< ::cppu::UnoVoidType >::get(); >} > >inline const ::com::sun::star::uno::Type & getCppuBooleanType() >{ > return ::cppu::UnoType< bool >::get(); >} >inline const ::com::sun::star::uno::Type & getBooleanCppuType() >{ > return ::cppu::UnoType< bool >::get(); >} >inline const ::com::sun::star::uno::Type & getCppuType( const sal_Bool * ) >{ > return ::cppu::UnoType< bool >::get(); >} > >inline const ::com::sun::star::uno::Type & getCppuType( > bool const * ) >{ > return ::cppu::UnoType< bool >::get(); >} > >inline const ::com::sun::star::uno::Type & getCharCppuType() >{ > return ::cppu::UnoType< ::cppu::UnoCharType >::get(); >} >inline const ::com::sun::star::uno::Type & getCppuCharType() >{ > return ::cppu::UnoType< ::cppu::UnoCharType >::get(); >} > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_Int8 * ) >{ > return ::cppu::UnoType< ::sal_Int8 >::get(); >} > >inline const ::com::sun::star::uno::Type & getCppuType( const ::rtl::OUString * ) >{ > return ::cppu::UnoType< ::rtl::OUString >::get(); >} > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_Int16 * ) >{ > return ::cppu::UnoType< ::sal_Int16 >::get(); >} > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_uInt16 * ) >{ > return ::cppu::UnoType< ::cppu::UnoUnsignedShortType >::get(); >} > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_Int32 * ) >{ > return ::cppu::UnoType< ::sal_Int32 >::get(); >} > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_uInt32 * ) >{ > return ::cppu::UnoType< ::sal_uInt32 >::get(); >} > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_Int64 * ) >{ > return ::cppu::UnoType< ::sal_Int64 >::get(); >} > >inline const ::com::sun::star::uno::Type & getCppuType( const sal_uInt64 * ) >{ > return ::cppu::UnoType< ::sal_uInt64 >::get(); >} > >inline const ::com::sun::star::uno::Type & getCppuType( const float * ) >{ > return ::cppu::UnoType< float >::get(); >} > >inline const ::com::sun::star::uno::Type & getCppuType( const double * ) >{ > return ::cppu::UnoType< double >::get(); >} > >template< class T > >inline const ::com::sun::star::uno::Type & getCppuArrayType1( T * pT ) >{ > if (! ::com::sun::star::uno::Array< T >::s_pType) > { > const ::com::sun::star::uno::Type & rElementType = > ::cppu::getTypeFavourUnsigned( *pT ); > sal_Int32 size = sizeof( **pT ); > sal_Int32 dim1 = sizeof( *pT ) / size; > ::typelib_static_array_type_init( > & ::com::sun::star::uno::Array< T >::s_pType, rElementType.getTypeLibType(), > 1, dim1 ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > & ::com::sun::star::uno::Array< T >::s_pType ); >} > >template< class T > >inline const ::com::sun::star::uno::Type & getCppuArrayType2( T * pT ) >{ > if (! ::com::sun::star::uno::Array< T >::s_pType) > { > const ::com::sun::star::uno::Type & rElementType = > ::cppu::getTypeFavourUnsigned( **pT ); > sal_Int32 size = sizeof( ***pT ); > sal_Int32 dim2 = sizeof( **pT ) / size; > sal_Int32 dim1 = sizeof( *pT ) / dim2 / size; > ::typelib_static_array_type_init( > & ::com::sun::star::uno::Array< T >::s_pType, rElementType.getTypeLibType(), > 2, dim1, dim2 ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > & ::com::sun::star::uno::Array< T >::s_pType ); >} > >template< class T > >inline const ::com::sun::star::uno::Type & getCppuArrayType3( T * pT ) >{ > if (! ::com::sun::star::uno::Array< T >::s_pType) > { > const ::com::sun::star::uno::Type & rElementType = > ::cppu::getTypeFavourUnsigned( ***pT ); > sal_Int32 size = sizeof( ****pT ); > sal_Int32 dim3 = sizeof( ***pT ) / size; > sal_Int32 dim2 = sizeof( **pT ) / dim3 / size; > sal_Int32 dim1 = sizeof( *pT ) / (dim2 * dim3)/ size; > ::typelib_static_array_type_init( > & ::com::sun::star::uno::Array< T >::s_pType, rElementType.getTypeLibType(), > 3, dim1, dim2, dim3 ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > & ::com::sun::star::uno::Array< T >::s_pType ); >} > >template< class T > >inline const ::com::sun::star::uno::Type & getCppuArrayType4( T * pT ) >{ > if (! ::com::sun::star::uno::Array< T >::s_pType) > { > const ::com::sun::star::uno::Type & rElementType = > ::cppu::getTypeFavourUnsigned( ****pT ); > sal_Int32 size = sizeof( *****pT ); > sal_Int32 dim4 = sizeof( ****pT ) / size; > sal_Int32 dim3 = sizeof( ***pT ) / dim4 / size; > sal_Int32 dim2 = sizeof( **pT ) / (dim3 * dim4) / size; > sal_Int32 dim1 = sizeof( *pT ) / (dim2 * dim3 * dim4) / size; > ::typelib_static_array_type_init( > & ::com::sun::star::uno::Array< T >::s_pType, rElementType.getTypeLibType(), > 4, dim1, dim2, dim3, dim4 ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > & ::com::sun::star::uno::Array< T >::s_pType ); >} > >template< class T > >inline const ::com::sun::star::uno::Type & getCppuArrayType5( T * pT ) >{ > if (! ::com::sun::star::uno::Array< T >::s_pType) > { > const ::com::sun::star::uno::Type & rElementType = > ::cppu::getTypeFavourUnsigned( *****pT ); > sal_Int32 size = sizeof( ******pT ); > sal_Int32 dim5 = sizeof( *****pT ) / size; > sal_Int32 dim4 = sizeof( ****pT ) / dim5 / size; > sal_Int32 dim3 = sizeof( ***pT ) / (dim4 * dim5) / size; > sal_Int32 dim2 = sizeof( **pT ) / (dim3 * dim4 * dim5) / size; > sal_Int32 dim1 = sizeof( *pT ) / (dim2 * dim3 * dim4 * dim5) / size; > ::typelib_static_array_type_init( > & ::com::sun::star::uno::Array< T >::s_pType, rElementType.getTypeLibType(), > 5, dim1, dim2, dim3, dim4, dim5 ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > & ::com::sun::star::uno::Array< T >::s_pType ); >} > >template< class T > >inline const ::com::sun::star::uno::Type & getCppuArrayType6( T * pT ) >{ > if (! ::com::sun::star::uno::Array< T >::s_pType) > { > const ::com::sun::star::uno::Type & rElementType = > ::cppu::getTypeFavourUnsigned( ******pT ); > sal_Int32 size = sizeof( *******pT ); > sal_Int32 dim6 = sizeof( ******pT ) / size; > sal_Int32 dim5 = sizeof( *****pT ) / dim6 / size; > sal_Int32 dim4 = sizeof( ****pT ) / (dim5 * dim6) / size; > sal_Int32 dim3 = sizeof( ***pT ) / (dim4 * dim5 * dim6) / size; > sal_Int32 dim2 = sizeof( **pT ) / (dim3 * dim4 * dim5 * dim6) / size; > sal_Int32 dim1 = sizeof( *pT ) / (dim2 * dim3 * dim4 * dim5 * dim6) / size; > ::typelib_static_array_type_init( > & ::com::sun::star::uno::Array< T >::s_pType, rElementType.getTypeLibType(), > 6, dim1, dim2, dim3, dim4, dim5, dim6 ); > } > return * reinterpret_cast< const ::com::sun::star::uno::Type * >( > & ::com::sun::star::uno::Array< T >::s_pType ); >} > >template< typename T > >inline const ::com::sun::star::uno::Type & getCppuType() >{ > return ::cppu::UnoType< T >::get(); >} > >template<> >inline const ::com::sun::star::uno::Type & getCppuType< sal_Unicode >() > >{ > return ::cppu::UnoType< ::cppu::UnoCharType >::get(); >} ># 9 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/offuh/com/sun/star/bridge/oleautomation/Decimal.hpp" 2 > > > > > >namespace com { namespace sun { namespace star { namespace bridge { namespace oleautomation { > >inline Decimal::Decimal() > : Scale(0) > , Sign(0) > , LowValue(0) > , MiddleValue(0) > , HighValue(0) >{ >} > >inline Decimal::Decimal(const ::sal_Int8& Scale_, const ::sal_Int8& Sign_, const ::sal_uInt32& LowValue_, const ::sal_uInt32& MiddleValue_, const ::sal_uInt32& HighValue_) > : Scale(Scale_) > , Sign(Sign_) > , LowValue(LowValue_) > , MiddleValue(MiddleValue_) > , HighValue(HighValue_) >{ >} > >} } } } } > >namespace com { namespace sun { namespace star { namespace bridge { namespace oleautomation { > >inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(::com::sun::star::bridge::oleautomation::Decimal const *) { > > static ::typelib_TypeDescriptionReference * the_type = 0; > if (the_type == 0) { > ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.bridge.oleautomation.Decimal"); > } > return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type); >} > >} } } } } > >inline ::com::sun::star::uno::Type const & getCppuType(::com::sun::star::bridge::oleautomation::Decimal const *) { > return ::cppu::UnoType< ::com::sun::star::bridge::oleautomation::Decimal >::get(); >} ># 37 "../../inc/basic/sbxvar.hxx" 2 ># 1 "../../inc/basic/sbxcore.hxx" 1 ># 36 "../../inc/basic/sbxcore.hxx" ># 1 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/debug.hxx" 1 ># 696 "/backup/callcatcherbot/DEV300_m12/solver/300/unxlngx6.pro/inc/tools/debug.hxx" >struct DbgData; >struct DbgGUIData; >struct DbgDataType; > >typedef void (*DbgPrintLine)( const sal_Char* pLine ); >typedef const sal_Char* (*DbgUsr)(const void* pThis ); ># 37 "../../inc/basic/sbxcore.hxx" 2 > > > >class SvStream; >class String; >class String; ># 79 "../../inc/basic/sbxcore.hxx" >class SbxBase; >class SbxFactory; >class SbxObject; > > > >class SbxBaseImpl; > >class SbxBase : virtual public SvRefBase >{ > SbxBaseImpl* mpSbxBaseImpl; > > virtual BOOL LoadData( SvStream&, USHORT ); > virtual BOOL StoreData( SvStream& ) const; >protected: > USHORT nFlags; > > SbxBase(); > SbxBase( const SbxBase& ); > SbxBase& operator=( const SbxBase& ); > virtual ~SbxBase(); > virtual BOOL LoadPrivateData( SvStream&, USHORT ); virtual BOOL StorePrivateData( SvStream& ) const; virtual UINT32 GetCreator() const { return 0; } virtual UINT16 GetVersion() const { return 0; } virtual UINT16 GetSbxId() const { return 0; }; >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > inline void SetFlags( USHORT n ); > inline USHORT GetFlags() const; > inline void SetFlag( USHORT n ); > inline void ResetFlag( USHORT n ); > inline BOOL IsSet( USHORT n ) const; > inline BOOL IsReset( USHORT n ) const; > inline BOOL CanRead() const; > inline BOOL CanWrite() const; > inline BOOL IsModified() const; > inline BOOL IsConst() const; > inline BOOL IsHidden() const; > inline BOOL IsVisible() const; > > virtual BOOL IsFixed() const; > virtual void SetModified( BOOL ); > > virtual SbxDataType GetType() const; > virtual SbxClassType GetClass() const; > > virtual void Clear(); > > static SbxBase* Load( SvStream& ); > static void Skip( SvStream& ); > BOOL Store( SvStream& ); > virtual BOOL LoadCompleted(); > virtual BOOL StoreCompleted(); > > static SbxError GetError(); > static void SetError( SbxError ); > static BOOL IsError(); > static void ResetError(); > > > static void AddFactory( SbxFactory* ); > static void RemoveFactory( SbxFactory* ); > > static SbxBase* Create( UINT16, UINT32=0x20584253 ); > static SbxObject* CreateObject( const String& ); > > static void StaticEnableBroadcasting( BOOL bEnable ); > static BOOL StaticIsEnabledBroadcasting( void ); >}; > > > >class SbxBase; class SbxBaseRef { protected: SbxBase * pObj; public: inline SbxBaseRef() { pObj = 0; } inline SbxBaseRef( const SbxBaseRef & rObj ); inline SbxBaseRef( SbxBase * pObjP ); inline void Clear(); inline ~SbxBaseRef(); inline SbxBaseRef & operator = ( const SbxBaseRef & rObj ); inline SbxBaseRef & operator = ( SbxBase * pObj ); inline BOOL Is() const { return pObj != __null; } inline SbxBase * operator & () const { return pObj; } inline SbxBase * operator -> () const { return pObj; } inline SbxBase & operator * () const { return *pObj; } inline operator SbxBase * () const { return pObj; } }; > > >inline void SbxBase::SetFlags( USHORT n ) >{ ; nFlags = n; } > >inline USHORT SbxBase::GetFlags() const >{ ; return nFlags; } > >inline void SbxBase::SetFlag( USHORT n ) >{ ; nFlags |= n; } > >inline void SbxBase::ResetFlag( USHORT n ) >{ ; nFlags &= ~n; } > >inline BOOL SbxBase::IsSet( USHORT n ) const >{ ; return BOOL( ( nFlags & n ) != 0 ); } > >inline BOOL SbxBase::IsReset( USHORT n ) const >{ ; return BOOL( ( nFlags & n ) == 0 ); } > >inline BOOL SbxBase::CanRead() const >{ ; return IsSet( 0x0001 ); } > >inline BOOL SbxBase::CanWrite() const >{ ; return IsSet( 0x0002 ); } > >inline BOOL SbxBase::IsModified() const >{ ; return IsSet( 0x0008 ); } > >inline BOOL SbxBase::IsConst() const >{ ; return IsSet( 0x0020 ); } > >inline BOOL SbxBase::IsHidden() const >{ ; return IsSet( 0x0080 ); } > >inline BOOL SbxBase::IsVisible() const >{ ; return IsReset( 0x0100 ); } ># 38 "../../inc/basic/sbxvar.hxx" 2 > > > > >struct SbxINT64 >{ > INT32 nHigh; UINT32 nLow; ># 61 "../../inc/basic/sbxvar.hxx" > void CHS() > { > nLow ^= (UINT32)-1; > nHigh ^= -1; > nLow++; > if( !nLow ) > nHigh++; > } > > > void Set(double n) > { > if( n >= 0 ) > { > nHigh = (INT32)(n / (double)4294967296.0); > nLow = (UINT32)(n - ((double)nHigh * (double)4294967296.0) + 0.5); > } > else { > nHigh = (INT32)(-n / (double)4294967296.0); > nLow = (UINT32)(-n - ((double)nHigh * (double)4294967296.0) + 0.5); > CHS(); > } > } > void Set(INT32 n) { nHigh = n < 0 ? -1 : 0; nLow = n; } > > void SetMax() { nHigh = 0x7FFFFFFF; nLow = 0xFFFFFFFF; } > void SetMin() { nHigh = 0x80000000; nLow = 0x00000000; } > void SetNull() { nHigh = 0x00000000; nLow = 0x00000000; } > > int operator ! () const { return !nHigh && !nLow; } > > SbxINT64 &operator -= ( const SbxINT64 &r ); > SbxINT64 &operator += ( const SbxINT64 &r ); > SbxINT64 &operator /= ( const SbxINT64 &r ); > SbxINT64 &operator %= ( const SbxINT64 &r ); > SbxINT64 &operator *= ( const SbxINT64 &r ); > SbxINT64 &operator &= ( const SbxINT64 &r ); > SbxINT64 &operator |= ( const SbxINT64 &r ); > SbxINT64 &operator ^= ( const SbxINT64 &r ); > > friend SbxINT64 operator - ( const SbxINT64 &l, const SbxINT64 &r ); > friend SbxINT64 operator + ( const SbxINT64 &l, const SbxINT64 &r ); > friend SbxINT64 operator / ( const SbxINT64 &l, const SbxINT64 &r ); > friend SbxINT64 operator % ( const SbxINT64 &l, const SbxINT64 &r ); > friend SbxINT64 operator * ( const SbxINT64 &l, const SbxINT64 &r ); > friend SbxINT64 operator & ( const SbxINT64 &l, const SbxINT64 &r ); > friend SbxINT64 operator | ( const SbxINT64 &l, const SbxINT64 &r ); > friend SbxINT64 operator ^ ( const SbxINT64 &l, const SbxINT64 &r ); > > friend SbxINT64 operator - ( const SbxINT64 &r ); > friend SbxINT64 operator ~ ( const SbxINT64 &r ); > > static double GetMin() { return ((double)0x7FFFFFFF*(double)4294967296.0 > + (double)0xFFFFFFFF) > / 10000; } > static double GetMax() { return ((double)0x80000000*(double)4294967296.0 > + (double)0xFFFFFFFF) > / 10000; } >}; > >struct SbxUINT64 >{ > UINT32 nHigh; UINT32 nLow; > void Set(double n) > { > nHigh = (UINT32)(n / (double)4294967296.0); > nLow = (UINT32)(n - ((double)nHigh * (double)4294967296.0)); > } > > void Set(UINT32 n) { nHigh = 0; nLow = n; } > > void SetMax() { nHigh = 0xFFFFFFFF; nLow = 0xFFFFFFFF; } > void SetMin() { nHigh = 0x00000000; nLow = 0x00000000; } > void SetNull() { nHigh = 0x00000000; nLow = 0x00000000; } > > int operator ! () const { return !nHigh && !nLow; } > > SbxUINT64 &operator -= ( const SbxUINT64 &r ); > SbxUINT64 &operator += ( const SbxUINT64 &r ); > SbxUINT64 &operator /= ( const SbxUINT64 &r ); > SbxUINT64 &operator %= ( const SbxUINT64 &r ); > SbxUINT64 &operator *= ( const SbxUINT64 &r ); > SbxUINT64 &operator &= ( const SbxUINT64 &r ); > SbxUINT64 &operator |= ( const SbxUINT64 &r ); > SbxUINT64 &operator ^= ( const SbxUINT64 &r ); > > friend SbxUINT64 operator - ( const SbxUINT64 &l, const SbxUINT64 &r ); > friend SbxUINT64 operator + ( const SbxUINT64 &l, const SbxUINT64 &r ); > friend SbxUINT64 operator / ( const SbxUINT64 &l, const SbxUINT64 &r ); > friend SbxUINT64 operator % ( const SbxUINT64 &l, const SbxUINT64 &r ); > friend SbxUINT64 operator * ( const SbxUINT64 &l, const SbxUINT64 &r ); > friend SbxUINT64 operator & ( const SbxUINT64 &l, const SbxUINT64 &r ); > friend SbxUINT64 operator | ( const SbxUINT64 &l, const SbxUINT64 &r ); > friend SbxUINT64 operator ^ ( const SbxUINT64 &l, const SbxUINT64 &r ); > > friend SbxUINT64 operator ~ ( const SbxUINT64 &r ); >}; > > > > > > >class BigInt; >class SbxDecimal; > >struct SbxValues >{ > union { > sal_Unicode nChar; > BYTE nByte; > INT16 nInteger; > INT32 nLong; > UINT16 nUShort; > UINT32 nULong; > float nSingle; > double nDouble; > SbxINT64 nLong64; > SbxUINT64 nULong64; > sal_Int64 nInt64; > sal_uInt64 uInt64; > int nInt; > unsigned int nUInt; > String* pString; > SbxDecimal* pDecimal; > > SbxBase* pObj; > sal_Unicode* pChar; > BYTE* pByte; > INT16* pInteger; > INT32* pLong; > UINT16* pUShort; > UINT32* pULong; > float* pSingle; > double* pDouble; > SbxINT64* pLong64; > SbxUINT64* pULong64; > sal_Int64* pnInt64; > sal_uInt64* puInt64; > int* pInt; > unsigned int* pUInt; > void* pData; > }; > SbxDataType eType; > > SbxValues(): pData( __null ), eType(SbxEMPTY) {} > SbxValues( SbxDataType e ): eType(e) {} > SbxValues( char _nChar ): nChar( _nChar ), eType(SbxCHAR) {} > SbxValues( BYTE _nByte ): nByte( _nByte ), eType(SbxBYTE) {} > SbxValues( short _nInteger ): nInteger( _nInteger ), eType(SbxINTEGER ) {} > SbxValues( long _nLong ): nLong( _nLong ), eType(SbxLONG) {} > SbxValues( USHORT _nUShort ): nUShort( _nUShort ), eType(SbxUSHORT) {} > SbxValues( ULONG _nULong ): nULong( _nULong ), eType(SbxULONG) {} > SbxValues( float _nSingle ): nSingle( _nSingle ), eType(SbxSINGLE) {} > SbxValues( double _nDouble ): nDouble( _nDouble ), eType(SbxDOUBLE) {} > SbxValues( int _nInt ): nInt( _nInt ), eType(SbxINT) {} > SbxValues( unsigned int _nUInt ): nUInt( _nUInt ), eType(SbxUINT) {} > SbxValues( const String* _pString ): pString( (String*) _pString ), eType(SbxSTRING) {} > SbxValues( SbxBase* _pObj ): pObj( _pObj ), eType(SbxOBJECT) {} > SbxValues( sal_Unicode* _pChar ): pChar( _pChar ), eType(SbxLPSTR) {} > SbxValues( void* _pData ): pData( _pData ), eType(SbxPOINTER) {} > SbxValues( const BigInt &rBig ); >}; > > > > > > >struct SbxValues; > >class SbxValueImpl; > >class SbxValue : public SbxBase >{ > friend class SbiDllMgr; > > SbxValueImpl* mpSbxValueImplImpl; > > > SbxValue* TheRealValue( BOOL bObjInObjError ) const; > SbxValue* TheRealValue() const; >protected: > SbxValues aData; > String aPic; > > virtual void Broadcast( ULONG ); > virtual ~SbxValue(); > virtual BOOL LoadData( SvStream&, USHORT ); > virtual BOOL StoreData( SvStream& ) const; >public: > virtual UINT32 GetCreator() const { return 0x20584253; } virtual UINT16 GetVersion() const { return 1; } virtual UINT16 GetSbxId() const { return 0x4E4E; }; > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SbxValue(); > SbxValue( SbxDataType, void* = __null ); > SbxValue( const SbxValue& ); > SbxValue& operator=( const SbxValue& ); > virtual void Clear(); > virtual BOOL IsFixed() const; > > BOOL IsInteger() const { return BOOL( GetType() == SbxINTEGER ); } > BOOL IsLong() const { return BOOL( GetType() == SbxLONG ); } > BOOL IsSingle() const { return BOOL( GetType() == SbxSINGLE ); } > BOOL IsDouble() const { return BOOL( GetType() == SbxDOUBLE ); } > BOOL IsString() const { return BOOL( GetType() == SbxSTRING ); } > BOOL IsDate() const { return BOOL( GetType() == SbxDATE ); } > BOOL IsCurrency()const { return BOOL( GetType() == SbxCURRENCY ); } > BOOL IsObject() const { return BOOL( GetType() == SbxOBJECT ); } > BOOL IsDataObject()const{return BOOL( GetType() == SbxDATAOBJECT);} > BOOL IsBool() const { return BOOL( GetType() == SbxBOOL ); } > BOOL IsErr() const { return BOOL( GetType() == SbxERROR ); } > BOOL IsEmpty() const { return BOOL( GetType() == SbxEMPTY ); } > BOOL IsNull() const { return BOOL( GetType() == SbxNULL ); } > BOOL IsChar() const { return BOOL( GetType() == SbxCHAR ); } > BOOL IsByte() const { return BOOL( GetType() == SbxBYTE ); } > BOOL IsUShort() const { return BOOL( GetType() == SbxUSHORT ); } > BOOL IsULong() const { return BOOL( GetType() == SbxULONG ); } > BOOL IsInt() const { return BOOL( GetType() == SbxINT ); } > BOOL IsUInt() const { return BOOL( GetType() == SbxUINT ); } > BOOL IspChar() const { return BOOL( GetType() == SbxLPSTR ); } > BOOL IsNumeric() const; > BOOL IsNumericRTL() const; > BOOL ImpIsNumeric( BOOL bOnlyIntntl ) const; > > virtual SbxClassType GetClass() const; > virtual SbxDataType GetType() const; > SbxDataType GetFullType() const; > BOOL SetType( SbxDataType ); > > virtual BOOL Get( SbxValues& ) const; > BOOL GetNoBroadcast( SbxValues& ); > const SbxValues& GetValues_Impl() const { return aData; } > virtual BOOL Put( const SbxValues& ); > > SbxINT64 GetCurrency() const; > SbxINT64 GetLong64() const; > SbxUINT64 GetULong64() const; > sal_Int64 GetInt64() const; > sal_uInt64 GetUInt64() const; > INT16 GetInteger() const; > INT32 GetLong() const; > float GetSingle() const; > double GetDouble() const; > double GetDate() const; > BOOL GetBool() const; > UINT16 GetErr() const; > const String& GetString() const; > const String& GetCoreString() const; > SbxDecimal* GetDecimal() const; > SbxBase* GetObject() const; > BOOL HasObject() const; > void* GetData() const; > sal_Unicode GetChar() const; > BYTE GetByte() const; > UINT16 GetUShort() const; > UINT32 GetULong() const; > int GetInt() const; > > BOOL PutCurrency( const SbxINT64& ); > BOOL PutLong64( const SbxINT64& ); > BOOL PutULong64( const SbxUINT64& ); > BOOL PutInt64( sal_Int64 ); > BOOL PutUInt64( sal_uInt64 ); > BOOL PutInteger( INT16 ); > BOOL PutLong( INT32 ); > BOOL PutSingle( float ); > BOOL PutDouble( double ); > BOOL PutDate( double ); > BOOL PutBool( BOOL ); > BOOL PutErr( USHORT ); > BOOL PutStringExt( const String& ); > BOOL PutString( const String& ); > BOOL PutString( const sal_Unicode* ); > BOOL PutpChar( const sal_Unicode* ); > BOOL PutDecimal( SbxDecimal* pDecimal ); > BOOL PutObject( SbxBase* ); > BOOL PutData( void* ); > BOOL PutChar( sal_Unicode ); > BOOL PutByte( BYTE ); > BOOL PutUShort( UINT16 ); > BOOL PutULong( UINT32 ); > BOOL PutInt( int ); > BOOL PutEmpty(); > BOOL PutNull(); > > > BOOL PutDecimal( com::sun::star::bridge::oleautomation::Decimal& rAutomationDec ); > BOOL fillAutomationDecimal( com::sun::star::bridge::oleautomation::Decimal& rAutomationDec ); > > virtual BOOL Convert( SbxDataType ); > virtual BOOL Compute( SbxOperator, const SbxValue& ); > virtual BOOL Compare( SbxOperator, const SbxValue& ) const; > BOOL Scan( const String&, USHORT* = __null ); > void Format( String&, const String* = __null ) const; > > > static SbxError ScanNumIntnl( const String& rSrc, double& nVal, BOOL bSingle=0 ); > > > > > > inline int operator ==( const SbxValue& ) const; > inline int operator !=( const SbxValue& ) const; > inline int operator <( const SbxValue& ) const; > inline int operator >( const SbxValue& ) const; > inline int operator <=( const SbxValue& ) const; > inline int operator >=( const SbxValue& ) const; > > inline SbxValue& operator *=( const SbxValue& ); > inline SbxValue& operator /=( const SbxValue& ); > inline SbxValue& operator %=( const SbxValue& ); > inline SbxValue& operator +=( const SbxValue& ); > inline SbxValue& operator -=( const SbxValue& ); > inline SbxValue& operator &=( const SbxValue& ); > inline SbxValue& operator |=( const SbxValue& ); > inline SbxValue& operator ^=( const SbxValue& ); >}; > >inline int SbxValue::operator==( const SbxValue& r ) const >{ return Compare( SbxEQ, r ); } > >inline int SbxValue::operator!=( const SbxValue& r ) const >{ return Compare( SbxNE, r ); } > >inline int SbxValue::operator<( const SbxValue& r ) const >{ return Compare( SbxLT, r ); } > >inline int SbxValue::operator>( const SbxValue& r ) const >{ return Compare( SbxGT, r ); } > >inline int SbxValue::operator<=( const SbxValue& r ) const >{ return Compare( SbxLE, r ); } > >inline int SbxValue::operator>=( const SbxValue& r ) const >{ return Compare( SbxGE, r ); } > >inline SbxValue& SbxValue::operator*=( const SbxValue& r ) >{ Compute( SbxMUL, r ); return *this; } > >inline SbxValue& SbxValue::operator/=( const SbxValue& r ) >{ Compute( SbxDIV, r ); return *this; } > >inline SbxValue& SbxValue::operator%=( const SbxValue& r ) >{ Compute( SbxMOD, r ); return *this; } > >inline SbxValue& SbxValue::operator+=( const SbxValue& r ) >{ Compute( SbxPLUS, r ); return *this; } > >inline SbxValue& SbxValue::operator-=( const SbxValue& r ) >{ Compute( SbxMINUS, r ); return *this; } > >inline SbxValue& SbxValue::operator&=( const SbxValue& r ) >{ Compute( SbxAND, r ); return *this; } > >inline SbxValue& SbxValue::operator|=( const SbxValue& r ) >{ Compute( SbxOR, r ); return *this; } > >inline SbxValue& SbxValue::operator^=( const SbxValue& r ) >{ Compute( SbxXOR, r ); return *this; } > > > > > > >class SbxArray; >class SbxInfo; > > > >class SbxArray; class SbxArrayRef { protected: SbxArray * pObj; public: inline SbxArrayRef() { pObj = 0; } inline SbxArrayRef( const SbxArrayRef & rObj ); inline SbxArrayRef( SbxArray * pObjP ); inline void Clear(); inline ~SbxArrayRef(); inline SbxArrayRef & operator = ( const SbxArrayRef & rObj ); inline SbxArrayRef & operator = ( SbxArray * pObj ); inline BOOL Is() const { return pObj != __null; } inline SbxArray * operator & () const { return pObj; } inline SbxArray * operator -> () const { return pObj; } inline SbxArray & operator * () const { return *pObj; } inline operator SbxArray * () const { return pObj; } }; > > > > >class SbxInfo; class SbxInfoRef { protected: SbxInfo * pObj; public: inline SbxInfoRef() { pObj = 0; } inline SbxInfoRef( const SbxInfoRef & rObj ); inline SbxInfoRef( SbxInfo * pObjP ); inline void Clear(); inline ~SbxInfoRef(); inline SbxInfoRef & operator = ( const SbxInfoRef & rObj ); inline SbxInfoRef & operator = ( SbxInfo * pObj ); inline BOOL Is() const { return pObj != __null; } inline SbxInfo * operator & () const { return pObj; } inline SbxInfo * operator -> () const { return pObj; } inline SbxInfo & operator * () const { return *pObj; } inline operator SbxInfo * () const { return pObj; } }; > > >class SfxBroadcaster; > >class SbxVariableImpl; > >class SbxVariable : public SbxValue >{ > friend class SbMethod; > > SbxVariableImpl* mpSbxVariableImpl; > > SfxBroadcaster* pCst; > String maName; > SbxArrayRef mpPar; > USHORT nHash; >protected: > SbxInfoRef pInfo; > UINT32 nUserData; > SbxObject* pParent; > virtual ~SbxVariable(); > virtual BOOL LoadData( SvStream&, USHORT ); > virtual BOOL StoreData( SvStream& ) const; >public: > virtual UINT32 GetCreator() const { return 0x20584253; } virtual UINT16 GetVersion() const { return 2; } virtual UINT16 GetSbxId() const { return 0x4156; }; > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SbxVariable(); > SbxVariable( SbxDataType, void* = __null ); > SbxVariable( const SbxVariable& ); > SbxVariable& operator=( const SbxVariable& ); > > void Dump( SvStream&, BOOL bDumpAll=0 ); > > virtual void SetName( const String& ); > virtual const String& GetName( SbxNameType = SbxNAME_NONE ) const; > USHORT GetHashCode() const { return nHash; } > > virtual void SetModified( BOOL ); > > UINT32 GetUserData() const { return nUserData; } > void SetUserData( UINT32 n ) { nUserData = n; } > > virtual SbxDataType GetType() const; > virtual SbxClassType GetClass() const; > > > virtual SbxInfo* GetInfo(); > void SetInfo( SbxInfo* p ); > void SetParameters( SbxArray* p ); > SbxArray* GetParameters() const { return mpPar; } > > > > > SfxBroadcaster& GetBroadcaster(); > BOOL IsBroadcaster() const { return BOOL( pCst != __null ); } > virtual void Broadcast( ULONG nHintId ); > > inline const SbxObject* GetParent() const { return pParent; } > inline SbxObject* GetParent() { return pParent; } > virtual void SetParent( SbxObject* ); > > static USHORT MakeHashCode( const String& rName ); >}; > > > >class SbxVariable; class SbxVariableRef { protected: SbxVariable * pObj; public: inline SbxVariableRef() { pObj = 0; } inline SbxVariableRef( const SbxVariableRef & rObj ); inline SbxVariableRef( SbxVariable * pObjP ); inline void Clear(); inline ~SbxVariableRef(); inline SbxVariableRef & operator = ( const SbxVariableRef & rObj ); inline SbxVariableRef & operator = ( SbxVariable * pObj ); inline BOOL Is() const { return pObj != __null; } inline SbxVariable * operator & () const { return pObj; } inline SbxVariable * operator -> () const { return pObj; } inline SbxVariable & operator * () const { return *pObj; } inline operator SbxVariable * () const { return pObj; } }; ># 36 "../../inc/basic/sbxobj.hxx" 2 > > > >class SbxProperty; >class SvDispatch; > >class SbxObjectImpl; > >class SbxObject : public SbxVariable, public SfxListener >{ > SbxObjectImpl* mpSbxObjectImpl; > > SbxArray* FindVar( SbxVariable*, USHORT& ); > > SbxArray* VCPtrFindVar( SbxVariable*, USHORT& ); >protected: > SbxArrayRef pMethods; > SbxArrayRef pProps; > SbxArrayRef pObjs; > SbxProperty* pDfltProp; > String aClassName; > String aDfltPropName; > virtual BOOL LoadData( SvStream&, USHORT ); > virtual BOOL StoreData( SvStream& ) const; > virtual ~SbxObject(); > virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); > >public: > virtual UINT32 GetCreator() const { return 0x20584253; } virtual UINT16 GetVersion() const { return 1; } virtual UINT16 GetSbxId() const { return 0x424F; }; > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SbxObject( const String& rClassname ); > SbxObject( const SbxObject& ); > SbxObject& operator=( const SbxObject& ); > virtual SbxDataType GetType() const; > virtual SbxClassType GetClass() const; > virtual void Clear(); > > virtual BOOL IsClass( const String& ) const; > const String& GetClassName() const { return aClassName; } > void SetClassName( const String &rNew ) { aClassName = rNew; } > > SbxProperty* GetDfltProperty(); > void SetDfltProperty( const String& r ); > void SetDfltProperty( SbxProperty* ); > > virtual SbxVariable* FindUserData( UINT32 nUserData ); > virtual SbxVariable* Find( const String&, SbxClassType ); > SbxVariable* FindQualified( const String&, SbxClassType ); > > virtual BOOL Call( const String&, SbxArray* = __null ); > > SbxVariable* Execute( const String& ); > > virtual BOOL GetAll( SbxClassType ) { return 1; } > SbxVariable* Make( const String&, SbxClassType, SbxDataType ); > virtual SbxObject* MakeObject( const String&, const String& ); > virtual void Insert( SbxVariable* ); > > > void QuickInsert( SbxVariable* ); > > void VCPtrInsert( SbxVariable* ); > virtual void Remove( const String&, SbxClassType ); > virtual void Remove( SbxVariable* ); > > void VCPtrRemove( SbxVariable* ); > void SetPos( SbxVariable*, USHORT ); > > > virtual String GenerateSource( const String &rLinePrefix, > const SbxObject *pRelativeTo ); > > SbxArray* GetMethods() { return pMethods; } > SbxArray* GetProperties() { return pProps; } > SbxArray* GetObjects() { return pObjs; } > > virtual SvDispatch* GetSvDispatch(); > > void Dump( SvStream&, BOOL bDumpAll=0 ); > > static void GarbageCollection( ULONG nObjects = 0 ); >}; > > > > > >class SbxObject; class SbxObjectRef { protected: SbxObject * pObj; public: inline SbxObjectRef() { pObj = 0; } inline SbxObjectRef( const SbxObjectRef & rObj ); inline SbxObjectRef( SbxObject * pObjP ); inline void Clear(); inline ~SbxObjectRef(); inline SbxObjectRef & operator = ( const SbxObjectRef & rObj ); inline SbxObjectRef & operator = ( SbxObject * pObj ); inline BOOL Is() const { return pObj != __null; } inline SbxObject * operator & () const { return pObj; } inline SbxObject * operator -> () const { return pObj; } inline SbxObject & operator * () const { return *pObj; } inline operator SbxObject * () const { return pObj; } }; > >inline SbxObjectRef::SbxObjectRef( const SbxObjectRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SbxObjectRef::SbxObjectRef( SbxObject * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SbxObjectRef::Clear() { if( pObj ) { SbxObject* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SbxObjectRef::~SbxObjectRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SbxObjectRef & SbxObjectRef:: operator = ( const SbxObjectRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SbxObject* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SbxObjectRef & SbxObjectRef::operator = ( SbxObject * pObjP ) { return *this = SbxObjectRef( pObjP ); } ># 43 "../../inc/basic/sbx.hxx" 2 > ># 1 "../../inc/basic/sbxprop.hxx" 1 ># 36 "../../inc/basic/sbxprop.hxx" >class SbxPropertyImpl; > >class SbxProperty : public SbxVariable >{ > SbxPropertyImpl* mpSbxPropertyImpl; > >public: > virtual UINT32 GetCreator() const { return 0x20584253; } virtual UINT16 GetVersion() const { return 1; } virtual UINT16 GetSbxId() const { return 0x5250; }; > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SbxProperty( const String& r, SbxDataType t ) > : SbxVariable( t ) { SetName( r ); } > SbxProperty( const SbxProperty& r ) : SvRefBase( r ), SbxVariable( r ) {} > SbxProperty& operator=( const SbxProperty& r ) > { SbxVariable::operator=( r ); return *this; } > virtual SbxClassType GetClass() const; >}; > > > > > > >class SbxProperty; class SbxPropertyRef { protected: SbxProperty * pObj; public: inline SbxPropertyRef() { pObj = 0; } inline SbxPropertyRef( const SbxPropertyRef & rObj ); inline SbxPropertyRef( SbxProperty * pObjP ); inline void Clear(); inline ~SbxPropertyRef(); inline SbxPropertyRef & operator = ( const SbxPropertyRef & rObj ); inline SbxPropertyRef & operator = ( SbxProperty * pObj ); inline BOOL Is() const { return pObj != __null; } inline SbxProperty * operator & () const { return pObj; } inline SbxProperty * operator -> () const { return pObj; } inline SbxProperty & operator * () const { return *pObj; } inline operator SbxProperty * () const { return pObj; } }; > >inline SbxPropertyRef::SbxPropertyRef( const SbxPropertyRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SbxPropertyRef::SbxPropertyRef( SbxProperty * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SbxPropertyRef::Clear() { if( pObj ) { SbxProperty* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SbxPropertyRef::~SbxPropertyRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SbxPropertyRef & SbxPropertyRef:: operator = ( const SbxPropertyRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SbxProperty* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SbxPropertyRef & SbxPropertyRef::operator = ( SbxProperty * pObjP ) { return *this = SbxPropertyRef( pObjP ); } ># 45 "../../inc/basic/sbx.hxx" 2 ># 1 "../../inc/basic/sbxmeth.hxx" 1 ># 36 "../../inc/basic/sbxmeth.hxx" >class SbxMethodImpl; > >class SbxMethod : public SbxVariable >{ > SbxMethodImpl* mpSbxMethodImpl; > >public: > virtual UINT32 GetCreator() const { return 0x20584253; } virtual UINT16 GetVersion() const { return 1; } virtual UINT16 GetSbxId() const { return 0x454D; }; > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SbxMethod( const String& r, SbxDataType t ) > : SbxVariable( t ) { SetName( r ); } > SbxMethod( const SbxMethod& r ) : SvRefBase( r ), SbxVariable( r ) {} > SbxMethod& operator=( const SbxMethod& r ) > { SbxVariable::operator=( r ); return *this; } > BOOL Run( SbxValues* pValues = __null ); > virtual SbxClassType GetClass() const; >}; > > > > > > >class SbxMethod; class SbxMethodRef { protected: SbxMethod * pObj; public: inline SbxMethodRef() { pObj = 0; } inline SbxMethodRef( const SbxMethodRef & rObj ); inline SbxMethodRef( SbxMethod * pObjP ); inline void Clear(); inline ~SbxMethodRef(); inline SbxMethodRef & operator = ( const SbxMethodRef & rObj ); inline SbxMethodRef & operator = ( SbxMethod * pObj ); inline BOOL Is() const { return pObj != __null; } inline SbxMethod * operator & () const { return pObj; } inline SbxMethod * operator -> () const { return pObj; } inline SbxMethod & operator * () const { return *pObj; } inline operator SbxMethod * () const { return pObj; } }; > >inline SbxMethodRef::SbxMethodRef( const SbxMethodRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SbxMethodRef::SbxMethodRef( SbxMethod * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SbxMethodRef::Clear() { if( pObj ) { SbxMethod* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SbxMethodRef::~SbxMethodRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SbxMethodRef & SbxMethodRef:: operator = ( const SbxMethodRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SbxMethod* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SbxMethodRef & SbxMethodRef::operator = ( SbxMethod * pObjP ) { return *this = SbxMethodRef( pObjP ); } ># 46 "../../inc/basic/sbx.hxx" 2 > >class BigInt; >class String; >class String; >class SvStream; >class SbxBase; >class SbxVariable; >class SbxProperty; >class SbxMethod; >class SbxObject; >class SbxArray; >class SbxDimArray; >class SbxFactory; >struct SbxINT64; >struct SbxUINT64; > >class SfxBroadcaster; >class SvDispatch; ># 74 "../../inc/basic/sbx.hxx" >struct SbxParamInfo >{ > const String aName; > SbxBaseRef aTypeRef; > SbxDataType eType; > UINT16 nFlags; > UINT32 nUserData; > SbxParamInfo( const String& s, SbxDataType t, USHORT n, SbxBase* b = __null ) > : aName( s ), aTypeRef( b ), eType( t ), nFlags( n ), nUserData( 0 ) {} > ~SbxParamInfo() {} >}; > > >typedef BOOL (*FnForEach_SbxParams)( const SbxParamInfo* &, void* );class SbxParams: public SvPtrarr {public: SbxParams( USHORT nIni=4, BYTE nG=4 ) : SvPtrarr(nIni,nG) {} ~SbxParams() { DeleteAndDestroy( 0, Count() ); } void Insert( const SbxParams *pI, USHORT nP, USHORT nS = 0, USHORT nE = (32767 * 2 + 1) ) { SvPtrarr::Insert((const SvPtrarr*)pI, nP, nS, nE); } void Insert( const SbxParamInfo* & aE, USHORT nP ) { SvPtrarr::Insert((const VoidPtr &)aE, nP ); } void Insert( const SbxParamInfo* *pE, USHORT nL, USHORT nP ) { SvPtrarr::Insert( (const VoidPtr *)pE, nL, nP ); } void Replace( const SbxParamInfo* & aE, USHORT nP ) { SvPtrarr::Replace( (const VoidPtr &)aE, nP ); } void Replace( const SbxParamInfo* *pE, USHORT nL, USHORT nP ) { SvPtrarr::Replace( (const VoidPtr*)pE, nL, nP ); } void Remove( USHORT nP, USHORT nL = 1) { SvPtrarr::Remove(nP,nL); } const SbxParamInfo** GetData() const { return (const SbxParamInfo**)SvPtrarr::GetData(); } void ForEach( FnForEach_SbxParams fnForEach, void* pArgs = 0 ) { _ForEach( 0, nA, (FnForEach_SvPtrarr)fnForEach, pArgs ); } void ForEach( USHORT nS, USHORT nE, FnForEach_SbxParams fnForEach, void* pArgs = 0 ) { _ForEach( nS, nE, (FnForEach_SvPtrarr)fnForEach, pArgs ); } SbxParamInfo* operator[]( USHORT nP )const { return (SbxParamInfo*)SvPtrarr::operator[](nP); } SbxParamInfo* GetObject( USHORT nP )const { return (SbxParamInfo*)SvPtrarr::GetObject(nP); } USHORT GetPos( const SbxParamInfo* & aE ) const { return SvPtrarr::GetPos((const VoidPtr &)aE); } void DeleteAndDestroy( USHORT nP, USHORT nL=1 );private: SbxParams( const SbxParams& ); SbxParams& operator=( const SbxParams& );}; ># 97 "../../inc/basic/sbx.hxx" >class SbxInfo : public SvRefBase >{ > friend class SbxVariable; > friend class SbMethod; > > String aComment; > String aHelpFile; > UINT32 nHelpId; > SbxParams aParams; > >protected: > BOOL LoadData( SvStream&, USHORT ); > BOOL StoreData( SvStream& ) const; > virtual ~SbxInfo(); >public: > SbxInfo(); > SbxInfo( const String&, UINT32 ); > > void AddParam( const String&, SbxDataType, USHORT=0x0001 ); > void AddParam( const SbxParamInfo& ); > const SbxParamInfo* GetParam( USHORT n ) const; > const String& GetComment() const { return aComment; } > const String& GetHelpFile() const { return aHelpFile; } > UINT32 GetHelpId() const { return nHelpId; } > > void SetComment( const String& r ) { aComment = r; } > void SetHelpFile( const String& r ) { aHelpFile = r; } > void SetHelpId( UINT32 nId ) { nHelpId = nId; } >}; > > > > > > >class SbxHint : public SfxSimpleHint >{ > SbxVariable* pVar; >public: > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SbxHint( ULONG n, SbxVariable* v ) : SfxSimpleHint( n ), pVar( v ) {} > SbxVariable* GetVar() const { return pVar; } >}; ># 148 "../../inc/basic/sbx.hxx" >class SbxAlias : public SbxVariable, public SfxListener >{ > SbxVariableRef xAlias; > virtual ~SbxAlias(); > virtual void Broadcast( ULONG ); > virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); > >public: > SbxAlias( const String& rName, SbxVariable* pOriginal ); > SbxAlias( const SbxAlias& ); > SbxAlias& operator=( const SbxAlias& ); >}; ># 170 "../../inc/basic/sbx.hxx" >class SbxVarRefs; >class SbxVariableRef; > >class SbxArrayImpl; > >class SbxArray : public SbxBase >{ > > friend class SbMethod; > friend class SbTypeFactory; > friend class SbClassModuleObject; > void PutDirect( SbxVariable* pVar, UINT32 nIdx ); > > SbxArrayImpl* mpSbxArrayImpl; > SbxVarRefs* pData; > >protected: > SbxDataType eType; > virtual ~SbxArray(); > virtual BOOL LoadData( SvStream&, USHORT ); > virtual BOOL StoreData( SvStream& ) const; > >public: > virtual UINT32 GetCreator() const { return 0x20584253; } virtual UINT16 GetVersion() const { return 1; } virtual UINT16 GetSbxId() const { return 0x5241; }; > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SbxArray( SbxDataType=SbxVARIANT ); > SbxArray( const SbxArray& ); > SbxArray& operator=( const SbxArray& ); > virtual void Clear(); > USHORT Count() const; > virtual SbxDataType GetType() const; > virtual SbxClassType GetClass() const; > SbxVariableRef& GetRef( USHORT ); > SbxVariable* Get( USHORT ); > void Put( SbxVariable*, USHORT ); > void Insert( SbxVariable*, USHORT ); > void Remove( USHORT ); > void Remove( SbxVariable* ); > void Merge( SbxArray* ); > const String& GetAlias( USHORT ); > void PutAlias( const String&, USHORT ); > SbxVariable* FindUserData( UINT32 nUserData ); > virtual SbxVariable* Find( const String&, SbxClassType ); > > > UINT32 Count32() const; > SbxVariableRef& GetRef32( UINT32 ); > SbxVariable* Get32( UINT32 ); > void Put32( SbxVariable*, UINT32 ); > void Insert32( SbxVariable*, UINT32 ); > void Remove32( UINT32 ); >}; ># 231 "../../inc/basic/sbx.hxx" >struct SbxDim; > >class SbxDimArrayImpl; > >class SbxDimArray : public SbxArray >{ > SbxDimArrayImpl* mpSbxDimArrayImpl; > > SbxDim* pFirst, *pLast; > short nDim; > void AddDimImpl32( INT32, INT32, BOOL bAllowSize0 ); > bool mbHasFixedSize; >protected: > USHORT Offset( const short* ); > UINT32 Offset32( const INT32* ); > USHORT Offset( SbxArray* ); > UINT32 Offset32( SbxArray* ); > virtual BOOL LoadData( SvStream&, USHORT ); > virtual BOOL StoreData( SvStream& ) const; > virtual ~SbxDimArray(); >public: > virtual UINT32 GetCreator() const { return 0x20584253; } virtual UINT16 GetVersion() const { return 1; } virtual UINT16 GetSbxId() const { return 0x4944; }; > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SbxDimArray( SbxDataType=SbxVARIANT ); > SbxDimArray( const SbxDimArray& ); > SbxDimArray& operator=( const SbxDimArray& ); > virtual void Clear(); > using SbxArray::GetRef; > SbxVariableRef& GetRef( const short* ); > using SbxArray::Get; > SbxVariable* Get( const short* ); > using SbxArray::Put; > void Put( SbxVariable*, const short* ); > SbxVariableRef& GetRef( SbxArray* ); > SbxVariable* Get( SbxArray* ); > void Put( SbxVariable*, SbxArray* ); > > short GetDims() const { return nDim; } > void AddDim( short, short ); > void unoAddDim( short, short ); > BOOL GetDim( short, short&, short& ) const; > > using SbxArray::GetRef32; > SbxVariableRef& GetRef32( const INT32* ); > using SbxArray::Get32; > SbxVariable* Get32( const INT32* ); > using SbxArray::Put32; > void Put32( SbxVariable*, const INT32* ); > void AddDim32( INT32, INT32 ); > void unoAddDim32( INT32, INT32 ); > BOOL GetDim32( INT32, INT32&, INT32& ) const; > bool hasFixedSize() { return mbHasFixedSize; }; > void setHasFixedSize( bool bHasFixedSize ) {mbHasFixedSize = bHasFixedSize; }; >}; > > > > > > >class SbxCollection : public SbxObject >{ > void Initialize(); >protected: > virtual ~SbxCollection(); > virtual BOOL LoadData( SvStream&, USHORT ); > virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); > > > virtual void CollAdd( SbxArray* pPar ); > virtual void CollItem( SbxArray* pPar ); > virtual void CollRemove( SbxArray* pPar ); > >public: > virtual UINT32 GetCreator() const { return 0x20584253; } virtual UINT16 GetVersion() const { return 1; } virtual UINT16 GetSbxId() const { return 0x4F43; }; > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SbxCollection( const String& rClassname ); > SbxCollection( const SbxCollection& ); > SbxCollection& operator=( const SbxCollection& ); > virtual SbxVariable* FindUserData( UINT32 nUserData ); > virtual SbxVariable* Find( const String&, SbxClassType ); > virtual void Clear(); >}; > > > > > > >class SbxStdCollection : public SbxCollection >{ >protected: > String aElemClass; > BOOL bAddRemoveOk; > virtual ~SbxStdCollection(); > virtual BOOL LoadData( SvStream&, USHORT ); > virtual BOOL StoreData( SvStream& ) const; > virtual void CollAdd( SbxArray* pPar ); > virtual void CollRemove( SbxArray* pPar ); >public: > virtual UINT32 GetCreator() const { return 0x20584253; } virtual UINT16 GetVersion() const { return 1; } virtual UINT16 GetSbxId() const { return 0x4346; }; > static void* CreateType(); static TypeId StaticType(); static BOOL IsOf( TypeId aSameOrSuperType ); virtual TypeId Type() const; virtual BOOL IsA( TypeId aSameOrSuperType ) const; > SbxStdCollection > ( const String& rClassname, const String& rElemClass, BOOL=1 ); > SbxStdCollection( const SbxStdCollection& ); > SbxStdCollection& operator=( const SbxStdCollection& ); > virtual void Insert( SbxVariable* ); > const String& GetElementClass() const { return aElemClass; } >}; > > > > > > >inline SbxBaseRef::SbxBaseRef( const SbxBaseRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SbxBaseRef::SbxBaseRef( SbxBase * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SbxBaseRef::Clear() { if( pObj ) { SbxBase* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SbxBaseRef::~SbxBaseRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SbxBaseRef & SbxBaseRef:: operator = ( const SbxBaseRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SbxBase* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SbxBaseRef & SbxBaseRef::operator = ( SbxBase * pObjP ) { return *this = SbxBaseRef( pObjP ); } > >inline SbxVariableRef::SbxVariableRef( const SbxVariableRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SbxVariableRef::SbxVariableRef( SbxVariable * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SbxVariableRef::Clear() { if( pObj ) { SbxVariable* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SbxVariableRef::~SbxVariableRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SbxVariableRef & SbxVariableRef:: operator = ( const SbxVariableRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SbxVariable* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SbxVariableRef & SbxVariableRef::operator = ( SbxVariable * pObjP ) { return *this = SbxVariableRef( pObjP ); } > > > > > > > >inline SbxArrayRef::SbxArrayRef( const SbxArrayRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SbxArrayRef::SbxArrayRef( SbxArray * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SbxArrayRef::Clear() { if( pObj ) { SbxArray* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SbxArrayRef::~SbxArrayRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SbxArrayRef & SbxArrayRef:: operator = ( const SbxArrayRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SbxArray* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SbxArrayRef & SbxArrayRef::operator = ( SbxArray * pObjP ) { return *this = SbxArrayRef( pObjP ); } ># 365 "../../inc/basic/sbx.hxx" >inline SbxInfoRef::SbxInfoRef( const SbxInfoRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SbxInfoRef::SbxInfoRef( SbxInfo * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SbxInfoRef::Clear() { if( pObj ) { SbxInfo* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SbxInfoRef::~SbxInfoRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SbxInfoRef & SbxInfoRef:: operator = ( const SbxInfoRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SbxInfo* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SbxInfoRef & SbxInfoRef::operator = ( SbxInfo * pObjP ) { return *this = SbxInfoRef( pObjP ); } > > > > >class SbxDimArray; class SbxDimArrayRef { protected: SbxDimArray * pObj; public: inline SbxDimArrayRef() { pObj = 0; } inline SbxDimArrayRef( const SbxDimArrayRef & rObj ); inline SbxDimArrayRef( SbxDimArray * pObjP ); inline void Clear(); inline ~SbxDimArrayRef(); inline SbxDimArrayRef & operator = ( const SbxDimArrayRef & rObj ); inline SbxDimArrayRef & operator = ( SbxDimArray * pObj ); inline BOOL Is() const { return pObj != __null; } inline SbxDimArray * operator & () const { return pObj; } inline SbxDimArray * operator -> () const { return pObj; } inline SbxDimArray & operator * () const { return *pObj; } inline operator SbxDimArray * () const { return pObj; } }; > >inline SbxDimArrayRef::SbxDimArrayRef( const SbxDimArrayRef & rObj ) { pObj = rObj.pObj; if( pObj ) { pObj->AddNextRef(); } } inline SbxDimArrayRef::SbxDimArrayRef( SbxDimArray * pObjP ) { pObj = pObjP; if( pObj ) { pObj->AddRef(); } } inline void SbxDimArrayRef::Clear() { if( pObj ) { SbxDimArray* const pRefObj = pObj; pObj = 0; pRefObj->ReleaseReference(); } } inline SbxDimArrayRef::~SbxDimArrayRef() { if( pObj ) { pObj->ReleaseReference(); } } inline SbxDimArrayRef & SbxDimArrayRef:: operator = ( const SbxDimArrayRef & rObj ) { if( rObj.pObj ) rObj.pObj->AddNextRef(); SbxDimArray* const pRefObj = pObj; pObj = rObj.pObj; if( pRefObj ) { pRefObj->ReleaseReference(); } return *this; } inline SbxDimArrayRef & SbxDimArrayRef::operator = ( SbxDimArray * pObjP ) { return *this = SbxDimArrayRef( pObjP ); } ># 35 "/backup/callcatcherbot/DEV300_m12/basic/source/sbx/sbxdbl.cxx" 2 ># 1 "/backup/callcatcherbot/DEV300_m12/basic/source/sbx/sbxconv.hxx" 1 ># 34 "/backup/callcatcherbot/DEV300_m12/basic/source/sbx/sbxconv.hxx" ># 1 "/backup/callcatcherbot/DEV300_m12/basic/source/sbx/sbxdec.hxx" 1 ># 60 "/backup/callcatcherbot/DEV300_m12/basic/source/sbx/sbxdec.hxx" >class SbxDecimal >{ > friend void releaseDecimalPtr( SbxDecimal*& rpDecimal ); > > > > > INT32 mnRefCount; > >public: > SbxDecimal( void ); > SbxDecimal( const SbxDecimal& rDec ); > SbxDecimal( const com::sun::star::bridge::oleautomation::Decimal& rAutomationDec ); > > ~SbxDecimal(); > > void addRef( void ) > { mnRefCount++; } > > void fillAutomationDecimal( com::sun::star::bridge::oleautomation::Decimal& rAutomationDec ); > > void setChar( sal_Unicode val ); > void setByte( BYTE val ); > void setShort( INT16 val ); > void setLong( INT32 val ); > void setUShort( UINT16 val ); > void setULong( UINT32 val ); > bool setSingle( float val ); > bool setDouble( double val ); > void setInt( int val ); > void setUInt( unsigned int val ); > bool setString( String* pString ); > void setDecimal( SbxDecimal* pDecimal ) > { > > > > > (void)pDecimal; > > } > > bool getChar( sal_Unicode& rVal ); > bool getByte( BYTE& rVal ); > bool getShort( INT16& rVal ); > bool getLong( INT32& rVal ); > bool getUShort( UINT16& rVal ); > bool getULong( UINT32& rVal ); > bool getSingle( float& rVal ); > bool getDouble( double& rVal ); > bool getInt( int& rVal ); > bool getUInt( unsigned int& rVal ); > bool getString( String& rString ); > > bool operator -= ( const SbxDecimal &r ); > bool operator += ( const SbxDecimal &r ); > bool operator /= ( const SbxDecimal &r ); > bool operator *= ( const SbxDecimal &r ); > bool neg( void ); > > bool isZero( void ); > > enum CmpResult { LT, EQ, GT }; > friend CmpResult compare( const SbxDecimal &rLeft, const SbxDecimal &rRight ); >}; ># 35 "/backup/callcatcherbot/DEV300_m12/basic/source/sbx/sbxconv.hxx" 2 > > >extern void ImpCvtNum( double nNum, short nPrec, String& rRes, BOOL bCoreString=0 ); >extern SbxError ImpScan > ( const String& rSrc, double& nVal, SbxDataType& rType, USHORT* pLen, > BOOL bAllowIntntl=0, BOOL bOnlyIntntl=0 ); > > >extern BOOL ImpConvStringExt( String& rSrc, SbxDataType eTargetType ); > > > >double ImpRound( double ); >INT16 ImpGetInteger( const SbxValues* ); >void ImpPutInteger( SbxValues*, INT16 ); >sal_Int64 ImpGetInt64( const SbxValues* ); >void ImpPutInt64( SbxValues*, sal_Int64 ); >sal_uInt64 ImpGetUInt64( const SbxValues* ); >void ImpPutUInt64( SbxValues*, sal_uInt64 ); > >sal_Int64 ImpDoubleToSalInt64( double d ); >sal_uInt64 ImpDoubleToSalUInt64( double d ); >double ImpSalUInt64ToDouble( sal_uInt64 n ); > > > >INT32 ImpGetLong( const SbxValues* ); >void ImpPutLong( SbxValues*, INT32 ); > > > >float ImpGetSingle( const SbxValues* ); >void ImpPutSingle( SbxValues*, float ); > > > >double ImpGetDouble( const SbxValues* ); >void ImpPutDouble( SbxValues*, double, BOOL bCoreString=0 ); ># 85 "/backup/callcatcherbot/DEV300_m12/basic/source/sbx/sbxconv.hxx" >SbxUINT64 ImpDoubleToUINT64( double ); >double ImpUINT64ToDouble( const SbxUINT64& ); >SbxINT64 ImpDoubleToINT64( double ); >double ImpINT64ToDouble( const SbxINT64& ); > > >INT32 ImpGetCurrLong( const SbxValues* ); >void ImpPutCurrLong( SbxValues*, INT32 ); >INT32 ImpDoubleToCurrLong( double ); >double ImpCurrLongToDouble( INT32 ); > > >SbxINT64 ImpGetCurrency( const SbxValues* ); >void ImpPutCurrency( SbxValues*, const SbxINT64& ); >inline >SbxINT64 ImpDoubleToCurrency( double d ) > { return ImpDoubleToINT64( d * 10000 ); } >inline >double ImpCurrencyToDouble( const SbxINT64 &r ) > { return ImpINT64ToDouble( r ) / 10000; } > > > > >SbxDecimal* ImpCreateDecimal( SbxValues* p ); >SbxDecimal* ImpGetDecimal( const SbxValues* p ); >void ImpPutDecimal( SbxValues* p, SbxDecimal* pDec ); > > > >double ImpGetDate( const SbxValues* ); >void ImpPutDate( SbxValues*, double ); > > > >String ImpGetString( const SbxValues* ); >String ImpGetCoreString( const SbxValues* ); >void ImpPutString( SbxValues*, const String* ); > > > >sal_Unicode ImpGetChar( const SbxValues* ); >void ImpPutChar( SbxValues*, sal_Unicode ); > > >BYTE ImpGetByte( const SbxValues* ); >void ImpPutByte( SbxValues*, BYTE ); > > > >UINT16 ImpGetUShort( const SbxValues* ); >void ImpPutUShort( SbxValues*, UINT16 ); > > > >UINT32 ImpGetULong( const SbxValues* ); >void ImpPutULong( SbxValues*, UINT32 ); > > > >enum SbxBOOL ImpGetBool( const SbxValues* ); >void ImpPutBool( SbxValues*, INT16 ); ># 36 "/backup/callcatcherbot/DEV300_m12/basic/source/sbx/sbxdbl.cxx" 2 > ># 1 "/usr/include/stdio.h" 1 3 4 ># 30 "/usr/include/stdio.h" 3 4 >extern "C" { > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.3.0/include/stddef.h" 1 3 4 ># 35 "/usr/include/stdio.h" 2 3 4 ># 45 "/usr/include/stdio.h" 3 4 >struct _IO_FILE; > > > >typedef struct _IO_FILE FILE; > > > > > ># 65 "/usr/include/stdio.h" 3 4 >typedef struct _IO_FILE __FILE; ># 75 "/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 ># 15 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.3.0/include/stddef.h" 1 3 4 ># 16 "/usr/include/_G_config.h" 2 3 4 > > > > ># 1 "/usr/include/wchar.h" 1 3 4 ># 78 "/usr/include/wchar.h" 3 4 >typedef struct >{ > int __count; > union > { > > unsigned int __wch; > > > > char __wchb[4]; > } __value; >} __mbstate_t; ># 21 "/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; ># 53 "/usr/include/_G_config.h" 3 4 >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/x86_64-redhat-linux/4.3.0/include/stdarg.h" 1 3 4 ># 43 "/usr/lib/gcc/x86_64-redhat-linux/4.3.0/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 54 "/usr/include/libio.h" 2 3 4 ># 170 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 180 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 203 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 271 "/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; ># 319 "/usr/include/libio.h" 3 4 > __off64_t _offset; ># 328 "/usr/include/libio.h" 3 4 > void *__pad1; > void *__pad2; > void *__pad3; > void *__pad4; > size_t __pad5; > > int _mode; > > char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; > >}; > > > > > >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_; ># 364 "/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 *); >extern int __uflow (_IO_FILE *); >extern int __overflow (_IO_FILE *, int); ># 458 "/usr/include/libio.h" 3 4 >extern int _IO_getc (_IO_FILE *__fp); >extern int _IO_putc (int __c, _IO_FILE *__fp); >extern int _IO_feof (_IO_FILE *__fp) throw (); >extern int _IO_ferror (_IO_FILE *__fp) throw (); > >extern int _IO_peekc_locked (_IO_FILE *__fp); > > > > > >extern void _IO_flockfile (_IO_FILE *) throw (); >extern void _IO_funlockfile (_IO_FILE *) throw (); >extern int _IO_ftrylockfile (_IO_FILE *) throw (); ># 488 "/usr/include/libio.h" 3 4 >extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, > __gnuc_va_list, int *__restrict); >extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, > __gnuc_va_list); >extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); > >extern void _IO_free_backup_area (_IO_FILE *) throw (); ># 550 "/usr/include/libio.h" 3 4 >} ># 76 "/usr/include/stdio.h" 2 3 4 > > > > >typedef __gnuc_va_list va_list; ># 89 "/usr/include/stdio.h" 3 4 > > >typedef _G_fpos_t fpos_t; > > > > > >typedef _G_fpos64_t fpos64_t; ># 141 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 142 "/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 int renameat (int __oldfd, __const char *__old, int __newfd, > __const char *__new) throw (); > > > > > > > > >extern FILE *tmpfile (void) ; ># 184 "/usr/include/stdio.h" 3 4 >extern FILE *tmpfile64 (void) ; > > > >extern char *tmpnam (char *__s) throw () ; > > > > > >extern char *tmpnam_r (char *__s) throw () ; ># 206 "/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); > ># 231 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 241 "/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) ; ># 274 "/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 **__bufloc, size_t *__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 (); ># 443 "/usr/include/stdio.h" 3 4 > > > > > > > > >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))); ># 502 "/usr/include/stdio.h" 3 4 > > > > > > > > > >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); > ># 530 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 541 "/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); > ># 574 "/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) ; > ># 620 "/usr/include/stdio.h" 3 4 >extern char *fgets_unlocked (char *__restrict __s, int __n, > FILE *__restrict __stream) ; ># 636 "/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) ; > ># 697 "/usr/include/stdio.h" 3 4 >extern int fputs_unlocked (__const char *__restrict __s, > FILE *__restrict __stream); ># 708 "/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); > ># 744 "/usr/include/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off_t __off, int __whence); > > > > >extern __off_t ftello (FILE *__stream) ; ># 763 "/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); ># 786 "/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[]; ># 825 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) throw () ; > > > > >extern int fileno_unlocked (FILE *__stream) throw () ; ># 844 "/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 (); ># 905 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio.h" 1 3 4 ># 36 "/usr/include/bits/stdio.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) int >vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) >{ > return vfprintf (stdout, __fmt, __arg); >} > > > >extern __inline __attribute__ ((__gnu_inline__)) int >getchar (void) >{ > return _IO_getc (stdin); >} > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >fgetc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > > > > >extern __inline __attribute__ ((__gnu_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++); >} > > >extern __inline __attribute__ ((__gnu_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++); >} > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >putchar (int __c) >{ > return _IO_putc (__c, stdout); >} > > > > >extern __inline __attribute__ ((__gnu_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))); >} > > > > > >extern __inline __attribute__ ((__gnu_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))); >} > > >extern __inline __attribute__ ((__gnu_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))); >} > > > > > >extern __inline __attribute__ ((__gnu_inline__)) __ssize_t >getline (char **__lineptr, size_t *__n, FILE *__stream) >{ > return __getdelim (__lineptr, __n, '\n', __stream); >} > > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >feof_unlocked (FILE *__stream) throw () >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >ferror_unlocked (FILE *__stream) throw () >{ > return (((__stream)->_flags & 0x20) != 0); >} ># 906 "/usr/include/stdio.h" 2 3 4 ># 914 "/usr/include/stdio.h" 3 4 >} ># 38 "/backup/callcatcherbot/DEV300_m12/basic/source/sbx/sbxdbl.cxx" 2 ># 144 "/backup/callcatcherbot/DEV300_m12/basic/source/sbx/sbxdbl.cxx" >void ImpPutDouble( SbxValues* p, double n, BOOL bCoreString ) >{ > SbxValues aTmp; >start: > switch( +p->eType ) > { > > case SbxINTEGER: > aTmp.pInteger = &p->nInteger; goto direct; > direct: > aTmp.eType = SbxDataType( p->eType | SbxBYREF ); > p = &aTmp; > goto start; > case SbxBYREF | SbxINTEGER: > *p->pInteger = (INT16) n; break; > case SbxBYREF | SbxSALINT64: > *p->pnInt64 = ImpDoubleToSalInt64( n ); break; > case SbxBYREF | SbxSALUINT64: > *p->puInt64 = ImpDoubleToSalUInt64( n ); break; > case SbxBYREF | SbxCURRENCY: > if( n > ( 922337203685477.5807) ) > { > fprintf(stderr, "underflow\n"); n = ( 922337203685477.5807); > } > else if( n < (-922337203685477.5808) ) > { > fprintf(stderr, "overflow\n"); n = (-922337203685477.5808); > } > *p->pLong64 = ImpDoubleToCurrency( n ); break; > > default: > fprintf(stderr, "error\n"); > } >} > > > >int main(void) >{ > SbxValues a; > a.eType = SbxINTEGER; > ImpPutDouble(&a, 2, false); > return 0; >} > >sal_uInt64 ImpDoubleToSalUInt64( double d ) >{ > sal_uInt64 nRes; > if( d > ((sal_uInt64) 0xFFFFFFFFFFFFFFFFul) ) > { > fprintf(stderr, "underflow\n"); nRes = ((sal_uInt64) 0xFFFFFFFFFFFFFFFFul); > } > else if( d < 0.0 ) > { > fprintf(stderr, "overflow\n"); nRes = 0; > } > else > nRes = (sal_uInt64) ImpRound( d ); > return nRes; >} > >sal_Int64 ImpDoubleToSalInt64( double d ) >{ > sal_Int64 nRes; > if( d > ((sal_Int64) 0x7FFFFFFFFFFFFFFFl) ) > { > fprintf(stderr, "underflow\n"); nRes = ((sal_Int64) 0x7FFFFFFFFFFFFFFFl); > } > else if( d < ((sal_Int64) (-0x7FFFFFFFFFFFFFFFl - 1)) ) > { > fprintf(stderr, "overflow\n"); nRes = ((sal_Int64) (-0x7FFFFFFFFFFFFFFFl - 1)); > } > else > nRes = (sal_Int64) ImpRound( d ); > return nRes; >} > >SbxINT64 ImpDoubleToINT64( double d ) >{ > SbxINT64 nRes; > nRes.Set( d ); > return nRes; >} > >double ImpRound( double d ) >{ > return d + ( d < 0 ? -0.5 : 0.5 ); >}
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 447212
: 305916