Bugzilla – Attachment 194768 Details for
Bug 355496
"-fno-tree-vrp" optimization broken?
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
ImUtil.i
ImUtil.i (text/plain), 208.96 KB, created by
Stefan Dirsch
on 2008-02-13 21:09:36 UTC
(
hide
)
Description:
ImUtil.i
Filename:
MIME Type:
Creator:
Stefan Dirsch
Created:
2008-02-13 21:09:36 UTC
Size:
208.96 KB
patch
obsolete
># 1 "ImUtil.c" ># 1 "<built-in>" ># 1 "<command-line>" ># 1 "ImUtil.c" ># 30 "ImUtil.c" ># 1 "./config.h" 1 ># 31 "ImUtil.c" 2 > ># 1 "../include/X11/Xlibint.h" 1 ># 43 "../include/X11/Xlibint.h" ># 1 "../include/X11/Xlib.h" 1 ># 52 "../include/X11/Xlib.h" ># 1 "/usr/include/sys/types.h" 1 3 4 ># 27 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 330 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 348 "/usr/include/sys/cdefs.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 349 "/usr/include/sys/cdefs.h" 2 3 4 ># 331 "/usr/include/features.h" 2 3 4 ># 354 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 > > > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 5 "/usr/include/gnu/stubs.h" 2 3 4 > > > > ># 1 "/usr/include/gnu/stubs-64.h" 1 3 4 ># 10 "/usr/include/gnu/stubs.h" 2 3 4 ># 355 "/usr/include/features.h" 2 3 4 ># 28 "/usr/include/sys/types.h" 2 3 4 > > > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 28 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/bits/types.h" 2 3 4 > > >typedef unsigned char __u_char; >typedef unsigned short int __u_short; >typedef unsigned int __u_int; >typedef unsigned long int __u_long; > > >typedef signed char __int8_t; >typedef unsigned char __uint8_t; >typedef signed short int __int16_t; >typedef unsigned short int __uint16_t; >typedef signed int __int32_t; >typedef unsigned int __uint32_t; > >typedef signed long int __int64_t; >typedef unsigned long int __uint64_t; > > > > > > > >typedef long int __quad_t; >typedef unsigned long int __u_quad_t; ># 131 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 132 "/usr/include/bits/types.h" 2 3 4 > > >typedef unsigned long int __dev_t; >typedef unsigned int __uid_t; >typedef unsigned int __gid_t; >typedef unsigned long int __ino_t; >typedef unsigned long int __ino64_t; >typedef unsigned int __mode_t; >typedef unsigned long int __nlink_t; >typedef long int __off_t; >typedef long int __off64_t; >typedef int __pid_t; >typedef struct { int __val[2]; } __fsid_t; >typedef long int __clock_t; >typedef unsigned long int __rlim_t; >typedef unsigned long int __rlim64_t; >typedef unsigned int __id_t; >typedef long int __time_t; >typedef unsigned int __useconds_t; >typedef long int __suseconds_t; > >typedef int __daddr_t; >typedef long int __swblk_t; >typedef int __key_t; > > >typedef int __clockid_t; > > >typedef void * __timer_t; > > >typedef long int __blksize_t; > > > > >typedef long int __blkcnt_t; >typedef long int __blkcnt64_t; > > >typedef unsigned long int __fsblkcnt_t; >typedef unsigned long int __fsblkcnt64_t; > > >typedef unsigned long int __fsfilcnt_t; >typedef unsigned long int __fsfilcnt64_t; > >typedef long int __ssize_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >typedef long int __intptr_t; > > >typedef unsigned int __socklen_t; ># 32 "/usr/include/sys/types.h" 2 3 4 > > > >typedef __u_char u_char; >typedef __u_short u_short; >typedef __u_int u_int; >typedef __u_long u_long; >typedef __quad_t quad_t; >typedef __u_quad_t u_quad_t; >typedef __fsid_t fsid_t; > > > > >typedef __loff_t loff_t; > > > >typedef __ino_t ino_t; > > > > > > >typedef __ino64_t ino64_t; > > > > >typedef __dev_t dev_t; > > > > >typedef __gid_t gid_t; > > > > >typedef __mode_t mode_t; > > > > >typedef __nlink_t nlink_t; > > > > >typedef __uid_t uid_t; > > > > > >typedef __off_t off_t; > > > > > > >typedef __off64_t off64_t; > > > > >typedef __pid_t pid_t; > > > > >typedef __id_t id_t; > > > > >typedef __ssize_t ssize_t; > > > > > >typedef __daddr_t daddr_t; >typedef __caddr_t caddr_t; > > > > > >typedef __key_t key_t; ># 133 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 59 "/usr/include/time.h" 3 4 > > >typedef __clock_t clock_t; > > > ># 75 "/usr/include/time.h" 3 4 > > >typedef __time_t time_t; > > > ># 93 "/usr/include/time.h" 3 4 >typedef __clockid_t clockid_t; ># 105 "/usr/include/time.h" 3 4 >typedef __timer_t timer_t; ># 134 "/usr/include/sys/types.h" 2 3 4 > > > >typedef __useconds_t useconds_t; > > > >typedef __suseconds_t suseconds_t; > > > > > ># 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 ># 214 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 3 4 >typedef long unsigned int size_t; ># 148 "/usr/include/sys/types.h" 2 3 4 > > > >typedef unsigned long int ulong; >typedef unsigned short int ushort; >typedef unsigned int uint; ># 195 "/usr/include/sys/types.h" 3 4 >typedef int int8_t __attribute__ ((__mode__ (__QI__))); >typedef int int16_t __attribute__ ((__mode__ (__HI__))); >typedef int int32_t __attribute__ ((__mode__ (__SI__))); >typedef int int64_t __attribute__ ((__mode__ (__DI__))); > > >typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); >typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); > >typedef int register_t __attribute__ ((__mode__ (__word__))); ># 217 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/endian.h" 1 3 4 ># 37 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/endian.h" 1 3 4 ># 38 "/usr/include/endian.h" 2 3 4 ># 218 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/select.h" 1 3 4 ># 31 "/usr/include/sys/select.h" 3 4 ># 1 "/usr/include/bits/select.h" 1 3 4 ># 32 "/usr/include/sys/select.h" 2 3 4 > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 24 "/usr/include/bits/sigset.h" 3 4 >typedef int __sig_atomic_t; > > > > >typedef struct > { > unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; > } __sigset_t; ># 35 "/usr/include/sys/select.h" 2 3 4 > > > >typedef __sigset_t sigset_t; > > > > > ># 1 "/usr/include/time.h" 1 3 4 ># 121 "/usr/include/time.h" 3 4 >struct timespec > { > __time_t tv_sec; > long int tv_nsec; > }; ># 45 "/usr/include/sys/select.h" 2 3 4 > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 69 "/usr/include/bits/time.h" 3 4 >struct timeval > { > __time_t tv_sec; > __suseconds_t tv_usec; > }; ># 47 "/usr/include/sys/select.h" 2 3 4 ># 55 "/usr/include/sys/select.h" 3 4 >typedef long int __fd_mask; ># 67 "/usr/include/sys/select.h" 3 4 >typedef struct > { > > > > __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))]; > > > > > > } fd_set; > > > > > > >typedef __fd_mask fd_mask; ># 99 "/usr/include/sys/select.h" 3 4 > ># 109 "/usr/include/sys/select.h" 3 4 >extern int select (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > struct timeval *__restrict __timeout); ># 121 "/usr/include/sys/select.h" 3 4 >extern int pselect (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > const struct timespec *__restrict __timeout, > const __sigset_t *__restrict __sigmask); > > > ># 221 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/sysmacros.h" 1 3 4 ># 30 "/usr/include/sys/sysmacros.h" 3 4 >__extension__ >extern unsigned int gnu_dev_major (unsigned long long int __dev) > __attribute__ ((__nothrow__)); >__extension__ >extern unsigned int gnu_dev_minor (unsigned long long int __dev) > __attribute__ ((__nothrow__)); >__extension__ >extern unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > __attribute__ ((__nothrow__)); > > >__extension__ extern __inline unsigned int >__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev) >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline unsigned int >__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev) >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline unsigned long long int >__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) >{ > return ((__minor & 0xff) | ((__major & 0xfff) << 8) > | (((unsigned long long int) (__minor & ~0xff)) << 12) > | (((unsigned long long int) (__major & ~0xfff)) << 32)); >} ># 224 "/usr/include/sys/types.h" 2 3 4 > > > > >typedef __blksize_t blksize_t; > > > > > > >typedef __blkcnt_t blkcnt_t; > > > >typedef __fsblkcnt_t fsblkcnt_t; > > > >typedef __fsfilcnt_t fsfilcnt_t; ># 262 "/usr/include/sys/types.h" 3 4 >typedef __blkcnt64_t blkcnt64_t; >typedef __fsblkcnt64_t fsblkcnt64_t; >typedef __fsfilcnt64_t fsfilcnt64_t; > > > > > ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 ># 23 "/usr/include/bits/pthreadtypes.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 ># 50 "/usr/include/bits/pthreadtypes.h" 3 4 >typedef unsigned long int pthread_t; > > >typedef union >{ > char __size[56]; > long int __align; >} pthread_attr_t; > > > >typedef struct __pthread_internal_list >{ > struct __pthread_internal_list *__prev; > struct __pthread_internal_list *__next; >} __pthread_list_t; ># 76 "/usr/include/bits/pthreadtypes.h" 3 4 >typedef union >{ > struct __pthread_mutex_s > { > int __lock; > unsigned int __count; > int __owner; > > unsigned int __nusers; > > > > int __kind; > > int __spins; > __pthread_list_t __list; ># 101 "/usr/include/bits/pthreadtypes.h" 3 4 > } __data; > char __size[40]; > long int __align; >} pthread_mutex_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_mutexattr_t; > > > > >typedef union >{ > struct > { > int __lock; > unsigned int __futex; > __extension__ unsigned long long int __total_seq; > __extension__ unsigned long long int __wakeup_seq; > __extension__ unsigned long long int __woken_seq; > void *__mutex; > unsigned int __nwaiters; > unsigned int __broadcast_seq; > } __data; > char __size[48]; > __extension__ long long int __align; >} pthread_cond_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_condattr_t; > > > >typedef unsigned int pthread_key_t; > > > >typedef int pthread_once_t; > > > > > >typedef union >{ > > struct > { > int __lock; > unsigned int __nr_readers; > unsigned int __readers_wakeup; > unsigned int __writer_wakeup; > unsigned int __nr_readers_queued; > unsigned int __nr_writers_queued; > int __writer; > int __shared; > unsigned long int __pad1; > unsigned long int __pad2; > > > unsigned int __flags; > } __data; ># 187 "/usr/include/bits/pthreadtypes.h" 3 4 > char __size[56]; > long int __align; >} pthread_rwlock_t; > >typedef union >{ > char __size[8]; > long int __align; >} pthread_rwlockattr_t; > > > > > >typedef volatile int pthread_spinlock_t; > > > > >typedef union >{ > char __size[32]; > long int __align; >} pthread_barrier_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_barrierattr_t; ># 271 "/usr/include/sys/types.h" 2 3 4 > > > ># 53 "../include/X11/Xlib.h" 2 > > > > > > > ># 1 "/usr/include/X11/X.h" 1 3 4 ># 71 "/usr/include/X11/X.h" 3 4 >typedef unsigned long XID; > > > >typedef unsigned long Mask; > > > >typedef unsigned long Atom; > >typedef unsigned long VisualID; >typedef unsigned long Time; ># 101 "/usr/include/X11/X.h" 3 4 >typedef XID Window; >typedef XID Drawable; > > >typedef XID Font; > >typedef XID Pixmap; >typedef XID Cursor; >typedef XID Colormap; >typedef XID GContext; >typedef XID KeySym; > >typedef unsigned char KeyCode; ># 61 "../include/X11/Xlib.h" 2 > > ># 1 "/usr/include/X11/Xfuncproto.h" 1 3 4 ># 64 "../include/X11/Xlib.h" 2 ># 1 "/usr/include/X11/Xosdefs.h" 1 3 4 ># 65 "../include/X11/Xlib.h" 2 ># 75 "../include/X11/Xlib.h" ># 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 ># 152 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 3 4 >typedef long int ptrdiff_t; ># 326 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 3 4 >typedef int wchar_t; ># 76 "../include/X11/Xlib.h" 2 ># 93 "../include/X11/Xlib.h" >extern int >_Xmblen( > > > > > char *str, > int len > > ); > > > > > >typedef char *XPointer; ># 180 "../include/X11/Xlib.h" >typedef struct _XExtData { > int number; > struct _XExtData *next; > int (*free_private)( > struct _XExtData *extension > ); > XPointer private_data; >} XExtData; > > > > >typedef struct { > int extension; > int major_opcode; > int first_event; > int first_error; >} XExtCodes; > > > > > >typedef struct { > int depth; > int bits_per_pixel; > int scanline_pad; >} XPixmapFormatValues; > > > > > >typedef struct { > int function; > unsigned long plane_mask; > unsigned long foreground; > unsigned long background; > int line_width; > int line_style; > int cap_style; > > int join_style; > int fill_style; > > int fill_rule; > int arc_mode; > Pixmap tile; > Pixmap stipple; > int ts_x_origin; > int ts_y_origin; > Font font; > int subwindow_mode; > int graphics_exposures; > int clip_x_origin; > int clip_y_origin; > Pixmap clip_mask; > int dash_offset; > char dashes; >} XGCValues; > > > > > > >typedef struct _XGC > > > > > > > >*GC; > > > > >typedef struct { > XExtData *ext_data; > VisualID visualid; > > > > int class; > > unsigned long red_mask, green_mask, blue_mask; > int bits_per_rgb; > int map_entries; >} Visual; > > > > >typedef struct { > int depth; > int nvisuals; > Visual *visuals; >} Depth; > > > > > > > >struct _XDisplay; > >typedef struct { > XExtData *ext_data; > struct _XDisplay *display; > Window root; > int width, height; > int mwidth, mheight; > int ndepths; > Depth *depths; > int root_depth; > Visual *root_visual; > GC default_gc; > Colormap cmap; > unsigned long white_pixel; > unsigned long black_pixel; > int max_maps, min_maps; > int backing_store; > int save_unders; > long root_input_mask; >} Screen; > > > > >typedef struct { > XExtData *ext_data; > int depth; > int bits_per_pixel; > int scanline_pad; >} ScreenFormat; > > > > >typedef struct { > Pixmap background_pixmap; > unsigned long background_pixel; > Pixmap border_pixmap; > unsigned long border_pixel; > int bit_gravity; > int win_gravity; > int backing_store; > unsigned long backing_planes; > unsigned long backing_pixel; > int save_under; > long event_mask; > long do_not_propagate_mask; > int override_redirect; > Colormap colormap; > Cursor cursor; >} XSetWindowAttributes; > >typedef struct { > int x, y; > int width, height; > int border_width; > int depth; > Visual *visual; > Window root; > > > > int class; > > int bit_gravity; > int win_gravity; > int backing_store; > unsigned long backing_planes; > unsigned long backing_pixel; > int save_under; > Colormap colormap; > int map_installed; > int map_state; > long all_event_masks; > long your_event_mask; > long do_not_propagate_mask; > int override_redirect; > Screen *screen; >} XWindowAttributes; > > > > > > >typedef struct { > int family; > int length; > char *address; >} XHostAddress; > > > > >typedef struct { > int typelength; > int valuelength; > char *type; > char *value; >} XServerInterpretedAddress; > > > > >typedef struct _XImage { > int width, height; > int xoffset; > int format; > char *data; > int byte_order; > int bitmap_unit; > int bitmap_bit_order; > int bitmap_pad; > int depth; > int bytes_per_line; > int bits_per_pixel; > unsigned long red_mask; > unsigned long green_mask; > unsigned long blue_mask; > XPointer obdata; > struct funcs { > struct _XImage *(*create_image)( > struct _XDisplay* , > Visual* , > unsigned int , > int , > int , > char* , > unsigned int , > unsigned int , > int , > int ); > int (*destroy_image) (struct _XImage *); > unsigned long (*get_pixel) (struct _XImage *, int, int); > int (*put_pixel) (struct _XImage *, int, int, unsigned long); > struct _XImage *(*sub_image)(struct _XImage *, int, int, unsigned int, unsigned int); > int (*add_pixel) (struct _XImage *, long); > } f; >} XImage; > > > > >typedef struct { > int x, y; > int width, height; > int border_width; > Window sibling; > int stack_mode; >} XWindowChanges; > > > > >typedef struct { > unsigned long pixel; > unsigned short red, green, blue; > char flags; > char pad; >} XColor; > > > > > > >typedef struct { > short x1, y1, x2, y2; >} XSegment; > >typedef struct { > short x, y; >} XPoint; > >typedef struct { > short x, y; > unsigned short width, height; >} XRectangle; > >typedef struct { > short x, y; > unsigned short width, height; > short angle1, angle2; >} XArc; > > > > >typedef struct { > int key_click_percent; > int bell_percent; > int bell_pitch; > int bell_duration; > int led; > int led_mode; > int key; > int auto_repeat_mode; >} XKeyboardControl; > > > >typedef struct { > int key_click_percent; > int bell_percent; > unsigned int bell_pitch, bell_duration; > unsigned long led_mask; > int global_auto_repeat; > char auto_repeats[32]; >} XKeyboardState; > > > >typedef struct { > Time time; > short x, y; >} XTimeCoord; > > > >typedef struct { > int max_keypermod; > KeyCode *modifiermap; >} XModifierKeymap; ># 519 "../include/X11/Xlib.h" >typedef struct _XDisplay Display; > > >struct _XPrivate; >struct _XrmHashBucketRec; > >typedef struct > > > >{ > XExtData *ext_data; > struct _XPrivate *private1; > int fd; > int private2; > int proto_major_version; > int proto_minor_version; > char *vendor; > XID private3; > XID private4; > XID private5; > int private6; > XID (*resource_alloc)( > struct _XDisplay* > ); > int byte_order; > int bitmap_unit; > int bitmap_pad; > int bitmap_bit_order; > int nformats; > ScreenFormat *pixmap_format; > int private8; > int release; > struct _XPrivate *private9, *private10; > int qlen; > unsigned long last_request_read; > unsigned long request; > XPointer private11; > XPointer private12; > XPointer private13; > XPointer private14; > unsigned max_request_size; > struct _XrmHashBucketRec *db; > int (*private15)( > struct _XDisplay* > ); > char *display_name; > int default_screen; > int nscreens; > Screen *screens; > unsigned long motion_buffer; > unsigned long private16; > int min_keycode; > int max_keycode; > XPointer private17; > XPointer private18; > int private19; > char *xdefaults; > >} > > > >*_XPrivDisplay; > > > > > > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Window root; > Window subwindow; > Time time; > int x, y; > int x_root, y_root; > unsigned int state; > unsigned int keycode; > int same_screen; >} XKeyEvent; >typedef XKeyEvent XKeyPressedEvent; >typedef XKeyEvent XKeyReleasedEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Window root; > Window subwindow; > Time time; > int x, y; > int x_root, y_root; > unsigned int state; > unsigned int button; > int same_screen; >} XButtonEvent; >typedef XButtonEvent XButtonPressedEvent; >typedef XButtonEvent XButtonReleasedEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Window root; > Window subwindow; > Time time; > int x, y; > int x_root, y_root; > unsigned int state; > char is_hint; > int same_screen; >} XMotionEvent; >typedef XMotionEvent XPointerMovedEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Window root; > Window subwindow; > Time time; > int x, y; > int x_root, y_root; > int mode; > int detail; > > > > > int same_screen; > int focus; > unsigned int state; >} XCrossingEvent; >typedef XCrossingEvent XEnterWindowEvent; >typedef XCrossingEvent XLeaveWindowEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int mode; > > int detail; > > > > > >} XFocusChangeEvent; >typedef XFocusChangeEvent XFocusInEvent; >typedef XFocusChangeEvent XFocusOutEvent; > > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > char key_vector[32]; >} XKeymapEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int x, y; > int width, height; > int count; >} XExposeEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Drawable drawable; > int x, y; > int width, height; > int count; > int major_code; > int minor_code; >} XGraphicsExposeEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Drawable drawable; > int major_code; > int minor_code; >} XNoExposeEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int state; >} XVisibilityEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window parent; > Window window; > int x, y; > int width, height; > int border_width; > int override_redirect; >} XCreateWindowEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; >} XDestroyWindowEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int from_configure; >} XUnmapEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int override_redirect; >} XMapEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window parent; > Window window; >} XMapRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > Window parent; > int x, y; > int override_redirect; >} XReparentEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int x, y; > int width, height; > int border_width; > Window above; > int override_redirect; >} XConfigureEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int x, y; >} XGravityEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int width, height; >} XResizeRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window parent; > Window window; > int x, y; > int width, height; > int border_width; > Window above; > int detail; > unsigned long value_mask; >} XConfigureRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window event; > Window window; > int place; >} XCirculateEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window parent; > Window window; > int place; >} XCirculateRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Atom atom; > Time time; > int state; >} XPropertyEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Atom selection; > Time time; >} XSelectionClearEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window owner; > Window requestor; > Atom selection; > Atom target; > Atom property; > Time time; >} XSelectionRequestEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window requestor; > Atom selection; > Atom target; > Atom property; > Time time; >} XSelectionEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Colormap colormap; > > > > int new; > > int state; >} XColormapEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > Atom message_type; > int format; > union { > char b[20]; > short s[10]; > long l[5]; > } data; >} XClientMessageEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; > int request; > > int first_keycode; > int count; >} XMappingEvent; > >typedef struct { > int type; > Display *display; > XID resourceid; > unsigned long serial; > unsigned char error_code; > unsigned char request_code; > unsigned char minor_code; >} XErrorEvent; > >typedef struct { > int type; > unsigned long serial; > int send_event; > Display *display; > Window window; >} XAnyEvent; > > > > > >typedef union _XEvent { > int type; > XAnyEvent xany; > XKeyEvent xkey; > XButtonEvent xbutton; > XMotionEvent xmotion; > XCrossingEvent xcrossing; > XFocusChangeEvent xfocus; > XExposeEvent xexpose; > XGraphicsExposeEvent xgraphicsexpose; > XNoExposeEvent xnoexpose; > XVisibilityEvent xvisibility; > XCreateWindowEvent xcreatewindow; > XDestroyWindowEvent xdestroywindow; > XUnmapEvent xunmap; > XMapEvent xmap; > XMapRequestEvent xmaprequest; > XReparentEvent xreparent; > XConfigureEvent xconfigure; > XGravityEvent xgravity; > XResizeRequestEvent xresizerequest; > XConfigureRequestEvent xconfigurerequest; > XCirculateEvent xcirculate; > XCirculateRequestEvent xcirculaterequest; > XPropertyEvent xproperty; > XSelectionClearEvent xselectionclear; > XSelectionRequestEvent xselectionrequest; > XSelectionEvent xselection; > XColormapEvent xcolormap; > XClientMessageEvent xclient; > XMappingEvent xmapping; > XErrorEvent xerror; > XKeymapEvent xkeymap; > long pad[24]; >} XEvent; > > > > > > > >typedef struct { > short lbearing; > short rbearing; > short width; > short ascent; > short descent; > unsigned short attributes; >} XCharStruct; > > > > > >typedef struct { > Atom name; > unsigned long card32; >} XFontProp; > >typedef struct { > XExtData *ext_data; > Font fid; > unsigned direction; > unsigned min_char_or_byte2; > unsigned max_char_or_byte2; > unsigned min_byte1; > unsigned max_byte1; > int all_chars_exist; > unsigned default_char; > int n_properties; > XFontProp *properties; > XCharStruct min_bounds; > XCharStruct max_bounds; > XCharStruct *per_char; > int ascent; > int descent; >} XFontStruct; > > > > >typedef struct { > char *chars; > int nchars; > int delta; > Font font; >} XTextItem; > >typedef struct { > unsigned char byte1; > unsigned char byte2; >} XChar2b; > >typedef struct { > XChar2b *chars; > int nchars; > int delta; > Font font; >} XTextItem16; > > >typedef union { Display *display; > GC gc; > Visual *visual; > Screen *screen; > ScreenFormat *pixmap_format; > XFontStruct *font; } XEDataObject; > >typedef struct { > XRectangle max_ink_extent; > XRectangle max_logical_extent; >} XFontSetExtents; > > > > > >typedef struct _XOM *XOM; >typedef struct _XOC *XOC, *XFontSet; > >typedef struct { > char *chars; > int nchars; > int delta; > XFontSet font_set; >} XmbTextItem; > >typedef struct { > wchar_t *chars; > int nchars; > int delta; > XFontSet font_set; >} XwcTextItem; ># 1124 "../include/X11/Xlib.h" >typedef struct { > int charset_count; > char **charset_list; >} XOMCharSetList; > >typedef enum { > XOMOrientation_LTR_TTB, > XOMOrientation_RTL_TTB, > XOMOrientation_TTB_LTR, > XOMOrientation_TTB_RTL, > XOMOrientation_Context >} XOrientation; > >typedef struct { > int num_orientation; > XOrientation *orientation; >} XOMOrientation; > >typedef struct { > int num_font; > XFontStruct **font_struct_list; > char **font_name_list; >} XOMFontInfo; > >typedef struct _XIM *XIM; >typedef struct _XIC *XIC; > >typedef void (*XIMProc)( > XIM, > XPointer, > XPointer >); > >typedef int (*XICProc)( > XIC, > XPointer, > XPointer >); > >typedef void (*XIDProc)( > Display*, > XPointer, > XPointer >); > >typedef unsigned long XIMStyle; > >typedef struct { > unsigned short count_styles; > XIMStyle *supported_styles; >} XIMStyles; ># 1236 "../include/X11/Xlib.h" >typedef void *XVaNestedList; > >typedef struct { > XPointer client_data; > XIMProc callback; >} XIMCallback; > >typedef struct { > XPointer client_data; > XICProc callback; >} XICCallback; > >typedef unsigned long XIMFeedback; ># 1260 "../include/X11/Xlib.h" >typedef struct _XIMText { > unsigned short length; > XIMFeedback *feedback; > int encoding_is_wchar; > union { > char *multi_byte; > wchar_t *wide_char; > } string; >} XIMText; > >typedef unsigned long XIMPreeditState; > > > > > >typedef struct _XIMPreeditStateNotifyCallbackStruct { > XIMPreeditState state; >} XIMPreeditStateNotifyCallbackStruct; > >typedef unsigned long XIMResetState; > > > > >typedef unsigned long XIMStringConversionFeedback; ># 1294 "../include/X11/Xlib.h" >typedef struct _XIMStringConversionText { > unsigned short length; > XIMStringConversionFeedback *feedback; > int encoding_is_wchar; > union { > char *mbs; > wchar_t *wcs; > } string; >} XIMStringConversionText; > >typedef unsigned short XIMStringConversionPosition; > >typedef unsigned short XIMStringConversionType; > > > > > > >typedef unsigned short XIMStringConversionOperation; > > > > >typedef enum { > XIMForwardChar, XIMBackwardChar, > XIMForwardWord, XIMBackwardWord, > XIMCaretUp, XIMCaretDown, > XIMNextLine, XIMPreviousLine, > XIMLineStart, XIMLineEnd, > XIMAbsolutePosition, > XIMDontChange >} XIMCaretDirection; > >typedef struct _XIMStringConversionCallbackStruct { > XIMStringConversionPosition position; > XIMCaretDirection direction; > XIMStringConversionOperation operation; > unsigned short factor; > XIMStringConversionText *text; >} XIMStringConversionCallbackStruct; > >typedef struct _XIMPreeditDrawCallbackStruct { > int caret; > int chg_first; > int chg_length; > XIMText *text; >} XIMPreeditDrawCallbackStruct; > >typedef enum { > XIMIsInvisible, > XIMIsPrimary, > XIMIsSecondary >} XIMCaretStyle; > >typedef struct _XIMPreeditCaretCallbackStruct { > int position; > XIMCaretDirection direction; > XIMCaretStyle style; >} XIMPreeditCaretCallbackStruct; > >typedef enum { > XIMTextType, > XIMBitmapType >} XIMStatusDataType; > >typedef struct _XIMStatusDrawCallbackStruct { > XIMStatusDataType type; > union { > XIMText *text; > Pixmap bitmap; > } data; >} XIMStatusDrawCallbackStruct; > >typedef struct _XIMHotKeyTrigger { > KeySym keysym; > int modifier; > int modifier_mask; >} XIMHotKeyTrigger; > >typedef struct _XIMHotKeyTriggers { > int num_hot_key; > XIMHotKeyTrigger *key; >} XIMHotKeyTriggers; > >typedef unsigned long XIMHotKeyState; > > > > >typedef struct { > unsigned short count_values; > char **supported_values; >} XIMValuesList; > > > > > > > >extern int _Xdebug; > >extern XFontStruct *XLoadQueryFont( > Display* , > const char* >); > >extern XFontStruct *XQueryFont( > Display* , > XID >); > > >extern XTimeCoord *XGetMotionEvents( > Display* , > Window , > Time , > Time , > int* >); > >extern XModifierKeymap *XDeleteModifiermapEntry( > XModifierKeymap* , > > > > KeyCode , > > int >); > >extern XModifierKeymap *XGetModifierMapping( > Display* >); > >extern XModifierKeymap *XInsertModifiermapEntry( > XModifierKeymap* , > > > > KeyCode , > > int >); > >extern XModifierKeymap *XNewModifiermap( > int >); > >extern XImage *XCreateImage( > Display* , > Visual* , > unsigned int , > int , > int , > char* , > unsigned int , > unsigned int , > int , > int >); >extern int XInitImage( > XImage* >); >extern XImage *XGetImage( > Display* , > Drawable , > int , > int , > unsigned int , > unsigned int , > unsigned long , > int >); >extern XImage *XGetSubImage( > Display* , > Drawable , > int , > int , > unsigned int , > unsigned int , > unsigned long , > int , > XImage* , > int , > int >); > > > > >extern Display *XOpenDisplay( > const char* >); > >extern void XrmInitialize( > void >); > >extern char *XFetchBytes( > Display* , > int* >); >extern char *XFetchBuffer( > Display* , > int* , > int >); >extern char *XGetAtomName( > Display* , > Atom >); >extern int XGetAtomNames( > Display* , > Atom* , > int , > char** >); >extern char *XGetDefault( > Display* , > const char* , > const char* >); >extern char *XDisplayName( > const char* >); >extern char *XKeysymToString( > KeySym >); > >extern int (*XSynchronize( > Display* , > int >))( > Display* >); >extern int (*XSetAfterFunction( > Display* , > int (*) ( > Display* > ) >))( > Display* >); >extern Atom XInternAtom( > Display* , > const char* , > int >); >extern int XInternAtoms( > Display* , > char** , > int , > int , > Atom* >); >extern Colormap XCopyColormapAndFree( > Display* , > Colormap >); >extern Colormap XCreateColormap( > Display* , > Window , > Visual* , > int >); >extern Cursor XCreatePixmapCursor( > Display* , > Pixmap , > Pixmap , > XColor* , > XColor* , > unsigned int , > unsigned int >); >extern Cursor XCreateGlyphCursor( > Display* , > Font , > Font , > unsigned int , > unsigned int , > XColor const * , > XColor const * >); >extern Cursor XCreateFontCursor( > Display* , > unsigned int >); >extern Font XLoadFont( > Display* , > const char* >); >extern GC XCreateGC( > Display* , > Drawable , > unsigned long , > XGCValues* >); >extern GContext XGContextFromGC( > GC >); >extern void XFlushGC( > Display* , > GC >); >extern Pixmap XCreatePixmap( > Display* , > Drawable , > unsigned int , > unsigned int , > unsigned int >); >extern Pixmap XCreateBitmapFromData( > Display* , > Drawable , > const char* , > unsigned int , > unsigned int >); >extern Pixmap XCreatePixmapFromBitmapData( > Display* , > Drawable , > char* , > unsigned int , > unsigned int , > unsigned long , > unsigned long , > unsigned int >); >extern Window XCreateSimpleWindow( > Display* , > Window , > int , > int , > unsigned int , > unsigned int , > unsigned int , > unsigned long , > unsigned long >); >extern Window XGetSelectionOwner( > Display* , > Atom >); >extern Window XCreateWindow( > Display* , > Window , > int , > int , > unsigned int , > unsigned int , > unsigned int , > int , > unsigned int , > Visual* , > unsigned long , > XSetWindowAttributes* >); >extern Colormap *XListInstalledColormaps( > Display* , > Window , > int* >); >extern char **XListFonts( > Display* , > const char* , > int , > int* >); >extern char **XListFontsWithInfo( > Display* , > const char* , > int , > int* , > XFontStruct** >); >extern char **XGetFontPath( > Display* , > int* >); >extern char **XListExtensions( > Display* , > int* >); >extern Atom *XListProperties( > Display* , > Window , > int* >); >extern XHostAddress *XListHosts( > Display* , > int* , > int* >); >extern KeySym XKeycodeToKeysym( > Display* , > > > > KeyCode , > > int >); >extern KeySym XLookupKeysym( > XKeyEvent* , > int >); >extern KeySym *XGetKeyboardMapping( > Display* , > > > > KeyCode , > > int , > int* >); >extern KeySym XStringToKeysym( > const char* >); >extern long XMaxRequestSize( > Display* >); >extern long XExtendedMaxRequestSize( > Display* >); >extern char *XResourceManagerString( > Display* >); >extern char *XScreenResourceString( > Screen* >); >extern unsigned long XDisplayMotionBufferSize( > Display* >); >extern VisualID XVisualIDFromVisual( > Visual* >); > > > >extern int XInitThreads( > void >); > >extern void XLockDisplay( > Display* >); > >extern void XUnlockDisplay( > Display* >); > > > >extern XExtCodes *XInitExtension( > Display* , > const char* >); > >extern XExtCodes *XAddExtension( > Display* >); >extern XExtData *XFindOnExtensionList( > XExtData** , > int >); >extern XExtData **XEHeadOfExtensionList( > XEDataObject >); > > >extern Window XRootWindow( > Display* , > int >); >extern Window XDefaultRootWindow( > Display* >); >extern Window XRootWindowOfScreen( > Screen* >); >extern Visual *XDefaultVisual( > Display* , > int >); >extern Visual *XDefaultVisualOfScreen( > Screen* >); >extern GC XDefaultGC( > Display* , > int >); >extern GC XDefaultGCOfScreen( > Screen* >); >extern unsigned long XBlackPixel( > Display* , > int >); >extern unsigned long XWhitePixel( > Display* , > int >); >extern unsigned long XAllPlanes( > void >); >extern unsigned long XBlackPixelOfScreen( > Screen* >); >extern unsigned long XWhitePixelOfScreen( > Screen* >); >extern unsigned long XNextRequest( > Display* >); >extern unsigned long XLastKnownRequestProcessed( > Display* >); >extern char *XServerVendor( > Display* >); >extern char *XDisplayString( > Display* >); >extern Colormap XDefaultColormap( > Display* , > int >); >extern Colormap XDefaultColormapOfScreen( > Screen* >); >extern Display *XDisplayOfScreen( > Screen* >); >extern Screen *XScreenOfDisplay( > Display* , > int >); >extern Screen *XDefaultScreenOfDisplay( > Display* >); >extern long XEventMaskOfScreen( > Screen* >); > >extern int XScreenNumberOfScreen( > Screen* >); > >typedef int (*XErrorHandler) ( > Display* , > XErrorEvent* >); > >extern XErrorHandler XSetErrorHandler ( > XErrorHandler >); > > >typedef int (*XIOErrorHandler) ( > Display* >); > >extern XIOErrorHandler XSetIOErrorHandler ( > XIOErrorHandler >); > > >extern XPixmapFormatValues *XListPixmapFormats( > Display* , > int* >); >extern int *XListDepths( > Display* , > int , > int* >); > > > >extern int XReconfigureWMWindow( > Display* , > Window , > int , > unsigned int , > XWindowChanges* >); > >extern int XGetWMProtocols( > Display* , > Window , > Atom** , > int* >); >extern int XSetWMProtocols( > Display* , > Window , > Atom* , > int >); >extern int XIconifyWindow( > Display* , > Window , > int >); >extern int XWithdrawWindow( > Display* , > Window , > int >); >extern int XGetCommand( > Display* , > Window , > char*** , > int* >); >extern int XGetWMColormapWindows( > Display* , > Window , > Window** , > int* >); >extern int XSetWMColormapWindows( > Display* , > Window , > Window* , > int >); >extern void XFreeStringList( > char** >); >extern int XSetTransientForHint( > Display* , > Window , > Window >); > > > >extern int XActivateScreenSaver( > Display* >); > >extern int XAddHost( > Display* , > XHostAddress* >); > >extern int XAddHosts( > Display* , > XHostAddress* , > int >); > >extern int XAddToExtensionList( > struct _XExtData** , > XExtData* >); > >extern int XAddToSaveSet( > Display* , > Window >); > >extern int XAllocColor( > Display* , > Colormap , > XColor* >); > >extern int XAllocColorCells( > Display* , > Colormap , > int , > unsigned long* , > unsigned int , > unsigned long* , > unsigned int >); > >extern int XAllocColorPlanes( > Display* , > Colormap , > int , > unsigned long* , > int , > int , > int , > int , > unsigned long* , > unsigned long* , > unsigned long* >); > >extern int XAllocNamedColor( > Display* , > Colormap , > const char* , > XColor* , > XColor* >); > >extern int XAllowEvents( > Display* , > int , > Time >); > >extern int XAutoRepeatOff( > Display* >); > >extern int XAutoRepeatOn( > Display* >); > >extern int XBell( > Display* , > int >); > >extern int XBitmapBitOrder( > Display* >); > >extern int XBitmapPad( > Display* >); > >extern int XBitmapUnit( > Display* >); > >extern int XCellsOfScreen( > Screen* >); > >extern int XChangeActivePointerGrab( > Display* , > unsigned int , > Cursor , > Time >); > >extern int XChangeGC( > Display* , > GC , > unsigned long , > XGCValues* >); > >extern int XChangeKeyboardControl( > Display* , > unsigned long , > XKeyboardControl* >); > >extern int XChangeKeyboardMapping( > Display* , > int , > int , > KeySym* , > int >); > >extern int XChangePointerControl( > Display* , > int , > int , > int , > int , > int >); > >extern int XChangeProperty( > Display* , > Window , > Atom , > Atom , > int , > int , > const unsigned char* , > int >); > >extern int XChangeSaveSet( > Display* , > Window , > int >); > >extern int XChangeWindowAttributes( > Display* , > Window , > unsigned long , > XSetWindowAttributes* >); > >extern int XCheckIfEvent( > Display* , > XEvent* , > int (*) ( > Display* , > XEvent* , > XPointer > ) , > XPointer >); > >extern int XCheckMaskEvent( > Display* , > long , > XEvent* >); > >extern int XCheckTypedEvent( > Display* , > int , > XEvent* >); > >extern int XCheckTypedWindowEvent( > Display* , > Window , > int , > XEvent* >); > >extern int XCheckWindowEvent( > Display* , > Window , > long , > XEvent* >); > >extern int XCirculateSubwindows( > Display* , > Window , > int >); > >extern int XCirculateSubwindowsDown( > Display* , > Window >); > >extern int XCirculateSubwindowsUp( > Display* , > Window >); > >extern int XClearArea( > Display* , > Window , > int , > int , > unsigned int , > unsigned int , > int >); > >extern int XClearWindow( > Display* , > Window >); > >extern int XCloseDisplay( > Display* >); > >extern int XConfigureWindow( > Display* , > Window , > unsigned int , > XWindowChanges* >); > >extern int XConnectionNumber( > Display* >); > >extern int XConvertSelection( > Display* , > Atom , > Atom , > Atom , > Window , > Time >); > >extern int XCopyArea( > Display* , > Drawable , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int , > int , > int >); > >extern int XCopyGC( > Display* , > GC , > unsigned long , > GC >); > >extern int XCopyPlane( > Display* , > Drawable , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int , > int , > int , > unsigned long >); > >extern int XDefaultDepth( > Display* , > int >); > >extern int XDefaultDepthOfScreen( > Screen* >); > >extern int XDefaultScreen( > Display* >); > >extern int XDefineCursor( > Display* , > Window , > Cursor >); > >extern int XDeleteProperty( > Display* , > Window , > Atom >); > >extern int XDestroyWindow( > Display* , > Window >); > >extern int XDestroySubwindows( > Display* , > Window >); > >extern int XDoesBackingStore( > Screen* >); > >extern int XDoesSaveUnders( > Screen* >); > >extern int XDisableAccessControl( > Display* >); > > >extern int XDisplayCells( > Display* , > int >); > >extern int XDisplayHeight( > Display* , > int >); > >extern int XDisplayHeightMM( > Display* , > int >); > >extern int XDisplayKeycodes( > Display* , > int* , > int* >); > >extern int XDisplayPlanes( > Display* , > int >); > >extern int XDisplayWidth( > Display* , > int >); > >extern int XDisplayWidthMM( > Display* , > int >); > >extern int XDrawArc( > Display* , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int , > int , > int >); > >extern int XDrawArcs( > Display* , > Drawable , > GC , > XArc* , > int >); > >extern int XDrawImageString( > Display* , > Drawable , > GC , > int , > int , > const char* , > int >); > >extern int XDrawImageString16( > Display* , > Drawable , > GC , > int , > int , > const XChar2b* , > int >); > >extern int XDrawLine( > Display* , > Drawable , > GC , > int , > int , > int , > int >); > >extern int XDrawLines( > Display* , > Drawable , > GC , > XPoint* , > int , > int >); > >extern int XDrawPoint( > Display* , > Drawable , > GC , > int , > int >); > >extern int XDrawPoints( > Display* , > Drawable , > GC , > XPoint* , > int , > int >); > >extern int XDrawRectangle( > Display* , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int >); > >extern int XDrawRectangles( > Display* , > Drawable , > GC , > XRectangle* , > int >); > >extern int XDrawSegments( > Display* , > Drawable , > GC , > XSegment* , > int >); > >extern int XDrawString( > Display* , > Drawable , > GC , > int , > int , > const char* , > int >); > >extern int XDrawString16( > Display* , > Drawable , > GC , > int , > int , > const XChar2b* , > int >); > >extern int XDrawText( > Display* , > Drawable , > GC , > int , > int , > XTextItem* , > int >); > >extern int XDrawText16( > Display* , > Drawable , > GC , > int , > int , > XTextItem16* , > int >); > >extern int XEnableAccessControl( > Display* >); > >extern int XEventsQueued( > Display* , > int >); > >extern int XFetchName( > Display* , > Window , > char** >); > >extern int XFillArc( > Display* , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int , > int , > int >); > >extern int XFillArcs( > Display* , > Drawable , > GC , > XArc* , > int >); > >extern int XFillPolygon( > Display* , > Drawable , > GC , > XPoint* , > int , > int , > int >); > >extern int XFillRectangle( > Display* , > Drawable , > GC , > int , > int , > unsigned int , > unsigned int >); > >extern int XFillRectangles( > Display* , > Drawable , > GC , > XRectangle* , > int >); > >extern int XFlush( > Display* >); > >extern int XForceScreenSaver( > Display* , > int >); > >extern int XFree( > void* >); > >extern int XFreeColormap( > Display* , > Colormap >); > >extern int XFreeColors( > Display* , > Colormap , > unsigned long* , > int , > unsigned long >); > >extern int XFreeCursor( > Display* , > Cursor >); > >extern int XFreeExtensionList( > char** >); > >extern int XFreeFont( > Display* , > XFontStruct* >); > >extern int XFreeFontInfo( > char** , > XFontStruct* , > int >); > >extern int XFreeFontNames( > char** >); > >extern int XFreeFontPath( > char** >); > >extern int XFreeGC( > Display* , > GC >); > >extern int XFreeModifiermap( > XModifierKeymap* >); > >extern int XFreePixmap( > Display* , > Pixmap >); > >extern int XGeometry( > Display* , > int , > const char* , > const char* , > unsigned int , > unsigned int , > unsigned int , > int , > int , > int* , > int* , > int* , > int* >); > >extern int XGetErrorDatabaseText( > Display* , > const char* , > const char* , > const char* , > char* , > int >); > >extern int XGetErrorText( > Display* , > int , > char* , > int >); > >extern int XGetFontProperty( > XFontStruct* , > Atom , > unsigned long* >); > >extern int XGetGCValues( > Display* , > GC , > unsigned long , > XGCValues* >); > >extern int XGetGeometry( > Display* , > Drawable , > Window* , > int* , > int* , > unsigned int* , > unsigned int* , > unsigned int* , > unsigned int* >); > >extern int XGetIconName( > Display* , > Window , > char** >); > >extern int XGetInputFocus( > Display* , > Window* , > int* >); > >extern int XGetKeyboardControl( > Display* , > XKeyboardState* >); > >extern int XGetPointerControl( > Display* , > int* , > int* , > int* >); > >extern int XGetPointerMapping( > Display* , > unsigned char* , > int >); > >extern int XGetScreenSaver( > Display* , > int* , > int* , > int* , > int* >); > >extern int XGetTransientForHint( > Display* , > Window , > Window* >); > >extern int XGetWindowProperty( > Display* , > Window , > Atom , > long , > long , > int , > Atom , > Atom* , > int* , > unsigned long* , > unsigned long* , > unsigned char** >); > >extern int XGetWindowAttributes( > Display* , > Window , > XWindowAttributes* >); > >extern int XGrabButton( > Display* , > unsigned int , > unsigned int , > Window , > int , > unsigned int , > int , > int , > Window , > Cursor >); > >extern int XGrabKey( > Display* , > int , > unsigned int , > Window , > int , > int , > int >); > >extern int XGrabKeyboard( > Display* , > Window , > int , > int , > int , > Time >); > >extern int XGrabPointer( > Display* , > Window , > int , > unsigned int , > int , > int , > Window , > Cursor , > Time >); > >extern int XGrabServer( > Display* >); > >extern int XHeightMMOfScreen( > Screen* >); > >extern int XHeightOfScreen( > Screen* >); > >extern int XIfEvent( > Display* , > XEvent* , > int (*) ( > Display* , > XEvent* , > XPointer > ) , > XPointer >); > >extern int XImageByteOrder( > Display* >); > >extern int XInstallColormap( > Display* , > Colormap >); > >extern KeyCode XKeysymToKeycode( > Display* , > KeySym >); > >extern int XKillClient( > Display* , > XID >); > >extern int XLookupColor( > Display* , > Colormap , > const char* , > XColor* , > XColor* >); > >extern int XLowerWindow( > Display* , > Window >); > >extern int XMapRaised( > Display* , > Window >); > >extern int XMapSubwindows( > Display* , > Window >); > >extern int XMapWindow( > Display* , > Window >); > >extern int XMaskEvent( > Display* , > long , > XEvent* >); > >extern int XMaxCmapsOfScreen( > Screen* >); > >extern int XMinCmapsOfScreen( > Screen* >); > >extern int XMoveResizeWindow( > Display* , > Window , > int , > int , > unsigned int , > unsigned int >); > >extern int XMoveWindow( > Display* , > Window , > int , > int >); > >extern int XNextEvent( > Display* , > XEvent* >); > >extern int XNoOp( > Display* >); > >extern int XParseColor( > Display* , > Colormap , > const char* , > XColor* >); > >extern int XParseGeometry( > const char* , > int* , > int* , > unsigned int* , > unsigned int* >); > >extern int XPeekEvent( > Display* , > XEvent* >); > >extern int XPeekIfEvent( > Display* , > XEvent* , > int (*) ( > Display* , > XEvent* , > XPointer > ) , > XPointer >); > >extern int XPending( > Display* >); > >extern int XPlanesOfScreen( > Screen* >); > >extern int XProtocolRevision( > Display* >); > >extern int XProtocolVersion( > Display* >); > > >extern int XPutBackEvent( > Display* , > XEvent* >); > >extern int XPutImage( > Display* , > Drawable , > GC , > XImage* , > int , > int , > int , > int , > unsigned int , > unsigned int >); > >extern int XQLength( > Display* >); > >extern int XQueryBestCursor( > Display* , > Drawable , > unsigned int , > unsigned int , > unsigned int* , > unsigned int* >); > >extern int XQueryBestSize( > Display* , > int , > Drawable , > unsigned int , > unsigned int , > unsigned int* , > unsigned int* >); > >extern int XQueryBestStipple( > Display* , > Drawable , > unsigned int , > unsigned int , > unsigned int* , > unsigned int* >); > >extern int XQueryBestTile( > Display* , > Drawable , > unsigned int , > unsigned int , > unsigned int* , > unsigned int* >); > >extern int XQueryColor( > Display* , > Colormap , > XColor* >); > >extern int XQueryColors( > Display* , > Colormap , > XColor* , > int >); > >extern int XQueryExtension( > Display* , > const char* , > int* , > int* , > int* >); > >extern int XQueryKeymap( > Display* , > char [32] >); > >extern int XQueryPointer( > Display* , > Window , > Window* , > Window* , > int* , > int* , > int* , > int* , > unsigned int* >); > >extern int XQueryTextExtents( > Display* , > XID , > const char* , > int , > int* , > int* , > int* , > XCharStruct* >); > >extern int XQueryTextExtents16( > Display* , > XID , > const XChar2b* , > int , > int* , > int* , > int* , > XCharStruct* >); > >extern int XQueryTree( > Display* , > Window , > Window* , > Window* , > Window** , > unsigned int* >); > >extern int XRaiseWindow( > Display* , > Window >); > >extern int XReadBitmapFile( > Display* , > Drawable , > const char* , > unsigned int* , > unsigned int* , > Pixmap* , > int* , > int* >); > >extern int XReadBitmapFileData( > const char* , > unsigned int* , > unsigned int* , > unsigned char** , > int* , > int* >); > >extern int XRebindKeysym( > Display* , > KeySym , > KeySym* , > int , > const unsigned char* , > int >); > >extern int XRecolorCursor( > Display* , > Cursor , > XColor* , > XColor* >); > >extern int XRefreshKeyboardMapping( > XMappingEvent* >); > >extern int XRemoveFromSaveSet( > Display* , > Window >); > >extern int XRemoveHost( > Display* , > XHostAddress* >); > >extern int XRemoveHosts( > Display* , > XHostAddress* , > int >); > >extern int XReparentWindow( > Display* , > Window , > Window , > int , > int >); > >extern int XResetScreenSaver( > Display* >); > >extern int XResizeWindow( > Display* , > Window , > unsigned int , > unsigned int >); > >extern int XRestackWindows( > Display* , > Window* , > int >); > >extern int XRotateBuffers( > Display* , > int >); > >extern int XRotateWindowProperties( > Display* , > Window , > Atom* , > int , > int >); > >extern int XScreenCount( > Display* >); > >extern int XSelectInput( > Display* , > Window , > long >); > >extern int XSendEvent( > Display* , > Window , > int , > long , > XEvent* >); > >extern int XSetAccessControl( > Display* , > int >); > >extern int XSetArcMode( > Display* , > GC , > int >); > >extern int XSetBackground( > Display* , > GC , > unsigned long >); > >extern int XSetClipMask( > Display* , > GC , > Pixmap >); > >extern int XSetClipOrigin( > Display* , > GC , > int , > int >); > >extern int XSetClipRectangles( > Display* , > GC , > int , > int , > XRectangle* , > int , > int >); > >extern int XSetCloseDownMode( > Display* , > int >); > >extern int XSetCommand( > Display* , > Window , > char** , > int >); > >extern int XSetDashes( > Display* , > GC , > int , > const char* , > int >); > >extern int XSetFillRule( > Display* , > GC , > int >); > >extern int XSetFillStyle( > Display* , > GC , > int >); > >extern int XSetFont( > Display* , > GC , > Font >); > >extern int XSetFontPath( > Display* , > char** , > int >); > >extern int XSetForeground( > Display* , > GC , > unsigned long >); > >extern int XSetFunction( > Display* , > GC , > int >); > >extern int XSetGraphicsExposures( > Display* , > GC , > int >); > >extern int XSetIconName( > Display* , > Window , > const char* >); > >extern int XSetInputFocus( > Display* , > Window , > int , > Time >); > >extern int XSetLineAttributes( > Display* , > GC , > unsigned int , > int , > int , > int >); > >extern int XSetModifierMapping( > Display* , > XModifierKeymap* >); > >extern int XSetPlaneMask( > Display* , > GC , > unsigned long >); > >extern int XSetPointerMapping( > Display* , > const unsigned char* , > int >); > >extern int XSetScreenSaver( > Display* , > int , > int , > int , > int >); > >extern int XSetSelectionOwner( > Display* , > Atom , > Window , > Time >); > >extern int XSetState( > Display* , > GC , > unsigned long , > unsigned long , > int , > unsigned long >); > >extern int XSetStipple( > Display* , > GC , > Pixmap >); > >extern int XSetSubwindowMode( > Display* , > GC , > int >); > >extern int XSetTSOrigin( > Display* , > GC , > int , > int >); > >extern int XSetTile( > Display* , > GC , > Pixmap >); > >extern int XSetWindowBackground( > Display* , > Window , > unsigned long >); > >extern int XSetWindowBackgroundPixmap( > Display* , > Window , > Pixmap >); > >extern int XSetWindowBorder( > Display* , > Window , > unsigned long >); > >extern int XSetWindowBorderPixmap( > Display* , > Window , > Pixmap >); > >extern int XSetWindowBorderWidth( > Display* , > Window , > unsigned int >); > >extern int XSetWindowColormap( > Display* , > Window , > Colormap >); > >extern int XStoreBuffer( > Display* , > const char* , > int , > int >); > >extern int XStoreBytes( > Display* , > const char* , > int >); > >extern int XStoreColor( > Display* , > Colormap , > XColor* >); > >extern int XStoreColors( > Display* , > Colormap , > XColor* , > int >); > >extern int XStoreName( > Display* , > Window , > const char* >); > >extern int XStoreNamedColor( > Display* , > Colormap , > const char* , > unsigned long , > int >); > >extern int XSync( > Display* , > int >); > >extern int XTextExtents( > XFontStruct* , > const char* , > int , > int* , > int* , > int* , > XCharStruct* >); > >extern int XTextExtents16( > XFontStruct* , > const XChar2b* , > int , > int* , > int* , > int* , > XCharStruct* >); > >extern int XTextWidth( > XFontStruct* , > const char* , > int >); > >extern int XTextWidth16( > XFontStruct* , > const XChar2b* , > int >); > >extern int XTranslateCoordinates( > Display* , > Window , > Window , > int , > int , > int* , > int* , > Window* >); > >extern int XUndefineCursor( > Display* , > Window >); > >extern int XUngrabButton( > Display* , > unsigned int , > unsigned int , > Window >); > >extern int XUngrabKey( > Display* , > int , > unsigned int , > Window >); > >extern int XUngrabKeyboard( > Display* , > Time >); > >extern int XUngrabPointer( > Display* , > Time >); > >extern int XUngrabServer( > Display* >); > >extern int XUninstallColormap( > Display* , > Colormap >); > >extern int XUnloadFont( > Display* , > Font >); > >extern int XUnmapSubwindows( > Display* , > Window >); > >extern int XUnmapWindow( > Display* , > Window >); > >extern int XVendorRelease( > Display* >); > >extern int XWarpPointer( > Display* , > Window , > Window , > int , > int , > unsigned int , > unsigned int , > int , > int >); > >extern int XWidthMMOfScreen( > Screen* >); > >extern int XWidthOfScreen( > Screen* >); > >extern int XWindowEvent( > Display* , > Window , > long , > XEvent* >); > >extern int XWriteBitmapFile( > Display* , > const char* , > Pixmap , > unsigned int , > unsigned int , > int , > int >); > >extern int XSupportsLocale (void); > >extern char *XSetLocaleModifiers( > const char* >); > >extern XOM XOpenOM( > Display* , > struct _XrmHashBucketRec* , > const char* , > const char* >); > >extern int XCloseOM( > XOM >); > >extern char *XSetOMValues( > XOM , > ... >) __attribute__ ((__sentinel__(0))); > >extern char *XGetOMValues( > XOM , > ... >) __attribute__ ((__sentinel__(0))); > >extern Display *XDisplayOfOM( > XOM >); > >extern char *XLocaleOfOM( > XOM >); > >extern XOC XCreateOC( > XOM , > ... >) __attribute__ ((__sentinel__(0))); > >extern void XDestroyOC( > XOC >); > >extern XOM XOMOfOC( > XOC >); > >extern char *XSetOCValues( > XOC , > ... >) __attribute__ ((__sentinel__(0))); > >extern char *XGetOCValues( > XOC , > ... >) __attribute__ ((__sentinel__(0))); > >extern XFontSet XCreateFontSet( > Display* , > const char* , > char*** , > int* , > char** >); > >extern void XFreeFontSet( > Display* , > XFontSet >); > >extern int XFontsOfFontSet( > XFontSet , > XFontStruct*** , > char*** >); > >extern char *XBaseFontNameListOfFontSet( > XFontSet >); > >extern char *XLocaleOfFontSet( > XFontSet >); > >extern int XContextDependentDrawing( > XFontSet >); > >extern int XDirectionalDependentDrawing( > XFontSet >); > >extern int XContextualDrawing( > XFontSet >); > >extern XFontSetExtents *XExtentsOfFontSet( > XFontSet >); > >extern int XmbTextEscapement( > XFontSet , > const char* , > int >); > >extern int XwcTextEscapement( > XFontSet , > const wchar_t* , > int >); > >extern int Xutf8TextEscapement( > XFontSet , > const char* , > int >); > >extern int XmbTextExtents( > XFontSet , > const char* , > int , > XRectangle* , > XRectangle* >); > >extern int XwcTextExtents( > XFontSet , > const wchar_t* , > int , > XRectangle* , > XRectangle* >); > >extern int Xutf8TextExtents( > XFontSet , > const char* , > int , > XRectangle* , > XRectangle* >); > >extern int XmbTextPerCharExtents( > XFontSet , > const char* , > int , > XRectangle* , > XRectangle* , > int , > int* , > XRectangle* , > XRectangle* >); > >extern int XwcTextPerCharExtents( > XFontSet , > const wchar_t* , > int , > XRectangle* , > XRectangle* , > int , > int* , > XRectangle* , > XRectangle* >); > >extern int Xutf8TextPerCharExtents( > XFontSet , > const char* , > int , > XRectangle* , > XRectangle* , > int , > int* , > XRectangle* , > XRectangle* >); > >extern void XmbDrawText( > Display* , > Drawable , > GC , > int , > int , > XmbTextItem* , > int >); > >extern void XwcDrawText( > Display* , > Drawable , > GC , > int , > int , > XwcTextItem* , > int >); > >extern void Xutf8DrawText( > Display* , > Drawable , > GC , > int , > int , > XmbTextItem* , > int >); > >extern void XmbDrawString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const char* , > int >); > >extern void XwcDrawString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const wchar_t* , > int >); > >extern void Xutf8DrawString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const char* , > int >); > >extern void XmbDrawImageString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const char* , > int >); > >extern void XwcDrawImageString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const wchar_t* , > int >); > >extern void Xutf8DrawImageString( > Display* , > Drawable , > XFontSet , > GC , > int , > int , > const char* , > int >); > >extern XIM XOpenIM( > Display* , > struct _XrmHashBucketRec* , > char* , > char* >); > >extern int XCloseIM( > XIM >); > >extern char *XGetIMValues( > XIM , ... >) __attribute__ ((__sentinel__(0))); > >extern char *XSetIMValues( > XIM , ... >) __attribute__ ((__sentinel__(0))); > >extern Display *XDisplayOfIM( > XIM >); > >extern char *XLocaleOfIM( > XIM >); > >extern XIC XCreateIC( > XIM , ... >) __attribute__ ((__sentinel__(0))); > >extern void XDestroyIC( > XIC >); > >extern void XSetICFocus( > XIC >); > >extern void XUnsetICFocus( > XIC >); > >extern wchar_t *XwcResetIC( > XIC >); > >extern char *XmbResetIC( > XIC >); > >extern char *Xutf8ResetIC( > XIC >); > >extern char *XSetICValues( > XIC , ... >) __attribute__ ((__sentinel__(0))); > >extern char *XGetICValues( > XIC , ... >) __attribute__ ((__sentinel__(0))); > >extern XIM XIMOfIC( > XIC >); > >extern int XFilterEvent( > XEvent* , > Window >); > >extern int XmbLookupString( > XIC , > XKeyPressedEvent* , > char* , > int , > KeySym* , > int* >); > >extern int XwcLookupString( > XIC , > XKeyPressedEvent* , > wchar_t* , > int , > KeySym* , > int* >); > >extern int Xutf8LookupString( > XIC , > XKeyPressedEvent* , > char* , > int , > KeySym* , > int* >); > >extern XVaNestedList XVaCreateNestedList( > int , ... >) __attribute__ ((__sentinel__(0))); > > > >extern int XRegisterIMInstantiateCallback( > Display* , > struct _XrmHashBucketRec* , > char* , > char* , > XIDProc , > XPointer >); > >extern int XUnregisterIMInstantiateCallback( > Display* , > struct _XrmHashBucketRec* , > char* , > char* , > XIDProc , > XPointer >); > >typedef void (*XConnectionWatchProc)( > Display* , > XPointer , > int , > int , > XPointer* >); > > >extern int XInternalConnectionNumbers( > Display* , > int** , > int* >); > >extern void XProcessInternalConnection( > Display* , > int >); > >extern int XAddConnectionWatch( > Display* , > XConnectionWatchProc , > XPointer >); > >extern void XRemoveConnectionWatch( > Display* , > XConnectionWatchProc , > XPointer >); > >extern void XSetAuthorization( > char * , > int , > char * , > int >); > >extern int _Xmbtowc( > wchar_t * , > > > > > char * , > int > >); > >extern int _Xwctomb( > char * , > wchar_t >); > > ># 44 "../include/X11/Xlibint.h" 2 ># 1 "/usr/include/X11/Xproto.h" 1 3 4 ># 76 "/usr/include/X11/Xproto.h" 3 4 ># 1 "/usr/include/X11/Xmd.h" 1 3 4 ># 134 "/usr/include/X11/Xmd.h" 3 4 >typedef long INT64; >typedef int INT32; > > > >typedef short INT16; > > > >typedef signed char INT8; > > > > > >typedef unsigned long CARD64; >typedef unsigned int CARD32; > > > > > > >typedef unsigned short CARD16; >typedef unsigned char CARD8; > >typedef CARD32 BITS32; >typedef CARD16 BITS16; > > >typedef CARD8 BYTE; >typedef CARD8 BOOL; ># 77 "/usr/include/X11/Xproto.h" 2 3 4 ># 1 "/usr/include/X11/Xprotostr.h" 1 3 4 ># 55 "/usr/include/X11/Xprotostr.h" 3 4 >typedef struct _xSegment { > INT16 x1 , y1 , x2 , y2 ; >} xSegment; > > > >typedef struct _xPoint { > INT16 x , y ; >} xPoint; > >typedef struct _xRectangle { > INT16 x , y ; > CARD16 width , height ; >} xRectangle; > > > >typedef struct _xArc { > INT16 x , y ; > CARD16 width , height ; > INT16 angle1 , angle2 ; >} xArc; ># 78 "/usr/include/X11/Xproto.h" 2 3 4 ># 263 "/usr/include/X11/Xproto.h" 3 4 >typedef CARD16 KeyButMask; > > > > > > >typedef struct { > CARD8 byteOrder; > BYTE pad; > CARD16 majorVersion , minorVersion ; > CARD16 nbytesAuthProto ; > CARD16 nbytesAuthString ; > CARD16 pad2 ; >} xConnClientPrefix; > >typedef struct { > CARD8 success; > BYTE lengthReason; > CARD16 majorVersion , > minorVersion ; > CARD16 length ; >} xConnSetupPrefix; > > >typedef struct { > CARD32 release ; > CARD32 ridBase , > ridMask ; > CARD32 motionBufferSize ; > CARD16 nbytesVendor ; > CARD16 maxRequestSize ; > CARD8 numRoots; > CARD8 numFormats; > CARD8 imageByteOrder; > CARD8 bitmapBitOrder; > CARD8 bitmapScanlineUnit, > bitmapScanlinePad; > CARD8 minKeyCode, maxKeyCode; > CARD32 pad2 ; >} xConnSetup; > >typedef struct { > CARD8 depth; > CARD8 bitsPerPixel; > CARD8 scanLinePad; > CARD8 pad1; > CARD32 pad2 ; >} xPixmapFormat; > > > >typedef struct { > CARD8 depth; > CARD8 pad1; > CARD16 nVisuals ; > CARD32 pad2 ; > } xDepth; > >typedef struct { > CARD32 visualID ; > > > > CARD8 class; > > CARD8 bitsPerRGB; > CARD16 colormapEntries ; > CARD32 redMask , greenMask , blueMask ; > CARD32 pad ; > } xVisualType; > >typedef struct { > CARD32 windowId ; > CARD32 defaultColormap ; > CARD32 whitePixel , blackPixel ; > CARD32 currentInputMask ; > CARD16 pixWidth , pixHeight ; > CARD16 mmWidth , mmHeight ; > CARD16 minInstalledMaps , maxInstalledMaps ; > CARD32 rootVisualID ; > CARD8 backingStore; > BOOL saveUnders; > CARD8 rootDepth; > CARD8 nDepths; >} xWindowRoot; ># 358 "/usr/include/X11/Xproto.h" 3 4 >typedef struct { > CARD32 time ; > INT16 x , y ; >} xTimecoord; > >typedef struct { > CARD8 family; > BYTE pad; > CARD16 length ; >} xHostEntry; > >typedef struct { > INT16 leftSideBearing , > rightSideBearing , > characterWidth , > ascent , > descent ; > CARD16 attributes ; >} xCharInfo; > >typedef struct { > CARD32 name ; > CARD32 value ; >} xFontProp; > > > > >typedef struct { > CARD8 len; > > INT8 delta; >} xTextElt; > > >typedef struct { > CARD32 pixel ; > CARD16 red , green , blue ; > CARD8 flags; > CARD8 pad; >} xColorItem; > > >typedef struct { > CARD16 red , green , blue , pad ; >} xrgb; > >typedef CARD8 KEYCODE; ># 416 "/usr/include/X11/Xproto.h" 3 4 >typedef struct { > BYTE type; > BYTE data1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 data00 ; > CARD32 data01 ; > CARD32 data02 ; > CARD32 data03 ; > CARD32 data04 ; > CARD32 data05 ; > } xGenericReply; > > > >typedef struct { > BYTE type; > CARD8 backingStore; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 visualID ; > > > > CARD16 class ; > > CARD8 bitGravity; > CARD8 winGravity; > CARD32 backingBitPlanes ; > CARD32 backingPixel ; > BOOL saveUnder; > BOOL mapInstalled; > CARD8 mapState; > BOOL override; > CARD32 colormap ; > CARD32 allEventMasks ; > CARD32 yourEventMask ; > CARD16 doNotPropagateMask ; > CARD16 pad ; > } xGetWindowAttributesReply; > >typedef struct { > BYTE type; > CARD8 depth; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 root ; > INT16 x , y ; > CARD16 width , height ; > CARD16 borderWidth ; > CARD16 pad1 ; > CARD32 pad2 ; > CARD32 pad3 ; > } xGetGeometryReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 root , parent ; > CARD16 nChildren ; > CARD16 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > } xQueryTreeReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 atom ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > } xInternAtomReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 nameLength ; > CARD16 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xGetAtomNameReply; > >typedef struct { > BYTE type; > CARD8 format; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 propertyType ; > CARD32 bytesAfter ; > CARD32 nItems ; > CARD32 pad1 ; > CARD32 pad2 ; > CARD32 pad3 ; > } xGetPropertyReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 nProperties ; > CARD16 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xListPropertiesReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 owner ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > } xGetSelectionOwnerReply; > >typedef struct { > BYTE type; > BYTE status; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 pad1 ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > } xGrabPointerReply; > >typedef xGrabPointerReply xGrabKeyboardReply; > >typedef struct { > BYTE type; > BOOL sameScreen; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 root , child ; > INT16 rootX , rootY , winX , winY ; > CARD16 mask ; > CARD16 pad1 ; > CARD32 pad ; > } xQueryPointerReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 nEvents ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > } xGetMotionEventsReply; > >typedef struct { > BYTE type; > BOOL sameScreen; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 child ; > INT16 dstX , dstY ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > } xTranslateCoordsReply; > >typedef struct { > BYTE type; > CARD8 revertTo; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 focus ; > CARD32 pad1 ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > } xGetInputFocusReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > BYTE map[32]; > } xQueryKeymapReply; > > >typedef struct _xQueryFontReply { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > xCharInfo minBounds; > > CARD32 walign1 ; > > xCharInfo maxBounds; > > CARD32 walign2 ; > > CARD16 minCharOrByte2 , maxCharOrByte2 ; > CARD16 defaultChar ; > CARD16 nFontProps ; > CARD8 drawDirection; > CARD8 minByte1, maxByte1; > BOOL allCharsExist; > INT16 fontAscent , fontDescent ; > CARD32 nCharInfos ; >} xQueryFontReply; > >typedef struct { > BYTE type; > CARD8 drawDirection; > CARD16 sequenceNumber ; > CARD32 length ; > INT16 fontAscent , fontDescent ; > INT16 overallAscent , overallDescent ; > INT32 overallWidth , overallLeft , overallRight ; > CARD32 pad ; > } xQueryTextExtentsReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 nFonts ; > CARD16 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xListFontsReply; > > >typedef struct { > BYTE type; > CARD8 nameLength; > CARD16 sequenceNumber ; > CARD32 length ; > xCharInfo minBounds; > > CARD32 walign1 ; > > xCharInfo maxBounds; > > CARD32 walign2 ; > > CARD16 minCharOrByte2 , maxCharOrByte2 ; > CARD16 defaultChar ; > CARD16 nFontProps ; > CARD8 drawDirection; > CARD8 minByte1, maxByte1; > BOOL allCharsExist; > INT16 fontAscent , fontDescent ; > CARD32 nReplies ; >} xListFontsWithInfoReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 nPaths ; > CARD16 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xGetFontPathReply; > >typedef struct { > BYTE type; > CARD8 depth; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 visual ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xGetImageReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 nColormaps ; > CARD16 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xListInstalledColormapsReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 red , green , blue ; > CARD16 pad2 ; > CARD32 pixel ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > } xAllocColorReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 pixel ; > CARD16 exactRed , exactGreen , exactBlue ; > CARD16 screenRed , screenGreen , screenBlue ; > CARD32 pad2 ; > CARD32 pad3 ; > } xAllocNamedColorReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 nPixels , nMasks ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xAllocColorCellsReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 nPixels ; > CARD16 pad2 ; > CARD32 redMask , greenMask , blueMask ; > CARD32 pad3 ; > CARD32 pad4 ; > } xAllocColorPlanesReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 nColors ; > CARD16 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xQueryColorsReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 exactRed , exactGreen , exactBlue ; > CARD16 screenRed , screenGreen , screenBlue ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > } xLookupColorReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 width , height ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xQueryBestSizeReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > BOOL present; > CARD8 major_opcode; > CARD8 first_event; > CARD8 first_error; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xQueryExtensionReply; > >typedef struct { > BYTE type; > CARD8 nExtensions; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xListExtensionsReply; > > >typedef struct { > BYTE type; > CARD8 success; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xSetMappingReply; >typedef xSetMappingReply xSetPointerMappingReply; >typedef xSetMappingReply xSetModifierMappingReply; > >typedef struct { > BYTE type; > CARD8 nElts; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xGetPointerMappingReply; > >typedef struct { > BYTE type; > CARD8 keySymsPerKeyCode; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; >} xGetKeyboardMappingReply; > >typedef struct { > BYTE type; > CARD8 numKeyPerModifier; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 pad1 ; > CARD32 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; >} xGetModifierMappingReply; > >typedef struct { > BYTE type; > BOOL globalAutoRepeat; > CARD16 sequenceNumber ; > CARD32 length ; > CARD32 ledMask ; > CARD8 keyClickPercent, bellPercent; > CARD16 bellPitch , bellDuration ; > CARD16 pad ; > BYTE map[32]; > } xGetKeyboardControlReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 accelNumerator , accelDenominator ; > CARD16 threshold ; > CARD16 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > } xGetPointerControlReply; > >typedef struct { > BYTE type; > BYTE pad1; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 timeout , interval ; > BOOL preferBlanking; > BOOL allowExposures; > CARD16 pad2 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > } xGetScreenSaverReply; > >typedef struct { > BYTE type; > BOOL enabled; > CARD16 sequenceNumber ; > CARD32 length ; > CARD16 nHosts ; > CARD16 pad1 ; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; > } xListHostsReply; ># 975 "/usr/include/X11/Xproto.h" 3 4 >typedef struct { > BYTE type; > BYTE errorCode; > CARD16 sequenceNumber ; > CARD32 resourceID ; > CARD16 minorCode ; > CARD8 majorCode; > BYTE pad1; > CARD32 pad3 ; > CARD32 pad4 ; > CARD32 pad5 ; > CARD32 pad6 ; > CARD32 pad7 ; >} xError; > > > > > > >typedef struct _xEvent { > union { > struct { > BYTE type; > BYTE detail; > CARD16 sequenceNumber ; > } u; > struct { > CARD32 pad00 ; > CARD32 time ; > CARD32 root , event , child ; > INT16 rootX , rootY , eventX , eventY ; > KeyButMask state ; > BOOL sameScreen; > BYTE pad1; > } keyButtonPointer; > struct { > CARD32 pad00 ; > CARD32 time ; > CARD32 root , event , child ; > INT16 rootX , rootY , eventX , eventY ; > KeyButMask state ; > BYTE mode; > BYTE flags; > > > } enterLeave; > struct { > CARD32 pad00 ; > CARD32 window ; > BYTE mode; > BYTE pad1, pad2, pad3; > } focus; > struct { > CARD32 pad00 ; > CARD32 window ; > CARD16 x , y , width , height ; > CARD16 count ; > CARD16 pad2 ; > } expose; > struct { > CARD32 pad00 ; > CARD32 drawable ; > CARD16 x , y , width , height ; > CARD16 minorEvent ; > CARD16 count ; > BYTE majorEvent; > BYTE pad1, pad2, pad3; > } graphicsExposure; > struct { > CARD32 pad00 ; > CARD32 drawable ; > CARD16 minorEvent ; > BYTE majorEvent; > BYTE bpad; > } noExposure; > struct { > CARD32 pad00 ; > CARD32 window ; > CARD8 state; > BYTE pad1, pad2, pad3; > } visibility; > struct { > CARD32 pad00 ; > CARD32 parent , window ; > INT16 x , y ; > CARD16 width , height , borderWidth ; > BOOL override; > BYTE bpad; > } createNotify; ># 1073 "/usr/include/X11/Xproto.h" 3 4 > struct { > CARD32 pad00 ; > CARD32 event , window ; > } destroyNotify; > struct { > CARD32 pad00 ; > CARD32 event , window ; > BOOL fromConfigure; > BYTE pad1, pad2, pad3; > } unmapNotify; > struct { > CARD32 pad00 ; > CARD32 event , window ; > BOOL override; > BYTE pad1, pad2, pad3; > } mapNotify; > struct { > CARD32 pad00 ; > CARD32 parent , window ; > } mapRequest; > struct { > CARD32 pad00 ; > CARD32 event , window , parent ; > INT16 x , y ; > BOOL override; > BYTE pad1, pad2, pad3; > } reparent; > struct { > CARD32 pad00 ; > CARD32 event , window , aboveSibling ; > INT16 x , y ; > CARD16 width , height , borderWidth ; > BOOL override; > BYTE bpad; > } configureNotify; > struct { > CARD32 pad00 ; > CARD32 parent , window , sibling ; > INT16 x , y ; > CARD16 width , height , borderWidth ; > CARD16 valueMask ; > CARD32 pad1 ; > } configureRequest; > struct { > CARD32 pad00 ; > CARD32 event , window ; > INT16 x , y ; > CARD32 pad1 , pad2 , pad3 , pad4 ; > } gravity; > struct { > CARD32 pad00 ; > CARD32 window ; > CARD16 width , height ; > } resizeRequest; > struct { > > > CARD32 pad00 ; > CARD32 event , window , parent ; > BYTE place; > BYTE pad1, pad2, pad3; > } circulate; > struct { > CARD32 pad00 ; > CARD32 window ; > CARD32 atom ; > CARD32 time ; > BYTE state; > BYTE pad1; > CARD16 pad2 ; > } property; > struct { > CARD32 pad00 ; > CARD32 time ; > CARD32 window ; > CARD32 atom ; > } selectionClear; > struct { > CARD32 pad00 ; > CARD32 time ; > CARD32 owner , requestor ; > CARD32 selection , target , property ; > } selectionRequest; > struct { > CARD32 pad00 ; > CARD32 time ; > CARD32 requestor ; > CARD32 selection , target , property ; > } selectionNotify; > struct { > CARD32 pad00 ; > CARD32 window ; > CARD32 colormap ; > > > > BOOL new; > > BYTE state; > BYTE pad1, pad2; > } colormap; > struct { > CARD32 pad00 ; > CARD8 request; > CARD8 firstKeyCode; > CARD8 count; > BYTE pad1; > } mappingNotify; > struct { > CARD32 pad00 ; > CARD32 window ; > union { > struct { > CARD32 type ; > INT32 longs0 ; > INT32 longs1 ; > INT32 longs2 ; > INT32 longs3 ; > INT32 longs4 ; > } l; > struct { > CARD32 type ; > INT16 shorts0 ; > INT16 shorts1 ; > INT16 shorts2 ; > INT16 shorts3 ; > INT16 shorts4 ; > INT16 shorts5 ; > INT16 shorts6 ; > INT16 shorts7 ; > INT16 shorts8 ; > INT16 shorts9 ; > } s; > struct { > CARD32 type ; > INT8 bytes[20]; > } b; > } u; > } clientMessage; > } u; >} xEvent; > > > > > >typedef struct { > BYTE type; > BYTE map[31]; > } xKeymapEvent; ># 1231 "/usr/include/X11/Xproto.h" 3 4 >typedef union { > xGenericReply generic; > xGetGeometryReply geom; > xQueryTreeReply tree; > xInternAtomReply atom; > xGetAtomNameReply atomName; > xGetPropertyReply property; > xListPropertiesReply listProperties; > xGetSelectionOwnerReply selection; > xGrabPointerReply grabPointer; > xGrabKeyboardReply grabKeyboard; > xQueryPointerReply pointer; > xGetMotionEventsReply motionEvents; > xTranslateCoordsReply coords; > xGetInputFocusReply inputFocus; > xQueryTextExtentsReply textExtents; > xListFontsReply fonts; > xGetFontPathReply fontPath; > xGetImageReply image; > xListInstalledColormapsReply colormaps; > xAllocColorReply allocColor; > xAllocNamedColorReply allocNamedColor; > xAllocColorCellsReply colorCells; > xAllocColorPlanesReply colorPlanes; > xQueryColorsReply colors; > xLookupColorReply lookupColor; > xQueryBestSizeReply bestSize; > xQueryExtensionReply extension; > xListExtensionsReply extensions; > xSetModifierMappingReply setModifierMapping; > xGetModifierMappingReply getModifierMapping; > xSetPointerMappingReply setPointerMapping; > xGetKeyboardMappingReply getKeyboardMapping; > xGetPointerMappingReply getPointerMapping; > xGetPointerControlReply pointerControl; > xGetScreenSaverReply screenSaver; > xListHostsReply hosts; > xError error; > xEvent event; >} xReply; ># 1281 "/usr/include/X11/Xproto.h" 3 4 >typedef struct _xReq { > CARD8 reqType; > CARD8 data; > CARD16 length ; > >} xReq; ># 1295 "/usr/include/X11/Xproto.h" 3 4 >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 id ; > } xResourceReq; > >typedef struct { > CARD8 reqType; > CARD8 depth; > CARD16 length ; > CARD32 wid , parent ; > INT16 x , y ; > CARD16 width , height , borderWidth ; > > > > CARD16 class ; > > CARD32 visual ; > CARD32 mask ; >} xCreateWindowReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 window ; > CARD32 valueMask ; >} xChangeWindowAttributesReq; > >typedef struct { > CARD8 reqType; > BYTE mode; > CARD16 length ; > CARD32 window ; >} xChangeSaveSetReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 window , parent ; > INT16 x , y ; >} xReparentWindowReq; > >typedef struct { > CARD8 reqType; > CARD8 pad; > CARD16 length ; > CARD32 window ; > CARD16 mask ; > CARD16 pad2 ; >} xConfigureWindowReq; > >typedef struct { > CARD8 reqType; > CARD8 direction; > CARD16 length ; > CARD32 window ; >} xCirculateWindowReq; > >typedef struct { > CARD8 reqType; > BOOL onlyIfExists; > CARD16 length ; > CARD16 nbytes ; > CARD16 pad ; >} xInternAtomReq; > >typedef struct { > CARD8 reqType; > CARD8 mode; > CARD16 length ; > CARD32 window ; > CARD32 property , type ; > CARD8 format; > BYTE pad[3]; > CARD32 nUnits ; >} xChangePropertyReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 window ; > CARD32 property ; >} xDeletePropertyReq; > >typedef struct { > CARD8 reqType; > > > > BOOL delete; > > CARD16 length ; > CARD32 window ; > CARD32 property , type ; > CARD32 longOffset ; > CARD32 longLength ; >} xGetPropertyReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 window ; > CARD32 selection ; > CARD32 time ; >} xSetSelectionOwnerReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 requestor ; > CARD32 selection , target , property ; > CARD32 time ; > } xConvertSelectionReq; > >typedef struct { > CARD8 reqType; > BOOL propagate; > CARD16 length ; > CARD32 destination ; > CARD32 eventMask ; > > > > > xEvent event; > >} xSendEventReq; > >typedef struct { > CARD8 reqType; > BOOL ownerEvents; > CARD16 length ; > CARD32 grabWindow ; > CARD16 eventMask ; > BYTE pointerMode, keyboardMode; > CARD32 confineTo ; > CARD32 cursor ; > CARD32 time ; >} xGrabPointerReq; > >typedef struct { > CARD8 reqType; > BOOL ownerEvents; > CARD16 length ; > CARD32 grabWindow ; > CARD16 eventMask ; > BYTE pointerMode, keyboardMode; > CARD32 confineTo ; > CARD32 cursor ; > CARD8 button; > BYTE pad; > CARD16 modifiers ; >} xGrabButtonReq; > >typedef struct { > CARD8 reqType; > CARD8 button; > CARD16 length ; > CARD32 grabWindow ; > CARD16 modifiers ; > CARD16 pad ; >} xUngrabButtonReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 cursor ; > CARD32 time ; > CARD16 eventMask ; > CARD16 pad2 ; >} xChangeActivePointerGrabReq; > >typedef struct { > CARD8 reqType; > BOOL ownerEvents; > CARD16 length ; > CARD32 grabWindow ; > CARD32 time ; > BYTE pointerMode, keyboardMode; > CARD16 pad ; >} xGrabKeyboardReq; > >typedef struct { > CARD8 reqType; > BOOL ownerEvents; > CARD16 length ; > CARD32 grabWindow ; > CARD16 modifiers ; > CARD8 key; > BYTE pointerMode, keyboardMode; > BYTE pad1, pad2, pad3; >} xGrabKeyReq; > >typedef struct { > CARD8 reqType; > CARD8 key; > CARD16 length ; > CARD32 grabWindow ; > CARD16 modifiers ; > CARD16 pad ; >} xUngrabKeyReq; > >typedef struct { > CARD8 reqType; > CARD8 mode; > CARD16 length ; > CARD32 time ; >} xAllowEventsReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 window ; > CARD32 start , stop ; >} xGetMotionEventsReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 srcWid , dstWid ; > INT16 srcX , srcY ; >} xTranslateCoordsReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 srcWid , dstWid ; > INT16 srcX , srcY ; > CARD16 srcWidth , srcHeight ; > INT16 dstX , dstY ; >} xWarpPointerReq; > >typedef struct { > CARD8 reqType; > CARD8 revertTo; > CARD16 length ; > CARD32 focus ; > CARD32 time ; >} xSetInputFocusReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 fid ; > CARD16 nbytes ; > BYTE pad1, pad2; >} xOpenFontReq; > >typedef struct { > CARD8 reqType; > BOOL oddLength; > CARD16 length ; > CARD32 fid ; > } xQueryTextExtentsReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD16 maxNames ; > CARD16 nbytes ; >} xListFontsReq; > >typedef xListFontsReq xListFontsWithInfoReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD16 nFonts ; > BYTE pad1, pad2; >} xSetFontPathReq; > >typedef struct { > CARD8 reqType; > CARD8 depth; > CARD16 length ; > CARD32 pid ; > CARD32 drawable ; > CARD16 width , height ; >} xCreatePixmapReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 gc ; > CARD32 drawable ; > CARD32 mask ; >} xCreateGCReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 gc ; > CARD32 mask ; >} xChangeGCReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 srcGC , dstGC ; > CARD32 mask ; >} xCopyGCReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 gc ; > CARD16 dashOffset ; > CARD16 nDashes ; >} xSetDashesReq; > >typedef struct { > CARD8 reqType; > BYTE ordering; > CARD16 length ; > CARD32 gc ; > INT16 xOrigin , yOrigin ; >} xSetClipRectanglesReq; > >typedef struct { > CARD8 reqType; > BOOL exposures; > CARD16 length ; > CARD32 window ; > INT16 x , y ; > CARD16 width , height ; >} xClearAreaReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 srcDrawable , dstDrawable ; > CARD32 gc ; > INT16 srcX , srcY , dstX , dstY ; > CARD16 width , height ; >} xCopyAreaReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 srcDrawable , dstDrawable ; > CARD32 gc ; > INT16 srcX , srcY , dstX , dstY ; > CARD16 width , height ; > CARD32 bitPlane ; >} xCopyPlaneReq; > >typedef struct { > CARD8 reqType; > BYTE coordMode; > CARD16 length ; > CARD32 drawable ; > CARD32 gc ; >} xPolyPointReq; > >typedef xPolyPointReq xPolyLineReq; > > > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 drawable ; > CARD32 gc ; >} xPolySegmentReq; > >typedef xPolySegmentReq xPolyArcReq; >typedef xPolySegmentReq xPolyRectangleReq; >typedef xPolySegmentReq xPolyFillRectangleReq; >typedef xPolySegmentReq xPolyFillArcReq; > >typedef struct _FillPolyReq { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 drawable ; > CARD32 gc ; > BYTE shape; > BYTE coordMode; > CARD16 pad1 ; >} xFillPolyReq; > > >typedef struct _PutImageReq { > CARD8 reqType; > CARD8 format; > CARD16 length ; > CARD32 drawable ; > CARD32 gc ; > CARD16 width , height ; > INT16 dstX , dstY ; > CARD8 leftPad; > CARD8 depth; > CARD16 pad ; >} xPutImageReq; > >typedef struct { > CARD8 reqType; > CARD8 format; > CARD16 length ; > CARD32 drawable ; > INT16 x , y ; > CARD16 width , height ; > CARD32 planeMask ; >} xGetImageReq; > > > >typedef struct { > CARD8 reqType; > CARD8 pad; > CARD16 length ; > CARD32 drawable ; > CARD32 gc ; > INT16 x , y ; >} xPolyTextReq; > >typedef xPolyTextReq xPolyText8Req; >typedef xPolyTextReq xPolyText16Req; > >typedef struct { > CARD8 reqType; > BYTE nChars; > CARD16 length ; > CARD32 drawable ; > CARD32 gc ; > INT16 x , y ; >} xImageTextReq; > >typedef xImageTextReq xImageText8Req; >typedef xImageTextReq xImageText16Req; > >typedef struct { > CARD8 reqType; > BYTE alloc; > CARD16 length ; > CARD32 mid ; > CARD32 window ; > CARD32 visual ; >} xCreateColormapReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 mid ; > CARD32 srcCmap ; >} xCopyColormapAndFreeReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 cmap ; > CARD16 red , green , blue ; > CARD16 pad2 ; >} xAllocColorReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 cmap ; > CARD16 nbytes ; > BYTE pad1, pad2; >} xAllocNamedColorReq; > >typedef struct { > CARD8 reqType; > BOOL contiguous; > CARD16 length ; > CARD32 cmap ; > CARD16 colors , planes ; >} xAllocColorCellsReq; > >typedef struct { > CARD8 reqType; > BOOL contiguous; > CARD16 length ; > CARD32 cmap ; > CARD16 colors , red , green , blue ; >} xAllocColorPlanesReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 cmap ; > CARD32 planeMask ; >} xFreeColorsReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 cmap ; >} xStoreColorsReq; > >typedef struct { > CARD8 reqType; > CARD8 flags; > CARD16 length ; > CARD32 cmap ; > CARD32 pixel ; > CARD16 nbytes ; > BYTE pad1, pad2; > } xStoreNamedColorReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 cmap ; >} xQueryColorsReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 cmap ; > CARD16 nbytes ; > BYTE pad1, pad2; >} xLookupColorReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 cid ; > CARD32 source , mask ; > CARD16 foreRed , foreGreen , foreBlue ; > CARD16 backRed , backGreen , backBlue ; > CARD16 x , y ; >} xCreateCursorReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 cid ; > CARD32 source , mask ; > CARD16 sourceChar , maskChar ; > CARD16 foreRed , foreGreen , foreBlue ; > CARD16 backRed , backGreen , backBlue ; >} xCreateGlyphCursorReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 cursor ; > CARD16 foreRed , foreGreen , foreBlue ; > CARD16 backRed , backGreen , backBlue ; >} xRecolorCursorReq; > >typedef struct { > CARD8 reqType; > > > > CARD8 class; > > CARD16 length ; > CARD32 drawable ; > CARD16 width , height ; >} xQueryBestSizeReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD16 nbytes ; > BYTE pad1, pad2; >} xQueryExtensionReq; > >typedef struct { > CARD8 reqType; > CARD8 numKeyPerModifier; > CARD16 length ; >} xSetModifierMappingReq; > >typedef struct { > CARD8 reqType; > CARD8 nElts; > CARD16 length ; >} xSetPointerMappingReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD8 firstKeyCode; > CARD8 count; > CARD16 pad1 ; >} xGetKeyboardMappingReq; > >typedef struct { > CARD8 reqType; > CARD8 keyCodes; > CARD16 length ; > CARD8 firstKeyCode; > CARD8 keySymsPerKeyCode; > CARD16 pad1 ; >} xChangeKeyboardMappingReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 mask ; >} xChangeKeyboardControlReq; > >typedef struct { > CARD8 reqType; > INT8 percent; > CARD16 length ; >} xBellReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > INT16 accelNum , accelDenum ; > INT16 threshold ; > BOOL doAccel, doThresh; >} xChangePointerControlReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > INT16 timeout , interval ; > BYTE preferBlank, allowExpose; > CARD16 pad2 ; >} xSetScreenSaverReq; > >typedef struct { > CARD8 reqType; > BYTE mode; > CARD16 length ; > CARD8 hostFamily; > BYTE pad; > CARD16 hostLength ; >} xChangeHostsReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > } xListHostsReq; > >typedef struct { > CARD8 reqType; > BYTE mode; > CARD16 length ; > } xChangeModeReq; > >typedef xChangeModeReq xSetAccessControlReq; >typedef xChangeModeReq xSetCloseDownModeReq; >typedef xChangeModeReq xForceScreenSaverReq; > >typedef struct { > CARD8 reqType; > BYTE pad; > CARD16 length ; > CARD32 window ; > CARD16 nAtoms ; > INT16 nPositions ; > } xRotatePropertiesReq; ># 45 "../include/X11/Xlibint.h" 2 ># 1 "../include/X11/XlibConf.h" 1 ># 46 "../include/X11/Xlibint.h" 2 ># 59 "../include/X11/Xlibint.h" >struct _XGC >{ > XExtData *ext_data; > GContext gid; > int rects; > int dashes; > unsigned long dirty; > XGCValues values; >}; > >struct _XDisplay >{ > XExtData *ext_data; > struct _XFreeFuncs *free_funcs; > int fd; > int conn_checker; > int proto_major_version; > int proto_minor_version; > char *vendor; > XID resource_base; > XID resource_mask; > XID resource_id; > int resource_shift; > XID (*resource_alloc)( > struct _XDisplay* > ); > int byte_order; > int bitmap_unit; > int bitmap_pad; > int bitmap_bit_order; > int nformats; > ScreenFormat *pixmap_format; > int vnumber; > int release; > struct _XSQEvent *head, *tail; > int qlen; > unsigned long last_request_read; > unsigned long request; > char *last_req; > char *buffer; > char *bufptr; > char *bufmax; > unsigned max_request_size; > struct _XrmHashBucketRec *db; > int (*synchandler)( > struct _XDisplay* > ); > char *display_name; > int default_screen; > int nscreens; > Screen *screens; > unsigned long motion_buffer; > unsigned long flags; > int min_keycode; > int max_keycode; > KeySym *keysyms; > XModifierKeymap *modifiermap; > int keysyms_per_keycode; > char *xdefaults; > char *scratch_buffer; > unsigned long scratch_length; > int ext_number; > struct _XExten *ext_procs; ># 130 "../include/X11/Xlibint.h" > int (*event_vec[128])( > Display * , > XEvent * , > xEvent * > ); > int (*wire_vec[128])( > Display * , > XEvent * , > xEvent * > ); > KeySym lock_meaning; > struct _XLockInfo *lock; > struct _XInternalAsync *async_handlers; > unsigned long bigreq_size; > struct _XLockPtrs *lock_fns; > void (*idlist_alloc)( > Display * , > XID * , > int > ); > > struct _XKeytrans *key_bindings; > Font cursor_font; > struct _XDisplayAtoms *atoms; > unsigned int mode_switch; > unsigned int num_lock; > struct _XContextDB *context_db; > int (**error_vec)( > Display * , > XErrorEvent * , > xError * > ); > > > > struct { > XPointer defaultCCCs; > XPointer clientCmaps; > XPointer perVisualIntensityMaps; > > } cms; > struct _XIMFilter *im_filters; > struct _XSQEvent *qfree; > unsigned long next_event_serial_num; > struct _XExten *flushes; > struct _XConnectionInfo *im_fd_info; > int im_fd_length; > struct _XConnWatchInfo *conn_watchers; > int watcher_count; > XPointer filedes; > int (*savedsynchandler)( > Display * > ); > XID resource_max; > int xcmisc_opcode; > struct _XkbInfoRec *xkb_info; > struct _XtransConnInfo *trans_conn; > struct _X11XCBPrivate *xcb; >}; ># 203 "../include/X11/Xlibint.h" >typedef struct _XSQEvent >{ > struct _XSQEvent *next; > XEvent event; > unsigned long qserial_num; >} _XQEvent; ># 221 "../include/X11/Xlibint.h" ># 1 "/usr/include/errno.h" 1 3 4 ># 32 "/usr/include/errno.h" 3 4 > > > > ># 1 "/usr/include/bits/errno.h" 1 3 4 ># 25 "/usr/include/bits/errno.h" 3 4 ># 1 "/usr/include/linux/errno.h" 1 3 4 > > > ># 1 "/usr/include/asm/errno.h" 1 3 4 ># 1 "/usr/include/asm-generic/errno.h" 1 3 4 > > > ># 1 "/usr/include/asm-generic/errno-base.h" 1 3 4 ># 5 "/usr/include/asm-generic/errno.h" 2 3 4 ># 1 "/usr/include/asm/errno.h" 2 3 4 ># 5 "/usr/include/linux/errno.h" 2 3 4 ># 26 "/usr/include/bits/errno.h" 2 3 4 ># 43 "/usr/include/bits/errno.h" 3 4 >extern int *__errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); ># 37 "/usr/include/errno.h" 2 3 4 ># 55 "/usr/include/errno.h" 3 4 >extern char *program_invocation_name, *program_invocation_short_name; > > > > ># 69 "/usr/include/errno.h" 3 4 >typedef int error_t; ># 222 "../include/X11/Xlibint.h" 2 > ># 1 "/usr/include/X11/Xfuncs.h" 1 3 4 ># 50 "/usr/include/X11/Xfuncs.h" 3 4 ># 1 "/usr/include/string.h" 1 3 4 ># 28 "/usr/include/string.h" 3 4 > > > > > ># 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 ># 34 "/usr/include/string.h" 2 3 4 > > > > >extern void *memcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memmove (void *__dest, __const void *__src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, > int __c, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memchr (__const void *__s, int __c, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern void *rawmemchr (__const void *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > >extern void *memrchr (__const void *__s, int __c, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strcat (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncat (char *__restrict __dest, __const char *__restrict __src, > size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcmp (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcoll (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern size_t strxfrm (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > > > > ># 1 "/usr/include/xlocale.h" 1 3 4 ># 28 "/usr/include/xlocale.h" 3 4 >typedef struct __locale_struct >{ > > struct locale_data *__locales[13]; > > > const unsigned short int *__ctype_b; > const int *__ctype_tolower; > const int *__ctype_toupper; > > > const char *__names[13]; >} *__locale_t; ># 119 "/usr/include/string.h" 2 3 4 > > >extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); > >extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n, > __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); > > > > >extern char *strdup (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern char *strndup (__const char *__string, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); ># 165 "/usr/include/string.h" 3 4 > > >extern char *strchr (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > >extern char *strrchr (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strchrnul (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern size_t strcspn (__const char *__s, __const char *__reject) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern size_t strspn (__const char *__s, __const char *__accept) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strpbrk (__const char *__s, __const char *__accept) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strstr (__const char *__haystack, __const char *__needle) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *strtok (char *__restrict __s, __const char *__restrict __delim) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > > >extern char *__strtok_r (char *__restrict __s, > __const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); > >extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); > > > > >extern char *strcasestr (__const char *__haystack, __const char *__needle) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memmem (__const void *__haystack, size_t __haystacklen, > __const void *__needle, size_t __needlelen) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3))); > > > >extern void *__mempcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern void *mempcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern size_t strlen (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern size_t strnlen (__const char *__string, size_t __maxlen) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); > ># 281 "/usr/include/string.h" 3 4 >extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > > > >extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__)); > > > > > >extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern void bcopy (__const void *__src, void *__dest, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *index (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > >extern char *rindex (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > >extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > >extern int ffsl (long int __l) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > >__extension__ extern int ffsll (long long int __ll) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > >extern int strcasecmp (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern int strcasecmp_l (__const char *__s1, __const char *__s2, > __locale_t __loc) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); > >extern int strncasecmp_l (__const char *__s1, __const char *__s2, > size_t __n, __locale_t __loc) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); > > > > > >extern char *strsep (char **__restrict __stringp, > __const char *__restrict __delim) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > >extern int strverscmp (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strsignal (int __sig) __attribute__ ((__nothrow__)); > > >extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *__stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern char *stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strfry (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern char *basename (__const char *__filename) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 420 "/usr/include/string.h" 3 4 ># 1 "/usr/include/bits/string.h" 1 3 4 ># 421 "/usr/include/string.h" 2 3 4 > > ># 1 "/usr/include/bits/string2.h" 1 3 4 ># 394 "/usr/include/bits/string2.h" 3 4 >extern void *__rawmemchr (const void *__s, int __c); ># 969 "/usr/include/bits/string2.h" 3 4 >extern __inline size_t __strcspn_c1 (__const char *__s, int __reject); >extern __inline size_t >__strcspn_c1 (__const char *__s, int __reject) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject) > ++__result; > return __result; >} > >extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, > int __reject2); >extern __inline size_t >__strcspn_c2 (__const char *__s, int __reject1, int __reject2) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject1 > && __s[__result] != __reject2) > ++__result; > return __result; >} > >extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, > int __reject2, int __reject3); >extern __inline size_t >__strcspn_c3 (__const char *__s, int __reject1, int __reject2, > int __reject3) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject1 > && __s[__result] != __reject2 && __s[__result] != __reject3) > ++__result; > return __result; >} ># 1045 "/usr/include/bits/string2.h" 3 4 >extern __inline size_t __strspn_c1 (__const char *__s, int __accept); >extern __inline size_t >__strspn_c1 (__const char *__s, int __accept) >{ > register size_t __result = 0; > > while (__s[__result] == __accept) > ++__result; > return __result; >} > >extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, > int __accept2); >extern __inline size_t >__strspn_c2 (__const char *__s, int __accept1, int __accept2) >{ > register size_t __result = 0; > > while (__s[__result] == __accept1 || __s[__result] == __accept2) > ++__result; > return __result; >} > >extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, > int __accept2, int __accept3); >extern __inline size_t >__strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) >{ > register size_t __result = 0; > > while (__s[__result] == __accept1 || __s[__result] == __accept2 > || __s[__result] == __accept3) > ++__result; > return __result; >} ># 1121 "/usr/include/bits/string2.h" 3 4 >extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1, > int __accept2); >extern __inline char * >__strpbrk_c2 (__const char *__s, int __accept1, int __accept2) >{ > > while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) > ++__s; > return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; >} > >extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1, > int __accept2, int __accept3); >extern __inline char * >__strpbrk_c3 (__const char *__s, int __accept1, int __accept2, > int __accept3) >{ > > while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 > && *__s != __accept3) > ++__s; > return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; >} ># 1172 "/usr/include/bits/string2.h" 3 4 >extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp); >extern __inline char * >__strtok_r_1c (char *__s, char __sep, char **__nextp) >{ > char *__result; > if (__s == ((void *)0)) > __s = *__nextp; > while (*__s == __sep) > ++__s; > __result = ((void *)0); > if (*__s != '\0') > { > __result = __s++; > while (*__s != '\0') > if (*__s++ == __sep) > { > __s[-1] = '\0'; > break; > } > } > *__nextp = __s; > return __result; >} ># 1204 "/usr/include/bits/string2.h" 3 4 >extern char *__strsep_g (char **__stringp, __const char *__delim); ># 1222 "/usr/include/bits/string2.h" 3 4 >extern __inline char *__strsep_1c (char **__s, char __reject); >extern __inline char * >__strsep_1c (char **__s, char __reject) >{ > register char *__retval = *__s; > if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0)) > *(*__s)++ = '\0'; > return __retval; >} > >extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2); >extern __inline char * >__strsep_2c (char **__s, char __reject1, char __reject2) >{ > register char *__retval = *__s; > if (__retval != ((void *)0)) > { > register char *__cp = __retval; > while (1) > { > if (*__cp == '\0') > { > __cp = ((void *)0); > break; > } > if (*__cp == __reject1 || *__cp == __reject2) > { > *__cp++ = '\0'; > break; > } > ++__cp; > } > *__s = __cp; > } > return __retval; >} > >extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2, > char __reject3); >extern __inline char * >__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3) >{ > register char *__retval = *__s; > if (__retval != ((void *)0)) > { > register char *__cp = __retval; > while (1) > { > if (*__cp == '\0') > { > __cp = ((void *)0); > break; > } > if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3) > { > *__cp++ = '\0'; > break; > } > ++__cp; > } > *__s = __cp; > } > return __retval; >} ># 1298 "/usr/include/bits/string2.h" 3 4 ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 ># 34 "/usr/include/stdlib.h" 2 3 4 > > ># 469 "/usr/include/stdlib.h" 3 4 > > >extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > >extern void *calloc (size_t __nmemb, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > ># 883 "/usr/include/stdlib.h" 3 4 > ># 1299 "/usr/include/bits/string2.h" 2 3 4 > > > > >extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); ># 1322 "/usr/include/bits/string2.h" 3 4 >extern char *__strndup (__const char *__string, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); ># 424 "/usr/include/string.h" 2 3 4 > > > > ># 1 "/usr/include/bits/string3.h" 1 3 4 ># 23 "/usr/include/bits/string3.h" 3 4 >extern void __warn_memset_zero_len (void) __attribute__((__warning__ ("memset used with constant zero length parameter; this could be due to transposed parameters"))); ># 48 "/usr/include/bits/string3.h" 3 4 >extern __inline __attribute__ ((__always_inline__)) void * >__attribute__ ((__nothrow__)) memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __len) > >{ > return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} > >extern __inline __attribute__ ((__always_inline__)) void * >__attribute__ ((__nothrow__)) memmove (void *__restrict __dest, __const void *__restrict __src, size_t __len) > >{ > return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} > > >extern __inline __attribute__ ((__always_inline__)) void * >__attribute__ ((__nothrow__)) mempcpy (void *__restrict __dest, __const void *__restrict __src, size_t __len) > >{ > return __builtin___mempcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} ># 77 "/usr/include/bits/string3.h" 3 4 >extern __inline __attribute__ ((__always_inline__)) void * >__attribute__ ((__nothrow__)) memset (void *__dest, int __ch, size_t __len) >{ > if (__builtin_constant_p (__len) && __len == 0) > { > __warn_memset_zero_len (); > return __dest; > } > return __builtin___memset_chk (__dest, __ch, __len, __builtin_object_size (__dest, 0)); >} > > >extern __inline __attribute__ ((__always_inline__)) void >__attribute__ ((__nothrow__)) bcopy (__const void *__restrict __src, void *__restrict __dest, size_t __len) > >{ > (void) __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} > >extern __inline __attribute__ ((__always_inline__)) void >__attribute__ ((__nothrow__)) bzero (void *__dest, size_t __len) >{ > (void) __builtin___memset_chk (__dest, '\0', __len, __builtin_object_size (__dest, 0)); >} > > >extern __inline __attribute__ ((__always_inline__)) char * >__attribute__ ((__nothrow__)) strcpy (char *__restrict __dest, __const char *__restrict __src) >{ > return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); >} > > >extern __inline __attribute__ ((__always_inline__)) char * >__attribute__ ((__nothrow__)) stpcpy (char *__restrict __dest, __const char *__restrict __src) >{ > return __builtin___stpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); >} > > > >extern __inline __attribute__ ((__always_inline__)) char * >__attribute__ ((__nothrow__)) strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __len) > >{ > return __builtin___strncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); >} > > >extern char *__stpncpy_chk (char *__dest, __const char *__src, size_t __n, > size_t __destlen) __attribute__ ((__nothrow__)); >extern char *__stpncpy_alias (char *__dest, __const char *__src, size_t __n) __asm__ ("" "stpncpy") __attribute__ ((__nothrow__)); > > > >extern __inline __attribute__ ((__always_inline__)) char * >__attribute__ ((__nothrow__)) stpncpy (char *__dest, __const char *__src, size_t __n) >{ > if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1 > && (!__builtin_constant_p (__n) || __n <= __builtin_object_size (__dest, 2 > 1))) > return __stpncpy_chk (__dest, __src, __n, __builtin_object_size (__dest, 2 > 1)); > return __stpncpy_alias (__dest, __src, __n); >} > > >extern __inline __attribute__ ((__always_inline__)) char * >__attribute__ ((__nothrow__)) strcat (char *__restrict __dest, __const char *__restrict __src) >{ > return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); >} > > >extern __inline __attribute__ ((__always_inline__)) char * >__attribute__ ((__nothrow__)) strncat (char *__restrict __dest, __const char *__restrict __src, size_t __len) > >{ > return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); >} ># 429 "/usr/include/string.h" 2 3 4 > > > > ># 51 "/usr/include/X11/Xfuncs.h" 2 3 4 ># 224 "../include/X11/Xlibint.h" 2 > > > > > > > ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 ># 34 "/usr/include/stdlib.h" 2 3 4 > > > > > > > > ># 1 "/usr/include/bits/waitflags.h" 1 3 4 ># 43 "/usr/include/stdlib.h" 2 3 4 ># 1 "/usr/include/bits/waitstatus.h" 1 3 4 ># 67 "/usr/include/bits/waitstatus.h" 3 4 >union wait > { > int w_status; > struct > { > > unsigned int __w_termsig:7; > unsigned int __w_coredump:1; > unsigned int __w_retcode:8; > unsigned int:16; > > > > > > > > } __wait_terminated; > struct > { > > unsigned int __w_stopval:8; > unsigned int __w_stopsig:8; > unsigned int:16; > > > > > > > } __wait_stopped; > }; ># 44 "/usr/include/stdlib.h" 2 3 4 ># 68 "/usr/include/stdlib.h" 3 4 >typedef union > { > union wait *__uptr; > int *__iptr; > } __WAIT_STATUS __attribute__ ((__transparent_union__)); ># 96 "/usr/include/stdlib.h" 3 4 > > >typedef struct > { > int quot; > int rem; > } div_t; > > > >typedef struct > { > long int quot; > long int rem; > } ldiv_t; > > > > > > > >__extension__ typedef struct > { > long long int quot; > long long int rem; > } lldiv_t; > > ># 140 "/usr/include/stdlib.h" 3 4 >extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > >extern double atof (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern int atoi (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern long int atol (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >__extension__ extern long long int atoll (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern double strtod (__const char *__restrict __nptr, > char **__restrict __endptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern float strtof (__const char *__restrict __nptr, > char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern long double strtold (__const char *__restrict __nptr, > char **__restrict __endptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern long int strtol (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern unsigned long int strtoul (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > >__extension__ >extern long long int strtoq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >__extension__ >extern unsigned long long int strtouq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >__extension__ >extern long long int strtoll (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >__extension__ >extern unsigned long long int strtoull (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > ># 240 "/usr/include/stdlib.h" 3 4 >extern long int strtol_l (__const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__)); > >extern unsigned long int strtoul_l (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__)); > >__extension__ >extern long long int strtoll_l (__const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__)); > >__extension__ >extern unsigned long long int strtoull_l (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__)); > >extern double strtod_l (__const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__)); > >extern float strtof_l (__const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__)); > >extern long double strtold_l (__const char *__restrict __nptr, > char **__restrict __endptr, > __locale_t __loc) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__)); > > > > > >extern __inline double >__attribute__ ((__nothrow__)) atof (__const char *__nptr) >{ > return strtod (__nptr, (char **) ((void *)0)); >} >extern __inline int >__attribute__ ((__nothrow__)) atoi (__const char *__nptr) >{ > return (int) strtol (__nptr, (char **) ((void *)0), 10); >} >extern __inline long int >__attribute__ ((__nothrow__)) atol (__const char *__nptr) >{ > return strtol (__nptr, (char **) ((void *)0), 10); >} > > > > >__extension__ extern __inline long long int >__attribute__ ((__nothrow__)) atoll (__const char *__nptr) >{ > return strtoll (__nptr, (char **) ((void *)0), 10); >} > ># 311 "/usr/include/stdlib.h" 3 4 >extern char *l64a (long int __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > >extern long int a64l (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 327 "/usr/include/stdlib.h" 3 4 >extern long int random (void) __attribute__ ((__nothrow__)); > > >extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > >extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >struct random_data > { > int32_t *fptr; > int32_t *rptr; > int32_t *state; > int rand_type; > int rand_deg; > int rand_sep; > int32_t *end_ptr; > }; > >extern int random_r (struct random_data *__restrict __buf, > int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern int rand (void) __attribute__ ((__nothrow__)); > >extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); > > > > >extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); > > > > > > > >extern double drand48 (void) __attribute__ ((__nothrow__)); >extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int lrand48 (void) __attribute__ ((__nothrow__)); >extern long int nrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int mrand48 (void) __attribute__ ((__nothrow__)); >extern long int jrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >struct drand48_data > { > unsigned short int __x[3]; > unsigned short int __old_x[3]; > unsigned short int __c; > unsigned short int __init; > unsigned long long int __a; > }; > > >extern int drand48_r (struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); ># 479 "/usr/include/stdlib.h" 3 4 > > > > > > >extern void *realloc (void *__ptr, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > >extern void free (void *__ptr) __attribute__ ((__nothrow__)); > > > > >extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); > > > ># 1 "/usr/include/alloca.h" 1 3 4 ># 25 "/usr/include/alloca.h" 3 4 ># 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 ># 26 "/usr/include/alloca.h" 2 3 4 > > > > > > > >extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); > > > > > > ># 498 "/usr/include/stdlib.h" 2 3 4 > > > > >extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > >extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > > > > >extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > > > > >extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *__secure_getenv (__const char *__name) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int setenv (__const char *__name, __const char *__value, int __replace) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > >extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)); > > > > > > >extern int clearenv (void) __attribute__ ((__nothrow__)); ># 583 "/usr/include/stdlib.h" 3 4 >extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 594 "/usr/include/stdlib.h" 3 4 >extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 604 "/usr/include/stdlib.h" 3 4 >extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 614 "/usr/include/stdlib.h" 3 4 >extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 625 "/usr/include/stdlib.h" 3 4 >extern int mkostemp (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 635 "/usr/include/stdlib.h" 3 4 >extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > > > > > >extern int system (__const char *__command) __attribute__ ((__warn_unused_result__)); > > > > > > >extern char *canonicalize_file_name (__const char *__name) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 662 "/usr/include/stdlib.h" 3 4 >extern char *realpath (__const char *__restrict __name, > char *__restrict __resolved) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > > > >typedef int (*__compar_fn_t) (__const void *, __const void *); > > >typedef __compar_fn_t comparison_fn_t; > > > > > > >extern void *bsearch (__const void *__key, __const void *__base, > size_t __nmemb, size_t __size, __compar_fn_t __compar) > __attribute__ ((__nonnull__ (1, 2, 5))) __attribute__ ((__warn_unused_result__)); > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); > > > >extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); >extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > > > >__extension__ extern long long int llabs (long long int __x) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > > > > > > > >extern div_t div (int __numer, int __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); >extern ldiv_t ldiv (long int __numer, long int __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > > > > >__extension__ extern lldiv_t lldiv (long long int __numer, > long long int __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > ># 727 "/usr/include/stdlib.h" 3 4 >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); >extern char *qgcvt (long double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__)); > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); > >extern int qecvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int qfcvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); > > > > > > > >extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > >extern int mbtowc (wchar_t *__restrict __pwc, > __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > >extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > >extern size_t mbstowcs (wchar_t *__restrict __pwcs, > __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); > >extern size_t wcstombs (char *__restrict __s, > __const wchar_t *__restrict __pwcs, size_t __n) > __attribute__ ((__nothrow__)); > > > > > > > > >extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 815 "/usr/include/stdlib.h" 3 4 >extern int getsubopt (char **__restrict __optionp, > char *__const *__restrict __tokens, > char **__restrict __valuep) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__warn_unused_result__)); > > > > > >extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >extern int posix_openpt (int __oflag) __attribute__ ((__warn_unused_result__)); > > > > > > > >extern int grantpt (int __fd) __attribute__ ((__nothrow__)); > > > >extern int unlockpt (int __fd) __attribute__ ((__nothrow__)); > > > > >extern char *ptsname (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > > > >extern int ptsname_r (int __fd, char *__buf, size_t __buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > >extern int getpt (void); > > > > > > >extern int getloadavg (double __loadavg[], int __nelem) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > ># 1 "/usr/include/bits/stdlib.h" 1 3 4 ># 24 "/usr/include/bits/stdlib.h" 3 4 >extern char *__realpath_chk (__const char *__restrict __name, > char *__restrict __resolved, > size_t __resolvedlen) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); >extern char *__realpath_alias (__const char *__restrict __name, char *__restrict __resolved) __asm__ ("" "realpath") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > >extern char *__realpath_chk_warn (__const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) __asm__ ("" "__realpath_chk") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)) > > > > __attribute__((__warning__ ("second argument of realpath must be either NULL or at " "least PATH_MAX bytes long buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__warn_unused_result__)) char * >__attribute__ ((__nothrow__)) realpath (__const char *__restrict __name, char *__restrict __resolved) >{ > if (__builtin_object_size (__resolved, 2 > 1) != (size_t) -1) > { > > > > > return __realpath_chk (__name, __resolved, __builtin_object_size (__resolved, 2 > 1)); > } > > return __realpath_alias (__name, __resolved); >} > > >extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen, > size_t __nreal) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); >extern int __ptsname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ptsname_r") __attribute__ ((__nothrow__)) > > __attribute__ ((__nonnull__ (2))); >extern int __ptsname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ptsname_r_chk") __attribute__ ((__nothrow__)) > > > __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ptsname_r called with buflen bigger than " "size of buf"))); > > >extern __inline __attribute__ ((__always_inline__)) int >__attribute__ ((__nothrow__)) ptsname_r (int __fd, char *__buf, size_t __buflen) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__buflen)) > return __ptsname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > if (__buflen > __builtin_object_size (__buf, 2 > 1)) > return __ptsname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > } > return __ptsname_r_alias (__fd, __buf, __buflen); >} > > >extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); >extern int __wctomb_alias (char *__s, wchar_t __wchar) __asm__ ("" "wctomb") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__warn_unused_result__)) int >__attribute__ ((__nothrow__)) wctomb (char *__s, wchar_t __wchar) >{ > > > > > > > > if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 && 16 > __builtin_object_size (__s, 2 > 1)) > return __wctomb_chk (__s, __wchar, __builtin_object_size (__s, 2 > 1)); > return __wctomb_alias (__s, __wchar); >} > > >extern size_t __mbstowcs_chk (wchar_t *__restrict __dst, > __const char *__restrict __src, > size_t __len, size_t __dstlen) __attribute__ ((__nothrow__)); >extern size_t __mbstowcs_alias (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__)); > > > >extern size_t __mbstowcs_chk_warn (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__mbstowcs_chk") __attribute__ ((__nothrow__)) > > > > __attribute__((__warning__ ("mbstowcs called with dst buffer smaller than len " "* sizeof (wchar_t)"))); > > >extern __inline __attribute__ ((__always_inline__)) size_t >__attribute__ ((__nothrow__)) mbstowcs (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len) > >{ > if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__len)) > return __mbstowcs_chk (__dst, __src, __len, > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)); > > if (__len > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)) > return __mbstowcs_chk_warn (__dst, __src, __len, > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)); > } > return __mbstowcs_alias (__dst, __src, __len); >} > > >extern size_t __wcstombs_chk (char *__restrict __dst, > __const wchar_t *__restrict __src, > size_t __len, size_t __dstlen) __attribute__ ((__nothrow__)); >extern size_t __wcstombs_alias (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len) __asm__ ("" "wcstombs") __attribute__ ((__nothrow__)); > > > >extern size_t __wcstombs_chk_warn (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__wcstombs_chk") __attribute__ ((__nothrow__)) > > > > __attribute__((__warning__ ("wcstombs called with dst buffer smaller than len"))); > >extern __inline __attribute__ ((__always_inline__)) size_t >__attribute__ ((__nothrow__)) wcstombs (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len) > >{ > if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__len)) > return __wcstombs_chk (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)); > if (__len > __builtin_object_size (__dst, 2 > 1)) > return __wcstombs_chk_warn (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)); > } > return __wcstombs_alias (__dst, __src, __len); >} ># 875 "/usr/include/stdlib.h" 2 3 4 ># 883 "/usr/include/stdlib.h" 3 4 > ># 232 "../include/X11/Xlibint.h" 2 > > > > > ># 248 "../include/X11/Xlibint.h" >typedef struct _LockInfoRec *LockInfoPtr; > > >struct _XLockPtrs { > > void (*lock_display)( > Display *dpy > > > > > ); > void (*unlock_display)( > Display *dpy > > > > > ); >}; ># 278 "../include/X11/Xlibint.h" >extern void (*_XCreateMutex_fn)( > LockInfoPtr >); >extern void (*_XFreeMutex_fn)( > LockInfoPtr >); >extern void (*_XLockMutex_fn)( > LockInfoPtr > > > > >); >extern void (*_XUnlockMutex_fn)( > LockInfoPtr > > > > >); > >extern LockInfoPtr _Xglobal_lock; ># 347 "../include/X11/Xlibint.h" ># 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 ># 348 "../include/X11/Xlibint.h" 2 ># 583 "../include/X11/Xlibint.h" >extern void _XFlushGCCache(Display *dpy, GC gc); ># 635 "../include/X11/Xlibint.h" >extern int _XData32( > Display *dpy, > register long *data, > unsigned len >); >extern void _XRead32( > Display *dpy, > register long *data, > long len >); ># 732 "../include/X11/Xlibint.h" >typedef struct _XInternalAsync { > struct _XInternalAsync *next; ># 743 "../include/X11/Xlibint.h" > int (*handler)( > Display* , > xReply* , > char* , > int , > XPointer > ); > XPointer data; >} _XAsyncHandler; > >typedef struct _XAsyncEState { > unsigned long min_sequence_number; > unsigned long max_sequence_number; > unsigned char error_code; > unsigned char major_opcode; > unsigned short minor_opcode; > unsigned char last_error_received; > int error_count; >} _XAsyncErrorState; > >extern void _XDeqAsyncHandler(Display *dpy, _XAsyncHandler *handler); > > > > > > > >typedef void (*FreeFuncType) ( > Display* >); > >typedef int (*FreeModmapType) ( > XModifierKeymap* >); > > > > >typedef struct _XFreeFuncs { > FreeFuncType atoms; > FreeModmapType modifiermap; > FreeFuncType key_bindings; > FreeFuncType context_db; > FreeFuncType defaultCCCs; > FreeFuncType clientCmaps; > FreeFuncType intensityMaps; > FreeFuncType im_filters; > FreeFuncType xkb; >} _XFreeFuncRec; > > >typedef int (*CreateGCType) ( > Display* , > GC , > XExtCodes* >); > >typedef int (*CopyGCType)( > Display* , > GC , > XExtCodes* >); > >typedef int (*FlushGCType) ( > Display* , > GC , > XExtCodes* >); > >typedef int (*FreeGCType) ( > Display* , > GC , > XExtCodes* >); > >typedef int (*CreateFontType) ( > Display* , > XFontStruct* , > XExtCodes* >); > >typedef int (*FreeFontType) ( > Display* , > XFontStruct* , > XExtCodes* >); > >typedef int (*CloseDisplayType) ( > Display* , > XExtCodes* >); > >typedef int (*ErrorType) ( > Display* , > xError* , > XExtCodes* , > int* >); > >typedef char* (*ErrorStringType) ( > Display* , > int , > XExtCodes* , > char* , > int >); > >typedef void (*PrintErrorType)( > Display* , > XErrorEvent* , > void* >); > >typedef void (*BeforeFlushType)( > Display* , > XExtCodes* , > const char* , > long >); > > > > >typedef struct _XExten { > struct _XExten *next; > XExtCodes codes; > CreateGCType create_GC; > CopyGCType copy_GC; > FlushGCType flush_GC; > FreeGCType free_GC; > CreateFontType create_Font; > FreeFontType free_Font; > CloseDisplayType close_display; > ErrorType error; > ErrorStringType error_string; > char *name; > PrintErrorType error_values; > BeforeFlushType before_flush; > struct _XExten *next_flush; >} _XExtension; > > > > > > >extern int _XError( > Display* , > xError* >); >extern int _XIOError( > Display* >); >extern int (*_XIOErrorFunction)( > Display* >); >extern int (*_XErrorFunction)( > Display* , > XErrorEvent* >); >extern void _XEatData( > Display* , > unsigned long >); >extern char *_XAllocScratch( > Display* , > unsigned long >); >extern char *_XAllocTemp( > Display* , > unsigned long >); >extern void _XFreeTemp( > Display* , > char* , > unsigned long >); >extern Visual *_XVIDtoVisual( > Display* , > VisualID >); >extern unsigned long _XSetLastRequestRead( > Display* , > xGenericReply* >); >extern int _XGetHostname( > char* , > int >); >extern Screen *_XScreenOfWindow( > Display* , > Window >); >extern int _XAsyncErrorHandler( > Display* , > xReply* , > char* , > int , > XPointer >); >extern char *_XGetAsyncReply( > Display* , > char* , > xReply* , > char* , > int , > int , > int >); >extern void _XGetAsyncData( > Display* , > char * , > char * , > int , > int , > int , > int >); >extern void _XSetSeqSyncFunction( > Display* >); >extern void _XFlush( > Display* >); >extern int _XEventsQueued( > Display* , > int >); >extern void _XReadEvents( > Display* >); >extern int _XRead( > Display* , > char* , > long >); >extern void _XReadPad( > Display* , > char* , > long >); >extern void _XSend( > Display* , > const char* , > long >); >extern int _XReply( > Display* , > xReply* , > int , > int >); >extern void _XEnq( > Display* , > xEvent* >); >extern void _XDeq( > Display* , > _XQEvent* , > _XQEvent* >); > >extern int _XUnknownWireEvent( > Display* , > XEvent* , > xEvent* >); >extern int _XUnknownNativeEvent( > Display* , > XEvent* , > xEvent* >); > >extern int _XWireToEvent(Display *dpy, XEvent *re, xEvent *event); >extern int _XDefaultWireError(Display *display, XErrorEvent *he, xError *we); >extern int _XPollfdCacheInit(Display *dpy); >extern void _XPollfdCacheAdd(Display *dpy, int fd); >extern void _XPollfdCacheDel(Display *dpy, int fd); >extern XID _XAllocID(Display *dpy); >extern void _XAllocIDs(Display *dpy, XID *ids, int count); > >extern int _XFreeExtData( > XExtData* >); > >extern int (*XESetCreateGC( > Display* , > int , > int (*) ( > Display* , > GC , > XExtCodes* > ) >))( > Display*, GC, XExtCodes* >); > >extern int (*XESetCopyGC( > Display* , > int , > int (*) ( > Display* , > GC , > XExtCodes* > ) >))( > Display*, GC, XExtCodes* >); > >extern int (*XESetFlushGC( > Display* , > int , > int (*) ( > Display* , > GC , > XExtCodes* > ) >))( > Display*, GC, XExtCodes* >); > >extern int (*XESetFreeGC( > Display* , > int , > int (*) ( > Display* , > GC , > XExtCodes* > ) >))( > Display*, GC, XExtCodes* >); > >extern int (*XESetCreateFont( > Display* , > int , > int (*) ( > Display* , > XFontStruct* , > XExtCodes* > ) >))( > Display*, XFontStruct*, XExtCodes* >); > >extern int (*XESetFreeFont( > Display* , > int , > int (*) ( > Display* , > XFontStruct* , > XExtCodes* > ) >))( > Display*, XFontStruct*, XExtCodes* >); > >extern int (*XESetCloseDisplay( > Display* , > int , > int (*) ( > Display* , > XExtCodes* > ) >))( > Display*, XExtCodes* >); > >extern int (*XESetError( > Display* , > int , > int (*) ( > Display* , > xError* , > XExtCodes* , > int* > ) >))( > Display*, xError*, XExtCodes*, int* >); > >extern char* (*XESetErrorString( > Display* , > int , > char* (*) ( > Display* , > int , > XExtCodes* , > char* , > int > ) >))( > Display*, int, XExtCodes*, char*, int >); > >extern void (*XESetPrintErrorValues ( > Display* , > int , > void (*)( > Display* , > XErrorEvent* , > void* > ) >))( > Display*, XErrorEvent*, void* >); > >extern int (*XESetWireToEvent( > Display* , > int , > int (*) ( > Display* , > XEvent* , > xEvent* > ) >))( > Display*, XEvent*, xEvent* >); > >extern int (*XESetEventToWire( > Display* , > int , > int (*) ( > Display* , > XEvent* , > xEvent* > ) >))( > Display*, XEvent*, xEvent* >); > >extern int (*XESetWireToError( > Display* , > int , > int (*) ( > Display* , > XErrorEvent* , > xError* > ) >))( > Display*, XErrorEvent*, xError* >); > >extern void (*XESetBeforeFlush( > Display* , > int , > void (*) ( > Display* , > XExtCodes* , > const char* , > long > ) >))( > Display*, XExtCodes*, const char*, long >); > > > >typedef void (*_XInternalConnectionProc)( > Display* , > int , > XPointer >); > > >extern int _XRegisterInternalConnection( > Display* , > int , > _XInternalConnectionProc , > XPointer >); > >extern void _XUnregisterInternalConnection( > Display* , > int >); > >extern void _XProcessInternalConnection( > Display* , > struct _XConnectionInfo* >); > > > >struct _XConnectionInfo { > int fd; > _XInternalConnectionProc read_callback; > XPointer call_data; > XPointer *watch_data; > struct _XConnectionInfo *next; >}; > >struct _XConnWatchInfo { > XConnectionWatchProc fn; > XPointer client_data; > struct _XConnWatchInfo *next; >}; > > > > > > > >extern int _XTextHeight( > XFontStruct* , > const char* , > int >); > >extern int _XTextHeight16( > XFontStruct* , > const XChar2b* , > int >); ># 1288 "../include/X11/Xlibint.h" >extern int _XEventToWire(Display *dpy, XEvent *re, xEvent *event); > >extern int _XF86LoadQueryLocaleFont( > Display* , > const char* , > XFontStruct** , > Font* >); > >extern void _XProcessWindowAttributes ( > register Display *dpy, > xChangeWindowAttributesReq *req, > register unsigned long valuemask, > register XSetWindowAttributes *attributes); > >extern int _XDefaultError( > Display *dpy, > XErrorEvent *event); > >extern int _XDefaultIOError( > Display *dpy); > >extern void _XSetClipRectangles ( > register Display *dpy, > GC gc, > int clip_x_origin, int clip_y_origin, > XRectangle *rectangles, > int n, > int ordering); > >int _XGetWindowAttributes( > register Display *dpy, > Window w, > XWindowAttributes *attr); > >int _XPutBackEvent ( > register Display *dpy, > register XEvent *event); > > ># 33 "ImUtil.c" 2 ># 1 "../include/X11/Xutil.h" 1 ># 56 "../include/X11/Xutil.h" ># 1 "/usr/include/X11/keysym.h" 1 3 4 ># 75 "/usr/include/X11/keysym.h" 3 4 ># 1 "/usr/include/X11/keysymdef.h" 1 3 4 ># 76 "/usr/include/X11/keysym.h" 2 3 4 ># 57 "../include/X11/Xutil.h" 2 ># 75 "../include/X11/Xutil.h" >typedef struct { > long flags; > int x, y; > int width, height; > int min_width, min_height; > int max_width, max_height; > int width_inc, height_inc; > struct { > int x; > int y; > } min_aspect, max_aspect; > int base_width, base_height; > int win_gravity; >} XSizeHints; ># 113 "../include/X11/Xutil.h" >typedef struct { > long flags; > int input; > > int initial_state; > Pixmap icon_pixmap; > Window icon_window; > int icon_x, icon_y; > Pixmap icon_mask; > XID window_group; > >} XWMHints; ># 157 "../include/X11/Xutil.h" >typedef struct { > unsigned char *value; > Atom encoding; > int format; > unsigned long nitems; >} XTextProperty; > > > > > >typedef enum { > XStringStyle, > XCompoundTextStyle, > XTextStyle, > XStdICCTextStyle, > > XUTF8StringStyle >} XICCEncodingStyle; > >typedef struct { > int min_width, min_height; > int max_width, max_height; > int width_inc, height_inc; >} XIconSize; > >typedef struct { > char *res_name; > char *res_class; >} XClassHint; ># 225 "../include/X11/Xutil.h" >typedef struct _XComposeStatus { > XPointer compose_ptr; > int chars_matched; >} XComposeStatus; ># 267 "../include/X11/Xutil.h" >typedef struct _XRegion *Region; ># 281 "../include/X11/Xutil.h" >typedef struct { > Visual *visual; > VisualID visualid; > int screen; > int depth; > > > > int class; > > unsigned long red_mask; > unsigned long green_mask; > unsigned long blue_mask; > int colormap_size; > int bits_per_rgb; >} XVisualInfo; ># 314 "../include/X11/Xutil.h" >typedef struct { > Colormap colormap; > unsigned long red_max; > unsigned long red_mult; > unsigned long green_max; > unsigned long green_mult; > unsigned long blue_max; > unsigned long blue_mult; > unsigned long base_pixel; > VisualID visualid; > XID killid; >} XStandardColormap; ># 351 "../include/X11/Xutil.h" >typedef int XContext; > > > > > > > > >extern XClassHint *XAllocClassHint ( > void >); > >extern XIconSize *XAllocIconSize ( > void >); > >extern XSizeHints *XAllocSizeHints ( > void >); > >extern XStandardColormap *XAllocStandardColormap ( > void >); > >extern XWMHints *XAllocWMHints ( > void >); > >extern int XClipBox( > Region , > XRectangle* >); > >extern Region XCreateRegion( > void >); > >extern const char *XDefaultString (void); > >extern int XDeleteContext( > Display* , > XID , > XContext >); > >extern int XDestroyRegion( > Region >); > >extern int XEmptyRegion( > Region >); > >extern int XEqualRegion( > Region , > Region >); > >extern int XFindContext( > Display* , > XID , > XContext , > XPointer* >); > >extern int XGetClassHint( > Display* , > Window , > XClassHint* >); > >extern int XGetIconSizes( > Display* , > Window , > XIconSize** , > int* >); > >extern int XGetNormalHints( > Display* , > Window , > XSizeHints* >); > >extern int XGetRGBColormaps( > Display* , > Window , > XStandardColormap** , > int* , > Atom >); > >extern int XGetSizeHints( > Display* , > Window , > XSizeHints* , > Atom >); > >extern int XGetStandardColormap( > Display* , > Window , > XStandardColormap* , > Atom >); > >extern int XGetTextProperty( > Display* , > Window , > XTextProperty* , > Atom >); > >extern XVisualInfo *XGetVisualInfo( > Display* , > long , > XVisualInfo* , > int* >); > >extern int XGetWMClientMachine( > Display* , > Window , > XTextProperty* >); > >extern XWMHints *XGetWMHints( > Display* , > Window >); > >extern int XGetWMIconName( > Display* , > Window , > XTextProperty* >); > >extern int XGetWMName( > Display* , > Window , > XTextProperty* >); > >extern int XGetWMNormalHints( > Display* , > Window , > XSizeHints* , > long* >); > >extern int XGetWMSizeHints( > Display* , > Window , > XSizeHints* , > long* , > Atom >); > >extern int XGetZoomHints( > Display* , > Window , > XSizeHints* >); > >extern int XIntersectRegion( > Region , > Region , > Region >); > >extern void XConvertCase( > KeySym , > KeySym* , > KeySym* >); > >extern int XLookupString( > XKeyEvent* , > char* , > int , > KeySym* , > XComposeStatus* >); > >extern int XMatchVisualInfo( > Display* , > int , > int , > int , > XVisualInfo* >); > >extern int XOffsetRegion( > Region , > int , > int >); > >extern int XPointInRegion( > Region , > int , > int >); > >extern Region XPolygonRegion( > XPoint* , > int , > int >); > >extern int XRectInRegion( > Region , > int , > int , > unsigned int , > unsigned int >); > >extern int XSaveContext( > Display* , > XID , > XContext , > const char* >); > >extern int XSetClassHint( > Display* , > Window , > XClassHint* >); > >extern int XSetIconSizes( > Display* , > Window , > XIconSize* , > int >); > >extern int XSetNormalHints( > Display* , > Window , > XSizeHints* >); > >extern void XSetRGBColormaps( > Display* , > Window , > XStandardColormap* , > int , > Atom >); > >extern int XSetSizeHints( > Display* , > Window , > XSizeHints* , > Atom >); > >extern int XSetStandardProperties( > Display* , > Window , > const char* , > const char* , > Pixmap , > char** , > int , > XSizeHints* >); > >extern void XSetTextProperty( > Display* , > Window , > XTextProperty* , > Atom >); > >extern void XSetWMClientMachine( > Display* , > Window , > XTextProperty* >); > >extern int XSetWMHints( > Display* , > Window , > XWMHints* >); > >extern void XSetWMIconName( > Display* , > Window , > XTextProperty* >); > >extern void XSetWMName( > Display* , > Window , > XTextProperty* >); > >extern void XSetWMNormalHints( > Display* , > Window , > XSizeHints* >); > >extern void XSetWMProperties( > Display* , > Window , > XTextProperty* , > XTextProperty* , > char** , > int , > XSizeHints* , > XWMHints* , > XClassHint* >); > >extern void XmbSetWMProperties( > Display* , > Window , > const char* , > const char* , > char** , > int , > XSizeHints* , > XWMHints* , > XClassHint* >); > >extern void Xutf8SetWMProperties( > Display* , > Window , > const char* , > const char* , > char** , > int , > XSizeHints* , > XWMHints* , > XClassHint* >); > >extern void XSetWMSizeHints( > Display* , > Window , > XSizeHints* , > Atom >); > >extern int XSetRegion( > Display* , > GC , > Region >); > >extern void XSetStandardColormap( > Display* , > Window , > XStandardColormap* , > Atom >); > >extern int XSetZoomHints( > Display* , > Window , > XSizeHints* >); > >extern int XShrinkRegion( > Region , > int , > int >); > >extern int XStringListToTextProperty( > char** , > int , > XTextProperty* >); > >extern int XSubtractRegion( > Region , > Region , > Region >); > >extern int XmbTextListToTextProperty( > Display* display, > char** list, > int count, > XICCEncodingStyle style, > XTextProperty* text_prop_return >); > >extern int XwcTextListToTextProperty( > Display* display, > wchar_t** list, > int count, > XICCEncodingStyle style, > XTextProperty* text_prop_return >); > >extern int Xutf8TextListToTextProperty( > Display* display, > char** list, > int count, > XICCEncodingStyle style, > XTextProperty* text_prop_return >); > >extern void XwcFreeStringList( > wchar_t** list >); > >extern int XTextPropertyToStringList( > XTextProperty* , > char*** , > int* >); > >extern int XmbTextPropertyToTextList( > Display* display, > const XTextProperty* text_prop, > char*** list_return, > int* count_return >); > >extern int XwcTextPropertyToTextList( > Display* display, > const XTextProperty* text_prop, > wchar_t*** list_return, > int* count_return >); > >extern int Xutf8TextPropertyToTextList( > Display* display, > const XTextProperty* text_prop, > char*** list_return, > int* count_return >); > >extern int XUnionRectWithRegion( > XRectangle* , > Region , > Region >); > >extern int XUnionRegion( > Region , > Region , > Region >); > >extern int XWMGeometry( > Display* , > int , > const char* , > const char* , > unsigned int , > XSizeHints* , > int* , > int* , > int* , > int* , > int* >); > >extern int XXorRegion( > Region , > Region , > Region >); > > ># 34 "ImUtil.c" 2 ># 1 "/usr/include/stdio.h" 1 3 4 ># 30 "/usr/include/stdio.h" 3 4 > > > > ># 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 ># 35 "/usr/include/stdio.h" 2 3 4 ># 45 "/usr/include/stdio.h" 3 4 >struct _IO_FILE; > > > >typedef struct _IO_FILE FILE; > > > > > ># 65 "/usr/include/stdio.h" 3 4 >typedef struct _IO_FILE __FILE; ># 75 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/libio.h" 1 3 4 ># 32 "/usr/include/libio.h" 3 4 ># 1 "/usr/include/_G_config.h" 1 3 4 ># 15 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 ># 16 "/usr/include/_G_config.h" 2 3 4 > > > > ># 1 "/usr/include/wchar.h" 1 3 4 ># 78 "/usr/include/wchar.h" 3 4 >typedef struct >{ > int __count; > union > { > > unsigned int __wch; > > > > char __wchb[4]; > } __value; >} __mbstate_t; ># 21 "/usr/include/_G_config.h" 2 3 4 > >typedef struct >{ > __off_t __pos; > __mbstate_t __state; >} _G_fpos_t; >typedef struct >{ > __off64_t __pos; > __mbstate_t __state; >} _G_fpos64_t; ># 53 "/usr/include/_G_config.h" 3 4 >typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); >typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); ># 33 "/usr/include/libio.h" 2 3 4 ># 53 "/usr/include/libio.h" 3 4 ># 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stdarg.h" 1 3 4 ># 43 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 54 "/usr/include/libio.h" 2 3 4 ># 170 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 180 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 203 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 271 "/usr/include/libio.h" 3 4 >struct _IO_FILE { > int _flags; > > > > > char* _IO_read_ptr; > char* _IO_read_end; > char* _IO_read_base; > char* _IO_write_base; > char* _IO_write_ptr; > char* _IO_write_end; > char* _IO_buf_base; > char* _IO_buf_end; > > char *_IO_save_base; > char *_IO_backup_base; > char *_IO_save_end; > > struct _IO_marker *_markers; > > struct _IO_FILE *_chain; > > int _fileno; > > > > int _flags2; > > __off_t _old_offset; > > > > unsigned short _cur_column; > signed char _vtable_offset; > char _shortbuf[1]; > > > > _IO_lock_t *_lock; ># 319 "/usr/include/libio.h" 3 4 > __off64_t _offset; ># 328 "/usr/include/libio.h" 3 4 > void *__pad1; > void *__pad2; > void *__pad3; > void *__pad4; > size_t __pad5; > > int _mode; > > char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; > >}; > > >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_; ># 364 "/usr/include/libio.h" 3 4 >typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); > > > > > > > >typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, > size_t __n); > > > > > > > >typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); > > >typedef int __io_close_fn (void *__cookie); > > > > >typedef __io_read_fn cookie_read_function_t; >typedef __io_write_fn cookie_write_function_t; >typedef __io_seek_fn cookie_seek_function_t; >typedef __io_close_fn cookie_close_function_t; > > >typedef struct >{ > __io_read_fn *read; > __io_write_fn *write; > __io_seek_fn *seek; > __io_close_fn *close; >} _IO_cookie_io_functions_t; >typedef _IO_cookie_io_functions_t cookie_io_functions_t; > >struct _IO_cookie_file; > > >extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, > void *__cookie, _IO_cookie_io_functions_t __fns); > > > > > > > >extern int __underflow (_IO_FILE *); >extern int __uflow (_IO_FILE *); >extern int __overflow (_IO_FILE *, int); ># 458 "/usr/include/libio.h" 3 4 >extern int _IO_getc (_IO_FILE *__fp); >extern int _IO_putc (int __c, _IO_FILE *__fp); >extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__)); >extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__)); > >extern int _IO_peekc_locked (_IO_FILE *__fp); > > > > > >extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__)); >extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__)); >extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__)); ># 488 "/usr/include/libio.h" 3 4 >extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, > __gnuc_va_list, int *__restrict); >extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, > __gnuc_va_list); >extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); > >extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__)); ># 76 "/usr/include/stdio.h" 2 3 4 > > > > >typedef __gnuc_va_list va_list; ># 89 "/usr/include/stdio.h" 3 4 > > >typedef _G_fpos_t fpos_t; > > > > > >typedef _G_fpos64_t fpos64_t; ># 141 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 142 "/usr/include/stdio.h" 2 3 4 > > > >extern struct _IO_FILE *stdin; >extern struct _IO_FILE *stdout; >extern struct _IO_FILE *stderr; > > > > > > > > > >extern int remove (__const char *__filename) __attribute__ ((__nothrow__)); > >extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__)); > > > > >extern int renameat (int __oldfd, __const char *__old, int __newfd, > __const char *__new) __attribute__ ((__nothrow__)); > > > > > > > > >extern FILE *tmpfile (void) __attribute__ ((__warn_unused_result__)); ># 184 "/usr/include/stdio.h" 3 4 >extern FILE *tmpfile64 (void) __attribute__ ((__warn_unused_result__)); > > > >extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > > >extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); ># 206 "/usr/include/stdio.h" 3 4 >extern char *tempnam (__const char *__dir, __const char *__pfx) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); > ># 231 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 241 "/usr/include/stdio.h" 3 4 >extern int fcloseall (void); > > > > > > > > > >extern FILE *fopen (__const char *__restrict __filename, > __const char *__restrict __modes) __attribute__ ((__warn_unused_result__)); > > > > >extern FILE *freopen (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); ># 274 "/usr/include/stdio.h" 3 4 > > >extern FILE *fopen64 (__const char *__restrict __filename, > __const char *__restrict __modes) __attribute__ ((__warn_unused_result__)); >extern FILE *freopen64 (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > >extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > > >extern FILE *fopencookie (void *__restrict __magic_cookie, > __const char *__restrict __modes, > _IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > >extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) > __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > >extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__)); > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) __attribute__ ((__nothrow__)); > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) __attribute__ ((__nothrow__)); > > >extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__)); > > > > > > > > >extern int fprintf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int printf (__const char *__restrict __format, ...); > >extern int sprintf (char *__restrict __s, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); > > > > > >extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg); > > > > >extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); > >extern int vsprintf (char *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) __attribute__ ((__nothrow__)); > > > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); > > > > > > >extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f, > __gnuc_va_list __arg) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) __attribute__ ((__warn_unused_result__)); >extern int __asprintf (char **__restrict __ptr, > __const char *__restrict __fmt, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__)); >extern int asprintf (char **__restrict __ptr, > __const char *__restrict __fmt, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__)); > > > > > > > >extern int vdprintf (int __fd, __const char *__restrict __fmt, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__printf__, 2, 0))); >extern int dprintf (int __fd, __const char *__restrict __fmt, ...) > __attribute__ ((__format__ (__printf__, 2, 3))); > > > > > > > > >extern int fscanf (FILE *__restrict __stream, > __const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)); > > > > >extern int scanf (__const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)); > >extern int sscanf (__const char *__restrict __s, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); ># 443 "/usr/include/stdio.h" 3 4 > > > > > > > > >extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__)); > > > > > >extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__)); > > >extern int vsscanf (__const char *__restrict __s, > __const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0))); ># 502 "/usr/include/stdio.h" 3 4 > > > > > > > > > >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); > ># 530 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 541 "/usr/include/stdio.h" 3 4 >extern int fgetc_unlocked (FILE *__stream); > > > > > > > > > > > >extern int fputc (int __c, FILE *__stream); >extern int putc (int __c, FILE *__stream); > > > > > >extern int putchar (int __c); > ># 574 "/usr/include/stdio.h" 3 4 >extern int fputc_unlocked (int __c, FILE *__stream); > > > > > > > >extern int putc_unlocked (int __c, FILE *__stream); >extern int putchar_unlocked (int __c); > > > > > > >extern int getw (FILE *__stream); > > >extern int putw (int __w, FILE *__stream); > > > > > > > > >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) > __attribute__ ((__warn_unused_result__)); > > > > > > >extern char *gets (char *__s) __attribute__ ((__warn_unused_result__)); > ># 620 "/usr/include/stdio.h" 3 4 >extern char *fgets_unlocked (char *__restrict __s, int __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); ># 636 "/usr/include/stdio.h" 3 4 >extern __ssize_t __getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern __ssize_t getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > > > > >extern __ssize_t getline (char **__restrict __lineptr, > size_t *__restrict __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); > > > > > >extern int puts (__const char *__s); > > > > > > >extern int ungetc (int __c, FILE *__stream); > > > > > > >extern size_t fread (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > >extern size_t fwrite (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __s) __attribute__ ((__warn_unused_result__)); > ># 697 "/usr/include/stdio.h" 3 4 >extern int fputs_unlocked (__const char *__restrict __s, > FILE *__restrict __stream); ># 708 "/usr/include/stdio.h" 3 4 >extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern int fseek (FILE *__stream, long int __off, int __whence); > > > > >extern long int ftell (FILE *__stream) __attribute__ ((__warn_unused_result__)); > > > > >extern void rewind (FILE *__stream); > ># 744 "/usr/include/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off_t __off, int __whence); > > > > >extern __off_t ftello (FILE *__stream) __attribute__ ((__warn_unused_result__)); ># 763 "/usr/include/stdio.h" 3 4 > > > > > > >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); > > > > >extern int fsetpos (FILE *__stream, __const fpos_t *__pos); ># 786 "/usr/include/stdio.h" 3 4 > > > >extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); >extern __off64_t ftello64 (FILE *__stream) __attribute__ ((__warn_unused_result__)); >extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); >extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos); > > > > >extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__)); > >extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > >extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > >extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); >extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); >extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern void perror (__const char *__s); > > > > > > ># 1 "/usr/include/bits/sys_errlist.h" 1 3 4 ># 27 "/usr/include/bits/sys_errlist.h" 3 4 >extern int sys_nerr; >extern __const char *__const sys_errlist[]; > > >extern int _sys_nerr; >extern __const char *__const _sys_errlist[]; ># 825 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); ># 844 "/usr/include/stdio.h" 3 4 >extern FILE *popen (__const char *__command, __const char *__modes) __attribute__ ((__warn_unused_result__)); > > > > > >extern int pclose (FILE *__stream); > > > > > >extern char *ctermid (char *__s) __attribute__ ((__nothrow__)); > > > > > >extern char *cuserid (char *__s); > > > > >struct obstack; > > >extern int obstack_printf (struct obstack *__restrict __obstack, > __const char *__restrict __format, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))); >extern int obstack_vprintf (struct obstack *__restrict __obstack, > __const char *__restrict __format, > __gnuc_va_list __args) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))); > > > > > > > >extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__)); > > > >extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > >extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__)); ># 905 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio.h" 1 3 4 ># 44 "/usr/include/bits/stdio.h" 3 4 >extern __inline int >getchar (void) >{ > return _IO_getc (stdin); >} > > > > >extern __inline int >fgetc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > > > > >extern __inline int >getc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > >extern __inline int >getchar_unlocked (void) >{ > return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); >} > > > > >extern __inline int >putchar (int __c) >{ > return _IO_putc (__c, stdout); >} > > > > >extern __inline int >fputc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > > > > >extern __inline int >putc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > >extern __inline int >putchar_unlocked (int __c) >{ > return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); >} > > > > > >extern __inline __ssize_t >getline (char **__lineptr, size_t *__n, FILE *__stream) >{ > return __getdelim (__lineptr, __n, '\n', __stream); >} > > > > > >extern __inline int >__attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >extern __inline int >__attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x20) != 0); >} ># 906 "/usr/include/stdio.h" 2 3 4 > > ># 1 "/usr/include/bits/stdio2.h" 1 3 4 ># 24 "/usr/include/bits/stdio2.h" 3 4 >extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); >extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen, > __const char *__restrict __format, > __gnuc_va_list __ap) __attribute__ ((__nothrow__)); > > >extern __inline __attribute__ ((__always_inline__)) int >__attribute__ ((__nothrow__)) sprintf (char *__restrict __s, __const char *__restrict __fmt, ...) >{ > return __builtin___sprintf_chk (__s, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ()); >} > > > > > > >extern __inline __attribute__ ((__always_inline__)) int >__attribute__ ((__nothrow__)) vsprintf (char *__restrict __s, __const char *__restrict __fmt, __gnuc_va_list __ap) > >{ > return __builtin___vsprintf_chk (__s, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __ap); >} > > > >extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag, > size_t __slen, __const char *__restrict __format, > ...) __attribute__ ((__nothrow__)); >extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag, > size_t __slen, __const char *__restrict __format, > __gnuc_va_list __ap) __attribute__ ((__nothrow__)); > > >extern __inline __attribute__ ((__always_inline__)) int >__attribute__ ((__nothrow__)) snprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, ...) > >{ > return __builtin___snprintf_chk (__s, __n, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ()); >} > > > > > > >extern __inline __attribute__ ((__always_inline__)) int >__attribute__ ((__nothrow__)) vsnprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, __gnuc_va_list __ap) > >{ > return __builtin___vsnprintf_chk (__s, __n, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __ap); >} > > > > > >extern int __fprintf_chk (FILE *__restrict __stream, int __flag, > __const char *__restrict __format, ...); >extern int __printf_chk (int __flag, __const char *__restrict __format, ...); >extern int __vfprintf_chk (FILE *__restrict __stream, int __flag, > __const char *__restrict __format, __gnuc_va_list __ap); >extern int __vprintf_chk (int __flag, __const char *__restrict __format, > __gnuc_va_list __ap); > > >extern __inline __attribute__ ((__always_inline__)) int >fprintf (FILE *__restrict __stream, __const char *__restrict __fmt, ...) >{ > return __fprintf_chk (__stream, 2 - 1, __fmt, > __builtin_va_arg_pack ()); >} > >extern __inline __attribute__ ((__always_inline__)) int >printf (__const char *__restrict __fmt, ...) >{ > return __printf_chk (2 - 1, __fmt, __builtin_va_arg_pack ()); >} > > > > > > > >extern __inline __attribute__ ((__always_inline__)) int >vprintf (__const char *__restrict __fmt, __gnuc_va_list __ap) >{ > > return __vfprintf_chk (stdout, 2 - 1, __fmt, __ap); > > > >} > >extern __inline __attribute__ ((__always_inline__)) int >vfprintf (FILE *__restrict __stream, > __const char *__restrict __fmt, __gnuc_va_list __ap) >{ > return __vfprintf_chk (__stream, 2 - 1, __fmt, __ap); >} > > > >extern char *__gets_chk (char *__str, size_t) __attribute__ ((__warn_unused_result__)); >extern char *__gets_warn (char *__str) __asm__ ("" "gets") > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use fgets or getline instead, gets can't " "specify buffer size"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__warn_unused_result__)) char * >gets (char *__str) >{ > if (__builtin_object_size (__str, 2 > 1) != (size_t) -1) > return __gets_chk (__str, __builtin_object_size (__str, 2 > 1)); > return __gets_warn (__str); >} > >extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern char *__fgets_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets") __attribute__ ((__warn_unused_result__)); > > >extern char *__fgets_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_chk") > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets called with bigger size than length " "of destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__warn_unused_result__)) char * >fgets (char *__restrict __s, int __n, FILE *__restrict __stream) >{ > if (__builtin_object_size (__s, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__n) || __n <= 0) > return __fgets_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); > > if ((size_t) __n > __builtin_object_size (__s, 2 > 1)) > return __fgets_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); > } > return __fgets_alias (__s, __n, __stream); >} > >extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen, > size_t __size, size_t __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern size_t __fread_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread") __attribute__ ((__warn_unused_result__)); > > > >extern size_t __fread_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_chk") > > > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread called with bigger size * nmemb than length " "of destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__warn_unused_result__)) size_t >fread (void *__restrict __ptr, size_t __size, size_t __n, > FILE *__restrict __stream) >{ > if (__builtin_object_size (__ptr, 0) != (size_t) -1) > { > if (!__builtin_constant_p (__size) > || !__builtin_constant_p (__n) > || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) > return __fread_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream); > > if (__size * __n > __builtin_object_size (__ptr, 0)) > return __fread_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream); > } > return __fread_alias (__ptr, __size, __n, __stream); >} > > >extern char *__fgets_unlocked_chk (char *__restrict __s, size_t __size, > int __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern char *__fgets_unlocked_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets_unlocked") __attribute__ ((__warn_unused_result__)); > > >extern char *__fgets_unlocked_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_unlocked_chk") > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets_unlocked called with bigger size than length " "of destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__warn_unused_result__)) char * >fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream) >{ > if (__builtin_object_size (__s, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__n) || __n <= 0) > return __fgets_unlocked_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); > > if ((size_t) __n > __builtin_object_size (__s, 2 > 1)) > return __fgets_unlocked_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); > } > return __fgets_unlocked_alias (__s, __n, __stream); >} > > > > >extern size_t __fread_unlocked_chk (void *__restrict __ptr, size_t __ptrlen, > size_t __size, size_t __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern size_t __fread_unlocked_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread_unlocked") __attribute__ ((__warn_unused_result__)); > > > >extern size_t __fread_unlocked_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_unlocked_chk") > > > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread_unlocked called with bigger size * nmemb than " "length of destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__warn_unused_result__)) size_t >fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, > FILE *__restrict __stream) >{ > if (__builtin_object_size (__ptr, 0) != (size_t) -1) > { > if (!__builtin_constant_p (__size) > || !__builtin_constant_p (__n) > || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) > return __fread_unlocked_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, > __stream); > > if (__size * __n > __builtin_object_size (__ptr, 0)) > return __fread_unlocked_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, > __stream); > } > > > if (__builtin_constant_p (__size) > && __builtin_constant_p (__n) > && (__size | __n) < (((size_t) 1) << (8 * sizeof (size_t) / 2)) > && __size * __n <= 8) > { > size_t __cnt = __size * __n; > char *__cptr = (char *) __ptr; > if (__cnt == 0) > return 0; > > for (; __cnt > 0; --__cnt) > { > int __c = (__builtin_expect (((__stream)->_IO_read_ptr >= (__stream)->_IO_read_end), 0) ? __uflow (__stream) : *(unsigned char *) (__stream)->_IO_read_ptr++); > if (__c == (-1)) > break; > *__cptr++ = __c; > } > return (__cptr - (char *) __ptr) / __size; > } > > return __fread_unlocked_alias (__ptr, __size, __n, __stream); >} ># 909 "/usr/include/stdio.h" 2 3 4 > > > > > > ># 35 "ImUtil.c" 2 ># 1 "../include/X11/ImUtil.h" 1 > > > > > >extern int >_XGetScanlinePad( > Display *dpy, > int depth); > >extern int >_XGetBitsPerPixel( > Display *dpy, > int depth); > >extern int >_XSetImage( > XImage *srcimg, > register XImage *dstimg, > register int x, > register int y); > >extern int >_XReverse_Bytes( > register unsigned char *bpt, > register int nb); >extern void >_XInitImageFuncPtrs( > register XImage *image); ># 36 "ImUtil.c" 2 > >static int _XDestroyImage(XImage *); >static unsigned long _XGetPixel(XImage *, int, int); >static unsigned long _XGetPixel1(XImage *, int, int); >static unsigned long _XGetPixel8(XImage *, int, int); >static unsigned long _XGetPixel16(XImage *, int, int); >static unsigned long _XGetPixel32(XImage *, int, int); >static int _XPutPixel(XImage *, int, int, unsigned long); >static int _XPutPixel1(XImage *, int, int, unsigned long); >static int _XPutPixel8(XImage *, int, int, unsigned long); >static int _XPutPixel16(XImage *, int, int, unsigned long); >static int _XPutPixel32(XImage *, int, int, unsigned long); >static XImage *_XSubImage(XImage *, int, int, unsigned int, unsigned int); >static int _XAddPixel(XImage *, long); > >static unsigned char const _lomask[0x09] = { 0x00, 0x01, 0x03, 0x07, 0x0f, 0x1f, 0x3f, 0x7f, 0xff }; >static unsigned char const _himask[0x09] = { 0xff, 0xfe, 0xfc, 0xf8, 0xf0, 0xe0, 0xc0, 0x80, 0x00 }; > > > > > >int >_XGetScanlinePad( > Display *dpy, > int depth) > { > register ScreenFormat *fmt = dpy->pixmap_format; > register int i; > > for (i = dpy->nformats + 1; --i; ++fmt) > if (fmt->depth == depth) > return(fmt->scanline_pad); > > return(dpy->bitmap_pad); > } > >int >_XGetBitsPerPixel( > Display *dpy, > int depth) > { > register ScreenFormat *fmt = dpy->pixmap_format; > register int i; > > for (i = dpy->nformats + 1; --i; ++fmt) > if (fmt->depth == depth) > return(fmt->bits_per_pixel); > if (depth <= 4) > return 4; > if (depth <= 8) > return 8; > if (depth <= 16) > return 16; > return 32; > } ># 123 "ImUtil.c" >static void _xynormalizeimagebits ( > register unsigned char *bp, > register XImage *img) >{ > register unsigned char c; > > if (img->byte_order != img->bitmap_bit_order) { > switch (img->bitmap_unit) { > > case 16: > c = *bp; > *bp = *(bp + 1); > *(bp + 1) = c; > break; > > case 32: > c = *(bp + 3); > *(bp + 3) = *bp; > *bp = c; > c = *(bp + 2); > *(bp + 2) = *(bp + 1); > *(bp + 1) = c; > break; > } > } > if (img->bitmap_bit_order == 1) > _XReverse_Bytes (bp, img->bitmap_unit >> 3); >} > >static void _znormalizeimagebits ( > register unsigned char *bp, > register XImage *img) >{ > register unsigned char c; > switch (img->bits_per_pixel) { > > case 4: > *bp = ((*bp >> 4) & 0xF) | ((*bp << 4) & ~0xF); > break; > > case 16: > c = *bp; > *bp = *(bp + 1); > *(bp + 1) = c; > break; > > case 24: > c = *(bp + 2); > *(bp + 2) = *bp; > *bp = c; > break; > > case 32: > c = *(bp + 3); > *(bp + 3) = *bp; > *bp = c; > c = *(bp + 2); > *(bp + 2) = *(bp + 1); > *(bp + 1) = c; > break; > } >} > >static void _putbits( > register char *src, > int dstoffset, > register int numbits, > register char *dst) >{ > register unsigned char chlo, chhi; > int hibits; > dst = dst + (dstoffset >> 3); > dstoffset = dstoffset & 7; > hibits = 8 - dstoffset; > chlo = *dst & _lomask[dstoffset]; > for (;;) { > chhi = (*src << dstoffset) & _himask[dstoffset]; > if (numbits <= hibits) { > chhi = chhi & _lomask[dstoffset + numbits]; > *dst = (*dst & _himask[dstoffset + numbits]) | chlo | chhi; > break; > } > *dst = chhi | chlo; > dst++; > numbits = numbits - hibits; > chlo = (unsigned char) (*src & _himask[hibits]) >> hibits; > src++; > if (numbits <= dstoffset) { > chlo = chlo & _lomask[numbits]; > *dst = (*dst & _himask[numbits]) | chlo; > break; > } > numbits = numbits - dstoffset; > } >} ># 273 "ImUtil.c" >void _XInitImageFuncPtrs ( > register XImage *image) >{ > image->f.create_image = XCreateImage; > image->f.destroy_image = _XDestroyImage; > if ((image->format == 2) && (image->bits_per_pixel == 8)) { > image->f.get_pixel = _XGetPixel8; > image->f.put_pixel = _XPutPixel8; > } else if (((image->bits_per_pixel | image->depth) == 1) && > (image->byte_order == image->bitmap_bit_order)) { > image->f.get_pixel = _XGetPixel1; > image->f.put_pixel = _XPutPixel1; > } else if ((image->format == 2) && > (image->bits_per_pixel == 32)) { > image->f.get_pixel = _XGetPixel32; > image->f.put_pixel = _XPutPixel32; > } else if ((image->format == 2) && > (image->bits_per_pixel == 16)) { > image->f.get_pixel = _XGetPixel16; > image->f.put_pixel = _XPutPixel16; > } else { > image->f.get_pixel = _XGetPixel; > image->f.put_pixel = _XPutPixel; > } > image->f.sub_image = _XSubImage; > > image->f.add_pixel = _XAddPixel; >} ># 310 "ImUtil.c" >XImage *XCreateImage ( > register Display *dpy, > register Visual *visual, > unsigned int depth, > int format, > int offset, > > > char *data, > unsigned int width, > unsigned int height, > int xpad, > int image_bytes_per_line) > > > >{ > register XImage *image; > int bits_per_pixel = 1; > int min_bytes_per_line; > > if (depth == 0 || depth > 32 || > (format != 0 && format != 1 && format != 2) || > (format == 0 && depth != 1) || > (xpad != 8 && xpad != 16 && xpad != 32) || > offset < 0) > return (XImage *) ((void *)0); > if ((image = (XImage *) calloc(((1) == 0 ? 1 : (1)), ((unsigned) sizeof(XImage)))) == ((void *)0)) > return (XImage *) ((void *)0); > > image->width = width; > image->height = height; > image->format = format; > image->byte_order = dpy->byte_order; > image->bitmap_unit = dpy->bitmap_unit; > image->bitmap_bit_order = dpy->bitmap_bit_order; > if (visual != ((void *)0)) { > image->red_mask = visual->red_mask; > image->green_mask = visual->green_mask; > image->blue_mask = visual->blue_mask; > } > else { > image->red_mask = image->green_mask = image->blue_mask = 0; > } > if (format == 2) > { > bits_per_pixel = _XGetBitsPerPixel(dpy, (int) depth); > } > > image->xoffset = offset; > image->bitmap_pad = xpad; > image->depth = depth; > image->data = data; > > > > { > if (format == 2) > min_bytes_per_line = > (((((bits_per_pixel * width)) + ((image->bitmap_pad)-1)) / (image->bitmap_pad)) * ((image->bitmap_pad)>>3)); > else > min_bytes_per_line = > (((((width + offset)) + ((image->bitmap_pad)-1)) / (image->bitmap_pad)) * ((image->bitmap_pad)>>3)); > } > if (image_bytes_per_line == 0) { > image->bytes_per_line = min_bytes_per_line; > } else if (image_bytes_per_line < min_bytes_per_line) { > return 0; > } else { > image->bytes_per_line = image_bytes_per_line; > } > > image->bits_per_pixel = bits_per_pixel; > image->obdata = ((void *)0); > _XInitImageFuncPtrs (image); > > return image; >} > >int XInitImage (XImage *image) >{ > int min_bytes_per_line; > > if (image->depth == 0 || image->depth > 32 || > image->bits_per_pixel > 32 || image->bitmap_unit > 32 || > image->bits_per_pixel < 0 || image->bitmap_unit < 0 || > (image->format != 0 && > image->format != 1 && > image->format != 2) || > (image->format == 0 && image->depth != 1) || > (image->bitmap_pad != 8 && > image->bitmap_pad != 16 && > image->bitmap_pad != 32) || > image->xoffset < 0) > return 0; > > > > > if (image->format == 2) > min_bytes_per_line = > (((((image->bits_per_pixel * image->width)) + ((image->bitmap_pad)-1)) / (image->bitmap_pad)) * ((image->bitmap_pad)>>3)); > > else > min_bytes_per_line = > (((((image->width + image->xoffset)) + ((image->bitmap_pad)-1)) / (image->bitmap_pad)) * ((image->bitmap_pad)>>3)); > > if (image->bytes_per_line == 0) { > image->bytes_per_line = min_bytes_per_line; > } else if (image->bytes_per_line < min_bytes_per_line) { > return 0; > } > > _XInitImageFuncPtrs (image); > > return 1; >} ># 436 "ImUtil.c" >static int _XDestroyImage (XImage *ximage) >{ > if (ximage->data != ((void *)0)) free(((char *)ximage->data)); > if (ximage->obdata != ((void *)0)) free(((char *)ximage->obdata)); > free(((char *)ximage)); > return 1; >} ># 459 "ImUtil.c" >static unsigned long const low_bits_table[] = { > 0x00000000, 0x00000001, 0x00000003, 0x00000007, > 0x0000000f, 0x0000001f, 0x0000003f, 0x0000007f, > 0x000000ff, 0x000001ff, 0x000003ff, 0x000007ff, > 0x00000fff, 0x00001fff, 0x00003fff, 0x00007fff, > 0x0000ffff, 0x0001ffff, 0x0003ffff, 0x0007ffff, > 0x000fffff, 0x001fffff, 0x003fffff, 0x007fffff, > 0x00ffffff, 0x01ffffff, 0x03ffffff, 0x07ffffff, > 0x0fffffff, 0x1fffffff, 0x3fffffff, 0x7fffffff, > 0xffffffff >}; > >static unsigned long _XGetPixel ( > register XImage *ximage, > int x, > int y) > >{ > unsigned long pixel, px; > register char *src; > register char *dst; > register int i, j; > int bits, nbytes; > long plane; > > if ((ximage->bits_per_pixel | ximage->depth) == 1) { > src = &ximage->data[((y) * ximage->bytes_per_line) + (((x) + ximage->xoffset) / ximage->bitmap_unit) * (ximage->bitmap_unit >> 3)]; > dst = (char *)&pixel; > pixel = 0; > for (i = ximage->bitmap_unit >> 3; --i >= 0; ) *dst++ = *src++; > if ((ximage->byte_order == 1) || (ximage->bitmap_bit_order == 1)) _xynormalizeimagebits((unsigned char *)(&pixel), ximage); > bits = (x + ximage->xoffset) % ximage->bitmap_unit; > pixel = ((((char *)&pixel)[bits>>3])>>(bits&7)) & 1; > } else if (ximage->format == 1) { > pixel = 0; > plane = 0; > nbytes = ximage->bitmap_unit >> 3; > for (i = ximage->depth; --i >= 0; ) { > src = &ximage->data[((y) * ximage->bytes_per_line) + (((x) + ximage->xoffset) / ximage->bitmap_unit) * (ximage->bitmap_unit >> 3)+ plane]; > dst = (char *)&px; > px = 0; > for (j = nbytes; --j >= 0; ) *dst++ = *src++; > if ((ximage->byte_order == 1) || (ximage->bitmap_bit_order == 1)) _xynormalizeimagebits((unsigned char *)(&px), ximage); > bits = (x + ximage->xoffset) % ximage->bitmap_unit; > pixel = (pixel << 1) | > (((((char *)&px)[bits>>3])>>(bits&7)) & 1); > plane = plane + (ximage->bytes_per_line * ximage->height); > } > } else if (ximage->format == 2) { > src = &ximage->data[((y) * ximage->bytes_per_line) + (((x) * ximage->bits_per_pixel) >> 3)]; > dst = (char *)&px; > px = 0; > for (i = (ximage->bits_per_pixel + 7) >> 3; --i >= 0; ) > *dst++ = *src++; > if (ximage->byte_order == 1) _znormalizeimagebits((unsigned char *)(&px), ximage); > pixel = 0; > for (i=sizeof(unsigned long); --i >= 0; ) > pixel = (pixel << 8) | ((unsigned char *)&px)[i]; > if (ximage->bits_per_pixel == 4) { > if (x & 1) > pixel >>= 4; > else > pixel &= 0xf; > } > } else { > return 0; > } > if (ximage->bits_per_pixel == ximage->depth) > return pixel; > else > return (pixel & low_bits_table[ximage->depth]); >} > > >static CARD32 const byteorderpixel = 1 << 24; > > >static unsigned long _XGetPixel32 ( > register XImage *ximage, > int x, > int y) >{ > register unsigned char *addr; > unsigned long pixel; > > if ((ximage->format == 2) && (ximage->bits_per_pixel == 32)) { > addr = &((unsigned char *)ximage->data) > [y * ximage->bytes_per_line + (x << 2)]; > > if (*((const char *)&byteorderpixel) == ximage->byte_order) > pixel = *((CARD32 *)addr); > else > > if (ximage->byte_order == 1) > pixel = ((unsigned long)addr[0] << 24 | > (unsigned long)addr[1] << 16 | > (unsigned long)addr[2] << 8 | > addr[3]); > else > pixel = ((unsigned long)addr[3] << 24 | > (unsigned long)addr[2] << 16 | > (unsigned long)addr[1] << 8 | > addr[0]); > if (ximage->depth != 32) > pixel &= low_bits_table[ximage->depth]; > return pixel; > } else { > _XInitImageFuncPtrs(ximage); > return ((*((ximage)->f.get_pixel))((ximage), (x), (y))); > } >} > >static unsigned long _XGetPixel16 ( > register XImage *ximage, > int x, > int y) >{ > register unsigned char *addr; > unsigned long pixel; > > if ((ximage->format == 2) && (ximage->bits_per_pixel == 16)) { > addr = &((unsigned char *)ximage->data) > [y * ximage->bytes_per_line + (x << 1)]; > if (ximage->byte_order == 1) > pixel = addr[0] << 8 | addr[1]; > else > pixel = addr[1] << 8 | addr[0]; > if (ximage->depth != 16) > pixel &= low_bits_table[ximage->depth]; > return pixel; > } else { > _XInitImageFuncPtrs(ximage); > return ((*((ximage)->f.get_pixel))((ximage), (x), (y))); > } >} > >static unsigned long _XGetPixel8 ( > register XImage *ximage, > int x, > int y) >{ > unsigned char pixel; > > if ((ximage->format == 2) && (ximage->bits_per_pixel == 8)) { > pixel = ((unsigned char *)ximage->data) > [y * ximage->bytes_per_line + x]; > if (ximage->depth != 8) > pixel &= low_bits_table[ximage->depth]; > return pixel; > } else { > _XInitImageFuncPtrs(ximage); > return ((*((ximage)->f.get_pixel))((ximage), (x), (y))); > } >} > >static unsigned long _XGetPixel1 ( > register XImage *ximage, > int x, > int y) >{ > unsigned char bit; > int xoff, yoff; > > if (((ximage->bits_per_pixel | ximage->depth) == 1) && > (ximage->byte_order == ximage->bitmap_bit_order)) { > xoff = x + ximage->xoffset; > yoff = y * ximage->bytes_per_line + (xoff >> 3); > xoff &= 7; > if (ximage->bitmap_bit_order == 1) > bit = 0x80 >> xoff; > else > bit = 1 << xoff; > return (ximage->data[yoff] & bit) ? 1 : 0; > } else { > _XInitImageFuncPtrs(ximage); > return ((*((ximage)->f.get_pixel))((ximage), (x), (y))); > } >} ># 654 "ImUtil.c" >static int _XPutPixel ( > register XImage *ximage, > int x, > int y, > unsigned long pixel) > >{ > unsigned long px, npixel; > register char *src; > register char *dst; > register int i; > int j, nbytes; > long plane; > > if (ximage->depth == 4) > pixel &= 0xf; > npixel = pixel; > for (i=0, px=pixel; i<sizeof(unsigned long); i++, px>>=8) > ((unsigned char *)&pixel)[i] = px; > if ((ximage->bits_per_pixel | ximage->depth) == 1) { > src = &ximage->data[((y) * ximage->bytes_per_line) + (((x) + ximage->xoffset) / ximage->bitmap_unit) * (ximage->bitmap_unit >> 3)]; > dst = (char *)&px; > px = 0; > nbytes = ximage->bitmap_unit >> 3; > for (i = nbytes; --i >= 0; ) *dst++ = *src++; > if ((ximage->byte_order == 1) || (ximage->bitmap_bit_order == 1)) _xynormalizeimagebits((unsigned char *)(&px), ximage); > i = ((x + ximage->xoffset) % ximage->bitmap_unit); > _putbits ((char *)&pixel, i, 1, (char *)&px); > if ((ximage->byte_order == 1) || (ximage->bitmap_bit_order == 1)) _xynormalizeimagebits((unsigned char *)(&px), ximage); > src = (char *) &px; > dst = &ximage->data[((y) * ximage->bytes_per_line) + (((x) + ximage->xoffset) / ximage->bitmap_unit) * (ximage->bitmap_unit >> 3)]; > for (i = nbytes; --i >= 0; ) *dst++ = *src++; > } else if (ximage->format == 1) { > plane = (ximage->bytes_per_line * ximage->height) * > (ximage->depth - 1); > nbytes = ximage->bitmap_unit >> 3; > for (j = ximage->depth; --j >= 0; ) { > src = &ximage->data[((y) * ximage->bytes_per_line) + (((x) + ximage->xoffset) / ximage->bitmap_unit) * (ximage->bitmap_unit >> 3) + plane]; > dst = (char *) &px; > px = 0; > for (i = nbytes; --i >= 0; ) *dst++ = *src++; > if ((ximage->byte_order == 1) || (ximage->bitmap_bit_order == 1)) _xynormalizeimagebits((unsigned char *)(&px), ximage); > i = ((x + ximage->xoffset) % ximage->bitmap_unit); > _putbits ((char *)&pixel, i, 1, (char *)&px); > if ((ximage->byte_order == 1) || (ximage->bitmap_bit_order == 1)) _xynormalizeimagebits((unsigned char *)(&px), ximage); > src = (char *)&px; > dst = &ximage->data[((y) * ximage->bytes_per_line) + (((x) + ximage->xoffset) / ximage->bitmap_unit) * (ximage->bitmap_unit >> 3) + plane]; > for (i = nbytes; --i >= 0; ) *dst++ = *src++; > npixel = npixel >> 1; > for (i=0, px=npixel; i<sizeof(unsigned long); i++, px>>=8) > ((unsigned char *)&pixel)[i] = px; > plane = plane - (ximage->bytes_per_line * ximage->height); > } > } else if (ximage->format == 2) { > src = &ximage->data[((y) * ximage->bytes_per_line) + (((x) * ximage->bits_per_pixel) >> 3)]; > dst = (char *)&px; > px = 0; > nbytes = (ximage->bits_per_pixel + 7) >> 3; > for (i = nbytes; --i >= 0; ) *dst++ = *src++; > if (ximage->byte_order == 1) _znormalizeimagebits((unsigned char *)(&px), ximage); > _putbits ((char *)&pixel, > (x * ximage->bits_per_pixel) & 7, > ximage->bits_per_pixel, (char *)&px); > if (ximage->byte_order == 1) _znormalizeimagebits((unsigned char *)(&px), ximage); > src = (char *)&px; > dst = &ximage->data[((y) * ximage->bytes_per_line) + (((x) * ximage->bits_per_pixel) >> 3)]; > for (i = nbytes; --i >= 0; ) *dst++ = *src++; > } else { > return 0; > } > return 1; >} > >static int _XPutPixel32 ( > register XImage *ximage, > int x, > int y, > unsigned long pixel) >{ > unsigned char *addr; > > if ((ximage->format == 2) && (ximage->bits_per_pixel == 32)) { > addr = &((unsigned char *)ximage->data) > [y * ximage->bytes_per_line + (x << 2)]; > > if (*((const char *)&byteorderpixel) == ximage->byte_order) > *((CARD32 *)addr) = pixel; > else > > if (ximage->byte_order == 1) { > addr[0] = pixel >> 24; > addr[1] = pixel >> 16; > addr[2] = pixel >> 8; > addr[3] = pixel; > } else { > addr[3] = pixel >> 24; > addr[2] = pixel >> 16; > addr[1] = pixel >> 8; > addr[0] = pixel; > } > return 1; > } else { > _XInitImageFuncPtrs(ximage); > return ((*((ximage)->f.put_pixel))((ximage), (x), (y), (pixel))); > } >} > >static int _XPutPixel16 ( > register XImage *ximage, > int x, > int y, > unsigned long pixel) >{ > unsigned char *addr; > > if ((ximage->format == 2) && (ximage->bits_per_pixel == 16)) { > addr = &((unsigned char *)ximage->data) > [y * ximage->bytes_per_line + (x << 1)]; > if (ximage->byte_order == 1) { > addr[0] = pixel >> 8; > addr[1] = pixel; > } else { > addr[1] = pixel >> 8; > addr[0] = pixel; > } > return 1; > } else { > _XInitImageFuncPtrs(ximage); > return ((*((ximage)->f.put_pixel))((ximage), (x), (y), (pixel))); > } >} > >static int _XPutPixel8 ( > register XImage *ximage, > int x, > int y, > unsigned long pixel) >{ > if ((ximage->format == 2) && (ximage->bits_per_pixel == 8)) { > ximage->data[y * ximage->bytes_per_line + x] = pixel; > return 1; > } else { > _XInitImageFuncPtrs(ximage); > return ((*((ximage)->f.put_pixel))((ximage), (x), (y), (pixel))); > } >} > >static int _XPutPixel1 ( > register XImage *ximage, > int x, > int y, > unsigned long pixel) >{ > unsigned char bit; > int xoff, yoff; > > if (((ximage->bits_per_pixel | ximage->depth) == 1) && > (ximage->byte_order == ximage->bitmap_bit_order)) { > xoff = x + ximage->xoffset; > yoff = y * ximage->bytes_per_line + (xoff >> 3); > xoff &= 7; > if (ximage->bitmap_bit_order == 1) > bit = 0x80 >> xoff; > else > bit = 1 << xoff; > if (pixel & 1) > ximage->data[yoff] |= bit; > else > ximage->data[yoff] &= ~bit; > return 1; > } else { > _XInitImageFuncPtrs(ximage); > return ((*((ximage)->f.put_pixel))((ximage), (x), (y), (pixel))); > } >} ># 840 "ImUtil.c" >static XImage *_XSubImage ( > XImage *ximage, > register int x, > register int y, > unsigned int width, > unsigned int height) > >{ > register XImage *subimage; > int dsize; > register int row, col; > register unsigned long pixel; > char *data; > > if ((subimage = (XImage *) calloc(((1) == 0 ? 1 : (1)), (sizeof (XImage)))) == ((void *)0)) > return (XImage *) ((void *)0); > subimage->width = width; > subimage->height = height; > subimage->xoffset = 0; > subimage->format = ximage->format; > subimage->byte_order = ximage->byte_order; > subimage->bitmap_unit = ximage->bitmap_unit; > subimage->bitmap_bit_order = ximage->bitmap_bit_order; > subimage->bitmap_pad = ximage->bitmap_pad; > subimage->bits_per_pixel = ximage->bits_per_pixel; > subimage->depth = ximage->depth; > > > > if (subimage->format == 2) > subimage->bytes_per_line = > ((((subimage->bits_per_pixel * width) + ((subimage->bitmap_pad)-1)) / (subimage->bitmap_pad)) * ((subimage->bitmap_pad)>>3)); > > else > subimage->bytes_per_line = > ((((width) + ((subimage->bitmap_pad)-1)) / (subimage->bitmap_pad)) * ((subimage->bitmap_pad)>>3)); > subimage->obdata = ((void *)0); > _XInitImageFuncPtrs (subimage); > dsize = subimage->bytes_per_line * height; > if (subimage->format == 1) dsize = dsize * subimage->depth; > if (((data = calloc(((1) == 0 ? 1 : (1)), ((unsigned) dsize))) == ((void *)0)) && (dsize > 0)) { > free(((char *) subimage)); > return (XImage *) ((void *)0); > } > subimage->data = data; > > > > > > > > if (height > ximage->height - y ) height = ximage->height - y; > if (width > ximage->width - x ) width = ximage->width - x; > > for (row = y; row < (y + height); row++) { > for (col = x; col < (x + width); col++) { > pixel = ((*((ximage)->f.get_pixel))((ximage), (col), (row))); > ((*((subimage)->f.put_pixel))((subimage), ((col - x)), ((row - y)), (pixel))); > } > } > return subimage; >} ># 928 "ImUtil.c" >int _XSetImage( > XImage *srcimg, > register XImage *dstimg, > register int x, > register int y) >{ > register unsigned long pixel; > register int row, col; > int width, height, startrow, startcol; > if (x < 0) { > startcol = -x; > x = 0; > } else > startcol = 0; > if (y < 0) { > startrow = -y; > y = 0; > } else > startrow = 0; > width = dstimg->width - x; > if (srcimg->width < width) > width = srcimg->width; > height = dstimg->height - y; > if (srcimg->height < height) > height = srcimg->height; > > > for (row = startrow; row < height; row++) { > for (col = startcol; col < width; col++) { > pixel = ((*((srcimg)->f.get_pixel))((srcimg), (col), (row))); > ((*((dstimg)->f.put_pixel))((dstimg), (x + col), (y + row), (pixel))); > } > } > return 1; >} ># 971 "ImUtil.c" >static int >_XAddPixel ( > register XImage *ximage, > register long value) >{ > register int x; > register int y; > > if (!value) > return 0; > if ((ximage->bits_per_pixel | ximage->depth) == 1) { > > > > > > > > register unsigned char *dp = (unsigned char *) ximage->data; > x = ximage->bytes_per_line * ximage->height; > while (--x >= 0) { > *dp = ~*dp; > dp++; > } > } else if ((ximage->format == 2) && > (ximage->bits_per_pixel == 8)) { > register unsigned char *dp = (unsigned char *) ximage->data; > x = ximage->bytes_per_line * ximage->height; > while (--x >= 0) > *dp++ += value; > > } else if ((ximage->format == 2) && > (ximage->bits_per_pixel == 16) && > (*((const char *)&byteorderpixel) == ximage->byte_order)) { > register unsigned short *dp = (unsigned short *) ximage->data; > x = (ximage->bytes_per_line >> 1) * ximage->height; > while (--x >= 0) > *dp++ += value; > } else if ((ximage->format == 2) && > (ximage->bits_per_pixel == 32) && > (*((const char *)&byteorderpixel) == ximage->byte_order)) { > register CARD32 *dp = (CARD32 *) ximage->data; > x = (ximage->bytes_per_line >> 2) * ximage->height; > while (--x >= 0) > *dp++ += value; > > } else { > for (y = ximage->height; --y >= 0; ) { > for (x = ximage->width; --x >= 0; ) { > register unsigned long pixel = ((*((ximage)->f.get_pixel))((ximage), (x), (y))); > pixel = pixel + value; > ((*((ximage)->f.put_pixel))((ximage), (x), (y), (pixel))); > } > } > } > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 355496
: 194768