// /usr/libexec/gcc/i686-pc-linux-gnu/3.4.5/cc1obj -quiet -I. -I/home/shon/GNUstep/Library/Headers -I/usr/GNUstep/Local/Library/Headers -I/usr/GNUstep/Network/Library/Headers -I/usr/GNUstep/System/Library/Headers -MMD shared_obj/BigNumber.d -MP -MQ shared_obj/BigNumber.o -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -D_REENTRANT -DGSWARN -DGSDIAGNOSE BigNumber.m -quiet -dumpbase BigNumber.m -march=pentium4 -auxbase-strip shared_obj/BigNumber.o -O2 -fPIC -fno-strict-aliasing -fobjc-exceptions -fgnu-runtime -fconstant-string-class=NSConstantString -o - -frandom-seed=0 # 1 "BigNumber.m" # 1 "" # 1 "" # 1 "BigNumber.m" # 9 "BigNumber.m" # 1 "BigNumber.h" 1 # 9 "BigNumber.h" # 1 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 1 # 29 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h" 1 # 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h" # 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" 1 # 32 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc.h" 1 3 4 # 34 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 # 151 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 typedef int ptrdiff_t; # 213 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 typedef long int wchar_t; # 35 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc.h" 2 3 4 typedef unsigned char BOOL; # 51 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc.h" 3 4 typedef const struct objc_selector { void *sel_id; const char *sel_types; } *SEL; inline static BOOL sel_eq (SEL s1, SEL s2) { if (s1 == 0 || s2 == 0) return s1 == s2; else return s1->sel_id == s2->sel_id; } typedef struct objc_object { struct objc_class* class_pointer; } *id; # 85 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc.h" 3 4 typedef id (*IMP)(id, SEL, ...); typedef char *STR; # 104 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc.h" 3 4 typedef struct objc_class *MetaClass; typedef struct objc_class *Class; struct objc_class { MetaClass class_pointer; struct objc_class* super_class; const char* name; long version; unsigned long info; long instance_size; struct objc_ivar_list* ivars; struct objc_method_list* methods; struct sarray * dtable; struct objc_class* subclass_list; struct objc_class* sibling_class; struct objc_protocol_list *protocols; void* gc_object_type; }; # 148 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc.h" 3 4 @class Protocol; typedef void* retval_t; typedef void(*apply_t)(void); typedef union { char *arg_ptr; char arg_regs[sizeof (char*)]; } *arglist_t; IMP objc_msg_lookup(id receiver, SEL op); # 33 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" 2 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc-api.h" 1 3 4 # 31 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc-api.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/hash.h" 1 3 4 # 31 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/hash.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 # 32 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/hash.h" 2 3 4 # 1 "/usr/include/string.h" 1 3 4 # 26 "/usr/include/string.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 309 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 310 "/usr/include/features.h" 2 3 4 # 332 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 333 "/usr/include/features.h" 2 3 4 # 27 "/usr/include/string.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 # 34 "/usr/include/string.h" 2 3 4 extern void *memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, __const void *__src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memchr (__const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 82 "/usr/include/string.h" 3 4 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 130 "/usr/include/string.h" 3 4 extern char *strdup (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 165 "/usr/include/string.h" 3 4 extern char *strchr (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strrchr (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 181 "/usr/include/string.h" 3 4 extern size_t strcspn (__const char *__s, __const char *__reject) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (__const char *__s, __const char *__accept) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strpbrk (__const char *__s, __const char *__accept) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strstr (__const char *__haystack, __const char *__needle) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strtok (char *__restrict __s, __const char *__restrict __delim) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *__strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); # 240 "/usr/include/string.h" 3 4 extern size_t strlen (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 254 "/usr/include/string.h" 3 4 extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); # 281 "/usr/include/string.h" 3 4 extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void bcopy (__const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *index (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *rindex (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 325 "/usr/include/string.h" 3 4 extern int strcasecmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 348 "/usr/include/string.h" 3 4 extern char *strsep (char **__restrict __stringp, __const char *__restrict __delim) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); # 414 "/usr/include/string.h" 3 4 # 1 "/usr/include/bits/string.h" 1 3 4 # 415 "/usr/include/string.h" 2 3 4 # 1 "/usr/include/bits/string2.h" 1 3 4 # 52 "/usr/include/bits/string2.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 # 53 "/usr/include/bits/string2.h" 2 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 # 32 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 129 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 130 "/usr/include/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef long int __swblk_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef int __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 54 "/usr/include/bits/string2.h" 2 3 4 # 394 "/usr/include/bits/string2.h" 3 4 extern void *__rawmemchr (const void *__s, int __c); # 969 "/usr/include/bits/string2.h" 3 4 extern __inline size_t __strcspn_c1 (__const char *__s, int __reject); extern __inline size_t __strcspn_c1 (__const char *__s, int __reject) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject) ++__result; return __result; } extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, int __reject2); extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, int __reject2) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject1 && __s[__result] != __reject2) ++__result; return __result; } extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, int __reject2, int __reject3); extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, int __reject2, int __reject3) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject1 && __s[__result] != __reject2 && __s[__result] != __reject3) ++__result; return __result; } # 1045 "/usr/include/bits/string2.h" 3 4 extern __inline size_t __strspn_c1 (__const char *__s, int __accept); extern __inline size_t __strspn_c1 (__const char *__s, int __accept) { register size_t __result = 0; while (__s[__result] == __accept) ++__result; return __result; } extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, int __accept2); extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, int __accept2) { register size_t __result = 0; while (__s[__result] == __accept1 || __s[__result] == __accept2) ++__result; return __result; } extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3); extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) { register size_t __result = 0; while (__s[__result] == __accept1 || __s[__result] == __accept2 || __s[__result] == __accept3) ++__result; return __result; } # 1121 "/usr/include/bits/string2.h" 3 4 extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1, int __accept2); extern __inline char * __strpbrk_c2 (__const char *__s, int __accept1, int __accept2) { while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) ++__s; return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; } extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1, int __accept2, int __accept3); extern __inline char * __strpbrk_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) { while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 && *__s != __accept3) ++__s; return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; } # 1173 "/usr/include/bits/string2.h" 3 4 extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp); extern __inline char * __strtok_r_1c (char *__s, char __sep, char **__nextp) { char *__result; if (__s == ((void *)0)) __s = *__nextp; while (*__s == __sep) ++__s; __result = ((void *)0); if (*__s != '\0') { __result = __s++; while (*__s != '\0') if (*__s++ == __sep) { __s[-1] = '\0'; break; } *__nextp = __s; } return __result; } # 1205 "/usr/include/bits/string2.h" 3 4 extern char *__strsep_g (char **__stringp, __const char *__delim); # 1223 "/usr/include/bits/string2.h" 3 4 extern __inline char *__strsep_1c (char **__s, char __reject); extern __inline char * __strsep_1c (char **__s, char __reject) { register char *__retval = *__s; if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0)) *(*__s)++ = '\0'; return __retval; } extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2); extern __inline char * __strsep_2c (char **__s, char __reject1, char __reject2) { register char *__retval = *__s; if (__retval != ((void *)0)) { register char *__cp = __retval; while (1) { if (*__cp == '\0') { __cp = ((void *)0); break; } if (*__cp == __reject1 || *__cp == __reject2) { *__cp++ = '\0'; break; } ++__cp; } *__s = __cp; } return __retval; } extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3); extern __inline char * __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3) { register char *__retval = *__s; if (__retval != ((void *)0)) { register char *__cp = __retval; while (1) { if (*__cp == '\0') { __cp = ((void *)0); break; } if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3) { *__cp++ = '\0'; break; } ++__cp; } *__s = __cp; } return __retval; } # 1299 "/usr/include/bits/string2.h" 3 4 # 1 "/usr/include/stdlib.h" 1 3 4 # 33 "/usr/include/stdlib.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 # 34 "/usr/include/stdlib.h" 2 3 4 # 582 "/usr/include/stdlib.h" 3 4 extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); # 961 "/usr/include/stdlib.h" 3 4 # 1300 "/usr/include/bits/string2.h" 2 3 4 extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); # 1323 "/usr/include/bits/string2.h" 3 4 extern char *__strndup (__const char *__string, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); # 418 "/usr/include/string.h" 2 3 4 # 426 "/usr/include/string.h" 3 4 # 33 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/hash.h" 2 3 4 # 42 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/hash.h" 3 4 typedef struct cache_node { struct cache_node *next; const void *key; void *value; } *node_ptr; # 63 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/hash.h" 3 4 typedef unsigned int (*hash_func_type) (void *, const void *); # 72 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/hash.h" 3 4 typedef int (*compare_func_type) (const void *, const void *); # 81 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/hash.h" 3 4 typedef struct cache { node_ptr *node_table; unsigned int size; unsigned int used; unsigned int mask; unsigned int last_bucket; hash_func_type hash_func; compare_func_type compare_func; } *cache_ptr; extern cache_ptr module_hash_table, class_hash_table; cache_ptr hash_new (unsigned int size, hash_func_type hash_func, compare_func_type compare_func); void hash_delete (cache_ptr cache); void hash_add (cache_ptr *cachep, const void *key, void *value); void hash_remove (cache_ptr cache, const void *key); # 139 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/hash.h" 3 4 node_ptr hash_next (cache_ptr cache, node_ptr node); void *hash_value_for_key (cache_ptr cache, const void *key); BOOL hash_is_key_in_hash (cache_ptr cache, const void *key); # 161 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/hash.h" 3 4 static inline unsigned int hash_ptr (cache_ptr cache, const void *key) { return ((size_t)key / sizeof (void *)) & cache->mask; } static inline unsigned int hash_string (cache_ptr cache, const void *key) { unsigned int ret = 0; unsigned int ctr = 0; const char *ckey = key; while (*ckey) { ret ^= *ckey++ << ctr; ctr = (ctr + 1) % sizeof (void *); } return ret & cache->mask; } static inline int compare_ptrs (const void *k1, const void *k2) { return (k1 == k2); } static inline int compare_strings (const void *k1, const void *k2) { if (k1 == k2) return 1; else if (k1 == 0 || k2 == 0) return 0; else return ! __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (k1) && __builtin_constant_p (k2) && (__s1_len = strlen (k1), __s2_len = strlen (k2), (!((size_t)(const void *)((k1) + 1) - (size_t)(const void *)(k1) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((k2) + 1) - (size_t)(const void *)(k2) == 1) || __s2_len >= 4)) ? __builtin_strcmp (k1, k2) : (__builtin_constant_p (k1) && ((size_t)(const void *)((k1) + 1) - (size_t)(const void *)(k1) == 1) && (__s1_len = strlen (k1), __s1_len < 4) ? (__builtin_constant_p (k2) && ((size_t)(const void *)((k2) + 1) - (size_t)(const void *)(k2) == 1) ? __builtin_strcmp (k1, k2) : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) (k2); register int __result = (((__const unsigned char *) (__const char *) (k1))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (k1))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (k1))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (k1))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (k2) && ((size_t)(const void *)((k2) + 1) - (size_t)(const void *)(k2) == 1) && (__s2_len = strlen (k2), __s2_len < 4) ? (__builtin_constant_p (k1) && ((size_t)(const void *)((k1) + 1) - (size_t)(const void *)(k1) == 1) ? __builtin_strcmp (k1, k2) : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (k1); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) (k2))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) (k2))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) (k2))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) (k2))[3]); } } __result; }))) : __builtin_strcmp (k1, k2)))); }); } # 32 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc-api.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/thr.h" 1 3 4 # 46 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/thr.h" 3 4 extern int __objc_thread_exit_status; # 58 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/thr.h" 3 4 typedef void * objc_thread_t; struct objc_mutex { volatile objc_thread_t owner; volatile int depth; void * backend; }; typedef struct objc_mutex *objc_mutex_t; struct objc_condition { void * backend; }; typedef struct objc_condition *objc_condition_t; objc_mutex_t objc_mutex_allocate (void); int objc_mutex_deallocate (objc_mutex_t mutex); int objc_mutex_lock (objc_mutex_t mutex); int objc_mutex_unlock (objc_mutex_t mutex); int objc_mutex_trylock (objc_mutex_t mutex); objc_condition_t objc_condition_allocate (void); int objc_condition_deallocate (objc_condition_t condition); int objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex); int objc_condition_signal (objc_condition_t condition); int objc_condition_broadcast (objc_condition_t condition); objc_thread_t objc_thread_detach (SEL selector, id object, id argument); void objc_thread_yield (void); int objc_thread_exit (void); int objc_thread_set_priority (int priority); int objc_thread_get_priority (void); void * objc_thread_get_data (void); int objc_thread_set_data (void *value); objc_thread_t objc_thread_id (void); void objc_thread_add (void); void objc_thread_remove (void); # 114 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/thr.h" 3 4 typedef void (*objc_thread_callback) (void); objc_thread_callback objc_set_thread_callback (objc_thread_callback func); int __objc_init_thread_system (void); int __objc_fini_thread_system (void); int __objc_mutex_allocate (objc_mutex_t mutex); int __objc_mutex_deallocate (objc_mutex_t mutex); int __objc_mutex_lock (objc_mutex_t mutex); int __objc_mutex_trylock (objc_mutex_t mutex); int __objc_mutex_unlock (objc_mutex_t mutex); int __objc_condition_allocate (objc_condition_t condition); int __objc_condition_deallocate (objc_condition_t condition); int __objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex); int __objc_condition_broadcast (objc_condition_t condition); int __objc_condition_signal (objc_condition_t condition); objc_thread_t __objc_thread_detach (void (*func) (void *arg), void *arg); int __objc_thread_set_priority (int priority); int __objc_thread_get_priority (void); void __objc_thread_yield (void); int __objc_thread_exit (void); objc_thread_t __objc_thread_id (void); int __objc_thread_set_data (void *value); void * __objc_thread_get_data (void); # 33 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc-api.h" 2 3 4 # 1 "/usr/include/stdio.h" 1 3 4 # 30 "/usr/include/stdio.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 # 35 "/usr/include/stdio.h" 2 3 4 # 44 "/usr/include/stdio.h" 3 4 typedef struct _IO_FILE FILE; # 62 "/usr/include/stdio.h" 3 4 typedef struct _IO_FILE __FILE; # 72 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/libio.h" 1 3 4 # 32 "/usr/include/libio.h" 3 4 # 1 "/usr/include/_G_config.h" 1 3 4 # 14 "/usr/include/_G_config.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 # 354 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stddef.h" 3 4 typedef unsigned int wint_t; # 15 "/usr/include/_G_config.h" 2 3 4 # 24 "/usr/include/_G_config.h" 3 4 # 1 "/usr/include/wchar.h" 1 3 4 # 48 "/usr/include/wchar.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 # 49 "/usr/include/wchar.h" 2 3 4 # 1 "/usr/include/bits/wchar.h" 1 3 4 # 51 "/usr/include/wchar.h" 2 3 4 # 76 "/usr/include/wchar.h" 3 4 typedef struct { int __count; union { wint_t __wch; char __wchb[4]; } __value; } __mbstate_t; # 25 "/usr/include/_G_config.h" 2 3 4 typedef struct { __off_t __pos; __mbstate_t __state; } _G_fpos_t; typedef struct { __off64_t __pos; __mbstate_t __state; } _G_fpos64_t; # 44 "/usr/include/_G_config.h" 3 4 # 1 "/usr/include/gconv.h" 1 3 4 # 28 "/usr/include/gconv.h" 3 4 # 1 "/usr/include/wchar.h" 1 3 4 # 48 "/usr/include/wchar.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 # 49 "/usr/include/wchar.h" 2 3 4 # 29 "/usr/include/gconv.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 # 32 "/usr/include/gconv.h" 2 3 4 enum { __GCONV_OK = 0, __GCONV_NOCONV, __GCONV_NODB, __GCONV_NOMEM, __GCONV_EMPTY_INPUT, __GCONV_FULL_OUTPUT, __GCONV_ILLEGAL_INPUT, __GCONV_INCOMPLETE_INPUT, __GCONV_ILLEGAL_DESCRIPTOR, __GCONV_INTERNAL_ERROR }; enum { __GCONV_IS_LAST = 0x0001, __GCONV_IGNORE_ERRORS = 0x0002 }; struct __gconv_step; struct __gconv_step_data; struct __gconv_loaded_object; struct __gconv_trans_data; typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, __const unsigned char **, __const unsigned char *, unsigned char **, size_t *, int, int); typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char); typedef int (*__gconv_init_fct) (struct __gconv_step *); typedef void (*__gconv_end_fct) (struct __gconv_step *); typedef int (*__gconv_trans_fct) (struct __gconv_step *, struct __gconv_step_data *, void *, __const unsigned char *, __const unsigned char **, __const unsigned char *, unsigned char **, size_t *); typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, __const unsigned char *, unsigned char *, unsigned char *); typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, size_t *); typedef int (*__gconv_trans_init_fct) (void **, const char *); typedef void (*__gconv_trans_end_fct) (void *); struct __gconv_trans_data { __gconv_trans_fct __trans_fct; __gconv_trans_context_fct __trans_context_fct; __gconv_trans_end_fct __trans_end_fct; void *__data; struct __gconv_trans_data *__next; }; struct __gconv_step { struct __gconv_loaded_object *__shlib_handle; __const char *__modname; int __counter; char *__from_name; char *__to_name; __gconv_fct __fct; __gconv_btowc_fct __btowc_fct; __gconv_init_fct __init_fct; __gconv_end_fct __end_fct; int __min_needed_from; int __max_needed_from; int __min_needed_to; int __max_needed_to; int __stateful; void *__data; }; struct __gconv_step_data { unsigned char *__outbuf; unsigned char *__outbufend; int __flags; int __invocation_counter; int __internal_use; __mbstate_t *__statep; __mbstate_t __state; struct __gconv_trans_data *__trans; }; typedef struct __gconv_info { size_t __nsteps; struct __gconv_step *__steps; __extension__ struct __gconv_step_data __data []; } *__gconv_t; # 45 "/usr/include/_G_config.h" 2 3 4 typedef union { struct __gconv_info __cd; struct { struct __gconv_info __cd; struct __gconv_step_data __data; } __combined; } _G_iconv_t; typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); # 33 "/usr/include/libio.h" 2 3 4 # 53 "/usr/include/libio.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stdarg.h" 1 3 4 # 43 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stdarg.h" 3 4 typedef __builtin_va_list __gnuc_va_list; # 54 "/usr/include/libio.h" 2 3 4 # 166 "/usr/include/libio.h" 3 4 struct _IO_jump_t; struct _IO_FILE; # 176 "/usr/include/libio.h" 3 4 typedef void _IO_lock_t; struct _IO_marker { struct _IO_marker *_next; struct _IO_FILE *_sbuf; int _pos; # 199 "/usr/include/libio.h" 3 4 }; enum __codecvt_result { __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv }; # 267 "/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; # 315 "/usr/include/libio.h" 3 4 __off64_t _offset; void *__pad1; void *__pad2; int _mode; char _unused2[15 * sizeof (int) - 2 * sizeof (void *)]; }; typedef struct _IO_FILE _IO_FILE; 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_; # 354 "/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); # 406 "/usr/include/libio.h" 3 4 extern int __underflow (_IO_FILE *) __attribute__ ((__nothrow__)); extern int __uflow (_IO_FILE *) __attribute__ ((__nothrow__)); extern int __overflow (_IO_FILE *, int) __attribute__ ((__nothrow__)); extern wint_t __wunderflow (_IO_FILE *) __attribute__ ((__nothrow__)); extern wint_t __wuflow (_IO_FILE *) __attribute__ ((__nothrow__)); extern wint_t __woverflow (_IO_FILE *, wint_t) __attribute__ ((__nothrow__)); # 444 "/usr/include/libio.h" 3 4 extern int _IO_getc (_IO_FILE *__fp) __attribute__ ((__nothrow__)); extern int _IO_putc (int __c, _IO_FILE *__fp) __attribute__ ((__nothrow__)); extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__)); extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__)); extern int _IO_peekc_locked (_IO_FILE *__fp) __attribute__ ((__nothrow__)); extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__)); extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__)); extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__)); # 474 "/usr/include/libio.h" 3 4 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, __gnuc_va_list, int *__restrict) __attribute__ ((__nothrow__)); extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, __gnuc_va_list) __attribute__ ((__nothrow__)); extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) __attribute__ ((__nothrow__)); extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) __attribute__ ((__nothrow__)); extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) __attribute__ ((__nothrow__)); extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) __attribute__ ((__nothrow__)); extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__)); # 73 "/usr/include/stdio.h" 2 3 4 # 86 "/usr/include/stdio.h" 3 4 typedef _G_fpos_t fpos_t; # 138 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 # 139 "/usr/include/stdio.h" 2 3 4 extern struct _IO_FILE *stdin; extern struct _IO_FILE *stdout; extern struct _IO_FILE *stderr; extern int remove (__const char *__filename) __attribute__ ((__nothrow__)); extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__)); extern FILE *tmpfile (void); # 178 "/usr/include/stdio.h" 3 4 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)); extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)); # 196 "/usr/include/stdio.h" 3 4 extern char *tempnam (__const char *__dir, __const char *__pfx) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); extern int fclose (FILE *__stream); extern int fflush (FILE *__stream); # 221 "/usr/include/stdio.h" 3 4 extern int fflush_unlocked (FILE *__stream); # 235 "/usr/include/stdio.h" 3 4 extern FILE *fopen (__const char *__restrict __filename, __const char *__restrict __modes); extern FILE *freopen (__const char *__restrict __filename, __const char *__restrict __modes, FILE *__restrict __stream); # 262 "/usr/include/stdio.h" 3 4 # 273 "/usr/include/stdio.h" 3 4 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)); # 294 "/usr/include/stdio.h" 3 4 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__)); extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, int __modes, size_t __n) __attribute__ ((__nothrow__)); extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, size_t __size) __attribute__ ((__nothrow__)); extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__)); 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, ...) __attribute__ ((__nothrow__)); 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) __attribute__ ((__nothrow__)); extern int snprintf (char *__restrict __s, size_t __maxlen, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); extern int vsnprintf (char *__restrict __s, size_t __maxlen, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); # 388 "/usr/include/stdio.h" 3 4 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, ...) __attribute__ ((__nothrow__)); # 430 "/usr/include/stdio.h" 3 4 extern int fgetc (FILE *__stream); extern int getc (FILE *__stream); extern int getchar (void); # 454 "/usr/include/stdio.h" 3 4 extern int getc_unlocked (FILE *__stream); extern int getchar_unlocked (void); # 465 "/usr/include/stdio.h" 3 4 extern int fgetc_unlocked (FILE *__stream); extern int fputc (int __c, FILE *__stream); extern int putc (int __c, FILE *__stream); extern int putchar (int __c); # 498 "/usr/include/stdio.h" 3 4 extern int fputc_unlocked (int __c, FILE *__stream); extern int putc_unlocked (int __c, FILE *__stream); extern int putchar_unlocked (int __c); extern int getw (FILE *__stream); extern int putw (int __w, FILE *__stream); extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream); extern char *gets (char *__s); # 578 "/usr/include/stdio.h" 3 4 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); # 631 "/usr/include/stdio.h" 3 4 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream); extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream); extern int fseek (FILE *__stream, long int __off, int __whence); extern long int ftell (FILE *__stream); extern void rewind (FILE *__stream); # 686 "/usr/include/stdio.h" 3 4 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); extern int fsetpos (FILE *__stream, __const fpos_t *__pos); # 709 "/usr/include/stdio.h" 3 4 # 718 "/usr/include/stdio.h" 3 4 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__)); extern int feof (FILE *__stream) __attribute__ ((__nothrow__)); extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)); extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); 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[]; # 748 "/usr/include/stdio.h" 2 3 4 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)); extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); # 767 "/usr/include/stdio.h" 3 4 extern FILE *popen (__const char *__command, __const char *__modes); extern int pclose (FILE *__stream); extern char *ctermid (char *__s) __attribute__ ((__nothrow__)); # 807 "/usr/include/stdio.h" 3 4 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__)); extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)); extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__)); # 828 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio.h" 1 3 4 # 33 "/usr/include/bits/stdio.h" 3 4 extern __inline int vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) { return vfprintf (stdout, __fmt, __arg); } extern __inline int getchar (void) { return _IO_getc (stdin); } extern __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 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 int putchar (int __c) { return _IO_putc (__c, stdout); } extern __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 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 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))); } # 111 "/usr/include/bits/stdio.h" 3 4 extern __inline int __attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x10) != 0); } extern __inline int __attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x20) != 0); } # 829 "/usr/include/stdio.h" 2 3 4 # 34 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc-api.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stdarg.h" 1 3 4 # 105 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stdarg.h" 3 4 typedef __gnuc_va_list va_list; # 35 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc-api.h" 2 3 4 # 44 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc-api.h" 3 4 struct objc_method_description { SEL name; char *types; }; # 100 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc-api.h" 3 4 extern void objc_error(id object, int code, const char* fmt, ...); extern void objc_verror(id object, int code, const char* fmt, va_list ap); typedef BOOL (*objc_error_handler)(id, int code, const char *fmt, va_list ap); objc_error_handler objc_set_error_handler(objc_error_handler func); # 139 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc-api.h" 3 4 extern BOOL objc_trace; struct objc_static_instances { char *class_name; id instances[0]; }; # 160 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc-api.h" 3 4 typedef struct objc_symtab { unsigned long sel_ref_cnt; SEL refs; unsigned short cls_def_cnt; unsigned short cat_def_cnt; void *defs[1]; } Symtab, *Symtab_t; # 187 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc-api.h" 3 4 typedef struct objc_module { unsigned long version; unsigned long size; const char* name; Symtab_t symtab; } Module, *Module_t; typedef struct objc_ivar* Ivar_t; typedef struct objc_ivar_list { int ivar_count; struct objc_ivar { const char* ivar_name; const char* ivar_type; int ivar_offset; } ivar_list[1]; } IvarList, *IvarList_t; # 238 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc-api.h" 3 4 typedef struct objc_method Method; typedef Method* Method_t; typedef struct objc_method_list { struct objc_method_list* method_next; int method_count; struct objc_method { SEL method_name; const char* method_types; IMP method_imp; } method_list[1]; } MethodList, *MethodList_t; struct objc_protocol_list { struct objc_protocol_list *next; size_t count; Protocol *list[1]; }; # 319 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc-api.h" 3 4 typedef struct objc_category { const char* category_name; const char* class_name; MethodList_t instance_methods; MethodList_t class_methods; struct objc_protocol_list *protocols; } Category, *Category_t; typedef struct objc_super { id self; Class class; } Super, *Super_t; IMP objc_msg_lookup_super(Super_t super, SEL sel); retval_t objc_msg_sendv(id, SEL, arglist_t); # 360 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc-api.h" 3 4 extern Class (*_objc_lookup_class)(const char *name); extern void (*_objc_load_callback)(Class class, Category* category); extern id (*_objc_object_alloc)(Class class); extern id (*_objc_object_copy)(id object); extern id (*_objc_object_dispose)(id object); void * objc_malloc(size_t size); void * objc_atomic_malloc(size_t size); void * objc_valloc(size_t size); void * objc_realloc(void *mem, size_t size); void * objc_calloc(size_t nelem, size_t size); void objc_free(void *mem); # 411 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/objc-api.h" 3 4 extern void *(*_objc_malloc)(size_t); extern void *(*_objc_atomic_malloc)(size_t); extern void *(*_objc_valloc)(size_t); extern void *(*_objc_realloc)(void *, size_t); extern void *(*_objc_calloc)(size_t, size_t); extern void (*_objc_free)(void *); extern IMP (*__objc_msg_forward)(SEL); Method_t class_get_class_method(MetaClass class, SEL aSel); Method_t class_get_instance_method(Class class, SEL aSel); Class class_pose_as(Class impostor, Class superclass); Class objc_get_class(const char *name); Class objc_lookup_class(const char *name); Class objc_next_class(void **enum_state); const char *sel_get_name(SEL selector); const char *sel_get_type(SEL selector); SEL sel_get_uid(const char *name); SEL sel_get_any_uid(const char *name); SEL sel_get_any_typed_uid(const char *name); SEL sel_get_typed_uid(const char *name, const char*); SEL sel_register_name(const char *name); SEL sel_register_typed_name(const char *name, const char*type); BOOL sel_is_mapped (SEL aSel); extern id class_create_instance(Class class); static inline const char * class_get_class_name(Class class) { return ((class)&&((((class)->info)&0x1L)==0x1L))?class->name:((class==(Class)0)?"Nil":0); } static inline long class_get_instance_size(Class class) { return ((class)&&((((class)->info)&0x1L)==0x1L))?class->instance_size:0; } static inline MetaClass class_get_meta_class(Class class) { return ((class)&&((((class)->info)&0x1L)==0x1L))?class->class_pointer:(Class)0; } static inline Class class_get_super_class(Class class) { return ((class)&&((((class)->info)&0x1L)==0x1L))?class->super_class:(Class)0; } static inline int class_get_version(Class class) { return ((class)&&((((class)->info)&0x1L)==0x1L))?class->version:-1; } static inline BOOL class_is_class(Class class) { return ((class)&&((((class)->info)&0x1L)==0x1L)); } static inline BOOL class_is_meta_class(Class class) { return ((class)&&((((class)->info)&0x2L)==0x2L)); } static inline void class_set_version(Class class, long version) { if (((class)&&((((class)->info)&0x1L)==0x1L))) class->version = version; } static inline void * class_get_gc_object_type (Class class) { return ((class)&&((((class)->info)&0x1L)==0x1L)) ? class->gc_object_type : ((void *)0); } extern void class_ivar_set_gcinvisible (Class class, const char* ivarname, BOOL gcInvisible); static inline IMP method_get_imp(Method_t method) { return (method!=(Method_t)0)?method->method_imp:(IMP)0; } IMP get_imp (Class class, SEL sel); id object_copy(id object); id object_dispose(id object); static inline Class object_get_class(id object) { return ((object!=(id)0) ? (((object->class_pointer)&&((((object->class_pointer)->info)&0x1L)==0x1L)) ? object->class_pointer : (((object->class_pointer)&&((((object->class_pointer)->info)&0x2L)==0x2L)) ? (Class)object : (Class)0)) : (Class)0); } static inline const char * object_get_class_name(id object) { return ((object!=(id)0)?(((object->class_pointer)&&((((object->class_pointer)->info)&0x1L)==0x1L)) ?object->class_pointer->name :((Class)object)->name) :"Nil"); } static inline MetaClass object_get_meta_class(id object) { return ((object!=(id)0)?(((object->class_pointer)&&((((object->class_pointer)->info)&0x1L)==0x1L)) ?object->class_pointer->class_pointer :(((object->class_pointer)&&((((object->class_pointer)->info)&0x2L)==0x2L)) ?object->class_pointer :(Class)0)) :(Class)0); } static inline Class object_get_super_class (id object) { return ((object!=(id)0)?(((object->class_pointer)&&((((object->class_pointer)->info)&0x1L)==0x1L)) ?object->class_pointer->super_class :(((object->class_pointer)&&((((object->class_pointer)->info)&0x2L)==0x2L)) ?((Class)object)->super_class :(Class)0)) :(Class)0); } static inline BOOL object_is_class (id object) { return ((object != (id)0) && ((object->class_pointer)&&((((object->class_pointer)->info)&0x2L)==0x2L))); } static inline BOOL object_is_instance (id object) { return ((object != (id)0) && ((object->class_pointer)&&((((object->class_pointer)->info)&0x1L)==0x1L))); } static inline BOOL object_is_meta_class (id object) { return ((object != (id)0) && !object_is_instance (object) && !object_is_class (object)); } struct sarray* objc_get_uninstalled_dtable(void); # 34 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" 2 # 64 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" @class NSArray; @class NSDictionary; @class NSObject; @class NSString; @class NSValue; # 98 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" extern BOOL GSObjCFindVariable(id obj, const char *name, const char **type, unsigned int *size, int *offset); extern void GSObjCGetVariable(id obj, int offset, unsigned int size, void *data); extern void GSObjCSetVariable(id obj, int offset, unsigned int size, const void *data); extern NSArray * GSObjCMethodNames(id obj); extern NSArray * GSObjCVariableNames(id obj); extern void GSObjCAddClassBehavior(Class receiver, Class behavior); extern NSValue * GSObjCMakeClass(NSString *name, NSString *superName, NSDictionary *iVars); extern void GSObjCAddClasses(NSArray *classes); extern id GSObjCGetValue(NSObject *self, NSString *key, SEL sel, const char *type, unsigned size, int offset); extern void GSObjCSetValue(NSObject *self, NSString *key, id val, SEL sel, const char *type, unsigned size, int offset); # 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/objc-gnu2next.h" 1 # 137 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" 2 # 163 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" extern unsigned int GSClassList(Class *buffer, unsigned int max, BOOL clearCache); static inline Class GSObjCClass(id obj) { if (obj == (id)0) return 0; return obj->class_pointer; } static inline Class GSObjCSuper(Class cls) { if (cls != 0 && ((((cls)->info)&0x8L)==0x8L) == (BOOL)0) { const char *name; name = (const char *)cls->super_class; if (name == ((void *)0)) { return 0; } return objc_lookup_class (name); } return class_get_super_class(cls); } static inline BOOL GSObjCIsInstance(id obj) { if (obj == (id)0) return (BOOL)0; return object_is_instance(obj); } static inline BOOL GSObjCIsClass(Class cls) { if (cls == (id)0) return (BOOL)0; return object_is_class(cls); } static inline BOOL GSObjCIsKindOf(Class cls, Class other) { while (cls != (Class)0) { if (cls == other) { return (BOOL)1; } cls = GSObjCSuper(cls); } return (BOOL)0; } static inline Class GSClassFromName(const char *name) { if (name == 0) return 0; return objc_lookup_class(name); } static inline const char * GSNameFromClass(Class cls) { if (cls == 0) return 0; return class_get_class_name(cls); } static inline const char * GSClassNameFromObject(id obj) { if (obj == 0) return 0; return object_get_class_name(obj); } static inline const char * GSNameFromSelector(SEL sel) { if (sel == 0) return 0; return sel_get_name(sel); } static inline SEL GSSelectorFromName(const char *name) { if (name == 0) { return 0; } else { return sel_get_any_uid(name); } } static inline SEL GSSelectorFromNameAndTypes(const char *name, const char *types) { if (name == 0) { return 0; } else { SEL s; if (types == 0) { s = sel_get_any_typed_uid(name); } else { s = sel_get_typed_uid(name, types); } if (s == 0) { if (types == 0) { s = sel_register_name(name); } else { s = sel_register_typed_name(name, types); } } return s; } } static inline const char * GSTypesFromSelector(SEL sel) { if (sel == 0) return 0; return sel_get_type(sel); } extern BOOL GSSelectorTypesMatch(const char *types1, const char *types2); # 379 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" extern Protocol * GSProtocolFromName(const char *name); extern void GSRegisterProtocol(Protocol *proto); # 395 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" typedef struct objc_method *GSMethod; typedef struct objc_method_list *GSMethodList; typedef struct objc_ivar *GSIVar; # 413 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" extern GSMethod GSGetMethod(Class cls, SEL sel, BOOL searchInstanceMethods, BOOL searchSuperClasses); # 426 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" static inline void GSFlushMethodCacheForClass (Class cls) { extern void __objc_update_dispatch_table_for_class (Class); __objc_update_dispatch_table_for_class (cls); } # 442 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" extern GSIVar GSCGetInstanceVariableDefinition(Class cls, const char *name); # 455 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" extern GSIVar GSObjCGetInstanceVariableDefinition(Class cls, NSString *name); # 475 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" GSMethodList GSAllocMethodList (unsigned int count); # 500 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" void GSAppendMethodToList (GSMethodList list, SEL sel, const char *types, IMP imp, BOOL isFree); # 530 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" BOOL GSRemoveMethodFromList (GSMethodList list, SEL sel, BOOL isFree); # 557 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" GSMethodList GSMethodListForSelector(Class cls, SEL selector, void **iterator, BOOL searchInstanceMethods); # 574 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" GSMethod GSMethodFromList(GSMethodList list, SEL sel, BOOL isFree); # 593 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" void GSAddMethodList(Class cls, GSMethodList list, BOOL toInstanceMethods); # 608 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" void GSRemoveMethodList(Class cls, GSMethodList list, BOOL fromInstanceMethods); static inline int GSObjCVersion(Class cls) { return class_get_version(cls); } # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h" 1 # 53 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h" typedef struct _NSZone NSZone; # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h" 1 # 56 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h" 2 @class NSString; # 78 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h" struct NSZoneStats { size_t bytes_total; size_t chunks_used; size_t bytes_used; size_t chunks_free; size_t bytes_free; }; # 109 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h" struct _NSZone { void *(*malloc)(struct _NSZone *zone, size_t size); void *(*realloc)(struct _NSZone *zone, void *ptr, size_t size); void (*free)(struct _NSZone *zone, void *ptr); void (*recycle)(struct _NSZone *zone); BOOL (*check)(struct _NSZone *zone); BOOL (*lookup)(struct _NSZone *zone, void *ptr); struct NSZoneStats (*stats)(struct _NSZone *zone); size_t gran; NSString *name; NSZone *next; }; void *GSOutOfMemory(size_t size, BOOL retry); # 142 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h" extern NSZone* __nszone_private_hidden_default_zone; # 268 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h" extern NSZone* NSCreateZone (size_t start, size_t gran, BOOL canFree); static inline NSZone* NSDefaultMallocZone (void) __attribute__((unused)); static inline NSZone* NSDefaultMallocZone (void) { return __nszone_private_hidden_default_zone; } static inline NSZone* GSAtomicMallocZone (void) __attribute__((unused)); static inline NSZone* GSAtomicMallocZone (void) { return NSDefaultMallocZone(); } extern NSZone* NSZoneFromPointer (void *ptr); static inline void* NSZoneMalloc (NSZone *zone, size_t size) __attribute__((unused)); # 303 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h" static inline void* NSZoneMalloc (NSZone *zone, size_t size) { if (!zone) zone = NSDefaultMallocZone(); return (zone->malloc)(zone, size); } # 317 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h" extern void* NSZoneCalloc (NSZone *zone, size_t elems, size_t bytes); static inline void* NSZoneRealloc (NSZone *zone, void *ptr, size_t size) __attribute__((unused)); # 329 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h" static inline void* NSZoneRealloc (NSZone *zone, void *ptr, size_t size) { if (!zone) zone = NSDefaultMallocZone(); return (zone->realloc)(zone, ptr, size); } static inline void NSRecycleZone (NSZone *zone) __attribute__((unused)); # 345 "/usr/GNUstep/System/Library/Headers/Foundation/NSZone.h" static inline void NSRecycleZone (NSZone *zone) { if (!zone) zone = NSDefaultMallocZone(); (zone->recycle)(zone); } static inline void NSZoneFree (NSZone *zone, void *ptr) __attribute__((unused)); static inline void NSZoneFree (NSZone *zone, void *ptr) { if (!zone) zone = NSDefaultMallocZone(); (zone->free)(zone, ptr); } extern void NSSetZoneName (NSZone *zone, NSString *name); static inline NSString* NSZoneName (NSZone *zone) __attribute__((unused)); static inline NSString* NSZoneName (NSZone *zone) { if (!zone) zone = NSDefaultMallocZone(); return zone->name; } static inline void* NSZoneMallocAtomic (NSZone *zone, size_t size) __attribute__((unused)); static inline void* NSZoneMallocAtomic (NSZone *zone, size_t size) { if (!zone) zone = NSDefaultMallocZone(); return (zone->malloc)(zone, size); } static inline BOOL NSZoneCheck (NSZone *zone) __attribute__((unused)); static inline BOOL NSZoneCheck (NSZone *zone) { if (!zone) zone = NSDefaultMallocZone(); return (zone->check)(zone); } static inline struct NSZoneStats NSZoneStats (NSZone *zone) __attribute__((unused)); static inline struct NSZoneStats NSZoneStats (NSZone *zone) { if (!zone) zone = NSDefaultMallocZone(); return (zone->stats)(zone); } extern unsigned NSPageSize (void) __attribute__ ((const)); extern unsigned NSLogPageSize (void) __attribute__ ((const)); extern unsigned NSRoundDownToMultipleOfPageSize (unsigned bytes) __attribute__ ((const)); extern unsigned NSRoundUpToMultipleOfPageSize (unsigned bytes) __attribute__ ((const)); extern unsigned NSRealMemoryAvailable (void); extern void* NSAllocateMemoryPages (unsigned bytes); extern void NSDeallocateMemoryPages (void *ptr, unsigned bytes); extern void NSCopyMemoryPages (const void *src, void *dest, unsigned bytes); # 625 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" 2 extern NSZone * GSObjCZone(NSObject *obj); extern void * GSAutoreleasedBuffer(unsigned size); # 663 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" extern void GSAllocateMutexAt(objc_mutex_t *request); extern const char * GSLastErrorStr(long error_id); # 685 "/usr/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h" extern BOOL GSPrintf (FILE *fptr, NSString *format, ...); extern BOOL GSFindInstanceVariable(id obj, const char *name, const char **type, unsigned int *size, int *offset) __attribute__ ((deprecated)); extern void GSGetVariable(id obj, int offset, unsigned int size, void *data) __attribute__ ((deprecated)); extern void GSSetVariable(id obj, int offset, unsigned int size, const void *data) __attribute__ ((deprecated)); extern id GSGetValue(NSObject *self, NSString *key, SEL sel, const char *type, unsigned size, int offset) __attribute__ ((deprecated)); extern void GSSetValue(NSObject *self, NSString *key, id val, SEL sel, const char *type, unsigned size, int offset) __attribute__ ((deprecated)); extern NSArray * GSObjCAllSubclassesOfClass(Class cls); extern NSArray * GSObjCDirectSubclassesOfClass(Class cls); static inline const char* GSObjCName(Class cls) __attribute__ ((deprecated)); static inline const char* GSObjCName(Class cls) { return class_get_class_name(cls); } static inline const char* GSObjCSelectorName(SEL sel) __attribute__ ((deprecated)); static inline const char* GSObjCSelectorName(SEL sel) { if (sel == 0) return 0; return sel_get_name(sel); } static inline const char* GSObjCSelectorTypes(SEL sel) __attribute__ ((deprecated)); static inline const char* GSObjCSelectorTypes(SEL sel) { return sel_get_type(sel); } static inline GSMethod GSGetInstanceMethod(Class cls, SEL sel) __attribute__ ((deprecated)); static inline GSMethod GSGetInstanceMethod(Class cls, SEL sel) { return GSGetMethod(cls, sel, (BOOL)1, (BOOL)1); } static inline GSMethod GSGetClassMethod(Class cls, SEL sel) __attribute__ ((deprecated)); static inline GSMethod GSGetClassMethod(Class cls, SEL sel) { return GSGetMethod(cls, sel, (BOOL)0, (BOOL)1); } static inline GSMethod GSGetInstanceMethodNotInherited(Class cls, SEL sel) __attribute__ ((deprecated)); static inline GSMethod GSGetInstanceMethodNotInherited(Class cls, SEL sel) { return GSGetMethod(cls, sel, (BOOL)1, (BOOL)0); } static inline GSMethod GSGetClassMethodNotInherited(Class cls, SEL sel) __attribute__ ((deprecated)); static inline GSMethod GSGetClassMethodNotInherited(Class cls, SEL sel) { return GSGetMethod(cls, sel, (BOOL)0, (BOOL)0); } # 32 "/usr/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h" 2 extern NSString *NSStringFromSelector(SEL aSelector); extern SEL NSSelectorFromString(NSString *aSelectorName); extern Class NSClassFromString(NSString *aClassName); extern NSString *NSStringFromClass(Class aClass); extern const char *NSGetSizeAndAlignment(const char *typePtr, unsigned int *sizep, unsigned int *alignp); # 47 "/usr/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h" typedef void NSLog_printf_handler (NSString* message); extern NSLog_printf_handler *_NSLog_printf_handler; extern int _NSLogDescriptor; @class NSRecursiveLock; extern NSRecursiveLock *GSLogLock(void); extern void NSLog (NSString *format, ...); extern void NSLogv (NSString *format, va_list args); # 30 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/GSConfig.h" 1 # 115 "/usr/GNUstep/System/Library/Headers/GSConfig.h" typedef signed char gss8; typedef unsigned char gsu8; typedef signed short gss16; typedef unsigned short gsu16; typedef signed int gss32; typedef unsigned int gsu32; typedef signed long long gss64; typedef unsigned long long gsu64; typedef struct { gsu8 a16; } gss128; typedef struct { gsu8 a16; } gsu128; typedef float gsf32; typedef double gsf64; typedef unsigned int gsaddr; # 175 "/usr/GNUstep/System/Library/Headers/GSConfig.h" # 1 "/usr/include/stdint.h" 1 3 4 # 28 "/usr/include/stdint.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/stdint.h" 2 3 4 # 37 "/usr/include/stdint.h" 3 4 typedef signed char int8_t; typedef short int int16_t; typedef int int32_t; __extension__ typedef long long int int64_t; typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; __extension__ typedef unsigned long long int uint64_t; typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; __extension__ typedef long long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; __extension__ typedef unsigned long long int uint_least64_t; typedef signed char int_fast8_t; typedef int int_fast16_t; typedef int int_fast32_t; __extension__ typedef long long int int_fast64_t; typedef unsigned char uint_fast8_t; typedef unsigned int uint_fast16_t; typedef unsigned int uint_fast32_t; __extension__ typedef unsigned long long int uint_fast64_t; # 126 "/usr/include/stdint.h" 3 4 typedef int intptr_t; typedef unsigned int uintptr_t; # 138 "/usr/include/stdint.h" 3 4 __extension__ typedef long long int intmax_t; __extension__ typedef unsigned long long int uintmax_t; # 176 "/usr/GNUstep/System/Library/Headers/GSConfig.h" 2 # 31 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h" 1 # 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h" # 1 "/usr/include/errno.h" 1 3 4 # 32 "/usr/include/errno.h" 3 4 # 1 "/usr/include/bits/errno.h" 1 3 4 # 25 "/usr/include/bits/errno.h" 3 4 # 1 "/usr/include/linux/errno.h" 1 3 4 # 1 "/usr/include/asm/errno.h" 1 3 4 # 1 "/usr/include/asm-generic/errno.h" 1 3 4 # 1 "/usr/include/asm-generic/errno-base.h" 1 3 4 # 5 "/usr/include/asm-generic/errno.h" 2 3 4 # 5 "/usr/include/asm/errno.h" 2 3 4 # 5 "/usr/include/linux/errno.h" 2 3 4 # 26 "/usr/include/bits/errno.h" 2 3 4 # 38 "/usr/include/bits/errno.h" 3 4 extern int *__errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 37 "/usr/include/errno.h" 2 3 4 # 59 "/usr/include/errno.h" 3 4 # 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" 1 # 42 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" # 1 "/usr/GNUstep/System/Library/Headers/GNUstepBase/preface.h" 1 # 27 "/usr/GNUstep/System/Library/Headers/GNUstepBase/preface.h" # 1 "/usr/include/stdlib.h" 1 3 4 # 33 "/usr/include/stdlib.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 # 34 "/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; # 140 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)); extern double atof (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int atoi (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern long int atol (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int atoll (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern double strtod (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 181 "/usr/include/stdlib.h" 3 4 extern long int strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 277 "/usr/include/stdlib.h" 3 4 extern double __strtod_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern float __strtof_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long double __strtold_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int __strtol_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int __strtoll_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int __strtoull_internal (__const char * __restrict __nptr, char **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern __inline double __attribute__ ((__nothrow__)) strtod (__const char *__restrict __nptr, char **__restrict __endptr) { return __strtod_internal (__nptr, __endptr, 0); } extern __inline long int __attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) { return __strtol_internal (__nptr, __endptr, __base, 0); } extern __inline unsigned long int __attribute__ ((__nothrow__)) strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) { return __strtoul_internal (__nptr, __endptr, __base, 0); } # 359 "/usr/include/stdlib.h" 3 4 __extension__ extern __inline long long int __attribute__ ((__nothrow__)) strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) { return __strtoll_internal (__nptr, __endptr, __base, 0); } __extension__ extern __inline unsigned long long int __attribute__ ((__nothrow__)) strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) { return __strtoull_internal (__nptr, __endptr, __base, 0); } __extension__ extern __inline long long int __attribute__ ((__nothrow__)) strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) { return __strtoll_internal (__nptr, __endptr, __base, 0); } __extension__ extern __inline unsigned long long int __attribute__ ((__nothrow__)) strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base) { return __strtoull_internal (__nptr, __endptr, __base, 0); } extern __inline double __attribute__ ((__nothrow__)) atof (__const char *__nptr) { return strtod (__nptr, (char **) ((void *)0)); } extern __inline int __attribute__ ((__nothrow__)) atoi (__const char *__nptr) { return (int) strtol (__nptr, (char **) ((void *)0), 10); } extern __inline long int __attribute__ ((__nothrow__)) atol (__const char *__nptr) { return strtol (__nptr, (char **) ((void *)0), 10); } __extension__ extern __inline long long int __attribute__ ((__nothrow__)) atoll (__const char *__nptr) { return strtoll (__nptr, (char **) ((void *)0), 10); } # 424 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) __attribute__ ((__nothrow__)); extern long int a64l (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 1 "/usr/include/sys/types.h" 1 3 4 # 29 "/usr/include/sys/types.h" 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; # 62 "/usr/include/sys/types.h" 3 4 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; # 100 "/usr/include/sys/types.h" 3 4 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 # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/sys/types.h" 2 3 4 # 147 "/usr/include/sys/types.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 197 "/usr/include/sys/types.h" 3 4 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 216 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 23 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 118 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; 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 # 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); # 128 "/usr/include/sys/select.h" 3 4 # 217 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 29 "/usr/include/sys/sysmacros.h" 3 4 __extension__ extern __inline unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__)); __extension__ extern __inline unsigned int __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev) { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline unsigned int __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev) { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline unsigned long long int __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 220 "/usr/include/sys/types.h" 2 3 4 # 231 "/usr/include/sys/types.h" 3 4 typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 266 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/sched.h" 1 3 4 # 83 "/usr/include/bits/sched.h" 3 4 struct __sched_param { int __sched_priority; }; # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 struct _pthread_fastlock { long int __status; int __spinlock; }; typedef struct _pthread_descr_struct *_pthread_descr; typedef struct __pthread_attr_s { int __detachstate; int __schedpolicy; struct __sched_param __schedparam; int __inheritsched; int __scope; size_t __guardsize; int __stackaddr_set; void *__stackaddr; size_t __stacksize; } pthread_attr_t; __extension__ typedef long long __pthread_cond_align_t; typedef struct { struct _pthread_fastlock __c_lock; _pthread_descr __c_waiting; char __padding[48 - sizeof (struct _pthread_fastlock) - sizeof (_pthread_descr) - sizeof (__pthread_cond_align_t)]; __pthread_cond_align_t __align; } pthread_cond_t; typedef struct { int __dummy; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef struct { int __m_reserved; int __m_count; _pthread_descr __m_owner; int __m_kind; struct _pthread_fastlock __m_lock; } pthread_mutex_t; typedef struct { int __mutexkind; } pthread_mutexattr_t; typedef int pthread_once_t; # 152 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; # 267 "/usr/include/sys/types.h" 2 3 4 # 434 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) __attribute__ ((__nothrow__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __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) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); extern double drand48 (void) __attribute__ ((__nothrow__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __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) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); # 592 "/usr/include/stdlib.h" 3 4 extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); extern void free (void *__ptr) __attribute__ ((__nothrow__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); # 1 "/usr/include/alloca.h" 1 3 4 # 25 "/usr/include/alloca.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 # 26 "/usr/include/alloca.h" 2 3 4 extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); # 607 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); # 620 "/usr/include/stdlib.h" 3 4 extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); # 652 "/usr/include/stdlib.h" 3 4 extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern char *__secure_getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int setenv (__const char *__name, __const char *__value, int __replace) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)); extern int clearenv (void) __attribute__ ((__nothrow__)); # 691 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 702 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))); # 721 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int system (__const char *__command); # 749 "/usr/include/stdlib.h" 3 4 extern char *realpath (__const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__)); typedef int (*__compar_fn_t) (__const void *, __const 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 int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 814 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __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) __attribute__ ((__nothrow__)) __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) __attribute__ ((__nothrow__)) __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) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)); extern int mbtowc (wchar_t *__restrict __pwc, __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)); extern size_t mbstowcs (wchar_t *__restrict __pwcs, __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); extern size_t wcstombs (char *__restrict __s, __const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__)); extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 954 "/usr/include/stdlib.h" 3 4 extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 28 "/usr/GNUstep/System/Library/Headers/GNUstepBase/preface.h" 2 # 73 "/usr/GNUstep/System/Library/Headers/GNUstepBase/preface.h" # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/encoding.h" 1 3 4 # 32 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/encoding.h" 3 4 # 1 "/usr/include/ctype.h" 1 3 4 # 30 "/usr/include/ctype.h" 3 4 # 48 "/usr/include/ctype.h" 3 4 enum { _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)), _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)), _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)), _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)), _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)), _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)), _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)), _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)), _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)), _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)), _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)), _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8)) }; # 81 "/usr/include/ctype.h" 3 4 extern __const unsigned short int **__ctype_b_loc (void) __attribute__ ((__const)); extern __const __int32_t **__ctype_tolower_loc (void) __attribute__ ((__const)); extern __const __int32_t **__ctype_toupper_loc (void) __attribute__ ((__const)); # 96 "/usr/include/ctype.h" 3 4 extern int isalnum (int) __attribute__ ((__nothrow__)); extern int isalpha (int) __attribute__ ((__nothrow__)); extern int iscntrl (int) __attribute__ ((__nothrow__)); extern int isdigit (int) __attribute__ ((__nothrow__)); extern int islower (int) __attribute__ ((__nothrow__)); extern int isgraph (int) __attribute__ ((__nothrow__)); extern int isprint (int) __attribute__ ((__nothrow__)); extern int ispunct (int) __attribute__ ((__nothrow__)); extern int isspace (int) __attribute__ ((__nothrow__)); extern int isupper (int) __attribute__ ((__nothrow__)); extern int isxdigit (int) __attribute__ ((__nothrow__)); extern int tolower (int __c) __attribute__ ((__nothrow__)); extern int toupper (int __c) __attribute__ ((__nothrow__)); # 142 "/usr/include/ctype.h" 3 4 extern int isascii (int __c) __attribute__ ((__nothrow__)); extern int toascii (int __c) __attribute__ ((__nothrow__)); extern int _toupper (int) __attribute__ ((__nothrow__)); extern int _tolower (int) __attribute__ ((__nothrow__)); # 190 "/usr/include/ctype.h" 3 4 extern __inline int __attribute__ ((__nothrow__)) tolower (int __c) { return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c; } extern __inline int __attribute__ ((__nothrow__)) toupper (int __c) { return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c; } # 323 "/usr/include/ctype.h" 3 4 # 33 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/encoding.h" 2 3 4 # 53 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/encoding.h" 3 4 int objc_aligned_size (const char *type); int objc_sizeof_type (const char *type); int objc_alignof_type (const char *type); int objc_aligned_size (const char *type); int objc_promoted_size (const char *type); const char *objc_skip_type_qualifiers (const char *type); const char *objc_skip_typespec (const char *type); const char *objc_skip_offset (const char *type); const char *objc_skip_argspec (const char *type); int method_get_number_of_arguments (struct objc_method *); int method_get_sizeof_arguments (struct objc_method *); char *method_get_first_argument (struct objc_method *, arglist_t argframe, const char **type); char *method_get_next_argument (arglist_t argframe, const char **type); char *method_get_nth_argument (struct objc_method *m, arglist_t argframe, int arg, const char **type); unsigned objc_get_type_qualifiers (const char *type); struct objc_struct_layout { const char *original_type; const char *type; const char *prev_type; unsigned int record_size; unsigned int record_align; }; void objc_layout_structure (const char *type, struct objc_struct_layout *layout); BOOL objc_layout_structure_next_member (struct objc_struct_layout *layout); void objc_layout_finish_structure (struct objc_struct_layout *layout, unsigned int *size, unsigned int *align); void objc_layout_structure_get_info (struct objc_struct_layout *layout, unsigned int *offset, unsigned int *align, const char **type); # 74 "/usr/GNUstep/System/Library/Headers/GNUstepBase/preface.h" 2 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/sarray.h" 1 3 4 # 35 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/sarray.h" 3 4 extern const char* __objc_sparse2_id; # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 # 43 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/sarray.h" 2 3 4 extern int nbuckets; extern int nindices; extern int narrays; extern int idxsize; # 1 "/usr/include/assert.h" 1 3 4 # 65 "/usr/include/assert.h" 3 4 extern void __assert_fail (__const char *__assertion, __const char *__file, unsigned int __line, __const char *__function) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern void __assert_perror_fail (int __errnum, __const char *__file, unsigned int __line, __const char *__function) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern void __assert (const char *__assertion, const char *__file, int __line) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); # 52 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/sarray.h" 2 3 4 # 83 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/sarray.h" 3 4 typedef size_t sidx; struct soffset { # 99 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/sarray.h" 3 4 unsigned int boffset : (sizeof(size_t)*8)/2; unsigned int eoffset : (sizeof(size_t)*8)/2; }; union sofftype { struct soffset off; sidx idx; }; union sversion { int version; void *next_free; }; struct sbucket { void* elems[(1<<5)]; union sversion version; }; # 131 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/sarray.h" 3 4 struct sarray { struct sbucket** buckets; struct sbucket* empty_bucket; union sversion version; short ref_count; struct sarray* is_copy_of; size_t capacity; }; struct sarray* sarray_new(int, void* default_element); void sarray_free(struct sarray*); struct sarray* sarray_lazy_copy(struct sarray*); void sarray_realloc(struct sarray*, int new_size); void sarray_at_put(struct sarray*, sidx indx, void* elem); void sarray_at_put_safe(struct sarray*, sidx indx, void* elem); struct sarray* sarray_hard_copy(struct sarray*); void sarray_remove_garbage(void); static inline unsigned int soffset_decode(sidx indx) { union sofftype x; x.idx = indx; return x.off.eoffset + (x.off.boffset*(1<<5)); } static inline sidx soffset_encode(size_t offset) { union sofftype x; x.off.eoffset = offset%(1<<5); x.off.boffset = offset/(1<<5); return (sidx)x.idx; } # 203 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/sarray.h" 3 4 static inline void* sarray_get(struct sarray* array, sidx indx) { union sofftype x; x.idx = indx; return array->buckets[x.off.boffset]->elems[x.off.eoffset]; # 227 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/sarray.h" 3 4 } static inline void* sarray_get_safe(struct sarray* array, sidx indx) { if(soffset_decode(indx) < array->capacity) return sarray_get(array, indx); else return (array->empty_bucket->elems[0]); } # 75 "/usr/GNUstep/System/Library/Headers/GNUstepBase/preface.h" 2 # 90 "/usr/GNUstep/System/Library/Headers/GNUstepBase/preface.h" # 1 "/usr/include/sys/param.h" 1 3 4 # 22 "/usr/include/sys/param.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/limits.h" 1 3 4 # 11 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/limits.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/syslimits.h" 1 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/limits.h" 1 3 4 # 122 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/limits.h" 3 4 # 1 "/usr/include/limits.h" 1 3 4 # 144 "/usr/include/limits.h" 3 4 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4 # 153 "/usr/include/bits/posix1_lim.h" 3 4 # 1 "/usr/include/bits/local_lim.h" 1 3 4 # 36 "/usr/include/bits/local_lim.h" 3 4 # 1 "/usr/include/linux/limits.h" 1 3 4 # 37 "/usr/include/bits/local_lim.h" 2 3 4 # 154 "/usr/include/bits/posix1_lim.h" 2 3 4 # 145 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4 # 149 "/usr/include/limits.h" 2 3 4 # 123 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/limits.h" 2 3 4 # 8 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/syslimits.h" 2 3 4 # 12 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/limits.h" 2 3 4 # 23 "/usr/include/sys/param.h" 2 3 4 # 1 "/usr/include/linux/param.h" 1 3 4 # 1 "/usr/include/asm/param.h" 1 3 4 # 5 "/usr/include/linux/param.h" 2 3 4 # 25 "/usr/include/sys/param.h" 2 3 4 # 91 "/usr/GNUstep/System/Library/Headers/GNUstepBase/preface.h" 2 # 43 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" 2 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/Protocol.h" 1 3 4 # 30 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/Protocol.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/Object.h" 1 3 4 # 31 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/Object.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/typedstream.h" 1 3 4 # 34 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/typedstream.h" 3 4 typedef int (*objc_typed_read_func)(void*, char*, int); typedef int (*objc_typed_write_func)(void*, const char*, int); typedef int (*objc_typed_flush_func)(void*); typedef int (*objc_typed_eof_func)(void*); # 48 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/typedstream.h" 3 4 typedef struct objc_typed_stream { void* physical; cache_ptr object_table; cache_ptr stream_table; cache_ptr class_table; cache_ptr object_refs; int mode; int type; int version; int writing_root_p; objc_typed_read_func read; objc_typed_write_func write; objc_typed_eof_func eof; objc_typed_flush_func flush; } TypedStream; # 93 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/typedstream.h" 3 4 int objc_write_type (TypedStream* stream, const char* type, const void* data); int objc_read_type (TypedStream* stream, const char* type, void* data); int objc_write_types (TypedStream* stream, const char* type, ...); int objc_read_types (TypedStream* stream, const char* type, ...); int objc_write_object_reference (TypedStream* stream, id object); int objc_write_root_object (TypedStream* stream, id object); long objc_get_stream_class_version (TypedStream* stream, Class class); int objc_write_array (TypedStream* stream, const char* type, int count, const void* data); int objc_read_array (TypedStream* stream, const char* type, int count, void* data); int objc_write_object (TypedStream* stream, id object); int objc_read_object (TypedStream* stream, id* object); # 124 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/typedstream.h" 3 4 TypedStream* objc_open_typed_stream (FILE* physical, int mode); TypedStream* objc_open_typed_stream_for_file (const char* file_name, int mode); void objc_close_typed_stream (TypedStream* stream); BOOL objc_end_of_typed_stream (TypedStream* stream); void objc_flush_typed_stream (TypedStream* stream); # 32 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/Object.h" 2 3 4 @interface Object { Class isa; } + initialize; - init; + new; + alloc; - free; - copy; - shallowCopy; - deepen; - deepCopy; - (Class)class; - (Class)superClass; - (MetaClass)metaClass; - (const char *)name; - self; - (unsigned int)hash; - (BOOL)isEqual:anObject; - (int)compare:anotherObject; - (BOOL)isMetaClass; - (BOOL)isClass; - (BOOL)isInstance; - (BOOL)isKindOf:(Class)aClassObject; - (BOOL)isMemberOf:(Class)aClassObject; - (BOOL)isKindOfClassNamed:(const char *)aClassName; - (BOOL)isMemberOfClassNamed:(const char *)aClassName; + (BOOL)instancesRespondTo:(SEL)aSel; - (BOOL)respondsTo:(SEL)aSel; - (BOOL)conformsTo:(Protocol*)aProtocol; + (IMP)instanceMethodFor:(SEL)aSel; - (IMP)methodFor:(SEL)aSel; + (struct objc_method_description *)descriptionForInstanceMethod:(SEL)aSel; - (struct objc_method_description *)descriptionForMethod:(SEL)aSel; - perform:(SEL)aSel; - perform:(SEL)aSel with:anObject; - perform:(SEL)aSel with:anObject1 with:anObject2; - (retval_t)forward:(SEL)aSel :(arglist_t)argFrame; - (retval_t)performv:(SEL)aSel :(arglist_t)argFrame; + poseAs:(Class)aClassObject; - (Class)transmuteClassTo:(Class)aClassObject; - subclassResponsibility:(SEL)aSel; - notImplemented:(SEL)aSel; - shouldNotImplement:(SEL)aSel; - doesNotRecognize:(SEL)aSel; - error:(const char *)aString, ...; + (int)version; + setVersion:(int)aVersion; + (int)streamVersion: (TypedStream*)aStream; - read: (TypedStream*)aStream; - write: (TypedStream*)aStream; - awake; @end # 31 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/objc/Protocol.h" 2 3 4 @interface Protocol : Object { @private char *protocol_name; struct objc_protocol_list *protocol_list; struct objc_method_description_list *instance_methods, *class_methods; } - (const char *)name; - (BOOL) conformsTo: (Protocol *)aProtocolObject; - (struct objc_method_description *) descriptionForInstanceMethod:(SEL)aSel; - (struct objc_method_description *) descriptionForClassMethod:(SEL)aSel; @end # 46 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" 2 @class NSArchiver; @class NSArray; @class NSCoder; @class NSDictionary; @class NSPortCoder; @class NSMethodSignature; @class NSMutableString; @class NSRecursiveLock; @class NSString; @class NSInvocation; @class Protocol; @protocol NSObject - (Class) class; - (Class) superclass; - (BOOL) isEqual: (id)anObject; - (BOOL) isKindOfClass: (Class)aClass; - (BOOL) isMemberOfClass: (Class)aClass; - (BOOL) isProxy; - (unsigned) hash; - (id) self; - (id) performSelector: (SEL)aSelector; - (id) performSelector: (SEL)aSelector withObject: (id)anObject; - (id) performSelector: (SEL)aSelector withObject: (id)object1 withObject: (id)object2; - (BOOL) respondsToSelector: (SEL)aSelector; - (BOOL) conformsToProtocol: (Protocol*)aProtocol; - (id) retain; - (id) autorelease ; - (oneway void) release; - (unsigned) retainCount; - (NSZone*) zone; - (NSString*) description; @end @protocol NSCopying # 115 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" - (id) copyWithZone: (NSZone*)zone; @end @protocol NSMutableCopying # 137 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" - (id) mutableCopyWithZone: (NSZone*)zone; @end @protocol NSCoding - (void) encodeWithCoder: (NSCoder*)aCoder; # 162 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" - (id) initWithCoder: (NSCoder*)aDecoder; @end @interface NSObject { Class isa; } # 183 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" - (NSString*) className; + (id) allocWithZone: (NSZone*)z; + (id) alloc; + (Class) class; + (NSString*) description; + (void) initialize; + (IMP) instanceMethodForSelector: (SEL)aSelector; + (NSMethodSignature*) instanceMethodSignatureForSelector: (SEL)aSelector; + (BOOL) instancesRespondToSelector: (SEL)aSelector; + (BOOL) isSubclassOfClass: (Class)aClass; + (id) new; + (void) poseAsClass: (Class)aClassObject; + (id) setVersion: (int)aVersion; + (Class) superclass; + (int) version; - (id) autorelease; - (id) awakeAfterUsingCoder: (NSCoder*)aDecoder; - (Class) class; - (Class) classForArchiver; - (Class) classForCoder; - (Class) classForPortCoder; - (BOOL) conformsToProtocol: (Protocol*)aProtocol; - (id) copy; - (void) dealloc; - (NSString*) description; - (void) doesNotRecognizeSelector: (SEL)aSelector; - (void) forwardInvocation: (NSInvocation*)anInvocation; - (unsigned) hash; - (id) init; - (BOOL) isEqual: anObject; - (BOOL) isKindOfClass: (Class)aClass; - (BOOL) isMemberOfClass: (Class)aClass; - (BOOL) isProxy; - (IMP) methodForSelector: (SEL)aSelector; - (NSMethodSignature*) methodSignatureForSelector: (SEL)aSelector; - (id) mutableCopy; - (id) performSelector: (SEL)aSelector; - (id) performSelector: (SEL)aSelector withObject: (id)anObject; - (id) performSelector: (SEL)aSelector withObject: (id)object1 withObject: (id)object2; - (void) release; - (id) replacementObjectForArchiver: (NSArchiver*)anArchiver; - (id) replacementObjectForCoder: (NSCoder*)anEncoder; - (id) replacementObjectForPortCoder: (NSPortCoder*)aCoder; - (BOOL) respondsToSelector: (SEL)aSelector; - (id) retain; - (unsigned) retainCount; - (id) self; - (Class) superclass; - (NSZone*) zone; @end # 247 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" extern NSObject * NSAllocateObject(Class aClass, unsigned extraBytes, NSZone *zone); extern void NSDeallocateObject(NSObject *anObject); # 265 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" extern NSObject * NSCopyObject(NSObject *anObject, unsigned extraBytes, NSZone *zone); extern BOOL NSShouldRetainWithZone(NSObject *anObject, NSZone *requestedZone); extern BOOL NSDecrementExtraRefCountWasZero(id anObject); extern unsigned NSExtraRefCount(id anObject); extern void NSIncrementExtraRefCount(id anObject); typedef enum _NSComparisonResult { NSOrderedAscending = -1, NSOrderedSame, NSOrderedDescending } NSComparisonResult; enum {NSNotFound = 0x7fffffff}; @interface NSObject (NEXTSTEP) - error:(const char *)aString, ...; @end extern NSRecursiveLock *gnustep_global_lock; @interface NSObject (GNUstep) - (id) makeImmutableCopyOnFail: (BOOL)force; - (Class) transmuteClassTo: (Class)aClassObject; + (Class) autoreleaseClass; + (void) setAutoreleaseClass: (Class)aClass; + (void) enableDoubleReleaseCheck: (BOOL)enable; - (id) read: (TypedStream*)aStream; - (id) write: (TypedStream*)aStream; @end @interface NSObject (GSCategories) - notImplemented:(SEL)aSel; # 342 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" - (id) subclassResponsibility: (SEL)aSel; # 351 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" - (id) shouldNotImplement: (SEL)aSel; # 363 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" - (NSComparisonResult) compare: (id)anObject; @end @protocol GCFinalization - (void) gcFinalize; @end # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDate.h" 1 # 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSDate.h" typedef double NSTimeInterval; # 39 "/usr/GNUstep/System/Library/Headers/Foundation/NSDate.h" extern const NSTimeInterval NSTimeIntervalSince1970; # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" 1 # 42 "/usr/GNUstep/System/Library/Headers/Foundation/NSDate.h" 2 @class NSArray; @class NSCalendarDate; @class NSData; @class NSDictionary; @class NSString; @class NSTimeZone; @class NSTimeZoneDetail; @interface NSDate : NSObject { } + (NSTimeInterval) timeIntervalSinceReferenceDate; + (id) date; + (id) dateWithString: (NSString*)description; + (id) dateWithTimeIntervalSinceNow: (NSTimeInterval)seconds; + (id) dateWithTimeIntervalSince1970: (NSTimeInterval)seconds; + (id) dateWithTimeIntervalSinceReferenceDate: (NSTimeInterval)seconds; + (id) distantFuture; + (id) distantPast; - (id) initWithString: (NSString*)description; - (id) initWithTimeInterval: (NSTimeInterval)secsToBeAdded sinceDate: (NSDate*)anotherDate; - (id) initWithTimeIntervalSinceNow: (NSTimeInterval)secsToBeAdded; - (id) initWithTimeIntervalSinceReferenceDate: (NSTimeInterval)secs; - (NSCalendarDate*) dateWithCalendarFormat: (NSString*)formatString timeZone: (NSTimeZone*)timeZone; - (NSString*) description; - (NSString*) descriptionWithCalendarFormat: (NSString*)format timeZone: (NSTimeZone*)aTimeZone locale: (NSDictionary*)l; - (NSString*) descriptionWithLocale: (NSDictionary*)locale; - (id) addTimeInterval: (NSTimeInterval)seconds; - (NSTimeInterval) timeIntervalSince1970; - (NSTimeInterval) timeIntervalSinceDate: (NSDate*)otherDate; - (NSTimeInterval) timeIntervalSinceNow; - (NSTimeInterval) timeIntervalSinceReferenceDate; - (NSTimeInterval) timeIntervalSinceReferenceDate; - (NSComparisonResult) compare: (NSDate*)otherDate; - (NSDate*) earlierDate: (NSDate*)otherDate; - (BOOL) isEqualToDate: (NSDate*)other; - (NSDate*) laterDate: (NSDate*)otherDate; + (id) dateWithNaturalLanguageString: (NSString*)string; + (id) dateWithNaturalLanguageString: (NSString*)string locale: (NSDictionary*)locale; - (id) initWithTimeIntervalSince1970: (NSTimeInterval)seconds; @end # 381 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" 2 @interface NSObject (TimedPerformers) + (void) cancelPreviousPerformRequestsWithTarget: (id)obj; # 400 "/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h" + (void) cancelPreviousPerformRequestsWithTarget: (id)obj selector: (SEL)s object: (id)arg; - (void) performSelector: (SEL)s withObject: (id)arg afterDelay: (NSTimeInterval)seconds; - (void) performSelector: (SEL)s withObject: (id)arg afterDelay: (NSTimeInterval)seconds inModes: (NSArray*)modes; @end # 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h" 2 # 66 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h" extern void GSDebugAllocationAdd(Class c, id o); extern void GSDebugAllocationRemove(Class c, id o); extern BOOL GSDebugAllocationActive(BOOL active); extern int GSDebugAllocationCount(Class c); extern int GSDebugAllocationPeak(Class c); extern int GSDebugAllocationTotal(Class c); extern Class* GSDebugAllocationClassList(void); # 110 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h" extern const char* GSDebugAllocationList(BOOL changeFlag); extern const char* GSDebugAllocationListAll(void); extern void GSDebugAllocationActiveRecordingObjects(Class c); # 134 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h" extern NSArray *GSDebugAllocationListRecordedObjects(Class c); # 144 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h" extern id GSDebugAllocationTagRecordedObject(id object, id tag); extern NSString* GSDebugFunctionMsg(const char *func, const char *file, int line, NSString *fmt); extern NSString* GSDebugMethodMsg(id obj, SEL sel, const char *file, int line, NSString *fmt); extern void GSSetDebugAllocationFunctions(void (*newAddObjectFunc)(Class c, id o), void (*newRemoveObjectFunc)(Class c, id o)); # 187 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h" extern BOOL NSZombieEnabled; # 203 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h" extern BOOL NSDeallocateZombies; # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSProcessInfo.h" 1 # 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSProcessInfo.h" @class NSArray; @class NSMutableArray; @class NSDictionary; @class NSData; @class NSMutableSet; # 44 "/usr/GNUstep/System/Library/Headers/Foundation/NSProcessInfo.h" enum { NSWindowsNTOperatingSystem = 1, NSWindows95OperatingSystem, NSSolarisOperatingSystem, NSHPUXOperatingSystem, NSMACHOperatingSystem, NSSunOSOperatingSystem, NSOSF1OperatingSystem, NSGNULinuxOperatingSystem = 100, NSBSDOperatingSystem, NSBeOperatingSystem }; @interface NSProcessInfo: NSObject + (NSProcessInfo*) processInfo; - (NSArray*) arguments; - (NSDictionary*) environment; - (NSString*) globallyUniqueString; - (NSString*) hostName; - (unsigned int) operatingSystem; - (NSString*) operatingSystemName; - (int) processIdentifier; - (NSString*) processName; - (void) setProcessName: (NSString*)newName; @end @interface NSProcessInfo (GNUstep) - (BOOL) debugLoggingEnabled; - (NSMutableSet*) debugSet; - (void) setDebugLoggingEnabled: (BOOL)flag; - (BOOL) setLogFile: (NSString*)path; + (void) initializeWithArguments: (char**)argv count: (int)argc environment: (char**)env; @end extern BOOL GSDebugSet(NSString *level); # 210 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h" 2 # 449 "/usr/GNUstep/System/Library/Headers/Foundation/NSDebug.h" extern void *NSFrameAddress(int offset); extern void *NSReturnAddress(int offset); extern unsigned NSCountFrames(void); # 32 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSArchiver.h" 1 # 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSArchiver.h" # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSCoder.h" 1 # 28 "/usr/GNUstep/System/Library/Headers/Foundation/NSCoder.h" # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSGeometry.h" 1 # 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSGeometry.h" # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h" 1 # 28 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h" # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSRange.h" 1 # 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSRange.h" @class NSException; @class NSConstantString; # 76 "/usr/GNUstep/System/Library/Headers/Foundation/NSRange.h" typedef struct _NSRange NSRange; struct _NSRange { unsigned int location; unsigned int length; }; typedef NSRange *NSRangePointer; # 105 "/usr/GNUstep/System/Library/Headers/Foundation/NSRange.h" static inline unsigned NSMaxRange(NSRange range) __attribute__((unused)); static inline unsigned NSMaxRange(NSRange range) { return range.location + range.length; } static inline BOOL NSLocationInRange(unsigned location, NSRange range) __attribute__((unused)); static inline BOOL NSLocationInRange(unsigned location, NSRange range) { return (location >= range.location) && (location < NSMaxRange(range)); } extern void _NSRangeExceptionRaise (void); # 137 "/usr/GNUstep/System/Library/Headers/Foundation/NSRange.h" static inline NSRange NSMakeRange(unsigned int location, unsigned int length) __attribute__((unused)); static inline NSRange NSMakeRange(unsigned int location, unsigned int length) { NSRange range; unsigned int end = location + length; if (end < location || end < length) { _NSRangeExceptionRaise (); } range.location = location; range.length = length; return range; } static inline BOOL NSEqualRanges(NSRange range1, NSRange range2) __attribute__((unused)); static inline BOOL NSEqualRanges(NSRange range1, NSRange range2) { return ((range1.location == range2.location) && (range1.length == range2.length)); } static inline NSRange NSUnionRange(NSRange range1, NSRange range2) __attribute__((unused)); static inline NSRange NSUnionRange(NSRange aRange, NSRange bRange) { NSRange range; range.location = (((aRange.location)<(bRange.location))?(aRange.location):(bRange.location)); range.length = (((NSMaxRange(aRange))>(NSMaxRange(bRange)))?(NSMaxRange(aRange)):(NSMaxRange(bRange))) - range.location; return range; } static inline NSRange NSIntersectionRange(NSRange range1, NSRange range2) __attribute__((unused)); static inline NSRange NSIntersectionRange (NSRange aRange, NSRange bRange) { NSRange range; if (NSMaxRange(aRange) < bRange.location || NSMaxRange(bRange) < aRange.location) return NSMakeRange(0, 0); range.location = (((aRange.location)>(bRange.location))?(aRange.location):(bRange.location)); range.length = (((NSMaxRange(aRange))<(NSMaxRange(bRange)))?(NSMaxRange(aRange)):(NSMaxRange(bRange))) - range.location; return range; } @class NSString; extern NSString *NSStringFromRange(NSRange range); extern NSRange NSRangeFromString(NSString *aString); # 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h" 2 typedef unsigned short unichar; @class NSArray; @class NSCharacterSet; @class NSData; @class NSDictionary; @class NSURL; enum { NSCaseInsensitiveSearch = 1, NSLiteralSearch = 2, NSBackwardsSearch = 4, NSAnchoredSearch = 8 }; # 77 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h" typedef enum _NSStringEncoding { GSUndefinedEncoding = 0, NSASCIIStringEncoding = 1, NSNEXTSTEPStringEncoding = 2, NSJapaneseEUCStringEncoding = 3, NSUTF8StringEncoding = 4, NSISOLatin1StringEncoding = 5, NSSymbolStringEncoding = 6, NSNonLossyASCIIStringEncoding = 7, NSShiftJISStringEncoding = 8, NSISOLatin2StringEncoding = 9, NSUnicodeStringEncoding = 10, NSWindowsCP1251StringEncoding = 11, NSWindowsCP1252StringEncoding = 12, NSWindowsCP1253StringEncoding = 13, NSWindowsCP1254StringEncoding = 14, NSWindowsCP1250StringEncoding = 15, NSISO2022JPStringEncoding = 21, NSMacOSRomanStringEncoding = 30, NSProprietaryStringEncoding = 31, NSKOI8RStringEncoding = 50, NSISOLatin3StringEncoding = 51, NSISOLatin4StringEncoding = 52, NSISOCyrillicStringEncoding = 22, NSISOArabicStringEncoding = 53, NSISOGreekStringEncoding = 54, NSISOHebrewStringEncoding = 55, NSISOLatin5StringEncoding = 57, NSISOLatin6StringEncoding = 58, NSISOThaiStringEncoding = 59, NSISOLatin7StringEncoding = 61, NSISOLatin8StringEncoding = 62, NSISOLatin9StringEncoding = 63, NSGB2312StringEncoding = 56, NSUTF7StringEncoding = 64, NSGSM0338StringEncoding, NSBIG5StringEncoding, NSKoreanEUCStringEncoding } NSStringEncoding; enum { NSOpenStepUnicodeReservedBase = 0xF400 }; # 174 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h" @interface NSString :NSObject + (id) string; + (id) stringWithCharacters: (const unichar*)chars length: (unsigned int)length; + (id) stringWithCString: (const char*)byteString length: (unsigned int)length; + (id) stringWithCString: (const char*) byteString; + (id) stringWithFormat: (NSString*)format,...; + (id) stringWithContentsOfFile:(NSString *)path; - (id) init; - (id) initWithBytes: (const void*)bytes length: (unsigned int)length encoding: (NSStringEncoding)encoding; - (id) initWithBytesNoCopy: (const void*)bytes length: (unsigned int)length encoding: (NSStringEncoding)encoding freeWhenDone: (BOOL)flag; - (id) initWithCharactersNoCopy: (unichar*)chars length: (unsigned int)length freeWhenDone: (BOOL)flag; - (id) initWithCharacters: (const unichar*)chars length: (unsigned int)length; - (id) initWithCStringNoCopy: (char*)byteString length: (unsigned int)length freeWhenDone: (BOOL)flag; - (id) initWithCString: (const char*)byteString length: (unsigned int)length; - (id) initWithCString: (const char*)byteString; - (id) initWithString: (NSString*)string; - (id) initWithFormat: (NSString*)format, ...; - (id) initWithFormat: (NSString*)format arguments: (va_list)argList; - (id) initWithData: (NSData*)data encoding: (NSStringEncoding)encoding; - (id) initWithContentsOfFile: (NSString*)path; - (id) init; - (unsigned int) length; - (unichar) characterAtIndex: (unsigned int)index; - (void) getCharacters: (unichar*)buffer; - (void) getCharacters: (unichar*)buffer range: (NSRange)aRange; - (NSString*) stringByAppendingFormat: (NSString*)format,...; - (NSString*) stringByAppendingString: (NSString*)aString; - (NSArray*) componentsSeparatedByString: (NSString*)separator; - (NSString*) substringFromIndex: (unsigned int)index; - (NSString*) substringFromRange: (NSRange)aRange; - (NSString*) substringToIndex: (unsigned int)index; - (NSRange) rangeOfCharacterFromSet: (NSCharacterSet*)aSet; - (NSRange) rangeOfCharacterFromSet: (NSCharacterSet*)aSet options: (unsigned int)mask; - (NSRange) rangeOfCharacterFromSet: (NSCharacterSet*)aSet options: (unsigned int)mask range: (NSRange)aRange; - (NSRange) rangeOfString: (NSString*)string; - (NSRange) rangeOfString: (NSString*)string options: (unsigned int)mask; - (NSRange) rangeOfString: (NSString*)aString options: (unsigned int)mask range: (NSRange)aRange; - (NSRange) rangeOfComposedCharacterSequenceAtIndex: (unsigned int)anIndex; - (id)propertyList; - (NSDictionary*) propertyListFromStringsFileFormat; - (NSComparisonResult) compare: (NSString*)aString; - (NSComparisonResult) compare: (NSString*)aString options: (unsigned int)mask; - (NSComparisonResult) compare: (NSString*)aString options: (unsigned int)mask range: (NSRange)aRange; - (BOOL) hasPrefix: (NSString*)aString; - (BOOL) hasSuffix: (NSString*)aString; - (BOOL) isEqual: (id)anObject; - (BOOL) isEqualToString: (NSString*)aString; - (unsigned int) hash; - (NSString*) commonPrefixWithString: (NSString*)aString options: (unsigned int)mask; - (NSString*) capitalizedString; - (NSString*) lowercaseString; - (NSString*) uppercaseString; - (const unichar*) unicharString; - (const char*) cString; - (unsigned int) cStringLength; - (void) getCString: (char*)buffer; - (void) getCString: (char*)buffer maxLength: (unsigned int)maxLength; - (void) getCString: (char*)buffer maxLength: (unsigned int)maxLength range: (NSRange)aRange remainingRange: (NSRange*)leftoverRange; - (float) floatValue; - (int) intValue; - (BOOL) canBeConvertedToEncoding: (NSStringEncoding)encoding; - (NSData*) dataUsingEncoding: (NSStringEncoding)encoding; - (NSData*) dataUsingEncoding: (NSStringEncoding)encoding allowLossyConversion: (BOOL)flag; + (NSStringEncoding) defaultCStringEncoding; - (NSString*) description; - (NSStringEncoding) fastestEncoding; - (NSStringEncoding) smallestEncoding; - (unsigned int) completePathIntoString: (NSString**)outputName caseSensitive: (BOOL)flag matchesIntoArray: (NSArray**)outputArray filterTypes: (NSArray*)filterTypes; - (NSString*) localFromOpenStepPath; - (NSString*) openStepPathFromLocal; - (const char*) fileSystemRepresentation; - (BOOL) getFileSystemRepresentation: (char*)buffer maxLength: (unsigned int)size; - (NSString*) lastPathComponent; - (NSString*) pathExtension; - (NSString*) stringByAbbreviatingWithTildeInPath; - (NSString*) stringByAppendingPathComponent: (NSString*)aString; - (NSString*) stringByAppendingPathExtension: (NSString*)aString; - (NSString*) stringByDeletingLastPathComponent; - (NSString*) stringByDeletingPathExtension; - (NSString*) stringByExpandingTildeInPath; - (NSString*) stringByResolvingSymlinksInPath; - (NSString*) stringByStandardizingPath; - (int) _baseLength; + (NSString*) pathWithComponents: (NSArray*)components; - (BOOL) isAbsolutePath; - (NSArray*) pathComponents; - (NSArray*) stringsByAppendingPaths: (NSArray*)paths; + (NSString*) localizedStringWithFormat: (NSString*) format, ...; + (id) stringWithString: (NSString*) aString; + (id) stringWithContentsOfURL: (NSURL*)url; + (id) stringWithUTF8String: (const char*)bytes; - (id) initWithFormat: (NSString*)format locale: (NSDictionary*)locale, ...; - (id) initWithFormat: (NSString*)format locale: (NSDictionary*)locale arguments: (va_list)argList; - (id) initWithUTF8String: (const char *)bytes; - (id) initWithContentsOfURL: (NSURL*)url; - (NSString*) substringWithRange: (NSRange)aRange; - (NSComparisonResult) caseInsensitiveCompare: (NSString*)aString; - (NSComparisonResult) compare: (NSString*)string options: (unsigned int)mask range: (NSRange)compareRange locale: (NSDictionary*)dict; - (NSComparisonResult) localizedCompare: (NSString *)string; - (NSComparisonResult) localizedCaseInsensitiveCompare: (NSString *)string; - (BOOL) writeToFile: (NSString*)filename atomically: (BOOL)useAuxiliaryFile; - (BOOL) writeToURL: (NSURL*)anURL atomically: (BOOL)atomically; - (double) doubleValue; + (NSStringEncoding*) availableStringEncodings; + (NSString*) localizedNameOfStringEncoding: (NSStringEncoding)encoding; - (void) getLineStart: (unsigned int *)startIndex end: (unsigned int *)lineEndIndex contentsEnd: (unsigned int *)contentsEndIndex forRange: (NSRange)aRange; - (NSRange) lineRangeForRange: (NSRange)aRange; - (const char*) lossyCString; - (NSString*) stringByAddingPercentEscapesUsingEncoding: (NSStringEncoding)e; - (NSString*) stringByPaddingToLength: (unsigned int)newLength withString: (NSString*)padString startingAtIndex: (unsigned int)padIndex; - (NSString*) stringByReplacingPercentEscapesUsingEncoding: (NSStringEncoding)e; - (NSString*) stringByTrimmingCharactersInSet: (NSCharacterSet*)aSet; - (const char *)UTF8String; + (Class) constantStringClass; - (BOOL) boolValue; @end @interface NSMutableString : NSString + (id) string; + (id) stringWithCharacters: (const unichar*)characters length: (unsigned int)length; + (id) stringWithCString: (const char*)byteString length: (unsigned int)length; + (id) stringWithCString: (const char*) byteString; + (id) stringWithFormat: (NSString*)format,...; + (id) stringWithContentsOfFile: (NSString*)path; + (NSMutableString*) stringWithCapacity: (unsigned int)capacity; - (id) initWithCapacity: (unsigned int)capacity; - (void) appendFormat: (NSString*)format, ...; - (void) appendString: (NSString*)aString; - (void) deleteCharactersInRange: (NSRange)range; - (void) insertString: (NSString*)aString atIndex: (unsigned int)loc; - (void) replaceCharactersInRange: (NSRange)range withString: (NSString*)aString; - (unsigned int) replaceOccurrencesOfString: (NSString*)replace withString: (NSString*)by options: (unsigned int)opts range: (NSRange)searchRange; - (void) setString: (NSString*)aString; @end # 442 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h" @interface NSConstantString : NSString { const char * const nxcsptr; const unsigned int nxcslen; } @end # 457 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h" @interface NSMutableString (GNUstep) - (NSString*) immutableProxy; @end @interface NSString (GSCategories) + (id) stringWithFormat: (NSString*)format arguments: (va_list)argList; - (NSString*) stringByDeletingPrefix: (NSString*)prefix; - (NSString*) stringByDeletingSuffix: (NSString*)suffix; - (NSString*) stringByTrimmingLeadSpaces; - (NSString*) stringByTrimmingTailSpaces; - (NSString*) stringByTrimmingSpaces; # 509 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h" - (NSString*) stringByReplacingString: (NSString*)replace withString: (NSString*)by; @end @interface NSMutableString (GSCategories) - (void) deleteSuffix: (NSString*)suffix; - (void) deletePrefix: (NSString*)prefix; # 540 "/usr/GNUstep/System/Library/Headers/Foundation/NSString.h" - (void) replaceString: (NSString*)replace withString: (NSString*)by; - (void) trimLeadSpaces; - (void) trimTailSpaces; - (void) trimSpaces; @end # 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSGeometry.h" 2 # 55 "/usr/GNUstep/System/Library/Headers/Foundation/NSGeometry.h" typedef struct _NSPoint NSPoint; struct _NSPoint { float x; float y; }; typedef NSPoint *NSPointArray; typedef NSPoint *NSPointPointer; # 75 "/usr/GNUstep/System/Library/Headers/Foundation/NSGeometry.h" typedef struct _NSSize NSSize; struct _NSSize { float width; float height; }; typedef NSSize *NSSizeArray; typedef NSSize *NSSizePointer; # 96 "/usr/GNUstep/System/Library/Headers/Foundation/NSGeometry.h" typedef struct _NSRect NSRect; struct _NSRect { NSPoint origin; NSSize size; }; typedef NSRect *NSRectArray; typedef NSRect *NSRectPointer; # 120 "/usr/GNUstep/System/Library/Headers/Foundation/NSGeometry.h" typedef enum _NSRectEdge NSRectEdge; enum _NSRectEdge { NSMinXEdge, NSMinYEdge, NSMaxXEdge, NSMaxYEdge }; static const NSPoint NSZeroPoint __attribute__((unused)); static const NSRect NSZeroRect __attribute__((unused)); static const NSSize NSZeroSize __attribute__((unused)); # 155 "/usr/GNUstep/System/Library/Headers/Foundation/NSGeometry.h" static inline NSPoint NSMakePoint(float x, float y) __attribute__((unused)); static inline NSPoint NSMakePoint(float x, float y) { NSPoint point; point.x = x; point.y = y; return point; } static inline NSSize NSMakeSize(float w, float h) __attribute__((unused)); static inline NSSize NSMakeSize(float w, float h) { NSSize size; size.width = w; size.height = h; return size; } static inline NSRect NSMakeRect(float x, float y, float w, float h) __attribute__((unused)); static inline NSRect NSMakeRect(float x, float y, float w, float h) { NSRect rect; rect.origin.x = x; rect.origin.y = y; rect.size.width = w; rect.size.height = h; return rect; } static inline float NSMaxX(NSRect aRect) __attribute__((unused)); static inline float NSMaxX(NSRect aRect) { return aRect.origin.x + aRect.size.width; } static inline float NSMaxY(NSRect aRect) __attribute__((unused)); static inline float NSMaxY(NSRect aRect) { return aRect.origin.y + aRect.size.height; } static inline float NSMidX(NSRect aRect) __attribute__((unused)); static inline float NSMidX(NSRect aRect) { return aRect.origin.x + (aRect.size.width / 2.0); } static inline float NSMidY(NSRect aRect) __attribute__((unused)); static inline float NSMidY(NSRect aRect) { return aRect.origin.y + (aRect.size.height / 2.0); } static inline float NSMinX(NSRect aRect) __attribute__((unused)); static inline float NSMinX(NSRect aRect) { return aRect.origin.x; } static inline float NSMinY(NSRect aRect) __attribute__((unused)); static inline float NSMinY(NSRect aRect) { return aRect.origin.y; } static inline float NSWidth(NSRect aRect) __attribute__((unused)); static inline float NSWidth(NSRect aRect) { return aRect.size.width; } static inline float NSHeight(NSRect aRect) __attribute__((unused)); static inline float NSHeight(NSRect aRect) { return aRect.size.height; } static inline BOOL NSIsEmptyRect(NSRect aRect) __attribute__((unused)); static inline BOOL NSIsEmptyRect(NSRect aRect) { return ((NSWidth(aRect) > 0) && (NSHeight(aRect) > 0)) ? (BOOL)0 : (BOOL)1; } static inline NSRect NSOffsetRect(NSRect aRect, float dx, float dy) __attribute__((unused)); static inline NSRect NSOffsetRect(NSRect aRect, float dx, float dy) { NSRect rect = aRect; rect.origin.x += dx; rect.origin.y += dy; return rect; } static inline NSRect NSInsetRect(NSRect aRect, float dX, float dY) __attribute__((unused)); static inline NSRect NSInsetRect(NSRect aRect, float dX, float dY) { NSRect rect; rect = NSOffsetRect(aRect, dX, dY); rect.size.width -= (2 * dX); rect.size.height -= (2 * dY); return rect; } extern void NSDivideRect(NSRect aRect, NSRect *slice, NSRect *remainder, float amount, NSRectEdge edge); extern NSRect NSIntegralRect(NSRect aRect); static inline NSRect NSUnionRect(NSRect aRect, NSRect bRect) __attribute__((unused)); static inline NSRect NSUnionRect(NSRect aRect, NSRect bRect) { NSRect rect; if (NSIsEmptyRect(aRect) && NSIsEmptyRect(bRect)) return NSMakeRect(0.0,0.0,0.0,0.0); else if (NSIsEmptyRect(aRect)) return bRect; else if (NSIsEmptyRect(bRect)) return aRect; rect = NSMakeRect((((NSMinX(aRect))<(NSMinX(bRect)))?(NSMinX(aRect)):(NSMinX(bRect))), (((NSMinY(aRect))<(NSMinY(bRect)))?(NSMinY(aRect)):(NSMinY(bRect))), 0.0, 0.0); rect = NSMakeRect(NSMinX(rect), NSMinY(rect), (((NSMaxX(aRect))>(NSMaxX(bRect)))?(NSMaxX(aRect)):(NSMaxX(bRect))) - NSMinX(rect), (((NSMaxY(aRect))>(NSMaxY(bRect)))?(NSMaxY(aRect)):(NSMaxY(bRect))) - NSMinY(rect)); return rect; } static inline NSRect NSIntersectionRect(NSRect aRect, NSRect bRect) __attribute__((unused)); static inline NSRect NSIntersectionRect (NSRect aRect, NSRect bRect) { if (NSMaxX(aRect) <= NSMinX(bRect) || NSMaxX(bRect) <= NSMinX(aRect) || NSMaxY(aRect) <= NSMinY(bRect) || NSMaxY(bRect) <= NSMinY(aRect)) { return NSMakeRect(0.0, 0.0, 0.0, 0.0); } else { NSRect rect; if (NSMinX(aRect) <= NSMinX(bRect)) rect.origin.x = bRect.origin.x; else rect.origin.x = aRect.origin.x; if (NSMinY(aRect) <= NSMinY(bRect)) rect.origin.y = bRect.origin.y; else rect.origin.y = aRect.origin.y; if (NSMaxX(aRect) >= NSMaxX(bRect)) rect.size.width = NSMaxX(bRect) - rect.origin.x; else rect.size.width = NSMaxX(aRect) - rect.origin.x; if (NSMaxY(aRect) >= NSMaxY(bRect)) rect.size.height = NSMaxY(bRect) - rect.origin.y; else rect.size.height = NSMaxY(aRect) - rect.origin.y; return rect; } } static inline BOOL NSEqualRects(NSRect aRect, NSRect bRect) __attribute__((unused)); static inline BOOL NSEqualRects(NSRect aRect, NSRect bRect) { return ((NSMinX(aRect) == NSMinX(bRect)) && (NSMinY(aRect) == NSMinY(bRect)) && (NSWidth(aRect) == NSWidth(bRect)) && (NSHeight(aRect) == NSHeight(bRect))) ? (BOOL)1 : (BOOL)0; } static inline BOOL NSEqualSizes(NSSize aSize, NSSize bSize) __attribute__((unused)); static inline BOOL NSEqualSizes(NSSize aSize, NSSize bSize) { return ((aSize.width == bSize.width) && (aSize.height == bSize.height)) ? (BOOL)1 : (BOOL)0; } static inline BOOL NSEqualPoints(NSPoint aPoint, NSPoint bPoint) __attribute__((unused)); static inline BOOL NSEqualPoints(NSPoint aPoint, NSPoint bPoint) { return ((aPoint.x == bPoint.x) && (aPoint.y == bPoint.y)) ? (BOOL)1 : (BOOL)0; } static inline BOOL NSMouseInRect(NSPoint aPoint, NSRect aRect, BOOL flipped) __attribute__((unused)); static inline BOOL NSMouseInRect(NSPoint aPoint, NSRect aRect, BOOL flipped) { if (flipped) return ((aPoint.x >= NSMinX(aRect)) && (aPoint.y >= NSMinY(aRect)) && (aPoint.x < NSMaxX(aRect)) && (aPoint.y < NSMaxY(aRect))) ? (BOOL)1 : (BOOL)0; else return ((aPoint.x >= NSMinX(aRect)) && (aPoint.y > NSMinY(aRect)) && (aPoint.x < NSMaxX(aRect)) && (aPoint.y <= NSMaxY(aRect))) ? (BOOL)1 : (BOOL)0; } static inline BOOL NSPointInRect(NSPoint aPoint, NSRect aRect) __attribute__((unused)); static inline BOOL NSPointInRect(NSPoint aPoint, NSRect aRect) { return NSMouseInRect(aPoint, aRect, (BOOL)1); } static inline BOOL NSContainsRect(NSRect aRect, NSRect bRect) __attribute__((unused)); static inline BOOL NSContainsRect(NSRect aRect, NSRect bRect) { return (!NSIsEmptyRect(bRect) && (NSMinX(aRect) <= NSMinX(bRect)) && (NSMinY(aRect) <= NSMinY(bRect)) && (NSMaxX(aRect) >= NSMaxX(bRect)) && (NSMaxY(aRect) >= NSMaxY(bRect))) ? (BOOL)1 : (BOOL)0; } static inline BOOL NSIntersectsRect(NSRect aRect, NSRect bRect) __attribute__((unused)); static inline BOOL NSIntersectsRect(NSRect aRect, NSRect bRect) { return (NSMaxX(aRect) <= NSMinX(bRect) || NSMaxX(bRect) <= NSMinX(aRect) || NSMaxY(aRect) <= NSMinY(bRect) || NSMaxY(bRect) <= NSMinY(aRect)) ? (BOOL)0 : (BOOL)1; } extern NSString * NSStringFromPoint(NSPoint aPoint); extern NSString * NSStringFromRect(NSRect aRect); extern NSString * NSStringFromSize(NSSize aSize); extern NSPoint NSPointFromString(NSString* string); extern NSSize NSSizeFromString(NSString* string); extern NSRect NSRectFromString(NSString* string); # 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSCoder.h" 2 @class NSMutableData, NSData, NSString; # 44 "/usr/GNUstep/System/Library/Headers/Foundation/NSCoder.h" @interface NSCoder : NSObject # 53 "/usr/GNUstep/System/Library/Headers/Foundation/NSCoder.h" - (void) encodeArrayOfObjCType: (const char*)type count: (unsigned)count at: (const void*)array; - (void) encodeBycopyObject: (id)anObject; - (void) encodeByrefObject: (id)anObject; - (void) encodeBytes: (void*)d length: (unsigned)l; - (void) encodeConditionalObject: (id)anObject; - (void) encodeDataObject: (NSData*)data; - (void) encodeObject: (id)anObject; - (void) encodePropertyList: (id)plist; - (void) encodePoint: (NSPoint)point; - (void) encodeRect: (NSRect)rect; - (void) encodeRootObject: (id)rootObject; - (void) encodeSize: (NSSize)size; - (void) encodeValueOfObjCType: (const char*)type at: (const void*)address; - (void) encodeValuesOfObjCTypes: (const char*)types,...; # 137 "/usr/GNUstep/System/Library/Headers/Foundation/NSCoder.h" - (void) decodeArrayOfObjCType: (const char*)type count: (unsigned)count at: (void*)address; - (void*) decodeBytesWithReturnedLength: (unsigned*)l; - (NSData*) decodeDataObject; - (id) decodeObject; - (id) decodePropertyList; - (NSPoint) decodePoint; - (NSRect) decodeRect; - (NSSize) decodeSize; - (void) decodeValueOfObjCType: (const char*)type at: (void*)address; - (void) decodeValuesOfObjCTypes: (const char*)types,...; - (NSZone*) objectZone; - (void) setObjectZone: (NSZone*)zone; # 212 "/usr/GNUstep/System/Library/Headers/Foundation/NSCoder.h" - (unsigned int) systemVersion; - (unsigned int) versionForClassName: (NSString*)className; # 233 "/usr/GNUstep/System/Library/Headers/Foundation/NSCoder.h" - (BOOL) allowsKeyedCoding; - (BOOL) containsValueForKey: (NSString*)aKey; - (BOOL) decodeBoolForKey: (NSString*)aKey; - (const uint8_t*) decodeBytesForKey: (NSString*)aKey returnedLength: (unsigned*)alength; - (double) decodeDoubleForKey: (NSString*)aKey; - (float) decodeFloatForKey: (NSString*)aKey; - (int) decodeIntForKey: (NSString*)aKey; - (int32_t) decodeInt32ForKey: (NSString*)aKey; - (int64_t) decodeInt64ForKey: (NSString*)aKey; - (id) decodeObjectForKey: (NSString*)aKey; - (void) encodeBool: (BOOL) aBool forKey: (NSString*)aKey; - (void) encodeBytes: (const uint8_t*)aPointer length: (unsigned)length forKey: (NSString*)aKey; - (void) encodeConditionalObject: (id)anObject forKey: (NSString*)aKey; - (void) encodeDouble: (double)aDouble forKey: (NSString*)aKey; - (void) encodeFloat: (float)aFloat forKey: (NSString*)aKey; - (void) encodeInt: (int)anInteger forKey: (NSString*)aKey; - (void) encodeInt32: (int32_t)anInteger forKey: (NSString*)aKey; - (void) encodeInt64: (int64_t)anInteger forKey: (NSString*)aKey; - (void) encodeObject: (id)anObject forKey: (NSString*)aKey; @end @interface NSCoder (GNUstep) - (void) decodeArrayOfObjCType: (const char*)type count: (unsigned)count at: (void*)buf withName: (id*)name; - (void) decodeIndent; - (void) decodeObjectAt: (id*)anObject withName: (id*)name; - (void) decodeValueOfCType: (const char*)type at: (void*)buf withName: (id*)name; - (void) decodeValueOfObjCType: (const char*)type at: (void*)buf withName: (id*)name; - (void) encodeArrayOfObjCType: (const char*)type count: (unsigned)count at: (const void*)buf withName: (id)name; - (void) encodeIndent; - (void) encodeObjectAt: (id*)anObject withName: (id)name; - (void) encodeValueOfCType: (const char*)type at: (const void*)buf withName: (id)name; - (void) encodeValueOfObjCType: (const char*)type at: (const void*)buf withName: (id)name; @end # 32 "/usr/GNUstep/System/Library/Headers/Foundation/NSArchiver.h" 2 @class NSMutableArray, NSMutableDictionary, NSMutableData, NSData, NSString; @interface NSArchiver : NSCoder { @private NSMutableData *_data; id _dst; IMP _serImp; IMP _tagImp; IMP _xRefImp; IMP _eObjImp; IMP _eValImp; void* _clsMap; void* _cIdMap; void* _uIdMap; void* _ptrMap; void* _namMap; void* _repMap; unsigned _xRefC; unsigned _xRefO; unsigned _xRefP; unsigned _startPos; BOOL _encodingRoot; BOOL _initialPass; } - (id) initForWritingWithMutableData: (NSMutableData*)mdata; + (NSData*) archivedDataWithRootObject: (id)rootObject; + (BOOL) archiveRootObject: (id)rootObject toFile: (NSString*)path; - (NSMutableData*) archiverData; - (NSString*) classNameEncodedForTrueClassName: (NSString*) trueName; - (void) encodeClassName: (NSString*)trueName intoClassName: (NSString*)inArchiveName; - (void) replaceObject: (id)object withObject: (id)newObject; @end @interface NSArchiver (GNUstep) # 98 "/usr/GNUstep/System/Library/Headers/Foundation/NSArchiver.h" - (void) resetArchiver; # 132 "/usr/GNUstep/System/Library/Headers/Foundation/NSArchiver.h" - (BOOL) directDataAccess; - (void) serializeHeaderAt: (unsigned)positionInData version: (unsigned)systemVersion classes: (unsigned)classCount objects: (unsigned)objectCount pointers: (unsigned)pointerCount; @end @interface NSUnarchiver : NSCoder { @private NSData *data; Class dataClass; id src; IMP desImp; void (*tagImp)(id, SEL, unsigned char*, unsigned*,unsigned*); IMP dValImp; void* clsMap; void* objMap; void* ptrMap; unsigned cursor; unsigned version; NSZone *zone; NSMutableDictionary *objDict; NSMutableArray *objSave; } - (id) initForReadingWithData: (NSData*)anObject; + (id) unarchiveObjectWithData: (NSData*)anObject; + (id) unarchiveObjectWithFile: (NSString*)path; - (BOOL) isAtEnd; - (NSZone*) objectZone; - (void) setObjectZone: (NSZone*)aZone; - (unsigned int) systemVersion; + (NSString*) classNameDecodedForArchiveClassName: (NSString*)nameInArchive; + (void) decodeClassName: (NSString*)nameInArchive asClassName: (NSString*)trueName; - (NSString*) classNameDecodedForArchiveClassName: (NSString*)nameInArchive; - (void) decodeClassName: (NSString*)nameInArchive asClassName: (NSString*)trueName; - (void) replaceObject: (id)anObject withObject: (id)replacement; @end @interface NSUnarchiver (GNUstep) - (unsigned) cursor; - (void) resetUnarchiverWithData: (NSData*)anObject atIndex: (unsigned)pos; - (BOOL) directDataAccess; - (void) deserializeHeaderAt: (unsigned*)pos version: (unsigned*)v classes: (unsigned*)c objects: (unsigned*)o pointers: (unsigned*)p; @end # 219 "/usr/GNUstep/System/Library/Headers/Foundation/NSArchiver.h" extern NSString * const NSInconsistentArchiveException; # 35 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSArray.h" 1 # 28 "/usr/GNUstep/System/Library/Headers/Foundation/NSArray.h" # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSUtilities.h" 1 # 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSUtilities.h" # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDictionary.h" 1 # 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSDictionary.h" @class NSArray, NSString, NSEnumerator, NSURL; @interface NSDictionary : NSObject + (id) dictionary; + (id) dictionaryWithContentsOfFile: (NSString*)path; + (id) dictionaryWithContentsOfURL: (NSURL*)aURL; + (id) dictionaryWithDictionary: (NSDictionary*)otherDictionary; + (id) dictionaryWithObject: (id)object forKey: (id)key; + (id) dictionaryWithObjects: (NSArray*)objects forKeys: (NSArray*)keys; + (id) dictionaryWithObjects: (id*)objects forKeys: (id*)keys count: (unsigned)count; + (id) dictionaryWithObjectsAndKeys: (id)firstObject, ...; - (NSArray*) allKeys; - (NSArray*) allKeysForObject: (id)anObject; - (NSArray*) allValues; - (unsigned) count; - (NSString*) description; - (NSString*) descriptionInStringsFileFormat; - (NSString*) descriptionWithLocale: (NSDictionary*)locale; - (NSString*) descriptionWithLocale: (NSDictionary*)locale indent: (unsigned int)level; - (id) init; - (id) initWithContentsOfFile: (NSString*)path; - (id) initWithContentsOfURL: (NSURL*)aURL; - (id) initWithDictionary: (NSDictionary*)otherDictionary; - (id) initWithDictionary: (NSDictionary*)other copyItems: (BOOL)shouldCopy; - (id) initWithObjects: (NSArray*)objects forKeys: (NSArray*)keys; - (id) initWithObjectsAndKeys: (id)firstObject, ...; - (id) initWithObjects: (id*)objects forKeys: (id*)keys count: (unsigned)count; - (BOOL) isEqualToDictionary: (NSDictionary*)other; - (NSEnumerator*) keyEnumerator; - (NSArray*) keysSortedByValueUsingSelector: (SEL)comp; - (NSEnumerator*) objectEnumerator; - (id) objectForKey: (id)aKey; - (NSArray*) objectsForKeys: (NSArray*)keys notFoundMarker: (id)marker; - (BOOL) writeToFile: (NSString*)path atomically: (BOOL)useAuxiliaryFile; - (id) valueForKey: (NSString*)key; - (BOOL) writeToURL: (NSURL*)url atomically: (BOOL)useAuxiliaryFile; @end @interface NSMutableDictionary: NSDictionary + (id) dictionaryWithCapacity: (unsigned)numItems; - (void) addEntriesFromDictionary: (NSDictionary*)otherDictionary; - (id) initWithCapacity: (unsigned)numItems; - (void) removeAllObjects; - (void) removeObjectForKey: (id)aKey; - (void) removeObjectsForKeys: (NSArray*)keyArray; - (void) setObject: (id)anObject forKey: (id)aKey; - (void) setDictionary: (NSDictionary*)otherDictionary; - (void) takeStoredValue: (id)value forKey: (NSString*)key; - (void) takeValue: (id)value forKey: (NSString*)key; - (void) setValue: (id)value forKey: (NSString*)key; @end # 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSUtilities.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSEnumerator.h" 1 # 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSEnumerator.h" @interface NSEnumerator : NSObject - (NSArray *) allObjects; - (id) nextObject; @end # 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSUtilities.h" 2 # 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSArray.h" 2 @class NSString; @class NSURL; @interface NSArray : NSObject + (id) array; + (id) arrayWithArray: (NSArray*)array; + (id) arrayWithContentsOfFile: (NSString*)file; + (id) arrayWithContentsOfURL: (NSURL*)aURL; + (id) arrayWithObject: (id)anObject; + (id) arrayWithObjects: (id)firstObject, ...; + (id) arrayWithObjects: (id*)objects count: (unsigned)count; - (NSArray*) arrayByAddingObject: (id)anObject; - (NSArray*) arrayByAddingObjectsFromArray: (NSArray*)anotherArray; - (BOOL) containsObject: anObject; - (unsigned) count; - (void) getObjects: (id*)aBuffer; - (void) getObjects: (id*)aBuffer range: (NSRange)aRange; - (unsigned) indexOfObject: (id)anObject; - (unsigned) indexOfObject: (id)anObject inRange: (NSRange)aRange; - (unsigned) indexOfObjectIdenticalTo: (id)anObject; - (unsigned) indexOfObjectIdenticalTo: (id)anObject inRange: (NSRange)aRange; - (id) init; - (id) initWithArray: (NSArray*)array; - (id) initWithArray: (NSArray*)array copyItems: (BOOL)shouldCopy; - (id) initWithContentsOfFile: (NSString*)file; - (id) initWithContentsOfURL: (NSURL*)aURL; - (id) initWithObjects: firstObject, ...; - (id) initWithObjects: (id*)objects count: (unsigned)count; - (id) lastObject; - (id) objectAtIndex: (unsigned)index; - (id) firstObjectCommonWithArray: (NSArray*)otherArray; - (BOOL) isEqualToArray: (NSArray*)otherArray; - (void) makeObjectsPerform: (SEL)aSelector; - (void) makeObjectsPerform: (SEL)aSelector withObject: (id)argument; - (void) makeObjectsPerformSelector: (SEL)aSelector; - (void) makeObjectsPerformSelector: (SEL)aSelector withObject: (id)arg; - (NSData*) sortedArrayHint; - (NSArray*) sortedArrayUsingFunction: (NSComparisonResult (*)(id, id, void*))comparator context: (void*)context; - (NSArray*) sortedArrayUsingFunction: (NSComparisonResult (*)(id, id, void*))comparator context: (void*)context hint: (NSData*)hint; - (NSArray*) sortedArrayUsingSelector: (SEL)comparator; - (NSArray*) subarrayWithRange: (NSRange)aRange; - (NSString*) componentsJoinedByString: (NSString*)separator; - (NSArray*) pathsMatchingExtensions: (NSArray*)extensions; - (NSEnumerator*) objectEnumerator; - (NSEnumerator*) reverseObjectEnumerator; - (NSString*) description; - (NSString*) descriptionWithLocale: (NSDictionary*)locale; - (NSString*) descriptionWithLocale: (NSDictionary*)locale indent: (unsigned int)level; - (BOOL) writeToFile: (NSString*)path atomically: (BOOL)useAuxiliaryFile; - (BOOL) writeToURL: (NSURL*)url atomically: (BOOL)useAuxiliaryFile; - (id) valueForKey: (NSString*)key; @end @interface NSMutableArray : NSArray + (id) arrayWithCapacity: (unsigned)numItems; - (void) addObject: (id)anObject; - (void) addObjectsFromArray: (NSArray*)otherArray; - (void) exchangeObjectAtIndex: (unsigned int)i1 withObjectAtIndex: (unsigned int)i2; - (id) initWithCapacity: (unsigned)numItems; - (void) insertObject: (id)anObject atIndex: (unsigned)index; - (void) removeObjectAtIndex: (unsigned)index; - (void) replaceObjectAtIndex: (unsigned)index withObject: (id)anObject; - (void) replaceObjectsInRange: (NSRange)aRange withObjectsFromArray: (NSArray*)anArray; - (void) replaceObjectsInRange: (NSRange)aRange withObjectsFromArray: (NSArray*)anArray range: (NSRange)anotherRange; - (void) setArray: (NSArray *)otherArray; - (void) removeAllObjects; - (void) removeLastObject; - (void) removeObject: (id)anObject; - (void) removeObject: (id)anObject inRange: (NSRange)aRange; - (void) removeObjectIdenticalTo: (id)anObject; - (void) removeObjectIdenticalTo: (id)anObject inRange: (NSRange)aRange; - (void) removeObjectsInArray: (NSArray*)otherArray; - (void) removeObjectsInRange: (NSRange)aRange; - (void) removeObjectsFromIndices: (unsigned*)indices numIndices: (unsigned)count; - (void) sortUsingFunction: (NSComparisonResult (*)(id,id,void*))compare context: (void*)context; - (void) sortUsingSelector: (SEL)comparator; - (void) setValue: (id)value forKey: (NSString*)key; @end @interface NSArray (GNUstep) # 169 "/usr/GNUstep/System/Library/Headers/Foundation/NSArray.h" - (unsigned) insertionPosition: (id)item usingFunction: (NSComparisonResult (*)(id, id, void *))sorter context: (void *)context; - (unsigned) insertionPosition: (id)item usingSelector: (SEL)comp; @end # 36 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSAttributedString.h" 1 # 56 "/usr/GNUstep/System/Library/Headers/Foundation/NSAttributedString.h" @interface NSAttributedString : NSObject { } - (id) initWithString: (NSString*)aString; - (id) initWithAttributedString: (NSAttributedString*)attributedString; - (id) initWithString: (NSString*)aString attributes: (NSDictionary*)attributes; - (unsigned int) length; - (NSString*) string; - (NSDictionary*) attributesAtIndex: (unsigned int)index effectiveRange: (NSRange*)aRange; - (NSDictionary*) attributesAtIndex: (unsigned int)index longestEffectiveRange: (NSRange*)aRange inRange: (NSRange)rangeLimit; - (id) attribute: (NSString*)attributeName atIndex: (unsigned int)index effectiveRange: (NSRange*)aRange; - (id) attribute: (NSString*)attributeName atIndex: (unsigned int)index longestEffectiveRange: (NSRange*)aRange inRange: (NSRange)rangeLimit; - (BOOL) isEqualToAttributedString: (NSAttributedString*)otherString; - (NSAttributedString*) attributedSubstringFromRange: (NSRange)aRange; - (NSAttributedString*) attributedSubstringWithRange: (NSRange)aRange; @end @interface NSMutableAttributedString : NSAttributedString { } - (NSMutableString*) mutableString; - (void) deleteCharactersInRange: (NSRange)aRange; - (void) setAttributes: (NSDictionary*)attributes range: (NSRange)aRange; - (void) addAttribute: (NSString*)name value: (id)value range: (NSRange)aRange; - (void) addAttributes: (NSDictionary*)attributes range: (NSRange)aRange; - (void) removeAttribute: (NSString*)name range: (NSRange)aRange; - (void) appendAttributedString: (NSAttributedString*)attributedString; - (void) insertAttributedString: (NSAttributedString*)attributedString atIndex: (unsigned int)index; - (void) replaceCharactersInRange: (NSRange)aRange withAttributedString: (NSAttributedString*)attributedString; - (void) replaceCharactersInRange: (NSRange)aRange withString: (NSString*)aString; - (void) setAttributedString: (NSAttributedString*)attributedString; - (void) beginEditing; - (void) endEditing; @end # 37 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h" 1 # 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h" @class NSAutoreleasePool; @class NSThread; # 45 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h" typedef struct autorelease_thread_vars { NSAutoreleasePool *current_pool; unsigned total_objects_count; id *pool_cache; int pool_cache_size; int pool_cache_count; } thread_vars_struct; # 83 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h" typedef struct autorelease_array_list { struct autorelease_array_list *next; unsigned size; unsigned count; id objects[0]; } array_list_struct; # 172 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h" @interface NSAutoreleasePool : NSObject { NSAutoreleasePool *_parent; NSAutoreleasePool *_child; struct autorelease_array_list *_released; struct autorelease_array_list *_released_head; unsigned _released_count; void (*_addImp)(id, SEL, id); } + (void) addObject: (id)anObj; + (id) allocWithZone: (NSZone*)zone; - (void) addObject: (id)anObj; - (id) autorelease; - (oneway void) release; - (id) retain; # 234 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h" + (unsigned) autoreleaseCountForObject: (id)anObject; + (id) currentPool; # 250 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h" + (void) enableRelease: (BOOL)enable; # 263 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h" + (void) freeCache; # 279 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h" + (void) setPoolCountThreshhold: (unsigned)c; + (void) _endThread: (NSThread*)thread; - (unsigned) autoreleaseCount; # 301 "/usr/GNUstep/System/Library/Headers/Foundation/NSAutoreleasePool.h" - (void) emptyPool; @end # 38 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h" 1 # 33 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h" @class NSString; @class NSArray; @class NSDictionary; @class NSMutableDictionary; # 45 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h" extern NSString* const NSBundleDidLoadNotification; # 54 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h" extern NSString* const NSShowNonLocalizedStrings; extern NSString* const NSLoadedClasses; # 92 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h" @interface NSBundle : NSObject { NSString *_path; NSArray *_bundleClasses; Class _principalClass; NSDictionary *_infoDict; NSMutableDictionary *_localizations; unsigned _bundleType; BOOL _codeLoaded; unsigned _version; NSString *_frameworkVersion; } + (NSArray*) allBundles; + (NSArray*) allFrameworks; # 131 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h" + (NSBundle*) mainBundle; # 147 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h" + (NSBundle*) bundleForClass: (Class)aClass; + (NSBundle*) bundleWithPath: (NSString*)path; + (NSString*) pathForResource: (NSString*)name ofType: (NSString*)ext inDirectory: (NSString*)bundlePath; + (NSString*) pathForResource: (NSString*)name ofType: (NSString*)ext inDirectory: (NSString*)bundlePath withVersion: (int)version; # 180 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h" - (id) initWithPath: (NSString*)path; - (NSString*) bundlePath; - (Class) classNamed: (NSString*)className; - (Class) principalClass; + (NSArray*) pathsForResourcesOfType: (NSString*)extension inDirectory: (NSString*)bundlePath; # 212 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h" - (NSArray*) pathsForResourcesOfType: (NSString*)extension inDirectory: (NSString*)bundlePath; # 236 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h" - (NSString*) pathForResource: (NSString*)name ofType: (NSString*)ext inDirectory: (NSString*)bundlePath; - (NSString*) pathForResource: (NSString*)name ofType: (NSString*)ext; # 257 "/usr/GNUstep/System/Library/Headers/Foundation/NSBundle.h" - (NSString*) localizedStringForKey: (NSString*)key value: (NSString*)value table: (NSString*)tableName; - (NSString*) resourcePath; - (NSString *)builtInPlugInsPath; - (NSString *)bundleIdentifier; - (unsigned) bundleVersion; - (void) setBundleVersion: (unsigned)version; + (NSArray *) preferredLocalizationsFromArray: (NSArray *)localizationsArray; + (NSArray *) preferredLocalizationsFromArray: (NSArray *)localizationsArray forPreferences: (NSArray *)preferencesArray; - (BOOL) isLoaded; - (NSArray*) pathsForResourcesOfType: (NSString*)extension inDirectory: (NSString*)bundlePath forLocalization: (NSString*)localizationName; - (NSString*) pathForResource: (NSString*)name ofType: (NSString*)ext inDirectory: (NSString*)bundlePath forLocalization: (NSString*)localizationName; - (NSDictionary*) infoDictionary; - (NSDictionary *)localizedInfoDictionary; - (NSArray *)localizations; - (NSArray *)preferredLocalizations; - (BOOL) load; - (NSString *)executablePath; @end @interface NSBundle (GNUstep) + (NSBundle *) bundleForLibrary: (NSString *)libraryName; + (NSString *) _absolutePathOfExecutable: (NSString *)path; + (NSString*) _gnustep_target_cpu; + (NSString*) _gnustep_target_dir; + (NSString*) _gnustep_target_os; + (NSString*) _library_combo; + (NSString*) pathForLibraryResource: (NSString*)name ofType: (NSString*)ext inDirectory: (NSString*)bundlePath; + (NSBundle*) gnustepBundle; + (NSString*) pathForGNUstepResource: (NSString*)name ofType: (NSString*)ext inDirectory: (NSString*)bundlePath; @end # 39 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSByteOrder.h" 1 # 32 "/usr/GNUstep/System/Library/Headers/Foundation/NSByteOrder.h" typedef gsu32 NSSwappedFloat; typedef gsu64 NSSwappedDouble; typedef enum { NS_UnknownByteOrder, NS_LittleEndian, NS_BigEndian } NSByteOrder; # 52 "/usr/GNUstep/System/Library/Headers/Foundation/NSByteOrder.h" static inline gsu16 GSSwapI16(gsu16 in) __attribute__((unused)); static inline gsu32 GSSwapI32(gsu32 in) __attribute__((unused)); static inline gsu64 GSSwapI64(gsu64 in) __attribute__((unused)); static inline gsu128 GSSwapI128(gsu128 in) __attribute__((unused)); static inline gsu16 GSSwapBigI16ToHost(gsu16 in) __attribute__((unused)); static inline gsu32 GSSwapBigI32ToHost(gsu32 in) __attribute__((unused)); static inline gsu64 GSSwapBigI64ToHost(gsu64 in) __attribute__((unused)); static inline gsu128 GSSwapBigI128ToHost(gsu128 in) __attribute__((unused)); static inline gsu16 GSSwapHostI16ToBig(gsu16 in) __attribute__((unused)); static inline gsu32 GSSwapHostI32ToBig(gsu32 in) __attribute__((unused)); static inline gsu64 GSSwapHostI64ToBig(gsu64 in) __attribute__((unused)); static inline gsu128 GSSwapHostI128ToBig(gsu128 in) __attribute__((unused)); static inline gsu16 GSSwapLittleI16ToHost(gsu16 in) __attribute__((unused)); static inline gsu32 GSSwapLittleI32ToHost(gsu32 in) __attribute__((unused)); static inline gsu64 GSSwapLittleI64ToHost(gsu64 in) __attribute__((unused)); static inline gsu128 GSSwapLittleI128ToHost(gsu128 in) __attribute__((unused)); static inline gsu16 GSSwapHostI16ToLittle(gsu16 in) __attribute__((unused)); static inline gsu32 GSSwapHostI32ToLittle(gsu32 in) __attribute__((unused)); static inline gsu64 GSSwapHostI64ToLittle(gsu64 in) __attribute__((unused)); static inline gsu128 GSSwapHostI128ToLittle(gsu128 in) __attribute__((unused)); # 104 "/usr/GNUstep/System/Library/Headers/Foundation/NSByteOrder.h" static inline gsu16 GSSwapI16(gsu16 in) { union swap { gsu16 num; gsu8 byt[2]; } dst; union swap *src = (union swap*)∈ dst.byt[0] = src->byt[1]; dst.byt[1] = src->byt[0]; return dst.num; } static inline gsu32 GSSwapI32(gsu32 in) { union swap { gsu32 num; gsu8 byt[4]; } dst; union swap *src = (union swap*)∈ dst.byt[0] = src->byt[3]; dst.byt[1] = src->byt[2]; dst.byt[2] = src->byt[1]; dst.byt[3] = src->byt[0]; return dst.num; } static inline gsu64 GSSwapI64(gsu64 in) { union swap { gsu64 num; gsu8 byt[8]; } dst; union swap *src = (union swap*)∈ dst.byt[0] = src->byt[7]; dst.byt[1] = src->byt[6]; dst.byt[2] = src->byt[5]; dst.byt[3] = src->byt[4]; dst.byt[4] = src->byt[3]; dst.byt[5] = src->byt[2]; dst.byt[6] = src->byt[1]; dst.byt[7] = src->byt[0]; return dst.num; } static inline gsu128 GSSwapI128(gsu128 in) { union swap { gsu128 num; gsu8 byt[16]; } dst; union swap *src = (union swap*)∈ dst.byt[0] = src->byt[15]; dst.byt[1] = src->byt[14]; dst.byt[2] = src->byt[13]; dst.byt[3] = src->byt[12]; dst.byt[4] = src->byt[11]; dst.byt[5] = src->byt[10]; dst.byt[6] = src->byt[9]; dst.byt[7] = src->byt[8]; dst.byt[8] = src->byt[7]; dst.byt[9] = src->byt[6]; dst.byt[10] = src->byt[5]; dst.byt[11] = src->byt[4]; dst.byt[12] = src->byt[3]; dst.byt[13] = src->byt[2]; dst.byt[14] = src->byt[1]; dst.byt[15] = src->byt[0]; return dst.num; } static inline NSSwappedDouble NSConvertHostDoubleToSwapped(double num) __attribute__((unused)); static inline NSSwappedFloat NSConvertHostFloatToSwapped(float num) __attribute__((unused)); static inline double NSConvertSwappedDoubleToHost(NSSwappedDouble num) __attribute__((unused)); static inline float NSConvertSwappedFloatToHost(NSSwappedFloat num) __attribute__((unused)); static inline unsigned int NSSwapInt(unsigned int in) __attribute__((unused)); static inline unsigned long long NSSwapLongLong(unsigned long long in) __attribute__((unused)); static inline unsigned long NSSwapLong(unsigned long in) __attribute__((unused)); static inline unsigned short NSSwapShort(unsigned short in) __attribute__((unused)); static inline NSSwappedDouble NSSwapDouble(NSSwappedDouble num) __attribute__((unused)); static inline NSSwappedFloat NSSwapFloat(NSSwappedFloat num) __attribute__((unused)); static inline NSByteOrder NSHostByteOrder(void) __attribute__((unused)); static inline double NSSwapBigDoubleToHost(NSSwappedDouble num) __attribute__((unused)); static inline float NSSwapBigFloatToHost(NSSwappedFloat num) __attribute__((unused)); static inline unsigned int NSSwapBigIntToHost(unsigned int num) __attribute__((unused)); static inline unsigned long long NSSwapBigLongLongToHost(unsigned long long num) __attribute__((unused)); static inline unsigned long NSSwapBigLongToHost(unsigned long num) __attribute__((unused)); static inline unsigned short NSSwapBigShortToHost(unsigned short num) __attribute__((unused)); static inline NSSwappedDouble NSSwapHostDoubleToBig(double num) __attribute__((unused)); static inline NSSwappedFloat NSSwapHostFloatToBig(float num) __attribute__((unused)); static inline unsigned int NSSwapHostIntToBig(unsigned int num) __attribute__((unused)); static inline unsigned long long NSSwapHostLongLongToBig(unsigned long long num) __attribute__((unused)); static inline unsigned long NSSwapHostLongToBig(unsigned long num) __attribute__((unused)); static inline unsigned short NSSwapHostShortToBig(unsigned short num) __attribute__((unused)); static inline double NSSwapLittleDoubleToHost(NSSwappedDouble num) __attribute__((unused)); static inline float NSSwapLittleFloatToHost(NSSwappedFloat num) __attribute__((unused)); static inline unsigned int NSSwapLittleIntToHost(unsigned int num) __attribute__((unused)); static inline unsigned long long NSSwapLittleLongLongToHost(unsigned long long num) __attribute__((unused)); static inline unsigned long NSSwapLittleLongToHost(unsigned long num) __attribute__((unused)); static inline unsigned short NSSwapLittleShortToHost(unsigned short num) __attribute__((unused)); static inline NSSwappedDouble NSSwapHostDoubleToLittle(double num) __attribute__((unused)); static inline NSSwappedFloat NSSwapHostFloatToLittle(float num) __attribute__((unused)); static inline unsigned int NSSwapHostIntToLittle(unsigned int num) __attribute__((unused)); static inline unsigned long long NSSwapHostLongLongToLittle(unsigned long long num) __attribute__((unused)); static inline unsigned long NSSwapHostLongToLittle(unsigned long num) __attribute__((unused)); static inline unsigned short NSSwapHostShortToLittle(unsigned short num) __attribute__((unused)); static inline NSSwappedDouble NSConvertHostDoubleToSwapped(double num) { union dconv { double number; NSSwappedDouble sd; }; return ((union dconv *)&num)->sd; } static inline NSSwappedFloat NSConvertHostFloatToSwapped(float num) { union fconv { float number; NSSwappedFloat sf; }; return ((union fconv *)&num)->sf; } static inline double NSConvertSwappedDoubleToHost(NSSwappedDouble num) { union dconv { double number; NSSwappedDouble sd; }; return ((union dconv *)&num)->number; } static inline float NSConvertSwappedFloatToHost(NSSwappedFloat num) { union fconv { float number; NSSwappedFloat sf; }; return ((union fconv *)&num)->number; } static inline unsigned int NSSwapInt(unsigned int in) { return GSSwapI32(in); # 323 "/usr/GNUstep/System/Library/Headers/Foundation/NSByteOrder.h" } static inline unsigned long long NSSwapLongLong(unsigned long long in) { return GSSwapI64(in); } static inline unsigned long NSSwapLong(unsigned long in) { return GSSwapI32(in); # 359 "/usr/GNUstep/System/Library/Headers/Foundation/NSByteOrder.h" } static inline unsigned short NSSwapShort(unsigned short in) { return GSSwapI16(in); # 377 "/usr/GNUstep/System/Library/Headers/Foundation/NSByteOrder.h" } static inline NSSwappedDouble NSSwapDouble(NSSwappedDouble num) { return GSSwapI64(num); } static inline NSSwappedFloat NSSwapFloat(NSSwappedFloat num) { return GSSwapI32(num); } # 642 "/usr/GNUstep/System/Library/Headers/Foundation/NSByteOrder.h" static inline NSByteOrder NSHostByteOrder(void) { return NS_LittleEndian; } static inline gsu16 GSSwapBigI16ToHost(gsu16 in) { return GSSwapI16(in); } static inline gsu32 GSSwapBigI32ToHost(gsu32 in) { return GSSwapI32(in); } static inline gsu64 GSSwapBigI64ToHost(gsu64 in) { return GSSwapI64(in); } static inline gsu128 GSSwapBigI128ToHost(gsu128 in) { return GSSwapI128(in); } static inline double NSSwapBigDoubleToHost(NSSwappedDouble num) { return NSConvertSwappedDoubleToHost(NSSwapDouble(num)); } static inline float NSSwapBigFloatToHost(NSSwappedFloat num) { return NSConvertSwappedFloatToHost(NSSwapFloat(num)); } static inline unsigned int NSSwapBigIntToHost(unsigned int num) { return NSSwapInt(num); } static inline unsigned long long NSSwapBigLongLongToHost(unsigned long long num) { return NSSwapLongLong(num); } static inline unsigned long NSSwapBigLongToHost(unsigned long num) { return NSSwapLong(num); } static inline unsigned short NSSwapBigShortToHost(unsigned short num) { return NSSwapShort(num); } static inline gsu16 GSSwapHostI16ToBig(gsu16 in) { return GSSwapI16(in); } static inline gsu32 GSSwapHostI32ToBig(gsu32 in) { return GSSwapI32(in); } static inline gsu64 GSSwapHostI64ToBig(gsu64 in) { return GSSwapI64(in); } static inline gsu128 GSSwapHostI128ToBig(gsu128 in) { return GSSwapI128(in); } static inline NSSwappedDouble NSSwapHostDoubleToBig(double num) { return NSSwapDouble(NSConvertHostDoubleToSwapped(num)); } static inline NSSwappedFloat NSSwapHostFloatToBig(float num) { return NSSwapFloat(NSConvertHostFloatToSwapped(num)); } static inline unsigned int NSSwapHostIntToBig(unsigned int num) { return NSSwapInt(num); } static inline unsigned long long NSSwapHostLongLongToBig(unsigned long long num) { return NSSwapLongLong(num); } static inline unsigned long NSSwapHostLongToBig(unsigned long num) { return NSSwapLong(num); } static inline unsigned short NSSwapHostShortToBig(unsigned short num) { return NSSwapShort(num); } static inline gsu16 GSSwapLittleI16ToHost(gsu16 in) { return in; } static inline gsu32 GSSwapLittleI32ToHost(gsu32 in) { return in; } static inline gsu64 GSSwapLittleI64ToHost(gsu64 in) { return in; } static inline gsu128 GSSwapLittleI128ToHost(gsu128 in) { return in; } static inline double NSSwapLittleDoubleToHost(NSSwappedDouble num) { return NSConvertSwappedDoubleToHost(num); } static inline float NSSwapLittleFloatToHost(NSSwappedFloat num) { return NSConvertSwappedFloatToHost(num); } static inline unsigned int NSSwapLittleIntToHost(unsigned int num) { return num; } static inline unsigned long long NSSwapLittleLongLongToHost(unsigned long long num) { return num; } static inline unsigned long NSSwapLittleLongToHost(unsigned long num) { return num; } static inline unsigned short NSSwapLittleShortToHost(unsigned short num) { return num; } static inline gsu16 GSSwapHostI16ToLittle(gsu16 in) { return in; } static inline gsu32 GSSwapHostI32ToLittle(gsu32 in) { return in; } static inline gsu64 GSSwapHostI64ToLittle(gsu64 in) { return in; } static inline gsu128 GSSwapHostI128ToLittle(gsu128 in) { return in; } static inline NSSwappedDouble NSSwapHostDoubleToLittle(double num) { return NSConvertHostDoubleToSwapped(num); } static inline NSSwappedFloat NSSwapHostFloatToLittle(float num) { return NSConvertHostFloatToSwapped(num); } static inline unsigned int NSSwapHostIntToLittle(unsigned int num) { return num; } static inline unsigned long long NSSwapHostLongLongToLittle(unsigned long long num) { return num; } static inline unsigned long NSSwapHostLongToLittle(unsigned long num) { return num; } static inline unsigned short NSSwapHostShortToLittle(unsigned short num) { return num; } # 40 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSCalendarDate.h" 1 # 26 "/usr/GNUstep/System/Library/Headers/Foundation/NSCalendarDate.h" @class NSTimeZone; @class NSTimeZoneDetail; @interface NSCalendarDate : NSDate { NSTimeInterval _seconds_since_ref; NSString *_calendar_format; NSTimeZone *_time_zone; } + (id) calendarDate; + (id) dateWithString: (NSString*)description calendarFormat: (NSString*)format; + (id) dateWithString: (NSString*)description calendarFormat: (NSString*)format locale: (NSDictionary*)dictionary; + (id) dateWithYear: (int)year month: (unsigned int)month day: (unsigned int)day hour: (unsigned int)hour minute: (unsigned int)minute second: (unsigned int)second timeZone: (NSTimeZone*)aTimeZone; - (id) initWithString: (NSString*)description; - (id) initWithString: (NSString*)description calendarFormat: (NSString*)format; - (id) initWithString: (NSString*)description calendarFormat: (NSString*)fmt locale: (NSDictionary*)locale; - (id) initWithYear: (int)year month: (unsigned int)month day: (unsigned int)day hour: (unsigned int)hour minute: (unsigned int)minute second: (unsigned int)second timeZone: (NSTimeZone*)aTimeZone; - (int) dayOfCommonEra; - (int) dayOfMonth; - (int) dayOfWeek; - (int) dayOfYear; - (int) hourOfDay; - (int) minuteOfHour; - (int) monthOfYear; - (int) secondOfMinute; - (int) yearOfCommonEra; - (NSCalendarDate*) addYear: (int)year month: (int)month day: (int)day hour: (int)hour minute: (int)minute second: (int)second; - (NSString*) description; - (NSString*) descriptionWithCalendarFormat: (NSString*)format; - (NSString*) descriptionWithCalendarFormat: (NSString*)format locale: (NSDictionary*)locale; - (NSString*) descriptionWithLocale: (NSDictionary*)locale; - (NSString*) calendarFormat; - (void) setCalendarFormat: (NSString*)format; - (void) setTimeZone: (NSTimeZone*)aTimeZone; - (NSTimeZone*) timeZone; - (NSTimeZoneDetail*) timeZoneDetail; @end @interface NSCalendarDate (GSCategories) # 123 "/usr/GNUstep/System/Library/Headers/Foundation/NSCalendarDate.h" - (int) weekOfYear; @end @interface NSCalendarDate (GregorianDate) - (int) lastDayOfGregorianMonth: (int)month year: (int)year; - (int) absoluteGregorianDay: (int)day month: (int)month year: (int)year; - (void) gregorianDateFromAbsolute: (int)d day: (int*)day month: (int*)month year: (int*)year; @end void GSBreakTime(NSTimeInterval when, int *year, int *month, int *day, int *hour, int *minute, int *second, int *mil); NSTimeInterval GSTime(int day, int month, int year, int hour, int minute, int second, int mil); @interface NSCalendarDate (OPENSTEP) - (NSCalendarDate*) dateByAddingYears: (int)years months: (int)months days: (int)days hours: (int)hours minutes: (int)minutes seconds: (int)seconds; - (void) years: (int*)years months: (int*)months days: (int*)days hours: (int*)hours minutes: (int*)minutes seconds: (int*)seconds sinceDate: (NSDate*)date; @end # 41 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSCharacterSet.h" 1 # 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSCharacterSet.h" @class NSData; @interface NSCharacterSet : NSObject + (NSCharacterSet*) alphanumericCharacterSet; + (NSCharacterSet*) controlCharacterSet; + (NSCharacterSet*) decimalDigitCharacterSet; + (NSCharacterSet*) decomposableCharacterSet; + (NSCharacterSet*) illegalCharacterSet; + (NSCharacterSet*) letterCharacterSet; + (NSCharacterSet*) lowercaseLetterCharacterSet; + (NSCharacterSet*) nonBaseCharacterSet; + (NSCharacterSet*) punctuationCharacterSet; + (NSCharacterSet*) symbolAndOperatorCharacterSet; + (NSCharacterSet*) uppercaseLetterCharacterSet; + (NSCharacterSet*) whitespaceAndNewlineCharacterSet; + (NSCharacterSet*) whitespaceCharacterSet; + (NSCharacterSet*) characterSetWithBitmapRepresentation: (NSData*)data; + (NSCharacterSet*) characterSetWithCharactersInString: (NSString*)aString; + (NSCharacterSet*) characterSetWithRange: (NSRange)aRange; - (NSData*) bitmapRepresentation; - (BOOL) characterIsMember: (unichar)aCharacter; - (NSCharacterSet*) invertedSet; + (NSCharacterSet*) characterSetWithContentsOfFile: (NSString*)aFile; @end @interface NSMutableCharacterSet : NSCharacterSet - (void) addCharactersInRange: (NSRange)aRange; - (void) addCharactersInString: (NSString*)aString; - (void) formUnionWithCharacterSet: (NSCharacterSet*)otherSet; - (void) formIntersectionWithCharacterSet: (NSCharacterSet*)otherSet; - (void) removeCharactersInRange: (NSRange)aRange; - (void) removeCharactersInString: (NSString*)aString; - (void) invert; @end # 42 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSClassDescription.h" 1 # 28 "/usr/GNUstep/System/Library/Headers/Foundation/NSClassDescription.h" # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSException.h" 1 # 34 "/usr/GNUstep/System/Library/Headers/Foundation/NSException.h" # 1 "/usr/include/setjmp.h" 1 3 4 # 28 "/usr/include/setjmp.h" 3 4 # 1 "/usr/include/bits/setjmp.h" 1 3 4 # 38 "/usr/include/bits/setjmp.h" 3 4 typedef int __jmp_buf[6]; # 31 "/usr/include/setjmp.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 32 "/usr/include/setjmp.h" 2 3 4 typedef struct __jmp_buf_tag { __jmp_buf __jmpbuf; int __mask_was_saved; __sigset_t __saved_mask; } jmp_buf[1]; extern int setjmp (jmp_buf __env) __attribute__ ((__nothrow__)); extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __attribute__ ((__nothrow__)); extern int _setjmp (struct __jmp_buf_tag __env[1]) __attribute__ ((__nothrow__)); # 76 "/usr/include/setjmp.h" 3 4 extern void longjmp (struct __jmp_buf_tag __env[1], int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern void _longjmp (struct __jmp_buf_tag __env[1], int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); typedef struct __jmp_buf_tag sigjmp_buf[1]; # 108 "/usr/include/setjmp.h" 3 4 extern void siglongjmp (sigjmp_buf __env, int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); # 35 "/usr/GNUstep/System/Library/Headers/Foundation/NSException.h" 2 @class NSDictionary; @interface NSException : NSObject { NSString *_e_name; NSString *_e_reason; NSDictionary *_e_info; } + (NSException*) exceptionWithName: (NSString*)name reason: (NSString*)reason userInfo: (NSDictionary*)userInfo; + (void) raise: (NSString*)name format: (NSString*)format,...; + (void) raise: (NSString*)name format: (NSString*)format arguments: (va_list)argList; - (id) initWithName: (NSString*)name reason: (NSString*)reason userInfo: (NSDictionary*)userInfo; - (void) raise; - (NSString*) name; - (NSString*) reason; - (NSDictionary*) userInfo; @end extern NSString* const NSGenericException; extern NSString* const NSInternalInconsistencyException; extern NSString* const NSInvalidArgumentException; extern NSString* const NSMallocException; extern NSString* const NSRangeException; extern NSString* const NSCharacterConversionException; extern NSString* const NSParseErrorException; typedef struct _NSHandler { jmp_buf jumpState; struct _NSHandler *next; NSException *exception; } NSHandler; typedef void NSUncaughtExceptionHandler(NSException *exception); extern NSUncaughtExceptionHandler *_NSUncaughtExceptionHandler; # 142 "/usr/GNUstep/System/Library/Headers/Foundation/NSException.h" extern void _NSAddHandler( NSHandler *handler ); extern void _NSRemoveHandler( NSHandler *handler ); # 172 "/usr/GNUstep/System/Library/Headers/Foundation/NSException.h" @interface NSAssertionHandler : NSObject + (NSAssertionHandler*) currentHandler; - (void) handleFailureInFunction: (NSString*)functionName file: (NSString*)fileName lineNumber: (int)line description: (NSString*)format,...; - (void) handleFailureInMethod: (SEL)aSelector object: object file: (NSString*)fileName lineNumber: (int)line description: (NSString*)format,...; @end # 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSClassDescription.h" 2 @class NSArray; @class NSDictionary; @class NSString; extern NSString* const NSClassDescriptionNeededForClassNotification; @interface NSClassDescription : NSObject + (NSClassDescription*) classDescriptionForClass: (Class)aClass; + (void) invalidateClassDescriptionCache; + (void) registerClassDescription: (NSClassDescription*)aDescription forClass: (Class)aClass; - (NSArray*) attributeKeys; - (NSString*) inverseForRelationshipKey: (NSString*)aKey; - (NSArray*) toManyRelationshipKeys; - (NSArray*) toOneRelationshipKeys; @end @interface NSObject (NSClassDescriptionPrimitives) - (NSArray*) attributeKeys; - (NSClassDescription*) classDescription; - (NSString*) inverseForRelationshipKey: (NSString*)aKey; - (NSArray*) toManyRelationshipKeys; - (NSArray*) toOneRelationshipKeys; @end # 43 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h" 1 # 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h" # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSTimer.h" 1 # 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSTimer.h" @interface NSTimer : NSObject { NSDate *_date; BOOL _invalidated; BOOL _repeats; NSTimeInterval _interval; id _target; SEL _selector; id _info; } + (NSTimer*) scheduledTimerWithTimeInterval: (NSTimeInterval)ti invocation: (NSInvocation*)invocation repeats: (BOOL)f; + (NSTimer*) scheduledTimerWithTimeInterval: (NSTimeInterval)ti target: (id)object selector: (SEL)selector userInfo: (id)info repeats: (BOOL)f; + (NSTimer*) timerWithTimeInterval: (NSTimeInterval)ti invocation: (NSInvocation*)invocation repeats: (BOOL)f; + (NSTimer*) timerWithTimeInterval: (NSTimeInterval)ti target: (id)object selector: (SEL)selector userInfo: (id)info repeats: (BOOL)f; - (void) fire; - (NSDate*) fireDate; - (void) invalidate; - (id) userInfo; - (id) initWithFireDate: (NSDate*)fd interval: (NSTimeInterval)ti target: (id)object selector: (SEL)selector userInfo: (id)info repeats: (BOOL)f; - (BOOL) isValid; - (void) setFireDate: (NSDate*)fireDate; - (NSTimeInterval) timeInterval; @end # 32 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSRunLoop.h" 1 # 27 "/usr/GNUstep/System/Library/Headers/Foundation/NSRunLoop.h" # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSMapTable.h" 1 # 40 "/usr/GNUstep/System/Library/Headers/Foundation/NSMapTable.h" typedef void *NSMapTable; typedef struct { void *map; void *node; size_t bucket; } NSMapEnumerator; typedef struct _NSMapTableKeyCallBacks { unsigned (*hash)(NSMapTable *, const void *); BOOL (*isEqual)(NSMapTable *, const void *, const void *); # 73 "/usr/GNUstep/System/Library/Headers/Foundation/NSMapTable.h" void (*retain)(NSMapTable *, const void *); void (*release)(NSMapTable *, void *); NSString *(*describe)(NSMapTable *, const void *); const void *notAKeyMarker; } NSMapTableKeyCallBacks; typedef struct _NSMapTableValueCallBacks NSMapTableValueCallBacks; struct _NSMapTableValueCallBacks { void (*retain)(NSMapTable *, const void *); void (*release)(NSMapTable *, void *); NSString *(*describe)(NSMapTable *, const void *); }; extern const NSMapTableKeyCallBacks NSIntMapKeyCallBacks; extern const NSMapTableKeyCallBacks NSNonOwnedPointerMapKeyCallBacks; extern const NSMapTableKeyCallBacks NSNonOwnedPointerOrNullMapKeyCallBacks; extern const NSMapTableKeyCallBacks NSNonRetainedObjectMapKeyCallBacks; extern const NSMapTableKeyCallBacks NSObjectMapKeyCallBacks; extern const NSMapTableKeyCallBacks NSOwnedPointerMapKeyCallBacks; extern const NSMapTableValueCallBacks NSIntMapValueCallBacks; extern const NSMapTableValueCallBacks NSNonOwnedPointerMapValueCallBacks; extern const NSMapTableValueCallBacks NSNonRetainedObjectMapValueCallBacks; extern const NSMapTableValueCallBacks NSObjectMapValueCallBacks; extern const NSMapTableValueCallBacks NSOwnedPointerMapValueCallBacks; extern NSMapTable * NSCreateMapTable(NSMapTableKeyCallBacks keyCallBacks, NSMapTableValueCallBacks valueCallBacks, unsigned int capacity); extern NSMapTable * NSCreateMapTableWithZone(NSMapTableKeyCallBacks keyCallBacks, NSMapTableValueCallBacks valueCallBacks, unsigned int capacity, NSZone *zone); extern NSMapTable * NSCopyMapTableWithZone(NSMapTable *table, NSZone *zone); extern void NSFreeMapTable(NSMapTable *table); extern void NSResetMapTable(NSMapTable *table); extern BOOL NSCompareMapTables(NSMapTable *table1, NSMapTable *table2); extern unsigned int NSCountMapTable(NSMapTable *table); extern BOOL NSMapMember(NSMapTable *table, const void *key, void **originalKey, void **value); extern void * NSMapGet(NSMapTable *table, const void *key); extern void NSEndMapTableEnumeration(NSMapEnumerator *enumerator); extern NSMapEnumerator NSEnumerateMapTable(NSMapTable *table); extern BOOL NSNextMapEnumeratorPair(NSMapEnumerator *enumerator, void **key, void **value); extern NSArray * NSAllMapTableKeys(NSMapTable *table); extern NSArray * NSAllMapTableValues(NSMapTable *table); extern void NSMapInsert(NSMapTable *table, const void *key, const void *value); extern void * NSMapInsertIfAbsent(NSMapTable *table, const void *key, const void *value); extern void NSMapInsertKnownAbsent(NSMapTable *table, const void *key, const void *value); extern void NSMapRemove(NSMapTable *table, const void *key); extern NSString *NSStringFromMapTable (NSMapTable *table); # 28 "/usr/GNUstep/System/Library/Headers/Foundation/NSRunLoop.h" 2 @class NSTimer, NSDate, NSPort; extern NSString * const NSDefaultRunLoopMode; @interface NSRunLoop : NSObject { @private NSString *_currentMode; NSMapTable *_contextMap; NSMutableArray *_contextStack; NSMutableArray *_timedPerformers; void *_extra; } + (NSRunLoop*) currentRunLoop; - (void) acceptInputForMode: (NSString*)mode beforeDate: (NSDate*)limit_date; - (void) addTimer: (NSTimer*)timer forMode: (NSString*)mode; - (NSString*) currentMode; - (NSDate*) limitDateForMode: (NSString*)mode; - (void) run; - (BOOL) runMode: (NSString*)mode beforeDate: (NSDate*)date; - (void) runUntilDate: (NSDate*)date; @end @interface NSRunLoop(OPENSTEP) - (void) addPort: (NSPort*)port forMode: (NSString*)mode; - (void) cancelPerformSelectorsWithTarget: (id)target; - (void) cancelPerformSelector: (SEL)aSelector target: (id)target argument: (id)argument; - (void) configureAsServer; - (void) performSelector: (SEL)aSelector target: (id)target argument: (id)argument order: (unsigned int)order modes: (NSArray*)modes; - (void) removePort: (NSPort*)port forMode: (NSString*)mode; @end # 110 "/usr/GNUstep/System/Library/Headers/Foundation/NSRunLoop.h" typedef enum { ET_RDESC, ET_WDESC, ET_RPORT, ET_EDESC } RunLoopEventType; @protocol RunLoopEvents - (NSDate*) timedOutEvent: (void*)data type: (RunLoopEventType)type forMode: (NSString*)mode; - (void) receivedEvent: (void*)data type: (RunLoopEventType)type extra: (void*)extra forMode: (NSString*)mode; @end # 156 "/usr/GNUstep/System/Library/Headers/Foundation/NSRunLoop.h" @interface NSRunLoop(GNUstepExtensions) # 167 "/usr/GNUstep/System/Library/Headers/Foundation/NSRunLoop.h" - (void) addEvent: (void*)data type: (RunLoopEventType)type watcher: (id)watcher forMode: (NSString*)mode; # 179 "/usr/GNUstep/System/Library/Headers/Foundation/NSRunLoop.h" - (void) removeEvent: (void*)data type: (RunLoopEventType)type forMode: (NSString*)mode all: (BOOL)removeAll; @end @interface NSObject (OptionalPortRunLoop) - (void) getFds: (int*)fds count: (int*)count; @end # 33 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h" 2 @class NSDistantObject; @class NSPort; @class NSPortNameServer; @class NSData; @class NSInvocation; # 49 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h" extern NSString* const NSConnectionRepliesReceived; extern NSString* const NSConnectionRepliesSent; extern NSString* const NSConnectionRequestsReceived; extern NSString* const NSConnectionRequestsSent; extern NSString* const NSConnectionLocalCount; extern NSString* const NSConnectionProxyCount; # 89 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h" @interface NSConnection : NSObject { @private BOOL _isValid; BOOL _independentQueueing; BOOL _authenticateIn; BOOL _authenticateOut; BOOL _multipleThreads; NSPort *_receivePort; NSPort *_sendPort; unsigned _requestDepth; unsigned _messageCount; unsigned _reqOutCount; unsigned _reqInCount; unsigned _repOutCount; unsigned _repInCount; void* _localObjects; void* _localTargets; void* _remoteProxies; void* _replyMap; NSTimeInterval _replyTimeout; NSTimeInterval _requestTimeout; NSMutableArray *_requestModes; NSMutableArray *_runLoops; NSMutableArray *_requestQueue; id _delegate; NSRecursiveLock *_refGate; NSMutableArray *_cachedDecoders; NSMutableArray *_cachedEncoders; NSString *_registeredName; NSPortNameServer *_nameServer; } + (NSArray*) allConnections; + (NSConnection*) connectionWithReceivePort: (NSPort*)r sendPort: (NSPort*)s; + (NSConnection*) connectionWithRegisteredName: (NSString*)n host: (NSString*)h; + (NSConnection*) connectionWithRegisteredName: (NSString*)n host: (NSString*)h usingNameServer: (NSPortNameServer*)s; + (id) currentConversation; + (NSConnection*) defaultConnection; + (NSDistantObject*) rootProxyForConnectionWithRegisteredName: (NSString*)n host: (NSString*)h; + (NSDistantObject*) rootProxyForConnectionWithRegisteredName: (NSString*)n host: (NSString*)h usingNameServer: (NSPortNameServer*)s; - (void) addRequestMode: (NSString*)mode; - (void) addRunLoop: (NSRunLoop*)loop; - (id) delegate; - (void) enableMultipleThreads; - (BOOL) independentConversationQueueing; - (id) initWithReceivePort: (NSPort*)r sendPort: (NSPort*)s; - (void) invalidate; - (BOOL) isValid; - (NSArray*)localObjects; - (BOOL) multipleThreadsEnabled; - (NSPort*) receivePort; - (BOOL) registerName: (NSString*)name; - (BOOL) registerName: (NSString*)name withNameServer: (NSPortNameServer*)svr; - (NSArray*) remoteObjects; - (void) removeRequestMode: (NSString*)mode; - (void) removeRunLoop: (NSRunLoop *)loop; - (NSTimeInterval) replyTimeout; - (NSArray*) requestModes; - (NSTimeInterval) requestTimeout; - (id) rootObject; - (NSDistantObject*) rootProxy; - (void) runInNewThread; - (NSPort*) sendPort; - (void) setDelegate: anObj; - (void) setIndependentConversationQueueing: (BOOL)flag; - (void) setReplyTimeout: (NSTimeInterval)to; - (void) setRequestMode: (NSString*)mode; - (void) setRequestTimeout: (NSTimeInterval)to; - (void) setRootObject: anObj; - (NSDictionary*) statistics; @end @interface NSConnection (GNUstepExtensions) + (NSConnection*) newRegisteringAtName: (NSString*)name withRootObject: (id)anObject; - (void) gcFinalize; - (retval_t) forwardForProxy: (NSDistantObject*)object selector: (SEL)sel argFrame: (arglist_t)argframe; - (void) forwardInvocation: (NSInvocation *)inv forProxy: (NSDistantObject*)object; - (const char *) typeForSelector: (SEL)sel remoteTarget: (unsigned)target; @end @interface Object (NSConnectionDelegate) - (BOOL) connection: (NSConnection*)parent shouldMakeNewConnection: (NSConnection*)newConnection; - (BOOL) makeNewConnection: (NSConnection*)newConnection sender: (NSConnection*)parent; # 244 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h" - (NSConnection*) connection: (NSConnection*)ancestorConn didConnect: (NSConnection*)newConn; - (BOOL) authenticateComponents: (NSMutableArray*)components withData: (NSData*)authenticationData; - (NSData*) authenticationDataForComponents: (NSMutableArray*)components; @end @interface Object (NSPortCoder) # 280 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h" - (Class) classForPortCoder; # 289 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h" - (id) replacementObjectForPortCoder: (NSPortCoder*)aCoder; @end # 301 "/usr/GNUstep/System/Library/Headers/Foundation/NSConnection.h" extern NSString * const NSConnectionReplyMode; extern NSString * const NSConnectionDidDieNotification; extern NSString * const NSConnectionDidInitializeNotification; extern NSString * const NSFailedAuthenticationException; # 45 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDateFormatter.h" 1 # 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSDateFormatter.h" # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSFormatter.h" 1 # 32 "/usr/GNUstep/System/Library/Headers/Foundation/NSFormatter.h" @class NSString, NSAttributedString, NSDictionary; # 41 "/usr/GNUstep/System/Library/Headers/Foundation/NSFormatter.h" @interface NSFormatter : NSObject { } - (NSAttributedString*) attributedStringForObjectValue: (id)anObject withDefaultAttributes: (NSDictionary*)attr; # 63 "/usr/GNUstep/System/Library/Headers/Foundation/NSFormatter.h" - (NSString*) editingStringForObjectValue: (id)anObject; # 74 "/usr/GNUstep/System/Library/Headers/Foundation/NSFormatter.h" - (BOOL) getObjectValue: (id*)anObject forString: (NSString*)string errorDescription: (NSString**)error; # 87 "/usr/GNUstep/System/Library/Headers/Foundation/NSFormatter.h" - (BOOL) isPartialStringValid: (NSString*)partialString newEditingString: (NSString**)newString errorDescription: (NSString**)error; # 102 "/usr/GNUstep/System/Library/Headers/Foundation/NSFormatter.h" - (BOOL) isPartialStringValid: (NSString**)partialStringPtr proposedSelectedRange: (NSRange*)proposedSelRangePtr originalString: (NSString*)origString originalSelectedRange: (NSRange)originalSelRangePtr errorDescription: (NSString**)error; # 116 "/usr/GNUstep/System/Library/Headers/Foundation/NSFormatter.h" - (NSString*) stringForObjectValue: (id)anObject; @end # 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSDateFormatter.h" 2 # 93 "/usr/GNUstep/System/Library/Headers/Foundation/NSDateFormatter.h" @interface NSDateFormatter : NSFormatter { NSString *_dateFormat; BOOL _allowsNaturalLanguage; } # 108 "/usr/GNUstep/System/Library/Headers/Foundation/NSDateFormatter.h" - (id) initWithDateFormat: (NSString *)format allowNaturalLanguage: (BOOL)flag; # 120 "/usr/GNUstep/System/Library/Headers/Foundation/NSDateFormatter.h" - (BOOL) allowsNaturalLanguage; - (NSString *) dateFormat; @end # 47 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSData.h" 1 # 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSData.h" # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSSerialization.h" 1 # 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSSerialization.h" @class NSData, NSMutableData; # 40 "/usr/GNUstep/System/Library/Headers/Foundation/NSSerialization.h" @protocol NSObjCTypeSerializationCallBack - (void) deserializeObjectAt: (id*)object ofObjCType: (const char *)type fromData: (NSData*)data atCursor: (unsigned*)cursor; - (void) serializeObjectAt: (id*)object ofObjCType: (const char *)type intoData: (NSMutableData*)data; @end # 67 "/usr/GNUstep/System/Library/Headers/Foundation/NSSerialization.h" @interface NSSerializer: NSObject + (NSData*) serializePropertyList: (id)propertyList; + (void) serializePropertyList: (id)propertyList intoData: (NSMutableData*)d; @end # 99 "/usr/GNUstep/System/Library/Headers/Foundation/NSSerialization.h" @interface NSSerializer (GNUstep) + (void) shouldBeCompact: (BOOL)flag; + (void) serializePropertyList: (id)propertyList intoData: (NSMutableData*)d compact: (BOOL)flag; @end # 123 "/usr/GNUstep/System/Library/Headers/Foundation/NSSerialization.h" @interface NSDeserializer: NSObject + (id) deserializePropertyListFromData: (NSData*)data atCursor: (unsigned int*)cursor mutableContainers: (BOOL)flag; + (id) deserializePropertyListFromData: (NSData*)data mutableContainers: (BOOL)flag; # 150 "/usr/GNUstep/System/Library/Headers/Foundation/NSSerialization.h" + (id) deserializePropertyListLazilyFromData: (NSData*)data atCursor: (unsigned*)cursor length: (unsigned)length mutableContainers: (BOOL)flag; @end # 171 "/usr/GNUstep/System/Library/Headers/Foundation/NSSerialization.h" @interface NSDeserializer (GNUstep) + (void) uniquing: (BOOL)flag; @end # 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSData.h" 2 @class NSURL; @interface NSData : NSObject + (id) data; + (id) dataWithBytes: (const void*)bytes length: (unsigned int)length; + (id) dataWithBytesNoCopy: (void*)bytes length: (unsigned int)length; + (id) dataWithBytesNoCopy: (void*)aBuffer length: (unsigned int)bufferSize freeWhenDone: (BOOL)shouldFree; + (id) dataWithContentsOfFile: (NSString*)path; + (id) dataWithContentsOfMappedFile: (NSString*)path; + (id) dataWithContentsOfURL: (NSURL*)url; + (id) dataWithData: (NSData*)data; - (id) initWithBytes: (const void*)aBuffer length: (unsigned int)bufferSize; - (id) initWithBytesNoCopy: (void*)aBuffer length: (unsigned int)bufferSize; - (id) initWithBytesNoCopy: (void*)aBuffer length: (unsigned int)bufferSize freeWhenDone: (BOOL)shouldFree; - (id) initWithContentsOfFile: (NSString*)path; - (id) initWithContentsOfMappedFile: (NSString*)path; - (id) initWithContentsOfURL: (NSURL*)url; - (id) initWithData: (NSData*)data; - (const void*) bytes; - (NSString*) description; - (void) getBytes: (void*)buffer; - (void) getBytes: (void*)buffer length: (unsigned int)length; - (void) getBytes: (void*)buffer range: (NSRange)aRange; - (NSData*) subdataWithRange: (NSRange)aRange; - (BOOL) isEqualToData: (NSData*)other; - (unsigned int) length; - (BOOL) writeToFile: (NSString*)path atomically: (BOOL)useAuxiliaryFile; - (BOOL) writeToURL: (NSURL*)anURL atomically: (BOOL)flag; - (unsigned int) deserializeAlignedBytesLengthAtCursor: (unsigned int*)cursor; - (void) deserializeBytes: (void*)buffer length: (unsigned int)bytes atCursor: (unsigned int*)cursor; - (void) deserializeDataAt: (void*)data ofObjCType: (const char*)type atCursor: (unsigned int*)cursor context: (id )callback; - (int) deserializeIntAtCursor: (unsigned int*)cursor; - (int) deserializeIntAtIndex: (unsigned int)index; - (void) deserializeInts: (int*)intBuffer count: (unsigned int)numInts atCursor: (unsigned int*)cursor; - (void) deserializeInts: (int*)intBuffer count: (unsigned int)numInts atIndex: (unsigned int)index; @end @interface NSData (GSCategories) # 139 "/usr/GNUstep/System/Library/Headers/Foundation/NSData.h" - (NSString*) hexadecimalRepresentation; # 150 "/usr/GNUstep/System/Library/Headers/Foundation/NSData.h" - (id) initWithHexadecimalRepresentation: (NSString*)string; # 166 "/usr/GNUstep/System/Library/Headers/Foundation/NSData.h" - (NSData*) md5Digest; - (BOOL) uudecodeInto: (NSMutableData*)decoded name: (NSString**)namePtr mode: (int*)modePtr; - (BOOL) uuencodeInto: (NSMutableData*)encoded name: (NSString*)name mode: (int)mode; @end # 258 "/usr/GNUstep/System/Library/Headers/Foundation/NSData.h" @interface NSData (GNUstepExtensions) + (id) dataWithShmID: (int)anID length: (unsigned int) length; + (id) dataWithSharedBytes: (const void*)bytes length: (unsigned int) length; - (void) deserializeTypeTag: (unsigned char*)tag andCrossRef: (unsigned int*)ref atCursor: (unsigned int*)cursor; @end @interface NSMutableData : NSData + (id) dataWithCapacity: (unsigned int)numBytes; + (id) dataWithLength: (unsigned int)length; - (id) initWithCapacity: (unsigned int)capacity; - (id) initWithLength: (unsigned int)length; - (void) increaseLengthBy: (unsigned int)extraLength; - (void) setLength: (unsigned int)size; - (void*) mutableBytes; - (void) appendBytes: (const void*)aBuffer length: (unsigned int)bufferSize; - (void) appendData: (NSData*)other; - (void) replaceBytesInRange: (NSRange)aRange withBytes: (const void*)bytes; - (void) replaceBytesInRange: (NSRange)aRange withBytes: (const void*)bytes length: (unsigned int)length; - (void) resetBytesInRange: (NSRange)aRange; - (void) setData: (NSData*)data; - (void) serializeAlignedBytesLength: (unsigned int)length; - (void) serializeDataAt: (const void*)data ofObjCType: (const char*)type context: (id )callback; - (void) serializeInt: (int)value; - (void) serializeInt: (int)value atIndex: (unsigned int)index; - (void) serializeInts: (int*)intBuffer count: (unsigned int)numInts; - (void) serializeInts: (int*)intBuffer count: (unsigned int)numInts atIndex: (unsigned int)index; @end @interface NSMutableData (GNUstepExtensions) - (unsigned int) capacity; - (id) setCapacity: (unsigned int)newCapacity; - (int) shmID; - (void) serializeTypeTag: (unsigned char)tag; - (void) serializeTypeTag: (unsigned char)tag andCrossRef: (unsigned int)xref; @end # 48 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimalNumber.h" 1 # 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimalNumber.h" # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimal.h" 1 # 46 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimal.h" typedef enum { NSRoundDown, NSRoundUp, NSRoundPlain, NSRoundBankers } NSRoundingMode; # 69 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimal.h" typedef enum { NSCalculationNoError = 0, NSCalculationUnderflow, NSCalculationOverflow, NSCalculationLossOfPrecision, NSCalculationDivideByZero } NSCalculationError; # 101 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimal.h" typedef struct { signed char exponent; BOOL isNegative; BOOL validNumber; unsigned char length; unsigned char cMantissa[38]; } NSDecimal; static inline BOOL NSDecimalIsNotANumber(const NSDecimal *decimal) { return (decimal->validNumber == (BOOL)0); } extern void NSDecimalCopy(NSDecimal *destination, const NSDecimal *source); extern void NSDecimalCompact(NSDecimal *number); extern NSComparisonResult NSDecimalCompare(const NSDecimal *leftOperand, const NSDecimal *rightOperand); extern void NSDecimalRound(NSDecimal *result, const NSDecimal *number, int scale, NSRoundingMode mode); extern NSCalculationError NSDecimalNormalize(NSDecimal *n1, NSDecimal *n2, NSRoundingMode mode); extern NSCalculationError NSDecimalAdd(NSDecimal *result, const NSDecimal *left, const NSDecimal *right, NSRoundingMode mode); extern NSCalculationError NSDecimalSubtract(NSDecimal *result, const NSDecimal *left, const NSDecimal *right, NSRoundingMode mode); extern NSCalculationError NSDecimalMultiply(NSDecimal *result, const NSDecimal *l, const NSDecimal *r, NSRoundingMode mode); extern NSCalculationError NSDecimalDivide(NSDecimal *result, const NSDecimal *l, const NSDecimal *rr, NSRoundingMode mode); extern NSCalculationError NSDecimalPower(NSDecimal *result, const NSDecimal *n, unsigned power, NSRoundingMode mode); extern NSCalculationError NSDecimalMultiplyByPowerOf10(NSDecimal *result, const NSDecimal *n, short power, NSRoundingMode mode); extern NSString* NSDecimalString(const NSDecimal *decimal, NSDictionary *locale); extern void NSDecimalMax(NSDecimal *result); extern void NSDecimalMin(NSDecimal *result); extern double NSDecimalDouble(NSDecimal *number); extern void NSDecimalFromComponents(NSDecimal *result, unsigned long long mantissa, short exponent, BOOL negative); extern void NSDecimalFromString(NSDecimal *result, NSString *numberValue, NSDictionary *locale); # 32 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimalNumber.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSValue.h" 1 # 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSValue.h" @class NSString; # 41 "/usr/GNUstep/System/Library/Headers/Foundation/NSValue.h" @interface NSValue : NSObject # 53 "/usr/GNUstep/System/Library/Headers/Foundation/NSValue.h" + (NSValue*) value: (const void*)value withObjCType: (const char*)type; + (NSValue*) valueWithNonretainedObject: (id)anObject; + (NSValue*) valueWithPoint: (NSPoint)point; + (NSValue*) valueWithPointer: (const void*)pointer; + (NSValue*) valueWithRange: (NSRange)range; + (NSValue*) valueWithRect: (NSRect)rect; + (NSValue*) valueWithSize: (NSSize)size; + (NSValue*) valueWithBytes: (const void*)value objCType: (const char*)type; - (id) initWithBytes: (const void*)data objCType: (const char*)type; - (BOOL) isEqualToValue: (NSValue*)other; # 118 "/usr/GNUstep/System/Library/Headers/Foundation/NSValue.h" - (void) getValue: (void*)value; - (const char*) objCType; - (id) nonretainedObjectValue; - (void*) pointerValue; - (NSRange) rangeValue; - (NSRect) rectValue; - (NSSize) sizeValue; - (NSPoint) pointValue; @end @interface NSNumber : NSValue + (NSNumber*) numberWithBool: (BOOL)value; + (NSNumber*) numberWithChar: (signed char)value; + (NSNumber*) numberWithDouble: (double)value; + (NSNumber*) numberWithFloat: (float)value; + (NSNumber*) numberWithInt: (signed int)value; + (NSNumber*) numberWithLong: (signed long)value; + (NSNumber*) numberWithLongLong: (signed long long)value; + (NSNumber*) numberWithShort: (signed short)value; + (NSNumber*) numberWithUnsignedChar: (unsigned char)value; + (NSNumber*) numberWithUnsignedInt: (unsigned int)value; + (NSNumber*) numberWithUnsignedLong: (unsigned long)value; + (NSNumber*) numberWithUnsignedLongLong: (unsigned long long)value; + (NSNumber*) numberWithUnsignedShort: (unsigned short)value; - (id) initWithBool: (BOOL)value; - (id) initWithChar: (signed char)value; - (id) initWithDouble: (double)value; - (id) initWithFloat: (float)value; - (id) initWithInt: (signed int)value; - (id) initWithLong: (signed long)value; - (id) initWithLongLong: (signed long long)value; - (id) initWithShort: (signed short)value; - (id) initWithUnsignedChar: (unsigned char)value; - (id) initWithUnsignedInt: (unsigned int)value; - (id) initWithUnsignedLong: (unsigned long)value; - (id) initWithUnsignedLongLong: (unsigned long long)value; - (id) initWithUnsignedShort: (unsigned short)value; # 234 "/usr/GNUstep/System/Library/Headers/Foundation/NSValue.h" - (BOOL) boolValue; - (signed char) charValue; - (double) doubleValue; - (float) floatValue; - (signed int) intValue; - (signed long) longValue; - (signed long long) longLongValue; - (signed short) shortValue; - (unsigned char) unsignedCharValue; - (unsigned int) unsignedIntValue; - (unsigned long) unsignedLongValue; - (unsigned long long) unsignedLongLongValue; - (unsigned short) unsignedShortValue; - (NSString*) stringValue; - (NSString*) description; # 304 "/usr/GNUstep/System/Library/Headers/Foundation/NSValue.h" - (NSString*) descriptionWithLocale: (NSDictionary*)locale; - (NSComparisonResult) compare: (NSNumber*)otherNumber; - (BOOL) isEqualToNumber: (NSNumber*)otherNumber; @end @interface NSNumber(GSCategories) + (NSValue*) valueFromString: (NSString *)string; @end @interface NSValue (Subclassing) + (Class) valueClassWithObjCType: (const char*)type; @end typedef struct { int typeLevel; void (*getValue)(NSNumber*, SEL, void*); } GSNumberInfo; GSNumberInfo *GSNumberInfoFromObject(NSNumber *o); unsigned GSSmallHash(int n); # 33 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimalNumber.h" 2 @class NSDecimalNumber; # 43 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimalNumber.h" @protocol NSDecimalNumberBehaviors # 76 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimalNumber.h" - (NSDecimalNumber*) exceptionDuringOperation: (SEL)method error: (NSCalculationError)error leftOperand: (NSDecimalNumber*)leftOperand rightOperand: (NSDecimalNumber*)rightOperand; # 99 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimalNumber.h" - (NSRoundingMode) roundingMode; # 108 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimalNumber.h" - (short) scale; @end @interface NSDecimalNumberHandler : NSObject { NSRoundingMode _roundingMode; short _scale; BOOL _raiseOnExactness; BOOL _raiseOnOverflow; BOOL _raiseOnUnderflow; BOOL _raiseOnDivideByZero; } + (id)defaultDecimalNumberHandler; + (id)decimalNumberHandlerWithRoundingMode:(NSRoundingMode)roundingMode scale:(short)scale raiseOnExactness:(BOOL)raiseOnExactness raiseOnOverflow:(BOOL)raiseOnOverflow raiseOnUnderflow:(BOOL)raiseOnUnderflow raiseOnDivideByZero:(BOOL)raiseOnDivideByZero; - (id)initWithRoundingMode:(NSRoundingMode)roundingMode scale:(short)scale raiseOnExactness:(BOOL)raiseOnExactness raiseOnOverflow:(BOOL)raiseOnOverflow raiseOnUnderflow:(BOOL)raiseOnUnderflow raiseOnDivideByZero:(BOOL)raiseOnDivideByZero; @end # 174 "/usr/GNUstep/System/Library/Headers/Foundation/NSDecimalNumber.h" @interface NSDecimalNumber : NSNumber { NSDecimal data; } + (id )defaultBehavior; + (void)setDefaultBehavior:(id )behavior; + (NSDecimalNumber *)maximumDecimalNumber; + (NSDecimalNumber *)minimumDecimalNumber; + (NSDecimalNumber *)notANumber; + (NSDecimalNumber *)one; + (NSDecimalNumber *)zero; + (NSDecimalNumber *)decimalNumberWithDecimal:(NSDecimal)decimal; + (NSDecimalNumber *)decimalNumberWithMantissa:(unsigned long long)mantissa exponent:(short)exponent isNegative:(BOOL)isNegative; + (NSDecimalNumber *)decimalNumberWithString:(NSString *)numericString; + (NSDecimalNumber *)decimalNumberWithString:(NSString *)numericString locale:(NSDictionary *)locale; - (id)initWithDecimal:(NSDecimal)decimal; - (id)initWithMantissa:(unsigned long long)mantissa exponent:(short)exponent isNegative:(BOOL)flag; - (id)initWithString:(NSString *)numberValue; - (id)initWithString:(NSString *)numberValue locale:(NSDictionary *)locale; - (const char *)objCType; - (NSDecimal)decimalValue; - (NSString *)descriptionWithLocale:(NSDictionary *)locale; - (double)doubleValue; - (NSComparisonResult)compare:(NSNumber *)decimalNumber; - (NSDecimalNumber *)decimalNumberByAdding:(NSDecimalNumber *)decimalNumber; - (NSDecimalNumber *)decimalNumberByAdding:(NSDecimalNumber *)decimalNumber withBehavior:(id)behavior; - (NSDecimalNumber *)decimalNumberByDividingBy:(NSDecimalNumber *)decimalNumber; - (NSDecimalNumber *)decimalNumberByDividingBy:(NSDecimalNumber *)decimalNumber withBehavior:(id )behavior; - (NSDecimalNumber *)decimalNumberByMultiplyingBy:(NSDecimalNumber *)decimalNumber; - (NSDecimalNumber *)decimalNumberByMultiplyingBy:(NSDecimalNumber *)decimalNumber withBehavior:(id )behavior; - (NSDecimalNumber *)decimalNumberByMultiplyingByPowerOf10:(short)power; - (NSDecimalNumber *)decimalNumberByMultiplyingByPowerOf10:(short)power withBehavior:(id )behavior; - (NSDecimalNumber *)decimalNumberByRaisingToPower:(unsigned)power; - (NSDecimalNumber *)decimalNumberByRaisingToPower:(unsigned)power withBehavior:(id )behavior; - (NSDecimalNumber *)decimalNumberBySubtracting:(NSDecimalNumber *)decimalNumber; - (NSDecimalNumber *)decimalNumberBySubtracting:(NSDecimalNumber *)decimalNumber withBehavior:(id )behavior; - (NSDecimalNumber *)decimalNumberByRoundingAccordingToBehavior:(id )behavior; @end @interface NSNumber (NSDecimalNumber) - (NSDecimal) decimalValue; @end # 50 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistantObject.h" 1 # 28 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistantObject.h" # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSProxy.h" 1 # 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSProxy.h" @interface NSProxy { @public Class isa; @private unsigned int _retain_count; } + (id) alloc; + (id) allocWithZone: (NSZone*)z; + (id) autorelease; + (Class) class; + (NSString*) description; + (BOOL) isKindOfClass: (Class)aClass; + (BOOL) isMemberOfClass: (Class)aClass; + (void) load; + (void) release; + (BOOL) respondsToSelector: (SEL)aSelector; + (id) retain; + (unsigned int) retainCount; - (id) autorelease; - (Class) class; - (BOOL) conformsToProtocol: (Protocol*)aProtocol; - (void) dealloc; - (NSString*) description; - (void) forwardInvocation: (NSInvocation*)anInvocation; - (unsigned int) hash; - (id) init; - (BOOL) isEqual: (id)anObject; - (BOOL) isKindOfClass: (Class)aClass; - (BOOL) isMemberOfClass: (Class)aClass; - (BOOL) isProxy; - (NSMethodSignature*) methodSignatureForSelector: (SEL)aSelector; - (void) release; - (BOOL) respondsToSelector: (SEL)aSelector; - (id) retain; - (unsigned int) retainCount; - (id) self; - (Class) superclass; - (NSZone*) zone; @end # 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistantObject.h" 2 @class NSConnection; @interface NSDistantObject : NSProxy { @private NSConnection *_connection; id _object; unsigned _handle; Protocol *_protocol; unsigned _counter; } + (NSDistantObject*) proxyWithLocal: (id)anObject connection: (NSConnection*)aConnection; + (NSDistantObject*) proxyWithTarget: (unsigned)anObject connection: (NSConnection*)aConnection; - (NSConnection*) connectionForProxy; - (id) initWithLocal: (id)anObject connection: (NSConnection*)aConnection; - (id) initWithTarget: (unsigned)target connection: (NSConnection*)aConnection; - (NSMethodSignature*) methodSignatureForSelector: (SEL)aSelector; - (void) setProtocolForProxy: (Protocol*)aProtocol; @end @interface NSDistantObject(GNUstepExtensions) - (Class) classForPortCoder; - (const char *) selectorTypeForProxy: (SEL)selector; - (id) forward: (SEL)aSel :(arglist_t)frame; - (void) gcFinalize; @end # 51 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistributedLock.h" 1 # 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistributedLock.h" @interface NSDistributedLock : NSObject { NSString *_lockPath; NSDate *_lockTime; } + (NSDistributedLock*) lockWithPath: (NSString*)aPath; - (id) initWithPath: (NSString*)aPath; - (void) breakLock; - (NSDate*) lockDate; - (BOOL) tryLock; - (void) unlock; @end # 52 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistributedNotificationCenter.h" 1 # 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistributedNotificationCenter.h" # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSLock.h" 1 # 39 "/usr/GNUstep/System/Library/Headers/Foundation/NSLock.h" @protocol NSLocking - (void) lock; - (void) unlock; @end @interface NSLock : NSObject { @private void *_mutex; } - (BOOL) tryLock; - (BOOL) lockBeforeDate: (NSDate*)limit; - (void) lock; - (void) unlock; @end @interface NSConditionLock : NSObject { @private void *_condition; void *_mutex; int _condition_value; } - (id) initWithCondition: (int)value; - (int) condition; # 115 "/usr/GNUstep/System/Library/Headers/Foundation/NSLock.h" - (void) lockWhenCondition: (int)value; - (void) unlockWithCondition: (int)value; - (BOOL) tryLock; - (BOOL) tryLockWhenCondition: (int)value; # 141 "/usr/GNUstep/System/Library/Headers/Foundation/NSLock.h" - (BOOL) lockBeforeDate: (NSDate*)limit; - (BOOL) lockWhenCondition: (int)condition_to_meet beforeDate: (NSDate*)limitDate; - (void) lock; - (void) unlock; @end # 170 "/usr/GNUstep/System/Library/Headers/Foundation/NSLock.h" @interface NSRecursiveLock : NSObject { @private void *_mutex; } - (BOOL) tryLock; - (BOOL) lockBeforeDate: (NSDate*)limit; - (void) lock; - (void) unlock; @end # 230 "/usr/GNUstep/System/Library/Headers/Foundation/NSLock.h" @interface NSLock (GSCategories) # 254 "/usr/GNUstep/System/Library/Headers/Foundation/NSLock.h" + (id)newLockAt:(id *)location; @end @interface NSRecursiveLock (GSCategories) # 284 "/usr/GNUstep/System/Library/Headers/Foundation/NSLock.h" + (id)newLockAt:(id *)location; @end # 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistributedNotificationCenter.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSNotification.h" 1 # 34 "/usr/GNUstep/System/Library/Headers/Foundation/NSNotification.h" @class NSString; @class NSDictionary; @class NSLock; @interface NSNotification : NSObject { } + (NSNotification*) notificationWithName: (NSString*)name object: (id)object; + (NSNotification*) notificationWithName: (NSString*)name object: (id)object userInfo: (NSDictionary*)info; - (NSString*) name; - (id) object; - (NSDictionary*) userInfo; @end @interface NSNotificationCenter : NSObject { void *_table; } + (NSNotificationCenter*) defaultCenter; - (void) addObserver: (id)observer selector: (SEL)selector name: (NSString*)name object: (id)object; - (void) removeObserver: (id)observer; - (void) removeObserver: (id)observer name: (NSString*)name object: (id)object; - (void) postNotification: (NSNotification*)notification; - (void) postNotificationName: (NSString*)name object: (id)object; - (void) postNotificationName: (NSString*)name object: (id)object userInfo: (NSDictionary*)info; @end @interface NSNotificationCenter (GNUstep) - (BOOL) setLockingDisabled: (BOOL)flag; @end # 32 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistributedNotificationCenter.h" 2 # 47 "/usr/GNUstep/System/Library/Headers/Foundation/NSDistributedNotificationCenter.h" typedef enum { NSNotificationSuspensionBehaviorDrop, NSNotificationSuspensionBehaviorCoalesce, NSNotificationSuspensionBehaviorHold, NSNotificationSuspensionBehaviorDeliverImmediately } NSNotificationSuspensionBehavior; extern NSString* const NSLocalNotificationCenterType; extern NSString* const GSNetworkNotificationCenterType; @interface NSDistributedNotificationCenter : NSNotificationCenter { NSRecursiveLock *_centerLock; NSString *_type; id _remote; BOOL _suspended; } + (NSNotificationCenter*) defaultCenter; + (NSNotificationCenter*) notificationCenterForType: (NSString*)type; - (void) addObserver: (id)anObserver selector: (SEL)aSelector name: (NSString*)notificationName object: (NSString*)anObject; - (void) addObserver: (id)anObserver selector: (SEL)aSelector name: (NSString*)notificationName object: (NSString*)anObject suspensionBehavior: (NSNotificationSuspensionBehavior)suspensionBehavior; - (void) postNotification: (NSNotification*)notification; - (void) postNotificationName: (NSString*)notificationName object: (NSString*)anObject; - (void) postNotificationName: (NSString*)notificationName object: (NSString*)anObject userInfo: (NSDictionary*)userInfo; - (void) postNotificationName: (NSString*)notificationName object: (NSString*)anObject userInfo: (NSDictionary*)userInfo deliverImmediately: (BOOL)deliverImmediately; - (void) removeObserver: (id)anObserver name: (NSString*)notificationName object: (NSString*)anObject; - (void) setSuspended: (BOOL)flag; - (BOOL) suspended; @end # 53 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSError.h" 1 # 33 "/usr/GNUstep/System/Library/Headers/Foundation/NSError.h" @class NSDictionary, NSString; extern NSString* const NSLocalizedDescriptionKey; extern NSString* const NSUnderlyingErrorKey; extern NSString* const NSMACHErrorDomain; extern NSString* const NSOSStatusErrorDomain; extern NSString* const NSPOSIXErrorDomain; @interface NSError : NSObject { @private int _code; NSString *_domain; NSDictionary *_userInfo; } + (id) errorWithDomain: (NSString*)aDomain code: (int)aCode userInfo: (NSDictionary*)aDictionary; - (int) code; - (NSString*) domain; - (id) initWithDomain: (NSString*)aDomain code: (int)aCode userInfo: (NSDictionary*)aDictionary; - (NSString *)localizedDescription; # 115 "/usr/GNUstep/System/Library/Headers/Foundation/NSError.h" - (NSDictionary*) userInfo; @end # 55 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileHandle.h" 1 # 34 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileHandle.h" @interface NSFileHandle : NSObject + (id) fileHandleForReadingAtPath: (NSString*)path; + (id) fileHandleForWritingAtPath: (NSString*)path; + (id) fileHandleForUpdatingAtPath: (NSString*)path; + (id) fileHandleWithStandardError; + (id) fileHandleWithStandardInput; + (id) fileHandleWithStandardOutput; + (id) fileHandleWithNullDevice; - (id) initWithFileDescriptor: (int)desc; - (id) initWithFileDescriptor: (int)desc closeOnDealloc: (BOOL)flag; - (id) initWithNativeHandle: (void*)hdl; - (id) initWithNativeHandle: (void*)hdl closeOnDealloc: (BOOL)flag; - (int) fileDescriptor; - (void*) nativeHandle; - (NSData*) availableData; - (NSData*) readDataToEndOfFile; - (NSData*) readDataOfLength: (unsigned int)len; - (void) writeData: (NSData*)item; - (void) acceptConnectionInBackgroundAndNotify; - (void) acceptConnectionInBackgroundAndNotifyForModes: (NSArray*)modes; - (void) readInBackgroundAndNotify; - (void) readInBackgroundAndNotifyForModes: (NSArray*)modes; - (void) readToEndOfFileInBackgroundAndNotify; - (void) readToEndOfFileInBackgroundAndNotifyForModes: (NSArray*)modes; - (void) waitForDataInBackgroundAndNotify; - (void) waitForDataInBackgroundAndNotifyForModes: (NSArray*)modes; - (unsigned long long) offsetInFile; - (unsigned long long) seekToEndOfFile; - (void) seekToFileOffset: (unsigned long long)pos; - (void) closeFile; - (void) synchronizeFile; - (void) truncateFileAtOffset: (unsigned long long)pos; @end # 98 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileHandle.h" extern NSString * const NSFileHandleConnectionAcceptedNotification; extern NSString * const NSFileHandleDataAvailableNotification; extern NSString * const NSFileHandleReadCompletionNotification; extern NSString * const NSFileHandleReadToEndOfFileCompletionNotification; extern NSString * const NSFileHandleNotificationDataItem; extern NSString * const NSFileHandleNotificationFileHandleItem; extern NSString * const NSFileHandleNotificationMonitorModes; extern NSString * const NSFileHandleOperationException; @interface NSPipe : NSObject { NSFileHandle* readHandle; NSFileHandle* writeHandle; } + (id) pipe; - (NSFileHandle*) fileHandleForReading; - (NSFileHandle*) fileHandleForWriting; @end @interface NSFileHandle (GNUstepExtensions) + (id) fileHandleAsServerAtAddress: (NSString*)address service: (NSString*)service protocol: (NSString*)protocol; + (id) fileHandleAsClientAtAddress: (NSString*)address service: (NSString*)service protocol: (NSString*)protocol; + (id) fileHandleAsClientInBackgroundAtAddress: (NSString*)address service: (NSString*)service protocol: (NSString*)protocol; + (id) fileHandleAsClientInBackgroundAtAddress: (NSString*)address service: (NSString*)service protocol: (NSString*)protocol forModes: (NSArray*)modes; - (void) readDataInBackgroundAndNotifyLength: (unsigned)len; - (void) readDataInBackgroundAndNotifyLength: (unsigned)len forModes: (NSArray*)modes; - (BOOL) readInProgress; - (NSString*) socketAddress; - (NSString*) socketLocalAddress; - (NSString*) socketLocalService; - (NSString*) socketService; - (NSString*) socketProtocol; - (BOOL) useCompression; - (void) writeInBackgroundAndNotify: (NSData*)item forModes: (NSArray*)modes; - (void) writeInBackgroundAndNotify: (NSData*)item; - (BOOL) writeInProgress; @end # 208 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileHandle.h" @interface NSFileHandle (GNUstepOpenSSL) + (Class) sslClass; - (BOOL) sslAccept; - (BOOL) sslConnect; - (void) sslDisconnect; - (void) sslSetCertificate: (NSString*)certFile privateKey: (NSString*)privateKey PEMpasswd: (NSString*)PEMpasswd; @end extern NSString * const GSFileHandleConnectCompletionNotification; extern NSString * const GSFileHandleWriteCompletionNotification; extern NSString * const GSFileHandleNotificationError; # 57 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileManager.h" 1 # 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileManager.h" @class NSNumber; @class NSString; @class NSData; @class NSDate; @class NSArray; @class NSMutableArray; @class NSDirectoryEnumerator; @interface NSFileManager : NSObject { NSString *_lastError; } + (NSFileManager*) defaultManager; - (BOOL) changeCurrentDirectoryPath: (NSString*)path; - (BOOL) changeFileAttributes: (NSDictionary*)attributes atPath: (NSString*)path; - (NSArray*) componentsToDisplayForPath: (NSString*)path; - (NSData*) contentsAtPath: (NSString*)path; - (BOOL) contentsEqualAtPath: (NSString*)path1 andPath: (NSString*)path2; - (BOOL) copyPath: (NSString*)source toPath: (NSString*)destination handler: (id)handler; - (BOOL) createDirectoryAtPath: (NSString*)path attributes: (NSDictionary*)attributes; - (BOOL) createFileAtPath: (NSString*)path contents: (NSData*)contents attributes: (NSDictionary*)attributes; - (BOOL) createSymbolicLinkAtPath: (NSString*)path pathContent: (NSString*)otherPath; - (NSString*) currentDirectoryPath; - (NSArray*) directoryContentsAtPath: (NSString*)path; - (NSString*) displayNameAtPath: (NSString*)path; - (NSDirectoryEnumerator*) enumeratorAtPath: (NSString*)path; - (NSDictionary*) fileAttributesAtPath: (NSString*)path traverseLink: (BOOL)flag; - (BOOL) fileExistsAtPath: (NSString*)path; - (BOOL) fileExistsAtPath: (NSString*)path isDirectory: (BOOL*)isDirectory; - (NSDictionary*) fileSystemAttributesAtPath: (NSString*)path; - (const char*) fileSystemRepresentationWithPath: (NSString*)path; - (NSString*) localFromOpenStepPath:(NSString*)path; - (NSString*) openStepPathFromLocal:(NSString*)localPath; - (BOOL) isExecutableFileAtPath: (NSString*)path; - (BOOL) isDeletableFileAtPath: (NSString*)path; - (BOOL) isReadableFileAtPath: (NSString*)path; - (BOOL) isWritableFileAtPath: (NSString*)path; - (BOOL) linkPath: (NSString*)source toPath: (NSString*)destination handler: (id)handler; - (BOOL) movePath: (NSString*)source toPath: (NSString*)destination handler: (id)handler; - (NSString*) pathContentOfSymbolicLinkAtPath: (NSString*)path; - (BOOL) removeFileAtPath: (NSString*)path handler: (id)handler; - (NSString*) stringWithFileSystemRepresentation: (const char*)string length: (unsigned int)len; - (NSArray*) subpathsAtPath: (NSString*)path; @end @interface NSObject (NSFileManagerHandler) # 145 "/usr/GNUstep/System/Library/Headers/Foundation/NSFileManager.h" - (BOOL) fileManager: (NSFileManager*)fileManager shouldProceedAfterError: (NSDictionary*)errorDictionary; - (void) fileManager: (NSFileManager*)fileManager willProcessPath: (NSString*)path; @end @interface NSDirectoryEnumerator : NSEnumerator { void *_stack; NSString *_topPath; NSString *_currentFilePath; NSString *(*_openStepPathFromLocalImp)(id, SEL, id); struct { BOOL isRecursive: 1; BOOL isFollowing: 1; BOOL justContents: 1; } _flags; } - (id) initWithDirectoryPath: (NSString*)path recurseIntoSubdirectories: (BOOL)recurse followSymlinks: (BOOL)follow justContents: (BOOL)justContents; - (NSDictionary*) directoryAttributes; - (NSDictionary*) fileAttributes; - (void) skipDescendents; @end extern NSString* const NSFileAppendOnly; extern NSString* const NSFileCreationDate; extern NSString* const NSFileDeviceIdentifier; extern NSString* const NSFileExtensionHidden; extern NSString* const NSFileGroupOwnerAccountID; extern NSString* const NSFileGroupOwnerAccountName; extern NSString* const NSFileHFSCreatorCode; extern NSString* const NSFileHFSTypeCode; extern NSString* const NSFileImmutable; extern NSString* const NSFileModificationDate; extern NSString* const NSFileOwnerAccountID; extern NSString* const NSFileOwnerAccountName; extern NSString* const NSFilePosixPermissions; extern NSString* const NSFileReferenceCount; extern NSString* const NSFileSize; extern NSString* const NSFileSystemFileNumber; extern NSString* const NSFileSystemNumber; extern NSString* const NSFileType; extern NSString* const NSFileTypeDirectory; extern NSString* const NSFileTypeRegular; extern NSString* const NSFileTypeSymbolicLink; extern NSString* const NSFileTypeSocket; extern NSString* const NSFileTypeFifo; extern NSString* const NSFileTypeCharacterSpecial; extern NSString* const NSFileTypeBlockSpecial; extern NSString* const NSFileTypeUnknown; extern NSString* const NSFileSystemSize; extern NSString* const NSFileSystemFreeSize; extern NSString* const NSFileSystemNodes; extern NSString* const NSFileSystemFreeNodes; @interface NSDictionary(NSFileAttributes) - (NSDate*) fileCreationDate; - (BOOL) fileExtensionHidden; - (int) fileHFSCreatorCode; - (int) fileHFSTypeCode; - (BOOL) fileIsAppendOnly; - (BOOL) fileIsImmutable; - (unsigned long long) fileSize; - (NSString*) fileType; - (unsigned long) fileOwnerAccountID; - (NSString*) fileOwnerAccountName; - (unsigned long) fileGroupOwnerAccountID; - (NSString*) fileGroupOwnerAccountName; - (NSDate*) fileModificationDate; - (unsigned long) filePosixPermissions; - (unsigned long) fileSystemNumber; - (unsigned long) fileSystemFileNumber; @end # 58 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSHashTable.h" 1 # 41 "/usr/GNUstep/System/Library/Headers/Foundation/NSHashTable.h" typedef void* NSHashTable; typedef struct { void *map; void *node; size_t bucket; } NSHashEnumerator; typedef struct _NSHashTableCallBacks { unsigned int (*hash)(NSHashTable *, const void *); BOOL (*isEqual)(NSHashTable *, const void *, const void *); void (*retain)(NSHashTable *, const void *); void (*release)(NSHashTable *, void *); NSString *(*describe)(NSHashTable *, const void *); } NSHashTableCallBacks; extern const NSHashTableCallBacks NSIntHashCallBacks; extern const NSHashTableCallBacks NSNonOwnedPointerHashCallBacks; extern const NSHashTableCallBacks NSNonRetainedObjectHashCallBacks; extern const NSHashTableCallBacks NSObjectHashCallBacks; extern const NSHashTableCallBacks NSOwnedPointerHashCallBacks; extern const NSHashTableCallBacks NSPointerToStructHashCallBacks; extern NSHashTable * NSCreateHashTable(NSHashTableCallBacks callBacks, unsigned int capacity); extern NSHashTable * NSCreateHashTableWithZone(NSHashTableCallBacks callBacks, unsigned int capacity, NSZone *zone); extern NSHashTable * NSCopyHashTableWithZone(NSHashTable *table, NSZone *zone); extern void NSFreeHashTable(NSHashTable *table); extern void NSResetHashTable(NSHashTable *table); extern BOOL NSCompareHashTables(NSHashTable *table1, NSHashTable *table2); extern unsigned int NSCountHashTable(NSHashTable *table); extern void * NSHashGet(NSHashTable *table, const void *element); extern NSArray * NSAllHashTableObjects(NSHashTable *table); extern void NSEndHashTableEnumeration(NSHashEnumerator *enumerator); extern NSHashEnumerator NSEnumerateHashTable(NSHashTable *table); extern void * NSNextHashEnumeratorItem(NSHashEnumerator *enumerator); extern void NSHashInsert(NSHashTable *table, const void *element); extern void NSHashInsertKnownAbsent(NSHashTable *table, const void *element); extern void * NSHashInsertIfAbsent(NSHashTable *table, const void *element); extern void NSHashRemove(NSHashTable *table, const void *element); extern NSString * NSStringFromHashTable(NSHashTable *table); # 60 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSHost.h" 1 # 28 "/usr/GNUstep/System/Library/Headers/Foundation/NSHost.h" @class NSString, NSArray, NSSet; @interface NSHost : NSObject { @private NSSet *_names; NSSet *_addresses; } + (NSHost*) currentHost; + (NSHost*) hostWithName: (NSString*)name; # 58 "/usr/GNUstep/System/Library/Headers/Foundation/NSHost.h" + (NSHost*) hostWithAddress: (NSString*)address; + (void) setHostCacheEnabled: (BOOL)flag; + (BOOL) isHostCacheEnabled; + (void) flushHostCache; - (BOOL) isEqualToHost: (NSHost*) aHost; - (NSString*) name; - (NSArray*) names; - (NSString*) address; - (NSArray*) addresses; @end @interface NSHost (GNUstep) + (NSHost*) localHost; @end # 62 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSIndexSet.h" 1 # 41 "/usr/GNUstep/System/Library/Headers/Foundation/NSIndexSet.h" @interface NSIndexSet : NSObject { void *_data; } + (id) indexSet; + (id) indexSetWithIndex: (unsigned int)anIndex; + (id) indexSetWithIndexesInRange: (NSRange)aRange; - (BOOL) containsIndex: (unsigned int)anIndex; - (BOOL) containsIndexes: (NSIndexSet*)aSet; - (BOOL) containsIndexesInRange: (NSRange)aRange; - (unsigned int) count; - (unsigned int) firstIndex; # 100 "/usr/GNUstep/System/Library/Headers/Foundation/NSIndexSet.h" - (unsigned int) getIndexes: (unsigned int*)aBuffer maxCount: (unsigned int)aCount inIndexRange: (NSRangePointer)aRange; - (unsigned int) indexGreaterThanIndex: (unsigned int)anIndex; - (unsigned int) indexGreaterThanOrEqualToIndex: (unsigned int)anIndex; - (unsigned int) indexLessThanIndex: (unsigned int)anIndex; - (unsigned int) indexLessThanOrEqualToIndex: (unsigned int)anIndex; - (id) initWithIndex: (unsigned int)anIndex; - (id) initWithIndexesInRange: (NSRange)aRange; - (id) initWithIndexSet: (NSIndexSet*)aSet; - (BOOL) intersectsIndexesInRange: (NSRange)aRange; - (BOOL) isEqualToIndexSet: (NSIndexSet*)aSet; - (unsigned int) lastIndex; @end @interface NSMutableIndexSet : NSIndexSet - (void) addIndex: (unsigned int)anIndex; - (void) addIndexes: (NSIndexSet*)aSet; - (void) addIndexesInRange: (NSRange)aRange; - (void) removeAllIndexes; - (void) removeIndex: (unsigned int)anIndex; - (void) removeIndexes: (NSIndexSet*)aSet; - (void) removeIndexesInRange: (NSRange)aRange; # 211 "/usr/GNUstep/System/Library/Headers/Foundation/NSIndexSet.h" - (void) shiftIndexesStartingAtIndex: (unsigned int)anIndex by: (int)amount; @end # 63 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSInvocation.h" 1 # 28 "/usr/GNUstep/System/Library/Headers/Foundation/NSInvocation.h" # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSMethodSignature.h" 1 # 53 "/usr/GNUstep/System/Library/Headers/Foundation/NSMethodSignature.h" typedef struct { int offset; unsigned size; const char *type; unsigned align; unsigned qual; BOOL isReg; } NSArgumentInfo; # 82 "/usr/GNUstep/System/Library/Headers/Foundation/NSMethodSignature.h" @interface NSMethodSignature : NSObject { const char *_methodTypes; unsigned _argFrameLength; unsigned _numArgs; NSArgumentInfo *_info; } + (NSMethodSignature*) signatureWithObjCTypes: (const char*)t; - (NSArgumentInfo) argumentInfoAtIndex: (unsigned)index; - (unsigned) frameLength; - (const char*) getArgumentTypeAtIndex: (unsigned)index; - (BOOL) isOneway; - (unsigned) methodReturnLength; - (const char*) methodReturnType; - (unsigned) numberOfArguments; @end @interface NSMethodSignature(GNUstep) - (NSArgumentInfo*) methodInfo; - (const char*) methodType; @end # 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSInvocation.h" 2 @interface NSInvocation : NSObject { NSMethodSignature *_sig; void *_cframe; void *_retval; id _target; SEL _selector; unsigned int _numArgs; NSArgumentInfo *_info; BOOL _argsRetained; BOOL _validReturn; BOOL _sendToSuper; } + (NSInvocation*) invocationWithMethodSignature: (NSMethodSignature*)_signature; - (void) getArgument: (void*)buffer atIndex: (int)index; - (void) getReturnValue: (void*)buffer; - (SEL) selector; - (void) setArgument: (void*)buffer atIndex: (int)index; - (void) setReturnValue: (void*)buffer; - (void) setSelector: (SEL)aSelector; - (void) setTarget: (id)anObject; - (id) target; - (BOOL) argumentsRetained; - (void) retainArguments; - (void) invoke; - (void) invokeWithTarget: (id)anObject; - (NSMethodSignature*) methodSignature; @end @interface NSInvocation (GNUstep) - (id) initWithArgframe: (arglist_t)frame selector: (SEL)aSelector; - (id) initWithMethodSignature: (NSMethodSignature*)aSignature; - (id) initWithSelector: (SEL)aSelector; - (id) initWithTarget: (id)anObject selector: (SEL)aSelector, ...; - (void*) returnFrame: (arglist_t)argFrame; - (BOOL) sendsToSuper; - (void) setSendsToSuper: (BOOL)flag; @end @interface NSInvocation (MacroSetup) + (id) _newProxyForInvocation: (id)target; + (id) _newProxyForMessage: (id)target; + (NSInvocation*) _returnInvocationAndDestroyProxy: (id)proxy; @end # 64 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h" 1 # 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h" @class NSArray; @class NSDictionary; @class NSString; extern NSString* const NSUnknownKeyException; # 50 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h" @interface NSObject (NSKeyValueCoding) + (BOOL) accessInstanceVariablesDirectly; # 66 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h" + (BOOL) useStoredAccessor; # 76 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h" - (id) handleQueryWithUnboundKey: (NSString*)aKey; # 86 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h" - (void) handleTakeValue: (id)anObject forUnboundKey: (NSString*)aKey; # 115 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h" - (id) storedValueForKey: (NSString*)aKey; # 146 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h" - (void) takeStoredValue: (id)anObject forKey: (NSString*)aKey; - (void) takeStoredValuesFromDictionary: (NSDictionary*)aDictionary; # 178 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h" - (void) takeValue: (id)anObject forKey: (NSString*)aKey; # 189 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h" - (void) takeValue: (id)anObject forKeyPath: (NSString*)aKey; - (void) takeValuesFromDictionary: (NSDictionary*)aDictionary; - (void) unableToSetNilForKey: (NSString*)aKey; # 229 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h" - (id) valueForKey: (NSString*)aKey; # 239 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyValueCoding.h" - (id) valueForKeyPath: (NSString*)aKey; - (NSDictionary*) valuesForKeys: (NSArray*)keys; @end # 65 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h" 1 # 35 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h" # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSPropertyList.h" 1 # 34 "/usr/GNUstep/System/Library/Headers/Foundation/NSPropertyList.h" @class NSData, NSString; typedef enum { NSPropertyListImmutable, NSPropertyListMutableContainers, NSPropertyListMutableContainersAndLeaves } NSPropertyListMutabilityOptions; typedef enum { NSPropertyListGNUstepFormat, NSPropertyListGNUstepBinaryFormat, NSPropertyListOpenStepFormat, NSPropertyListXMLFormat_v1_0, NSPropertyListBinaryFormat_v1_0, } NSPropertyListFormat; # 210 "/usr/GNUstep/System/Library/Headers/Foundation/NSPropertyList.h" @interface NSPropertyListSerialization : NSObject { } + (NSData*) dataFromPropertyList: (id)aPropertyList format: (NSPropertyListFormat)aFormat errorDescription: (NSString**)anErrorString; + (BOOL) propertyList: (id)aPropertyList isValidForFormat: (NSPropertyListFormat)aFormat; # 241 "/usr/GNUstep/System/Library/Headers/Foundation/NSPropertyList.h" + (id) propertyListFromData: (NSData*)data mutabilityOption: (NSPropertyListMutabilityOptions)anOption format: (NSPropertyListFormat*)aFormat errorDescription: (NSString**)anErrorString; @end # 36 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h" 2 @class NSMutableDictionary, NSMutableData, NSData, NSString; # 47 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h" @interface NSKeyedArchiver : NSCoder { @private NSMutableData *_data; id _delegate; NSMapTable *_clsMap; void* _cIdMap; void* _uIdMap; void* _repMap; unsigned _keyNum; NSMutableDictionary *_enc; NSMutableArray *_obj; NSPropertyListFormat _format; } + (NSData*) archivedDataWithRootObject: (id)anObject; + (BOOL) archiveRootObject: (id)anObject toFile: (NSString*)aPath; + (NSString*) classNameForClass: (Class)aClass; # 93 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h" + (void) setClassName: (NSString*)aString forClass: (Class)aClass; - (NSString*) classNameForClass: (Class)aClass; - (id) delegate; - (void) encodeBool: (BOOL)aBool forKey: (NSString*)aKey; - (void) encodeBytes: (const uint8_t*)aPointer length: (unsigned)length forKey: (NSString*)aKey; - (void) encodeConditionalObject: (id)anObject forKey: (NSString*)aKey; - (void) encodeDouble: (double)aDouble forKey: (NSString*)aKey; - (void) encodeFloat: (float)aFloat forKey: (NSString*)aKey; - (void) encodeInt: (int)anInteger forKey: (NSString*)aKey; - (void) encodeInt32: (int32_t)anInteger forKey: (NSString*)aKey; - (void) encodeInt64: (int64_t)anInteger forKey: (NSString*)aKey; - (void) encodeObject: (id)anObject forKey: (NSString*)aKey; - (void) finishEncoding; - (id) initForWritingWithMutableData: (NSMutableData*)data; - (NSPropertyListFormat) outputFormat; - (void) setClassName: (NSString*)aString forClass: (Class)aClass; - (void) setDelegate: (id)anObject; - (void) setOutputFormat: (NSPropertyListFormat)format; @end # 211 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h" @interface NSKeyedUnarchiver : NSCoder { @private NSDictionary *_archive; id _delegate; NSMapTable *_clsMap; NSArray *_objects; NSDictionary *_keyMap; unsigned _cursor; NSString *_archiverClass; NSString *_version; void* _objMap; NSZone *_zone; } + (Class) classForClassName: (NSString*)aString; + (void) setClass: (Class)aClass forClassName: (NSString*)aString; + (id) unarchiveObjectWithData: (NSData*)data; + (id) unarchiveObjectWithFile: (NSString*)aPath; - (Class) classForClassName: (NSString*)aString; - (BOOL) containsValueForKey: (NSString*)aKey; - (void) setClass: (Class)aClass forClassName: (NSString*)aString; - (BOOL) decodeBoolForKey: (NSString*)aKey; - (const uint8_t*) decodeBytesForKey: (NSString*)aKey returnedLength: (unsigned*)length; - (double) decodeDoubleForKey: (NSString*)aKey; - (float) decodeFloatForKey: (NSString*)aKey; - (int) decodeIntForKey: (NSString*)aKey; - (int32_t) decodeInt32ForKey: (NSString*)aKey; - (int64_t) decodeInt64ForKey: (NSString*)aKey; - (id) decodeObjectForKey: (NSString*)aKey; - (id) delegate; - (void) finishDecoding; - (id) initForReadingWithData: (NSData*)data; - (void) setDelegate: (id)delegate; @end @interface NSKeyedArchiver (Internal) - (void) _encodeArrayOfObjects: (NSArray*)anArray forKey: (NSString*)aKey; - (void) _encodePropertyList: (id)anObject forKey: (NSString*)aKey; @end @interface NSKeyedUnarchiver (Internal) - (id) _decodeArrayOfObjectsForKey: (NSString*)aKey; - (id) _decodePropertyListForKey: (NSString*)aKey; @end extern NSString * const NSInvalidArchiveOperationException; extern NSString * const NSInvalidUnarchiveOperationException; @interface NSObject (NSKeyedArchiverDelegate) - (void) archiver: (NSKeyedArchiver*)anArchiver didEncodeObject: (id)anObject; # 411 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h" - (id) archiver: (NSKeyedArchiver*)anArchiver willEncodeObject: (id)anObject; - (void) archiverDidFinish: (NSKeyedArchiver*)anArchiver; - (void) archiverWillFinish: (NSKeyedArchiver*)anArchiver; - (void) archiver: (NSKeyedArchiver*)anArchiver willReplaceObject: (id)anObject withObject: (id)newObject; @end @interface NSObject (NSKeyedUnarchiverDelegate) # 450 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h" - (Class) unarchiver: (NSKeyedUnarchiver*)anUnarchiver cannotDecodeObjectOfClassName: (NSString*)aName originalClasses: (NSArray*)classNames; - (id) unarchiver: (NSKeyedUnarchiver*)anUnarchiver didDecodeObject: (id)anObject; - (void) unarchiverDidFinish: (NSKeyedUnarchiver*)anUnarchiver; - (void) unarchiverWillFinish: (NSKeyedUnarchiver*)anUnarchiver; - (void) unarchiver: (NSKeyedUnarchiver*)anUnarchiver willReplaceObject: (id)anObject withObject: (id)newObject; @end @interface NSObject (NSKeyedArchiverObjectSubstitution) # 498 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h" - (Class) classForKeyedArchiver; # 507 "/usr/GNUstep/System/Library/Headers/Foundation/NSKeyedArchiver.h" - (id) replacementObjectForKeyedArchiver: (NSKeyedArchiver*)archiver; @end @interface NSObject (NSKeyedUnarchiverObjectSubstitution) + (Class) classForKeyedUnarchiver; @end @interface NSCoder (NSGeometryKeyedCoding) - (void) encodePoint: (NSPoint)aPoint forKey: (NSString*)aKey; - (void) encodeRect: (NSRect)aRect forKey: (NSString*)aKey; - (void) encodeSize: (NSSize)aSize forKey: (NSString*)aKey; - (NSPoint) decodePointForKey: (NSString*)aKey; - (NSRect) decodeRectForKey: (NSString*)aKey; - (NSSize) decodeSizeForKey: (NSString*)aKey; @end # 66 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSNotificationQueue.h" 1 # 51 "/usr/GNUstep/System/Library/Headers/Foundation/NSNotificationQueue.h" @class NSMutableArray; # 68 "/usr/GNUstep/System/Library/Headers/Foundation/NSNotificationQueue.h" typedef enum { NSPostWhenIdle, NSPostASAP, NSPostNow } NSPostingStyle; # 85 "/usr/GNUstep/System/Library/Headers/Foundation/NSNotificationQueue.h" typedef enum { NSNotificationNoCoalescing = 0, NSNotificationCoalescingOnName = 1, NSNotificationCoalescingOnSender = 2, } NSNotificationCoalescing; # 98 "/usr/GNUstep/System/Library/Headers/Foundation/NSNotificationQueue.h" struct _NSNotificationQueueList; @interface NSNotificationQueue : NSObject { NSNotificationCenter *_center; struct _NSNotificationQueueList *_asapQueue; struct _NSNotificationQueueList *_idleQueue; NSZone *_zone; } + (NSNotificationQueue*) defaultQueue; - (id) initWithNotificationCenter: (NSNotificationCenter*)notificationCenter; - (void) dequeueNotificationsMatching: (NSNotification*)notification coalesceMask: (unsigned int)coalesceMask; - (void) enqueueNotification: (NSNotification*)notification postingStyle: (NSPostingStyle)postingStyle; - (void) enqueueNotification: (NSNotification*)notification postingStyle: (NSPostingStyle)postingStyle coalesceMask: (unsigned int)coalesceMask forModes: (NSArray*)modes; @end extern void GSNotifyASAP(void); extern void GSNotifyIdle(void); extern BOOL GSNotifyMore(void); # 71 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSNull.h" 1 # 33 "/usr/GNUstep/System/Library/Headers/Foundation/NSNull.h" @interface NSNull : NSObject + (NSNull*) null; @end # 72 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSNumberFormatter.h" 1 # 34 "/usr/GNUstep/System/Library/Headers/Foundation/NSNumberFormatter.h" @class NSString, NSAttributedString, NSDictionary; # 72 "/usr/GNUstep/System/Library/Headers/Foundation/NSNumberFormatter.h" @interface NSNumberFormatter: NSFormatter { BOOL _hasThousandSeparators; BOOL _allowsFloats; BOOL _localizesFormat; unichar _thousandSeparator; unichar _decimalSeparator; NSDecimalNumberHandler *_roundingBehavior; NSDecimalNumber *_maximum; NSDecimalNumber *_minimum; NSAttributedString *_attributedStringForNil; NSAttributedString *_attributedStringForNotANumber; NSAttributedString *_attributedStringForZero; NSString *_negativeFormat; NSString *_positiveFormat; NSDictionary *_attributesForPositiveValues; NSDictionary *_attributesForNegativeValues; } - (NSString*) format; - (void) setFormat: (NSString*)aFormat; - (BOOL) localizesFormat; - (void) setLocalizesFormat: (BOOL)flag; - (NSString*) negativeFormat; - (void) setNegativeFormat: (NSString*)aFormat; - (NSString*) positiveFormat; - (void) setPositiveFormat: (NSString*)aFormat; - (NSAttributedString*) attributedStringForNil; - (void) setAttributedStringForNil: (NSAttributedString*)newAttributedString; - (NSAttributedString*) attributedStringForNotANumber; - (void) setAttributedStringForNotANumber: (NSAttributedString*)newAttributedString; - (NSAttributedString*) attributedStringForZero; - (void) setAttributedStringForZero: (NSAttributedString*)newAttributedString; - (NSDictionary*) textAttributesForNegativeValues; - (void) setTextAttributesForNegativeValues: (NSDictionary*)newAttributes; - (NSDictionary*) textAttributesForPositiveValues; - (void) setTextAttributesForPositiveValues: (NSDictionary*)newAttributes; # 213 "/usr/GNUstep/System/Library/Headers/Foundation/NSNumberFormatter.h" - (NSDecimalNumberHandler*) roundingBehavior; - (void) setRoundingBehavior: (NSDecimalNumberHandler*)newRoundingBehavior; - (BOOL) hasThousandSeparators; - (void) setHasThousandSeparators: (BOOL)flag; - (NSString*) thousandSeparator; - (void) setThousandSeparator: (NSString*)newSeparator; - (BOOL) allowsFloats; - (void) setAllowsFloats: (BOOL)flag; - (NSString*) decimalSeparator; - (void) setDecimalSeparator: (NSString*)newSeparator; - (NSDecimalNumber*) maximum; - (void) setMaximum: (NSDecimalNumber*)aMaximum; - (NSDecimalNumber*) minimum; - (void) setMinimum: (NSDecimalNumber*)aMinimum; @end # 73 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSPathUtilities.h" 1 # 41 "/usr/GNUstep/System/Library/Headers/Foundation/NSPathUtilities.h" extern void GSSetUserName(NSString *name); extern NSString *GSDefaultsRootForUser(NSString *userName); extern NSString *GSSystemRootDirectory(void); extern NSArray *GSStandardPathPrefixes(void); extern NSString *NSUserName(void); extern NSString *NSHomeDirectory(void); extern NSString *NSHomeDirectoryForUser(NSString *loginName); # 75 "/usr/GNUstep/System/Library/Headers/Foundation/NSPathUtilities.h" typedef enum { NSApplicationDirectory, NSDemoApplicationDirectory, NSDeveloperApplicationDirectory, NSAdminApplicationDirectory, NSLibraryDirectory, NSDeveloperDirectory, NSUserDirectory, NSDocumentationDirectory, NSAllApplicationsDirectory, NSAllLibrariesDirectory, GSLibrariesDirectory, GSToolsDirectory, GSApplicationSupportDirectory, } NSSearchPathDirectory; typedef unsigned int NSSearchPathDomainMask; extern NSArray *NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory directoryKey, NSSearchPathDomainMask domainMask, BOOL expandTilde); extern NSString *NSFullUserName(void); extern NSArray *NSStandardApplicationPaths(void); extern NSArray *NSStandardLibraryPaths(void); extern NSString *NSTemporaryDirectory(void); extern NSString *NSOpenStepRootDirectory(void); # 74 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortCoder.h" 1 # 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortCoder.h" @class NSMutableArray; @class NSMutableDictionary; @class NSConnection; @class NSPort; # 45 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortCoder.h" @interface NSPortCoder : NSCoder { @private NSMutableArray *_comp; NSConnection *_conn; BOOL _is_by_copy; BOOL _is_by_ref; BOOL _encodingRoot; BOOL _initialPass; id _dst; IMP _eObjImp; IMP _eValImp; void* _clsMap; void* _cIdMap; void* _uIdMap; void* _ptrMap; unsigned _xRefC; unsigned _xRefO; unsigned _xRefP; id _src; IMP _dDesImp; void (*_dTagImp)(id,SEL,unsigned char*,unsigned*,unsigned*); IMP _dValImp; void* _clsAry; void* _objAry; void* _ptrAry; NSMutableDictionary *_cInfo; unsigned _cursor; unsigned _version; NSZone *_zone; } + (NSPortCoder*) portCoderWithReceivePort: (NSPort*)recv sendPort: (NSPort*)send components: (NSArray*)comp; - (id) initWithReceivePort: (NSPort*)recv sendPort: (NSPort*)send components: (NSArray*)comp; - (NSConnection*) connection; - (NSPort*) decodePortObject; - (void) dispatch; - (void) encodePortObject: (NSPort*)aPort; - (BOOL) isBycopy; - (BOOL) isByref; @end @interface NSPortCoder (Private) - (NSMutableArray*) _components; @end # 75 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortMessage.h" 1 # 28 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortMessage.h" # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSPort.h" 1 # 38 "/usr/GNUstep/System/Library/Headers/Foundation/NSPort.h" # 1 "/usr/include/sys/socket.h" 1 3 4 # 25 "/usr/include/sys/socket.h" 3 4 # 1 "/usr/include/sys/uio.h" 1 3 4 # 26 "/usr/include/sys/uio.h" 3 4 # 1 "/usr/include/bits/uio.h" 1 3 4 # 42 "/usr/include/bits/uio.h" 3 4 struct iovec { void *iov_base; size_t iov_len; }; # 30 "/usr/include/sys/uio.h" 2 3 4 # 40 "/usr/include/sys/uio.h" 3 4 extern ssize_t readv (int __fd, __const struct iovec *__iovec, int __count); # 50 "/usr/include/sys/uio.h" 3 4 extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count); # 28 "/usr/include/sys/socket.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 # 30 "/usr/include/sys/socket.h" 2 3 4 # 1 "/usr/include/bits/socket.h" 1 3 4 # 29 "/usr/include/bits/socket.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/stddef.h" 1 3 4 # 30 "/usr/include/bits/socket.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/limits.h" 1 3 4 # 32 "/usr/include/bits/socket.h" 2 3 4 typedef __socklen_t socklen_t; enum __socket_type { SOCK_STREAM = 1, SOCK_DGRAM = 2, SOCK_RAW = 3, SOCK_RDM = 4, SOCK_SEQPACKET = 5, SOCK_PACKET = 10 }; # 142 "/usr/include/bits/socket.h" 3 4 # 1 "/usr/include/bits/sockaddr.h" 1 3 4 # 29 "/usr/include/bits/sockaddr.h" 3 4 typedef unsigned short int sa_family_t; # 143 "/usr/include/bits/socket.h" 2 3 4 struct sockaddr { sa_family_t sa_family; char sa_data[14]; }; # 162 "/usr/include/bits/socket.h" 3 4 struct sockaddr_storage { sa_family_t ss_family; __uint32_t __ss_align; char __ss_padding[(128 - (2 * sizeof (__uint32_t)))]; }; enum { MSG_OOB = 0x01, MSG_PEEK = 0x02, MSG_DONTROUTE = 0x04, MSG_CTRUNC = 0x08, MSG_PROXY = 0x10, MSG_TRUNC = 0x20, MSG_DONTWAIT = 0x40, MSG_EOR = 0x80, MSG_WAITALL = 0x100, MSG_FIN = 0x200, MSG_SYN = 0x400, MSG_CONFIRM = 0x800, MSG_RST = 0x1000, MSG_ERRQUEUE = 0x2000, MSG_NOSIGNAL = 0x4000, MSG_MORE = 0x8000 }; struct msghdr { void *msg_name; socklen_t msg_namelen; struct iovec *msg_iov; size_t msg_iovlen; void *msg_control; size_t msg_controllen; int msg_flags; }; struct cmsghdr { size_t cmsg_len; int cmsg_level; int cmsg_type; __extension__ unsigned char __cmsg_data []; }; # 257 "/usr/include/bits/socket.h" 3 4 extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) __attribute__ ((__nothrow__)); extern __inline struct cmsghdr * __attribute__ ((__nothrow__)) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) { if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) return 0; __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))); if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen) || ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen))) return 0; return __cmsg; } enum { SCM_RIGHTS = 0x01 , SCM_CREDENTIALS = 0x02 }; struct ucred { pid_t pid; uid_t uid; gid_t gid; }; # 1 "/usr/include/asm/socket.h" 1 3 4 # 1 "/usr/include/asm/sockios.h" 1 3 4 # 5 "/usr/include/asm/socket.h" 2 3 4 # 305 "/usr/include/bits/socket.h" 2 3 4 struct linger { int l_onoff; int l_linger; }; # 36 "/usr/include/sys/socket.h" 2 3 4 struct osockaddr { unsigned short int sa_family; unsigned char sa_data[14]; }; enum { SHUT_RD = 0, SHUT_WR, SHUT_RDWR }; # 100 "/usr/include/sys/socket.h" 3 4 extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__)); extern int socketpair (int __domain, int __type, int __protocol, int __fds[2]) __attribute__ ((__nothrow__)); extern int bind (int __fd, __const struct sockaddr * __addr, socklen_t __len) __attribute__ ((__nothrow__)); extern int getsockname (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__)); # 124 "/usr/include/sys/socket.h" 3 4 extern int connect (int __fd, __const struct sockaddr * __addr, socklen_t __len); extern int getpeername (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__)); extern ssize_t send (int __fd, __const void *__buf, size_t __n, int __flags); extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); extern ssize_t sendto (int __fd, __const void *__buf, size_t __n, int __flags, __const struct sockaddr * __addr, socklen_t __addr_len); # 161 "/usr/include/sys/socket.h" 3 4 extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); extern ssize_t sendmsg (int __fd, __const struct msghdr *__message, int __flags); extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); extern int getsockopt (int __fd, int __level, int __optname, void *__restrict __optval, socklen_t *__restrict __optlen) __attribute__ ((__nothrow__)); extern int setsockopt (int __fd, int __level, int __optname, __const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__)); extern int listen (int __fd, int __n) __attribute__ ((__nothrow__)); # 209 "/usr/include/sys/socket.h" 3 4 extern int accept (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__)); # 231 "/usr/include/sys/socket.h" 3 4 extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__)); # 39 "/usr/GNUstep/System/Library/Headers/Foundation/NSPort.h" 2 @class NSMutableArray; @class NSConnection; @class NSDate; @class NSRunLoop; @class NSString; @class NSPortMessage; @class NSHost; extern NSString * const NSPortTimeoutException; # 69 "/usr/GNUstep/System/Library/Headers/Foundation/NSPort.h" @interface NSPort : NSObject { BOOL _is_valid; id _delegate; } + (NSPort*) port; + (NSPort*) portWithMachPort: (int)machPort; - (id) delegate; - (void) setDelegate: (id)anObject; - (id) init; - (id) initWithMachPort: (int)machPort; - (int) machPort; - (void) invalidate; - (BOOL) isValid; - (void) addConnection: (NSConnection*)aConnection toRunLoop: (NSRunLoop*)aLoop forMode: (NSString*)aMode; - (void) removeConnection: (NSConnection*)aConnection fromRunLoop: (NSRunLoop*)aLoop forMode: (NSString*)aMode; - (unsigned) reservedSpaceLength; - (BOOL) sendBeforeDate: (NSDate*)when msgid: (int)msgid components: (NSMutableArray*)components from: (NSPort*)receivingPort reserved: (unsigned)length; - (BOOL) sendBeforeDate: (NSDate*)when components: (NSMutableArray*)components from: (NSPort*)receivingPort reserved: (unsigned)length; @end @interface NSPort (GNUstep) - (void) close; + (Class) outPacketClass; - (Class) outPacketClass; @end extern NSString* const NSPortDidBecomeInvalidNotification; # 188 "/usr/GNUstep/System/Library/Headers/Foundation/NSPort.h" typedef int NSSocketNativeHandle; @class GSTcpHandle; # 200 "/usr/GNUstep/System/Library/Headers/Foundation/NSPort.h" @interface NSSocketPort : NSPort { NSRecursiveLock *myLock; NSHost *host; NSString *address; gsu16 portNum; int listener; NSMapTable *handles; } + (NSSocketPort*) existingPortWithNumber: (gsu16)number onHost: (NSHost*)aHost; # 229 "/usr/GNUstep/System/Library/Headers/Foundation/NSPort.h" + (NSSocketPort*) portWithNumber: (gsu16)number onHost: (NSHost*)aHost forceAddress: (NSString*)addr listener: (BOOL)shouldListen; - (void) addHandle: (GSTcpHandle*)handle forSend: (BOOL)send; - (NSString*) address; - (void) getFds: (int*)fds count: (int*)count; - (GSTcpHandle*) handleForPort: (NSSocketPort*)recvPort beforeDate: (NSDate*)when; - (void) handlePortMessage: (NSPortMessage*)m; - (NSHost*) host; - (gsu16) portNumber; - (void) removeHandle: (GSTcpHandle*)handle; # 312 "/usr/GNUstep/System/Library/Headers/Foundation/NSPort.h" @end @class GSMessageHandle; @interface NSMessagePort : NSPort { NSData *name; NSRecursiveLock *myLock; NSMapTable *handles; int listener; } - (int) _listener; - (const unsigned char *) _name; + (NSMessagePort*) _portWithName: (const unsigned char *)socketName listener: (BOOL)shouldListen; - (void) addHandle: (GSMessageHandle*)handle forSend: (BOOL)send; - (void) removeHandle: (GSMessageHandle*)handle; - (void) handlePortMessage: (NSPortMessage*)m; @end # 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortMessage.h" 2 # 39 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortMessage.h" @interface NSPortMessage : NSObject { unsigned _msgid; NSPort *_recv; NSPort *_send; NSMutableArray *_components; } - (id) initWithMachMessage: (void*)buffer; - (id) initWithSendPort: (NSPort*)aPort receivePort: (NSPort*)anotherPort components: (NSArray*)items; - (BOOL) sendBeforeDate: (NSDate*)when; - (NSArray*) components; - (NSPort*) sendPort; - (NSPort*) receivePort; - (void) setMsgid: (unsigned)anId; - (unsigned) msgid; @end @interface NSPortMessage (private) - (NSMutableArray*) _components; @end # 76 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortNameServer.h" 1 # 37 "/usr/GNUstep/System/Library/Headers/Foundation/NSPortNameServer.h" @class NSPort, NSString, NSMutableArray; @interface NSPortNameServer : NSObject { } + (id) systemDefaultPortNameServer; - (NSPort*) portForName: (NSString*)name; - (NSPort*) portForName: (NSString*)name onHost: (NSString*)host; - (BOOL) registerPort: (NSPort*)port forName: (NSString*)name; - (BOOL) removePortForName: (NSString*)name; @end @interface NSPortNameServer (GNUstep) - (NSArray*) namesForPort: (NSPort*)port; - (BOOL) removePort: (NSPort*)port; - (BOOL) removePort: (NSPort*)port forName: (NSString*)name; @end @interface NSSocketPortNameServer : NSPortNameServer { NSMapTable *_portMap; NSMapTable *_nameMap; } + (id) sharedInstance; - (NSPort*) portForName: (NSString*)name onHost: (NSString*)host; - (BOOL) registerPort: (NSPort*)port forName: (NSString*)name; - (BOOL) removePortForName: (NSString*)name; @end @interface NSMessagePortNameServer : NSPortNameServer + (id) sharedInstance; @end # 77 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSProtocolChecker.h" 1 # 30 "/usr/GNUstep/System/Library/Headers/Foundation/NSProtocolChecker.h" @class Protocol; @interface NSProtocolChecker : NSProxy { Protocol *_myProtocol; NSObject *_myTarget; } + (id) protocolCheckerWithTarget: (NSObject*)anObject protocol: (Protocol*)aProtocol; - (id) initWithTarget: (NSObject*)anObject protocol: (Protocol*)aProtocol; - (void) forwardInvocation: (NSInvocation*)anInvocation; - (Protocol*) protocol; - (NSObject*) target; @end # 79 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSScanner.h" 1 # 34 "/usr/GNUstep/System/Library/Headers/Foundation/NSScanner.h" @interface NSScanner : NSObject { @private NSString *_string; NSCharacterSet *_charactersToBeSkipped; BOOL (*_skipImp)(NSCharacterSet*, SEL, unichar); NSDictionary *_locale; unsigned int _scanLocation; unichar _decimal; BOOL _caseSensitive; BOOL _isUnicode; } + (id) localizedScannerWithString: (NSString*)aString; + (id) scannerWithString: (NSString*)aString; - (id) initWithString: (NSString*)aString; - (NSString*) string; - (unsigned) scanLocation; - (void) setScanLocation: (unsigned int)anIndex; - (BOOL) caseSensitive; - (void) setCaseSensitive: (BOOL)flag; - (NSCharacterSet*) charactersToBeSkipped; - (void) setCharactersToBeSkipped: (NSCharacterSet *)aSet; - (NSDictionary*)locale; - (void)setLocale:(NSDictionary*)localeDictionary; - (BOOL) scanInt: (int*)value; - (BOOL) scanHexInt: (unsigned int*)value; - (BOOL) scanLongLong: (long long*)value; - (BOOL) scanFloat: (float*)value; - (BOOL) scanDouble: (double*)value; - (BOOL) scanString: (NSString*)string intoString: (NSString**)value; - (BOOL) scanCharactersFromSet: (NSCharacterSet*)aSet intoString: (NSString**)value; - (BOOL) scanUpToString: (NSString*)string intoString: (NSString**)value; - (BOOL) scanUpToCharactersFromSet: (NSCharacterSet*)aSet intoString: (NSString**)value; - (BOOL) isAtEnd; - (BOOL) scanRadixUnsignedInt: (unsigned int*)value; - (BOOL) scanDecimal: (NSDecimal*)value; @end # 83 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSSet.h" 1 # 33 "/usr/GNUstep/System/Library/Headers/Foundation/NSSet.h" @class NSArray, NSString, NSEnumerator, NSDictionary; @interface NSSet : NSObject + (id) set; + (id) setWithArray: (NSArray*)objects; + (id) setWithObject: (id)anObject; + (id) setWithObjects: (id)firstObject, ...; + (id) setWithObjects: (id*)objects count: (unsigned)count; + (id) setWithSet: (NSSet*)aSet; - (NSArray*) allObjects; - (id) anyObject; - (BOOL) containsObject: (id)anObject; - (unsigned) count; - (NSString*) description; - (NSString*) descriptionWithLocale: (NSDictionary*)locale; - (id) init; - (id) initWithArray: (NSArray*)other; - (id) initWithObjects: (id)firstObject, ...; - (id) initWithObjects: (id*)objects count: (unsigned)count; - (id) initWithSet: (NSSet*)other; - (id) initWithSet: (NSSet*)other copyItems: (BOOL)flag; - (BOOL) intersectsSet: (NSSet*)otherSet; - (BOOL) isEqualToSet: (NSSet*)other; - (BOOL) isSubsetOfSet: (NSSet*)otherSet; - (void) makeObjectsPerform: (SEL)aSelector; - (void) makeObjectsPerform: (SEL)aSelector withObject: (id)argument; - (void) makeObjectsPerformSelector: (SEL)aSelector; - (void) makeObjectsPerformSelector: (SEL)aSelector withObject: (id)argument; - (id) member: (id)anObject; - (NSEnumerator*) objectEnumerator; @end @interface NSMutableSet: NSSet + (id) setWithCapacity: (unsigned)numItems; - (void) addObject: (id)anObject; - (void) addObjectsFromArray: (NSArray*)array; - (id) initWithCapacity: (unsigned)numItems; - (void) intersectSet: (NSSet*)other; - (void) minusSet: (NSSet*)other; - (void) removeAllObjects; - (void) removeObject: (id)anObject; - (void) setSet: (NSSet*)other; - (void) unionSet: (NSSet*)other; @end @interface NSCountedSet : NSMutableSet - (unsigned int) countForObject: (id)anObject; @end @interface NSCountedSet (GNU_Uniquing) # 117 "/usr/GNUstep/System/Library/Headers/Foundation/NSSet.h" - (void) purge: (int)level; # 135 "/usr/GNUstep/System/Library/Headers/Foundation/NSSet.h" - (id) unique: (id)anObject; @end # 147 "/usr/GNUstep/System/Library/Headers/Foundation/NSSet.h" void GSUniquing(BOOL flag); # 156 "/usr/GNUstep/System/Library/Headers/Foundation/NSSet.h" id GSUnique(id anObject); # 167 "/usr/GNUstep/System/Library/Headers/Foundation/NSSet.h" void GSUPurge(unsigned count); id GSUSet(id anObject, unsigned count); # 85 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSTask.h" 1 # 33 "/usr/GNUstep/System/Library/Headers/Foundation/NSTask.h" @interface NSTask : NSObject { NSString *_currentDirectoryPath; NSString *_launchPath; NSArray *_arguments; NSDictionary *_environment; id _standardError; id _standardInput; id _standardOutput; int _taskId; int _terminationStatus; BOOL _hasLaunched; BOOL _hasTerminated; BOOL _hasCollected; BOOL _hasNotified; } + (NSTask*) launchedTaskWithLaunchPath: (NSString*)path arguments: (NSArray*)args; - (NSArray*) arguments; - (NSString*) currentDirectoryPath; - (NSDictionary*) environment; - (NSString*) launchPath; - (id) standardError; - (id) standardInput; - (id) standardOutput; - (void) setArguments: (NSArray*)args; - (void) setCurrentDirectoryPath: (NSString*)path; - (void) setEnvironment: (NSDictionary*)env; - (void) setLaunchPath: (NSString*)path; - (void) setStandardError: (id)hdl; - (void) setStandardInput: (id)hdl; - (void) setStandardOutput: (id)hdl; - (BOOL) isRunning; - (int) processIdentifier; - (int) terminationStatus; - (void) interrupt; - (void) launch; - (BOOL) resume; - (BOOL) suspend; - (void) terminate; - (void) waitUntilExit; - (BOOL) usePseudoTerminal; - (NSString*) validatedLaunchPath; @end extern NSString* const NSTaskDidTerminateNotification; # 87 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h" 1 # 33 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h" @interface NSThread : NSObject { id _target; id _arg; SEL _selector; BOOL _active; @public NSHandler *_exception_handler; NSMutableDictionary *_thread_dictionary; struct autorelease_thread_vars _autorelease_vars; id _gcontext; } + (NSThread*) currentThread; + (void) detachNewThreadSelector: (SEL)aSelector toTarget: (id)aTarget withObject: (id)anArgument; + (void) exit; + (BOOL) isMultiThreaded; + (void) setThreadPriority: (double)pri; + (void) sleepUntilDate: (NSDate*)date; + (double) threadPriority; - (NSMutableDictionary*) threadDictionary; @end @interface NSObject(NSMainThreadPerformAdditions) - (void) performSelectorOnMainThread: (SEL)aSelector withObject: (id)anObject waitUntilDone: (BOOL)aFlag modes: (NSArray*)anArray; - (void) performSelectorOnMainThread: (SEL)aSelector withObject: (id)anObject waitUntilDone: (BOOL)aFlag; @end # 94 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h" extern BOOL GSRegisterCurrentThread (void); # 103 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h" extern void GSUnregisterCurrentThread (void); # 121 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h" extern NSString* const NSWillBecomeMultiThreadedNotification; extern NSString* const NSThreadWillExitNotification; # 137 "/usr/GNUstep/System/Library/Headers/Foundation/NSThread.h" extern NSString* const NSThreadDidStartNotification; extern NSThread *GSCurrentThread(void); extern NSMutableDictionary *GSCurrentThreadDictionary(void); # 88 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSTimeZone.h" 1 # 26 "/usr/GNUstep/System/Library/Headers/Foundation/NSTimeZone.h" @class NSArray; @class NSDate; @class NSDictionary; @class NSString; @interface NSTimeZone : NSObject + (NSTimeZone*) localTimeZone; + (NSTimeZone*) timeZoneForSecondsFromGMT: (int)seconds; + (NSTimeZone*) timeZoneWithName: (NSString*)aTimeZoneName; + (void) setDefaultTimeZone: (NSTimeZone*)aTimeZone; + (NSDictionary*) abbreviationDictionary; + (NSArray*) knownTimeZoneNames; + (NSArray*) timeZoneArray; - (NSArray*) timeZoneDetailArray; + (NSDictionary*) abbreviationMap; + (void) resetSystemTimeZone; + (NSTimeZone*) systemTimeZone; + (NSTimeZone*) timeZoneWithName: (NSString*)name data: (NSData*)data; - (NSString*) abbreviation; - (NSString*) abbreviationForDate: (NSDate*)aDate; - (NSData*) data; - (id) initWithName: (NSString*)name; - (id) initWithName: (NSString*)name data: (NSData*)data; - (BOOL) isDaylightSavingTime; - (BOOL) isDaylightSavingTimeForDate: (NSDate*)aDate; - (BOOL) isEqualToTimeZone: (NSTimeZone*)aTimeZone; - (NSString*) name; - (int) secondsFromGMT; - (int) secondsFromGMTForDate: (NSDate*)aDate; - (NSTimeZoneDetail*) timeZoneDetailForDate: (NSDate*)date; - (NSString*) timeZoneName; + (NSTimeZone*) defaultTimeZone; + (NSTimeZone*) timeZoneWithAbbreviation: (NSString*)abbreviation; @end @interface NSTimeZoneDetail : NSTimeZone - (BOOL) isDaylightSavingTimeZone; - (NSString*) timeZoneAbbreviation; - (int) timeZoneSecondsFromGMT; @end # 89 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h" 1 # 27 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h" # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLHandle.h" 1 # 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLHandle.h" @class NSData; @class NSString; @class NSMutableArray; @class NSMutableData; @class NSURLHandle; @class NSURL; extern NSString * const NSHTTPPropertyStatusCodeKey; extern NSString * const NSHTTPPropertyStatusReasonKey; extern NSString * const NSHTTPPropertyServerHTTPVersionKey; extern NSString * const NSHTTPPropertyRedirectionHeadersKey; extern NSString * const NSHTTPPropertyErrorPageDataKey; extern NSString * const GSHTTPPropertyLocalHostKey; extern NSString * const GSHTTPPropertyMethodKey; extern NSString * const GSHTTPPropertyProxyHostKey; extern NSString * const GSHTTPPropertyProxyPortKey; extern NSString * const GSHTTPPropertyCertificateFileKey; extern NSString * const GSHTTPPropertyKeyFileKey; extern NSString * const GSHTTPPropertyPasswordKey; # 125 "/usr/GNUstep/System/Library/Headers/Foundation/NSURLHandle.h" typedef enum { NSURLHandleNotLoaded = 0, NSURLHandleLoadSucceeded, NSURLHandleLoadInProgress, NSURLHandleLoadFailed } NSURLHandleStatus; @protocol NSURLHandleClient - (void) URLHandle: (NSURLHandle*)sender resourceDataDidBecomeAvailable: (NSData*)newData; - (void) URLHandle: (NSURLHandle*)sender resourceDidFailLoadingWithReason: (NSString*)reason; - (void) URLHandleResourceDidBeginLoading: (NSURLHandle*)sender; - (void) URLHandleResourceDidCancelLoading: (NSURLHandle*)sender; - (void) URLHandleResourceDidFinishLoading: (NSURLHandle*)sender; @end @interface NSURLHandle: NSObject { id _data; NSMutableArray *_clients; NSString *_failure; NSURLHandleStatus _status; } + (NSURLHandle*) cachedHandleForURL: (NSURL*)url; + (BOOL) canInitWithURL: (NSURL*)url; + (void) registerURLHandleClass: (Class)urlHandleSubclass; + (Class) URLHandleClassForURL: (NSURL*)url; - (void) addClient: (id )client; - (NSData*) availableResourceData; - (void) backgroundLoadDidFailWithReason: (NSString*)reason; - (void) beginLoadInBackground; - (void) cancelLoadInBackground; - (void) didLoadBytes: (NSData*)newData loadComplete: (BOOL)loadComplete; - (void) endLoadInBackground; - (NSString*) failureReason; - (void) flushCachedData; - (id) initWithURL: (NSURL*)url cached: (BOOL)cached; - (void) loadInBackground; - (NSData*) loadInForeground; - (id) propertyForKey: (NSString*)propertyKey; - (id) propertyForKeyIfAvailable: (NSString*)propertyKey; - (void) removeClient: (id )client; - (NSData*) resourceData; - (NSURLHandleStatus) status; - (BOOL) writeData: (NSData*)data; - (BOOL) writeProperty: (id)propertyValue forKey: (NSString*)propertyKey; @end # 28 "/usr/GNUstep/System/Library/Headers/Foundation/NSURL.h" 2 @class NSNumber; extern NSString* const NSURLFileScheme; @interface NSURL: NSObject { NSString *_urlString; NSURL *_baseURL; void *_clients; void *_data; } + (id) fileURLWithPath: (NSString*)aPath; + (id) URLWithString: (NSString*)aUrlString; + (id) URLWithString: (NSString*)aUrlString relativeToURL: (NSURL*)aBaseUrl; - (id) initFileURLWithPath: (NSString*)aPath; - (id) initWithScheme: (NSString*)aScheme host: (NSString*)aHost path: (NSString*)aPath; - (id) initWithString: (NSString*)aUrlString; - (id) initWithString: (NSString*)aUrlString relativeToURL: (NSURL*)aBaseUrl; - (NSString*) absoluteString; - (NSURL*) absoluteURL; - (NSURL*) baseURL; - (NSString*) fragment; - (NSString*) host; - (BOOL) isFileURL; - (void) loadResourceDataNotifyingClient: (id)client usingCache: (BOOL)shouldUseCache; - (NSString*) parameterString; - (NSString*) password; - (NSString*) path; - (NSNumber*) port; - (id) propertyForKey: (NSString*)propertyKey; - (NSString*) query; - (NSString*) relativePath; - (NSString*) relativeString; - (NSData*) resourceDataUsingCache: (BOOL)shouldUseCache; - (NSString*) resourceSpecifier; - (NSString*) scheme; - (BOOL) setProperty: (id)property forKey: (NSString*)propertyKey; - (BOOL) setResourceData: (NSData*)data; - (NSURL*) standardizedURL; - (NSURLHandle*)URLHandleUsingCache: (BOOL)shouldUseCache; - (NSString*) user; @end @interface NSObject (NSURLClient) - (void) URL: (NSURL*)sender resourceDataDidBecomeAvailable: (NSData*)newBytes; - (void) URLResourceDidFinishLoading: (NSURL*)sender; - (void) URLResourceDidCancelLoading: (NSURL*)sender; - (void) URL: (NSURL*)sender resourceDidFailLoadingWithReason: (NSString*)reason; @end # 91 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSUndoManager.h" 1 # 29 "/usr/GNUstep/System/Library/Headers/Foundation/NSUndoManager.h" @class NSArray; @class NSMutableArray; @class NSInvocation; enum { NSUndoCloseGroupingRunLoopOrdering = 350000 }; # 45 "/usr/GNUstep/System/Library/Headers/Foundation/NSUndoManager.h" extern NSString* const NSUndoManagerCheckpointNotification; extern NSString* const NSUndoManagerDidOpenUndoGroupNotification; extern NSString* const NSUndoManagerDidRedoChangeNotification; extern NSString* const NSUndoManagerDidUndoChangeNotification; extern NSString* const NSUndoManagerWillCloseUndoGroupNotification; extern NSString* const NSUndoManagerWillRedoChangeNotification; extern NSString* const NSUndoManagerWillUndoChangeNotification; @interface NSUndoManager: NSObject { @private NSMutableArray *_redoStack; NSMutableArray *_undoStack; id *_unused1; id _group; id _nextTarget; NSArray *_modes; BOOL _isRedoing; BOOL _isUndoing; BOOL _groupsByEvent; BOOL _runLoopGroupingPending; unsigned _disableCount; unsigned _levelsOfUndo; } - (void) beginUndoGrouping; - (BOOL) canRedo; - (BOOL) canUndo; - (void) disableUndoRegistration; - (void) enableUndoRegistration; - (void) endUndoGrouping; - (void) forwardInvocation: (NSInvocation*)anInvocation; - (int) groupingLevel; - (BOOL) groupsByEvent; - (BOOL) isRedoing; - (BOOL) isUndoing; - (BOOL) isUndoRegistrationEnabled; - (unsigned int) levelsOfUndo; - (id) prepareWithInvocationTarget: (id)target; - (void) redo; - (NSString*) redoActionName; - (NSString*) redoMenuItemTitle; - (NSString*) redoMenuTitleForUndoActionName: (NSString*)actionName; - (void) registerUndoWithTarget: (id)target selector: (SEL)aSelector object: (id)anObject; - (void) removeAllActions; - (void) removeAllActionsWithTarget: (id)target; - (NSArray*) runLoopModes; - (void) setActionName: (NSString*)name; - (void) setGroupsByEvent: (BOOL)flag; - (void) setLevelsOfUndo: (unsigned)num; - (void) setRunLoopModes: (NSArray*)newModes; - (void) undo; - (NSString*) undoActionName; - (NSString*) undoMenuItemTitle; - (NSString*) undoMenuTitleForUndoActionName: (NSString*)actionName; - (void) undoNestedGroup; @end # 93 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h" 1 # 31 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h" @class NSArray; @class NSMutableArray; @class NSDictionary; @class NSMutableDictionary; @class NSData; @class NSTimer; @class NSRecursiveLock; @class NSDistributedLock; extern NSString* const NSArgumentDomain; extern NSString* const NSGlobalDomain; extern NSString* const NSRegistrationDomain; # 65 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h" extern NSString* const NSUserDefaultsDidChangeNotification; extern NSString* const NSWeekDayNameArray; extern NSString* const NSShortWeekDayNameArray; extern NSString* const NSMonthNameArray; extern NSString* const NSShortMonthNameArray; extern NSString* const NSTimeFormatString; extern NSString* const NSDateFormatString; extern NSString* const NSShortDateFormatString; extern NSString* const NSTimeDateFormatString; extern NSString* const NSShortTimeDateFormatString; extern NSString* const NSCurrencySymbol; extern NSString* const NSDecimalSeparator; extern NSString* const NSThousandsSeparator; extern NSString* const NSInternationalCurrencyString; extern NSString* const NSCurrencyString; extern NSString* const NSDecimalDigits; extern NSString* const NSAMPMDesignation; # 127 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h" extern NSString* const NSHourNameDesignations; extern NSString* const NSYearMonthWeekDesignations; extern NSString* const NSEarlierTimeDesignations; extern NSString* const NSLaterTimeDesignations; extern NSString* const NSThisDayDesignations; extern NSString* const NSNextDayDesignations; extern NSString* const NSNextNextDayDesignations; extern NSString* const NSPriorDayDesignations; extern NSString* const NSDateTimeOrdering; extern NSString* const NSLanguageName; extern NSString* const NSLanguageCode; extern NSString* const NSFormalName; extern NSString* const NSLocale; # 202 "/usr/GNUstep/System/Library/Headers/Foundation/NSUserDefaults.h" @interface NSUserDefaults: NSObject { @private NSMutableArray *_searchList; NSMutableDictionary *_persDomains; NSMutableDictionary *_tempDomains; NSMutableArray *_changedDomains; NSDictionary *_dictionaryRep; NSString *_defaultsDatabase; NSDate *_lastSync; NSRecursiveLock *_lock; NSDistributedLock *_fileLock; } + (NSUserDefaults*) standardUserDefaults; + (void) resetStandardUserDefaults; + (NSArray*) userLanguages; + (void) setUserLanguages: (NSArray*)languages; - (id) init; - (id) initWithUser: (NSString*)userName; - (id) initWithContentsOfFile: (NSString*)path; - (NSArray*) arrayForKey: (NSString*)defaultName; - (BOOL) boolForKey: (NSString*)defaultName; - (NSData*) dataForKey: (NSString*)defaultName; - (NSDictionary*) dictionaryForKey: (NSString*)defaultName; - (float) floatForKey: (NSString*)defaultName; - (int) integerForKey: (NSString*)defaultName; - (id) objectForKey: (NSString*)defaultName; - (void) removeObjectForKey: (NSString*)defaultName; - (void) setBool: (BOOL)value forKey: (NSString*)defaultName; - (void) setFloat: (float)value forKey: (NSString*)defaultName; - (void) setInteger: (int)value forKey: (NSString*)defaultName; - (void) setObject: (id)value forKey: (NSString*)defaultName; - (NSArray*) stringArrayForKey: (NSString*)defaultName; - (NSString*) stringForKey: (NSString*)defaultName; - (NSMutableArray*) searchList; - (void) setSearchList: (NSArray*)newList; - (void) addSuiteNamed: (NSString*)aName; - (void) removeSuiteNamed: (NSString*)aName; - (NSDictionary*) persistentDomainForName: (NSString*)domainName; - (NSArray*) persistentDomainNames; - (void) removePersistentDomainForName: (NSString*)domainName; - (void) setPersistentDomain: (NSDictionary*)domain forName: (NSString*)domainName; - (BOOL) synchronize; - (void) removeVolatileDomainForName: (NSString*)domainName; - (void) setVolatileDomain: (NSDictionary*)domain forName: (NSString*)domainName; - (NSDictionary*) volatileDomainForName: (NSString*)domainName; - (NSArray*) volatileDomainNames; - (NSDictionary*) dictionaryRepresentation; - (void) registerDefaults: (NSDictionary*)newVals; @end # 94 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 1 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLParser.h" 1 # 33 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLParser.h" @class NSData, NSDictionary, NSError, NSString, NSURL; extern NSString* const NSXMLParserErrorDomain; # 64 "/usr/GNUstep/System/Library/Headers/Foundation/NSXMLParser.h" @interface NSXMLParser : NSObject { @private void *_parser; void *_handler; } - (void) abortParsing; - (id) delegate; - (id) initWithContentsOfURL: (NSURL*)anURL; - (id) initWithData: (NSData*)data; - (BOOL) parse; - (NSError*) parserError; - (void) setDelegate: (id)delegate; - (void) setShouldProcessNamespaces: (BOOL)aFlag; - (void) setShouldReportNamespacePrefixes: (BOOL)aFlag; - (void) setShouldResolveExternalEntities: (BOOL)aFlag; - (BOOL) shouldProcessNamespaces; - (BOOL) shouldReportNamespacePrefixes; - (BOOL) shouldResolveExternalEntities; @end @interface NSXMLParser (NSXMLParserLocatorAdditions) - (int) columnNumber; - (int) lineNumber; - (NSString*) publicID; - (NSString*) systemID; @end @interface NSObject (NSXMLParserDelegateEventAdditions) - (NSData*) parser: (NSXMLParser*)aParser resolveExternalEntityName: (NSString*)aName systemID: (NSString*)aSystemID; - (void) parser: (NSXMLParser*)aParser didEndElement: (NSString*)anElementName namespaceURI: (NSString*)aNamespaceURI qualifiedName: (NSString*)aQualifierName; - (void) parser: (NSXMLParser*)aParser didEndMappingPrefix: (NSString*)aPrefix; - (void) parser: (NSXMLParser*)aParser didStartElement: (NSString*)anElementName namespaceURI: (NSString*)aNamespaceURI qualifiedName: (NSString*)aQualifierName attributes: (NSDictionary*)anAttributeDict; - (void) parser: (NSXMLParser*)aParser didStartMappingPrefix: (NSString*)aPrefix toURI: (NSString*)aNamespaceURI; - (void) parser: (NSXMLParser*)aParser foundAttributeDeclarationWithName: (NSString*)anAttributeName forElement: (NSString*)anElementName type: (NSString*)aType defaultValue: (NSString*)aDefaultValue; - (void) parser: (NSXMLParser*)aParser foundCDATA: (NSData*)aBlock; - (void) parser: (NSXMLParser*)aParser foundCharacters: (NSString*)aString; - (void) parser: (NSXMLParser*)aParser foundComment: (NSString*)aComment; - (void) parser: (NSXMLParser*)aParser foundElementDeclarationWithName: (NSString*)anElementName model: (NSString*)aModel; - (void) parser: (NSXMLParser*)aParser foundExternalEntityDeclarationWithName: (NSString*)aName publicID: (NSString*)aPublicID systemID: (NSString*)aSystemID; - (void) parser: (NSXMLParser*)aParser foundIgnorableWhitespace: (NSString*)aWhitespaceString; - (void) parser: (NSXMLParser*)aParser foundInternalEntityDeclarationWithName: (NSString*)aName value: (NSString*)aValue; - (void) parser: (NSXMLParser*)aParser foundNotationDeclarationWithName: (NSString*)aName publicID: (NSString*)aPublicID systemID: (NSString*)aSystemID; - (void) parser: (NSXMLParser*)aParser foundProcessingInstructionWithTarget: (NSString*)aTarget data: (NSString*)aData; - (void) parser: (NSXMLParser*)aParser foundUnparsedEntityDeclarationWithName: (NSString*)aName publicID: (NSString*)aPublicID systemID: (NSString*)aSystemID notationName: (NSString*)aNotationName; - (void) parser: (NSXMLParser*)aParser parseErrorOccurred: (NSError*)anError; - (void) parser: (NSXMLParser*)aParser validationErrorOccurred: (NSError*)anError; - (void) parserDidEndDocument: (NSXMLParser*)aParser; - (void) parserDidStartDocument: (NSXMLParser*)aParser; @end typedef enum { NSXMLParserInternalError = 1, NSXMLParserOutOfMemoryError = 2, NSXMLParserDocumentStartError = 3, NSXMLParserEmptyDocumentError = 4, NSXMLParserPrematureDocumentEndError = 5, NSXMLParserInvalidHexCharacterRefError = 6, NSXMLParserInvalidDecimalCharacterRefError = 7, NSXMLParserInvalidCharacterRefError = 8, NSXMLParserInvalidCharacterError = 9, NSXMLParserCharacterRefAtEOFError = 10, NSXMLParserCharacterRefInPrologError = 11, NSXMLParserCharacterRefInEpilogError = 12, NSXMLParserCharacterRefInDTDError = 13, NSXMLParserEntityRefAtEOFError = 14, NSXMLParserEntityRefInPrologError = 15, NSXMLParserEntityRefInEpilogError = 16, NSXMLParserEntityRefInDTDError = 17, NSXMLParserParsedEntityRefAtEOFError = 18, NSXMLParserParsedEntityRefInPrologError = 19, NSXMLParserParsedEntityRefInEpilogError = 20, NSXMLParserParsedEntityRefInInternalSubsetError = 21, NSXMLParserEntityReferenceWithoutNameError = 22, NSXMLParserEntityReferenceMissingSemiError = 23, NSXMLParserParsedEntityRefNoNameError = 24, NSXMLParserParsedEntityRefMissingSemiError = 25, NSXMLParserUndeclaredEntityError = 26, NSXMLParserUnparsedEntityError = 28, NSXMLParserEntityIsExternalError = 29, NSXMLParserEntityIsParameterError = 30, NSXMLParserUnknownEncodingError = 31, NSXMLParserEncodingNotSupportedError = 32, NSXMLParserStringNotStartedError = 33, NSXMLParserStringNotClosedError = 34, NSXMLParserNamespaceDeclarationError = 35, NSXMLParserEntityNotStartedError = 36, NSXMLParserEntityNotFinishedError = 37, NSXMLParserLessThanSymbolInAttributeError = 38, NSXMLParserAttributeNotStartedError = 39, NSXMLParserAttributeNotFinishedError = 40, NSXMLParserAttributeHasNoValueError = 41, NSXMLParserAttributeRedefinedError = 42, NSXMLParserLiteralNotStartedError = 43, NSXMLParserLiteralNotFinishedError = 44, NSXMLParserCommentNotFinishedError = 45, NSXMLParserProcessingInstructionNotStartedError = 46, NSXMLParserProcessingInstructionNotFinishedError = 47, NSXMLParserNotationNotStartedError = 48, NSXMLParserNotationNotFinishedError = 49, NSXMLParserAttributeListNotStartedError = 50, NSXMLParserAttributeListNotFinishedError = 51, NSXMLParserMixedContentDeclNotStartedError = 52, NSXMLParserMixedContentDeclNotFinishedError = 53, NSXMLParserElementContentDeclNotStartedError = 54, NSXMLParserElementContentDeclNotFinishedError = 55, NSXMLParserXMLDeclNotStartedError = 56, NSXMLParserXMLDeclNotFinishedError = 57, NSXMLParserConditionalSectionNotStartedError = 58, NSXMLParserConditionalSectionNotFinishedError = 59, NSXMLParserExternalSubsetNotFinishedError = 60, NSXMLParserDOCTYPEDeclNotFinishedError = 61, NSXMLParserMisplacedCDATAEndStringError = 62, NSXMLParserCDATANotFinishedError = 63, NSXMLParserMisplacedXMLDeclarationError = 64, NSXMLParserSpaceRequiredError = 65, NSXMLParserSeparatorRequiredError = 66, NSXMLParserNMTOKENRequiredError = 67, NSXMLParserNAMERequiredError = 68, NSXMLParserPCDATARequiredError = 69, NSXMLParserURIRequiredError = 70, NSXMLParserPublicIdentifierRequiredError = 71, NSXMLParserLTRequiredError = 72, NSXMLParserGTRequiredError = 73, NSXMLParserLTSlashRequiredError = 74, NSXMLParserEqualExpectedError = 75, NSXMLParserTagNameMismatchError = 76, NSXMLParserUnfinishedTagError = 77, NSXMLParserStandaloneValueError = 78, NSXMLParserInvalidEncodingNameError = 79, NSXMLParserCommentContainsDoubleHyphenError = 80, NSXMLParserInvalidEncodingError = 81, NSXMLParserExternalStandaloneEntityError = 82, NSXMLParserInvalidConditionalSectionError = 83, NSXMLParserEntityValueRequiredError = 84, NSXMLParserNotWellBalancedError = 85, NSXMLParserExtraContentError = 86, NSXMLParserInvalidCharacterInEntityError = 87, NSXMLParserParsedEntityRefInInternalError = 88, NSXMLParserEntityRefLoopError = 89, NSXMLParserEntityBoundaryError = 90, NSXMLParserInvalidURIError = 91, NSXMLParserURIFragmentError = 92, NSXMLParserNoDTDError = 94, NSXMLParserDelegateAbortedParseError = 512 } NSXMLParserError; # 96 "/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h" 2 # 10 "BigNumber.h" 2 # 1 "/usr/include/openssl/bn.h" 1 3 4 # 62 "/usr/include/openssl/bn.h" 3 4 # 1 "/usr/include/openssl/e_os2.h" 1 3 4 # 56 "/usr/include/openssl/e_os2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 57 "/usr/include/openssl/e_os2.h" 2 3 4 # 63 "/usr/include/openssl/bn.h" 2 3 4 # 232 "/usr/include/openssl/bn.h" 3 4 typedef struct bignum_st { unsigned long *d; int top; int dmax; int neg; int flags; } BIGNUM; typedef struct bignum_ctx BN_CTX; typedef struct bn_blinding_st { int init; BIGNUM *A; BIGNUM *Ai; BIGNUM *mod; unsigned long thread_id; } BN_BLINDING; typedef struct bn_mont_ctx_st { int ri; BIGNUM RR; BIGNUM N; BIGNUM Ni; unsigned long n0; int flags; } BN_MONT_CTX; typedef struct bn_recp_ctx_st { BIGNUM N; BIGNUM Nr; int num_bits; int shift; int flags; } BN_RECP_CTX; # 316 "/usr/include/openssl/bn.h" 3 4 const BIGNUM *BN_value_one(void); char * BN_options(void); BN_CTX *BN_CTX_new(void); void BN_CTX_init(BN_CTX *c); void BN_CTX_free(BN_CTX *c); void BN_CTX_start(BN_CTX *ctx); BIGNUM *BN_CTX_get(BN_CTX *ctx); void BN_CTX_end(BN_CTX *ctx); int BN_rand(BIGNUM *rnd, int bits, int top,int bottom); int BN_pseudo_rand(BIGNUM *rnd, int bits, int top,int bottom); int BN_rand_range(BIGNUM *rnd, BIGNUM *range); int BN_pseudo_rand_range(BIGNUM *rnd, BIGNUM *range); int BN_num_bits(const BIGNUM *a); int BN_num_bits_word(unsigned long); BIGNUM *BN_new(void); void BN_init(BIGNUM *); void BN_clear_free(BIGNUM *a); BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b); void BN_swap(BIGNUM *a, BIGNUM *b); BIGNUM *BN_bin2bn(const unsigned char *s,int len,BIGNUM *ret); int BN_bn2bin(const BIGNUM *a, unsigned char *to); BIGNUM *BN_mpi2bn(const unsigned char *s,int len,BIGNUM *ret); int BN_bn2mpi(const BIGNUM *a, unsigned char *to); int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); int BN_uadd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); int BN_sqr(BIGNUM *r, const BIGNUM *a,BN_CTX *ctx); int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx); int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx); int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx); int BN_mod_add_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m); int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx); int BN_mod_sub_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m); int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx); int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx); int BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx); int BN_mod_lshift1_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *m); int BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m, BN_CTX *ctx); int BN_mod_lshift_quick(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m); unsigned long BN_mod_word(const BIGNUM *a, unsigned long w); unsigned long BN_div_word(BIGNUM *a, unsigned long w); int BN_mul_word(BIGNUM *a, unsigned long w); int BN_add_word(BIGNUM *a, unsigned long w); int BN_sub_word(BIGNUM *a, unsigned long w); int BN_set_word(BIGNUM *a, unsigned long w); unsigned long BN_get_word(const BIGNUM *a); int BN_cmp(const BIGNUM *a, const BIGNUM *b); void BN_free(BIGNUM *a); int BN_is_bit_set(const BIGNUM *a, int n); int BN_lshift(BIGNUM *r, const BIGNUM *a, int n); int BN_lshift1(BIGNUM *r, const BIGNUM *a); int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,BN_CTX *ctx); int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,BN_CTX *ctx); int BN_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); int BN_mod_exp_mont_word(BIGNUM *r, unsigned long a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); int BN_mod_exp2_mont(BIGNUM *r, const BIGNUM *a1, const BIGNUM *p1, const BIGNUM *a2, const BIGNUM *p2,const BIGNUM *m, BN_CTX *ctx,BN_MONT_CTX *m_ctx); int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,BN_CTX *ctx); int BN_mask_bits(BIGNUM *a,int n); int BN_print_fp(FILE *fp, const BIGNUM *a); int BN_print(void *fp, const BIGNUM *a); int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx); int BN_rshift(BIGNUM *r, const BIGNUM *a, int n); int BN_rshift1(BIGNUM *r, const BIGNUM *a); void BN_clear(BIGNUM *a); BIGNUM *BN_dup(const BIGNUM *a); int BN_ucmp(const BIGNUM *a, const BIGNUM *b); int BN_set_bit(BIGNUM *a, int n); int BN_clear_bit(BIGNUM *a, int n); char * BN_bn2hex(const BIGNUM *a); char * BN_bn2dec(const BIGNUM *a); int BN_hex2bn(BIGNUM **a, const char *str); int BN_dec2bn(BIGNUM **a, const char *str); int BN_gcd(BIGNUM *r,const BIGNUM *a,const BIGNUM *b,BN_CTX *ctx); int BN_kronecker(const BIGNUM *a,const BIGNUM *b,BN_CTX *ctx); BIGNUM *BN_mod_inverse(BIGNUM *ret, const BIGNUM *a, const BIGNUM *n,BN_CTX *ctx); BIGNUM *BN_mod_sqrt(BIGNUM *ret, const BIGNUM *a, const BIGNUM *n,BN_CTX *ctx); BIGNUM *BN_generate_prime(BIGNUM *ret,int bits,int safe, const BIGNUM *add, const BIGNUM *rem, void (*callback)(int,int,void *),void *cb_arg); int BN_is_prime(const BIGNUM *p,int nchecks, void (*callback)(int,int,void *), BN_CTX *ctx,void *cb_arg); int BN_is_prime_fasttest(const BIGNUM *p,int nchecks, void (*callback)(int,int,void *),BN_CTX *ctx,void *cb_arg, int do_trial_division); BN_MONT_CTX *BN_MONT_CTX_new(void ); void BN_MONT_CTX_init(BN_MONT_CTX *ctx); int BN_mod_mul_montgomery(BIGNUM *r,const BIGNUM *a,const BIGNUM *b, BN_MONT_CTX *mont, BN_CTX *ctx); int BN_from_montgomery(BIGNUM *r,const BIGNUM *a, BN_MONT_CTX *mont, BN_CTX *ctx); void BN_MONT_CTX_free(BN_MONT_CTX *mont); int BN_MONT_CTX_set(BN_MONT_CTX *mont,const BIGNUM *mod,BN_CTX *ctx); BN_MONT_CTX *BN_MONT_CTX_copy(BN_MONT_CTX *to,BN_MONT_CTX *from); BN_BLINDING *BN_BLINDING_new(BIGNUM *A,BIGNUM *Ai,BIGNUM *mod); void BN_BLINDING_free(BN_BLINDING *b); int BN_BLINDING_update(BN_BLINDING *b,BN_CTX *ctx); int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *r, BN_CTX *ctx); int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx); void BN_set_params(int mul,int high,int low,int mont); int BN_get_params(int which); void BN_RECP_CTX_init(BN_RECP_CTX *recp); BN_RECP_CTX *BN_RECP_CTX_new(void); void BN_RECP_CTX_free(BN_RECP_CTX *recp); int BN_RECP_CTX_set(BN_RECP_CTX *recp,const BIGNUM *rdiv,BN_CTX *ctx); int BN_mod_mul_reciprocal(BIGNUM *r, const BIGNUM *x, const BIGNUM *y, BN_RECP_CTX *recp,BN_CTX *ctx); int BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx); int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, BN_RECP_CTX *recp, BN_CTX *ctx); BIGNUM *bn_expand2(BIGNUM *a, int words); BIGNUM *bn_dup_expand(const BIGNUM *a, int words); # 476 "/usr/include/openssl/bn.h" 3 4 unsigned long bn_mul_add_words(unsigned long *rp, const unsigned long *ap, int num, unsigned long w); unsigned long bn_mul_words(unsigned long *rp, const unsigned long *ap, int num, unsigned long w); void bn_sqr_words(unsigned long *rp, const unsigned long *ap, int num); unsigned long bn_div_words(unsigned long h, unsigned long l, unsigned long d); unsigned long bn_add_words(unsigned long *rp, const unsigned long *ap, const unsigned long *bp,int num); unsigned long bn_sub_words(unsigned long *rp, const unsigned long *ap, const unsigned long *bp,int num); # 493 "/usr/include/openssl/bn.h" 3 4 int BN_bntest_rand(BIGNUM *rnd, int bits, int top,int bottom); void ERR_load_BN_strings(void); # 11 "BigNumber.h" 2 @interface BigNumber : NSObject { BIGNUM *bn; BOOL didInit; } + (id) alloc; - (id) init; - (id) initWithLong:(long) val; - (NSData *) serialize; + (BigNumber *) deserialize:(NSData *)data; + (BigNumber *) bigNumberFromString:(NSString *)decimalString; + (BigNumber *) generatePrime:(int)bits; - (BigNumber *) add:(BigNumber *)bnumber; - (BigNumber *) subtract:(BigNumber *)subtrahend; - (BigNumber *) multiply:(BigNumber *)multiplier; - (BigNumber *) divide:(BigNumber *)divisor remainder:(BigNumber **)rem; - (BigNumber *) modExp:(BigNumber *)exponent modulus:(BigNumber *)mod; - (BigNumber *) modInverse:(BigNumber *)mod; - (BigNumber *) gcd:(BigNumber *)b; - (BigNumber *) negate; - (BigNumber *) absoluteValue; - (BigNumber *) rightShift:(int)positions; - (BigNumber *) leftShift:(int)positions; - (int) bitLength; - (BOOL) isZero; - (BOOL) isOne; - (BOOL) isNegative; - (NSString *) stringValue; - (BigNumber *) copy; - (int) compare:(BigNumber *)b; - (BIGNUM *)getBIGNUM; -(NSData *)dataValue; +(BigNumber *)parseData:(NSData *)data; @end # 10 "BigNumber.m" 2 @implementation BigNumber + (id) alloc { BigNumber *r=[super alloc]; r->bn = BN_new(); if(r->bn==((void *)0)) return (id)0; return r; } - (void) dealloc { if(bn!=((void *)0)) BN_free(bn); [super dealloc]; } - (id) init { if(!didInit) { didInit = (BOOL)1; BN_init(bn); } return self; } - (id) initWithLong:(long) val { if(!didInit) { [self init]; if(val<0) { BN_set_word((bn), -val); bn->neg = 1; } else BN_set_word((bn), val); } return self; } - (int) compare:(BigNumber *)b { return BN_cmp(bn, b->bn); } - (BigNumber *) gcd:(BigNumber *)b { BigNumber *r = [[BigNumber alloc] init]; BN_CTX *ctx = BN_CTX_new(); BN_gcd(r->bn, bn, b->bn, ctx); BN_CTX_free(ctx); return r; } - (BigNumber *) add:(BigNumber *)bnumber { BigNumber *r = [[BigNumber alloc] init]; BN_add(r->bn, bn, bnumber->bn); return r; } - (BigNumber *) subtract:(BigNumber *)subtrahend { BigNumber *diff = [[BigNumber alloc] init]; BN_sub(diff->bn, bn, subtrahend->bn); return diff; } - (BigNumber *) multiply:(BigNumber *)multiplier { BigNumber *mul = [[BigNumber alloc] init]; BN_CTX *ctx = BN_CTX_new(); BN_mul(mul->bn, bn, multiplier->bn, ctx); BN_CTX_free(ctx); return mul; } - (BigNumber *) divide:(BigNumber *)divisor remainder:(BigNumber **)rem { BigNumber *quo = [[BigNumber alloc] init]; BigNumber *r=(id)0; BN_CTX *ctx = BN_CTX_new(); if (*rem!=(id)0) { r = [[BigNumber alloc] init]; BN_div(quo->bn, r->bn, bn, divisor->bn, ctx); (*rem) = r; } else BN_div(quo->bn, ((void *)0), bn, divisor->bn, ctx); BN_CTX_free(ctx); return quo; } - (BigNumber *) modExp:(BigNumber *)exponent modulus:(BigNumber *)m { if([exponent compare:[[BigNumber alloc] initWithLong:0]]>=0) { BigNumber *res = [[BigNumber alloc] init]; BN_CTX *ctx = BN_CTX_new(); BN_mod_exp(res->bn, bn, exponent->bn, m->bn, ctx); BN_CTX_free(ctx); return res; } else if([exponent compare:[[BigNumber alloc] initWithLong:-1]]==0) { return [self modInverse:m]; } else return (id)0; } - (BigNumber *) modInverse:(BigNumber *)mod { BigNumber *res = [[BigNumber alloc] init]; BN_CTX *ctx = BN_CTX_new(); BN_mod_inverse(res->bn,bn,mod->bn,ctx); BN_CTX_free(ctx); return res; } - (BigNumber *) negate { BigNumber *res = [self copy]; res->bn->neg=1; return res; } - (BigNumber *) copy { BigNumber *res = [BigNumber alloc]; BN_copy(res->bn, bn); res->didInit=(BOOL)1; return res; } - (BOOL) isZero { return (((bn)->top == 0) || (((bn)->top == 1) && ((bn)->d[0] == (unsigned long)(0)))); } - (BOOL) isOne { return (((((bn))->top == 1) && (((bn))->d[0] == (unsigned long)(1))) && !(bn)->neg); } - (BOOL) isNegative { BigNumber *zero = [[BigNumber alloc] initWithLong:0]; return ([self compare:zero] < 0); } - (NSString *) stringValue { char *cstr = BN_bn2dec(bn); NSString *r = [NSString stringWithCString:cstr]; return r; } - (BigNumber *) absoluteValue { if([self isNegative]) return [self negate]; return [self copy]; } + (BigNumber *) bigNumberFromString:(NSString *)decimalString { BigNumber *rtn = [BigNumber alloc]; char *decStr = malloc([decimalString length]+1); int irtn; NSException *exception; [decimalString getCString:decStr maxLength:[decimalString length]+1 encoding:NSASCIIStringEncoding]; irtn=BN_dec2bn(&(rtn->bn), decStr); free(decStr); if(irtn==0) { exception = [NSException exceptionWithName:@"ArgumentFormatException" reason:@"The string that was provided could not be converted to a BigNumber" userInfo:(id)0]; @throw exception; return (id)0; } return rtn; } - (NSData *) serialize { NSMutableData *mdata = [[NSMutableData alloc] init]; [mdata appendBytes:&bn->flags length:sizeof(bn->flags)]; [mdata appendBytes:&bn->neg length:sizeof(bn->neg)]; [mdata appendBytes:&bn->top length:sizeof(bn->top)]; [mdata appendBytes:&bn->dmax length:sizeof(bn->dmax)]; [mdata appendBytes:bn->d length:(bn->top * sizeof(unsigned long))]; return [NSData dataWithData:mdata]; } + (BigNumber *) deserialize:(NSData *) data { BigNumber *bn = [[BigNumber alloc] init]; NSRange range; range.location = 0; range.length = sizeof(bn->bn->flags); [data getBytes:&(bn->bn->flags) range:range]; range.location += range.length; range.length = sizeof(bn->bn->neg); [data getBytes:&(bn->bn->neg) range:range]; range.location += range.length; range.length = sizeof(bn->bn->top); [data getBytes:&(bn->bn->top) range:range]; range.location += range.length; range.length = sizeof(bn->bn->dmax); [data getBytes:&(bn->bn->dmax) range:range]; range.location += range.length; range.length = bn->bn->top * (sizeof(unsigned long)); bn->bn->d = malloc(range.length); [data getBytes:bn->bn->d range:range]; return bn; } - (int) bitLength { return BN_num_bits(bn); } + (BigNumber *) generatePrime:(int)bits { BigNumber *rtn = [[BigNumber alloc] init]; BN_generate_prime(rtn->bn, bits, (BOOL)1, ((void *)0), ((void *)0), ((void *)0), ((void *)0)); return rtn; } - (BigNumber *) rightShift:(int)positions { BigNumber *rtn = [[BigNumber alloc] init]; if(positions!=1) BN_rshift(rtn->bn, bn, positions); else BN_rshift1(rtn->bn, bn); return rtn; } - (BigNumber *) leftShift:(int)positions { BigNumber *rtn = [[BigNumber alloc] init]; if(positions!=1) BN_lshift(rtn->bn, bn, positions); else BN_lshift1(rtn->bn, bn); return rtn; } - (BIGNUM *)getBIGNUM { return bn; } - (NSData *) dataValue { return [NSData dataWithBytes:bn->d length:bn->top * sizeof(unsigned long)]; } + (BigNumber *) parseData:(NSData *)data { BigNumber *rtn = [[BigNumber alloc] init]; int len = [data length]; while((len%4)!=0) len++; rtn->bn->d = malloc(len); char *blarg = malloc([data length]); int p =((int)rtn->bn->d)+(len-[data length]); [data getBytes:blarg length:[data length]]; memset(rtn->bn->d,0,len); memcpy((void *)p, blarg, [data length]); free(blarg); rtn->bn->top = len/sizeof(unsigned long); rtn->bn->dmax = rtn->bn->top+1; return rtn; } @end