Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 907677 Details for
Bug 1094975
Using GCC 4.9.0-8 with opt flags to build Henry Spencer regex lib causes test failure on ppc64 and s390(x)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
regexec.i
regexec.i (text/plain), 119.00 KB, created by
Jakub Jelinek
on 2014-06-11 13:39:49 UTC
(
hide
)
Description:
regexec.i
Filename:
MIME Type:
Creator:
Jakub Jelinek
Created:
2014-06-11 13:39:49 UTC
Size:
119.00 KB
patch
obsolete
># 1 "regexec.c" ># 1 "<command-line>" ># 1 "/usr/include/stdc-predef.h" 1 3 4 ># 1 "<command-line>" 2 ># 1 "regexec.c" > > > > > > > ># 1 "/usr/include/sys/types.h" 1 3 4 ># 25 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 375 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 387 "/usr/include/sys/cdefs.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 388 "/usr/include/sys/cdefs.h" 2 3 4 ># 376 "/usr/include/features.h" 2 3 4 ># 399 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 > > > > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 6 "/usr/include/gnu/stubs.h" 2 3 4 > > > > > ># 1 "/usr/include/gnu/stubs-64.h" 1 3 4 ># 12 "/usr/include/gnu/stubs.h" 2 3 4 ># 400 "/usr/include/features.h" 2 3 4 ># 26 "/usr/include/sys/types.h" 2 3 4 > > > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 27 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 28 "/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; ># 130 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 131 "/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 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 __fsword_t; > >typedef long int __ssize_t; > > >typedef long int __syscall_slong_t; > >typedef unsigned long int __syscall_ulong_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; ># 30 "/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; ># 60 "/usr/include/sys/types.h" 3 4 >typedef __dev_t dev_t; > > > > >typedef __gid_t gid_t; > > > > >typedef __mode_t mode_t; > > > > >typedef __nlink_t nlink_t; > > > > >typedef __uid_t uid_t; > > > > > >typedef __off_t off_t; ># 98 "/usr/include/sys/types.h" 3 4 >typedef __pid_t pid_t; > > > > > >typedef __id_t id_t; > > > > >typedef __ssize_t ssize_t; > > > > > >typedef __daddr_t daddr_t; >typedef __caddr_t caddr_t; > > > > > >typedef __key_t key_t; ># 132 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 57 "/usr/include/time.h" 3 4 > > >typedef __clock_t clock_t; > > > ># 73 "/usr/include/time.h" 3 4 > > >typedef __time_t time_t; > > > ># 91 "/usr/include/time.h" 3 4 >typedef __clockid_t clockid_t; ># 103 "/usr/include/time.h" 3 4 >typedef __timer_t timer_t; ># 133 "/usr/include/sys/types.h" 2 3 4 ># 146 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.8.2/include/stddef.h" 1 3 4 ># 212 "/usr/lib/gcc/s390x-redhat-linux/4.8.2/include/stddef.h" 3 4 >typedef long unsigned int size_t; ># 147 "/usr/include/sys/types.h" 2 3 4 > > > >typedef unsigned long int ulong; >typedef unsigned short int ushort; >typedef unsigned int uint; ># 194 "/usr/include/sys/types.h" 3 4 >typedef int int8_t __attribute__ ((__mode__ (__QI__))); >typedef int int16_t __attribute__ ((__mode__ (__HI__))); >typedef int int32_t __attribute__ ((__mode__ (__SI__))); >typedef int int64_t __attribute__ ((__mode__ (__DI__))); > > >typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); >typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); > >typedef int register_t __attribute__ ((__mode__ (__word__))); ># 216 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/endian.h" 1 3 4 ># 36 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/endian.h" 1 3 4 ># 37 "/usr/include/endian.h" 2 3 4 ># 60 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/byteswap.h" 1 3 4 ># 24 "/usr/include/bits/byteswap.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 25 "/usr/include/bits/byteswap.h" 2 3 4 ># 33 "/usr/include/bits/byteswap.h" 3 4 ># 1 "/usr/include/bits/byteswap-16.h" 1 3 4 ># 24 "/usr/include/bits/byteswap-16.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 25 "/usr/include/bits/byteswap-16.h" 2 3 4 ># 34 "/usr/include/bits/byteswap.h" 2 3 4 ># 61 "/usr/include/endian.h" 2 3 4 ># 217 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/select.h" 1 3 4 ># 30 "/usr/include/sys/select.h" 3 4 ># 1 "/usr/include/bits/select.h" 1 3 4 ># 31 "/usr/include/sys/select.h" 2 3 4 > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 23 "/usr/include/bits/sigset.h" 3 4 >typedef int __sig_atomic_t; > > > > >typedef struct > { > unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; > } __sigset_t; ># 34 "/usr/include/sys/select.h" 2 3 4 > > > >typedef __sigset_t sigset_t; > > > > > ># 1 "/usr/include/time.h" 1 3 4 ># 120 "/usr/include/time.h" 3 4 >struct timespec > { > __time_t tv_sec; > __syscall_slong_t tv_nsec; > }; ># 44 "/usr/include/sys/select.h" 2 3 4 > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 30 "/usr/include/bits/time.h" 3 4 >struct timeval > { > __time_t tv_sec; > __suseconds_t tv_usec; > }; ># 46 "/usr/include/sys/select.h" 2 3 4 > > >typedef __suseconds_t suseconds_t; > > > > > >typedef long int __fd_mask; ># 64 "/usr/include/sys/select.h" 3 4 >typedef struct > { > > > > > > > __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; > > > } fd_set; > > > > > > >typedef __fd_mask fd_mask; ># 96 "/usr/include/sys/select.h" 3 4 > ># 106 "/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); ># 118 "/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); ># 131 "/usr/include/sys/select.h" 3 4 > ># 220 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/sysmacros.h" 1 3 4 ># 29 "/usr/include/sys/sysmacros.h" 3 4 > > >__extension__ >extern unsigned int gnu_dev_major (unsigned long long int __dev) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); >__extension__ >extern unsigned int gnu_dev_minor (unsigned long long int __dev) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); >__extension__ >extern unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >__extension__ extern __inline __attribute__ ((__const__)) unsigned int >__attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (unsigned long long int __dev) >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline __attribute__ ((__const__)) unsigned int >__attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (unsigned long long int __dev) >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline __attribute__ ((__const__)) unsigned long long int >__attribute__ ((__nothrow__ , __leaf__)) 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)); >} > > ># 223 "/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; ># 270 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 ># 21 "/usr/include/bits/pthreadtypes.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 22 "/usr/include/bits/pthreadtypes.h" 2 3 4 ># 48 "/usr/include/bits/pthreadtypes.h" 3 4 >typedef unsigned long int pthread_t; > > >union pthread_attr_t >{ > char __size[56]; > long int __align; >}; > >typedef union pthread_attr_t pthread_attr_t; > > > > > >typedef struct __pthread_internal_list >{ > struct __pthread_internal_list *__prev; > struct __pthread_internal_list *__next; >} __pthread_list_t; ># 78 "/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; ># 103 "/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; ># 189 "/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 > > > ># 9 "regexec.c" 2 ># 1 "/usr/include/stdio.h" 1 3 4 ># 29 "/usr/include/stdio.h" 3 4 > > > > ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.8.2/include/stddef.h" 1 3 4 ># 34 "/usr/include/stdio.h" 2 3 4 ># 44 "/usr/include/stdio.h" 3 4 >struct _IO_FILE; > > > >typedef struct _IO_FILE FILE; > > > > > ># 64 "/usr/include/stdio.h" 3 4 >typedef struct _IO_FILE __FILE; ># 74 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/libio.h" 1 3 4 ># 32 "/usr/include/libio.h" 3 4 ># 1 "/usr/include/_G_config.h" 1 3 4 ># 15 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.8.2/include/stddef.h" 1 3 4 ># 16 "/usr/include/_G_config.h" 2 3 4 > > > > ># 1 "/usr/include/wchar.h" 1 3 4 ># 82 "/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; ># 33 "/usr/include/libio.h" 2 3 4 ># 50 "/usr/include/libio.h" 3 4 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.8.2/include/stdarg.h" 1 3 4 ># 40 "/usr/lib/gcc/s390x-redhat-linux/4.8.2/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 51 "/usr/include/libio.h" 2 3 4 ># 145 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 155 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 178 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 246 "/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; ># 294 "/usr/include/libio.h" 3 4 > __off64_t _offset; ># 303 "/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_; ># 339 "/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); ># 391 "/usr/include/libio.h" 3 4 >extern int __underflow (_IO_FILE *); >extern int __uflow (_IO_FILE *); >extern int __overflow (_IO_FILE *, int); ># 435 "/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__ , __leaf__)); >extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); > >extern int _IO_peekc_locked (_IO_FILE *__fp); > > > > > >extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); >extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); >extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); ># 465 "/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__ , __leaf__)); ># 75 "/usr/include/stdio.h" 2 3 4 > > > > >typedef __gnuc_va_list va_list; ># 108 "/usr/include/stdio.h" 3 4 > > >typedef _G_fpos_t fpos_t; > > > > ># 164 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 165 "/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__ , __leaf__)); > >extern int rename (const char *__old, const char *__new) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int renameat (int __oldfd, const char *__old, int __newfd, > const char *__new) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern FILE *tmpfile (void) ; ># 209 "/usr/include/stdio.h" 3 4 >extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ; > > > > > >extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ; ># 227 "/usr/include/stdio.h" 3 4 >extern char *tempnam (const char *__dir, const char *__pfx) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; > > > > > > > > >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); > ># 252 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 266 "/usr/include/stdio.h" 3 4 > > > > > > >extern FILE *fopen (const char *__restrict __filename, > const char *__restrict __modes) ; > > > > >extern FILE *freopen (const char *__restrict __filename, > const char *__restrict __modes, > FILE *__restrict __stream) ; ># 295 "/usr/include/stdio.h" 3 4 > ># 306 "/usr/include/stdio.h" 3 4 >extern FILE *fdopen (int __fd, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) ; ># 319 "/usr/include/stdio.h" 3 4 >extern FILE *fmemopen (void *__s, size_t __len, const char *__modes) > __attribute__ ((__nothrow__ , __leaf__)) ; > > > > >extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__)) ; > > > > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) __attribute__ ((__nothrow__ , __leaf__)); > > >extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >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))); > ># 412 "/usr/include/stdio.h" 3 4 >extern int vdprintf (int __fd, const char *__restrict __fmt, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__printf__, 2, 0))); >extern int dprintf (int __fd, const char *__restrict __fmt, ...) > __attribute__ ((__format__ (__printf__, 2, 3))); > > > > > > > > >extern int fscanf (FILE *__restrict __stream, > const char *__restrict __format, ...) ; > > > > >extern int scanf (const char *__restrict __format, ...) ; > >extern int sscanf (const char *__restrict __s, > const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)); ># 443 "/usr/include/stdio.h" 3 4 >extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf") > > ; >extern int scanf (const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf") > ; >extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__ , __leaf__)) > > ; ># 463 "/usr/include/stdio.h" 3 4 > > > > > > > > >extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 2, 0))) ; > > > > > >extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 1, 0))) ; > > >extern int vsscanf (const char *__restrict __s, > const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0))); ># 494 "/usr/include/stdio.h" 3 4 >extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf") > > > > __attribute__ ((__format__ (__scanf__, 2, 0))) ; >extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf") > > __attribute__ ((__format__ (__scanf__, 1, 0))) ; >extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ ((__nothrow__ , __leaf__)) > > > > __attribute__ ((__format__ (__scanf__, 2, 0))); ># 522 "/usr/include/stdio.h" 3 4 > > > > > > > > > >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); > ># 550 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 561 "/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); > ># 594 "/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) > ; ># 638 "/usr/include/stdio.h" 3 4 >extern char *gets (char *__s) __attribute__ ((__deprecated__)); > > ># 665 "/usr/include/stdio.h" 3 4 >extern __ssize_t __getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream) ; >extern __ssize_t getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream) ; > > > > > > > >extern __ssize_t getline (char **__restrict __lineptr, > size_t *__restrict __n, > FILE *__restrict __stream) ; > > > > > > > > >extern int fputs (const char *__restrict __s, FILE *__restrict __stream); > > > > > >extern int puts (const char *__s); > > > > > > >extern int ungetc (int __c, FILE *__stream); > > > > > > >extern size_t fread (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) ; > > > > >extern size_t fwrite (const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __s); > ># 737 "/usr/include/stdio.h" 3 4 >extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) ; >extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); > > > > > > > > >extern int fseek (FILE *__stream, long int __off, int __whence); > > > > >extern long int ftell (FILE *__stream) ; > > > > >extern void rewind (FILE *__stream); > ># 773 "/usr/include/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off_t __off, int __whence); > > > > >extern __off_t ftello (FILE *__stream) ; ># 792 "/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); ># 815 "/usr/include/stdio.h" 3 4 > ># 824 "/usr/include/stdio.h" 3 4 > > >extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); > >extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; > >extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; > > > > >extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); >extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; >extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; > > > > > > > > >extern void perror (const char *__s); > > > > > > ># 1 "/usr/include/bits/sys_errlist.h" 1 3 4 ># 26 "/usr/include/bits/sys_errlist.h" 3 4 >extern int sys_nerr; >extern const char *const sys_errlist[]; ># 854 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; > > > > >extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; ># 873 "/usr/include/stdio.h" 3 4 >extern FILE *popen (const char *__command, const char *__modes) ; > > > > > >extern int pclose (FILE *__stream); > > > > > >extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__)); ># 913 "/usr/include/stdio.h" 3 4 >extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; > > >extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); ># 934 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio.h" 1 3 4 ># 35 "/usr/include/bits/stdio.h" 3 4 >extern __inline int >vprintf (const char *__restrict __fmt, __gnuc_va_list __arg) >{ > return vfprintf (stdout, __fmt, __arg); >} > > > >extern __inline int >getchar (void) >{ > return _IO_getc (stdin); >} > > > > >extern __inline int >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))); >} ># 124 "/usr/include/bits/stdio.h" 3 4 >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) feof_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) ferror_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x20) != 0); >} ># 935 "/usr/include/stdio.h" 2 3 4 ># 943 "/usr/include/stdio.h" 3 4 > ># 10 "regexec.c" 2 ># 1 "/usr/include/stdlib.h" 1 3 4 ># 32 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.8.2/include/stddef.h" 1 3 4 ># 324 "/usr/lib/gcc/s390x-redhat-linux/4.8.2/include/stddef.h" 3 4 >typedef int wchar_t; ># 33 "/usr/include/stdlib.h" 2 3 4 > > > > > > > > ># 1 "/usr/include/bits/waitflags.h" 1 3 4 ># 42 "/usr/include/stdlib.h" 2 3 4 ># 1 "/usr/include/bits/waitstatus.h" 1 3 4 ># 66 "/usr/include/bits/waitstatus.h" 3 4 >union wait > { > int w_status; > struct > { > > > > > > > > unsigned int:16; > unsigned int __w_retcode:8; > unsigned int __w_coredump:1; > unsigned int __w_termsig:7; > > } __wait_terminated; > struct > { > > > > > > > unsigned int:16; > unsigned int __w_stopsig:8; > unsigned int __w_stopval:8; > > } __wait_stopped; > }; ># 43 "/usr/include/stdlib.h" 2 3 4 ># 67 "/usr/include/stdlib.h" 3 4 >typedef union > { > union wait *__uptr; > int *__iptr; > } __WAIT_STATUS __attribute__ ((__transparent_union__)); ># 95 "/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; > > ># 139 "/usr/include/stdlib.h" 3 4 >extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) ; > > > > >extern double atof (const char *__nptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > >extern int atoi (const char *__nptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > >extern long int atol (const char *__nptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > > > > > >__extension__ extern long long int atoll (const char *__nptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > > > > > >extern double strtod (const char *__restrict __nptr, > char **__restrict __endptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern float strtof (const char *__restrict __nptr, > char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > >extern long double strtold (const char *__restrict __nptr, > char **__restrict __endptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern long int strtol (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > >extern unsigned long int strtoul (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > >__extension__ >extern long long int strtoq (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > >__extension__ >extern unsigned long long int strtouq (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >__extension__ >extern long long int strtoll (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > >__extension__ >extern unsigned long long int strtoull (const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > ># 276 "/usr/include/stdlib.h" 3 4 > >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) atoi (const char *__nptr) >{ > return (int) strtol (__nptr, (char **) ((void *)0), 10); >} >extern __inline long int >__attribute__ ((__nothrow__ , __leaf__)) atol (const char *__nptr) >{ > return strtol (__nptr, (char **) ((void *)0), 10); >} > > > > >__extension__ extern __inline long long int >__attribute__ ((__nothrow__ , __leaf__)) atoll (const char *__nptr) >{ > return strtoll (__nptr, (char **) ((void *)0), 10); >} > ># 305 "/usr/include/stdlib.h" 3 4 >extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) ; > > >extern long int a64l (const char *__s) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; ># 321 "/usr/include/stdlib.h" 3 4 >extern long int random (void) __attribute__ ((__nothrow__ , __leaf__)); > > >extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > >extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __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__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern int rand (void) __attribute__ ((__nothrow__ , __leaf__)); > >extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__)); >extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); >extern long int nrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); >extern long int jrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__)); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); >extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __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__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > > > > >extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; > >extern void *calloc (size_t __nmemb, size_t __size) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; > > > > > > > > > > >extern void *realloc (void *__ptr, size_t __size) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > >extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern void cfree (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); > > > ># 1 "/usr/include/alloca.h" 1 3 4 ># 24 "/usr/include/alloca.h" 3 4 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.8.2/include/stddef.h" 1 3 4 ># 25 "/usr/include/alloca.h" 2 3 4 > > > > > > > >extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > ># 492 "/usr/include/stdlib.h" 2 3 4 > > > > > >extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; > > > > >extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; ># 512 "/usr/include/stdlib.h" 3 4 > > >extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); ># 529 "/usr/include/stdlib.h" 3 4 > > > > > >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); > > > > > > > > > > > > > >extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); > > > > > > >extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; > ># 577 "/usr/include/stdlib.h" 3 4 >extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int setenv (const char *__name, const char *__value, int __replace) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > >extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__)); ># 605 "/usr/include/stdlib.h" 3 4 >extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); ># 619 "/usr/include/stdlib.h" 3 4 >extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; ># 641 "/usr/include/stdlib.h" 3 4 >extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; ># 662 "/usr/include/stdlib.h" 3 4 >extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; ># 711 "/usr/include/stdlib.h" 3 4 > > > > > >extern int system (const char *__command) ; > ># 733 "/usr/include/stdlib.h" 3 4 >extern char *realpath (const char *__restrict __name, > char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) ; > > > > > > >typedef int (*__compar_fn_t) (const void *, const void *); ># 751 "/usr/include/stdlib.h" 3 4 > > > >extern void *bsearch (const void *__key, const void *__base, > size_t __nmemb, size_t __size, __compar_fn_t __compar) > __attribute__ ((__nonnull__ (1, 2, 5))) ; > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); ># 770 "/usr/include/stdlib.h" 3 4 >extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; >extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; > > > >__extension__ extern long long int llabs (long long int __x) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; > > > > > > > >extern div_t div (int __numer, int __denom) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; >extern ldiv_t ldiv (long int __numer, long int __denom) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; > > > > >__extension__ extern lldiv_t lldiv (long long int __numer, > long long int __denom) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; > ># 807 "/usr/include/stdlib.h" 3 4 >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; > > > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; >extern char *qgcvt (long double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __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__ , __leaf__)) __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__ , __leaf__)) __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__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); > > > > > > > >extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) ; > > >extern int mbtowc (wchar_t *__restrict __pwc, > const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) ; > > >extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__)) ; > > > >extern size_t mbstowcs (wchar_t *__restrict __pwcs, > const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); > >extern size_t wcstombs (char *__restrict __s, > const wchar_t *__restrict __pwcs, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; ># 895 "/usr/include/stdlib.h" 3 4 >extern int getsubopt (char **__restrict __optionp, > char *const *__restrict __tokens, > char **__restrict __valuep) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) ; ># 947 "/usr/include/stdlib.h" 3 4 >extern int getloadavg (double __loadavg[], int __nelem) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > ># 1 "/usr/include/bits/stdlib-float.h" 1 3 4 ># 24 "/usr/include/bits/stdlib-float.h" 3 4 > >extern __inline double >__attribute__ ((__nothrow__ , __leaf__)) atof (const char *__nptr) >{ > return strtod (__nptr, (char **) ((void *)0)); >} > ># 952 "/usr/include/stdlib.h" 2 3 4 ># 964 "/usr/include/stdlib.h" 3 4 > ># 11 "regexec.c" 2 ># 1 "/usr/include/string.h" 1 3 4 ># 27 "/usr/include/string.h" 3 4 > > > > > ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.8.2/include/stddef.h" 1 3 4 ># 33 "/usr/include/string.h" 2 3 4 > > > > > > > > > >extern void *memcpy (void *__restrict __dest, const void *__restrict __src, > size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memmove (void *__dest, const void *__src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memccpy (void *__restrict __dest, const void *__restrict __src, > int __c, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern int memcmp (const void *__s1, const void *__s2, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 92 "/usr/include/string.h" 3 4 >extern void *memchr (const void *__s, int __c, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > ># 123 "/usr/include/string.h" 3 4 > > >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncpy (char *__restrict __dest, > const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strcat (char *__restrict __dest, const char *__restrict __src) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncat (char *__restrict __dest, const char *__restrict __src, > size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcmp (const char *__s1, const char *__s2) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int strncmp (const char *__s1, const char *__s2, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcoll (const char *__s1, const char *__s2) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern size_t strxfrm (char *__restrict __dest, > const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > > > ># 1 "/usr/include/xlocale.h" 1 3 4 ># 27 "/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; > > >typedef __locale_t locale_t; ># 160 "/usr/include/string.h" 2 3 4 > > >extern int strcoll_l (const char *__s1, const char *__s2, __locale_t __l) > __attribute__ ((__nothrow__ , __leaf__)) __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__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); > > > > > >extern char *strdup (const char *__s) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern char *strndup (const char *__string, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); ># 207 "/usr/include/string.h" 3 4 > ># 232 "/usr/include/string.h" 3 4 >extern char *strchr (const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); ># 259 "/usr/include/string.h" 3 4 >extern char *strrchr (const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > ># 278 "/usr/include/string.h" 3 4 > > > >extern size_t strcspn (const char *__s, const char *__reject) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern size_t strspn (const char *__s, const char *__accept) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 311 "/usr/include/string.h" 3 4 >extern char *strpbrk (const char *__s, const char *__accept) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 338 "/usr/include/string.h" 3 4 >extern char *strstr (const char *__haystack, const char *__needle) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > >extern char *strtok (char *__restrict __s, const char *__restrict __delim) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > >extern char *__strtok_r (char *__restrict __s, > const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); > >extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); ># 393 "/usr/include/string.h" 3 4 > > >extern size_t strlen (const char *__s) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern size_t strnlen (const char *__string, size_t __maxlen) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strerror (int __errnum) __attribute__ ((__nothrow__ , __leaf__)); > ># 423 "/usr/include/string.h" 3 4 >extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__ , __leaf__)) > > __attribute__ ((__nonnull__ (2))); ># 441 "/usr/include/string.h" 3 4 >extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > >extern void bcopy (const void *__src, void *__dest, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern int bcmp (const void *__s1, const void *__s2, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 485 "/usr/include/string.h" 3 4 >extern char *index (const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); ># 513 "/usr/include/string.h" 3 4 >extern char *rindex (const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); ># 532 "/usr/include/string.h" 3 4 >extern int strcasecmp (const char *__s1, const char *__s2) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 555 "/usr/include/string.h" 3 4 >extern char *strsep (char **__restrict __stringp, > const char *__restrict __delim) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > >extern char *strsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); > > >extern char *__stpcpy (char *__restrict __dest, const char *__restrict __src) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *__stpncpy (char *__restrict __dest, > const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern char *stpncpy (char *__restrict __dest, > const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); ># 630 "/usr/include/string.h" 3 4 ># 1 "/usr/include/bits/string.h" 1 3 4 ># 631 "/usr/include/string.h" 2 3 4 > > ># 1 "/usr/include/bits/string2.h" 1 3 4 ># 393 "/usr/include/bits/string2.h" 3 4 >extern void *__rawmemchr (const void *__s, int __c); ># 968 "/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; >} ># 1044 "/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; >} ># 1120 "/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; >} ># 1170 "/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; >} ># 1202 "/usr/include/bits/string2.h" 3 4 >extern char *__strsep_g (char **__stringp, const char *__delim); ># 1220 "/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; >} ># 1301 "/usr/include/bits/string2.h" 3 4 >extern char *__strdup (const char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)); ># 1320 "/usr/include/bits/string2.h" 3 4 >extern char *__strndup (const char *__string, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)); ># 634 "/usr/include/string.h" 2 3 4 ># 642 "/usr/include/string.h" 3 4 > ># 12 "regexec.c" 2 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.8.2/include/limits.h" 1 3 4 ># 34 "/usr/lib/gcc/s390x-redhat-linux/4.8.2/include/limits.h" 3 4 ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.8.2/include/syslimits.h" 1 3 4 > > > > > > ># 1 "/usr/lib/gcc/s390x-redhat-linux/4.8.2/include/limits.h" 1 3 4 ># 168 "/usr/lib/gcc/s390x-redhat-linux/4.8.2/include/limits.h" 3 4 ># 1 "/usr/include/limits.h" 1 3 4 ># 144 "/usr/include/limits.h" 3 4 ># 1 "/usr/include/bits/posix1_lim.h" 1 3 4 ># 160 "/usr/include/bits/posix1_lim.h" 3 4 ># 1 "/usr/include/bits/local_lim.h" 1 3 4 ># 38 "/usr/include/bits/local_lim.h" 3 4 ># 1 "/usr/include/linux/limits.h" 1 3 4 ># 39 "/usr/include/bits/local_lim.h" 2 3 4 ># 161 "/usr/include/bits/posix1_lim.h" 2 3 4 ># 145 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/posix2_lim.h" 1 3 4 ># 149 "/usr/include/limits.h" 2 3 4 ># 169 "/usr/lib/gcc/s390x-redhat-linux/4.8.2/include/limits.h" 2 3 4 ># 8 "/usr/lib/gcc/s390x-redhat-linux/4.8.2/include/syslimits.h" 2 3 4 ># 35 "/usr/lib/gcc/s390x-redhat-linux/4.8.2/include/limits.h" 2 3 4 ># 13 "regexec.c" 2 ># 1 "/usr/include/ctype.h" 1 3 4 ># 29 "/usr/include/ctype.h" 3 4 > ># 47 "/usr/include/ctype.h" 3 4 >enum >{ > _ISupper = (1 << (0)), > _ISlower = (1 << (1)), > _ISalpha = (1 << (2)), > _ISdigit = (1 << (3)), > _ISxdigit = (1 << (4)), > _ISspace = (1 << (5)), > _ISprint = (1 << (6)), > _ISgraph = (1 << (7)), > _ISblank = (1 << (8)), > _IScntrl = (1 << (9)), > _ISpunct = (1 << (10)), > _ISalnum = (1 << (11)) >}; ># 80 "/usr/include/ctype.h" 3 4 >extern const unsigned short int **__ctype_b_loc (void) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); >extern const __int32_t **__ctype_tolower_loc (void) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); >extern const __int32_t **__ctype_toupper_loc (void) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); ># 105 "/usr/include/ctype.h" 3 4 > > > > > > >extern int isalnum (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int isalpha (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int iscntrl (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int isdigit (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int islower (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int isgraph (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int isprint (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int ispunct (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int isspace (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int isupper (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int isxdigit (int) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int tolower (int __c) __attribute__ ((__nothrow__ , __leaf__)); > > >extern int toupper (int __c) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern int isblank (int) __attribute__ ((__nothrow__ , __leaf__)); > > ># 151 "/usr/include/ctype.h" 3 4 >extern int isascii (int __c) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int toascii (int __c) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int _toupper (int) __attribute__ ((__nothrow__ , __leaf__)); >extern int _tolower (int) __attribute__ ((__nothrow__ , __leaf__)); ># 215 "/usr/include/ctype.h" 3 4 >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) tolower (int __c) >{ > return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c; >} > >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) toupper (int __c) >{ > return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c; >} ># 272 "/usr/include/ctype.h" 3 4 >extern int isalnum_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); >extern int isalpha_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); >extern int iscntrl_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); >extern int isdigit_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); >extern int islower_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); >extern int isgraph_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); >extern int isprint_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); >extern int ispunct_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); >extern int isspace_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); >extern int isupper_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); >extern int isxdigit_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); > >extern int isblank_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int __tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); >extern int tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); > > >extern int __toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); >extern int toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); ># 348 "/usr/include/ctype.h" 3 4 > ># 14 "regexec.c" 2 ># 1 "./regex.h" 1 ># 9 "./regex.h" >typedef off_t regoff_t; >typedef struct { > int re_magic; > size_t re_nsub; > const char *re_endp; > struct re_guts *re_g; >} regex_t; >typedef struct { > regoff_t rm_so; > regoff_t rm_eo; >} regmatch_t; > > > >extern int regcomp(regex_t *, const char *, int); ># 54 "./regex.h" >extern size_t regerror(int, const regex_t *, char *, size_t); > > > >extern int regexec(const regex_t *, const char *, size_t, regmatch_t [], int); ># 68 "./regex.h" >extern void regfree(regex_t *); ># 15 "regexec.c" 2 > ># 1 "utils.h" 1 ># 9 "utils.h" >typedef unsigned char uch; > > > > > > > ># 1 "/usr/include/assert.h" 1 3 4 ># 65 "/usr/include/assert.h" 3 4 > > > >extern void __assert_fail (const char *__assertion, const char *__file, > unsigned int __line, const char *__function) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); > > >extern void __assert_perror_fail (int __errnum, const char *__file, > unsigned int __line, const char *__function) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); > > > > >extern void __assert (const char *__assertion, const char *__file, int __line) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); > > > ># 18 "utils.h" 2 ># 17 "regexec.c" 2 ># 1 "regex2.h" 1 ># 39 "regex2.h" >typedef long sop; >typedef long sopno; ># 82 "regex2.h" >typedef struct { > uch *ptr; > uch mask; > uch hash; > size_t smultis; > char *multis; >} cset; ># 98 "regex2.h" >typedef unsigned char cat_t; > > > > >struct re_guts { > int magic; > > sop *strip; > int csetsize; > int ncsets; > cset *sets; > uch *setbits; > int cflags; > sopno nstates; > sopno firststate; > sopno laststate; > int iflags; > > > > int nbol; > int neol; > int ncategories; > cat_t *categories; > char *must; > int mlen; > size_t nsub; > int backrefs; > sopno nplus; > > cat_t catspace[1]; >}; ># 18 "regexec.c" 2 > >static int nope = 0; ># 46 "regexec.c" ># 1 "engine.c" 1 ># 32 "engine.c" >struct smat { > struct re_guts *g; > int eflags; > regmatch_t *pmatch; > char *offp; > char *beginp; > char *endp; > char *coldp; > char **lastpos; > int dummy; > unsigned st; > unsigned fresh; > unsigned tmp; > unsigned empty; >}; > ># 1 "engine.ih" 1 > > > > > > >static int smatcher(register struct re_guts *g, char *string, size_t nmatch, regmatch_t pmatch[], int eflags); >static char *sdissect(register struct smat *m, char *start, char *stop, sopno startst, sopno stopst); >static char *sbackref(register struct smat *m, char *start, char *stop, sopno startst, sopno stopst, sopno lev); >static char *sfast(register struct smat *m, char *start, char *stop, sopno startst, sopno stopst); >static char *sslow(register struct smat *m, char *start, char *stop, sopno startst, sopno stopst); >static unsigned sstep(register struct re_guts *g, sopno start, sopno stop, register unsigned bef, int ch, register unsigned aft); ># 23 "engine.ih" >static void sprint(struct smat *m, char *caption, unsigned st, int ch, FILE *d); > > >static void sat(struct smat *m, char *title, char *start, char *stop, sopno startst, sopno stopst); > > >static char *pchar(int ch); ># 49 "engine.c" 2 ># 65 "engine.c" >static int >smatcher(g, string, nmatch, pmatch, eflags) >register struct re_guts *g; >char *string; >size_t nmatch; >regmatch_t pmatch[]; >int eflags; >{ > register char *endp; > register int i; > struct smat mv; > register struct smat *m = &mv; > register char *dp; > const register sopno gf = g->firststate+1; > const register sopno gl = g->laststate; > char *start; > char *stop; > > > if (g->cflags&0004) > nmatch = 0; > if (eflags&00004) { > start = string + pmatch[0].rm_so; > stop = string + pmatch[0].rm_eo; > } else { > start = string; > stop = start + strlen(start); > } > if (stop < start) > return(16); > > > if (g->must != ((void *)0)) { > for (dp = start; dp < stop; dp++) > if (*dp == g->must[0] && stop - dp >= g->mlen && > memcmp(dp, g->must, (size_t)g->mlen) == 0) > break; > if (dp == stop) > return(1); > } > > > m->g = g; > m->eflags = eflags; > m->pmatch = ((void *)0); > m->lastpos = ((void *)0); > m->offp = string; > m->beginp = start; > m->endp = stop; > ; > ((m->st) = 0); > ((m->fresh) = 0); > ((m->tmp) = 0); > ((m->empty) = 0); > ((m->empty) = 0); > > > for (;;) { > endp = sfast(m, start, stop, gf, gl); > if (endp == ((void *)0)) { > ; > return(1); > } > if (nmatch == 0 && !g->backrefs) > break; > > > ((m->coldp != ((void *)0)) ? (void) (0) : __assert_fail ("m->coldp != ((void *)0)", "engine.c", 132, __PRETTY_FUNCTION__)); > for (;;) { > { if (m->eflags&00400) printf("=%s\n", ("finding start")); }; > endp = sslow(m, m->coldp, stop, gf, gl); > if (endp != ((void *)0)) > break; > ((m->coldp < m->endp) ? (void) (0) : __assert_fail ("m->coldp < m->endp", "engine.c", 138, __PRETTY_FUNCTION__)); > m->coldp++; > } > if (nmatch == 1 && !g->backrefs) > break; > > > if (m->pmatch == ((void *)0)) > m->pmatch = (regmatch_t *)malloc((m->g->nsub + 1) * > sizeof(regmatch_t)); > if (m->pmatch == ((void *)0)) { > ; > return(12); > } > for (i = 1; i <= m->g->nsub; i++) > m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; > if (!g->backrefs && !(m->eflags&02000)) { > { if (m->eflags&00400) printf("=%s\n", ("dissecting")); }; > dp = sdissect(m, m->coldp, endp, gf, gl); > } else { > if (g->nplus > 0 && m->lastpos == ((void *)0)) > m->lastpos = (char **)malloc((g->nplus+1) * > sizeof(char *)); > if (g->nplus > 0 && m->lastpos == ((void *)0)) { > free(m->pmatch); > ; > return(12); > } > { if (m->eflags&00400) printf("=%s\n", ("backref dissect")); }; > dp = sbackref(m, m->coldp, endp, gf, gl, (sopno)0); > } > if (dp != ((void *)0)) > break; > > > ((g->backrefs) ? (void) (0) : __assert_fail ("g->backrefs", "engine.c", 173, __PRETTY_FUNCTION__)); > ((g->nplus == 0 || m->lastpos != ((void *)0)) ? (void) (0) : __assert_fail ("g->nplus == 0 || m->lastpos != ((void *)0)", "engine.c", 174, __PRETTY_FUNCTION__)); > for (;;) { > if (dp != ((void *)0) || endp <= m->coldp) > break; > { if (m->eflags&00400) printf("=%s\n", ("backoff")); }; > endp = sslow(m, m->coldp, endp-1, gf, gl); > if (endp == ((void *)0)) > break; > > > for (i = 1; i <= m->g->nsub; i++) { > ((m->pmatch[i].rm_so == -1) ? (void) (0) : __assert_fail ("m->pmatch[i].rm_so == -1", "engine.c", 185, __PRETTY_FUNCTION__)); > ((m->pmatch[i].rm_eo == -1) ? (void) (0) : __assert_fail ("m->pmatch[i].rm_eo == -1", "engine.c", 186, __PRETTY_FUNCTION__)); > } > > { if (m->eflags&00400) printf("=%s\n", ("backoff dissect")); }; > dp = sbackref(m, m->coldp, endp, gf, gl, (sopno)0); > } > ((dp == ((void *)0) || dp == endp) ? (void) (0) : __assert_fail ("dp == ((void *)0) || dp == endp", "engine.c", 192, __PRETTY_FUNCTION__)); > if (dp != ((void *)0)) > break; > > > { if (m->eflags&00400) printf("=%s\n", ("false alarm")); }; > start = m->coldp + 1; > ((start <= stop) ? (void) (0) : __assert_fail ("start <= stop", "engine.c", 199, __PRETTY_FUNCTION__)); > } > > > if (nmatch > 0) { > pmatch[0].rm_so = m->coldp - m->offp; > pmatch[0].rm_eo = endp - m->offp; > } > if (nmatch > 1) { > ((m->pmatch != ((void *)0)) ? (void) (0) : __assert_fail ("m->pmatch != ((void *)0)", "engine.c", 208, __PRETTY_FUNCTION__)); > for (i = 1; i < nmatch; i++) > if (i <= m->g->nsub) > pmatch[i] = m->pmatch[i]; > else { > pmatch[i].rm_so = -1; > pmatch[i].rm_eo = -1; > } > } > > if (m->pmatch != ((void *)0)) > free((char *)m->pmatch); > if (m->lastpos != ((void *)0)) > free((char *)m->lastpos); > ; > return(0); >} > > > > > > >static char * >sdissect(m, start, stop, startst, stopst) >register struct smat *m; >char *start; >char *stop; >sopno startst; >sopno stopst; >{ > register int i; > register sopno ss; > register sopno es; > register char *sp; > register char *stp; > register char *rest; > register char *tail; > register sopno ssub; > register sopno esub; > register char *ssp; > register char *sep; > register char *oldssp; > register char *dp; > > sat(m, "diss", start, stop, startst, stopst); > sp = start; > for (ss = startst; ss < stopst; ss = es) { > > es = ss; > switch (((m->g->strip[es])&0x7c000000)) { > case (9<<(26)): > case (11<<(26)): > es += ((m->g->strip[es])&0x03ffffff); > break; > case (15<<(26)): > while (((m->g->strip[es])&0x7c000000) != (18<<(26))) > es += ((m->g->strip[es])&0x03ffffff); > break; > } > es++; > > > switch (((m->g->strip[ss])&0x7c000000)) { > case (1<<(26)): > ((nope) ? (void) (0) : __assert_fail ("nope", "engine.c", 273, __PRETTY_FUNCTION__)); > break; > case (2<<(26)): > sp++; > break; > case (3<<(26)): > case (4<<(26)): > case (19<<(26)): > case (20<<(26)): > break; > case (5<<(26)): > case (6<<(26)): > sp++; > break; > case (7<<(26)): > case (8<<(26)): > ((nope) ? (void) (0) : __assert_fail ("nope", "engine.c", 289, __PRETTY_FUNCTION__)); > break; > > case (11<<(26)): > stp = stop; > for (;;) { > > rest = sslow(m, sp, stp, ss, es); > ((rest != ((void *)0)) ? (void) (0) : __assert_fail ("rest != ((void *)0)", "engine.c", 297, __PRETTY_FUNCTION__)); > > tail = sslow(m, rest, stop, es, stopst); > if (tail == stop) > break; > > stp = rest - 1; > ((stp >= sp) ? (void) (0) : __assert_fail ("stp >= sp", "engine.c", 304, __PRETTY_FUNCTION__)); > } > ssub = ss + 1; > esub = es - 1; > > if (sslow(m, sp, rest, ssub, esub) != ((void *)0)) { > dp = sdissect(m, sp, rest, ssub, esub); > ((dp == rest) ? (void) (0) : __assert_fail ("dp == rest", "engine.c", 311, __PRETTY_FUNCTION__)); > } else > ((sp == rest) ? (void) (0) : __assert_fail ("sp == rest", "engine.c", 313, __PRETTY_FUNCTION__)); > sp = rest; > break; > case (9<<(26)): > stp = stop; > for (;;) { > > rest = sslow(m, sp, stp, ss, es); > ((rest != ((void *)0)) ? (void) (0) : __assert_fail ("rest != ((void *)0)", "engine.c", 321, __PRETTY_FUNCTION__)); > > tail = sslow(m, rest, stop, es, stopst); > if (tail == stop) > break; > > stp = rest - 1; > ((stp >= sp) ? (void) (0) : __assert_fail ("stp >= sp", "engine.c", 328, __PRETTY_FUNCTION__)); > } > ssub = ss + 1; > esub = es - 1; > ssp = sp; > oldssp = ssp; > for (;;) { > sep = sslow(m, ssp, rest, ssub, esub); > if (sep == ((void *)0) || sep == ssp) > break; > oldssp = ssp; > ssp = sep; > } > if (sep == ((void *)0)) { > > sep = ssp; > ssp = oldssp; > } > ((sep == rest) ? (void) (0) : __assert_fail ("sep == rest", "engine.c", 346, __PRETTY_FUNCTION__)); > ((sslow(m, ssp, sep, ssub, esub) == rest) ? (void) (0) : __assert_fail ("sslow(m, ssp, sep, ssub, esub) == rest", "engine.c", 347, __PRETTY_FUNCTION__)); > dp = sdissect(m, ssp, sep, ssub, esub); > ((dp == sep) ? (void) (0) : __assert_fail ("dp == sep", "engine.c", 349, __PRETTY_FUNCTION__)); > sp = rest; > break; > case (15<<(26)): > stp = stop; > for (;;) { > > rest = sslow(m, sp, stp, ss, es); > ((rest != ((void *)0)) ? (void) (0) : __assert_fail ("rest != ((void *)0)", "engine.c", 357, __PRETTY_FUNCTION__)); > > tail = sslow(m, rest, stop, es, stopst); > if (tail == stop) > break; > > stp = rest - 1; > ((stp >= sp) ? (void) (0) : __assert_fail ("stp >= sp", "engine.c", 364, __PRETTY_FUNCTION__)); > } > ssub = ss + 1; > esub = ss + ((m->g->strip[ss])&0x03ffffff) - 1; > ((((m->g->strip[esub])&0x7c000000) == (16<<(26))) ? (void) (0) : __assert_fail ("((m->g->strip[esub])&0x7c000000) == (16<<(26))", "engine.c", 368, __PRETTY_FUNCTION__)); > for (;;) { > if (sslow(m, sp, rest, ssub, esub) == rest) > break; > > ((((m->g->strip[esub])&0x7c000000) == (16<<(26))) ? (void) (0) : __assert_fail ("((m->g->strip[esub])&0x7c000000) == (16<<(26))", "engine.c", 373, __PRETTY_FUNCTION__)); > esub++; > ((((m->g->strip[esub])&0x7c000000) == (17<<(26))) ? (void) (0) : __assert_fail ("((m->g->strip[esub])&0x7c000000) == (17<<(26))", "engine.c", 375, __PRETTY_FUNCTION__)); > ssub = esub + 1; > esub += ((m->g->strip[esub])&0x03ffffff); > if (((m->g->strip[esub])&0x7c000000) == (17<<(26))) > esub--; > else > ((((m->g->strip[esub])&0x7c000000) == (18<<(26))) ? (void) (0) : __assert_fail ("((m->g->strip[esub])&0x7c000000) == (18<<(26))", "engine.c", 381, __PRETTY_FUNCTION__)); > } > dp = sdissect(m, sp, rest, ssub, esub); > ((dp == rest) ? (void) (0) : __assert_fail ("dp == rest", "engine.c", 384, __PRETTY_FUNCTION__)); > sp = rest; > break; > case (10<<(26)): > case (12<<(26)): > case (16<<(26)): > case (17<<(26)): > case (18<<(26)): > ((nope) ? (void) (0) : __assert_fail ("nope", "engine.c", 392, __PRETTY_FUNCTION__)); > break; > case (13<<(26)): > i = ((m->g->strip[ss])&0x03ffffff); > ((0 < i && i <= m->g->nsub) ? (void) (0) : __assert_fail ("0 < i && i <= m->g->nsub", "engine.c", 396, __PRETTY_FUNCTION__)); > m->pmatch[i].rm_so = sp - m->offp; > break; > case (14<<(26)): > i = ((m->g->strip[ss])&0x03ffffff); > ((0 < i && i <= m->g->nsub) ? (void) (0) : __assert_fail ("0 < i && i <= m->g->nsub", "engine.c", 401, __PRETTY_FUNCTION__)); > m->pmatch[i].rm_eo = sp - m->offp; > break; > default: > ((nope) ? (void) (0) : __assert_fail ("nope", "engine.c", 405, __PRETTY_FUNCTION__)); > break; > } > } > > ((sp == stop) ? (void) (0) : __assert_fail ("sp == stop", "engine.c", 410, __PRETTY_FUNCTION__)); > return(sp); >} > > > > > > >static char * >sbackref(m, start, stop, startst, stopst, lev) >register struct smat *m; >char *start; >char *stop; >sopno startst; >sopno stopst; >sopno lev; >{ > register int i; > register sopno ss; > register char *sp; > register sopno ssub; > register sopno esub; > register char *ssp; > register char *dp; > register size_t len; > register int hard; > register sop s; > register regoff_t offsave; > register cset *cs; > > sat(m, "back", start, stop, startst, stopst); > sp = start; > > > hard = 0; > for (ss = startst; !hard && ss < stopst; ss++) > switch (((s = m->g->strip[ss])&0x7c000000)) { > case (2<<(26)): > if (sp == stop || *sp++ != (char)((s)&0x03ffffff)) > return(((void *)0)); > break; > case (5<<(26)): > if (sp == stop) > return(((void *)0)); > sp++; > break; > case (6<<(26)): > cs = &m->g->sets[((s)&0x03ffffff)]; > if (sp == stop || !((cs)->ptr[(uch)(*sp++)] & (cs)->mask)) > return(((void *)0)); > break; > case (3<<(26)): > if ( (sp == m->beginp && !(m->eflags&00001)) || > (sp < m->endp && *(sp-1) == '\n' && > (m->g->cflags&0010)) ) > { } > else > return(((void *)0)); > break; > case (4<<(26)): > if ( (sp == m->endp && !(m->eflags&00002)) || > (sp < m->endp && *sp == '\n' && > (m->g->cflags&0010)) ) > { } > else > return(((void *)0)); > break; > case (19<<(26)): > if (( (sp == m->beginp && !(m->eflags&00001)) || > (sp < m->endp && *(sp-1) == '\n' && > (m->g->cflags&0010)) || > (sp > m->beginp && > !(((*__ctype_b_loc ())[(int) ((*(sp-1)))] & (unsigned short int) _ISalnum) || (*(sp-1)) == '_')) ) && > (sp < m->endp && (((*__ctype_b_loc ())[(int) ((*sp))] & (unsigned short int) _ISalnum) || (*sp) == '_')) ) > { } > else > return(((void *)0)); > break; > case (20<<(26)): > if (( (sp == m->endp && !(m->eflags&00002)) || > (sp < m->endp && *sp == '\n' && > (m->g->cflags&0010)) || > (sp < m->endp && !(((*__ctype_b_loc ())[(int) ((*sp))] & (unsigned short int) _ISalnum) || (*sp) == '_')) ) && > (sp > m->beginp && (((*__ctype_b_loc ())[(int) ((*(sp-1)))] & (unsigned short int) _ISalnum) || (*(sp-1)) == '_')) ) > { } > else > return(((void *)0)); > break; > case (12<<(26)): > break; > case (16<<(26)): > ss++; > s = m->g->strip[ss]; > do { > ((((s)&0x7c000000) == (17<<(26))) ? (void) (0) : __assert_fail ("((s)&0x7c000000) == (17<<(26))", "engine.c", 505, __PRETTY_FUNCTION__)); > ss += ((s)&0x03ffffff); > } while (((s = m->g->strip[ss])&0x7c000000) != (18<<(26))); > > break; > default: > hard = 1; > break; > } > if (!hard) { > if (sp != stop) > return(((void *)0)); > return(sp); > } > ss--; > > > sat(m, "hard", sp, stop, ss, stopst); > s = m->g->strip[ss]; > switch (((s)&0x7c000000)) { > case (7<<(26)): > i = ((s)&0x03ffffff); > ((0 < i && i <= m->g->nsub) ? (void) (0) : __assert_fail ("0 < i && i <= m->g->nsub", "engine.c", 527, __PRETTY_FUNCTION__)); > if (m->pmatch[i].rm_eo == -1) > return(((void *)0)); > ((m->pmatch[i].rm_so != -1) ? (void) (0) : __assert_fail ("m->pmatch[i].rm_so != -1", "engine.c", 530, __PRETTY_FUNCTION__)); > len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so; > ((stop - m->beginp >= len) ? (void) (0) : __assert_fail ("stop - m->beginp >= len", "engine.c", 532, __PRETTY_FUNCTION__)); > if (sp > stop - len) > return(((void *)0)); > ssp = m->offp + m->pmatch[i].rm_so; > if (memcmp(sp, ssp, len) != 0) > return(((void *)0)); > while (m->g->strip[ss] != (((8<<(26)))|(i))) > ss++; > return(sbackref(m, sp+len, stop, ss+1, stopst, lev)); > break; > case (11<<(26)): > dp = sbackref(m, sp, stop, ss+1, stopst, lev); > if (dp != ((void *)0)) > return(dp); > return(sbackref(m, sp, stop, ss+((s)&0x03ffffff)+1, stopst, lev)); > break; > case (9<<(26)): > ((m->lastpos != ((void *)0)) ? (void) (0) : __assert_fail ("m->lastpos != ((void *)0)", "engine.c", 549, __PRETTY_FUNCTION__)); > ((lev+1 <= m->g->nplus) ? (void) (0) : __assert_fail ("lev+1 <= m->g->nplus", "engine.c", 550, __PRETTY_FUNCTION__)); > m->lastpos[lev+1] = sp; > return(sbackref(m, sp, stop, ss+1, stopst, lev+1)); > break; > case (10<<(26)): > if (sp == m->lastpos[lev]) > return(sbackref(m, sp, stop, ss+1, stopst, lev-1)); > > m->lastpos[lev] = sp; > dp = sbackref(m, sp, stop, ss-((s)&0x03ffffff)+1, stopst, lev); > if (dp == ((void *)0)) > return(sbackref(m, sp, stop, ss+1, stopst, lev-1)); > else > return(dp); > break; > case (15<<(26)): > ssub = ss + 1; > esub = ss + ((s)&0x03ffffff) - 1; > ((((m->g->strip[esub])&0x7c000000) == (16<<(26))) ? (void) (0) : __assert_fail ("((m->g->strip[esub])&0x7c000000) == (16<<(26))", "engine.c", 568, __PRETTY_FUNCTION__)); > for (;;) { > dp = sbackref(m, sp, stop, ssub, esub, lev); > if (dp != ((void *)0)) > return(dp); > > if (((m->g->strip[esub])&0x7c000000) == (18<<(26))) > return(((void *)0)); > esub++; > ((((m->g->strip[esub])&0x7c000000) == (17<<(26))) ? (void) (0) : __assert_fail ("((m->g->strip[esub])&0x7c000000) == (17<<(26))", "engine.c", 577, __PRETTY_FUNCTION__)); > ssub = esub + 1; > esub += ((m->g->strip[esub])&0x03ffffff); > if (((m->g->strip[esub])&0x7c000000) == (17<<(26))) > esub--; > else > ((((m->g->strip[esub])&0x7c000000) == (18<<(26))) ? (void) (0) : __assert_fail ("((m->g->strip[esub])&0x7c000000) == (18<<(26))", "engine.c", 583, __PRETTY_FUNCTION__)); > } > break; > case (13<<(26)): > i = ((s)&0x03ffffff); > ((0 < i && i <= m->g->nsub) ? (void) (0) : __assert_fail ("0 < i && i <= m->g->nsub", "engine.c", 588, __PRETTY_FUNCTION__)); > offsave = m->pmatch[i].rm_so; > m->pmatch[i].rm_so = sp - m->offp; > dp = sbackref(m, sp, stop, ss+1, stopst, lev); > if (dp != ((void *)0)) > return(dp); > m->pmatch[i].rm_so = offsave; > return(((void *)0)); > break; > case (14<<(26)): > i = ((s)&0x03ffffff); > ((0 < i && i <= m->g->nsub) ? (void) (0) : __assert_fail ("0 < i && i <= m->g->nsub", "engine.c", 599, __PRETTY_FUNCTION__)); > offsave = m->pmatch[i].rm_eo; > m->pmatch[i].rm_eo = sp - m->offp; > dp = sbackref(m, sp, stop, ss+1, stopst, lev); > if (dp != ((void *)0)) > return(dp); > m->pmatch[i].rm_eo = offsave; > return(((void *)0)); > break; > default: > ((nope) ? (void) (0) : __assert_fail ("nope", "engine.c", 609, __PRETTY_FUNCTION__)); > break; > } > > > ((nope) ? (void) (0) : __assert_fail ("nope", "engine.c", 614, __PRETTY_FUNCTION__)); > > return((char *)((void *)0)); >} > > > > > > >static char * >sfast(m, start, stop, startst, stopst) >register struct smat *m; >char *start; >char *stop; >sopno startst; >sopno stopst; >{ > register unsigned st = m->st; > register unsigned fresh = m->fresh; > register unsigned tmp = m->tmp; > register char *p = start; > register int c = (start == m->beginp) ? ((127 * 2 + 1)+1) : *(start-1); > register int lastc; > register int flagch; > register int i; > register char *coldp; > > ((st) = 0); > ((st) |= (unsigned)1 << (startst)); > st = sstep(m->g, startst, stopst, st, ((((127 * 2 + 1)+1)+1)+3), st); > ((fresh) = (st)); > sprint(m, "start", st, *p, stdout); > coldp = ((void *)0); > for (;;) { > > lastc = c; > c = (p == m->endp) ? ((127 * 2 + 1)+1) : *p; > if (((st) == (fresh))) > coldp = p; > > > flagch = '\0'; > i = 0; > if ( (lastc == '\n' && m->g->cflags&0010) || > (lastc == ((127 * 2 + 1)+1) && !(m->eflags&00001)) ) { > flagch = (((127 * 2 + 1)+1)+1); > i = m->g->nbol; > } > if ( (c == '\n' && m->g->cflags&0010) || > (c == ((127 * 2 + 1)+1) && !(m->eflags&00002)) ) { > flagch = (flagch == (((127 * 2 + 1)+1)+1)) ? ((((127 * 2 + 1)+1)+1)+2) : ((((127 * 2 + 1)+1)+1)+1); > i += m->g->neol; > } > if (i != 0) { > for (; i > 0; i--) > st = sstep(m->g, startst, stopst, st, flagch, st); > sprint(m, "boleol", st, c, stdout); > } > > > if ( (flagch == (((127 * 2 + 1)+1)+1) || (lastc != ((127 * 2 + 1)+1) && !(((*__ctype_b_loc ())[(int) ((lastc))] & (unsigned short int) _ISalnum) || (lastc) == '_'))) && > (c != ((127 * 2 + 1)+1) && (((*__ctype_b_loc ())[(int) ((c))] & (unsigned short int) _ISalnum) || (c) == '_')) ) { > flagch = ((((127 * 2 + 1)+1)+1)+4); > } > if ( (lastc != ((127 * 2 + 1)+1) && (((*__ctype_b_loc ())[(int) ((lastc))] & (unsigned short int) _ISalnum) || (lastc) == '_')) && > (flagch == ((((127 * 2 + 1)+1)+1)+1) || (c != ((127 * 2 + 1)+1) && !(((*__ctype_b_loc ())[(int) ((c))] & (unsigned short int) _ISalnum) || (c) == '_'))) ) { > flagch = ((((127 * 2 + 1)+1)+1)+5); > } > if (flagch == ((((127 * 2 + 1)+1)+1)+4) || flagch == ((((127 * 2 + 1)+1)+1)+5)) { > st = sstep(m->g, startst, stopst, st, flagch, st); > sprint(m, "boweow", st, c, stdout); > } > > > if (((st) & ((unsigned)1 << (stopst))) || p == stop) > break; > > > ((tmp) = (st)); > ((st) = (fresh)); > ((c != ((127 * 2 + 1)+1)) ? (void) (0) : __assert_fail ("c != ((127 * 2 + 1)+1)", "engine.c", 695, __PRETTY_FUNCTION__)); > st = sstep(m->g, startst, stopst, tmp, c, st); > sprint(m, "aft", st, c, stdout); > ((((sstep(m->g, startst, stopst, st, ((((127 * 2 + 1)+1)+1)+3), st)) == (st))) ? (void) (0) : __assert_fail ("((sstep(m->g, startst, stopst, st, ((((127 * 2 + 1)+1)+1)+3), st)) == (st))", "engine.c", 698, __PRETTY_FUNCTION__)); > p++; > } > > ((coldp != ((void *)0)) ? (void) (0) : __assert_fail ("coldp != ((void *)0)", "engine.c", 702, __PRETTY_FUNCTION__)); > m->coldp = coldp; > if (((st) & ((unsigned)1 << (stopst)))) > return(p+1); > else > return(((void *)0)); >} > > > > > > >static char * >sslow(m, start, stop, startst, stopst) >register struct smat *m; >char *start; >char *stop; >sopno startst; >sopno stopst; >{ > register unsigned st = m->st; > register unsigned empty = m->empty; > register unsigned tmp = m->tmp; > register char *p = start; > register int c = (start == m->beginp) ? ((127 * 2 + 1)+1) : *(start-1); > register int lastc; > register int flagch; > register int i; > register char *matchp; > > sat(m, "slow", start, stop, startst, stopst); > ((st) = 0); > ((st) |= (unsigned)1 << (startst)); > sprint(m, "sstart", st, *p, stdout); > st = sstep(m->g, startst, stopst, st, ((((127 * 2 + 1)+1)+1)+3), st); > matchp = ((void *)0); > for (;;) { > > lastc = c; > c = (p == m->endp) ? ((127 * 2 + 1)+1) : *p; > > > flagch = '\0'; > i = 0; > if ( (lastc == '\n' && m->g->cflags&0010) || > (lastc == ((127 * 2 + 1)+1) && !(m->eflags&00001)) ) { > flagch = (((127 * 2 + 1)+1)+1); > i = m->g->nbol; > } > if ( (c == '\n' && m->g->cflags&0010) || > (c == ((127 * 2 + 1)+1) && !(m->eflags&00002)) ) { > flagch = (flagch == (((127 * 2 + 1)+1)+1)) ? ((((127 * 2 + 1)+1)+1)+2) : ((((127 * 2 + 1)+1)+1)+1); > i += m->g->neol; > } > if (i != 0) { > for (; i > 0; i--) > st = sstep(m->g, startst, stopst, st, flagch, st); > sprint(m, "sboleol", st, c, stdout); > } > > > if ( (flagch == (((127 * 2 + 1)+1)+1) || (lastc != ((127 * 2 + 1)+1) && !(((*__ctype_b_loc ())[(int) ((lastc))] & (unsigned short int) _ISalnum) || (lastc) == '_'))) && > (c != ((127 * 2 + 1)+1) && (((*__ctype_b_loc ())[(int) ((c))] & (unsigned short int) _ISalnum) || (c) == '_')) ) { > flagch = ((((127 * 2 + 1)+1)+1)+4); > } > if ( (lastc != ((127 * 2 + 1)+1) && (((*__ctype_b_loc ())[(int) ((lastc))] & (unsigned short int) _ISalnum) || (lastc) == '_')) && > (flagch == ((((127 * 2 + 1)+1)+1)+1) || (c != ((127 * 2 + 1)+1) && !(((*__ctype_b_loc ())[(int) ((c))] & (unsigned short int) _ISalnum) || (c) == '_'))) ) { > flagch = ((((127 * 2 + 1)+1)+1)+5); > } > if (flagch == ((((127 * 2 + 1)+1)+1)+4) || flagch == ((((127 * 2 + 1)+1)+1)+5)) { > st = sstep(m->g, startst, stopst, st, flagch, st); > sprint(m, "sboweow", st, c, stdout); > } > > > if (((st) & ((unsigned)1 << (stopst)))) > matchp = p; > if (((st) == (empty)) || p == stop) > break; > > > ((tmp) = (st)); > ((st) = (empty)); > ((c != ((127 * 2 + 1)+1)) ? (void) (0) : __assert_fail ("c != ((127 * 2 + 1)+1)", "engine.c", 786, __PRETTY_FUNCTION__)); > st = sstep(m->g, startst, stopst, tmp, c, st); > sprint(m, "saft", st, c, stdout); > ((((sstep(m->g, startst, stopst, st, ((((127 * 2 + 1)+1)+1)+3), st)) == (st))) ? (void) (0) : __assert_fail ("((sstep(m->g, startst, stopst, st, ((((127 * 2 + 1)+1)+1)+3), st)) == (st))", "engine.c", 789, __PRETTY_FUNCTION__)); > p++; > } > > return(matchp); >} ># 811 "engine.c" >static unsigned >sstep(g, start, stop, bef, ch, aft) >register struct re_guts *g; >sopno start; >sopno stop; >register unsigned bef; >int ch; >register unsigned aft; >{ > register cset *cs; > register sop s; > register sopno pc; > register unsigned here; > register sopno look; > register long i; > > for (pc = start, ((here) = (unsigned)1 << (pc)); pc != stop; pc++, ((here) <<= 1)) { > s = g->strip[pc]; > switch (((s)&0x7c000000)) { > case (1<<(26)): > ((pc == stop-1) ? (void) (0) : __assert_fail ("pc == stop-1", "engine.c", 831, __PRETTY_FUNCTION__)); > break; > case (2<<(26)): > > ((!((ch) > (127 * 2 + 1)) || ch != (char)((s)&0x03ffffff)) ? (void) (0) : __assert_fail ("!((ch) > (127 * 2 + 1)) || ch != (char)((s)&0x03ffffff)", "engine.c", 835, __PRETTY_FUNCTION__)); > if (ch == (char)((s)&0x03ffffff)) > ((aft) |= ((unsigned)(bef)&(here)) << (1)); > break; > case (3<<(26)): > if (ch == (((127 * 2 + 1)+1)+1) || ch == ((((127 * 2 + 1)+1)+1)+2)) > ((aft) |= ((unsigned)(bef)&(here)) << (1)); > break; > case (4<<(26)): > if (ch == ((((127 * 2 + 1)+1)+1)+1) || ch == ((((127 * 2 + 1)+1)+1)+2)) > ((aft) |= ((unsigned)(bef)&(here)) << (1)); > break; > case (19<<(26)): > if (ch == ((((127 * 2 + 1)+1)+1)+4)) > ((aft) |= ((unsigned)(bef)&(here)) << (1)); > break; > case (20<<(26)): > if (ch == ((((127 * 2 + 1)+1)+1)+5)) > ((aft) |= ((unsigned)(bef)&(here)) << (1)); > break; > case (5<<(26)): > if (!((ch) > (127 * 2 + 1))) > ((aft) |= ((unsigned)(bef)&(here)) << (1)); > break; > case (6<<(26)): > cs = &g->sets[((s)&0x03ffffff)]; > if (!((ch) > (127 * 2 + 1)) && ((cs)->ptr[(uch)(ch)] & (cs)->mask)) > ((aft) |= ((unsigned)(bef)&(here)) << (1)); > break; > case (7<<(26)): > case (8<<(26)): > ((aft) |= ((unsigned)(aft)&(here)) << (1)); > break; > case (9<<(26)): > ((aft) |= ((unsigned)(aft)&(here)) << (1)); > break; > case (10<<(26)): > ((aft) |= ((unsigned)(aft)&(here)) << (1)); > i = ((aft) & ((unsigned)here >> (((s)&0x03ffffff)))); > ((aft) |= ((unsigned)(aft)&(here)) >> (((s)&0x03ffffff))); > if (!i && ((aft) & ((unsigned)here >> (((s)&0x03ffffff))))) { > > pc -= ((s)&0x03ffffff) + 1; > ((here) = (unsigned)1 << (pc)); > } > break; > case (11<<(26)): > ((aft) |= ((unsigned)(aft)&(here)) << (1)); > ((aft) |= ((unsigned)(aft)&(here)) << (((s)&0x03ffffff))); > break; > case (12<<(26)): > ((aft) |= ((unsigned)(aft)&(here)) << (1)); > break; > case (13<<(26)): > case (14<<(26)): > ((aft) |= ((unsigned)(aft)&(here)) << (1)); > break; > case (15<<(26)): > ((aft) |= ((unsigned)(aft)&(here)) << (1)); > ((((g->strip[pc+((s)&0x03ffffff)])&0x7c000000) == (17<<(26))) ? (void) (0) : __assert_fail ("((g->strip[pc+((s)&0x03ffffff)])&0x7c000000) == (17<<(26))", "engine.c", 894, __PRETTY_FUNCTION__)); > ((aft) |= ((unsigned)(aft)&(here)) << (((s)&0x03ffffff))); > break; > case (16<<(26)): > if (((aft) & (here))) { > for (look = 1; > ((s = g->strip[pc+look])&0x7c000000) != (18<<(26)); > look += ((s)&0x03ffffff)) > ((((s)&0x7c000000) == (17<<(26))) ? (void) (0) : __assert_fail ("((s)&0x7c000000) == (17<<(26))", "engine.c", 902, __PRETTY_FUNCTION__)); > ((aft) |= ((unsigned)(aft)&(here)) << (look)); > } > break; > case (17<<(26)): > ((aft) |= ((unsigned)(aft)&(here)) << (1)); > if (((g->strip[pc+((s)&0x03ffffff)])&0x7c000000) != (18<<(26))) { > ((((g->strip[pc+((s)&0x03ffffff)])&0x7c000000) == (17<<(26))) ? (void) (0) : __assert_fail ("((g->strip[pc+((s)&0x03ffffff)])&0x7c000000) == (17<<(26))", "engine.c", 909, __PRETTY_FUNCTION__)); > ((aft) |= ((unsigned)(aft)&(here)) << (((s)&0x03ffffff))); > } > break; > case (18<<(26)): > ((aft) |= ((unsigned)(aft)&(here)) << (1)); > break; > default: > ((nope) ? (void) (0) : __assert_fail ("nope", "engine.c", 917, __PRETTY_FUNCTION__)); > break; > } > } > > return(aft); >} ># 933 "engine.c" >static void >sprint(m, caption, st, ch, d) >struct smat *m; >char *caption; >unsigned st; >int ch; >FILE *d; >{ > register struct re_guts *g = m->g; > register int i; > register int first = 1; > > if (!(m->eflags&00400)) > return; > > fprintf(d, "%s", caption); > if (ch != '\0') > fprintf(d, " %s", pchar(ch)); > for (i = 0; i < g->nstates; i++) > if (((st) & ((unsigned)1 << (i)))) { > fprintf(d, "%s%d", (first) ? "\t" : ", ", i); > first = 0; > } > fprintf(d, "\n"); >} ># 966 "engine.c" >static void >sat(m, title, start, stop, startst, stopst) >struct smat *m; >char *title; >char *start; >char *stop; >sopno startst; >sopno stopst; >{ > if (!(m->eflags&00400)) > return; > > printf("%s %s-", title, pchar(*start)); > printf("%s ", pchar(*stop)); > printf("%ld-%ld\n", (long)startst, (long)stopst); >} ># 996 "engine.c" >static char * >pchar(ch) >int ch; >{ > static char pbuf[10]; > > if (((*__ctype_b_loc ())[(int) ((ch))] & (unsigned short int) _ISprint) || ch == ' ') > sprintf(pbuf, "%c", ch); > else > sprintf(pbuf, "\\%o", ch); > return(pbuf); >} ># 47 "regexec.c" 2 ># 95 "regexec.c" ># 1 "engine.c" 1 ># 32 "engine.c" >struct lmat { > struct re_guts *g; > int eflags; > regmatch_t *pmatch; > char *offp; > char *beginp; > char *endp; > char *coldp; > char **lastpos; > int vn; char *space; > char * st; > char * fresh; > char * tmp; > char * empty; >}; > ># 1 "engine.ih" 1 > > > > > > >static int lmatcher(register struct re_guts *g, char *string, size_t nmatch, regmatch_t pmatch[], int eflags); >static char *ldissect(register struct lmat *m, char *start, char *stop, sopno startst, sopno stopst); >static char *lbackref(register struct lmat *m, char *start, char *stop, sopno startst, sopno stopst, sopno lev); >static char *lfast(register struct lmat *m, char *start, char *stop, sopno startst, sopno stopst); >static char *lslow(register struct lmat *m, char *start, char *stop, sopno startst, sopno stopst); >static char * lstep(register struct re_guts *g, sopno start, sopno stop, register char * bef, int ch, register char * aft); ># 23 "engine.ih" >static void lprint(struct lmat *m, char *caption, char * st, int ch, FILE *d); > > >static void lat(struct lmat *m, char *title, char *start, char *stop, sopno startst, sopno stopst); > > >static char *pchar(int ch); ># 49 "engine.c" 2 ># 65 "engine.c" >static int >lmatcher(g, string, nmatch, pmatch, eflags) >register struct re_guts *g; >char *string; >size_t nmatch; >regmatch_t pmatch[]; >int eflags; >{ > register char *endp; > register int i; > struct lmat mv; > register struct lmat *m = &mv; > register char *dp; > const register sopno gf = g->firststate+1; > const register sopno gl = g->laststate; > char *start; > char *stop; > > > if (g->cflags&0004) > nmatch = 0; > if (eflags&00004) { > start = string + pmatch[0].rm_so; > stop = string + pmatch[0].rm_eo; > } else { > start = string; > stop = start + strlen(start); > } > if (stop < start) > return(16); > > > if (g->must != ((void *)0)) { > for (dp = start; dp < stop; dp++) > if (*dp == g->must[0] && stop - dp >= g->mlen && > memcmp(dp, g->must, (size_t)g->mlen) == 0) > break; > if (dp == stop) > return(1); > } > > > m->g = g; > m->eflags = eflags; > m->pmatch = ((void *)0); > m->lastpos = ((void *)0); > m->offp = string; > m->beginp = start; > m->endp = stop; > { (m)->space = malloc((4)*(m)->g->nstates); if ((m)->space == ((void *)0)) return(12); (m)->vn = 0; }; > ((m->st) = &m->space[m->vn++ * m->g->nstates]); > ((m->fresh) = &m->space[m->vn++ * m->g->nstates]); > ((m->tmp) = &m->space[m->vn++ * m->g->nstates]); > ((m->empty) = &m->space[m->vn++ * m->g->nstates]); > memset(m->empty, 0, m->g->nstates); > > > for (;;) { > endp = lfast(m, start, stop, gf, gl); > if (endp == ((void *)0)) { > { free((m)->space); }; > return(1); > } > if (nmatch == 0 && !g->backrefs) > break; > > > ((m->coldp != ((void *)0)) ? (void) (0) : __assert_fail ("m->coldp != ((void *)0)", "engine.c", 132, __PRETTY_FUNCTION__)); > for (;;) { > { if (m->eflags&00400) printf("=%s\n", ("finding start")); }; > endp = lslow(m, m->coldp, stop, gf, gl); > if (endp != ((void *)0)) > break; > ((m->coldp < m->endp) ? (void) (0) : __assert_fail ("m->coldp < m->endp", "engine.c", 138, __PRETTY_FUNCTION__)); > m->coldp++; > } > if (nmatch == 1 && !g->backrefs) > break; > > > if (m->pmatch == ((void *)0)) > m->pmatch = (regmatch_t *)malloc((m->g->nsub + 1) * > sizeof(regmatch_t)); > if (m->pmatch == ((void *)0)) { > { free((m)->space); }; > return(12); > } > for (i = 1; i <= m->g->nsub; i++) > m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; > if (!g->backrefs && !(m->eflags&02000)) { > { if (m->eflags&00400) printf("=%s\n", ("dissecting")); }; > dp = ldissect(m, m->coldp, endp, gf, gl); > } else { > if (g->nplus > 0 && m->lastpos == ((void *)0)) > m->lastpos = (char **)malloc((g->nplus+1) * > sizeof(char *)); > if (g->nplus > 0 && m->lastpos == ((void *)0)) { > free(m->pmatch); > { free((m)->space); }; > return(12); > } > { if (m->eflags&00400) printf("=%s\n", ("backref dissect")); }; > dp = lbackref(m, m->coldp, endp, gf, gl, (sopno)0); > } > if (dp != ((void *)0)) > break; > > > ((g->backrefs) ? (void) (0) : __assert_fail ("g->backrefs", "engine.c", 173, __PRETTY_FUNCTION__)); > ((g->nplus == 0 || m->lastpos != ((void *)0)) ? (void) (0) : __assert_fail ("g->nplus == 0 || m->lastpos != ((void *)0)", "engine.c", 174, __PRETTY_FUNCTION__)); > for (;;) { > if (dp != ((void *)0) || endp <= m->coldp) > break; > { if (m->eflags&00400) printf("=%s\n", ("backoff")); }; > endp = lslow(m, m->coldp, endp-1, gf, gl); > if (endp == ((void *)0)) > break; > > > for (i = 1; i <= m->g->nsub; i++) { > ((m->pmatch[i].rm_so == -1) ? (void) (0) : __assert_fail ("m->pmatch[i].rm_so == -1", "engine.c", 185, __PRETTY_FUNCTION__)); > ((m->pmatch[i].rm_eo == -1) ? (void) (0) : __assert_fail ("m->pmatch[i].rm_eo == -1", "engine.c", 186, __PRETTY_FUNCTION__)); > } > > { if (m->eflags&00400) printf("=%s\n", ("backoff dissect")); }; > dp = lbackref(m, m->coldp, endp, gf, gl, (sopno)0); > } > ((dp == ((void *)0) || dp == endp) ? (void) (0) : __assert_fail ("dp == ((void *)0) || dp == endp", "engine.c", 192, __PRETTY_FUNCTION__)); > if (dp != ((void *)0)) > break; > > > { if (m->eflags&00400) printf("=%s\n", ("false alarm")); }; > start = m->coldp + 1; > ((start <= stop) ? (void) (0) : __assert_fail ("start <= stop", "engine.c", 199, __PRETTY_FUNCTION__)); > } > > > if (nmatch > 0) { > pmatch[0].rm_so = m->coldp - m->offp; > pmatch[0].rm_eo = endp - m->offp; > } > if (nmatch > 1) { > ((m->pmatch != ((void *)0)) ? (void) (0) : __assert_fail ("m->pmatch != ((void *)0)", "engine.c", 208, __PRETTY_FUNCTION__)); > for (i = 1; i < nmatch; i++) > if (i <= m->g->nsub) > pmatch[i] = m->pmatch[i]; > else { > pmatch[i].rm_so = -1; > pmatch[i].rm_eo = -1; > } > } > > if (m->pmatch != ((void *)0)) > free((char *)m->pmatch); > if (m->lastpos != ((void *)0)) > free((char *)m->lastpos); > { free((m)->space); }; > return(0); >} > > > > > > >static char * >ldissect(m, start, stop, startst, stopst) >register struct lmat *m; >char *start; >char *stop; >sopno startst; >sopno stopst; >{ > register int i; > register sopno ss; > register sopno es; > register char *sp; > register char *stp; > register char *rest; > register char *tail; > register sopno ssub; > register sopno esub; > register char *ssp; > register char *sep; > register char *oldssp; > register char *dp; > > lat(m, "diss", start, stop, startst, stopst); > sp = start; > for (ss = startst; ss < stopst; ss = es) { > > es = ss; > switch (((m->g->strip[es])&0x7c000000)) { > case (9<<(26)): > case (11<<(26)): > es += ((m->g->strip[es])&0x03ffffff); > break; > case (15<<(26)): > while (((m->g->strip[es])&0x7c000000) != (18<<(26))) > es += ((m->g->strip[es])&0x03ffffff); > break; > } > es++; > > > switch (((m->g->strip[ss])&0x7c000000)) { > case (1<<(26)): > ((nope) ? (void) (0) : __assert_fail ("nope", "engine.c", 273, __PRETTY_FUNCTION__)); > break; > case (2<<(26)): > sp++; > break; > case (3<<(26)): > case (4<<(26)): > case (19<<(26)): > case (20<<(26)): > break; > case (5<<(26)): > case (6<<(26)): > sp++; > break; > case (7<<(26)): > case (8<<(26)): > ((nope) ? (void) (0) : __assert_fail ("nope", "engine.c", 289, __PRETTY_FUNCTION__)); > break; > > case (11<<(26)): > stp = stop; > for (;;) { > > rest = lslow(m, sp, stp, ss, es); > ((rest != ((void *)0)) ? (void) (0) : __assert_fail ("rest != ((void *)0)", "engine.c", 297, __PRETTY_FUNCTION__)); > > tail = lslow(m, rest, stop, es, stopst); > if (tail == stop) > break; > > stp = rest - 1; > ((stp >= sp) ? (void) (0) : __assert_fail ("stp >= sp", "engine.c", 304, __PRETTY_FUNCTION__)); > } > ssub = ss + 1; > esub = es - 1; > > if (lslow(m, sp, rest, ssub, esub) != ((void *)0)) { > dp = ldissect(m, sp, rest, ssub, esub); > ((dp == rest) ? (void) (0) : __assert_fail ("dp == rest", "engine.c", 311, __PRETTY_FUNCTION__)); > } else > ((sp == rest) ? (void) (0) : __assert_fail ("sp == rest", "engine.c", 313, __PRETTY_FUNCTION__)); > sp = rest; > break; > case (9<<(26)): > stp = stop; > for (;;) { > > rest = lslow(m, sp, stp, ss, es); > ((rest != ((void *)0)) ? (void) (0) : __assert_fail ("rest != ((void *)0)", "engine.c", 321, __PRETTY_FUNCTION__)); > > tail = lslow(m, rest, stop, es, stopst); > if (tail == stop) > break; > > stp = rest - 1; > ((stp >= sp) ? (void) (0) : __assert_fail ("stp >= sp", "engine.c", 328, __PRETTY_FUNCTION__)); > } > ssub = ss + 1; > esub = es - 1; > ssp = sp; > oldssp = ssp; > for (;;) { > sep = lslow(m, ssp, rest, ssub, esub); > if (sep == ((void *)0) || sep == ssp) > break; > oldssp = ssp; > ssp = sep; > } > if (sep == ((void *)0)) { > > sep = ssp; > ssp = oldssp; > } > ((sep == rest) ? (void) (0) : __assert_fail ("sep == rest", "engine.c", 346, __PRETTY_FUNCTION__)); > ((lslow(m, ssp, sep, ssub, esub) == rest) ? (void) (0) : __assert_fail ("lslow(m, ssp, sep, ssub, esub) == rest", "engine.c", 347, __PRETTY_FUNCTION__)); > dp = ldissect(m, ssp, sep, ssub, esub); > ((dp == sep) ? (void) (0) : __assert_fail ("dp == sep", "engine.c", 349, __PRETTY_FUNCTION__)); > sp = rest; > break; > case (15<<(26)): > stp = stop; > for (;;) { > > rest = lslow(m, sp, stp, ss, es); > ((rest != ((void *)0)) ? (void) (0) : __assert_fail ("rest != ((void *)0)", "engine.c", 357, __PRETTY_FUNCTION__)); > > tail = lslow(m, rest, stop, es, stopst); > if (tail == stop) > break; > > stp = rest - 1; > ((stp >= sp) ? (void) (0) : __assert_fail ("stp >= sp", "engine.c", 364, __PRETTY_FUNCTION__)); > } > ssub = ss + 1; > esub = ss + ((m->g->strip[ss])&0x03ffffff) - 1; > ((((m->g->strip[esub])&0x7c000000) == (16<<(26))) ? (void) (0) : __assert_fail ("((m->g->strip[esub])&0x7c000000) == (16<<(26))", "engine.c", 368, __PRETTY_FUNCTION__)); > for (;;) { > if (lslow(m, sp, rest, ssub, esub) == rest) > break; > > ((((m->g->strip[esub])&0x7c000000) == (16<<(26))) ? (void) (0) : __assert_fail ("((m->g->strip[esub])&0x7c000000) == (16<<(26))", "engine.c", 373, __PRETTY_FUNCTION__)); > esub++; > ((((m->g->strip[esub])&0x7c000000) == (17<<(26))) ? (void) (0) : __assert_fail ("((m->g->strip[esub])&0x7c000000) == (17<<(26))", "engine.c", 375, __PRETTY_FUNCTION__)); > ssub = esub + 1; > esub += ((m->g->strip[esub])&0x03ffffff); > if (((m->g->strip[esub])&0x7c000000) == (17<<(26))) > esub--; > else > ((((m->g->strip[esub])&0x7c000000) == (18<<(26))) ? (void) (0) : __assert_fail ("((m->g->strip[esub])&0x7c000000) == (18<<(26))", "engine.c", 381, __PRETTY_FUNCTION__)); > } > dp = ldissect(m, sp, rest, ssub, esub); > ((dp == rest) ? (void) (0) : __assert_fail ("dp == rest", "engine.c", 384, __PRETTY_FUNCTION__)); > sp = rest; > break; > case (10<<(26)): > case (12<<(26)): > case (16<<(26)): > case (17<<(26)): > case (18<<(26)): > ((nope) ? (void) (0) : __assert_fail ("nope", "engine.c", 392, __PRETTY_FUNCTION__)); > break; > case (13<<(26)): > i = ((m->g->strip[ss])&0x03ffffff); > ((0 < i && i <= m->g->nsub) ? (void) (0) : __assert_fail ("0 < i && i <= m->g->nsub", "engine.c", 396, __PRETTY_FUNCTION__)); > m->pmatch[i].rm_so = sp - m->offp; > break; > case (14<<(26)): > i = ((m->g->strip[ss])&0x03ffffff); > ((0 < i && i <= m->g->nsub) ? (void) (0) : __assert_fail ("0 < i && i <= m->g->nsub", "engine.c", 401, __PRETTY_FUNCTION__)); > m->pmatch[i].rm_eo = sp - m->offp; > break; > default: > ((nope) ? (void) (0) : __assert_fail ("nope", "engine.c", 405, __PRETTY_FUNCTION__)); > break; > } > } > > ((sp == stop) ? (void) (0) : __assert_fail ("sp == stop", "engine.c", 410, __PRETTY_FUNCTION__)); > return(sp); >} > > > > > > >static char * >lbackref(m, start, stop, startst, stopst, lev) >register struct lmat *m; >char *start; >char *stop; >sopno startst; >sopno stopst; >sopno lev; >{ > register int i; > register sopno ss; > register char *sp; > register sopno ssub; > register sopno esub; > register char *ssp; > register char *dp; > register size_t len; > register int hard; > register sop s; > register regoff_t offsave; > register cset *cs; > > lat(m, "back", start, stop, startst, stopst); > sp = start; > > > hard = 0; > for (ss = startst; !hard && ss < stopst; ss++) > switch (((s = m->g->strip[ss])&0x7c000000)) { > case (2<<(26)): > if (sp == stop || *sp++ != (char)((s)&0x03ffffff)) > return(((void *)0)); > break; > case (5<<(26)): > if (sp == stop) > return(((void *)0)); > sp++; > break; > case (6<<(26)): > cs = &m->g->sets[((s)&0x03ffffff)]; > if (sp == stop || !((cs)->ptr[(uch)(*sp++)] & (cs)->mask)) > return(((void *)0)); > break; > case (3<<(26)): > if ( (sp == m->beginp && !(m->eflags&00001)) || > (sp < m->endp && *(sp-1) == '\n' && > (m->g->cflags&0010)) ) > { } > else > return(((void *)0)); > break; > case (4<<(26)): > if ( (sp == m->endp && !(m->eflags&00002)) || > (sp < m->endp && *sp == '\n' && > (m->g->cflags&0010)) ) > { } > else > return(((void *)0)); > break; > case (19<<(26)): > if (( (sp == m->beginp && !(m->eflags&00001)) || > (sp < m->endp && *(sp-1) == '\n' && > (m->g->cflags&0010)) || > (sp > m->beginp && > !(((*__ctype_b_loc ())[(int) ((*(sp-1)))] & (unsigned short int) _ISalnum) || (*(sp-1)) == '_')) ) && > (sp < m->endp && (((*__ctype_b_loc ())[(int) ((*sp))] & (unsigned short int) _ISalnum) || (*sp) == '_')) ) > { } > else > return(((void *)0)); > break; > case (20<<(26)): > if (( (sp == m->endp && !(m->eflags&00002)) || > (sp < m->endp && *sp == '\n' && > (m->g->cflags&0010)) || > (sp < m->endp && !(((*__ctype_b_loc ())[(int) ((*sp))] & (unsigned short int) _ISalnum) || (*sp) == '_')) ) && > (sp > m->beginp && (((*__ctype_b_loc ())[(int) ((*(sp-1)))] & (unsigned short int) _ISalnum) || (*(sp-1)) == '_')) ) > { } > else > return(((void *)0)); > break; > case (12<<(26)): > break; > case (16<<(26)): > ss++; > s = m->g->strip[ss]; > do { > ((((s)&0x7c000000) == (17<<(26))) ? (void) (0) : __assert_fail ("((s)&0x7c000000) == (17<<(26))", "engine.c", 505, __PRETTY_FUNCTION__)); > ss += ((s)&0x03ffffff); > } while (((s = m->g->strip[ss])&0x7c000000) != (18<<(26))); > > break; > default: > hard = 1; > break; > } > if (!hard) { > if (sp != stop) > return(((void *)0)); > return(sp); > } > ss--; > > > lat(m, "hard", sp, stop, ss, stopst); > s = m->g->strip[ss]; > switch (((s)&0x7c000000)) { > case (7<<(26)): > i = ((s)&0x03ffffff); > ((0 < i && i <= m->g->nsub) ? (void) (0) : __assert_fail ("0 < i && i <= m->g->nsub", "engine.c", 527, __PRETTY_FUNCTION__)); > if (m->pmatch[i].rm_eo == -1) > return(((void *)0)); > ((m->pmatch[i].rm_so != -1) ? (void) (0) : __assert_fail ("m->pmatch[i].rm_so != -1", "engine.c", 530, __PRETTY_FUNCTION__)); > len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so; > ((stop - m->beginp >= len) ? (void) (0) : __assert_fail ("stop - m->beginp >= len", "engine.c", 532, __PRETTY_FUNCTION__)); > if (sp > stop - len) > return(((void *)0)); > ssp = m->offp + m->pmatch[i].rm_so; > if (memcmp(sp, ssp, len) != 0) > return(((void *)0)); > while (m->g->strip[ss] != (((8<<(26)))|(i))) > ss++; > return(lbackref(m, sp+len, stop, ss+1, stopst, lev)); > break; > case (11<<(26)): > dp = lbackref(m, sp, stop, ss+1, stopst, lev); > if (dp != ((void *)0)) > return(dp); > return(lbackref(m, sp, stop, ss+((s)&0x03ffffff)+1, stopst, lev)); > break; > case (9<<(26)): > ((m->lastpos != ((void *)0)) ? (void) (0) : __assert_fail ("m->lastpos != ((void *)0)", "engine.c", 549, __PRETTY_FUNCTION__)); > ((lev+1 <= m->g->nplus) ? (void) (0) : __assert_fail ("lev+1 <= m->g->nplus", "engine.c", 550, __PRETTY_FUNCTION__)); > m->lastpos[lev+1] = sp; > return(lbackref(m, sp, stop, ss+1, stopst, lev+1)); > break; > case (10<<(26)): > if (sp == m->lastpos[lev]) > return(lbackref(m, sp, stop, ss+1, stopst, lev-1)); > > m->lastpos[lev] = sp; > dp = lbackref(m, sp, stop, ss-((s)&0x03ffffff)+1, stopst, lev); > if (dp == ((void *)0)) > return(lbackref(m, sp, stop, ss+1, stopst, lev-1)); > else > return(dp); > break; > case (15<<(26)): > ssub = ss + 1; > esub = ss + ((s)&0x03ffffff) - 1; > ((((m->g->strip[esub])&0x7c000000) == (16<<(26))) ? (void) (0) : __assert_fail ("((m->g->strip[esub])&0x7c000000) == (16<<(26))", "engine.c", 568, __PRETTY_FUNCTION__)); > for (;;) { > dp = lbackref(m, sp, stop, ssub, esub, lev); > if (dp != ((void *)0)) > return(dp); > > if (((m->g->strip[esub])&0x7c000000) == (18<<(26))) > return(((void *)0)); > esub++; > ((((m->g->strip[esub])&0x7c000000) == (17<<(26))) ? (void) (0) : __assert_fail ("((m->g->strip[esub])&0x7c000000) == (17<<(26))", "engine.c", 577, __PRETTY_FUNCTION__)); > ssub = esub + 1; > esub += ((m->g->strip[esub])&0x03ffffff); > if (((m->g->strip[esub])&0x7c000000) == (17<<(26))) > esub--; > else > ((((m->g->strip[esub])&0x7c000000) == (18<<(26))) ? (void) (0) : __assert_fail ("((m->g->strip[esub])&0x7c000000) == (18<<(26))", "engine.c", 583, __PRETTY_FUNCTION__)); > } > break; > case (13<<(26)): > i = ((s)&0x03ffffff); > ((0 < i && i <= m->g->nsub) ? (void) (0) : __assert_fail ("0 < i && i <= m->g->nsub", "engine.c", 588, __PRETTY_FUNCTION__)); > offsave = m->pmatch[i].rm_so; > m->pmatch[i].rm_so = sp - m->offp; > dp = lbackref(m, sp, stop, ss+1, stopst, lev); > if (dp != ((void *)0)) > return(dp); > m->pmatch[i].rm_so = offsave; > return(((void *)0)); > break; > case (14<<(26)): > i = ((s)&0x03ffffff); > ((0 < i && i <= m->g->nsub) ? (void) (0) : __assert_fail ("0 < i && i <= m->g->nsub", "engine.c", 599, __PRETTY_FUNCTION__)); > offsave = m->pmatch[i].rm_eo; > m->pmatch[i].rm_eo = sp - m->offp; > dp = lbackref(m, sp, stop, ss+1, stopst, lev); > if (dp != ((void *)0)) > return(dp); > m->pmatch[i].rm_eo = offsave; > return(((void *)0)); > break; > default: > ((nope) ? (void) (0) : __assert_fail ("nope", "engine.c", 609, __PRETTY_FUNCTION__)); > break; > } > > > ((nope) ? (void) (0) : __assert_fail ("nope", "engine.c", 614, __PRETTY_FUNCTION__)); > > return((char *)((void *)0)); >} > > > > > > >static char * >lfast(m, start, stop, startst, stopst) >register struct lmat *m; >char *start; >char *stop; >sopno startst; >sopno stopst; >{ > register char * st = m->st; > register char * fresh = m->fresh; > register char * tmp = m->tmp; > register char *p = start; > register int c = (start == m->beginp) ? ((127 * 2 + 1)+1) : *(start-1); > register int lastc; > register int flagch; > register int i; > register char *coldp; > > memset(st, 0, m->g->nstates); > ((st)[startst] = 1); > st = lstep(m->g, startst, stopst, st, ((((127 * 2 + 1)+1)+1)+3), st); > memcpy(fresh, st, m->g->nstates); > lprint(m, "start", st, *p, stdout); > coldp = ((void *)0); > for (;;) { > > lastc = c; > c = (p == m->endp) ? ((127 * 2 + 1)+1) : *p; > if ((memcmp(st, fresh, m->g->nstates) == 0)) > coldp = p; > > > flagch = '\0'; > i = 0; > if ( (lastc == '\n' && m->g->cflags&0010) || > (lastc == ((127 * 2 + 1)+1) && !(m->eflags&00001)) ) { > flagch = (((127 * 2 + 1)+1)+1); > i = m->g->nbol; > } > if ( (c == '\n' && m->g->cflags&0010) || > (c == ((127 * 2 + 1)+1) && !(m->eflags&00002)) ) { > flagch = (flagch == (((127 * 2 + 1)+1)+1)) ? ((((127 * 2 + 1)+1)+1)+2) : ((((127 * 2 + 1)+1)+1)+1); > i += m->g->neol; > } > if (i != 0) { > for (; i > 0; i--) > st = lstep(m->g, startst, stopst, st, flagch, st); > lprint(m, "boleol", st, c, stdout); > } > > > if ( (flagch == (((127 * 2 + 1)+1)+1) || (lastc != ((127 * 2 + 1)+1) && !(((*__ctype_b_loc ())[(int) ((lastc))] & (unsigned short int) _ISalnum) || (lastc) == '_'))) && > (c != ((127 * 2 + 1)+1) && (((*__ctype_b_loc ())[(int) ((c))] & (unsigned short int) _ISalnum) || (c) == '_')) ) { > flagch = ((((127 * 2 + 1)+1)+1)+4); > } > if ( (lastc != ((127 * 2 + 1)+1) && (((*__ctype_b_loc ())[(int) ((lastc))] & (unsigned short int) _ISalnum) || (lastc) == '_')) && > (flagch == ((((127 * 2 + 1)+1)+1)+1) || (c != ((127 * 2 + 1)+1) && !(((*__ctype_b_loc ())[(int) ((c))] & (unsigned short int) _ISalnum) || (c) == '_'))) ) { > flagch = ((((127 * 2 + 1)+1)+1)+5); > } > if (flagch == ((((127 * 2 + 1)+1)+1)+4) || flagch == ((((127 * 2 + 1)+1)+1)+5)) { > st = lstep(m->g, startst, stopst, st, flagch, st); > lprint(m, "boweow", st, c, stdout); > } > > > if (((st)[stopst]) || p == stop) > break; > > > memcpy(tmp, st, m->g->nstates); > memcpy(st, fresh, m->g->nstates); > ((c != ((127 * 2 + 1)+1)) ? (void) (0) : __assert_fail ("c != ((127 * 2 + 1)+1)", "engine.c", 695, __PRETTY_FUNCTION__)); > st = lstep(m->g, startst, stopst, tmp, c, st); > lprint(m, "aft", st, c, stdout); > (((memcmp(lstep(m->g, startst, stopst, st, ((((127 * 2 + 1)+1)+1)+3), st), st, m->g->nstates) == 0)) ? (void) (0) : __assert_fail ("(memcmp(lstep(m->g, startst, stopst, st, ((((127 * 2 + 1)+1)+1)+3), st), st, m->g->nstates) == 0)", "engine.c", 698, __PRETTY_FUNCTION__)); > p++; > } > > ((coldp != ((void *)0)) ? (void) (0) : __assert_fail ("coldp != ((void *)0)", "engine.c", 702, __PRETTY_FUNCTION__)); > m->coldp = coldp; > if (((st)[stopst])) > return(p+1); > else > return(((void *)0)); >} > > > > > > >static char * >lslow(m, start, stop, startst, stopst) >register struct lmat *m; >char *start; >char *stop; >sopno startst; >sopno stopst; >{ > register char * st = m->st; > register char * empty = m->empty; > register char * tmp = m->tmp; > register char *p = start; > register int c = (start == m->beginp) ? ((127 * 2 + 1)+1) : *(start-1); > register int lastc; > register int flagch; > register int i; > register char *matchp; > > lat(m, "slow", start, stop, startst, stopst); > memset(st, 0, m->g->nstates); > ((st)[startst] = 1); > lprint(m, "sstart", st, *p, stdout); > st = lstep(m->g, startst, stopst, st, ((((127 * 2 + 1)+1)+1)+3), st); > matchp = ((void *)0); > for (;;) { > > lastc = c; > c = (p == m->endp) ? ((127 * 2 + 1)+1) : *p; > > > flagch = '\0'; > i = 0; > if ( (lastc == '\n' && m->g->cflags&0010) || > (lastc == ((127 * 2 + 1)+1) && !(m->eflags&00001)) ) { > flagch = (((127 * 2 + 1)+1)+1); > i = m->g->nbol; > } > if ( (c == '\n' && m->g->cflags&0010) || > (c == ((127 * 2 + 1)+1) && !(m->eflags&00002)) ) { > flagch = (flagch == (((127 * 2 + 1)+1)+1)) ? ((((127 * 2 + 1)+1)+1)+2) : ((((127 * 2 + 1)+1)+1)+1); > i += m->g->neol; > } > if (i != 0) { > for (; i > 0; i--) > st = lstep(m->g, startst, stopst, st, flagch, st); > lprint(m, "sboleol", st, c, stdout); > } > > > if ( (flagch == (((127 * 2 + 1)+1)+1) || (lastc != ((127 * 2 + 1)+1) && !(((*__ctype_b_loc ())[(int) ((lastc))] & (unsigned short int) _ISalnum) || (lastc) == '_'))) && > (c != ((127 * 2 + 1)+1) && (((*__ctype_b_loc ())[(int) ((c))] & (unsigned short int) _ISalnum) || (c) == '_')) ) { > flagch = ((((127 * 2 + 1)+1)+1)+4); > } > if ( (lastc != ((127 * 2 + 1)+1) && (((*__ctype_b_loc ())[(int) ((lastc))] & (unsigned short int) _ISalnum) || (lastc) == '_')) && > (flagch == ((((127 * 2 + 1)+1)+1)+1) || (c != ((127 * 2 + 1)+1) && !(((*__ctype_b_loc ())[(int) ((c))] & (unsigned short int) _ISalnum) || (c) == '_'))) ) { > flagch = ((((127 * 2 + 1)+1)+1)+5); > } > if (flagch == ((((127 * 2 + 1)+1)+1)+4) || flagch == ((((127 * 2 + 1)+1)+1)+5)) { > st = lstep(m->g, startst, stopst, st, flagch, st); > lprint(m, "sboweow", st, c, stdout); > } > > > if (((st)[stopst])) > matchp = p; > if ((memcmp(st, empty, m->g->nstates) == 0) || p == stop) > break; > > > memcpy(tmp, st, m->g->nstates); > memcpy(st, empty, m->g->nstates); > ((c != ((127 * 2 + 1)+1)) ? (void) (0) : __assert_fail ("c != ((127 * 2 + 1)+1)", "engine.c", 786, __PRETTY_FUNCTION__)); > st = lstep(m->g, startst, stopst, tmp, c, st); > lprint(m, "saft", st, c, stdout); > (((memcmp(lstep(m->g, startst, stopst, st, ((((127 * 2 + 1)+1)+1)+3), st), st, m->g->nstates) == 0)) ? (void) (0) : __assert_fail ("(memcmp(lstep(m->g, startst, stopst, st, ((((127 * 2 + 1)+1)+1)+3), st), st, m->g->nstates) == 0)", "engine.c", 789, __PRETTY_FUNCTION__)); > p++; > } > > return(matchp); >} ># 811 "engine.c" >static char * >lstep(g, start, stop, bef, ch, aft) >register struct re_guts *g; >sopno start; >sopno stop; >register char * bef; >int ch; >register char * aft; >{ > register cset *cs; > register sop s; > register sopno pc; > register int here; > register sopno look; > register long i; > > for (pc = start, ((here) = (pc)); pc != stop; pc++, ((here)++)) { > s = g->strip[pc]; > switch (((s)&0x7c000000)) { > case (1<<(26)): > ((pc == stop-1) ? (void) (0) : __assert_fail ("pc == stop-1", "engine.c", 831, __PRETTY_FUNCTION__)); > break; > case (2<<(26)): > > ((!((ch) > (127 * 2 + 1)) || ch != (char)((s)&0x03ffffff)) ? (void) (0) : __assert_fail ("!((ch) > (127 * 2 + 1)) || ch != (char)((s)&0x03ffffff)", "engine.c", 835, __PRETTY_FUNCTION__)); > if (ch == (char)((s)&0x03ffffff)) > ((aft)[here+(1)] |= (bef)[here]); > break; > case (3<<(26)): > if (ch == (((127 * 2 + 1)+1)+1) || ch == ((((127 * 2 + 1)+1)+1)+2)) > ((aft)[here+(1)] |= (bef)[here]); > break; > case (4<<(26)): > if (ch == ((((127 * 2 + 1)+1)+1)+1) || ch == ((((127 * 2 + 1)+1)+1)+2)) > ((aft)[here+(1)] |= (bef)[here]); > break; > case (19<<(26)): > if (ch == ((((127 * 2 + 1)+1)+1)+4)) > ((aft)[here+(1)] |= (bef)[here]); > break; > case (20<<(26)): > if (ch == ((((127 * 2 + 1)+1)+1)+5)) > ((aft)[here+(1)] |= (bef)[here]); > break; > case (5<<(26)): > if (!((ch) > (127 * 2 + 1))) > ((aft)[here+(1)] |= (bef)[here]); > break; > case (6<<(26)): > cs = &g->sets[((s)&0x03ffffff)]; > if (!((ch) > (127 * 2 + 1)) && ((cs)->ptr[(uch)(ch)] & (cs)->mask)) > ((aft)[here+(1)] |= (bef)[here]); > break; > case (7<<(26)): > case (8<<(26)): > ((aft)[here+(1)] |= (aft)[here]); > break; > case (9<<(26)): > ((aft)[here+(1)] |= (aft)[here]); > break; > case (10<<(26)): > ((aft)[here+(1)] |= (aft)[here]); > i = ((aft)[here - (((s)&0x03ffffff))]); > ((aft)[here-(((s)&0x03ffffff))] |= (aft)[here]); > if (!i && ((aft)[here - (((s)&0x03ffffff))])) { > > pc -= ((s)&0x03ffffff) + 1; > ((here) = (pc)); > } > break; > case (11<<(26)): > ((aft)[here+(1)] |= (aft)[here]); > ((aft)[here+(((s)&0x03ffffff))] |= (aft)[here]); > break; > case (12<<(26)): > ((aft)[here+(1)] |= (aft)[here]); > break; > case (13<<(26)): > case (14<<(26)): > ((aft)[here+(1)] |= (aft)[here]); > break; > case (15<<(26)): > ((aft)[here+(1)] |= (aft)[here]); > ((((g->strip[pc+((s)&0x03ffffff)])&0x7c000000) == (17<<(26))) ? (void) (0) : __assert_fail ("((g->strip[pc+((s)&0x03ffffff)])&0x7c000000) == (17<<(26))", "engine.c", 894, __PRETTY_FUNCTION__)); > ((aft)[here+(((s)&0x03ffffff))] |= (aft)[here]); > break; > case (16<<(26)): > if (((aft)[here])) { > for (look = 1; > ((s = g->strip[pc+look])&0x7c000000) != (18<<(26)); > look += ((s)&0x03ffffff)) > ((((s)&0x7c000000) == (17<<(26))) ? (void) (0) : __assert_fail ("((s)&0x7c000000) == (17<<(26))", "engine.c", 902, __PRETTY_FUNCTION__)); > ((aft)[here+(look)] |= (aft)[here]); > } > break; > case (17<<(26)): > ((aft)[here+(1)] |= (aft)[here]); > if (((g->strip[pc+((s)&0x03ffffff)])&0x7c000000) != (18<<(26))) { > ((((g->strip[pc+((s)&0x03ffffff)])&0x7c000000) == (17<<(26))) ? (void) (0) : __assert_fail ("((g->strip[pc+((s)&0x03ffffff)])&0x7c000000) == (17<<(26))", "engine.c", 909, __PRETTY_FUNCTION__)); > ((aft)[here+(((s)&0x03ffffff))] |= (aft)[here]); > } > break; > case (18<<(26)): > ((aft)[here+(1)] |= (aft)[here]); > break; > default: > ((nope) ? (void) (0) : __assert_fail ("nope", "engine.c", 917, __PRETTY_FUNCTION__)); > break; > } > } > > return(aft); >} ># 933 "engine.c" >static void >lprint(m, caption, st, ch, d) >struct lmat *m; >char *caption; >char * st; >int ch; >FILE *d; >{ > register struct re_guts *g = m->g; > register int i; > register int first = 1; > > if (!(m->eflags&00400)) > return; > > fprintf(d, "%s", caption); > if (ch != '\0') > fprintf(d, " %s", pchar(ch)); > for (i = 0; i < g->nstates; i++) > if (((st)[i])) { > fprintf(d, "%s%d", (first) ? "\t" : ", ", i); > first = 0; > } > fprintf(d, "\n"); >} ># 966 "engine.c" >static void >lat(m, title, start, stop, startst, stopst) >struct lmat *m; >char *title; >char *start; >char *stop; >sopno startst; >sopno stopst; >{ > if (!(m->eflags&00400)) > return; > > printf("%s %s-", title, pchar(*start)); > printf("%s ", pchar(*stop)); > printf("%ld-%ld\n", (long)startst, (long)stopst); >} ># 96 "regexec.c" 2 ># 112 "regexec.c" >int >regexec(preg, string, nmatch, pmatch, eflags) >const regex_t *preg; >const char *string; >size_t nmatch; >regmatch_t pmatch[]; >int eflags; >{ > register struct re_guts *g = preg->re_g; > > > > > > > if (preg->re_magic != ((('r'^0200)<<8) | 'e') || g->magic != ((('R'^0200)<<8)|'E')) > return(2); > ((!(g->iflags&04)) ? (void) (0) : __assert_fail ("!(g->iflags&04)", "regexec.c", 129, __PRETTY_FUNCTION__)); > if (g->iflags&04) > return(2); > eflags = (eflags); > > if (g->nstates <= 8*sizeof(unsigned) && !(eflags&01000)) > return(smatcher(g, (char *)string, nmatch, pmatch, eflags)); > else > return(lmatcher(g, (char *)string, nmatch, pmatch, eflags)); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1094975
: 907677