public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: objc/4975
@ 2001-11-22 14:26 Andrew Pinski
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Pinski @ 2001-11-22 14:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR objc/4975; it has been noted by GNATS.
From: Andrew Pinski <pinskia@physics.uc.edu>
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: objc/4975
Date: Fri, 30 Nov 2001 17:09:55 -0500 (EST)
--%--multipart-mixed-boundary-1.16524.1007158195--%
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Here lets try an old version of elm:
--%--multipart-mixed-boundary-1.16524.1007158195--%
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Description: ascii text
Content-Disposition: attachment; filename="Gene.mi"
# 1 "Gene.m"
# 1 "<builtin>"
# 1 "<command line>"
# 1 "Gene.m"
# 11 "Gene.m"
# 1 "Gene.h" 1
# 11 "Gene.h"
# 1 "/home/linux/System/Headers/Foundation/Foundation.h" 1
# 29 "/home/linux/System/Headers/Foundation/Foundation.h"
# 1 "/home/linux/System/Headers/Foundation/NSObjCRuntime.h" 1
# 27 "/home/linux/System/Headers/Foundation/NSObjCRuntime.h"
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/objc/objc.h" 1 3
# 34 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/objc.h" 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/stddef.h" 1 3
# 147 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/stddef.h" 3
typedef int ptrdiff_t;
# 201 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/stddef.h" 3
typedef unsigned int size_t;
# 293 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/stddef.h" 3
typedef long int wchar_t;
# 35 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/objc.h" 2 3
typedef unsigned char BOOL;
# 51 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/objc.h" 3
typedef const struct objc_selector
{
void *sel_id;
const char *sel_types;
} *SEL;
inline static BOOL
sel_eq (SEL s1, SEL s2)
{
if (s1 =3D=3D 0 || s2 =3D=3D 0)
return s1 =3D=3D s2;
else
return s1->sel_id =3D=3D s2->sel_id;
}
typedef struct objc_object {
struct objc_class* class_pointer;
} *id;
typedef id (*IMP)(id, SEL, ...);
typedef char *STR;
# 97 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/objc.h" 3
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;
};
# 141 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/objc/objc.h" 3
@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);
# 28 "/home/linux/System/Headers/Foundation/NSObjCRuntime.h" 2
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/objc/objc-api.h" 1 3
# 31 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/objc-api.h" 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/objc/hash.h" 1 3
# 31 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/hash.h" 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/stddef.h" 1 3
# 32 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/hash.h" 2 3
# 1 "/usr/include/string.h" 1 3
# 26 "/usr/include/string.h" 3
# 1 "/usr/include/features.h" 1 3
# 283 "/usr/include/features.h" 3
# 1 "/usr/include/sys/cdefs.h" 1 3
# 284 "/usr/include/features.h" 2 3
# 311 "/usr/include/features.h" 3
# 1 "/usr/include/gnu/stubs.h" 1 3
# 312 "/usr/include/features.h" 2 3
# 27 "/usr/include/string.h" 2 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/stddef.h" 1 3
# 34 "/usr/include/string.h" 2 3
extern void *memcpy (void *__restrict __dest,
__const void *__restrict __src, size_t __n) ;
extern void *memmove (void *__dest, __const void *__src, size_t __n)
;
extern void *memccpy (void *__restrict __dest, __const void *__restrict _=
_src,
int __c, size_t __n)
;
extern void *memset (void *__s, int __c, size_t __n) ;
extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
__attribute__ ((__pure__));
extern void *memchr (__const void *__s, int __c, size_t __n)
__attribute__ ((__pure__));
# 77 "/usr/include/string.h" 3
extern char *strcpy (char *__restrict __dest, __const char *__restrict __=
src)
;
extern char *strncpy (char *__restrict __dest,
__const char *__restrict __src, size_t __n) ;
extern char *strcat (char *__restrict __dest, __const char *__restrict __=
src)
;
extern char *strncat (char *__restrict __dest, __const char *__restrict _=
_src,
size_t __n) ;
extern int strcmp (__const char *__s1, __const char *__s2)
__attribute__ ((__pure__));
extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
__attribute__ ((__pure__));
extern int strcoll (__const char *__s1, __const char *__s2)
__attribute__ ((__pure__));
extern size_t strxfrm (char *__restrict __dest,
__const char *__restrict __src, size_t __n) ;
# 120 "/usr/include/string.h" 3
extern char *strdup (__const char *__s) __attribute__ ((__malloc__));
# 155 "/usr/include/string.h" 3
extern char *strchr (__const char *__s, int __c) __attribute__ ((__pure__=
));
extern char *strrchr (__const char *__s, int __c) __attribute__ ((__pure_=
_));
# 167 "/usr/include/string.h" 3
extern size_t strcspn (__const char *__s, __const char *__reject)
__attribute__ ((__pure__));
extern size_t strspn (__const char *__s, __const char *__accept)
__attribute__ ((__pure__));
extern char *strpbrk (__const char *__s, __const char *__accept)
__attribute__ ((__pure__));
extern char *strstr (__const char *__haystack, __const char *__needle)
__attribute__ ((__pure__));
# 187 "/usr/include/string.h" 3
extern char *strtok (char *__restrict __s, __const char *__restrict __del=
im)
;
extern char *__strtok_r (char *__restrict __s,
__const char *__restrict __delim,
char **__restrict __save_ptr) ;
extern char *strtok_r (char *__restrict __s, __const char *__restrict __d=
elim,
char **__restrict __save_ptr) ;
# 218 "/usr/include/string.h" 3
extern size_t strlen (__const char *__s) __attribute__ ((__pure__));
# 229 "/usr/include/string.h" 3
extern char *strerror (int __errnum) ;
extern char *__strerror_r (int __errnum, char *__buf, size_t __buflen) ;
extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) ;
extern void __bzero (void *__s, size_t __n) ;
extern void bcopy (__const void *__src, void *__dest, size_t __n) ;
extern void bzero (void *__s, size_t __n) ;
extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
__attribute__ ((__pure__));
extern char *index (__const char *__s, int __c) __attribute__ ((__pure__)=
);
extern char *rindex (__const char *__s, int __c) __attribute__ ((__pure__=
));
extern int __ffs (int __i) __attribute__ ((const));
extern int ffs (int __i) __attribute__ ((const));
# 274 "/usr/include/string.h" 3
extern int strcasecmp (__const char *__s1, __const char *__s2)
__attribute__ ((__pure__));
extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __=
n)
__attribute__ ((__pure__));
# 296 "/usr/include/string.h" 3
extern char *strsep (char **__restrict __stringp,
__const char *__restrict __delim) ;
# 358 "/usr/include/string.h" 3
# 1 "/usr/include/bits/string.h" 1 3
# 359 "/usr/include/string.h" 2 3
# 1 "/usr/include/bits/string2.h" 1 3
# 52 "/usr/include/bits/string2.h" 3
# 1 "/usr/include/endian.h" 1 3
# 37 "/usr/include/endian.h" 3
# 1 "/usr/include/bits/endian.h" 1 3
# 38 "/usr/include/endian.h" 2 3
# 53 "/usr/include/bits/string2.h" 2 3
# 1 "/usr/include/bits/types.h" 1 3
# 29 "/usr/include/bits/types.h" 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/stddef.h" 1 3
# 30 "/usr/include/bits/types.h" 2 3
typedef unsigned char __u_char;
typedef unsigned short __u_short;
typedef unsigned int __u_int;
typedef unsigned long __u_long;
__extension__ typedef unsigned long long int __u_quad_t;
__extension__ typedef long long int __quad_t;
# 49 "/usr/include/bits/types.h" 3
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;
typedef __quad_t *__qaddr_t;
typedef __u_quad_t __dev_t;
typedef __u_int __uid_t;
typedef __u_int __gid_t;
typedef __u_long __ino_t;
typedef __u_int __mode_t;
typedef __u_int __nlink_t;
typedef long int __off_t;
typedef __quad_t __loff_t;
typedef int __pid_t;
typedef int __ssize_t;
typedef __u_long __rlim_t;
typedef __u_quad_t __rlim64_t;
typedef __u_int __id_t;
typedef struct
{
int __val[2];
} __fsid_t;
typedef int __daddr_t;
typedef char *__caddr_t;
typedef long int __time_t;
typedef unsigned int __useconds_t;
typedef long int __suseconds_t;
typedef long int __swblk_t;
typedef long int __clock_t;
typedef int __clockid_t;
typedef int __timer_t;
typedef unsigned long int __fd_mask;
# 109 "/usr/include/bits/types.h" 3
typedef struct
{
__fd_mask __fds_bits[1024 / (8 * sizeof (__fd_mask))];
} __fd_set;
typedef int __key_t;
typedef unsigned short int __ipc_pid_t;
typedef long int __blksize_t;
typedef long int __blkcnt_t;
typedef __quad_t __blkcnt64_t;
typedef __u_long __fsblkcnt_t;
typedef __u_quad_t __fsblkcnt64_t;
typedef __u_long __fsfilcnt_t;
typedef __u_quad_t __fsfilcnt64_t;
typedef __u_quad_t __ino64_t;
typedef __loff_t __off64_t;
typedef long int __t_scalar_t;
typedef unsigned long int __t_uscalar_t;
typedef int __intptr_t;
typedef unsigned int __socklen_t;
# 1 "/usr/include/bits/pthreadtypes.h" 1 3
# 23 "/usr/include/bits/pthreadtypes.h" 3
# 1 "/usr/include/bits/sched.h" 1 3
# 68 "/usr/include/bits/sched.h" 3
struct __sched_param
{
int sched_priority;
};
# 24 "/usr/include/bits/pthreadtypes.h" 2 3
struct _pthread_fastlock
{
long int __status;
int __spinlock;
};
typedef struct _pthread_descr_struct *_pthread_descr;
typedef struct
{
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;
typedef struct
{
struct _pthread_fastlock __c_lock;
_pthread_descr __c_waiting;
} 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;
# 140 "/usr/include/bits/pthreadtypes.h" 3
typedef unsigned long int pthread_t;
# 166 "/usr/include/bits/types.h" 2 3
# 54 "/usr/include/bits/string2.h" 2 3
# 371 "/usr/include/bits/string2.h" 3
extern void *__rawmemchr (const void *__s, int __c);
# 395 "/usr/include/bits/string2.h" 3
extern __inline char *__strcpy_small (char *, __uint16_t, __uint16_t,
__uint32_t, __uint32_t, size_t);
extern __inline char *
__strcpy_small (char *__dest,
__uint16_t __src0_2, __uint16_t __src4_2,
__uint32_t __src0_4, __uint32_t __src4_4,
size_t __srclen)
{
union {
__uint32_t __ui;
__uint16_t __usi;
unsigned char __uc;
} *__u =3D (void *) __dest;
switch ((unsigned int) __srclen)
{
case 1:
__u->__uc =3D '\0';
break;
case 2:
__u->__usi =3D __src0_2;
break;
case 3:
__u->__usi =3D __src0_2;
__u =3D __extension__ ((void *) __u + 2);
__u->__uc =3D '\0';
break;
case 4:
__u->__ui =3D __src0_4;
break;
case 5:
__u->__ui =3D __src0_4;
__u =3D __extension__ ((void *) __u + 4);
__u->__uc =3D '\0';
break;
case 6:
__u->__ui =3D __src0_4;
__u =3D __extension__ ((void *) __u + 4);
__u->__usi =3D __src4_2;
break;
case 7:
__u->__ui =3D __src0_4;
__u =3D __extension__ ((void *) __u + 4);
__u->__usi =3D __src4_2;
__u =3D __extension__ ((void *) __u + 2);
__u->__uc =3D '\0';
break;
case 8:
__u->__ui =3D __src0_4;
__u =3D __extension__ ((void *) __u + 4);
__u->__ui =3D __src4_4;
break;
}
return __dest;
}
# 873 "/usr/include/bits/string2.h" 3
extern __inline size_t __strcspn_c1 (__const char *__s, char __reject);
extern __inline size_t
__strcspn_c1 (__const char *__s, char __reject)
{
register size_t __result =3D 0;
while (__s[__result] !=3D '\0' && __s[__result] !=3D __reject)
++__result;
return __result;
}
extern __inline size_t __strcspn_c2 (__const char *__s, char __reject1,
char __reject2);
extern __inline size_t
__strcspn_c2 (__const char *__s, char __reject1, char __reject2)
{
register size_t __result =3D 0;
while (__s[__result] !=3D '\0' && __s[__result] !=3D __reject1
&& __s[__result] !=3D __reject2)
++__result;
return __result;
}
extern __inline size_t __strcspn_c3 (__const char *__s, char __reject1,
char __reject2, char __reject3);
extern __inline size_t
__strcspn_c3 (__const char *__s, char __reject1, char __reject2,
char __reject3)
{
register size_t __result =3D 0;
while (__s[__result] !=3D '\0' && __s[__result] !=3D __reject1
&& __s[__result] !=3D __reject2 && __s[__result] !=3D __reject3)=
++__result;
return __result;
}
# 928 "/usr/include/bits/string2.h" 3
extern __inline size_t __strspn_c1 (__const char *__s, char __accept);
extern __inline size_t
__strspn_c1 (__const char *__s, char __accept)
{
register size_t __result =3D 0;
while (__s[__result] =3D=3D __accept)
++__result;
return __result;
}
extern __inline size_t __strspn_c2 (__const char *__s, char __accept1,
char __accept2);
extern __inline size_t
__strspn_c2 (__const char *__s, char __accept1, char __accept2)
{
register size_t __result =3D 0;
while (__s[__result] =3D=3D __accept1 || __s[__result] =3D=3D __accept2=
)
++__result;
return __result;
}
extern __inline size_t __strspn_c3 (__const char *__s, char __accept1,
char __accept2, char __accept3);
extern __inline size_t
__strspn_c3 (__const char *__s, char __accept1, char __accept2, char __ac=
cept3)
{
register size_t __result =3D 0;
while (__s[__result] =3D=3D __accept1 || __s[__result] =3D=3D __accept2=
|| __s[__result] =3D=3D __accept3)
++__result;
return __result;
}
# 983 "/usr/include/bits/string2.h" 3
extern __inline char *__strpbrk_c2 (__const char *__s, char __accept1,
char __accept2);
extern __inline char *
__strpbrk_c2 (__const char *__s, char __accept1, char __accept2)
{
while (*__s !=3D '\0' && *__s !=3D __accept1 && *__s !=3D __accept2)
++__s;
return *__s =3D=3D '\0' ? ((void *)0) : (char *) (size_t) __s;
}
extern __inline char *__strpbrk_c3 (__const char *__s, char __accept1,
char __accept2, char __accept3);
extern __inline char *
__strpbrk_c3 (__const char *__s, char __accept1, char __accept2,
char __accept3)
{
while (*__s !=3D '\0' && *__s !=3D __accept1 && *__s !=3D __accept2
&& *__s !=3D __accept3)
++__s;
return *__s =3D=3D '\0' ? ((void *)0) : (char *) (size_t) __s;
}
# 1045 "/usr/include/bits/string2.h" 3
extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__next=
p);
extern __inline char *
__strtok_r_1c (char *__s, char __sep, char **__nextp)
{
char *__result;
if (__s =3D=3D ((void *)0))
__s =3D *__nextp;
while (*__s =3D=3D __sep)
++__s;
if (*__s =3D=3D '\0')
__result =3D ((void *)0);
else
{
__result =3D __s;
while (*__s !=3D '\0' && *__s !=3D __sep)
++__s;
if (*__s =3D=3D '\0')
*__nextp =3D __s;
else
{
*__s =3D '\0';
*__nextp =3D __s + 1;
}
}
return __result;
}
# 1095 "/usr/include/bits/string2.h" 3
extern __inline char *__strsep_1c (char **__s, char __reject);
extern __inline char *
__strsep_1c (char **__s, char __reject)
{
register char *__retval =3D *__s;
if (__retval =3D=3D ((void *)0))
return *__s =3D ((void *)0);
if (*__retval =3D=3D __reject)
*(*__s)++ =3D '\0';
else
if ((*__s =3D (__extension__ (__builtin_constant_p (__reject) && (__r=
eject) =3D=3D '\0' ? (char *) __rawmemchr (__retval, __reject) : strchr (=
__retval, __reject)))) !=3D ((void *)0))
*(*__s)++ =3D '\0';
else
*__s =3D ((void *)0);
return __retval;
}
extern __inline char *__strsep_2c (char **__s, char __reject1, char __rej=
ect2);
extern __inline char *
__strsep_2c (char **__s, char __reject1, char __reject2)
{
register char *__retval =3D *__s;
if (__retval =3D=3D ((void *)0))
return *__s =3D ((void *)0);
if (*__retval =3D=3D __reject1 || *__retval =3D=3D __reject2)
*(*__s)++ =3D '\0';
else
{
register char *__cp =3D __retval;
while (*__cp !=3D '\0' && *__cp !=3D __reject1 && *__cp !=3D __reje=
ct2)
++__cp;
if (*__cp !=3D '\0')
{
*__s =3D __cp;
*(*__s)++ =3D '\0';
}
else
*__s =3D ((void *)0);
}
return __retval;
}
extern __inline char *__strsep_3c (char **__s, char __reject1, char __rej=
ect2,
char __reject3);
extern __inline char *
__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3)
{
register char *__retval =3D *__s;
if (__retval =3D=3D ((void *)0))
return *__s =3D ((void *)0);
if (*__retval =3D=3D __reject1 || *__retval =3D=3D __reject2
|| *__retval =3D=3D __reject3)
*(*__s)++ =3D '\0';
else
{
register char *__cp =3D __retval;
while (*__cp !=3D '\0' && *__cp !=3D __reject1 && *__cp !=3D __reje=
ct2
&& *__cp !=3D __reject3)
++__cp;
if (*__cp !=3D '\0')
{
*__s =3D __cp;
*(*__s)++ =3D '\0';
}
else
*__s =3D ((void *)0);
}
return __retval;
}
extern __inline char *__strsep_g (char **__s, __const char *__reject);
extern __inline char *
__strsep_g (char **__s, __const char *__reject)
{
register char *__retval =3D *__s;
if (__retval =3D=3D ((void *)0))
return ((void *)0);
if ((*__s =3D __extension__ ({ char __a0, __a1, __a2; (__builtin_consta=
nt_p (__reject) && ((size_t)(const void *)((__reject) + 1) - (size_t)(con=
st void *)(__reject) =3D=3D 1) ? ((__a0 =3D ((__const char *) (__reject))=
[0], __a0 =3D=3D '\0') ? ((void) (__retval), ((void *)0)) : ((__a1 =3D ((=
__const char *) (__reject))[1], __a1 =3D=3D '\0') ? (__extension__ (__bui=
ltin_constant_p (__a0) && (__a0) =3D=3D '\0' ? (char *) __rawmemchr (__re=
tval, __a0) : strchr (__retval, __a0))) : ((__a2 =3D ((__const char *) (_=
_reject))[2], __a2 =3D=3D '\0') ? __strpbrk_c2 (__retval, __a0, __a1) : (=
((__const char *) (__reject))[3] =3D=3D '\0' ? __strpbrk_c3 (__retval, __=
a0, __a1, __a2) : strpbrk (__retval, __reject))))) : strpbrk (__retval, _=
_reject)); })) !=3D ((void *)0))
*(*__s)++ =3D '\0';
return __retval;
}
# 1188 "/usr/include/bits/string2.h" 3
# 1 "/usr/include/stdlib.h" 1 3
# 33 "/usr/include/stdlib.h" 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/stddef.h" 1 3
# 34 "/usr/include/stdlib.h" 2 3
# 526 "/usr/include/stdlib.h" 3
extern void *malloc (size_t __size) __attribute__ ((__malloc__));
extern void *calloc (size_t __nmemb, size_t __size)
__attribute__ ((__malloc__));
# 864 "/usr/include/stdlib.h" 3
# 1189 "/usr/include/bits/string2.h" 2 3
extern char *__strdup (__const char *__string) __attribute__ ((__malloc__=
));
# 1212 "/usr/include/bits/string2.h" 3
extern char *__strndup (__const char *__string, size_t __n)
__attribute__ ((__malloc__));
# 362 "/usr/include/string.h" 2 3
# 33 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/hash.h" 2 3
# 42 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/hash.h" 3
typedef struct cache_node
{
struct cache_node *next;
const void *key;
void *value;
} *node_ptr;
# 63 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/hash.h" 3
typedef unsigned int (*hash_func_type)(void *, const void *);
# 72 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/hash.h" 3
typedef int (*compare_func_type)(const void *, const void *);
# 81 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/hash.h" 3
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 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/objc/hash.h" 3
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 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/objc/hash.h" 3
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 =3D 0;
unsigned int ctr =3D 0;
while (*(char*)key) {
ret ^=3D *(char*)key++ << ctr;
ctr =3D (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 =3D=3D k2)
return 1;
else if (k1 =3D=3D 0 || k2 =3D=3D 0)
return 0;
else
return !__extension__ ({ size_t __s1_len, __s2_len; (__builtin_consta=
nt_p (k1) && __builtin_constant_p (k2) && (__s1_len =3D strlen (k1), __s2=
_len =3D strlen (k2), (!((size_t)(const void *)((k1) + 1) - (size_t)(cons=
t void *)(k1) =3D=3D 1) || __s1_len >=3D 4) && (!((size_t)(const void *)(=
(k2) + 1) - (size_t)(const void *)(k2) =3D=3D 1) || __s2_len >=3D 4)) ? m=
emcmp ((__const char *) (k1), (__const char *) (k2), (__s1_len < __s2_len=
? __s1_len : __s2_len) + 1) : (__builtin_constant_p (k1) && ((size_t)(co=
nst void *)((k1) + 1) - (size_t)(const void *)(k1) =3D=3D 1) && (__s1_len=
=3D strlen (k1), __s1_len < 4) ? (__builtin_constant_p (k2) && ((size_t)=
(const void *)((k2) + 1) - (size_t)(const void *)(k2) =3D=3D 1) ? (__exte=
nsion__ ({ register int __result =3D (((__const unsigned char *) (__const=
char *) (k1))[0] - ((__const unsigned char *) (__const char *)(k2))[0]);=
if (__s1_len > 0 && __result =3D=3D 0) { __result =3D (((__const unsigne=
d char *) (__const char *) (k1))[1] - ((__const unsigned char *) (__const=
char *) (k2))[1]); if (__s1_len > 1 && __result =3D=3D 0) { __result =3D=
(((__const unsigned char *) (__const char *) (k1))[2] - ((__const unsign=
ed char *) (__const char *) (k2))[2]); if (__s1_len > 2 && __result =3D=3D=
0) __result =3D (((__const unsigned char *) (__const char *) (k1))[3] - =
((__const unsigned char *) (__const char *) (k2))[3]); } } __result; })) =
: (__extension__ ({ __const unsigned char *__s2 =3D (__const unsigned cha=
r *) (__const char *) (k2); register int __result =3D (((__const unsigned=
char *) (__const char *) (k1))[0] - __s2[0]); if (__s1_len > 0 && __resu=
lt =3D=3D 0) { __result =3D (((__const unsigned char *) (__const char *) =
(k1))[1] - __s2[1]); if (__s1_len > 1 && __result =3D=3D 0) { __result =3D=
(((__const unsigned char *) (__const char *) (k1))[2] - __s2[2]); if (__=
s1_len > 2 && __result =3D=3D 0) __result =3D (((__const unsigned char *)=
(__const char *) (k1))[3] - __s2[3]); } } __result; }))) : (__builtin_co=
nstant_p (k2) && ((size_t)(const void *)((k2) + 1) - (size_t)(const void =
*)(k2) =3D=3D 1) && (__s2_len =3D strlen (k2), __s2_len < 4) ? (__builtin=
_constant_p (k1) && ((size_t)(const void *)((k1) + 1) - (size_t)(const vo=
id *)(k1) =3D=3D 1) ? (__extension__ ({ register int __result =3D (((__co=
nst unsigned char *) (__const char *) (k1))[0] - ((__const unsigned char =
*) (__const char *)(k2))[0]); if (__s2_len > 0 && __result =3D=3D 0) { __=
result =3D (((__const unsigned char *) (__const char *) (k1))[1] - ((__co=
nst unsigned char *) (__const char *) (k2))[1]); if (__s2_len > 1 && __re=
sult =3D=3D 0) { __result =3D (((__const unsigned char *) (__const char *=
) (k1))[2] - ((__const unsigned char *) (__const char *) (k2))[2]); if (_=
_s2_len > 2 && __result =3D=3D 0) __result =3D (((__const unsigned char *=
) (__const char *) (k1))[3] - ((__const unsigned char *) (__const char *)=
(k2))[3]); } } __result; })) : (__extension__ ({ __const unsigned char *=
__s1 =3D (__const unsigned char *) (__const char *) (k1); register int __=
result =3D __s1[0] - ((__const unsigned char *) (__const char *) (k2))[0]=
; if (__s2_len > 0 && __result =3D=3D 0) { __result =3D (__s1[1] - ((__co=
nst unsigned char *) (__const char *) (k2))[1]); if (__s2_len > 1 && __re=
sult =3D=3D 0) { __result =3D (__s1[2] - ((__const unsigned char *) (__co=
nst char *) (k2))[2]); if (__s2_len > 2 && __result =3D=3D 0) __result =3D=
(__s1[3] - ((__const unsigned char *) (__const char *) (k2))[3]); } } __=
result; }))) : strcmp (k1, k2)))); });
}
# 32 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/objc-api.h" 2 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/objc/thr.h" 1 3
# 46 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/thr.h" 3
extern int __objc_thread_exit_status;
# 58 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/thr.h" 3
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 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/objc/thr.h" 3
typedef void (*objc_thread_callback)();
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 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/objc-api.h" 2 3
# 1 "/usr/include/stdio.h" 1 3
# 29 "/usr/include/stdio.h" 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/stddef.h" 1 3
# 34 "/usr/include/stdio.h" 2 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/stdarg.h" 1 3
# 43 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/stdarg.h" 3
typedef __builtin_va_list __gnuc_va_list;
# 39 "/usr/include/stdio.h" 2 3
# 49 "/usr/include/stdio.h" 3
typedef struct _IO_FILE FILE;
# 59 "/usr/include/stdio.h" 3
typedef struct _IO_FILE __FILE;
# 69 "/usr/include/stdio.h" 3
# 1 "/usr/include/libio.h" 1 3
# 30 "/usr/include/libio.h" 3
# 1 "/usr/include/_G_config.h" 1 3
# 14 "/usr/include/_G_config.h" 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/stddef.h" 1 3
# 320 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/stddef.h" 3
typedef unsigned int wint_t;
# 15 "/usr/include/_G_config.h" 2 3
# 24 "/usr/include/_G_config.h" 3
# 1 "/usr/include/wchar.h" 1 3
# 45 "/usr/include/wchar.h" 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/stddef.h" 1 3
# 46 "/usr/include/wchar.h" 2 3
# 1 "/usr/include/bits/wchar.h" 1 3
# 48 "/usr/include/wchar.h" 2 3
# 64 "/usr/include/wchar.h" 3
typedef struct
{
int __count;
union
{
wint_t __wch;
char __wchb[4];
} __value;
} __mbstate_t;
# 25 "/usr/include/_G_config.h" 2 3
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
# 1 "/usr/include/gconv.h" 1 3
# 28 "/usr/include/gconv.h" 3
# 1 "/usr/include/wchar.h" 1 3
# 45 "/usr/include/wchar.h" 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/stddef.h" 1 3
# 46 "/usr/include/wchar.h" 2 3
# 29 "/usr/include/gconv.h" 2 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/stddef.h" 1 3
# 31 "/usr/include/gconv.h" 2 3
enum
{
__GCONV_OK =3D 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 =3D 0x0001,
__GCONV_IGNORE_ERRORS =3D 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_da=
ta *,
__const unsigned char **, __const unsigned ch=
ar *,
unsigned char **, size_t *, int, int);
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_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
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__)));
# 31 "/usr/include/libio.h" 2 3
# 51 "/usr/include/libio.h" 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/stdarg.h" 1 3
# 52 "/usr/include/libio.h" 2 3
# 158 "/usr/include/libio.h" 3
struct _IO_jump_t; struct _IO_FILE;
# 168 "/usr/include/libio.h" 3
typedef void _IO_lock_t;
struct _IO_marker {
struct _IO_marker *_next;
struct _IO_FILE *_sbuf;
int _pos;
# 191 "/usr/include/libio.h" 3
};
enum __codecvt_result
{
__codecvt_ok,
__codecvt_partial,
__codecvt_error,
__codecvt_noconv
};
# 259 "/usr/include/libio.h" 3
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 _blksize;
__off_t _old_offset;
unsigned short _cur_column;
signed char _vtable_offset;
char _shortbuf[1];
_IO_lock_t *_lock;
# 303 "/usr/include/libio.h" 3
__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_;
# 342 "/usr/include/libio.h" 3
typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nby=
tes);
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);
# 394 "/usr/include/libio.h" 3
extern int __underflow (_IO_FILE *) ;
extern int __uflow (_IO_FILE *) ;
extern int __overflow (_IO_FILE *, int) ;
extern wint_t __wunderflow (_IO_FILE *) ;
extern wint_t __wuflow (_IO_FILE *) ;
extern wint_t __woverflow (_IO_FILE *, wint_t) ;
# 424 "/usr/include/libio.h" 3
extern int _IO_getc (_IO_FILE *__fp) ;
extern int _IO_putc (int __c, _IO_FILE *__fp) ;
extern int _IO_feof (_IO_FILE *__fp) ;
extern int _IO_ferror (_IO_FILE *__fp) ;
extern int _IO_peekc_locked (_IO_FILE *__fp) ;
extern void _IO_flockfile (_IO_FILE *) ;
extern void _IO_funlockfile (_IO_FILE *) ;
extern int _IO_ftrylockfile (_IO_FILE *) ;
# 454 "/usr/include/libio.h" 3
extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
__gnuc_va_list, int *__restrict) ;
extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
__gnuc_va_list) ;
extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) ;
extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) ;
extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) ;
extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) ;
extern void _IO_free_backup_area (_IO_FILE *) ;
# 70 "/usr/include/stdio.h" 2 3
typedef _G_fpos_t fpos_t;
# 122 "/usr/include/stdio.h" 3
# 1 "/usr/include/bits/stdio_lim.h" 1 3
# 123 "/usr/include/stdio.h" 2 3
extern FILE *stdin;
extern FILE *stdout;
extern FILE *stderr;
# 137 "/usr/include/stdio.h" 3
extern int remove (__const char *__filename) ;
extern int rename (__const char *__old, __const char *__new) ;
extern FILE *tmpfile (void) ;
# 156 "/usr/include/stdio.h" 3
extern char *tmpnam (char *__s) ;
extern char *tmpnam_r (char *__s) ;
# 173 "/usr/include/stdio.h" 3
extern char *tempnam (__const char *__dir, __const char *__pfx)
__attribute__ ((__malloc__));
extern int fclose (FILE *__stream) ;
extern int fflush (FILE *__stream) ;
extern int fflush_unlocked (FILE *__stream) ;
# 196 "/usr/include/stdio.h" 3
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) ;
# 226 "/usr/include/stdio.h" 3
extern FILE *fdopen (int __fd, __const char *__modes) ;
# 249 "/usr/include/stdio.h" 3
extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) ;
extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
int __modes, size_t __n) ;
extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,=
size_t __size) ;
extern void setlinebuf (FILE *__stream) ;
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, ...) ;
extern int vfprintf (FILE *__restrict __s, __const char *__restrict __for=
mat,
__gnuc_va_list __arg) ;
extern int vprintf (__const char *__restrict __format, __gnuc_va_list __a=
rg)
;
extern int vsprintf (char *__restrict __s, __const char *__restrict __for=
mat,
__gnuc_va_list __arg) ;
extern int snprintf (char *__restrict __s, size_t __maxlen,
__const char *__restrict __format, ...)
__attribute__ ((__format__ (__printf__, 3, 4)));
extern int __vsnprintf (char *__restrict __s, size_t __maxlen,
__const char *__restrict __format, __gnuc_va_list=
__arg)
__attribute__ ((__format__ (__printf__, 3, 0)));
extern int vsnprintf (char *__restrict __s, size_t __maxlen,
__const char *__restrict __format, __gnuc_va_list _=
_arg)
__attribute__ ((__format__ (__printf__, 3, 0)));
# 323 "/usr/include/stdio.h" 3
extern int fscanf (FILE *__restrict __stream,
__const char *__restrict __format, ...) ;
extern int scanf (__const char *__restrict __format, ...) ;
extern int sscanf (__const char *__restrict __s,
__const char *__restrict __format, ...) ;
# 349 "/usr/include/stdio.h" 3
extern int fgetc (FILE *__stream) ;
extern int getc (FILE *__stream) ;
extern int getchar (void) ;
extern int getc_unlocked (FILE *__stream) ;
extern int getchar_unlocked (void) ;
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) ;
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 __str=
eam)
;
# 415 "/usr/include/stdio.h" 3
extern char *gets (char *__s) ;
# 439 "/usr/include/stdio.h" 3
extern int fputs (__const char *__restrict __s, FILE *__restrict __stream=
)
;
# 449 "/usr/include/stdio.h" 3
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) ;
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 __s=
ize,
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) ;
# 487 "/usr/include/stdio.h" 3
typedef __off_t off_t;
# 509 "/usr/include/stdio.h" 3
extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos)
;
extern int fsetpos (FILE *__stream, __const fpos_t *__pos) ;
# 545 "/usr/include/stdio.h" 3
extern void clearerr (FILE *__stream) ;
extern int feof (FILE *__stream) ;
extern int ferror (FILE *__stream) ;
extern void clearerr_unlocked (FILE *__stream) ;
extern int feof_unlocked (FILE *__stream) ;
extern int ferror_unlocked (FILE *__stream) ;
extern void perror (__const char *__s) ;
extern int sys_nerr;
extern __const char *__const sys_errlist[];
# 576 "/usr/include/stdio.h" 3
extern int fileno (FILE *__stream) ;
extern int fileno_unlocked (FILE *__stream) ;
extern FILE *popen (__const char *__command, __const char *__modes) ;
extern int pclose (FILE *__stream) ;
extern char *ctermid (char *__s) ;
# 623 "/usr/include/stdio.h" 3
extern void flockfile (FILE *__stream) ;
extern int ftrylockfile (FILE *__stream) ;
extern void funlockfile (FILE *__stream) ;
# 644 "/usr/include/stdio.h" 3
# 1 "/usr/include/bits/stdio.h" 1 3
# 39 "/usr/include/bits/stdio.h" 3
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 ((__fp)->_IO_read_ptr >=3D (__fp)->_IO_read_end ? __uflow (__fp)=
: *(unsigned char *) (__fp)->_IO_read_ptr++);
}
extern __inline int
getchar_unlocked (void)
{
return ((stdin)->_IO_read_ptr >=3D (stdin)->_IO_read_end ? __uflow (std=
in) : *(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 (((__stream)->_IO_write_ptr >=3D (__stream)->_IO_write_end) ? __=
overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)=
->_IO_write_ptr++ =3D (__c)));
}
extern __inline int
putc_unlocked (int __c, FILE *__stream)
{
return (((__stream)->_IO_write_ptr >=3D (__stream)->_IO_write_end) ? __=
overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)=
->_IO_write_ptr++ =3D (__c)));
}
extern __inline int
putchar_unlocked (int __c)
{
return (((stdout)->_IO_write_ptr >=3D (stdout)->_IO_write_end) ? __over=
flow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_wr=
ite_ptr++ =3D (__c)));
}
# 117 "/usr/include/bits/stdio.h" 3
extern __inline int
feof_unlocked (FILE *__stream)
{
return (((__stream)->_flags & 0x10) !=3D 0);
}
extern __inline int
ferror_unlocked (FILE *__stream)
{
return (((__stream)->_flags & 0x20) !=3D 0);
}
# 645 "/usr/include/stdio.h" 2 3
# 34 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/objc-api.h" 2 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/stdarg.h" 1 3
# 110 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/stdarg.h" 3
typedef __gnuc_va_list va_list;
# 35 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/objc-api.h" 2 3
# 44 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/objc-api.h" 3
struct objc_method_description
{
SEL name;
char *types;
};
# 100 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/objc/objc-api.h" 3
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 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/objc/objc-api.h" 3
extern BOOL objc_trace;
struct objc_static_instances
{
char *class_name;
id instances[0];
};
# 160 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/objc/objc-api.h" 3
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 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/objc/objc-api.h" 3
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 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/objc/objc-api.h" 3
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;
int count;
Protocol *list[1];
};
# 319 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/objc/objc-api.h" 3
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 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/objc/objc-api.h" 3
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 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/objc/objc-api.h" 3
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)=3D=3D0x1L))?class->name:((clas=
s=3D=3D(Class)0)?"Nil":0);
}
static inline long
class_get_instance_size(Class class)
{
return ((class)&&((((class)->info)&0x1L)=3D=3D0x1L))?class->instance_si=
ze:0;
}
static inline MetaClass
class_get_meta_class(Class class)
{
return ((class)&&((((class)->info)&0x1L)=3D=3D0x1L))?class->class_point=
er:(Class)0;
}
static inline Class
class_get_super_class(Class class)
{
return ((class)&&((((class)->info)&0x1L)=3D=3D0x1L))?class->super_class=
:(Class)0;
}
static inline int
class_get_version(Class class)
{
return ((class)&&((((class)->info)&0x1L)=3D=3D0x1L))?class->version:-1;=
}
static inline BOOL
class_is_class(Class class)
{
return ((class)&&((((class)->info)&0x1L)=3D=3D0x1L));
}
static inline BOOL
class_is_meta_class(Class class)
{
return ((class)&&((((class)->info)&0x2L)=3D=3D0x2L));
}
static inline void
class_set_version(Class class, long version)
{
if (((class)&&((((class)->info)&0x1L)=3D=3D0x1L)))
class->version =3D version;
}
static inline void *
class_get_gc_object_type (Class class)
{
return ((class)&&((((class)->info)&0x1L)=3D=3D0x1L)) ? 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!=3D(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!=3D(id)0)
? (((object->class_pointer)&&((((object->class_pointer)->info)&=
0x1L)=3D=3D0x1L))
? object->class_pointer
: (((object->class_pointer)&&((((object->class_pointer)->inf=
o)&0x2L)=3D=3D0x2L))
? (Class)object
: (Class)0))
: (Class)0);
}
static inline const char *
object_get_class_name(id object)
{
return ((object!=3D(id)0)?(((object->class_pointer)&&((((object->class_=
pointer)->info)&0x1L)=3D=3D0x1L))
?object->class_pointer->name
:((Class)object)->name)
:"Nil");
}
static inline MetaClass
object_get_meta_class(id object)
{
return ((object!=3D(id)0)?(((object->class_pointer)&&((((object->class_=
pointer)->info)&0x1L)=3D=3D0x1L))
?object->class_pointer->class_pointer
:(((object->class_pointer)&&((((object->class_po=
inter)->info)&0x2L)=3D=3D0x2L))
?object->class_pointer
:(Class)0))
:(Class)0);
}
static inline Class
object_get_super_class
(id object)
{
return ((object!=3D(id)0)?(((object->class_pointer)&&((((object->class_=
pointer)->info)&0x1L)=3D=3D0x1L))
?object->class_pointer->super_class
:(((object->class_pointer)&&((((object->class_po=
inter)->info)&0x2L)=3D=3D0x2L))
?((Class)object)->super_class
:(Class)0))
:(Class)0);
}
static inline BOOL
object_is_class (id object)
{
return ((object !=3D (id)0) && ((object->class_pointer)&&((((object->cl=
ass_pointer)->info)&0x2L)=3D=3D0x2L)));
}
static inline BOOL
object_is_instance (id object)
{
return ((object !=3D (id)0) && ((object->class_pointer)&&((((object->cl=
ass_pointer)->info)&0x1L)=3D=3D0x1L)));
}
static inline BOOL
object_is_meta_class (id object)
{
return ((object !=3D (id)0)
&& !object_is_instance (object)
&& !object_is_class (object));
}
struct sarray*
objc_get_uninstalled_dtable(void);
# 29 "/home/linux/System/Headers/Foundation/NSObjCRuntime.h" 2
# 42 "/home/linux/System/Headers/Foundation/NSObjCRuntime.h"
@class NSObject;
@class NSString;
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);
typedef void NSLog_printf_handler (NSString* message);
extern NSLog_printf_handler *_NSLog_printf_handler;
extern void NSLog (NSString* format, ...);
extern void NSLogv (NSString* format, va_list args);
# 82 "/home/linux/System/Headers/Foundation/NSObjCRuntime.h"
extern BOOL GSInstanceVariableInfo(id obj, NSString *iVarName,
const char **type, unsigned *size, unsigned *offset);
extern BOOL GSGetInstanceVariable(id obj, NSString *name, void* data);
extern BOOL GSSetInstanceVariable(id obj, NSString *name, const void* dat=
a);
static inline Class
GSObjCClass(id obj)
{
return obj->class_pointer;
}
static inline BOOL
GSObjCIsInstance(id obj)
{
return ((obj->class_pointer)&&((((obj->class_pointer)->info)&0x1L)=3D=3D=
0x1L));
}
static inline BOOL
GSObjCIsKindOf(Class this, Class other)
{
while (this !=3D (Class)0)
{
if (this =3D=3D other)
{
return (BOOL)1;
}
this =3D class_get_super_class(this);
}
return (BOOL)0;
}
static inline const char*
GSObjCName(Class this)
{
return this->name;
}
static inline const char*
GSObjCSelectorName(SEL this)
{
return sel_get_name(this);
}
static inline const char*
GSObjCSelectorTypes(SEL this)
{
return sel_get_type(this);
}
static inline Class
GSObjCSuper(Class this)
{
return class_get_super_class(this);
}
static inline int
GSObjCVersion(Class this)
{
return this->version;
}
# 1 "/home/linux/System/Headers/Foundation/NSZone.h" 1
# 26 "/home/linux/System/Headers/Foundation/NSZone.h"
typedef struct _NSZone NSZone;
# 1 "/home/linux/System/Headers/Foundation/NSObjCRuntime.h" 1
# 29 "/home/linux/System/Headers/Foundation/NSZone.h" 2
@class NSString;
struct NSZoneStats
{
size_t bytes_total;
size_t chunks_used;
size_t bytes_used;
size_t chunks_free;
size_t bytes_free;
};
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);
# 72 "/home/linux/System/Headers/Foundation/NSZone.h"
extern NSZone* __nszone_private_hidden_default_zone;
# 172 "/home/linux/System/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));
static inline void* NSZoneMalloc (NSZone *zone, size_t size)
{
if (!zone)
zone =3D NSDefaultMallocZone();
return (zone->malloc)(zone, size);
}
extern void* NSZoneCalloc (NSZone *zone, size_t elems, size_t bytes);
static inline void*
NSZoneRealloc (NSZone *zone, void *ptr, size_t size) __attribute__((unuse=
d));
static inline void* NSZoneRealloc (NSZone *zone, void *ptr, size_t size)
{
if (!zone)
zone =3D NSDefaultMallocZone();
return (zone->realloc)(zone, ptr, size);
}
static inline void NSRecycleZone (NSZone *zone) __attribute__((unused));
static inline void NSRecycleZone (NSZone *zone)
{
if (!zone)
zone =3D NSDefaultMallocZone();
(zone->recycle)(zone);
}
static inline void NSZoneFree (NSZone *zone, void *ptr) __attribute__((un=
used));
static inline void NSZoneFree (NSZone *zone, void *ptr)
{
if (!zone)
zone =3D 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 =3D 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 =3D NSDefaultMallocZone();
return (zone->malloc)(zone, size);
}
static inline BOOL NSZoneCheck (NSZone *zone) __attribute__((unused));
static inline BOOL NSZoneCheck (NSZone *zone)
{
if (!zone)
zone =3D NSDefaultMallocZone();
return (zone->check)(zone);
}
static inline struct NSZoneStats NSZoneStats (NSZone *zone) __attribute__=
((unused));
static inline struct NSZoneStats NSZoneStats (NSZone *zone)
{
if (!zone)
zone =3D 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 byte=
s);
# 159 "/home/linux/System/Headers/Foundation/NSObjCRuntime.h" 2
NSZone *GSObjCZone(NSObject *obj);
void *_fastMallocBuffer(unsigned size);
# 30 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/ix86/linux-gnu/GSConfig.h" 1
# 115 "/home/linux/System/Headers/ix86/linux-gnu/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;
# 31 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSDebug.h" 1
# 27 "/home/linux/System/Headers/Foundation/NSDebug.h"
# 1 "/usr/include/errno.h" 1 3
# 32 "/usr/include/errno.h" 3
# 1 "/usr/include/bits/errno.h" 1 3
# 25 "/usr/include/bits/errno.h" 3
# 1 "/usr/include/linux/errno.h" 1 3
# 1 "/usr/include/asm/errno.h" 1 3
# 5 "/usr/include/linux/errno.h" 2 3
# 26 "/usr/include/bits/errno.h" 2 3
# 36 "/usr/include/bits/errno.h" 3
extern int errno;
extern int *__errno_location (void) __attribute__ ((__const__));
# 37 "/usr/include/errno.h" 2 3
# 59 "/usr/include/errno.h" 3
# 28 "/home/linux/System/Headers/Foundation/NSDebug.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSObject.h" 1
# 39 "/home/linux/System/Headers/Foundation/NSObject.h"
# 1 "/home/linux/System/Headers/gnustep/base/preface.h" 1
# 27 "/home/linux/System/Headers/gnustep/base/preface.h"
# 1 "/usr/include/stdlib.h" 1 3
# 33 "/usr/include/stdlib.h" 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/stddef.h" 1 3
# 34 "/usr/include/stdlib.h" 2 3
# 94 "/usr/include/stdlib.h" 3
typedef struct
{
int quot;
int rem;
} div_t;
typedef struct
{
long int quot;
long int rem;
} ldiv_t;
# 133 "/usr/include/stdlib.h" 3
extern size_t __ctype_get_mb_cur_max (void) ;
extern double atof (__const char *__nptr) __attribute__ ((__pure__));
extern int atoi (__const char *__nptr) __attribute__ ((__pure__));
extern long int atol (__const char *__nptr) __attribute__ ((__pure__));
__extension__ extern long long int atoll (__const char *__nptr)
__attribute__ ((__pure__));
extern double strtod (__const char *__restrict __nptr,
char **__restrict __endptr) ;
# 163 "/usr/include/stdlib.h" 3
extern long int strtol (__const char *__restrict __nptr,
char **__restrict __endptr, int __base) ;
extern unsigned long int strtoul (__const char *__restrict __nptr,
char **__restrict __endptr, int __base)=
;
__extension__
extern long long int strtoq (__const char *__restrict __nptr,
char **__restrict __endptr, int __base) ;
__extension__
extern unsigned long long int strtouq (__const char *__restrict __nptr,
char **__restrict __endptr, int __=
base)
;
__extension__
extern long long int strtoll (__const char *__restrict __nptr,
char **__restrict __endptr, int __base) ;
__extension__
extern unsigned long long int strtoull (__const char *__restrict __nptr,
char **__restrict __endptr, int _=
_base)
;
# 250 "/usr/include/stdlib.h" 3
extern double __strtod_internal (__const char *__restrict __nptr,
char **__restrict __endptr, int __group)=
;
extern float __strtof_internal (__const char *__restrict __nptr,
char **__restrict __endptr, int __group)
;
extern long double __strtold_internal (__const char *__restrict __nptr,
char **__restrict __endptr,
int __group) ;
extern long int __strtol_internal (__const char *__restrict __nptr,
char **__restrict __endptr,
int __base, int __group) ;
extern unsigned long int __strtoul_internal (__const char *__restrict __n=
ptr,
char **__restrict __endptr,
int __base, int __group) ;
__extension__
extern long long int __strtoll_internal (__const char *__restrict __nptr,=
char **__restrict __endptr,
int __base, int __group) ;
__extension__
extern unsigned long long int __strtoull_internal (__const char *
__restrict __nptr,
char **__restrict __en=
dptr,
int __base, int __grou=
p)
;
# 294 "/usr/include/stdlib.h" 3
extern __inline double
strtod (__const char *__restrict __nptr, char **__restrict __endptr)
{
return __strtod_internal (__nptr, __endptr, 0);
}
extern __inline long int
strtol (__const char *__restrict __nptr, char **__restrict __endptr,
int __base)
{
return __strtol_internal (__nptr, __endptr, __base, 0);
}
extern __inline unsigned long int
strtoul (__const char *__restrict __nptr, char **__restrict __endptr,
int __base)
{
return __strtoul_internal (__nptr, __endptr, __base, 0);
}
# 326 "/usr/include/stdlib.h" 3
__extension__ extern __inline long long int
strtoq (__const char *__restrict __nptr, char **__restrict __endptr,
int __base)
{
return __strtoll_internal (__nptr, __endptr, __base, 0);
}
__extension__ extern __inline unsigned long long int
strtouq (__const char *__restrict __nptr, char **__restrict __endptr,
int __base)
{
return __strtoull_internal (__nptr, __endptr, __base, 0);
}
__extension__ extern __inline long long int
strtoll (__const char *__restrict __nptr, char **__restrict __endptr,
int __base)
{
return __strtoll_internal (__nptr, __endptr, __base, 0);
}
__extension__ extern __inline unsigned long long int
strtoull (__const char * __restrict __nptr, char **__restrict __endptr,
int __base)
{
return __strtoull_internal (__nptr, __endptr, __base, 0);
}
extern __inline double
atof (__const char *__nptr)
{
return strtod (__nptr, (char **) ((void *)0));
}
extern __inline int
atoi (__const char *__nptr)
{
return (int) strtol (__nptr, (char **) ((void *)0), 10);
}
extern __inline long int
atol (__const char *__nptr)
{
return strtol (__nptr, (char **) ((void *)0), 10);
}
__extension__ extern __inline long long int
atoll (__const char *__nptr)
{
return strtoll (__nptr, (char **) ((void *)0), 10);
}
# 385 "/usr/include/stdlib.h" 3
extern char *l64a (long int __n) ;
extern long int a64l (__const char *__s) __attribute__ ((__pure__));
# 1 "/usr/include/sys/types.h" 1 3
# 28 "/usr/include/sys/types.h" 3
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;
# 58 "/usr/include/sys/types.h" 3
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;
# 96 "/usr/include/sys/types.h" 3
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;
# 126 "/usr/include/sys/types.h" 3
# 1 "/usr/include/time.h" 1 3
# 70 "/usr/include/time.h" 3
typedef __time_t time_t;
# 82 "/usr/include/time.h" 3
typedef __clockid_t clockid_t;
# 94 "/usr/include/time.h" 3
typedef __timer_t timer_t;
# 127 "/usr/include/sys/types.h" 2 3
# 140 "/usr/include/sys/types.h" 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/stddef.h" 1 3
# 141 "/usr/include/sys/types.h" 2 3
typedef unsigned long int ulong;
typedef unsigned short int ushort;
typedef unsigned int uint;
# 184 "/usr/include/sys/types.h" 3
typedef int int8_t __attribute__ ((__mode__ (__QI__)));
typedef int int16_t __attribute__ ((__mode__ (__HI__)));
typedef int int32_t __attribute__ ((__mode__ (__SI__)));
typedef int int64_t __attribute__ ((__mode__ (__DI__)));
typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
typedef int register_t __attribute__ ((__mode__ (__word__)));
# 209 "/usr/include/sys/types.h" 3
# 1 "/usr/include/sys/select.h" 1 3
# 31 "/usr/include/sys/select.h" 3
# 1 "/usr/include/bits/select.h" 1 3
# 32 "/usr/include/sys/select.h" 2 3
# 1 "/usr/include/bits/sigset.h" 1 3
# 23 "/usr/include/bits/sigset.h" 3
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
# 1 "/usr/include/time.h" 1 3
# 106 "/usr/include/time.h" 3
struct timespec
{
long int tv_sec;
long int tv_nsec;
};
# 39 "/usr/include/sys/select.h" 2 3
struct timeval;
typedef __fd_mask fd_mask;
typedef __fd_set fd_set;
# 74 "/usr/include/sys/select.h" 3
extern int select (int __nfds, __fd_set *__restrict __readfds,
__fd_set *__restrict __writefds,
__fd_set *__restrict __exceptfds,
struct timeval *__restrict __timeout) ;
# 92 "/usr/include/sys/select.h" 3
# 210 "/usr/include/sys/types.h" 2 3
# 1 "/usr/include/sys/sysmacros.h" 1 3
# 213 "/usr/include/sys/types.h" 2 3
# 224 "/usr/include/sys/types.h" 3
typedef __blkcnt_t blkcnt_t;
typedef __fsblkcnt_t fsblkcnt_t;
typedef __fsfilcnt_t fsfilcnt_t;
# 256 "/usr/include/sys/types.h" 3
# 392 "/usr/include/stdlib.h" 2 3
extern int32_t random (void) ;
extern void srandom (unsigned int __seed) ;
extern char *initstate (unsigned int __seed, char *__statebuf,
size_t __statelen) ;
extern char *setstate (char *__statebuf) ;
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) ;
extern int srandom_r (unsigned int __seed, struct random_data *__buf) ;
extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,=
size_t __statelen,
struct random_data *__restrict __buf) ;
extern int setstate_r (char *__restrict __statebuf,
struct random_data *__restrict __buf) ;
extern int rand (void) ;
extern void srand (unsigned int __seed) ;
extern int rand_r (unsigned int *__seed) ;
extern double drand48 (void) ;
extern double erand48 (unsigned short int __xsubi[3]) ;
extern long int lrand48 (void) ;
extern long int nrand48 (unsigned short int __xsubi[3]) ;
extern long int mrand48 (void) ;
extern long int jrand48 (unsigned short int __xsubi[3]) ;
extern void srand48 (long int __seedval) ;
extern unsigned short int *seed48 (unsigned short int __seed16v[3]) ;
extern void lcong48 (unsigned short int __param[7]) ;
struct drand48_data
{
unsigned short int x[3];
unsigned short int a[3];
unsigned short int c;
unsigned short int old_x[3];
int init;
};
extern int drand48_r (struct drand48_data *__restrict __buffer,
double *__restrict __result) ;
extern int erand48_r (unsigned short int __xsubi[3],
struct drand48_data *__restrict __buffer,
double *__restrict __result) ;
extern int lrand48_r (struct drand48_data *__restrict __buffer,
long int *__restrict __result) ;
extern int nrand48_r (unsigned short int __xsubi[3],
struct drand48_data *__restrict __buffer,
long int *__restrict __result) ;
extern int mrand48_r (struct drand48_data *__restrict __buffer,
long int *__restrict __result) ;
extern int jrand48_r (unsigned short int __xsubi[3],
struct drand48_data *__restrict __buffer,
long int *__restrict __result) ;
extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
;
extern int seed48_r (unsigned short int __seed16v[3],
struct drand48_data *__buffer) ;
extern int lcong48_r (unsigned short int __param[7],
struct drand48_data *__buffer) ;
# 535 "/usr/include/stdlib.h" 3
extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__mallo=
c__));
extern void free (void *__ptr) ;
extern void cfree (void *__ptr) ;
# 1 "/usr/include/alloca.h" 1 3
# 25 "/usr/include/alloca.h" 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/stddef.h" 1 3
# 26 "/usr/include/alloca.h" 2 3
extern void *alloca (size_t __size) ;
# 546 "/usr/include/stdlib.h" 2 3
extern void *valloc (size_t __size) __attribute__ ((__malloc__));
# 560 "/usr/include/stdlib.h" 3
extern void abort (void) __attribute__ ((__noreturn__));
extern int atexit (void (*__func) (void)) ;
extern int __on_exit (void (*__func) (int __status, void *__arg), void *_=
_arg)
;
extern int on_exit (void (*__func) (int __status, void *__arg), void *__a=
rg)
;
extern void exit (int __status) __attribute__ ((__noreturn__));
# 588 "/usr/include/stdlib.h" 3
extern char *getenv (__const char *__name) ;
extern char *__secure_getenv (__const char *__name) ;
extern int putenv (char *__string) ;
extern int setenv (__const char *__name, __const char *__value, int __rep=
lace)
;
extern void unsetenv (__const char *__name) ;
extern int clearenv (void) ;
# 624 "/usr/include/stdlib.h" 3
extern char *mktemp (char *__template) ;
extern int mkstemp (char *__template) ;
# 651 "/usr/include/stdlib.h" 3
extern char *mkdtemp (char *__template) ;
extern int system (__const char *__command) ;
# 673 "/usr/include/stdlib.h" 3
extern char *realpath (__const char *__restrict __name,
char *__restrict __resolved) ;
typedef int (*__compar_fn_t) (__const void *, __const void *);
# 690 "/usr/include/stdlib.h" 3
extern void *bsearch (__const void *__key, __const void *__base,
size_t __nmemb, size_t __size, __compar_fn_t __comp=
ar);
extern void qsort (void *__base, size_t __nmemb, size_t __size,
__compar_fn_t __compar);
extern int abs (int __x) __attribute__ ((__const__));
extern long int labs (long int __x) __attribute__ ((__const__));
# 711 "/usr/include/stdlib.h" 3
extern div_t div (int __numer, int __denom)
__attribute__ ((__const__));
extern ldiv_t ldiv (long int __numer, long int __denom)
__attribute__ ((__const__));
# 729 "/usr/include/stdlib.h" 3
extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,=
int *__restrict __sign) ;
extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,=
int *__restrict __sign) ;
extern char *gcvt (double __value, int __ndigit, char *__buf) ;
extern char *qecvt (long double __value, int __ndigit,
int *__restrict __decpt, int *__restrict __sign) ;
extern char *qfcvt (long double __value, int __ndigit,
int *__restrict __decpt, int *__restrict __sign) ;
extern char *qgcvt (long double __value, int __ndigit, char *__buf) ;
extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,=
int *__restrict __sign, char *__restrict __buf,
size_t __len) ;
extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,=
int *__restrict __sign, char *__restrict __buf,
size_t __len) ;
extern int qecvt_r (long double __value, int __ndigit,
int *__restrict __decpt, int *__restrict __sign,
char *__restrict __buf, size_t __len) ;
extern int qfcvt_r (long double __value, int __ndigit,
int *__restrict __decpt, int *__restrict __sign,
char *__restrict __buf, size_t __len) ;
extern int mblen (__const char *__s, size_t __n) ;
extern int mbtowc (wchar_t *__restrict __pwc,
__const char *__restrict __s, size_t __n) ;
extern int wctomb (char *__s, wchar_t __wchar) ;
extern size_t mbstowcs (wchar_t *__restrict __pwcs,
__const char *__restrict __s, size_t __n) ;
extern size_t wcstombs (char *__restrict __s,
__const wchar_t *__restrict __pwcs, size_t __n)
;
extern int rpmatch (__const char *__response) ;
# 858 "/usr/include/stdlib.h" 3
extern int getloadavg (double __loadavg[], int __nelem) ;
# 28 "/home/linux/System/Headers/gnustep/base/preface.h" 2
# 1 "/home/linux/System/Headers/gnustep/base/objc-gnu2next.h" 1
# 29 "/home/linux/System/Headers/gnustep/base/objc-gnu2next.h"
# 1 "/home/linux/System/Headers/gnustep/base/preface.h" 1
# 30 "/home/linux/System/Headers/gnustep/base/objc-gnu2next.h" 2
# 30 "/home/linux/System/Headers/gnustep/base/preface.h" 2
# 70 "/home/linux/System/Headers/gnustep/base/preface.h"
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/objc/encoding.h" 1 3
# 32 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/encoding.h" 3
# 1 "/usr/include/ctype.h" 1 3
# 29 "/usr/include/ctype.h" 3
# 47 "/usr/include/ctype.h" 3
enum
{
_ISupper =3D ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)),
_ISlower =3D ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)),
_ISalpha =3D ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)),
_ISdigit =3D ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)),
_ISxdigit =3D ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)),
_ISspace =3D ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)),
_ISprint =3D ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)),
_ISgraph =3D ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)),
_ISblank =3D ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)),
_IScntrl =3D ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)),
_ISpunct =3D ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)),
_ISalnum =3D ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8))
};
# 75 "/usr/include/ctype.h" 3
extern __const unsigned short int *__ctype_b;
extern __const __int32_t *__ctype_tolower;
extern __const __int32_t *__ctype_toupper;
# 91 "/usr/include/ctype.h" 3
extern int isalnum (int) ;
extern int isalpha (int) ;
extern int iscntrl (int) ;
extern int isdigit (int) ;
extern int islower (int) ;
extern int isgraph (int) ;
extern int isprint (int) ;
extern int ispunct (int) ;
extern int isspace (int) ;
extern int isupper (int) ;
extern int isxdigit (int) ;
extern int tolower (int __c) ;
extern int toupper (int __c) ;
extern int isascii (int __c) ;
extern int toascii (int __c) ;
extern int _toupper (int) ;
extern int _tolower (int) ;
# 168 "/usr/include/ctype.h" 3
extern __inline int
tolower (int __c)
{
return __c >=3D -128 && __c < 256 ? __ctype_tolower[__c] : __c;
}
extern __inline int
toupper (int __c)
{
return __c >=3D -128 && __c < 256 ? __ctype_toupper[__c] : __c;
}
# 277 "/usr/include/ctype.h" 3
# 33 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/encoding.h" 2 3
# 53 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/encoding.h" 3
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);
# 71 "/home/linux/System/Headers/gnustep/base/preface.h" 2
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/objc/sarray.h" 1 3
# 35 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/sarray.h" 3
extern const char* __objc_sparse2_id;
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/stddef.h" 1 3
# 43 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/sarray.h" 2 3
extern int nbuckets;
extern int nindices;
extern int narrays;
extern int idxsize;
# 1 "/usr/include/assert.h" 1 3
# 58 "/usr/include/assert.h" 3
extern void __assert_fail (__const char *__assertion, __const char *__fil=
e,
unsigned int __line, __const char *__function)=
__attribute__ ((__noreturn__));
extern void __assert_perror_fail (int __errnum, __const char *__file,
unsigned int __line,
__const char *__function)
__attribute__ ((__noreturn__));
extern void __assert (const char *__assertion, const char *__file, int __=
line)
__attribute__ ((__noreturn__));
# 52 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/sarray.h" 2 3
# 83 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/sarray.h" 3
typedef size_t sidx;
struct soffset {
# 99 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/sarray.h" 3
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 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/objc/sarray.h" 3
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 index, void* elem);
void sarray_at_put_safe(struct sarray*, sidx index, void* elem);
struct sarray* sarray_hard_copy(struct sarray*);
void sarray_remove_garbage(void);
static inline unsigned int
soffset_decode(sidx index)
{
union sofftype x;
x.idx =3D index;
return x.off.eoffset + (x.off.boffset*(1<<5));
}
static inline sidx
soffset_encode(size_t offset)
{
union sofftype x;
x.off.eoffset =3D offset%(1<<5);
x.off.boffset =3D offset/(1<<5);
return (sidx)x.idx;
}
# 203 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/objc/sarray.h" 3
static inline void* sarray_get(struct sarray* array, sidx index)
{
union sofftype x;
x.idx =3D index;
return array->buckets[x.off.boffset]->elems[x.off.eoffset];
# 227 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/objc/sarray.h" 3
}
static inline void* sarray_get_safe(struct sarray* array, sidx index)
{
if(soffset_decode(index) < array->capacity)
return sarray_get(array, index);
else
return (array->empty_bucket->elems[0]);
}
# 72 "/home/linux/System/Headers/gnustep/base/preface.h" 2
# 87 "/home/linux/System/Headers/gnustep/base/preface.h"
# 1 "/usr/include/sys/param.h" 1 3
# 22 "/usr/include/sys/param.h" 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/limits.h" 1 3
# 11 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/limits.h" 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/syslimits.h" 1 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/limits.h" 1 3
# 132 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/limits.h" 3
# 1 "/usr/include/limits.h" 1 3
# 144 "/usr/include/limits.h" 3
# 1 "/usr/include/bits/posix1_lim.h" 1 3
# 126 "/usr/include/bits/posix1_lim.h" 3
# 1 "/usr/include/bits/local_lim.h" 1 3
# 36 "/usr/include/bits/local_lim.h" 3
# 1 "/usr/include/linux/limits.h" 1 3
# 37 "/usr/include/bits/local_lim.h" 2 3
# 127 "/usr/include/bits/posix1_lim.h" 2 3
# 145 "/usr/include/limits.h" 2 3
# 1 "/usr/include/bits/posix2_lim.h" 1 3
# 149 "/usr/include/limits.h" 2 3
# 133 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/limits.h" 2 3
# 8 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/syslimits.h" 2 3
# 12 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/limits.h" 2 3
# 23 "/usr/include/sys/param.h" 2 3
# 1 "/usr/include/linux/param.h" 1 3
# 1 "/usr/include/asm/param.h" 1 3
# 5 "/usr/include/linux/param.h" 2 3
# 25 "/usr/include/sys/param.h" 2 3
# 88 "/home/linux/System/Headers/gnustep/base/preface.h" 2
# 40 "/home/linux/System/Headers/Foundation/NSObject.h" 2
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/objc/Protocol.h" 1 3
# 30 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/Protocol.h" 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/objc/Object.h" 1 3
# 31 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/Object.h" 3
# 1 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/inc=
lude/objc/typedstream.h" 1 3
# 34 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/typedstream.h" 3
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 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/typedstream.h" 3
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 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/typedstream.h" 3
int objc_write_type (TypedStream* stream, const char* type, const void* d=
ata);
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 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/i=
nclude/objc/typedstream.h" 3
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 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/Object.h" 2 3
@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)aSe=
l;
- (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 "/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/in=
clude/objc/Protocol.h" 2 3
@interface Protocol : Object
{
@private
char *protocol_name;
struct objc_protocol_list *protocol_list;
struct objc_method_description_list *instance_methods, *class_met=
hods;
}
- (const char *)name;
- (BOOL) conformsTo: (Protocol *)aProtocolObject;
- (struct objc_method_description *) descriptionForInstanceMethod:(SEL)aS=
el;
- (struct objc_method_description *) descriptionForClassMethod:(SEL)aSel;=
@end
# 43 "/home/linux/System/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: anObject;
- (BOOL) isKindOfClass: (Class)aClass;
- (BOOL) isMemberOfClass: (Class)aClass;
- (BOOL) isProxy;
- (unsigned) hash;
- self;
- performSelector: (SEL)aSelector;
- performSelector: (SEL)aSelector withObject: anObject;
- performSelector: (SEL)aSelector withObject: object1 withObject: object2=
;
- (BOOL) respondsToSelector: (SEL)aSelector;
- (BOOL) conformsToProtocol: (Protocol *)aProtocol;
- retain;
- autorelease;
- (oneway void) release;
- (unsigned) retainCount;
- (NSZone*) zone;
- (NSString*) description;
@end
@protocol NSCopying
- (id) copyWithZone: (NSZone *)zone;
@end
@protocol NSMutableCopying
- (id) mutableCopyWithZone: (NSZone *)zone;
@end
@protocol NSCoding
- (void) encodeWithCoder: (NSCoder*)aCoder;
- (id) initWithCoder: (NSCoder*)aDecoder;
@end
@interface NSObject <NSObject>
{
Class isa;
}
+ (void) initialize;
+ (id) allocWithZone: (NSZone*)z;
+ (id) alloc;
+ (id) new;
- (id) copy;
- (void) dealloc;
- (id) init;
- (id) mutableCopy;
+ (Class) class;
+ (Class) superclass;
+ (BOOL) instancesRespondToSelector: (SEL)aSelector;
+ (IMP) instanceMethodForSelector: (SEL)aSelector;
- (IMP) methodForSelector: (SEL)aSelector;
+ (NSMethodSignature*) instanceMethodSignatureForSelector: (SEL)aSelector=
;
- (NSMethodSignature*) methodSignatureForSelector: (SEL)aSelector;
- (NSString*) description;
+ (NSString*) description;
+ (void) poseAsClass: (Class)aClass;
- (void) doesNotRecognizeSelector: (SEL)aSelector;
- (void) forwardInvocation: (NSInvocation*)anInvocation;
- (id) awakeAfterUsingCoder: (NSCoder*)aDecoder;
- (Class) classForArchiver;
- (Class) classForCoder;
- (Class) classForPortCoder;
- (id) replacementObjectForArchiver: (NSArchiver*)anEncoder;
- (id) replacementObjectForCoder: (NSCoder*)anEncoder;
- (id) replacementObjectForPortCoder: (NSPortCoder*)anEncoder;
+ (id) setVersion: (int)aVersion;
+ (int) version;
@end
extern NSObject *
NSAllocateObject(Class aClass, unsigned extraBytes, NSZone *zone);
extern void
NSDeallocateObject(NSObject *anObject);
extern NSObject *
NSCopyObject(NSObject *anObject, unsigned extraBytes, NSZone *zone);
extern BOOL
NSShouldRetainWithZone(NSObject *anObject, NSZone *requestedZone);
extern unsigned
NSExtraRefCount(id anObject);
extern void
NSIncrementExtraRefCount(id anObject);
extern BOOL
NSDecrementExtraRefCountWasZero(id anObject);
typedef enum _NSComparisonResult
{
NSOrderedAscending =3D -1, NSOrderedSame, NSOrderedDescending
}
NSComparisonResult;
enum {NSNotFound =3D 0x7fffffff};
@interface NSObject (NEXTSTEP)
- error:(const char *)aString, ...;
- notImplemented:(SEL)aSel;
@end
extern NSRecursiveLock *gnustep_global_lock;
@protocol GNUDescriptionDestination
- (void) appendFormat: (NSString*)str, ...;
- (void) appendString: (NSString*)str;
@end
@interface NSObject (GNU)
- (int) compare: (id)anObject;
# 202 "/home/linux/System/Headers/Foundation/NSObject.h"
- (NSString*) descriptionWithLocale: (NSDictionary*)aLocale;
+ (NSString*) descriptionWithLocale: (NSDictionary*)aLocale;
- (NSString*) descriptionWithLocale: (NSDictionary*)aLocale
indent: (unsigned)level;
+ (NSString*) descriptionWithLocale: (NSDictionary*)aLocale
indent: (unsigned)level;
- (void) descriptionWithLocale: (NSDictionary*)aLocale
indent: (unsigned)level
to: (id<GNUDescriptionDestination>)output;
+ (void) descriptionWithLocale: (NSDictionary*)aLocale
indent: (unsigned)level
to: (id<GNUDescriptionDestination>)output;
- (Class) transmuteClassTo: (Class)aClassObject;
- subclassResponsibility: (SEL)aSel;
- shouldNotImplement: (SEL)aSel;
+ (Class) autoreleaseClass;
+ (void) setAutoreleaseClass: (Class)aClass;
+ (void) enableDoubleReleaseCheck: (BOOL)enable;
- read: (TypedStream*)aStream;
- write: (TypedStream*)aStream;
# 230 "/home/linux/System/Headers/Foundation/NSObject.h"
- (BOOL) deallocNotificationsActive;
- (void) setDeallocNotificationsActive: (BOOL)flag;
- (BOOL) _dealloc;
@end
@protocol GCFinalization
- (void) gcFinalize;
@end
# 1 "/home/linux/System/Headers/Foundation/NSDate.h" 1
# 25 "/home/linux/System/Headers/Foundation/NSDate.h"
typedef double NSTimeInterval;
# 1 "/home/linux/System/Headers/Foundation/NSObject.h" 1
# 28 "/home/linux/System/Headers/Foundation/NSDate.h" 2
@class NSArray;
@class NSCalendarDate;
@class NSData;
@class NSDictionary;
@class NSString;
@class NSTimeZone;
@class NSTimeZoneDetail;
@interface NSDate : NSObject <NSCoding,NSCopying>
{
}
+ (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*)localeDiction=
ary;
- (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*)otherDate;
- (NSDate*) laterDate: (NSDate*)otherDate;
+ (id) dateWithNaturalLanguageString: (NSString*)string;
+ (id) dateWithNaturalLanguageString: (NSString*)string
locale: (NSDictionary*)localeDictionary;
- (id) initWithTimeIntervalSince1970: (NSTimeInterval)seconds;
@end
@interface NSGDate : NSDate
{
@public
NSTimeInterval _seconds_since_ref;
}
@end
NSTimeInterval GSTimeNow();
NSTimeInterval GSTime(int d, int m, int y, int hh, int mm, int ss, int mi=
l);
# 246 "/home/linux/System/Headers/Foundation/NSObject.h" 2
@interface NSObject (TimedPerformers)
+ (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
# 29 "/home/linux/System/Headers/Foundation/NSDebug.h" 2
extern int (*__errno_location ());
# 74 "/home/linux/System/Headers/Foundation/NSDebug.h"
extern void GSDebugAllocationAdd(Class c);
extern void GSDebugAllocationRemove(Class c);
extern BOOL GSDebugAllocationActive(BOOL active);
extern int GSDebugAllocationCount(Class c);
extern int GSDebugAllocationPeak(Class c);
extern int GSDebugAllocationTotal(Class c);
extern Class* GSDebugAllocationClassList();
extern const char* GSDebugAllocationList(BOOL changeFlag);
extern const char* GSDebugAllocationListAll();
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);
# 216 "/home/linux/System/Headers/Foundation/NSDebug.h"
extern void *NSFrameAddress(int offset);
extern void *NSReturnAddress(int offset);
extern unsigned NSCountFrames(void);
# 32 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSArchiver.h" 1
# 27 "/home/linux/System/Headers/Foundation/NSArchiver.h"
# 1 "/home/linux/System/Headers/Foundation/NSCoder.h" 1
# 28 "/home/linux/System/Headers/Foundation/NSCoder.h"
# 1 "/home/linux/System/Headers/Foundation/NSGeometry.h" 1
# 30 "/home/linux/System/Headers/Foundation/NSGeometry.h"
# 1 "/home/linux/System/Headers/Foundation/NSString.h" 1
# 28 "/home/linux/System/Headers/Foundation/NSString.h"
# 1 "/home/linux/System/Headers/Foundation/NSRange.h" 1
# 30 "/home/linux/System/Headers/Foundation/NSRange.h"
@class NSException;
@class NXConstantString;
# 49 "/home/linux/System/Headers/Foundation/NSRange.h"
typedef struct _NSRange NSRange;
struct _NSRange
{
unsigned int location;
unsigned int length;
};
# 73 "/home/linux/System/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 >=3D range.location) && (location < NSMaxRange(range))=
;
}
static inline NSRange
NSMakeRange(unsigned int location, unsigned int length) __attribute__((un=
used));
static inline NSRange
NSMakeRange(unsigned int location, unsigned int length)
{
NSRange range;
unsigned int end =3D location + length;
if (end < location || end < length)
{
extern void _NSRangeExceptionRaise ();
_NSRangeExceptionRaise ();
}
range.location =3D location;
range.length =3D length;
return range;
}
static inline BOOL
NSEqualRanges(NSRange range1, NSRange range2) __attribute__((unused));
static inline BOOL
NSEqualRanges(NSRange range1, NSRange range2)
{
return ((range1.location =3D=3D range2.location)
&& (range1.length =3D=3D range2.length));
}
static inline NSRange
NSUnionRange(NSRange range1, NSRange range2) __attribute__((unused));
static inline NSRange
NSUnionRange(NSRange aRange, NSRange bRange)
{
NSRange range;
range.location =3D (((aRange.location)<(bRange.location))?(aRange.locat=
ion):(bRange.location));
range.length =3D (((NSMaxRange(aRange))>(NSMaxRange(bRange)))?(NSMaxRan=
ge(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 =3D (((aRange.location)>(bRange.location))?(aRange.locat=
ion):(bRange.location));
range.length =3D (((NSMaxRange(aRange))<(NSMaxRange(bRange)))?(NSMaxRan=
ge(aRange)):(NSMaxRange(bRange)))
- range.location;
return range;
}
@class NSString;
extern NSString *NSStringFromRange(NSRange range);
extern NSRange NSRangeFromString(NSString *aString);
# 29 "/home/linux/System/Headers/Foundation/NSString.h" 2
typedef unsigned short unichar;
@class NSArray;
@class NSCharacterSet;
@class NSData;
@class NSDictionary;
@class NSURL;
enum
{
NSCaseInsensitiveSearch =3D 1,
NSLiteralSearch =3D 2,
NSBackwardsSearch =3D 4,
NSAnchoredSearch =3D 8
};
typedef enum _NSStringEncoding
{
GSUndefinedEncoding =3D 0,
NSASCIIStringEncoding =3D 1,
NSNEXTSTEPStringEncoding =3D 2,
NSJapaneseEUCStringEncoding =3D 3,
NSUTF8StringEncoding =3D 4,
NSISOLatin1StringEncoding =3D 5,
NSSymbolStringEncoding =3D 6,
NSNonLossyASCIIStringEncoding =3D 7,
NSShiftJISStringEncoding =3D 8,
NSISOLatin2StringEncoding =3D 9,
NSUnicodeStringEncoding =3D 10,
NSWindowsCP1251StringEncoding =3D 11,
NSWindowsCP1252StringEncoding =3D 12,
NSWindowsCP1253StringEncoding =3D 13,
NSWindowsCP1254StringEncoding =3D 14,
NSWindowsCP1250StringEncoding =3D 15,
NSISO2022JPStringEncoding =3D 21,
NSMacOSRomanStringEncoding =3D 30,
NSProprietaryStringEncoding =3D 31,
NSKOI8RStringEncoding =3D 50,
NSISOLatin3StringEncoding =3D 51,
NSISOLatin4StringEncoding =3D 52,
NSISOCyrillicStringEncoding =3D 22,
NSISOArabicStringEncoding =3D 53,
NSISOGreekStringEncoding =3D 54,
NSISOHebrewStringEncoding =3D 55,
NSISOLatin5StringEncoding =3D 57,
NSISOLatin6StringEncoding =3D 58,
NSISOLatin7StringEncoding =3D 61,
NSISOLatin8StringEncoding =3D 62,
NSISOLatin9StringEncoding =3D 63,
NSGB2312StringEncoding =3D 56,
NSUTF7StringEncoding =3D 64
} NSStringEncoding;
enum {
NSOpenStepUnicodeReservedBase =3D 0xF400
};
@protocol NSString <NSCoding, NSCopying, NSMutableCopying>
+ (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) 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)anInde=
x;
- (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 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;
- (const char*) fileSystemRepresentation;
- (BOOL) getFileSystemRepresentation: (char*)buffer maxLength: (unsigned =
int)l;
- (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) stringWithFormat: (NSString*)format
arguments: (va_list)argList;
+ (id) stringWithString: (NSString*) aString;
+ (id) stringWithContentsOfURL: (NSURL*)anURL;
+ (id) stringWithUTF8String: (const char*)bytes;
- (id) initWithFormat: (NSString*)format
locale: (NSDictionary*)dictionary;
- (id) initWithFormat: (NSString*)format
locale: (NSDictionary*)dictionary
arguments: (va_list)argList;
- (id) initWithUTF8String: (const char *)bytes;
- (id) initWithContentsOfURL: (NSURL*)anURL;
- (NSString*) substringWithRange: (NSRange)aRange;
- (NSComparisonResult) caseInsensitiveCompare: (NSString*)aString;
- (NSComparisonResult)compare:(NSString *)string
options:(unsigned)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;
- (const char *)UTF8String;
- (BOOL) boolValue;
@end
@interface NSString : NSObject <NSString>
@end
@class NSMutableString;
@protocol NSMutableString <NSString>
+ (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;
+ (NSMutableString*) stringWithCapacity: (unsigned)capacity;
- (id) initWithCapacity: (unsigned)capacity;
- (void) appendFormat: (NSString*)format, ...;
- (void) appendString: (NSString*)aString;
- (void) deleteCharactersInRange: (NSRange)range;
- (void) insertString: (NSString*)aString atIndex:(unsigned)index;
- (void) replaceCharactersInRange: (NSRange)range
withString: (NSString*)aString;
- (void) setString: (NSString*)aString;
@end
@interface NSMutableString : NSString <NSMutableString>
@end
@interface NXConstantString : NSString
{
union {
unichar *u;
unsigned char *c;
} _contents;
unsigned int _count;
}
@end
# 347 "/home/linux/System/Headers/Foundation/NSString.h"
@interface GSString : NSString
{
union {
unichar *u;
unsigned char *c;
} _contents;
unsigned int _count;
struct {
unsigned int wide: 1;
unsigned int free: 1;
unsigned int unused: 2;
unsigned int hash: 28;
} _flags;
}
@end
@interface NSString (GSString)
- (NSString*) stringWithoutSuffix: (NSString*)_suffix;
- (NSString*) stringWithoutPrefix: (NSString*)_prefix;
- (NSString*) stringByReplacingString: (NSString*)_replace
withString: (NSString*)_by;
@end
@interface NSString(GSTrimming)
- (NSString*) stringByTrimmingLeadWhiteSpaces;
- (NSString*) stringByTrimmingTailWhiteSpaces;
- (NSString*) stringByTrimmingWhiteSpaces;
- (NSString*) stringByTrimmingLeadSpaces;
- (NSString*) stringByTrimmingTailSpaces;
- (NSString*) stringByTrimmingSpaces;
@end
@interface NSMutableString (GSString)
- (void) removeSuffix: (NSString*)_suffix;
- (void) removePrefix: (NSString*)_prefix;
- (void) replaceString: (NSString*)_replace
withString: (NSString*)_by;
@end
@interface NSMutableString (GSTrimming)
- (void) trimLeadSpaces;
- (void) trimTailSpaces;
- (void) trimSpaces;
@end
# 31 "/home/linux/System/Headers/Foundation/NSGeometry.h" 2
# 50 "/home/linux/System/Headers/Foundation/NSGeometry.h"
typedef struct _NSPoint NSPoint;
struct _NSPoint
{
float x;
float y;
};
typedef struct _NSSize NSSize;
struct _NSSize
{
float width;
float height;
};
typedef struct _NSRect NSRect;
struct _NSRect
{
NSPoint origin;
NSSize size;
};
typedef enum _NSRectEdge NSRectEdge;
enum _NSRectEdge
{
NSMinXEdge,
NSMinYEdge,
NSMaxXEdge,
NSMaxYEdge
};
const NSPoint NSZeroPoint;
const NSRect NSZeroRect;
const NSSize NSZeroSize;
# 107 "/home/linux/System/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 =3D x;
point.y =3D 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 =3D w;
size.height =3D 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 =3D x;
rect.origin.y =3D y;
rect.size.width =3D w;
rect.size.height =3D 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 : (BOO=
L)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 =3D aRect;
rect.origin.x +=3D dx;
rect.origin.y +=3D 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 =3D NSOffsetRect(aRect, dX, dY);
rect.size.width -=3D (2 * dX);
rect.size.height -=3D (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);
else if (NSIsEmptyRect(aRect))
return bRect;
else if (NSIsEmptyRect(bRect))
return aRect;
rect =3D NSMakeRect((((NSMinX(aRect))<(NSMinX(bRect)))?(NSMinX(aRect)):=
(NSMinX(bRect))),
(((NSMinY(aRect))<(NSMinY(bRect)))?(NSMinY(aRect)):(N=
SMinY(bRect))), 0, 0);
rect =3D NSMakeRect(NSMinX(rect),
NSMinY(rect),
(((NSMaxX(aRect))>(NSMaxX(bRect)))?(NSMaxX(aRect)):(N=
SMaxX(bRect))) - NSMinX(rect),
(((NSMaxY(aRect))>(NSMaxY(bRect)))?(NSMaxY(aRect)):(N=
SMaxY(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) <=3D NSMinX(bRect) || NSMaxX(bRect) <=3D NSMinX(aRect=
)
|| NSMaxY(aRect) <=3D NSMinY(bRect) || NSMaxY(bRect) <=3D NSMinY(aRec=
t))
{
return NSMakeRect(0, 0, 0, 0);
}
else
{
NSRect rect;
if (NSMinX(aRect) <=3D NSMinX(bRect))
rect.origin.x =3D bRect.origin.x;
else
rect.origin.x =3D aRect.origin.x;
if (NSMinY(aRect) <=3D NSMinY(bRect))
rect.origin.y =3D bRect.origin.y;
else
rect.origin.y =3D aRect.origin.y;
if (NSMaxX(aRect) >=3D NSMaxX(bRect))
rect.size.width =3D NSMaxX(bRect) - rect.origin.x;
else
rect.size.width =3D NSMaxX(aRect) - rect.origin.x;
if (NSMaxY(aRect) >=3D NSMaxY(bRect))
rect.size.height =3D NSMaxY(bRect) - rect.origin.y;
else
rect.size.height =3D 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) =3D=3D NSMinX(bRect))
&& (NSMinY(aRect) =3D=3D NSMinY(bRect))
&& (NSWidth(aRect) =3D=3D NSWidth(bRect))
&& (NSHeight(aRect) =3D=3D 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 =3D=3D bSize.width)
&& (aSize.height =3D=3D 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 =3D=3D bPoint.x)
&& (aPoint.y =3D=3D 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 >=3D NSMinX(aRect))
&& (aPoint.y >=3D NSMinY(aRect))
&& (aPoint.x < NSMaxX(aRect))
&& (aPoint.y < NSMaxY(aRect))) ? (BOOL)1 : (BOOL)0;
else
return ((aPoint.x >=3D NSMinX(aRect))
&& (aPoint.y > NSMinY(aRect))
&& (aPoint.x < NSMaxX(aRect))
&& (aPoint.y <=3D 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 ((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) <=3D NSMinX(bRect)
|| NSMaxX(bRect) <=3D NSMinX(aRect)
|| NSMaxY(aRect) <=3D NSMinY(bRect)
|| NSMaxY(bRect) <=3D 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 "/home/linux/System/Headers/Foundation/NSCoder.h" 2
@class NSMutableData, NSData, NSString;
@interface NSCoder : NSObject
- (void) encodeArrayOfObjCType: (const char*)type
count: (unsigned)count
at: (const void*)array;
- (void) encodeBycopyObject: (id)anObject;
- (void) encodeByrefObject: (id)anObject;
- (void) encodeBytes: (void*)addr 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,...;
- (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;
- (unsigned int) systemVersion;
- (unsigned int) versionForClassName: (NSString*)className;
@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) encodeObject: (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
# 28 "/home/linux/System/Headers/Foundation/NSArchiver.h" 2
@class 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)
# 94 "/home/linux/System/Headers/Foundation/NSArchiver.h"
- (void) resetArchiver;
# 128 "/home/linux/System/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;
}
- (id) initForReadingWithData: (NSData*)data;
+ (id) unarchiveObjectWithData: (NSData*)data;
+ (id) unarchiveObjectWithFile: (NSString*)path;
- (BOOL) isAtEnd;
- (NSZone*) objectZone;
- (void) setObjectZone: (NSZone*)zone;
- (unsigned int) systemVersion;
+ (NSString*) classNameDecodedForArchiveClassName: (NSString*)nameInArchi=
ve;
+ (void) decodeClassName: (NSString*)nameInArchive
asClassName: (NSString*)trueName;
- (NSString*) classNameDecodedForArchiveClassName: (NSString*)nameInArchi=
ve;
- (void) decodeClassName: (NSString*)nameInArchive
asClassName: (NSString*)trueName;
- (void) replaceObject: (id)anObject withObject: (id)replacement;
@end
@interface NSUnarchiver (GNUstep)
# 200 "/home/linux/System/Headers/Foundation/NSArchiver.h"
- (unsigned) cursor;
- (void) resetUnarchiverWithData: (NSData*)data
atIndex: (unsigned)pos;
# 234 "/home/linux/System/Headers/Foundation/NSArchiver.h"
- (BOOL) directDataAccess;
- (void) deserializeHeaderAt: (unsigned*)cursor
version: (unsigned*)systemVersion
classes: (unsigned*)classCount
objects: (unsigned*)objectCount
pointers: (unsigned*)pointerCount;
@end
extern NSString* const NSInconsistentArchiveException;
# 35 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSArray.h" 1
# 28 "/home/linux/System/Headers/Foundation/NSArray.h"
# 1 "/home/linux/System/Headers/Foundation/NSUtilities.h" 1
# 29 "/home/linux/System/Headers/Foundation/NSUtilities.h"
# 1 "/home/linux/System/Headers/Foundation/NSDictionary.h" 1
# 29 "/home/linux/System/Headers/Foundation/NSDictionary.h"
@class NSArray, NSString, NSEnumerator;
@interface NSDictionary : NSObject <NSCoding, NSCopying, NSMutableCopying=
>
+ (id) dictionary;
+ (id) dictionaryWithContentsOfFile: (NSString*)path;
+ (id) dictionaryWithDictionary: (NSDictionary*)aDict;
+ (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)object, ...;
- (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) initWithContentsOfFile: (NSString*)path;
- (id) initWithDictionary: (NSDictionary*)otherDictionary;
- (id) initWithDictionary: (NSDictionary*)otherDictionary
copyItems: (BOOL)shouldCopy;
- (id) initWithObjects: (NSArray*)objects forKeys: (NSArray*)keys;
- (id) initWithObjectsAndKeys: (id)object, ...;
- (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)anObject;=
- (BOOL) writeToFile: (NSString*)path 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;
@end
# 1 "/home/linux/System/Headers/Foundation/NSDictionary.h" 1
# 92 "/home/linux/System/Headers/Foundation/NSDictionary.h" 2
@interface NSMutableDictionary (GNU)
+ (unsigned) defaultCapacity;
- (id) initWithType: (const char*)contentEncoding
keyType: (const char*)keyEncoding
capacity: (unsigned)aCapacity;
@end
# 30 "/home/linux/System/Headers/Foundation/NSUtilities.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSEnumerator.h" 1
# 31 "/home/linux/System/Headers/Foundation/NSEnumerator.h"
@interface NSEnumerator : NSObject
- (NSArray *) allObjects;
- (id) nextObject;
@end
# 31 "/home/linux/System/Headers/Foundation/NSUtilities.h" 2
# 29 "/home/linux/System/Headers/Foundation/NSArray.h" 2
@class NSString;
@interface NSArray : NSObject <NSCoding, NSCopying, NSMutableCopying>
+ (id) array;
+ (id) arrayWithArray: (NSArray*)array;
+ (id) arrayWithContentsOfFile: (NSString*)file;
+ (id) arrayWithObject: (id)anObject;
+ (id) arrayWithObjects: (id)firstObj, ...;
+ (id) arrayWithObjects: (id*)objects count: (unsigned)count;
- (NSArray*) arrayByAddingObject: (id)anObject;
- (NSArray*) arrayByAddingObjectsFromArray: (NSArray*)anotherArray;
- (BOOL) containsObject: anObject;
- (unsigned) count;
- (void) getObjects: (id*)objs;
- (void) getObjects: (id*)objs range: (NSRange)aRange;
- (unsigned) indexOfObject: (id)anObject;
- (unsigned) indexOfObject: (id)anObject inRange: (NSRange)aRange;
- (unsigned) indexOfObjectIdenticalTo: (id)anObject;
- (unsigned) indexOfObjectIdenticalTo: (id)anObject inRange: (NSRange)aRa=
nge;
- (id) initWithArray: (NSArray*)array;
- (id) initWithContentsOfFile: (NSString*)file;
- (id) initWithObjects: firstObj, ...;
- (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)argum=
ent;
- (NSData*) sortedArrayHint;
- (NSArray*) sortedArrayUsingFunction: (int (*)(id, id, void*))comparator=
context: (void*)context;
- (NSArray*) sortedArrayUsingFunction: (int (*)(id, id, void*))comparator=
context: (void*)context
hint: (NSData*)hint;
- (NSArray*) sortedArrayUsingSelector: (SEL)comparator;
- (NSArray*) subarrayWithRange: (NSRange)range;
- (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)useAuxilliaryFile=
;
@end
@interface NSMutableArray : NSArray
+ (id) arrayWithCapacity: (unsigned)numItems;
- (void) addObject: (id)anObject;
- (void) addObjectsFromArray: (NSArray*)otherArray;
- (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: (int(*)(id,id,void*))compare
context: (void*)context;
- (void) sortUsingSelector: (SEL) aSelector;
@end
@interface NSArray (GNUstep)
# 147 "/home/linux/System/Headers/Foundation/NSArray.h"
- (unsigned) insertionPosition: (id)item
usingFunction: (NSComparisonResult (*)(id, id))sorter;
- (unsigned) insertionPosition: (id)item
usingSelector: (SEL)comp;
@end
# 36 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSAttributedString.h" 1
# 56 "/home/linux/System/Headers/Foundation/NSAttributedString.h"
@interface NSAttributedString : NSObject <NSCoding, NSCopying, NSMutableC=
opying>
{
}
- (id) initWithString: (NSString*)aString;
- (id) initWithAttributedString: (NSAttributedString*)attributedString;
- (id) initWithString: (NSString*)aString attributes: (NSDictionary*)attr=
ibutes;
- (unsigned) length;
- (NSString*) string;
- (NSDictionary*) attributesAtIndex: (unsigned)index
effectiveRange: (NSRange*)aRange;
- (NSDictionary*) attributesAtIndex: (unsigned)index
longestEffectiveRange: (NSRange*)aRange
inRange: (NSRange)rangeLimit;
- (id) attribute: (NSString*)attributeName
atIndex: (unsigned)index
effectiveRange: (NSRange*)aRange;
- (id) attribute: (NSString*)attributeName atIndex: (unsigned)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)a=
Range;
- (void) addAttributes: (NSDictionary*)attributes range: (NSRange)aRange;=
- (void) removeAttribute: (NSString*)name range: (NSRange)aRange;
- (void) appendAttributedString: (NSAttributedString*)attributedString;
- (void) insertAttributedString: (NSAttributedString*)attributedString
atIndex: (unsigned)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 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSAutoreleasePool.h" 1
# 29 "/home/linux/System/Headers/Foundation/NSAutoreleasePool.h"
@class NSAutoreleasePool;
@class NSThread;
struct autorelease_thread_vars
{
NSAutoreleasePool *current_pool;
unsigned total_objects_count;
id *pool_cache;
int pool_cache_size;
int pool_cache_count;
};
# 63 "/home/linux/System/Headers/Foundation/NSAutoreleasePool.h"
struct autorelease_array_list
{
struct autorelease_array_list *next;
unsigned size;
unsigned count;
id objects[0];
};
@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)anObject;
- (void) addObject: (id)anObject;
+ (void) enableRelease: (BOOL)enable;
+ (void) setPoolCountThreshhold: (unsigned)c;
+ (unsigned) autoreleaseCountForObject: (id)anObject;
+ (void) _endThread: (NSThread*)thread;
+ (void) resetTotalAutoreleasedObjects;
+ (unsigned) totalAutoreleasedObjects;
@end
# 38 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSBundle.h" 1
# 30 "/home/linux/System/Headers/Foundation/NSBundle.h"
@class NSString;
@class NSArray;
@class NSDictionary;
@class NSMutableDictionary;
extern NSString* NSBundleDidLoadNotification;
extern NSString* NSShowNonLocalizedStrings;
extern NSString* NSLoadedClasses;
@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;
+ (NSBundle*) mainBundle;
+ (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;
- (id) initWithPath: (NSString*)path;
- (NSString*) bundlePath;
- (Class) classNamed: (NSString*)className;
- (Class) principalClass;
- (NSArray*) pathsForResourcesOfType: (NSString*)extension
inDirectory: (NSString*)bundlePath;
- (NSString*) pathForResource: (NSString*)name
ofType: (NSString*)ext
inDirectory: (NSString*)bundlePath;
- (NSString*) pathForResource: (NSString*)name
ofType: (NSString*)ext;
- (NSString*) localizedStringForKey: (NSString*)key
value: (NSString*)value
table: (NSString*)tableName;
- (NSString*) resourcePath;
- (unsigned) bundleVersion;
- (void) setBundleVersion: (unsigned)version;
- (NSDictionary*) infoDictionary;
- (BOOL) load;
@end
@interface NSBundle (GNUstep)
+ (NSString *) _absolutePathOfExecutable: (NSString *)path;
+ (NSString*) _gnustep_target_cpu;
+ (NSString*) _gnustep_target_dir;
+ (NSString*) _gnustep_target_os;
+ (NSString*) _library_combo;
+ (NSBundle*) gnustepBundle;
+ (NSString*) pathForGNUstepResource: (NSString*)name
ofType: (NSString*)ext
inDirectory: (NSString*)bundlePath;
@end
# 39 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSByteOrder.h" 1
# 32 "/home/linux/System/Headers/Foundation/NSByteOrder.h"
typedef gsu32 NSSwappedFloat;
typedef gsu64 NSSwappedDouble;
typedef enum {
NS_UnknownByteOrder,
NS_LittleEndian,
NS_BigEndian
} NSByteOrder;
# 52 "/home/linux/System/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));
static inline gsu16
GSSwapI16(gsu16 in)
{
union swap {
gsu16 num;
gsu8 byt[2];
} dst;
union swap *src =3D (union swap*)∈
dst.byt[0] =3D src->byt[1];
dst.byt[1] =3D src->byt[0];
return dst.num;
}
static inline gsu32
GSSwapI32(gsu32 in)
{
union swap {
gsu32 num;
gsu8 byt[4];
} dst;
union swap *src =3D (union swap*)∈
dst.byt[0] =3D src->byt[3];
dst.byt[1] =3D src->byt[2];
dst.byt[2] =3D src->byt[1];
dst.byt[3] =3D src->byt[0];
return dst.num;
}
static inline gsu64
GSSwapI64(gsu64 in)
{
union swap {
gsu64 num;
gsu8 byt[8];
} dst;
union swap *src =3D (union swap*)∈
dst.byt[0] =3D src->byt[7];
dst.byt[1] =3D src->byt[6];
dst.byt[2] =3D src->byt[5];
dst.byt[3] =3D src->byt[4];
dst.byt[4] =3D src->byt[3];
dst.byt[5] =3D src->byt[2];
dst.byt[6] =3D src->byt[1];
dst.byt[7] =3D src->byt[0];
return dst.num;
}
static inline gsu128
GSSwapI128(gsu128 in)
{
union swap {
gsu128 num;
gsu8 byt[16];
} dst;
union swap *src =3D (union swap*)∈
dst.byt[0] =3D src->byt[15];
dst.byt[1] =3D src->byt[14];
dst.byt[2] =3D src->byt[13];
dst.byt[3] =3D src->byt[12];
dst.byt[4] =3D src->byt[11];
dst.byt[5] =3D src->byt[10];
dst.byt[6] =3D src->byt[9];
dst.byt[7] =3D src->byt[8];
dst.byt[8] =3D src->byt[7];
dst.byt[9] =3D src->byt[6];
dst.byt[10] =3D src->byt[5];
dst.byt[11] =3D src->byt[4];
dst.byt[12] =3D src->byt[3];
dst.byt[13] =3D src->byt[2];
dst.byt[14] =3D src->byt[1];
dst.byt[15] =3D 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 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);
# 356 "/home/linux/System/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);
# 392 "/home/linux/System/Headers/Foundation/NSByteOrder.h"
}
static inline unsigned short
NSSwapShort(unsigned short in)
{
return GSSwapI16(in);
# 410 "/home/linux/System/Headers/Foundation/NSByteOrder.h"
}
static inline NSSwappedDouble
NSSwapDouble(NSSwappedDouble num)
{
return GSSwapI64(num);
}
static inline NSSwappedFloat
NSSwapFloat(NSSwappedFloat num)
{
return GSSwapI32(num);
}
# 675 "/home/linux/System/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 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSCalendarDate.h" 1
# 26 "/home/linux/System/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*)format
locale: (NSDictionary*)dictionary;
- (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 (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
@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 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSCharacterSet.h" 1
# 29 "/home/linux/System/Headers/Foundation/NSCharacterSet.h"
@class NSData;
@interface NSCharacterSet : NSObject <NSCoding, NSCopying, NSMutableCopyi=
ng>
+ (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*)aStrin=
g;
+ (NSCharacterSet*) characterSetWithRange: (NSRange)aRange;
- (NSData*) bitmapRepresentation;
- (BOOL) characterIsMember: (unichar)aCharacter;
- (NSCharacterSet*) invertedSet;
+ (NSCharacterSet*) characterSetWithContentsOfFile: (NSString*)file;
@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 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSClassDescription.h" 1
# 28 "/home/linux/System/Headers/Foundation/NSClassDescription.h"
# 1 "/home/linux/System/Headers/Foundation/NSException.h" 1
# 28 "/home/linux/System/Headers/Foundation/NSException.h"
# 1 "/usr/include/setjmp.h" 1 3
# 28 "/usr/include/setjmp.h" 3
# 1 "/usr/include/bits/setjmp.h" 1 3
# 57 "/usr/include/bits/setjmp.h" 3
typedef int __jmp_buf[6];
# 31 "/usr/include/setjmp.h" 2 3
# 1 "/usr/include/bits/sigset.h" 1 3
# 32 "/usr/include/setjmp.h" 2 3
typedef struct __jmp_buf_tag
{
__jmp_buf __jmpbuf;
int __mask_was_saved;
__sigset_t __saved_mask;
} jmp_buf[1];
extern int __sigsetjmp (jmp_buf __env, int __savemask) ;
# 70 "/usr/include/setjmp.h" 3
extern void longjmp (jmp_buf __env, int __val)
__attribute__ ((__noreturn__));
extern void _longjmp (jmp_buf __env, int __val)
__attribute__ ((__noreturn__));
typedef jmp_buf sigjmp_buf;
# 95 "/usr/include/setjmp.h" 3
extern void siglongjmp (sigjmp_buf __env, int __val)
__attribute__ ((__noreturn__));
# 29 "/home/linux/System/Headers/Foundation/NSException.h" 2
@class NSDictionary;
@interface NSException : NSObject <NSCoding, NSCopying>
{
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;
typedef struct _NSHandler
{
jmp_buf jumpState;
struct _NSHandler *next;
NSException *exception;
} NSHandler;
typedef void NSUncaughtExceptionHandler(NSException *exception);
extern NSUncaughtExceptionHandler *_NSUncaughtExceptionHandler;
# 104 "/home/linux/System/Headers/Foundation/NSException.h"
extern void _NSAddHandler( NSHandler *handler );
extern void _NSRemoveHandler( NSHandler *handler );
# 133 "/home/linux/System/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 "/home/linux/System/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 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSConnection.h" 1
# 31 "/home/linux/System/Headers/Foundation/NSConnection.h"
# 1 "/home/linux/System/Headers/Foundation/NSTimer.h" 1
# 37 "/home/linux/System/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: invocation
repeats: (BOOL)f;
+ (NSTimer*) scheduledTimerWithTimeInterval: (NSTimeInterval)ti
target: object
selector: (SEL)selector
userInfo: info
repeats: (BOOL)f;
+ (NSTimer*) timerWithTimeInterval: (NSTimeInterval)ti
invocation: invocation
repeats: (BOOL)f;
+ (NSTimer*) timerWithTimeInterval: (NSTimeInterval)ti
target: object
selector: (SEL)selector
userInfo: info
repeats: (BOOL)f;
- (void) fire;
- (void) invalidate;
- (BOOL) isValid;
- (NSTimeInterval) timeInterval;
- (NSDate*) fireDate;
- (id) userInfo;
@end
# 32 "/home/linux/System/Headers/Foundation/NSConnection.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSRunLoop.h" 1
# 27 "/home/linux/System/Headers/Foundation/NSRunLoop.h"
# 1 "/home/linux/System/Headers/Foundation/NSMapTable.h" 1
# 33 "/home/linux/System/Headers/Foundation/NSMapTable.h"
# 1 "/home/linux/System/Headers/gnustep/base/o_map.h" 1
# 31 "/home/linux/System/Headers/gnustep/base/o_map.h"
# 1 "/home/linux/System/Headers/gnustep/base/o_cbs.h" 1
# 35 "/home/linux/System/Headers/gnustep/base/o_cbs.h"
typedef size_t (*o_hash_func_t)(const void *, void *);
typedef int (*o_compare_func_t)(const void *, const void *, void *);
typedef int (*o_is_equal_func_t)(const void *, const void *, void *);
typedef const void *(*o_retain_func_t)(const void *, void *);
typedef void (*o_release_func_t)(void *, void *);
typedef NSString *(*o_describe_func_t)(const void *, void *);
typedef struct _o_callbacks o_callbacks_t;
struct _o_callbacks
{
o_hash_func_t hash;
o_compare_func_t compare;
o_is_equal_func_t is_equal;
o_retain_func_t retain;
o_release_func_t release;
o_describe_func_t describe;
const void *not_an_item_marker;
};
extern const o_callbacks_t o_callbacks_for_int;
extern const o_callbacks_t o_callbacks_for_char_p;
extern const o_callbacks_t o_callbacks_for_non_owned_void_p;
extern const o_callbacks_t o_callbacks_for_owned_void_p;
extern const o_callbacks_t o_callbacks_for_int_p;
extern const o_callbacks_t o_callbacks_for_id;
extern const void *o_not_an_int_marker;
extern const void *o_not_a_char_p_marker;
extern const void *o_not_a_void_p_marker;
extern const void *o_not_an_int_p_marker;
extern const void *o_not_an_id_marker;
extern o_callbacks_t __o_callbacks_standard;
o_callbacks_t
o_callbacks_standard(void);
o_callbacks_t
o_callbacks_standardize(o_callbacks_t callbacks);
size_t
o_hash(o_callbacks_t callbacks,
const void *thing,
void *user_data);
int
o_compare(o_callbacks_t callbacks,
const void *thing1,
const void *thing2,
void *user_data);
int
o_is_equal(o_callbacks_t callbacks,
const void *thing1,
const void *thing2,
void *user_data);
const void *
o_retain(o_callbacks_t callbacks,
const void *thing,
void *user_data);
void
o_release(o_callbacks_t callbacks,
void *thing,
void *user_data);
NSString *
o_describe(o_callbacks_t callbacks,
const void *thing,
void *user_data);
const void *
o_not_an_item_marker(o_callbacks_t callbacks);
size_t o_non_owned_void_p_hash(const void *ptr);
int o_non_owned_void_p_compare(const void *ptr, const void *qtr);
int o_non_owned_void_p_is_equal(const void *ptr, const void *qtr);
const void *o_non_owned_void_p_retain(const void *ptr);
void o_non_owned_void_p_release(void *ptr);
NSString *o_non_owned_void_p_describe(const void *ptr);
size_t o_owned_void_p_hash(const void *ptr);
int o_owned_void_p_compare(const void *ptr, const void *qtr);
int o_owned_void_p_is_equal(const void *ptr, const void *qtr);
const void *o_owned_void_p_retain(const void *ptr);
void o_owned_void_p_release(void *ptr);
NSString *o_owned_void_p_describe(const void *ptr);
size_t o_int_hash(int i);
int o_int_compare(int i, int j);
int o_int_is_equal(int i, int j);
const void *o_int_retain(int i);
void o_int_release(int i);
NSString *o_int_describe(int i);
size_t o_int_p_hash(const int *iptr);
int o_int_p_compare(const int *iptr, const int *jptr);
int o_int_p_is_equal(const int *iptr, const int *jptr);
const void *o_int_p_retain(const int *iptr);
void o_int_p_release(int *iptr);
NSString *o_int_p_describe(const int *iptr);
size_t o_char_p_hash(const char *cptr);
int o_char_p_compare(const char *cptr, const char *dptr);
int o_char_p_is_equal(const char *cptr, const char *dptr);
const void *o_char_p_retain(const char *cptr);
void o_char_p_release(char *cptr);
NSString *o_char_p_describe(const char *cptr);
size_t o_id_hash(id obj);
int o_id_compare(id obj, id jbo);
int o_id_is_equal(id obj, id jbo);
const void *o_id_retain(id obj);
void o_id_release(id obj);
NSString *o_id_describe(id obj);
# 32 "/home/linux/System/Headers/gnustep/base/o_map.h" 2
# 1 "/home/linux/System/Headers/gnustep/base/o_hash.h" 1
# 37 "/home/linux/System/Headers/gnustep/base/o_hash.h"
typedef struct _o_hash o_hash_t;
typedef struct _o_hash_enumerator o_hash_enumerator_t;
typedef struct _o_hash_node o_hash_node_t;
typedef struct _o_hash_bucket o_hash_bucket_t;
struct _o_hash_node
{
o_hash_t *hash;
o_hash_bucket_t *bucket;
o_hash_node_t *next_in_bucket;
o_hash_node_t *prev_in_bucket;
o_hash_node_t *next_in_hash;
o_hash_node_t *prev_in_hash;
const void *element;
};
struct _o_hash_bucket
{
size_t node_count;
size_t element_count;
o_hash_node_t *first_node;
};
struct _o_hash
{
int magic_number;
size_t serial_number;
NSString *name;
const void *extra;
o_callbacks_t extra_callbacks;
o_callbacks_t callbacks;
size_t bucket_count;
size_t node_count;
size_t element_count;
o_hash_bucket_t *buckets;
o_hash_node_t *first_node;
};
struct _o_hash_enumerator
{
o_hash_t *hash;
o_hash_node_t *node;
};
# 117 "/home/linux/System/Headers/gnustep/base/o_hash.h"
# 1 "/home/linux/System/Headers/gnustep/base/o_hash_bas.h" 1
# 33 "/home/linux/System/Headers/gnustep/base/o_hash_bas.h"
# 1 "/home/linux/System/Headers/gnustep/base/numbers.h" 1
# 59 "/home/linux/System/Headers/gnustep/base/numbers.h"
extern size_t ___o_number_allocated;
extern size_t ___o_number_deallocated;
extern size_t ___o_number_serialized;
size_t
_o_number_allocated(void);
size_t
_o_number_deallocated(void);
size_t
_o_number_serialized(void);
size_t
_o_next_power_of_two(size_t bound);
# 34 "/home/linux/System/Headers/gnustep/base/o_hash_bas.h" 2
# 44 "/home/linux/System/Headers/gnustep/base/o_hash_bas.h"
int
o_hash_magic_number(o_hash_t *xx);
NSZone *
o_hash_zone(o_hash_t *xx);
NSString *
o_hash_name(o_hash_t *xx);
void
o_hash_set_name(o_hash_t *xx, NSString *name);
void
o_hash_unset_name(o_hash_t *xx);
size_t
o_hash_serial_number(o_hash_t *xx);
size_t
_o_hash_set_serial_number(o_hash_t *xx);
o_callbacks_t
o_hash_set_extra_callbacks(o_hash_t *xx,
o_callbacks_t callbacks);
o_callbacks_t
o_hash_extra_callbacks(o_hash_t *xx);
const void *
o_hash_extra(o_hash_t *xx);
const void *
o_hash_set_extra(o_hash_t *xx, const void *extra);
void
o_hash_unset_extra(o_hash_t *xx);
o_hash_t *
_o_hash_alloc_with_zone(NSZone *zone);
void
_o_hash_dealloc(o_hash_t *xx);
o_hash_t *
_o_hash_copy_with_zone(o_hash_t *xx, NSZone *zone);
NSString *
_o_hash_description(o_hash_t *xx);
# 118 "/home/linux/System/Headers/gnustep/base/o_hash.h" 2
# 1 "/home/linux/System/Headers/gnustep/base/o_hash_cbs.h" 1
# 31 "/home/linux/System/Headers/gnustep/base/o_hash_cbs.h"
# 1 "/home/linux/System/Headers/gnustep/base/o_hash.h" 1
# 32 "/home/linux/System/Headers/gnustep/base/o_hash_cbs.h" 2
# 61 "/home/linux/System/Headers/gnustep/base/o_hash_cbs.h"
o_callbacks_t o_hash_element_callbacks (o_hash_t *yy);
const void *o_hash_not_an_element_marker (o_hash_t *yy);
# 119 "/home/linux/System/Headers/gnustep/base/o_hash.h" 2
o_callbacks_t
o_callbacks_for_hash(void);
o_hash_t *
o_hash_alloc(void);
o_hash_t *
o_hash_alloc_with_zone(NSZone *zone);
o_hash_t *
o_hash_with_zone_with_callbacks(NSZone *zone,
o_callbacks_t callbacks);
o_hash_t *
o_hash_with_zone(NSZone *zone);
o_hash_t *
o_hash_with_callbacks(o_callbacks_t callbacks);
o_hash_t *o_hash_of_char_p(void);
o_hash_t *o_hash_of_non_owned_void_p(void);
o_hash_t *o_hash_of_owned_void_p(void);
o_hash_t *o_hash_of_int(void);
o_hash_t *o_hash_of_int_p(void);
o_hash_t *o_hash_of_id(void);
o_hash_t *
o_hash_init(o_hash_t *hash);
o_hash_t *
o_hash_init_with_callbacks(o_hash_t *hash,
o_callbacks_t callbacks);
o_hash_t *
o_hash_init_with_hash(o_hash_t *hash,
o_hash_t *other_hash);
o_hash_t *
o_hash_copy_with_zone(o_hash_t *hash, NSZone *zone);
o_hash_t *
o_hash_copy(o_hash_t *old_hash);
# 204 "/home/linux/System/Headers/gnustep/base/o_hash.h"
o_hash_t *
o_hash_map_elements(o_hash_t *hash,
const void *(*fcn)(const void *, const void *),=
const void *user_data);
void
o_hash_dealloc(o_hash_t *hash);
int
o_hash_contains_hash(o_hash_t *hash,
o_hash_t *other_hash);
int
o_hash_intersects_hash(o_hash_t *hash,
o_hash_t *other_hash);
int
o_hash_is_equal_to_hash(o_hash_t *hash,
o_hash_t *other_hash);
const void *
o_hash_add_element_known_absent(o_hash_t *hash,
const void *element);
const void *
o_hash_add_element(o_hash_t *hash, const void *element);
const void *
o_hash_add_element_if_absent(o_hash_t *hash, const void *element);
void
o_hash_replace_element(o_hash_t *hash,
const void *element);
void
o_hash_remove_element(o_hash_t *hash, const void *element);
void
o_hash_empty(o_hash_t *hash);
void *
o_hash_any_element(o_hash_t *hash);
int
o_hash_contains_element(o_hash_t *hash, const void *element);
const void *
o_hash_element(o_hash_t *hash, const void *element);
const void **
o_hash_all_elements(o_hash_t *hash);
# 318 "/home/linux/System/Headers/gnustep/base/o_hash.h"
o_hash_enumerator_t
o_hash_enumerator_for_hash(o_hash_t *hash);
int
o_hash_enumerator_next_element(o_hash_enumerator_t *enumerator,
const void **element);
int
o_hash_is_empty(o_hash_t *hash);
size_t
o_hash_count(o_hash_t *hash);
size_t
o_hash_capacity(o_hash_t *hash);
int
o_hash_check(o_hash_t *hash);
# 359 "/home/linux/System/Headers/gnustep/base/o_hash.h"
size_t
o_hash_resize(o_hash_t *hash, size_t new_capacity);
size_t
o_hash_rightsize(o_hash_t *hash);
NSString *
o_hash_description(o_hash_t *hash);
o_hash_t *
o_hash_intersect_hash(o_hash_t *hash, o_hash_t *other_hash);
o_hash_t *
o_hash_minus_hash(o_hash_t *hash, o_hash_t *other_hash);
o_hash_t *
o_hash_union_hash(o_hash_t *hash, o_hash_t *other_hash);
# 33 "/home/linux/System/Headers/gnustep/base/o_map.h" 2
typedef struct _o_map o_map_t;
typedef struct _o_map_bucket o_map_bucket_t;
typedef struct _o_map_node o_map_node_t;
typedef struct _o_map_enumerator o_map_enumerator_t;
struct _o_map_node
{
o_map_t *map;
o_map_bucket_t *bucket;
o_map_node_t *next_in_bucket;
o_map_node_t *prev_in_bucket;
o_map_node_t *next_in_map;
o_map_node_t *prev_in_map;
const void *key;
const void *value;
};
struct _o_map_bucket
{
size_t node_count;
size_t element_count;
o_map_node_t *first_node;
};
struct _o_map
{
int magic_number;
size_t serial_number;
NSString *name;
const void *extra;
o_callbacks_t extra_callbacks;
o_callbacks_t key_callbacks;
o_callbacks_t value_callbacks;
size_t bucket_count;
size_t node_count;
size_t element_count;
o_map_bucket_t *buckets;
o_map_node_t *first_node;
};
struct _o_map_enumerator
{
o_map_t *map;
o_map_node_t *node;
};
# 120 "/home/linux/System/Headers/gnustep/base/o_map.h"
# 1 "/home/linux/System/Headers/gnustep/base/o_map_bas.h" 1
# 44 "/home/linux/System/Headers/gnustep/base/o_map_bas.h"
int
o_map_magic_number(o_map_t *xx);
NSZone *
o_map_zone(o_map_t *xx);
NSString *
o_map_name(o_map_t *xx);
void
o_map_set_name(o_map_t *xx, NSString *name);
void
o_map_unset_name(o_map_t *xx);
size_t
o_map_serial_number(o_map_t *xx);
size_t
_o_map_set_serial_number(o_map_t *xx);
o_callbacks_t
o_map_set_extra_callbacks(o_map_t *xx,
o_callbacks_t callbacks);
o_callbacks_t
o_map_extra_callbacks(o_map_t *xx);
const void *
o_map_extra(o_map_t *xx);
const void *
o_map_set_extra(o_map_t *xx, const void *extra);
void
o_map_unset_extra(o_map_t *xx);
o_map_t *
_o_map_alloc_with_zone(NSZone *zone);
void
_o_map_dealloc(o_map_t *xx);
o_map_t *
_o_map_copy_with_zone(o_map_t *xx, NSZone *zone);
NSString *
_o_map_description(o_map_t *xx);
# 121 "/home/linux/System/Headers/gnustep/base/o_map.h" 2
# 1 "/home/linux/System/Headers/gnustep/base/o_map_cbs.h" 1
# 31 "/home/linux/System/Headers/gnustep/base/o_map_cbs.h"
# 1 "/home/linux/System/Headers/gnustep/base/o_map.h" 1
# 32 "/home/linux/System/Headers/gnustep/base/o_map_cbs.h" 2
# 44 "/home/linux/System/Headers/gnustep/base/o_map_cbs.h"
o_callbacks_t o_map_key_callbacks (o_map_t *yy);
const void *o_map_not_a_key_marker (o_map_t *yy);
o_callbacks_t
o_map_value_callbacks (o_map_t *yy);
const void *o_map_not_a_value_marker (o_map_t *yy);
# 122 "/home/linux/System/Headers/gnustep/base/o_map.h" 2
o_callbacks_t
o_callbacks_for_map(void);
o_map_t *
o_map_alloc(void);
o_map_t *
o_map_alloc_with_zone(NSZone *zone);
o_map_t *
o_map_with_zone_with_callbacks(NSZone *zone,
o_callbacks_t key_callbacks,
o_callbacks_t value_callbacks);
o_map_t *
o_map_with_callbacks(o_callbacks_t key_callbacks,
o_callbacks_t value_callbacks);
o_map_t *
o_map_with_zone(NSZone *zone);
o_map_t *o_map_of_int(void);
o_map_t *o_map_of_int_to_char_p(void);
o_map_t *o_map_of_int_to_non_owned_void_p(void);
o_map_t *o_map_of_int_to_id(void);
o_map_t *o_map_of_char_p(void);
o_map_t *o_map_of_char_p_to_int(void);
o_map_t *o_map_of_char_p_to_non_owned_void_p(void);
o_map_t *o_map_of_char_p_to_id(void);
o_map_t *o_map_of_non_owned_void_p(void);
o_map_t *o_map_of_non_owned_void_p_to_int(void);
o_map_t *o_map_of_non_owned_void_p_to_char_p(void);
o_map_t *o_map_of_non_owned_void_p_to_id(void);
o_map_t *o_map_of_id(void);
o_map_t *
o_map_init(o_map_t *map);
o_map_t *
o_map_init_with_callbacks(o_map_t *map,
o_callbacks_t key_callbacks,
o_callbacks_t value_callbacks);
o_map_t *
object_map_init_from_map(o_map_t *map, o_map_t *old_map);
void
o_map_dealloc(o_map_t *map);
size_t
o_map_count(o_map_t *map);
size_t
o_map_capacity(o_map_t *map);
int
o_map_check(o_map_t *map);
int
o_map_contains_key(o_map_t *map, const void *key);
int
o_map_contains_value(o_map_t *map, const void *value);
# 236 "/home/linux/System/Headers/gnustep/base/o_map.h"
int
o_map_key_and_value_at_key(o_map_t *map,
const void **old_key,
const void **value,
const void *key);
const void *
o_map_key_at_key(o_map_t *map, const void *key);
const void *
o_map_value_at_key(o_map_t *map, const void *key);
o_map_enumerator_t
o_map_enumerator_for_map(o_map_t *map);
int
o_map_enumerator_next_key_and_value(o_map_enumerator_t *enumerator,
const void **key,
const void **value);
int
o_map_enumerator_next_key(o_map_enumerator_t *enumerator,
const void **key);
int
o_map_enumerator_next_value(o_map_enumerator_t *enumerator,
const void **value);
const void **
o_map_all_keys_and_values(o_map_t *map);
const void **
o_map_all_keys(o_map_t *map);
const void **
o_map_all_values(o_map_t *map);
void
o_map_remove_key(o_map_t *map, const void *key);
void
o_map_empty(o_map_t *map);
const void *
o_map_at_key_put_value_known_absent(o_map_t *map,
const void *key,
const void *value);
const void *
o_map_at_key_put_value(o_map_t *map,
const void *key,
const void *value);
const void *
o_map_at_key_put_value_if_absent(o_map_t *map,
const void *key,
const void *value);
void
o_map_replace_key(o_map_t *map, const void *key);
int
o_map_contains_map(o_map_t *map1, o_map_t *map2);
int
o_map_is_equal_to_map(o_map_t *map1, o_map_t *map2);
int
o_map_keys_contain_keys_of_map(o_map_t *map1, o_map_t *map2);
int
o_map_keys_are_equal_to_keys_of_map(o_map_t *map1,
o_map_t *map2);
int
o_map_intersects_map(o_map_t *map1, o_map_t *map2);
int
o_map_keys_intersect_keys_of_map(o_map_t *map1,
o_map_t *map2);
# 355 "/home/linux/System/Headers/gnustep/base/o_map.h"
o_map_t *
o_map_copy_with_zone(o_map_t *old_map, NSZone *zone);
o_map_t *
o_map_copy(o_map_t *old_map);
# 372 "/home/linux/System/Headers/gnustep/base/o_map.h"
o_map_t *
o_map_map_keys(o_map_t *map,
const void *(*kfcn)(const void *, void *),
void *user_data);
o_map_t *
o_map_map_values(o_map_t *map,
const void *(*vfcn)(const void *, void *),
void *user_data);
# 396 "/home/linux/System/Headers/gnustep/base/o_map.h"
size_t
o_map_resize(o_map_t *map, size_t new_capacity);
size_t
o_map_rightsize(o_map_t *map);
NSString *
o_map_description(o_map_t *map);
o_map_t *
o_map_intersect_map(o_map_t *map, o_map_t *other_map);
o_map_t *
o_map_minus_map(o_map_t *map, o_map_t *other_map);
o_map_t *
o_map_union_map(o_map_t *map, o_map_t *other_map);
o_hash_t *
o_hash_init_from_map_keys(o_hash_t *hash, o_map_t *map);
o_hash_t *
o_hash_init_from_map_values(o_hash_t *hash, o_map_t *map);
# 34 "/home/linux/System/Headers/Foundation/NSMapTable.h" 2
typedef o_map_t NSMapTable;
typedef o_map_enumerator_t NSMapEnumerator;
typedef struct _NSMapTableKeyCallBacks NSMapTableKeyCallBacks;
struct _NSMapTableKeyCallBacks
{
unsigned (*hash)(NSMapTable *, const void *);
BOOL (*isEqual)(NSMapTable *, const void *, const void *);
void (*retain)(NSMapTable *, const void *);
void (*release)(NSMapTable *, void *);
NSString *(*describe)(NSMapTable *, const void *);
const void *notAKeyMarker;
};
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 NSNonOwnedPointerOrNullMapKeyCallBack=
s;
extern const NSMapTableKeyCallBacks NSNonRetainedObjectMapKeyCallBacks;
extern const NSMapTableKeyCallBacks NSObjectMapKeyCallBacks;
extern const NSMapTableKeyCallBacks NSOwnedPointerMapKeyCallBacks;
extern const NSMapTableValueCallBacks NSIntMapValueCallBacks;
extern const NSMapTableValueCallBacks NSNonOwnedPointerMapValueCallBacks;=
extern const NSMapTableValueCallBacks NSNonRetainedObjectMapValueCallBack=
s;
extern const NSMapTableValueCallBacks NSObjectMapValueCallBacks;
extern const NSMapTableValueCallBacks NSOwnedPointerMapValueCallBacks;
typedef struct _NSMT_extra _NSMT_extra_t;
struct _NSMT_extra
{
NSMapTableKeyCallBacks keyCallBacks;
NSMapTableValueCallBacks valueCallBacks;
};
typedef unsigned int (*NSMT_hash_func_t)(NSMapTable *, const void *);
typedef BOOL (*NSMT_is_equal_func_t)(NSMapTable *, const void *,
const void *);
typedef void (*NSMT_retain_func_t)(NSMapTable *, const void *);
typedef void (*NSMT_release_func_t)(NSMapTable *, void *);
typedef NSString *(*NSMT_describe_func_t)(NSMapTable *, const void *);
# 161 "/home/linux/System/Headers/Foundation/NSMapTable.h"
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 NSMapEnumerator
NSEnumerateMapTable(NSMapTable *table);
extern BOOL
NSNextMapEnumeratorPair(NSMapEnumerator *enumerator,
void **key,
void **value);
extern NSArray *
NSAllMapTableKeys(NSMapTable *table);
extern NSArray *
NSAllMapTableValues(NSMapTable *table);
# 261 "/home/linux/System/Headers/Foundation/NSMapTable.h"
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);
# 290 "/home/linux/System/Headers/Foundation/NSMapTable.h"
extern NSString *NSStringFromMapTable (NSMapTable *table);
# 28 "/home/linux/System/Headers/Foundation/NSRunLoop.h" 2
@class NSTimer, NSDate, NSPort;
extern NSString* const NSDefaultRunLoopMode;
@interface NSRunLoop : NSObject <GCFinalization>
{
@private
id _current_mode;
NSMapTable *_mode_2_timers;
NSMapTable *_mode_2_watchers;
NSMapTable *_mode_2_performers;
NSMutableArray *_timedPerformers;
NSMapTable *_efdMap;
NSMapTable *_rfdMap;
NSMapTable *_wfdMap;
int _fdStart;
}
+ (NSRunLoop*) currentRunLoop;
- (void) acceptInputForMode: (NSString*)mode
beforeDate: (NSDate*)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*)limit_date;
@end
@interface NSRunLoop(OPENSTEP)
- (void) addPort: (NSPort*)port
forMode: (NSString*)mode;
- (void) cancelPerformSelector: (SEL)aSelector
target: target
argument: argument;
- (void) configureAsServer;
- (void) performSelector: (SEL)aSelector
target: target
argument: argument
order: (unsigned int)order
modes: (NSArray*)modes;
- (void) removePort: (NSPort*)port
forMode: (NSString*)mode;
@end
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
@interface NSRunLoop(GNUstepExtensions)
+ currentInstance;
+ (NSString*) currentMode;
+ (void) run;
+ (BOOL) runOnceBeforeDate: date;
+ (BOOL) runOnceBeforeDate: date
forMode: (NSString*)mode;
+ (void) runUntilDate: date;
+ (void) runUntilDate: date
forMode: (NSString*)mode;
- (BOOL) runOnceBeforeDate: (NSDate*)date;
- (BOOL) runOnceBeforeDate: (NSDate*)date
forMode: (NSString*)mode;
- (void) runUntilDate: (NSDate*)limit_date
forMode: (NSString*)mode;
# 152 "/home/linux/System/Headers/Foundation/NSRunLoop.h"
- (void) addEvent: (void*)data
type: (RunLoopEventType)type
watcher: (id<RunLoopEvents>)watcher
forMode: (NSString*)mode;
- (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 "/home/linux/System/Headers/Foundation/NSConnection.h" 2
@class NSDistantObject;
@class NSPort;
@class NSPortNameServer;
@class NSData;
@class NSInvocation;
extern NSString *NSConnectionRepliesReceived;
extern NSString *NSConnectionRepliesSent;
extern NSString *NSConnectionRequestsReceived;
extern NSString *NSConnectionRequestsSent;
extern NSString *NSConnectionLocalCount;
extern NSString *NSConnectionProxyCount;
# 60 "/home/linux/System/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*=
)name
host: (NSString*=
)host;
+ (NSDistantObject*) rootProxyForConnectionWithRegisteredName: (NSString*=
)name
host: (NSString*)host usingNameServer: (NSPortNameServer*)s;
- (void) addRequestMode: (NSString*)mode;
- (void) addRunLoop: (NSRunLoop*)runloop;
- (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 *)runloop;
- (NSTimeInterval) replyTimeout;
- (NSArray*) requestModes;
- (NSTimeInterval) requestTimeout;
- (id) rootObject;
- (NSDistantObject*) rootProxy;
- (void) runInNewThread;
- (NSPort*) sendPort;
- (void) setDelegate: anObj;
- (void) setIndependentConversationQueueing: (BOOL)flag;
- (void) setReplyTimeout: (NSTimeInterval)seconds;
- (void) setRequestMode: (NSString*)mode;
- (void) setRequestTimeout: (NSTimeInterval)seconds;
- (void) setRootObject: anObj;
- (NSDictionary*) statistics;
@end
@interface NSConnection (GNUstepExtensions) <GCFinalization>
+ (NSConnection*) newRegisteringAtName: (NSString*)n
withRootObject: (id)anObject;
- (void) gcFinalize;
- (retval_t) forwardForProxy: (NSDistantObject*)object
selector: (SEL)sel
argFrame: (arglist_t)frame;
- (void) forwardInvocation: (NSInvocation *)inv
forProxy: (NSDistantObject*)object;
- (const char *) typeForSelector: (SEL)sel remoteTarget: (unsigned)target=
;
@end
extern NSString *ConnectionBecameInvalidNotification;
@interface Object (NSConnectionDelegate)
- (BOOL) connection: (NSConnection*)parent
shouldMakeNewConnection: (NSConnection*)newConnection;
- (BOOL) makeNewConnection: (NSConnection*)newConnection
sender: (NSConnection*)parent;
# 197 "/home/linux/System/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)
- (Class) classForPortCoder;
# 224 "/home/linux/System/Headers/Foundation/NSConnection.h"
- (id) replacementObjectForPortCoder: (NSPortCoder*)aCoder;
# 233 "/home/linux/System/Headers/Foundation/NSConnection.h"
@end
extern NSString *NSConnectionReplyMode;
extern NSString *NSConnectionDidDieNotification;
extern NSString *NSConnectionDidInitializeNotification;
extern NSString *NSFailedAuthenticationException;
# 45 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSDateFormatter.h" 1
# 30 "/home/linux/System/Headers/Foundation/NSDateFormatter.h"
# 1 "/home/linux/System/Headers/Foundation/NSFormatter.h" 1
# 31 "/home/linux/System/Headers/Foundation/NSFormatter.h"
@class NSString, NSAttributedString, NSDictionary;
@interface NSFormatter : NSObject <NSCopying, NSCoding>
{
}
- (NSAttributedString*) attributedStringForObjectValue: (id)anObject
withDefaultAttributes: (NSDictionary*)at=
tr;
- (NSString*) editingStringForObjectValue: (id)anObject;
- (BOOL) getObjectValue: (id*)anObject
forString: (NSString*)string
errorDescription: (NSString**)error;
- (BOOL) isPartialStringValid: (NSString*)partialString
newEditingString: (NSString**)newString
errorDescription: (NSString**)error;
- (NSString*) stringForObjectValue: (id)anObject;
@end
# 31 "/home/linux/System/Headers/Foundation/NSDateFormatter.h" 2
@interface NSDateFormatter : NSFormatter <NSCoding, NSCopying>
{
NSString *_dateFormat;
BOOL _allowsNaturalLanguage;
}
- (id) initWithDateFormat: (NSString *)format
allowNaturalLanguage: (BOOL)flag;
- (BOOL) allowsNaturalLanguage;
- (NSString *) dateFormat;
@end
# 47 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSData.h" 1
# 29 "/home/linux/System/Headers/Foundation/NSData.h"
# 1 "/home/linux/System/Headers/Foundation/NSSerialization.h" 1
# 31 "/home/linux/System/Headers/Foundation/NSSerialization.h"
@class NSData, NSMutableData;
@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
@interface NSSerializer: NSObject
+ (NSData*) serializePropertyList: (id)propertyList;
+ (void) serializePropertyList: (id)propertyList
intoData: (NSMutableData*)d;
@end
# 62 "/home/linux/System/Headers/Foundation/NSSerialization.h"
@interface NSSerializer (GNUstep)
+ (void) shouldBeCompact: (BOOL)flag;
+ (void) serializePropertyList: (id)propertyList
intoData: (NSMutableData*)d
compact: (BOOL)flag;
@end
@interface NSDeserializer: NSObject
+ (id) deserializePropertyListFromData: (NSData*)data
atCursor: (unsigned int*)cursor
mutableContainers: (BOOL)flag;
+ (id) deserializePropertyListFromData: (NSData*)data
mutableContainers: (BOOL)flag;
+ (id) deserializePropertyListLazilyFromData: (NSData*)data
atCursor: (unsigned*)cursor
length: (unsigned)length
mutableContainers: (BOOL)flag;
@end
# 97 "/home/linux/System/Headers/Foundation/NSSerialization.h"
@class NSMutableSet;
@interface NSDeserializer (GNUstep)
+ (void) uniquing: (BOOL)flag;
@end
# 30 "/home/linux/System/Headers/Foundation/NSData.h" 2
@class NSURL;
@interface NSData : NSObject <NSCoding, NSCopying, NSMutableCopying>
+ (id) data;
+ (id) dataWithBytes: (const void*)bytes
length: (unsigned int)length;
+ (id) dataWithBytesNoCopy: (void*)bytes
length: (unsigned int)length;
+ (id) dataWithContentsOfFile: (NSString*)path;
+ (id) dataWithContentsOfMappedFile: (NSString*)path;
+ (id) dataWithContentsOfURL: (NSURL*)url;
+ (id) dataWithData: (NSData*)data;
- (id) initWithBytes: (const void*)bytes
length: (unsigned int)length;
- (id) initWithBytesNoCopy: (void*)bytes
length: (unsigned int)length;
- (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;
- (unsigned int) deserializeAlignedBytesLengthAtCursor: (unsigned int*)cu=
rsor;
- (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 <NSObjCTypeSerializationCallBack>)callbac=
k;
- (int) deserializeIntAtCursor: (unsigned int*)cursor;
- (int) deserializeIntAtIndex: (unsigned int)location;
- (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
# 175 "/home/linux/System/Headers/Foundation/NSData.h"
@interface NSData (GNUstepExtensions)
+ (id) dataWithShmID: (int)anID length: (unsigned) length;
+ (id) dataWithSharedBytes: (const void*)bytes length: (unsigned) length;=
+ (id) dataWithStaticBytes: (const void*)bytes length: (unsigned) length;=
- (void) deserializeTypeTag: (unsigned char*)tag
andCrossRef: (unsigned int*)xref
atCursor: (unsigned*)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)length;
- (void*) mutableBytes;
- (void) appendBytes: (const void*)bytes
length: (unsigned int)length;
- (void) appendData: (NSData*)other;
- (void) replaceBytesInRange: (NSRange)aRange
withBytes: (const void*)bytes;
- (void) resetBytesInRange: (NSRange)aRange;
- (void) setData: (NSData*)data;
- (void) serializeAlignedBytesLength: (unsigned int)length;
- (void) serializeDataAt: (const void*)data
ofObjCType: (const char*)type
context: (id <NSObjCTypeSerializationCallBack>)callback;=
- (void) serializeInt: (int)value;
- (void) serializeInt: (int)value
atIndex: (unsigned int)location;
- (void) serializeInts: (int*)intBuffer
count: (unsigned int)numInts;
- (void) serializeInts: (int*)intBuffer
count: (unsigned int)numInts
atIndex: (unsigned int)location;
@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)xref;
@end
# 48 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSDecimalNumber.h" 1
# 31 "/home/linux/System/Headers/Foundation/NSDecimalNumber.h"
# 1 "/home/linux/System/Headers/Foundation/NSDecimal.h" 1
# 37 "/home/linux/System/Headers/Foundation/NSDecimal.h"
typedef enum {
NSRoundDown,
NSRoundUp,
NSRoundPlain,
NSRoundBankers
} NSRoundingMode;
typedef enum {
NSCalculationNoError =3D 0,
NSCalculationUnderflow,
NSCalculationOverflow,
NSCalculationLossOfPrecision,
NSCalculationDivideByZero
} NSCalculationError;
# 61 "/home/linux/System/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 =3D=3D (BOOL)0);
}
extern void
NSDecimalCopy(NSDecimal *destination, const NSDecimal *source);
extern void
NSDecimalCompact(NSDecimal *number);
extern NSComparisonResult
NSDecimalCompare(const NSDecimal *leftOperand, const NSDecimal *rightOper=
and);
extern void
NSDecimalRound(NSDecimal *result, const NSDecimal *number, int scale, NSR=
oundingMode mode);
extern NSCalculationError
NSDecimalNormalize(NSDecimal *n1, NSDecimal *n2, NSRoundingMode mode);
extern NSCalculationError
NSDecimalAdd(NSDecimal *result, const NSDecimal *left, const NSDecimal *r=
ight, NSRoundingMode mode);
extern NSCalculationError
NSDecimalSubtract(NSDecimal *result, const NSDecimal *left, const NSDecim=
al *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 *r=
r, NSRoundingMode mode);
extern NSCalculationError
NSDecimalPower(NSDecimal *result, const NSDecimal *n, unsigned power, NSR=
oundingMode 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 "/home/linux/System/Headers/Foundation/NSDecimalNumber.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSValue.h" 1
# 30 "/home/linux/System/Headers/Foundation/NSValue.h"
@class NSString;
@interface NSValue : NSObject <NSCopying, NSCoding>
+ (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*)ty=
pe;
+ (NSValue*) valueFromString: (NSString*)string;
- (id) initWithBytes: (const void*)value objCType: (const char*)type;
- (BOOL) isEqualToValue: (NSValue*)other;
- (void) getValue: (void*)value;
- (const char*) objCType;
- (id) nonretainedObjectValue;
- (void*) pointerValue;
- (NSRange) rangeValue;
- (NSRect) rectValue;
- (NSSize) sizeValue;
- (NSPoint) pointValue;
@end
@interface NSNumber : NSValue <NSCopying,NSCoding>
+ (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;
- (BOOL) boolValue;
- (signed char) charValue;
- (double) doubleValue;
- (float) floatValue;
- (signed int) intValue;
- (signed long long) longLongValue;
- (signed long) longValue;
- (signed short) shortValue;
- (NSString*) stringValue;
- (unsigned char) unsignedCharValue;
- (unsigned int) unsignedIntValue;
- (unsigned long long) unsignedLongLongValue;
- (unsigned long) unsignedLongValue;
- (unsigned short) unsignedShortValue;
- (NSString*) description;
- (NSString*) descriptionWithLocale: (NSDictionary*)locale;
- (NSComparisonResult) compare: (NSNumber*)otherNumber;
- (BOOL) isEqualToNumber: (NSNumber*)otherNumber;
@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 "/home/linux/System/Headers/Foundation/NSDecimalNumber.h" 2
@class NSDecimalNumber;
@protocol NSDecimalNumberBehaviors
- (NSDecimalNumber*) exceptionDuringOperation: (SEL)method
error: (NSCalculationError)error
leftOperand: (NSDecimalNumber*)leftOper=
and
rightOperand: (NSDecimalNumber*)rightOpe=
rand;
- (NSRoundingMode) roundingMode;
- (short) scale;
@end
@interface NSDecimalNumberHandler : NSObject <NSDecimalNumberBehaviors>
{
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
@interface NSDecimalNumber : NSNumber <NSDecimalNumberBehaviors>
{
NSDecimal data;
}
+ (id <NSDecimalNumberBehaviors>)defaultBehavior;
+ (void)setDefaultBehavior:(id <NSDecimalNumberBehaviors>)behavior;
+ (NSDecimalNumber *)maximumDecimalNumber;
+ (NSDecimalNumber *)minimumDecimalNumber;
+ (NSDecimalNumber *)notANumber;
+ (NSDecimalNumber *)one;
+ (NSDecimalNumber *)zero;
+ (NSDecimalNumber *)decimalNumberWithDecimal:(NSDecimal)decimal;
+ (NSDecimalNumber *)decimalNumberWithMantissa:(unsigned long long)mantis=
sa
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 *)decimalNumb=
er;
- (NSDecimalNumber *)decimalNumberByAdding:(NSDecimalNumber *)decimalNumb=
er
withBehavior:(id<NSDecimalNumberBehaviors>)=
behavior;
- (NSDecimalNumber *)decimalNumberByDividingBy:(NSDecimalNumber *)decimal=
Number;
- (NSDecimalNumber *)decimalNumberByDividingBy:(NSDecimalNumber *)decimal=
Number
withBehavior:(id <NSDecimalNumberBehavi=
ors>)behavior;
- (NSDecimalNumber *)decimalNumberByMultiplyingBy:(NSDecimalNumber *)deci=
malNumber;
- (NSDecimalNumber *)decimalNumberByMultiplyingBy:(NSDecimalNumber *)deci=
malNumber
withBehavior:(id <NSDecimalNumberBeh=
aviors>)behavior;
- (NSDecimalNumber *)decimalNumberByMultiplyingByPowerOf10:(short)power;
- (NSDecimalNumber *)decimalNumberByMultiplyingByPowerOf10:(short)power
withBehavior:(id <NSDecimal=
NumberBehaviors>)behavior;
- (NSDecimalNumber *)decimalNumberByRaisingToPower:(unsigned)power;
- (NSDecimalNumber *)decimalNumberByRaisingToPower:(unsigned)power
withBehavior:(id <NSDecimalNumberBe=
haviors>)behavior;
- (NSDecimalNumber *)decimalNumberByRoundingAccordingToBehavior:(id <NSDe=
cimalNumberBehaviors>)behavior;
- (NSDecimalNumber *)decimalNumberBySubtracting:(NSDecimalNumber *)decima=
lNumber;
- (NSDecimalNumber *)decimalNumberBySubtracting:(NSDecimalNumber *)decima=
lNumber
withBehavior:(id <NSDecimalNumberBehav=
iors>)behavior;
@end
# 50 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSDistantObject.h" 1
# 28 "/home/linux/System/Headers/Foundation/NSDistantObject.h"
# 1 "/home/linux/System/Headers/Foundation/NSProxy.h" 1
# 29 "/home/linux/System/Headers/Foundation/NSProxy.h"
@interface NSProxy <NSObject>
{
@public
Class isa;
@private
unsigned int _retain_count;
}
+ (id) alloc;
+ (id) allocWithZone: (NSZone*)zone;
+ (Class) class;
+ (void) load;
+ (BOOL) respondsToSelector: (SEL)aSelector;
- (void) dealloc;
- (NSString*) description;
- (void) forwardInvocation: (NSInvocation*)anInvocation;
- (NSMethodSignature*) methodSignatureForSelector: (SEL)aSelector;
@end
@interface Object (IsProxy)
- (BOOL) isProxy;
@end
# 29 "/home/linux/System/Headers/Foundation/NSDistantObject.h" 2
@class NSConnection;
@interface NSDistantObject : NSProxy <NSCoding>
{
@private
NSConnection *_connection;
id _object;
unsigned _handle;
Protocol *_protocol;
}
+ (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)anObject
connection: (NSConnection*)aConnection;
- (void) setProtocolForProxy: (Protocol*)aProtocol;
@end
@interface NSDistantObject(GNUstepExtensions) <GCFinalization>
- (id) awakeAfterUsingCoder: (NSCoder*)aDecoder;
- (Class) classForPortCoder;
- (const char *) selectorTypeForProxy: (SEL)selector;
- (id) forward: (SEL)aSel :(arglist_t)frame;
- (void) gcFinalize;
@end
# 51 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSDistributedLock.h" 1
# 31 "/home/linux/System/Headers/Foundation/NSDistributedLock.h"
@interface NSDistributedLock : NSObject
{
NSString *_lockPath;
NSDate *_lockTime;
}
+ (NSDistributedLock*) lockWithPath: (NSString*)aPath;
- (NSDistributedLock*) initWithPath: (NSString*)aPath;
- (void) breakLock;
- (NSDate*) lockDate;
- (BOOL) tryLock;
- (void) unlock;
@end
# 52 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSDistributedNotificationCente=
r.h" 1
# 30 "/home/linux/System/Headers/Foundation/NSDistributedNotificationCent=
er.h"
# 1 "/home/linux/System/Headers/Foundation/NSLock.h" 1
# 40 "/home/linux/System/Headers/Foundation/NSLock.h"
@protocol NSLocking
- (void) lock;
- (void) unlock;
@end
@interface NSLock : NSObject <NSLocking, GCFinalization>
{
@private
objc_mutex_t _mutex;
}
- (BOOL) tryLock;
- (BOOL) lockBeforeDate: (NSDate*)limit;
- (void) lock;
- (void) unlock;
@end
@interface NSConditionLock : NSObject <NSLocking, GCFinalization>
{
@private
objc_condition_t _condition;
objc_mutex_t _mutex;
int _condition_value;
}
- (id) initWithCondition: (int)value;
- (int) condition;
- (void) lockWhenCondition: (int)value;
- (void) unlockWithCondition: (int)value;
- (BOOL) tryLock;
- (BOOL) tryLockWhenCondition: (int)value;
- (BOOL) lockBeforeDate: (NSDate*)limit;
- (BOOL) lockWhenCondition: (int)condition
beforeDate: (NSDate*)limit;
- (void) lock;
- (void) unlock;
@end
# 115 "/home/linux/System/Headers/Foundation/NSLock.h"
@interface NSRecursiveLock : NSObject <NSLocking, GCFinalization>
{
@private
objc_mutex_t _mutex;
}
- (BOOL) tryLock;
- (BOOL) lockBeforeDate: (NSDate*)limit;
- (void) lock;
- (void) unlock;
@end
# 31 "/home/linux/System/Headers/Foundation/NSDistributedNotificationCent=
er.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSNotification.h" 1
# 30 "/home/linux/System/Headers/Foundation/NSNotification.h"
@class NSString;
@class NSDictionary;
@class NSLock;
@interface NSNotification : NSObject <NSCopying, NSCoding>
{
NSString *_name;
id _object;
NSDictionary *_info;
}
+ (NSNotification*) notificationWithName: (NSString*)name
object: (id)object;
+ (NSNotification*) notificationWithName: (NSString*)name
object: (id)object
userInfo: (NSDictionary*)user_info;
- (NSString*) name;
- (id) object;
- (NSDictionary*) userInfo;
@end
@interface NSNotificationCenter : NSObject <GCFinalization>
{
void *_table;
}
+ (NSNotificationCenter*) defaultCenter;
- (void) addObserver: (id)observer
selector: (SEL)sel
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 NSNotification (GNUstep)
- (id) initWithName: (NSString*)name
object: (id)object
userInfo: (NSDictionary*)user_info;
@end
@interface NSNotificationCenter (GNUstep)
# 104 "/home/linux/System/Headers/Foundation/NSNotification.h"
- (BOOL) setImmutableInPost: (BOOL)flag;
- (BOOL) setLockingDisabled: (BOOL)flag;
@end
# 32 "/home/linux/System/Headers/Foundation/NSDistributedNotificationCent=
er.h" 2
typedef enum {
NSNotificationSuspensionBehaviorDrop,
NSNotificationSuspensionBehaviorCoalesce,
NSNotificationSuspensionBehaviorHold,
NSNotificationSuspensionBehaviorDeliverImmediately
} NSNotificationSuspensionBehavior;
extern NSString *NSLocalNotificationCenterType;
@interface NSDistributedNotificationCenter : NSNotificationCenter
{
NSRecursiveLock *_centerLock;
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)suspensionBehavio=
r;
- (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)suspended;
- (BOOL) suspended;
@end
# 53 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSFileHandle.h" 1
# 31 "/home/linux/System/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) acceptConnectionInBackgroundAndNotifyForModes: (NSArray*)modes;
- (void) acceptConnectionInBackgroundAndNotify;
- (void) readInBackgroundAndNotifyForModes: (NSArray*)modes;
- (void) readInBackgroundAndNotify;
- (void) readToEndOfFileInBackgroundAndNotifyForModes: (NSArray*)modes;
- (void) readToEndOfFileInBackgroundAndNotify;
- (void) waitForDataInBackgroundAndNotifyForModes: (NSArray*)modes;
- (void) waitForDataInBackgroundAndNotify;
- (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
extern NSString* NSFileHandleConnectionAcceptedNotification;
extern NSString* NSFileHandleDataAvailableNotification;
extern NSString* NSFileHandleReadCompletionNotification;
extern NSString* NSFileHandleReadToEndOfFileCompletionNotification;
extern NSString* NSFileHandleNotificationDataItem;
extern NSString* NSFileHandleNotificationFileHandleItem;
extern NSString* NSFileHandleNotificationMonitorModes;
extern NSString* 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;
- (BOOL) readInProgress;
- (NSString*) socketAddress;
- (NSString*) socketService;
- (NSString*) socketProtocol;
- (void) writeInBackgroundAndNotify: (NSData*)item forModes: (NSArray*)mo=
des;
- (void) writeInBackgroundAndNotify: (NSData*)item;
- (BOOL) writeInProgress;
@end
# 150 "/home/linux/System/Headers/Foundation/NSFileHandle.h"
@class GSUnixSSLHandle;
@interface NSFileHandle (GNUstepOpenSSL)
- (BOOL) sslConnect;
- (void) sslDisconnect;
- (void) sslSetCertificate: (NSString*)certFile
privateKey: (NSString*)privateKey
PEMpasswd: (NSString*)PEMpasswd;
@end
extern NSString* GSFileHandleConnectCompletionNotification;
extern NSString* GSFileHandleWriteCompletionNotification;
extern NSString* GSFileHandleNotificationError;
# 56 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSFileManager.h" 1
# 36 "/home/linux/System/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) createDirectoryAtPath: (NSString*)path
attributes: (NSDictionary*)attributes;
- (NSString*) currentDirectoryPath;
- (BOOL) copyPath: (NSString*)source
toPath: (NSString*)destination
handler: (id)handler;
- (BOOL) movePath: (NSString*)source
toPath: (NSString*)destination
handler: (id)handler;
- (BOOL) linkPath: (NSString*)source
toPath: (NSString*)destination
handler: (id)handler;
- (BOOL) removeFileAtPath: (NSString*)path
handler: (id)handler;
- (BOOL) createFileAtPath: (NSString*)path
contents: (NSData*)contents
attributes: (NSDictionary*)attributes;
- (NSData*) contentsAtPath: (NSString*)path;
- (BOOL) contentsEqualAtPath: (NSString*)path1
andPath: (NSString*)path2;
- (BOOL) fileExistsAtPath: (NSString*)path;
- (BOOL) fileExistsAtPath: (NSString*)path isDirectory: (BOOL*)isDirector=
y;
- (BOOL) isReadableFileAtPath: (NSString*)path;
- (BOOL) isWritableFileAtPath: (NSString*)path;
- (BOOL) isExecutableFileAtPath: (NSString*)path;
- (BOOL) isDeletableFileAtPath: (NSString*)path;
- (NSDictionary*) fileAttributesAtPath: (NSString*)path
traverseLink: (BOOL)flag;
- (NSDictionary*) fileSystemAttributesAtPath: (NSString*)path;
- (BOOL) changeFileAttributes: (NSDictionary*)attributes
atPath: (NSString*)path;
- (NSArray*) directoryContentsAtPath: (NSString*)path;
- (NSDirectoryEnumerator*) enumeratorAtPath: (NSString*)path;
- (NSArray*) subpathsAtPath: (NSString*)path;
- (BOOL) createSymbolicLinkAtPath: (NSString*)path
pathContent: (NSString*)otherPath;
- (NSString*) pathContentOfSymbolicLinkAtPath: (NSString*)path;
- (const char*) fileSystemRepresentationWithPath: (NSString*)path;
- (NSString*) stringWithFileSystemRepresentation: (const char*)string
length: (unsigned int)len;
@end
@interface NSObject (NSFileManagerHandler)
- (BOOL) fileManager: (NSFileManager*)fileManager
shouldProceedAfterError: (NSDictionary*)errorDictionary;
- (void) fileManager: (NSFileManager*)fileManager
willProcessPath: (NSString*)path;
@end
@interface NSDirectoryEnumerator : NSEnumerator
{
NSMutableArray *_enumStack;
NSMutableArray *_pathStack;
NSString *_currentFileName;
NSString *_currentFilePath;
NSString *_topPath;
NSDictionary *_directoryAttributes;
NSDictionary *_fileAttributes;
struct {
BOOL isRecursive: 1;
BOOL isFollowing: 1;
} _flags;
}
- (id) initWithDirectoryPath: (NSString*)path
recurseIntoSubdirectories: (BOOL)recurse
followSymlinks: (BOOL)follow
prefixFiles: (BOOL)prefix;
- (NSDictionary*) directoryAttributes;
- (NSDictionary*) fileAttributes;
- (void) skipDescendents;
@end
extern NSString* const NSFileDeviceIdentifier;
extern NSString* const NSFileGroupOwnerAccountName;
extern NSString* const NSFileDeviceIdentifier;
extern NSString* const NSFileModificationDate;
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 NSFileGroupOwnerAccountNumber;
extern NSString* const NSFileOwnerAccountNumber;
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)
- (unsigned long long) fileSize;
- (NSString*) fileType;
- (NSString*) fileOwnerAccountName;
- (NSString*) fileGroupOwnerAccountName;
- (NSDate*) fileModificationDate;
- (unsigned long) filePosixPermissions;
- (unsigned long) fileSystemNumber;
- (unsigned long) fileSystemFileNumber;
- (unsigned long) fileOwnerAccountNumber;
- (unsigned long) fileGroupOwnerAccountNumber;
@end
# 57 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSHashTable.h" 1
# 38 "/home/linux/System/Headers/Foundation/NSHashTable.h"
typedef o_hash_t NSHashTable;
typedef o_hash_enumerator_t NSHashEnumerator;
typedef struct _NSHashTableCallBacks NSHashTableCallBacks;
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 *);
};
extern const NSHashTableCallBacks NSIntHashCallBacks;
extern const NSHashTableCallBacks NSNonOwnedPointerHashCallBacks;
extern const NSHashTableCallBacks NSNonRetainedObjectHashCallBacks;
extern const NSHashTableCallBacks NSObjectHashCallBacks;
extern const NSHashTableCallBacks NSOwnedPointerHashCallBacks;
extern const NSHashTableCallBacks NSPointerToStructHashCallBacks;
typedef unsigned int (*NSHT_hash_func_t)(NSHashTable *, const void *);
typedef BOOL (*NSHT_isEqual_func_t)(NSHashTable *, const void *, const vo=
id *);
typedef void (*NSHT_retain_func_t)(NSHashTable *, const void *);
typedef void (*NSHT_release_func_t)(NSHashTable *, void *);
typedef NSString *(*NSHT_describe_func_t)(NSHashTable *, const void *);
# 98 "/home/linux/System/Headers/Foundation/NSHashTable.h"
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 *pointer);
extern NSArray *
NSAllHashTableObjects(NSHashTable *table);
extern NSHashEnumerator
NSEnumerateHashTable(NSHashTable *table);
extern void *
NSNextHashEnumeratorItem(NSHashEnumerator *enumerator);
extern void
NSHashInsert(NSHashTable *table, const void *pointer);
extern void
NSHashInsertKnownAbsent(NSHashTable *table, const void *pointer);
extern void *
NSHashInsertIfAbsent(NSHashTable *table, const void *pointer);
extern void
NSHashRemove(NSHashTable *table, const void *pointer);
extern NSString *
NSStringFromHashTable(NSHashTable *table);
# 59 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSHost.h" 1
# 28 "/home/linux/System/Headers/Foundation/NSHost.h"
@class NSString, NSArray, NSSet;
@interface NSHost : NSObject
{
@private
NSSet *_names;
NSSet *_addresses;
}
# 45 "/home/linux/System/Headers/Foundation/NSHost.h"
+ (NSHost*) currentHost;
+ (NSHost*) hostWithName: (NSString*)name;
+ (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
# 61 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSInvocation.h" 1
# 28 "/home/linux/System/Headers/Foundation/NSInvocation.h"
# 1 "/home/linux/System/Headers/Foundation/NSMethodSignature.h" 1
# 39 "/home/linux/System/Headers/Foundation/NSMethodSignature.h"
typedef struct {
int offset;
unsigned size;
const char *type;
unsigned align;
unsigned qual;
BOOL isReg;
} NSArgumentInfo;
@interface NSMethodSignature : NSObject
{
const char *_methodTypes;
unsigned _argFrameLength;
unsigned _numArgs;
NSArgumentInfo *_info;
}
+ (NSMethodSignature*) signatureWithObjCTypes: (const char*)types;
- (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 "/home/linux/System/Headers/Foundation/NSInvocation.h" 2
@interface NSInvocation : NSObject
{
NSMethodSignature *_sig;
arglist_t _argframe;
void *_cframe;
void *_retval;
id _target;
SEL _selector;
int _numArgs;
NSArgumentInfo *_info;
BOOL _argsRetained;
BOOL _validReturn;
}
+ (NSInvocation*) invocationWithMethodSignature: (NSMethodSignature*)sign=
ature;
- (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)selector;
- (void) setTarget: (id)target;
- (id) target;
- (BOOL) argumentsRetained;
- (void) retainArguments;
- (void) invoke;
- (void) invokeWithTarget: (id)target;
- (NSMethodSignature*) methodSignature;
@end
@interface NSInvocation (GNUstep)
- (id) initWithArgframe: (arglist_t)frame selector: (SEL)aSelector;
- (id) initWithMethodSignature: (NSMethodSignature*)aSignature;
- (id) initWithSelector: (SEL)aSelector;
- (id) initWithTarget: target selector: (SEL)aSelector, ...;
- (void*) returnFrame: (arglist_t)argFrame;
@end
# 62 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSKeyValueCoding.h" 1
# 30 "/home/linux/System/Headers/Foundation/NSKeyValueCoding.h"
@class NSArray;
@class NSDictionary;
@class NSString;
@interface NSObject (NSKeyValueCoding)
+ (BOOL) accessInstanceVariablesDirectly;
+ (BOOL) useStoredAccessor;
- (id) handleQueryWithUnboundKey: (NSString*)aKey;
- (void) handleTakeValue: (id)anObject forUnboundKey: (NSString*)aKey;
- (id) storedValueForKey: (NSString*)aKey;
- (void) takeStoredValue: (id)anObject forKey: (NSString*)aKey;
- (void) takeValue: (id)anObject forKey: (NSString*)aKey;
- (void) takeValue: (id)anObject forKeyPath: (NSString*)aKey;
- (void) takeValuesFromDictionary: (NSDictionary*)aDictionary;
- (void) unableToSetNilForKey: (NSString*)aKey;
- (id) valueForKey: (NSString*)aKey;
- (id) valueForKeyPath: (NSString*)aKey;
- (NSDictionary*) valuesForKeys: (NSArray*)keys;
@end
# 63 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSNotificationQueue.h" 1
# 51 "/home/linux/System/Headers/Foundation/NSNotificationQueue.h"
@class NSMutableArray;
typedef enum {
NSPostWhenIdle,
NSPostASAP,
NSPostNow
} NSPostingStyle;
typedef enum {
NSNotificationNoCoalescing =3D 0,
NSNotificationCoalescingOnName =3D 1,
NSNotificationCoalescingOnSender =3D 2,
} NSNotificationCoalescing;
struct _NSNotificationQueueList;
@interface NSNotificationQueue : NSObject
{
NSNotificationCenter *_center;
struct _NSNotificationQueueList *_asapQueue;
struct _NSNotificationQueueList *_idleQueue;
NSZone *_zone;
}
+ (NSNotificationQueue*) defaultQueue;
- (id) initWithNotificationCenter: (NSNotificationCenter*)notificationCen=
ter;
- (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();
extern void GSNotifyIdle();
extern BOOL GSNotifyMore();
# 68 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSNull.h" 1
# 33 "/home/linux/System/Headers/Foundation/NSNull.h"
@interface NSNull : NSObject <NSCoding, NSCopying>
+ (NSNull*) null;
@end
# 69 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSPathUtilities.h" 1
# 39 "/home/linux/System/Headers/Foundation/NSPathUtilities.h"
extern void GSSetUserName(NSString *name);
extern NSArray *GSStandardPathPrefixes(void);
extern NSString *NSUserName();
extern NSString *NSHomeDirectory();
extern NSString *NSHomeDirectoryForUser(NSString *userName);
typedef enum
{
NSApplicationDirectory,
NSDemoApplicationDirectory,
NSDeveloperApplicationDirectory,
NSAdminApplicationDirectory,
NSLibraryDirectory,
NSDeveloperDirectory,
NSUserDirectory,
NSDocumentationDirectory,
NSAllApplicationsDirectory,
NSAllLibrariesDirectory,
GSLibrariesDirectory,
} NSSearchPathDirectory;
typedef unsigned int NSSearchPathDomainMask;
extern NSArray *NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory=
directory, NSSearchPathDomainMask domainMask, BOOL expandTilde);
extern NSString *NSFullUserName(void);
extern NSArray *NSStandardApplicationPaths(void);
extern NSArray *NSStandardLibraryPaths(void);
extern NSString *NSTemporaryDirectory(void);
extern NSString *NSOpenStepRootDirectory(void);
# 70 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSPortCoder.h" 1
# 29 "/home/linux/System/Headers/Foundation/NSPortCoder.h"
@class NSMutableArray;
@class NSMutableDictionary;
@class NSConnection;
@class NSPort;
@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
# 71 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSPortMessage.h" 1
# 28 "/home/linux/System/Headers/Foundation/NSPortMessage.h"
# 1 "/home/linux/System/Headers/Foundation/NSPort.h" 1
# 29 "/home/linux/System/Headers/Foundation/NSPort.h"
@class NSMutableArray;
@class NSConnection;
@class NSDate;
@class NSRunLoop;
@class NSString;
extern NSString *NSPortTimeoutException;
@interface NSPort : NSObject <NSCoding, NSCopying>
{
BOOL _is_valid;
id _delegate;
}
+ (NSPort*) port;
+ (NSPort*) portWithMachPort: (int)machPort;
- (id) delegate;
- (id) init;
- (id) initWithMachPort: (int)machPort;
- (void) invalidate;
- (BOOL) isValid;
- (int) machPort;
- (void) setDelegate: (id)anObject;
- (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* NSPortDidBecomeInvalidNotification;
# 29 "/home/linux/System/Headers/Foundation/NSPortMessage.h" 2
@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
# 72 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSPortNameServer.h" 1
# 29 "/home/linux/System/Headers/Foundation/NSPortNameServer.h"
@class NSPort, NSString, NSMutableArray;
@interface NSPortNameServer : NSObject
{
NSMapTable *_portMap;
NSMapTable *_nameMap;
}
+ (id) systemDefaultPortNameServer;
- (NSPort*) portForName: (NSString*)name;
- (NSPort*) portForName: (NSString*)name
onHost: (NSString*)host;
- (BOOL) registerPort: (NSPort*)port
forName: (NSString*)name;
- (void) removePortForName: (NSString*)name;
@end
@interface NSPortNameServer (GNUstep)
- (NSArray*) namesForPort: (NSPort*)port;
- (void) removePort: (NSPort*)port;
- (void) removePort: (NSPort*)port forName: (NSString*)name;
@end
# 73 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSProcessInfo.h" 1
# 31 "/home/linux/System/Headers/Foundation/NSProcessInfo.h"
@class NSArray;
@class NSMutableArray;
@class NSDictionary;
@class NSData;
@class NSMutableSet;
@interface NSProcessInfo: NSObject
+ (NSProcessInfo *)processInfo;
- (NSArray *)arguments;
- (NSDictionary *)environment;
- (NSString *)hostName;
- (NSString *)processName;
- (NSString *)globallyUniqueString;
- (void)setProcessName:(NSString *)newName;
@end
@interface NSProcessInfo (GNUstep)
- (NSMutableSet*) debugSet;
+ (void)initializeWithArguments:(char**)argv
count:(int)argc
environment:(char**)env;
@end
extern BOOL GSDebugSet(NSString *level);
# 74 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSProtocolChecker.h" 1
# 29 "/home/linux/System/Headers/Foundation/NSProtocolChecker.h"
@class Protocol;
@interface NSProtocolChecker : NSObject
{
Protocol *_myProtocol;
NSObject *_myTarget;
}
+ (id) protocolCheckerWithTarget: (NSObject *)anObject
protocol: (Protocol *)aProtocol;
- (id) initWithTarget: (NSObject *)anObject protocol: (Protocol *)aProtoc=
ol;
- (void)forwardInvocation: (NSInvocation *)anInvocation;
- (struct objc_method_description *) methodDescriptionForSelector: (SEL)a=
Selector;
- (Protocol *) protocol;
- (NSObject *) target;
@end
# 75 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSScanner.h" 1
# 34 "/home/linux/System/Headers/Foundation/NSScanner.h"
@interface NSScanner : NSObject <NSCopying>
{
@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
# 79 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSSet.h" 1
# 29 "/home/linux/System/Headers/Foundation/NSSet.h"
@class NSArray, NSString, NSEnumerator, NSDictionary;
@interface NSSet : NSObject <NSCoding, NSCopying, NSMutableCopying>
+ (id) set;
+ (id) setWithArray: (NSArray*)array;
+ (id) setWithObject: (id)anObject;
+ (id) setWithObjects: (id)anObject, ...;
+ (id) setWithSet: (NSSet*)aSet;
- (NSArray*) allObjects;
- (id) anyObject;
- (BOOL) containsObject: (id)anObject;
- (unsigned) count;
- (NSString*) descriptionWithLocale: (NSDictionary*)ld;
- (id) initWithArray: (NSArray*)array;
- (id) initWithObjects: (id)objects, ...;
- (id) initWithObjects: (id*)objects
count: (unsigned)count;
- (id) initWithObjects: firstObject
rest: (va_list)ap;
- (id) initWithSet: (NSSet*)otherSet;
- (id) initWithSet: (NSSet*)otherSet copyItems: (BOOL)flags;
- (BOOL) intersectsSet: (NSSet*)other;
- (BOOL) isEqualToSet: (NSSet*)other;
- (BOOL) isSubsetOfSet: (NSSet*)other;
- (void) makeObjectsPerform: (SEL)aSelector;
- (void) makeObjectsPerform: (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) unionSet: (NSSet*)other;
@end
@interface NSCountedSet : NSMutableSet
- (unsigned int) countForObject: (id)anObject;
@end
@interface NSCountedSet (GNU_Uniquing)
- (void) purge: (int)level;
- (id) unique: (id)anObject;
@end
# 108 "/home/linux/System/Headers/Foundation/NSSet.h"
void GSUniquing(BOOL flag);
id GSUnique(id anObject);
# 120 "/home/linux/System/Headers/Foundation/NSSet.h"
void GSUPurge(unsigned count);
id GSUSet(id anObject, unsigned count);
# 81 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSTask.h" 1
# 33 "/home/linux/System/Headers/Foundation/NSTask.h"
@interface NSTask : NSObject <GCFinalization>
{
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) terminationStatus;
- (void) interrupt;
- (void) launch;
- (void) terminate;
- (void) waitUntilExit;
- (BOOL) usePseudoTerminal;
@end
extern NSString* NSTaskDidTerminateNotification;
# 83 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSThread.h" 1
# 34 "/home/linux/System/Headers/Foundation/NSThread.h"
typedef enum
{
NSInteractiveThreadPriority,
NSBackgroundThreadPriority,
NSLowThreadPriority
} NSThreadPriority;
@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;
+ (BOOL) isMultiThreaded;
- (NSMutableDictionary*) threadDictionary;
+ (void) sleepUntilDate: (NSDate*)date;
+ (void) exit;
@end
# 89 "/home/linux/System/Headers/Foundation/NSThread.h"
extern BOOL GSRegisterCurrentThread (void);
# 98 "/home/linux/System/Headers/Foundation/NSThread.h"
extern void GSUnregisterCurrentThread (void);
# 107 "/home/linux/System/Headers/Foundation/NSThread.h"
extern NSString *NSWillBecomeMultiThreadedNotification;
extern NSString *NSThreadWillExitNotification;
extern NSString *NSThreadDidStartNotification;
extern NSThread *GSCurrentThread();
extern NSMutableDictionary *GSCurrentThreadDictionary();
# 84 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSTimeZone.h" 1
# 26 "/home/linux/System/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*) timeZoneArray;
- (NSArray*) timeZoneDetailArray;
+ (NSDictionary*) abbreviationMap;
+ (void) resetSystemTimeZone;
+ (NSTimeZone*) systemTimeZone;
+ (NSTimeZone*) timeZoneWithName: (NSString*)name data: (NSData*)data;
- (NSString*) abbreviation;
- (NSString*) abbreviationForDate: (NSDate*)aDate;
- (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
# 85 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSURL.h" 1
# 27 "/home/linux/System/Headers/Foundation/NSURL.h"
# 1 "/home/linux/System/Headers/Foundation/NSURLHandle.h" 1
# 27 "/home/linux/System/Headers/Foundation/NSURLHandle.h"
@class NSData;
@class NSString;
@class NSMutableArray;
@class NSMutableData;
@class NSURLHandle;
@class NSURL;
extern NSString *NSHTTPPropertyStatusCodeKey;
extern NSString *NSHTTPPropertyStatusReasonKey;
extern NSString *NSHTTPPropertyServerHTTPVersionKey;
extern NSString *NSHTTPPropertyRedirectionHeadersKey;
extern NSString *NSHTTPPropertyErrorPageDataKey;
extern NSString *GSHTTPPropertyMethodKey;
extern NSString *GSHTTPPropertyProxyHostKey;
extern NSString *GSHTTPPropertyProxyPortKey;
typedef enum
{
NSURLHandleNotLoaded =3D 0,
NSURLHandleLoadSucceeded,
NSURLHandleLoadInProgress,
NSURLHandleLoadFailed
} NSURLHandleStatus;
@protocol NSURLHandleClient
- (void) URLHandle: (NSURLHandle*)sender
resourceDataDidBecomeAvailable: (NSData*)newData;
- (void) URLHandleResourceDidBeginLoading: (NSURLHandle*)sender;
- (void) URLHandleResourceDidFinishLoading: (NSURLHandle*)sender;
- (void) URLHandleResourceDidCancelLoading: (NSURLHandle*)sender;
- (void) URLHandle: (NSURLHandle*)sender
resourceDidFailLoadingWithReason: (NSString*)reason;
@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 <NSURLHandleClient>)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 <NSURLHandleClient>)client;
- (NSData*) resourceData;
- (NSURLHandleStatus) status;
- (BOOL) writeData: (NSData*)data;
- (BOOL) writeProperty: (id)propertyValue
forKey: (NSString*)propertyKey;
@end
# 28 "/home/linux/System/Headers/Foundation/NSURL.h" 2
@class NSURLHandle;
@class NSURL;
extern NSString* NSURLFileScheme;
@interface NSURL: NSObject <NSCoding, NSCopying, NSURLHandleClient>
{
NSString *_urlString;
NSURL *_baseURL;
}
+ (id) fileURLWithPath: (NSString*)path;
+ (id) URLWithString: (NSString*)URLString;
+ (id) URLWithString: (NSString*)URLString
relativeToURL: (NSURL*)baseURL;
- (id) initWithScheme: (NSString*)scheme
host: (NSString*)host
path: (NSString*)path;
- (id) initWithScheme: (NSString*)scheme
host: (NSString*)host
port: (NSNumber*)port
path: (NSString*)path;
- (id) initFileURLWithPath: (NSString*)path;
- (id) initWithString: (NSString*)URLString;
- (id) initWithString: (NSString*)URLString
relativeToURL: (NSURL*)baseURL;
- (NSString*) description;
- (NSString*) absoluteString;
- (NSString*) relativeString;
- (NSURL*) baseURL;
- (NSURL*) absoluteURL;
- (NSString*) scheme;
- (NSString*) resourceSpecifier;
- (NSString*) host;
- (NSNumber*) port;
- (NSString*) user;
- (NSString*) password;
- (NSString*) path;
- (NSString*) fragment;
- (NSString*) parameterString;
- (NSString*) query;
- (NSString*) relativePath;
- (BOOL) isFileURL;
- (NSURL*) standardizedURL;
+ (void) test;
+ (void) testPrint: (NSURL*)url;
@end
@interface NSURL (NSURLLoading)
- (NSData*) resourceDataUsingCache: (BOOL)shouldUseCache;
- (void) loadResourceDataNotifyingClient: (id)client
usingCache: (BOOL)shouldUseCache;
- (NSURLHandle*)URLHandleUsingCache: (BOOL)shouldUseCache;
- (BOOL) setResourceData: (NSData*)data;
- (id) propertyForKey: (NSString*)propertyKey;
- (BOOL) setProperty: (id)property
forKey: (NSString*)propertyKey;
@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
# 87 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSUndoManager.h" 1
# 29 "/home/linux/System/Headers/Foundation/NSUndoManager.h"
@class NSArray;
@class NSMutableArray;
@class NSInvocation;
extern NSString *NSUndoManagerCheckpointNotification;
extern NSString *NSUndoManagerDidOpenUndoGroupNotification;
extern NSString *NSUndoManagerDidRedoChangeNotification;
extern NSString *NSUndoManagerDidUndoChangeNotification;
extern NSString *NSUndoManagerWillCloseUndoGroupNotification;
extern NSString *NSUndoManagerWillRedoChangeNotification;
extern NSString *NSUndoManagerWillUndoChangeNotification;
@interface NSUndoManager: NSObject
{
@private
NSMutableArray *_redoStack;
NSMutableArray *_undoStack;
NSString *_actionName;
id _group;
id _nextTarget;
NSArray *_modes;
BOOL _isRedoing;
BOOL _isUndoing;
BOOL _groupsByEvent;
BOOL _registeredUndo;
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*)actionName;
- (void) setGroupsByEvent: (BOOL)flag;
- (void) setLevelsOfUndo: (unsigned)num;
- (void) setRunLoopModes: (NSArray*)modes;
- (void) undo;
- (NSString*) undoActionName;
- (NSString*) undoMenuItemTitle;
- (NSString*) undoMenuTitleForUndoActionName: (NSString*)name;
- (void) undoNestedGroup;
@end
# 89 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 1 "/home/linux/System/Headers/Foundation/NSUserDefaults.h" 1
# 32 "/home/linux/System/Headers/Foundation/NSUserDefaults.h"
@class NSArray;
@class NSMutableArray;
@class NSDictionary;
@class NSMutableDictionary;
@class NSData;
@class NSTimer;
extern NSString* const NSArgumentDomain;
extern NSString* const NSGlobalDomain;
extern NSString* const NSRegistrationDomain;
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;
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;
# 118 "/home/linux/System/Headers/Foundation/NSUserDefaults.h"
@interface NSUserDefaults: NSObject
{
@private
NSMutableArray *_searchList;
NSMutableDictionary *_persDomains;
NSMutableDictionary *_tempDomains;
NSMutableArray *_changedDomains;
NSDictionary *_dictionaryRep;
NSString *_defaultsDatabase;
NSString *_defaultsDatabaseLockName;
NSDistributedLock *_defaultsDatabaseLock;
NSDate *_lastSync;
NSTimer *_tickingTimer;
}
+ (NSUserDefaults*) standardUserDefaults;
+ (void) resetUserDefaults;
+ (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;
- (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*)dictionary;
@end
# 90 "/home/linux/System/Headers/Foundation/Foundation.h" 2
# 12 "Gene.h" 2
# 1 "CoreFoundation/CoreFoundation.h" 1
typedef NSArray *CFArrayRef;
typedef NSDictionary *CFDictionaryRef;
typedef unsigned long CFIndex;
typedef NSMutableArray *CFMutableArrayRef;
typedef NSMutableDictionary *CFMutableDictionaryRef;
static inline const void *CFArrayGetValueAtIndex(CFArrayRef theArray, CFI=
ndex idx)
{
return [theArray objectAtIndex:idx];
}
static inline void CFArrayInsertValueAtIndex(CFMutableArrayRef theArray, =
CFIndex idx, const void *value)
{
[theArray insertObject:(id)value atIndex:idx];
}
static inline void CFArrayAppendValue(CFMutableArrayRef theArray, const v=
oid *value)
{
[theArray addObject:(id)value];
}
static inline CFIndex CFArrayGetCount(CFArrayRef theArray)
{
return [theArray count];
}
static inline const void *CFDictionaryGetValue(CFDictionaryRef theDict, c=
onst void *key)
{
return [theDict objectForKey:(id)key];
}
static inline CFIndex CFDictionaryGetCount(CFDictionaryRef theDict)
{
return [theDict count];
}
static inline void CFDictionarySetValue(CFMutableDictionaryRef theDict, c=
onst void *key, const void *value)
{
[theDict setObject:(id)value forKey:(id)key];
}
# 13 "Gene.h" 2
# 1 "Site.h" 1
# 15 "Site.h"
@interface Site : NSObject
{
@public
int GeneID;
int MatrixFamilyID;
int MatrixID;
int start;
int end;
id within200[66];
int length;
BOOL isSubSet;
}
-initWithCString:(const char*)string;
-initWithString:(NSString*)string;
-initWithGeneID:(int)geneID MatrixFamilyID:(int)matrixFamilyID MatrixID:(=
int)matrixID start:(int)start end:(int)end;
-(BOOL)isTheSiteBefore:(Site*)theSite;
+siteWithCString:(const char*)string;
+siteWithString:(NSString*)string;
+siteWithGeneID:(int)geneID MatrixFamilyID:(int)matrixFamilyID MatrixID:(=
int)matrixID start:(int)start end:(int)end;
@end
# 15 "Gene.h" 2
@interface Gene : NSObject
{
@public
int GeneID;
@public
NSMutableArray *Sites;
id *starilizedSites;
int starilizedlength;
NSLock *tuplesLock;
NSMutableArray *Tupes;
}
-initWithGeneID:(int)geneID;
-(void)addSite:(Site*)site;
-(Site*)getSite:(int)number;
-(int)countOfSites;
+GeneWithGeneID:(int)geneID;
-(void)addSiteWithCString:(const char*)string;
-(void)addSiteWithString:(NSString*)string;
-(void)addSiteWithGeneID:(int)geneID MatrixFamilyID:(int)matrixFamilyID M=
atrixID:(int)matrixID start:(int)start
end:(int)end;
-(void)findAllwithin200;
-starilize;
static inline Site *getSite(Gene *theGene, int number);
static inline id *getSitesWithin200(Gene *theGene, int number, int *lengt=
h, BOOL *SubSet);
static inline int countOfSites(Gene *theGene);
@end
static inline Site *getSite(Gene *theGene, int number)
{
if(theGene->starilizedSites!=3D((void *)0))
return theGene->starilizedSites[number];
return (Site*)CFArrayGetValueAtIndex((CFArrayRef)theGene->Sites,numbe=
r);
}
static inline id *getSitesWithin200(Gene *theGene, int number, int *lengt=
h, BOOL *SubSet)
{
Site *cur =3D getSite(theGene, number);
*length =3D cur->length;
*SubSet =3D cur->isSubSet;
return cur->within200;
}
static inline int countOfSites(Gene *theGene)
{
if(theGene->starilizedSites!=3D((void *)0))
return theGene->starilizedlength;
return CFArrayGetCount((CFArrayRef)theGene->Sites);
}
# 12 "Gene.m" 2
# 1 "MyExtensionsToNSArray.h" 1
# 15 "MyExtensionsToNSArray.h"
@interface NSArray(CHMCC)
- (int)intAtIndex:(unsigned)index;
- (BOOL)containsInt:(int)anInt;
- (unsigned)indexOfInt:(int)anInt;
- (unsigned)indexOfInt:(int)anInt inRange:(NSRange)range;
@end
@interface NSMutableArray(CHMCC)
- (void)addInt:(int)anInt;
@end
static inline id NSArrayGetValueAtIndex(NSArray *theArray, CFIndex idx)
{
return (id)CFArrayGetValueAtIndex((CFArrayRef)theArray, idx);
}
static inline int NSArrayGetIntAtIndex(NSArray *theArray, CFIndex idx)
{
return [NSArrayGetValueAtIndex(theArray, idx) intValue];
}
static inline void NSArrayAppendValue(NSMutableArray *theArray, id value)=
{
CFArrayAppendValue((CFMutableArrayRef)theArray, value);
}
static inline void NSArrayAppendInt(NSMutableArray *theArray, int value)
{
NSArrayAppendValue(theArray, [NSNumber numberWithInt:value]);
}
# 14 "Gene.m" 2
@implementation Gene
-getSite:(int)number
{
if(starilizedSites!=3D((void *)0))
return starilizedSites[number];
return (id)CFArrayGetValueAtIndex((CFArrayRef)Sites, number);
}
-(int)countOfSites
{
if(starilizedSites!=3D((void *)0))
return starilizedlength;
return CFArrayGetCount((CFArrayRef)Sites);
}
+GeneWithGeneID:(int)geneID
{
return [[[self alloc] initWithGeneID:geneID]autorelease];
}
-initWithGeneID:(int)geneID
{
[super init];
starilizedSites =3D ((void *)0);
GeneID=3DgeneID;
Sites =3D [[NSMutableArray alloc]initWithCapacity:60];
Tupes =3D [[NSMutableArray alloc]initWithCapacity:60000];
tuplesLock =3D [[NSLock alloc] init];
return self;
}
-(void)addSiteWithCString:(const char*)string
{
int i =3D 0;
Site *newSite =3D [Site siteWithCString:string];
int count =3D CFArrayGetCount((CFArrayRef)Sites);
for(i=3D0;i<count;i++)
{
Site *oldSite =3D (Site*)CFArrayGetValueAtIndex((CFArrayRef)Sites=
, i);
if(oldSite->start > newSite->start)
break;
}
CFArrayInsertValueAtIndex((CFMutableArrayRef)Sites, i, newSite);
}
-(void)addSiteWithString:(NSString*)string
{
int i =3D 0;
Site *newSite =3D [Site siteWithString:string];
int count =3D CFArrayGetCount((CFArrayRef)Sites);
for(i=3D0;i<count;i++)
{
Site *oldSite =3D (Site*)CFArrayGetValueAtIndex((CFArrayRef)Sites=
, i);
if(oldSite->start > newSite->start)
break;
}
CFArrayInsertValueAtIndex((CFMutableArrayRef)Sites, i, newSite);
}
-(void)addSite:(Site*)newSite
{
int i =3D 0;
int count =3D CFArrayGetCount((CFArrayRef)Sites);
for(i=3D0;i<count;i++)
{
Site *oldSite =3D (Site*)CFArrayGetValueAtIndex((CFArrayRef)Sites=
, i);
if(oldSite->start > newSite->start)
break;
}
CFArrayInsertValueAtIndex((CFMutableArrayRef)Sites, i, newSite);
}
-(void)addSiteWithGeneID:(int)geneID MatrixFamilyID:(int)matrixFamilyID M=
atrixID:(int)matrixID start:(int)start end:(int)end;
{
int i =3D 0;
Site *newSite =3D [Site siteWithGeneID:geneID MatrixFamilyID:matrixFa=
milyID MatrixID:matrixID start:start end:end];
int count =3D CFArrayGetCount((CFArrayRef)Sites);
for(i=3D0;i<count;i++)
{
Site *oldSite =3D (Site*)CFArrayGetValueAtIndex((CFArrayRef)Sites=
, i);
if(oldSite->start > start)
break;
}
CFArrayInsertValueAtIndex((CFMutableArrayRef)Sites, i, newSite);
}
-starilize
{
starilizedlength =3D CFArrayGetCount((CFArrayRef)Sites);
starilizedSites =3D calloc(starilizedlength, sizeof(id));
[Sites getObjects:starilizedSites];
return self;
}
-(void)findAllwithin200
{
int i, j;
Site *theCurrentSite;
Site *theOtherSite;
for(i=3D0;i<starilizedlength;i++)
{
theCurrentSite =3D ((Site*)(starilizedSites[i]));
theCurrentSite->isSubSet =3D (BOOL)0;
if(i!=3D0)
{
theOtherSite =3D ((Site*)(starilizedSites[i-1]));
theCurrentSite->length =3D theOtherSite->length-1;
memcpy(theCurrentSite->within200, theOtherSite->within200+1, =
theCurrentSite->length*sizeof(id));
}
else
theCurrentSite->length=3D0;
for(j=3Di+theCurrentSite->length;j<starilizedlength;j++)
{
theOtherSite =3D ((Site*)(starilizedSites[j]));
if(theOtherSite->start > theCurrentSite->start+200)
break;
theCurrentSite->within200[theCurrentSite->length] =3D theOthe=
rSite;
theCurrentSite->length++;
}
if(i!=3D0&&theCurrentSite->length<((Site*)(starilizedSites[i-1]))=
->length)
{
theCurrentSite->isSubSet =3D (BOOL)1;
}
}
theCurrentSite =3D ((Site*)(starilizedSites[starilizedlength-2]));
theOtherSite =3D ((Site*)(starilizedSites[starilizedlength-1]));
for(i=3Dstarilizedlength-2;i<=3D0;i--)
{
if(theCurrentSite->length<theOtherSite->length)
{
theCurrentSite->isSubSet =3D (BOOL)1;
}
theOtherSite =3D theCurrentSite;
theCurrentSite =3D ((Site*)(starilizedSites[i-1]));
}
}
-(void)dealloc
{
[Sites release];
[tuplesLock release];
[super dealloc];
}
@end
--%--multipart-mixed-boundary-1.16524.1007158195--%--
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: objc/4975
@ 2001-12-07 18:16 Andrew Pinski
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Pinski @ 2001-12-07 18:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR objc/4975; it has been noted by GNATS.
From: Andrew Pinski <pinskia@physics.uc.edu>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, pinskia@physics.uc.edu,
gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org
Cc:
Subject: Re: objc/4975
Date: Fri, 7 Dec 2001 21:10:46 -0500
Still fails with a shorter testcase:
gcc -O3 main.m -save-temps -v
Reading specs from /home/rodent/pinskia/gcc-linux/bin/../lib/gcc-
lib/i686-pc-linux-gnu/3.1/specs
Configured with: /lhome/src/gnu/gcc/gcc3.1/src/configure
--prefix=/home/linux --with-gnu-as=/home/linux/bun/as --with-gnu-
ld=/home/linux/bin/ld --enable-threads=posix --enable-shared
Thread model: posix
gcc version 3.1 20011207 (experimental)
/home/rodent/pinskia/gcc-linux/bin/../lib/gcc-lib/i686-pc-linux-
gnu/3.1/cpp0 -lang-objc -v -iprefix /home/rodent/pinskia/gcc-
linux/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.1/ -D__GNUC__=3
-D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dlinux
-D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem=posix
-D__OPTIMIZE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386
-D__i386 -D__i386__ -D__tune_i686__ -D__tune_pentiumpro__ main.m main.mi
GNU CPP version 3.1 20011207 (experimental) (cpplib) (i386 Linux/ELF)
ignoring nonexistent directory "/usr/local/include"
ignoring duplicate directory "/home/linux/lib/gcc-lib/i686-pc-linux-
gnu/3.1/include"
ignoring duplicate directory "/home/linux/i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/home/rodent/pinskia/gcc-linux/lib/gcc-lib/i686-pc-linux-gnu/3.1/include
/home/rodent/pinskia/gcc-linux/i686-pc-linux-gnu/include
/home/linux/include
/usr/include
End of search list.
/home/rodent/pinskia/gcc-linux/bin/../lib/gcc-lib/i686-pc-linux-
gnu/3.1/cc1obj -fpreprocessed main.mi -quiet -dumpbase main.m -O3
-version -o main.s
GNU CPP version 3.1 20011207 (experimental) (cpplib) (i386 Linux/ELF)
GNU Objective-C version 3.1 20011207 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 3.1 20011207 (experimental).
main.m: In function `_GLOBAL__I_main.mAKFmgb':
main.m:13: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
Here is the ouput from gdb:
Program received signal SIGSEGV, Segmentation fault.
0x0804f62c in defer_fn (fn=0x401a2f68)
at /lhome/src/gnu/gcc/gcc3.1/src/gcc/objc/objc-act.c:580
580 VARRAY_PUSH_TREE (deferred_fns, fn);
(gdb) bt
#0 0x0804f62c in defer_fn (fn=0x401a2f68)
at /lhome/src/gnu/gcc/gcc3.1/src/gcc/objc/objc-act.c:580
#1 0x08078478 in c_expand_body (fndecl=0x401a2f68, nested_p=0,
can_defer_p=1)
at /lhome/src/gnu/gcc/gcc3.1/src/gcc/c-decl.c:6950
#2 0x08077b7a in finish_function (nested=0)
at /lhome/src/gnu/gcc/gcc3.1/src/gcc/c-decl.c:6858
#3 0x08051fe7 in build_module_descriptor ()
at /lhome/src/gnu/gcc/gcc3.1/src/gcc/objc/objc-act.c:1749
#4 0x08061a61 in finish_objc ()
at /lhome/src/gnu/gcc/gcc3.1/src/gcc/objc/objc-act.c:8139
#5 0x0804f6af in finish_file ()
at /lhome/src/gnu/gcc/gcc3.1/src/gcc/objc/objc-act.c:598
#6 0x08049c55 in yyparse_1 () at /usr/lib/bison.simple:315
#7 0x0822ffb4 in compile_file ()
at /lhome/src/gnu/gcc/gcc3.1/src/gcc/toplev.c:2109
#8 0x08235229 in do_compile ()
at /lhome/src/gnu/gcc/gcc3.1/src/gcc/toplev.c:5102
#9 0x08235288 in toplev_main (argc=10, argv=0xbffff024)
at /lhome/src/gnu/gcc/gcc3.1/src/gcc/toplev.c:5132
#10 0x080ab64b in main (argc=10, argv=0xbffff024)
at /lhome/src/gnu/gcc/gcc3.1/src/gcc/main.c:35
#11 0x40041f31 in __libc_start_main (main=0x80ab630 <main>, argc=10,
ubp_av=0xbffff024, init=0x8049038 <_init>, fini=0x82ef494 <_fini>,
rtld_fini=0x4000e274 <_dl_fini>, stack_end=0xbffff01c)
at ../sysdeps/generic/libc-start.c:129
(gdb) p deferred_fns
$1 = 0x0(gdb) p fn
$2 = 0x401a2f68
Here is shorter testcase:
# 1 "main.m"
# 1 "<builtin>"
# 1 "<command line>"
# 1 "main.m"
@interface HashTableData
{
}
@end
@implementation HashTableData
-init:(int)lkey
{
}
@end
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: objc/4975
@ 2001-11-22 14:19 Andrew Pinski
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Pinski @ 2001-11-22 14:19 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR objc/4975; it has been noted by GNATS.
From: Andrew Pinski <pinskia@physics.uc.edu>
To: gcc-gnats@gcc.gnu.org, pinskia@physics.uc.edu
Cc:
Subject: Re: objc/4975
Date: Fri, 30 Nov 2001 17:00:04 -0500 (EST)
Here is the attached through elm the Previous one did not come out right.
Thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-12-08 2:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-22 14:26 objc/4975 Andrew Pinski
-- strict thread matches above, loose matches on Subject: below --
2001-12-07 18:16 objc/4975 Andrew Pinski
2001-11-22 14:19 objc/4975 Andrew Pinski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).