Created
April 6, 2015 00:25
-
-
Save jaredonline/f17f95e1a4705d8d14ed to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cpp -I. -I/Users/jmcfarland/code/php/ext/rust_fib -DPHP_ATOM_INC -I/Users/jmcfarland/code/php/ext/rust_fib/include -I/Users/jmcfarland/code/php/ext/rust_fib/main -I/Users/jmcfarland/code/php/ext/rust_fib -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 rust_fib.c | |
#### OUTPUT | |
# 1 "rust_fib.c" | |
# 1 "<built-in>" 1 | |
# 1 "<built-in>" 3 | |
# 169 "<built-in>" 3 | |
# 1 "<command line>" 1 | |
# 1 "<built-in>" 2 | |
# 1 "rust_fib.c" 2 | |
# 17 "rust_fib.c" | |
# 1 "./config.h" 1 | |
# 23 "rust_fib.c" 2 | |
# 1 "/usr/include/php/main/php.h" 1 | |
# 18 "/usr/include/php/main/php.h" | |
# 1 "/usr/include/php/main/php_version.h" 1 | |
# 34 "/usr/include/php/main/php.h" 2 | |
# 1 "/usr/include/php/Zend/zend.h" 1 | |
# 18 "/usr/include/php/Zend/zend.h" | |
# 51 "/usr/include/php/Zend/zend.h" | |
# 1 "/usr/include/php/Zend/zend_config.h" 1 | |
# 1 "/usr/include/php/main/../main/php_config.h" 1 | |
# 1 "/usr/include/stdlib.h" 1 3 4 | |
# 22 "/usr/include/stdlib.h" 3 4 | |
# 56 "/usr/include/stdlib.h" 3 4 | |
# 1 "/usr/include/Availability.h" 1 3 4 | |
# 22 "/usr/include/Availability.h" 3 4 | |
# 117 "/usr/include/Availability.h" 3 4 | |
# 130 "/usr/include/Availability.h" 3 4 | |
# 149 "/usr/include/Availability.h" 3 4 | |
# 1 "/usr/include/AvailabilityInternal.h" 1 3 4 | |
# 22 "/usr/include/AvailabilityInternal.h" 3 4 | |
#ifdef __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ | |
#endif | |
#if 1 | |
#else | |
#endif | |
#define __IPHONE_OS_VERSION_MAX_ALLOWED 80000 | |
#undef __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ | |
#endif | |
#if 1 | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_2_0 __attribute__((availability(ios,introduced=2.0,deprecated=2.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_2_0_MSG(_msg) __attribute__((availability(ios,introduced=2.0,deprecated=2.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_2_1 __attribute__((availability(ios,introduced=2.0,deprecated=2.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_2_1_MSG(_msg) __attribute__((availability(ios,introduced=2.0,deprecated=2.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_2_2 __attribute__((availability(ios,introduced=2.0,deprecated=2.2))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_2_2_MSG(_msg) __attribute__((availability(ios,introduced=2.0,deprecated=2.2,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_3_0 __attribute__((availability(ios,introduced=2.0,deprecated=3.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_3_0_MSG(_msg) __attribute__((availability(ios,introduced=2.0,deprecated=3.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_3_1 __attribute__((availability(ios,introduced=2.0,deprecated=3.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_3_1_MSG(_msg) __attribute__((availability(ios,introduced=2.0,deprecated=3.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_3_2 __attribute__((availability(ios,introduced=2.0,deprecated=3.2))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_3_2_MSG(_msg) __attribute__((availability(ios,introduced=2.0,deprecated=3.2,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_4_0 __attribute__((availability(ios,introduced=2.0,deprecated=4.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_4_0_MSG(_msg) __attribute__((availability(ios,introduced=2.0,deprecated=4.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_4_1 __attribute__((availability(ios,introduced=2.0,deprecated=4.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_4_1_MSG(_msg) __attribute__((availability(ios,introduced=2.0,deprecated=4.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_4_2 __attribute__((availability(ios,introduced=2.0,deprecated=4.2))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_4_2_MSG(_msg) __attribute__((availability(ios,introduced=2.0,deprecated=4.2,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_4_3 __attribute__((availability(ios,introduced=2.0,deprecated=4.3))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_4_3_MSG(_msg) __attribute__((availability(ios,introduced=2.0,deprecated=4.3,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_5_0 __attribute__((availability(ios,introduced=2.0,deprecated=5.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_5_0_MSG(_msg) __attribute__((availability(ios,introduced=2.0,deprecated=5.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_5_1 __attribute__((availability(ios,introduced=2.0,deprecated=5.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_5_1_MSG(_msg) __attribute__((availability(ios,introduced=2.0,deprecated=5.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_6_0 __attribute__((availability(ios,introduced=2.0,deprecated=6.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_6_0_MSG(_msg) __attribute__((availability(ios,introduced=2.0,deprecated=6.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_6_1 __attribute__((availability(ios,introduced=2.0,deprecated=6.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_6_1_MSG(_msg) __attribute__((availability(ios,introduced=2.0,deprecated=6.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_7_0 __attribute__((availability(ios,introduced=2.0,deprecated=7.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_7_0_MSG(_msg) __attribute__((availability(ios,introduced=2.0,deprecated=7.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_7_1 __attribute__((availability(ios,introduced=2.0,deprecated=7.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_7_1_MSG(_msg) __attribute__((availability(ios,introduced=2.0,deprecated=7.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_8_0 __attribute__((availability(ios,introduced=2.0,deprecated=8.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_8_0_MSG(_msg) __attribute__((availability(ios,introduced=2.0,deprecated=8.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_NA __attribute__((availability(ios,introduced=2.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_1 __attribute__((availability(ios,introduced=2.1))) | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_1_DEP__IPHONE_NA_MSG(_msg) __attribute__((availability(ios,introduced=2.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_2_2 __attribute__((availability(ios,introduced=2.2,deprecated=2.2))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_2_2_MSG(_msg) __attribute__((availability(ios,introduced=2.2,deprecated=2.2,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_3_0 __attribute__((availability(ios,introduced=2.2,deprecated=3.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_3_0_MSG(_msg) __attribute__((availability(ios,introduced=2.2,deprecated=3.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_3_1 __attribute__((availability(ios,introduced=2.2,deprecated=3.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_3_1_MSG(_msg) __attribute__((availability(ios,introduced=2.2,deprecated=3.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_3_2 __attribute__((availability(ios,introduced=2.2,deprecated=3.2))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_3_2_MSG(_msg) __attribute__((availability(ios,introduced=2.2,deprecated=3.2,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_4_0 __attribute__((availability(ios,introduced=2.2,deprecated=4.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_4_0_MSG(_msg) __attribute__((availability(ios,introduced=2.2,deprecated=4.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_4_1 __attribute__((availability(ios,introduced=2.2,deprecated=4.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_4_1_MSG(_msg) __attribute__((availability(ios,introduced=2.2,deprecated=4.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_4_2 __attribute__((availability(ios,introduced=2.2,deprecated=4.2))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_4_2_MSG(_msg) __attribute__((availability(ios,introduced=2.2,deprecated=4.2,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_4_3 __attribute__((availability(ios,introduced=2.2,deprecated=4.3))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_4_3_MSG(_msg) __attribute__((availability(ios,introduced=2.2,deprecated=4.3,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_5_0 __attribute__((availability(ios,introduced=2.2,deprecated=5.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_5_0_MSG(_msg) __attribute__((availability(ios,introduced=2.2,deprecated=5.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_5_1 __attribute__((availability(ios,introduced=2.2,deprecated=5.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_5_1_MSG(_msg) __attribute__((availability(ios,introduced=2.2,deprecated=5.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_6_0 __attribute__((availability(ios,introduced=2.2,deprecated=6.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_6_0_MSG(_msg) __attribute__((availability(ios,introduced=2.2,deprecated=6.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_6_1 __attribute__((availability(ios,introduced=2.2,deprecated=6.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_6_1_MSG(_msg) __attribute__((availability(ios,introduced=2.2,deprecated=6.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_7_0 __attribute__((availability(ios,introduced=2.2,deprecated=7.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_7_0_MSG(_msg) __attribute__((availability(ios,introduced=2.2,deprecated=7.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_7_1 __attribute__((availability(ios,introduced=2.2,deprecated=7.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_7_1_MSG(_msg) __attribute__((availability(ios,introduced=2.2,deprecated=7.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_8_0 __attribute__((availability(ios,introduced=2.2,deprecated=8.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_8_0_MSG(_msg) __attribute__((availability(ios,introduced=2.2,deprecated=8.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_2_2_DEP__IPHONE_NA __attribute__((availability(ios,introduced=2.2))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_0 __attribute__((availability(ios,introduced=3.0))) | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_0_DEP__IPHONE_NA_MSG(_msg) __attribute__((availability(ios,introduced=3.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_3_1 __attribute__((availability(ios,introduced=3.1,deprecated=3.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_3_1_MSG(_msg) __attribute__((availability(ios,introduced=3.1,deprecated=3.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_3_2 __attribute__((availability(ios,introduced=3.1,deprecated=3.2))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_3_2_MSG(_msg) __attribute__((availability(ios,introduced=3.1,deprecated=3.2,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_4_0 __attribute__((availability(ios,introduced=3.1,deprecated=4.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_4_0_MSG(_msg) __attribute__((availability(ios,introduced=3.1,deprecated=4.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_4_1 __attribute__((availability(ios,introduced=3.1,deprecated=4.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_4_1_MSG(_msg) __attribute__((availability(ios,introduced=3.1,deprecated=4.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_4_2 __attribute__((availability(ios,introduced=3.1,deprecated=4.2))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_4_2_MSG(_msg) __attribute__((availability(ios,introduced=3.1,deprecated=4.2,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_4_3 __attribute__((availability(ios,introduced=3.1,deprecated=4.3))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_4_3_MSG(_msg) __attribute__((availability(ios,introduced=3.1,deprecated=4.3,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_5_0 __attribute__((availability(ios,introduced=3.1,deprecated=5.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_5_0_MSG(_msg) __attribute__((availability(ios,introduced=3.1,deprecated=5.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_5_1 __attribute__((availability(ios,introduced=3.1,deprecated=5.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_5_1_MSG(_msg) __attribute__((availability(ios,introduced=3.1,deprecated=5.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_6_0 __attribute__((availability(ios,introduced=3.1,deprecated=6.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_6_0_MSG(_msg) __attribute__((availability(ios,introduced=3.1,deprecated=6.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_6_1 __attribute__((availability(ios,introduced=3.1,deprecated=6.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_6_1_MSG(_msg) __attribute__((availability(ios,introduced=3.1,deprecated=6.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_7_0 __attribute__((availability(ios,introduced=3.1,deprecated=7.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_7_0_MSG(_msg) __attribute__((availability(ios,introduced=3.1,deprecated=7.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_7_1 __attribute__((availability(ios,introduced=3.1,deprecated=7.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_7_1_MSG(_msg) __attribute__((availability(ios,introduced=3.1,deprecated=7.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_8_0 __attribute__((availability(ios,introduced=3.1,deprecated=8.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_8_0_MSG(_msg) __attribute__((availability(ios,introduced=3.1,deprecated=8.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_1_DEP__IPHONE_NA __attribute__((availability(ios,introduced=3.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_2 __attribute__((availability(ios,introduced=3.2))) | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#define __AVAILABILITY_INTERNAL__IPHONE_3_2_DEP__IPHONE_NA_MSG(_msg) __attribute__((availability(ios,introduced=3.2))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_4_0 __attribute__((availability(ios,introduced=4.0,deprecated=4.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_4_0_MSG(_msg) __attribute__((availability(ios,introduced=4.0,deprecated=4.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_4_1 __attribute__((availability(ios,introduced=4.0,deprecated=4.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_4_1_MSG(_msg) __attribute__((availability(ios,introduced=4.0,deprecated=4.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_4_2 __attribute__((availability(ios,introduced=4.0,deprecated=4.2))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_4_2_MSG(_msg) __attribute__((availability(ios,introduced=4.0,deprecated=4.2,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_4_3 __attribute__((availability(ios,introduced=4.0,deprecated=4.3))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_4_3_MSG(_msg) __attribute__((availability(ios,introduced=4.0,deprecated=4.3,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_5_0 __attribute__((availability(ios,introduced=4.0,deprecated=5.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_5_0_MSG(_msg) __attribute__((availability(ios,introduced=4.0,deprecated=5.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_5_1 __attribute__((availability(ios,introduced=4.0,deprecated=5.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_5_1_MSG(_msg) __attribute__((availability(ios,introduced=4.0,deprecated=5.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_6_0 __attribute__((availability(ios,introduced=4.0,deprecated=6.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_6_0_MSG(_msg) __attribute__((availability(ios,introduced=4.0,deprecated=6.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_6_1 __attribute__((availability(ios,introduced=4.0,deprecated=6.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_6_1_MSG(_msg) __attribute__((availability(ios,introduced=4.0,deprecated=6.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_7_0 __attribute__((availability(ios,introduced=4.0,deprecated=7.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_7_0_MSG(_msg) __attribute__((availability(ios,introduced=4.0,deprecated=7.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_7_1 __attribute__((availability(ios,introduced=4.0,deprecated=7.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_7_1_MSG(_msg) __attribute__((availability(ios,introduced=4.0,deprecated=7.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_8_0 __attribute__((availability(ios,introduced=4.0,deprecated=8.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_8_0_MSG(_msg) __attribute__((availability(ios,introduced=4.0,deprecated=8.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_NA __attribute__((availability(ios,introduced=4.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_1 __attribute__((availability(ios,introduced=4.1))) | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_1_DEP__IPHONE_NA_MSG(_msg) __attribute__((availability(ios,introduced=4.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_2_DEP__IPHONE_4_2 __attribute__((availability(ios,introduced=4.2,deprecated=4.2))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_2_DEP__IPHONE_4_2_MSG(_msg) __attribute__((availability(ios,introduced=4.2,deprecated=4.2,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_2_DEP__IPHONE_4_3 __attribute__((availability(ios,introduced=4.2,deprecated=4.3))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_2_DEP__IPHONE_4_3_MSG(_msg) __attribute__((availability(ios,introduced=4.2,deprecated=4.3,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_2_DEP__IPHONE_5_0 __attribute__((availability(ios,introduced=4.2,deprecated=5.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_2_DEP__IPHONE_5_0_MSG(_msg) __attribute__((availability(ios,introduced=4.2,deprecated=5.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_2_DEP__IPHONE_5_1 __attribute__((availability(ios,introduced=4.2,deprecated=5.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_2_DEP__IPHONE_5_1_MSG(_msg) __attribute__((availability(ios,introduced=4.2,deprecated=5.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_2_DEP__IPHONE_6_0 __attribute__((availability(ios,introduced=4.2,deprecated=6.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_2_DEP__IPHONE_6_0_MSG(_msg) __attribute__((availability(ios,introduced=4.2,deprecated=6.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_2_DEP__IPHONE_6_1 __attribute__((availability(ios,introduced=4.2,deprecated=6.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_2_DEP__IPHONE_6_1_MSG(_msg) __attribute__((availability(ios,introduced=4.2,deprecated=6.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_2_DEP__IPHONE_7_0 __attribute__((availability(ios,introduced=4.2,deprecated=7.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_2_DEP__IPHONE_7_0_MSG(_msg) __attribute__((availability(ios,introduced=4.2,deprecated=7.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_2_DEP__IPHONE_7_1 __attribute__((availability(ios,introduced=4.2,deprecated=7.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_2_DEP__IPHONE_7_1_MSG(_msg) __attribute__((availability(ios,introduced=4.2,deprecated=7.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_2_DEP__IPHONE_8_0 __attribute__((availability(ios,introduced=4.2,deprecated=8.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_2_DEP__IPHONE_8_0_MSG(_msg) __attribute__((availability(ios,introduced=4.2,deprecated=8.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_2_DEP__IPHONE_NA __attribute__((availability(ios,introduced=4.2))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_3 __attribute__((availability(ios,introduced=4.3))) | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#define __AVAILABILITY_INTERNAL__IPHONE_4_3_DEP__IPHONE_NA_MSG(_msg) __attribute__((availability(ios,introduced=4.3))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_5_0_DEP__IPHONE_5_0 __attribute__((availability(ios,introduced=5.0,deprecated=5.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_5_0_DEP__IPHONE_5_0_MSG(_msg) __attribute__((availability(ios,introduced=5.0,deprecated=5.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_5_0_DEP__IPHONE_5_1 __attribute__((availability(ios,introduced=5.0,deprecated=5.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_5_0_DEP__IPHONE_5_1_MSG(_msg) __attribute__((availability(ios,introduced=5.0,deprecated=5.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_5_0_DEP__IPHONE_6_0 __attribute__((availability(ios,introduced=5.0,deprecated=6.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_5_0_DEP__IPHONE_6_0_MSG(_msg) __attribute__((availability(ios,introduced=5.0,deprecated=6.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_5_0_DEP__IPHONE_6_1 __attribute__((availability(ios,introduced=5.0,deprecated=6.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_5_0_DEP__IPHONE_6_1_MSG(_msg) __attribute__((availability(ios,introduced=5.0,deprecated=6.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_5_0_DEP__IPHONE_7_0 __attribute__((availability(ios,introduced=5.0,deprecated=7.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_5_0_DEP__IPHONE_7_0_MSG(_msg) __attribute__((availability(ios,introduced=5.0,deprecated=7.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_5_0_DEP__IPHONE_7_1 __attribute__((availability(ios,introduced=5.0,deprecated=7.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_5_0_DEP__IPHONE_7_1_MSG(_msg) __attribute__((availability(ios,introduced=5.0,deprecated=7.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_5_0_DEP__IPHONE_8_0 __attribute__((availability(ios,introduced=5.0,deprecated=8.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_5_0_DEP__IPHONE_8_0_MSG(_msg) __attribute__((availability(ios,introduced=5.0,deprecated=8.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_5_0_DEP__IPHONE_NA __attribute__((availability(ios,introduced=5.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_5_1 __attribute__((availability(ios,introduced=5.1))) | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#define __AVAILABILITY_INTERNAL__IPHONE_5_1_DEP__IPHONE_NA_MSG(_msg) __attribute__((availability(ios,introduced=5.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_6_0_DEP__IPHONE_6_0 __attribute__((availability(ios,introduced=6.0,deprecated=6.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_6_0_DEP__IPHONE_6_0_MSG(_msg) __attribute__((availability(ios,introduced=6.0,deprecated=6.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_6_0_DEP__IPHONE_6_1 __attribute__((availability(ios,introduced=6.0,deprecated=6.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_6_0_DEP__IPHONE_6_1_MSG(_msg) __attribute__((availability(ios,introduced=6.0,deprecated=6.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_6_0_DEP__IPHONE_7_0 __attribute__((availability(ios,introduced=6.0,deprecated=7.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_6_0_DEP__IPHONE_7_0_MSG(_msg) __attribute__((availability(ios,introduced=6.0,deprecated=7.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_6_0_DEP__IPHONE_7_1 __attribute__((availability(ios,introduced=6.0,deprecated=7.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_6_0_DEP__IPHONE_7_1_MSG(_msg) __attribute__((availability(ios,introduced=6.0,deprecated=7.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_6_0_DEP__IPHONE_8_0 __attribute__((availability(ios,introduced=6.0,deprecated=8.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_6_0_DEP__IPHONE_8_0_MSG(_msg) __attribute__((availability(ios,introduced=6.0,deprecated=8.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_6_0_DEP__IPHONE_NA __attribute__((availability(ios,introduced=6.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_6_1 __attribute__((availability(ios,introduced=6.1))) | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#define __AVAILABILITY_INTERNAL__IPHONE_6_1_DEP__IPHONE_NA_MSG(_msg) __attribute__((availability(ios,introduced=6.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_7_0_DEP__IPHONE_7_0 __attribute__((availability(ios,introduced=7.0,deprecated=7.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_7_0_DEP__IPHONE_7_0_MSG(_msg) __attribute__((availability(ios,introduced=7.0,deprecated=7.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_7_0_DEP__IPHONE_7_1 __attribute__((availability(ios,introduced=7.0,deprecated=7.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_7_0_DEP__IPHONE_7_1_MSG(_msg) __attribute__((availability(ios,introduced=7.0,deprecated=7.1,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_7_0_DEP__IPHONE_8_0 __attribute__((availability(ios,introduced=7.0,deprecated=8.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_7_0_DEP__IPHONE_8_0_MSG(_msg) __attribute__((availability(ios,introduced=7.0,deprecated=8.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_7_0_DEP__IPHONE_NA __attribute__((availability(ios,introduced=7.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_7_1 __attribute__((availability(ios,introduced=7.1))) | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
#define __AVAILABILITY_INTERNAL__IPHONE_7_1_DEP__IPHONE_NA_MSG(_msg) __attribute__((availability(ios,introduced=7.1))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_8_0_DEP__IPHONE_8_0 __attribute__((availability(ios,introduced=8.0,deprecated=8.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_8_0_DEP__IPHONE_8_0_MSG(_msg) __attribute__((availability(ios,introduced=8.0,deprecated=8.0,message=_msg))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_8_0_DEP__IPHONE_NA __attribute__((availability(ios,introduced=8.0))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_NA __attribute__((availability(ios,unavailable))) | |
#define __AVAILABILITY_INTERNAL__IPHONE_NA_DEP__IPHONE_NA_MSG(_msg) __attribute__((availability(ios,unavailable))) | |
#endif | |
# 4961 "/usr/include/AvailabilityInternal.h" 3 4 | |
# 5431 "/usr/include/AvailabilityInternal.h" 3 4 | |
#if __MAC_OS_X_VERSION_MAX_ALLOWED < 1070 | |
#elif __MAC_OS_X_VERSION_MIN_REQUIRED < 1070 | |
#else | |
#endif | |
#define __AVAILABILITY_INTERNAL__MAC_10_6 __attribute__((unavailable)) | |
#if __MAC_OS_X_VERSION_MAX_ALLOWED < 1050 | |
#elif __MAC_OS_X_VERSION_MIN_REQUIRED < 1050 | |
#else | |
#endif | |
#define __AVAILABILITY_INTERNAL__MAC_10_4 __attribute__((unavailable)) | |
#if __MAC_OS_X_VERSION_MAX_ALLOWED < 1030 | |
#elif __MAC_OS_X_VERSION_MIN_REQUIRED < 1030 | |
#else | |
#endif | |
#define __AVAILABILITY_INTERNAL__MAC_10_2 __attribute__((unavailable)) | |
#if __MAC_OS_X_VERSION_MAX_ALLOWED < 1010 | |
#elif __MAC_OS_X_VERSION_MIN_REQUIRED < 1010 | |
#else | |
#endif | |
#define __AVAILABILITY_INTERNAL__MAC_10_0 __attribute__((unavailable)) | |
#define __AVAILABILITY_INTERNAL__MAC_NA __attribute__((unavailable)) | |
#define __AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_1 __AVAILABILITY_INTERNAL__MAC_10_0 | |
#define __AVAILABILITY_INTERNAL__MAC_10_1_DEP__MAC_10_1 | |
#endif | |
#define __AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_2 __AVAILABILITY_INTERNAL__MAC_10_0 | |
#define __AVAILABILITY_INTERNAL__MAC_10_1_DEP__MAC_10_2 | |
#define __AVAILABILITY_INTERNAL__MAC_10_2_DEP__MAC_10_2 __AVAILABILITY_INTERNAL__MAC_10_2 | |
#endif | |
# 5524 "/usr/include/AvailabilityInternal.h" 3 4 | |
#define __AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_3 __AVAILABILITY_INTERNAL__MAC_10_0 | |
#define __AVAILABILITY_INTERNAL__MAC_10_1_DEP__MAC_10_3 | |
#define __AVAILABILITY_INTERNAL__MAC_10_2_DEP__MAC_10_3 __AVAILABILITY_INTERNAL__MAC_10_2 | |
#define __AVAILABILITY_INTERNAL__MAC_10_3_DEP__MAC_10_3 | |
#endif | |
# 5545 "/usr/include/AvailabilityInternal.h" 3 4 | |
#define __AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_4 __AVAILABILITY_INTERNAL__MAC_10_0 | |
#define __AVAILABILITY_INTERNAL__MAC_10_1_DEP__MAC_10_4 | |
#define __AVAILABILITY_INTERNAL__MAC_10_2_DEP__MAC_10_4 __AVAILABILITY_INTERNAL__MAC_10_2 | |
#define __AVAILABILITY_INTERNAL__MAC_10_3_DEP__MAC_10_4 | |
#define __AVAILABILITY_INTERNAL__MAC_10_4_DEP__MAC_10_4 __AVAILABILITY_INTERNAL__MAC_10_4 | |
#endif | |
# 5570 "/usr/include/AvailabilityInternal.h" 3 4 | |
#define __AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_5 __AVAILABILITY_INTERNAL__MAC_10_0 | |
#define __AVAILABILITY_INTERNAL__MAC_10_1_DEP__MAC_10_5 | |
#define __AVAILABILITY_INTERNAL__MAC_10_2_DEP__MAC_10_5 __AVAILABILITY_INTERNAL__MAC_10_2 | |
#define __AVAILABILITY_INTERNAL__MAC_10_3_DEP__MAC_10_5 | |
#define __AVAILABILITY_INTERNAL__MAC_10_4_DEP__MAC_10_5 __AVAILABILITY_INTERNAL__MAC_10_4 | |
#define __AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_5 | |
#endif | |
# 5599 "/usr/include/AvailabilityInternal.h" 3 4 | |
#define __AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_6 __AVAILABILITY_INTERNAL__MAC_10_0 | |
#define __AVAILABILITY_INTERNAL__MAC_10_1_DEP__MAC_10_6 | |
#define __AVAILABILITY_INTERNAL__MAC_10_2_DEP__MAC_10_6 __AVAILABILITY_INTERNAL__MAC_10_2 | |
#define __AVAILABILITY_INTERNAL__MAC_10_3_DEP__MAC_10_6 | |
#define __AVAILABILITY_INTERNAL__MAC_10_4_DEP__MAC_10_6 __AVAILABILITY_INTERNAL__MAC_10_4 | |
#define __AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_6 | |
#define __AVAILABILITY_INTERNAL__MAC_10_6_DEP__MAC_10_6 __AVAILABILITY_INTERNAL__MAC_10_6 | |
#endif | |
# 5632 "/usr/include/AvailabilityInternal.h" 3 4 | |
#define __AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_7 __AVAILABILITY_INTERNAL__MAC_10_0 | |
#define __AVAILABILITY_INTERNAL__MAC_10_1_DEP__MAC_10_7 | |
#define __AVAILABILITY_INTERNAL__MAC_10_2_DEP__MAC_10_7 __AVAILABILITY_INTERNAL__MAC_10_2 | |
#define __AVAILABILITY_INTERNAL__MAC_10_3_DEP__MAC_10_7 | |
#define __AVAILABILITY_INTERNAL__MAC_10_4_DEP__MAC_10_7 __AVAILABILITY_INTERNAL__MAC_10_4 | |
#define __AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_7 | |
#define __AVAILABILITY_INTERNAL__MAC_10_6_DEP__MAC_10_7 __AVAILABILITY_INTERNAL__MAC_10_6 | |
#define __AVAILABILITY_INTERNAL__MAC_10_7_DEP__MAC_10_7 | |
#endif | |
# 5669 "/usr/include/AvailabilityInternal.h" 3 4 | |
#define __AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_8 __AVAILABILITY_INTERNAL__MAC_10_0 | |
#define __AVAILABILITY_INTERNAL__MAC_10_1_DEP__MAC_10_8 | |
#define __AVAILABILITY_INTERNAL__MAC_10_2_DEP__MAC_10_8 __AVAILABILITY_INTERNAL__MAC_10_2 | |
#define __AVAILABILITY_INTERNAL__MAC_10_3_DEP__MAC_10_8 | |
#define __AVAILABILITY_INTERNAL__MAC_10_4_DEP__MAC_10_8 __AVAILABILITY_INTERNAL__MAC_10_4 | |
#define __AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_8 | |
#define __AVAILABILITY_INTERNAL__MAC_10_6_DEP__MAC_10_8 __AVAILABILITY_INTERNAL__MAC_10_6 | |
#define __AVAILABILITY_INTERNAL__MAC_10_7_DEP__MAC_10_8 | |
#define __AVAILABILITY_INTERNAL__MAC_10_8_DEP__MAC_10_8 __AVAILABILITY_INTERNAL__MAC_10_8 | |
#endif | |
# 5710 "/usr/include/AvailabilityInternal.h" 3 4 | |
#define __AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_9 __AVAILABILITY_INTERNAL__MAC_10_0 | |
#define __AVAILABILITY_INTERNAL__MAC_10_1_DEP__MAC_10_9 | |
#define __AVAILABILITY_INTERNAL__MAC_10_2_DEP__MAC_10_9 __AVAILABILITY_INTERNAL__MAC_10_2 | |
#define __AVAILABILITY_INTERNAL__MAC_10_3_DEP__MAC_10_9 | |
#define __AVAILABILITY_INTERNAL__MAC_10_4_DEP__MAC_10_9 __AVAILABILITY_INTERNAL__MAC_10_4 | |
#define __AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_9 | |
#define __AVAILABILITY_INTERNAL__MAC_10_6_DEP__MAC_10_9 __AVAILABILITY_INTERNAL__MAC_10_6 | |
#define __AVAILABILITY_INTERNAL__MAC_10_7_DEP__MAC_10_9 | |
#define __AVAILABILITY_INTERNAL__MAC_10_8_DEP__MAC_10_9 __AVAILABILITY_INTERNAL__MAC_10_8 | |
#define __AVAILABILITY_INTERNAL__MAC_10_9_DEP__MAC_10_9 __AVAILABILITY_INTERNAL__MAC_10_9 | |
#endif | |
# 5755 "/usr/include/AvailabilityInternal.h" 3 4 | |
#define __AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_10 __AVAILABILITY_INTERNAL__MAC_10_0 | |
#define __AVAILABILITY_INTERNAL__MAC_10_1_DEP__MAC_10_10 | |
#define __AVAILABILITY_INTERNAL__MAC_10_2_DEP__MAC_10_10 __AVAILABILITY_INTERNAL__MAC_10_2 | |
#define __AVAILABILITY_INTERNAL__MAC_10_3_DEP__MAC_10_10 | |
#define __AVAILABILITY_INTERNAL__MAC_10_4_DEP__MAC_10_10 __AVAILABILITY_INTERNAL__MAC_10_4 | |
#define __AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_10_10 | |
#define __AVAILABILITY_INTERNAL__MAC_10_6_DEP__MAC_10_10 __AVAILABILITY_INTERNAL__MAC_10_6 | |
#define __AVAILABILITY_INTERNAL__MAC_10_7_DEP__MAC_10_10 | |
#define __AVAILABILITY_INTERNAL__MAC_10_8_DEP__MAC_10_10 __AVAILABILITY_INTERNAL__MAC_10_8 | |
#define __AVAILABILITY_INTERNAL__MAC_10_9_DEP__MAC_10_10 __AVAILABILITY_INTERNAL__MAC_10_9 | |
#define __AVAILABILITY_INTERNAL__MAC_10_10_DEP__MAC_10_10 __AVAILABILITY_INTERNAL__MAC_10_10 | |
#endif | |
#define __AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_NA_MSG(_msg) __AVAILABILITY_INTERNAL__MAC_10_0 | |
#define __AVAILABILITY_INTERNAL__MAC_10_1_DEP__MAC_NA_MSG(_msg) | |
#define __AVAILABILITY_INTERNAL__MAC_10_2_DEP__MAC_NA_MSG(_msg) __AVAILABILITY_INTERNAL__MAC_10_2 | |
#define __AVAILABILITY_INTERNAL__MAC_10_3_DEP__MAC_NA_MSG(_msg) | |
#define __AVAILABILITY_INTERNAL__MAC_10_4_DEP__MAC_NA_MSG(_msg) __AVAILABILITY_INTERNAL__MAC_10_4 | |
#define __AVAILABILITY_INTERNAL__MAC_10_5_DEP__MAC_NA_MSG(_msg) | |
#define __AVAILABILITY_INTERNAL__MAC_10_6_DEP__MAC_NA_MSG(_msg) __AVAILABILITY_INTERNAL__MAC_10_6 | |
#define __AVAILABILITY_INTERNAL__MAC_10_7_DEP__MAC_NA_MSG(_msg) | |
#define __AVAILABILITY_INTERNAL__MAC_10_8_DEP__MAC_NA_MSG(_msg) __AVAILABILITY_INTERNAL__MAC_10_8 | |
#define __AVAILABILITY_INTERNAL__MAC_10_9_DEP__MAC_NA_MSG(_msg) __AVAILABILITY_INTERNAL__MAC_10_9 | |
#define __AVAILABILITY_INTERNAL__MAC_10_10_DEP__MAC_NA_MSG(_msg) __AVAILABILITY_INTERNAL__MAC_10_10 | |
#define __AVAILABILITY_INTERNAL__MAC_NA_DEP__MAC_NA_MSG(_msg) __attribute__((unavailable)) | |
# 152 "/usr/include/Availability.h" 2 3 4 | |
#define __OSX_AVAILABLE_STARTING(_osx, _ios) __AVAILABILITY_INTERNAL##_ios | |
#define __OSX_AVAILABLE_BUT_DEPRECATED_MSG(_osxIntro, _osxDep, _iosIntro, _iosDep, _msg) __AVAILABILITY_INTERNAL##_iosIntro##_DEP##_iosDep##_MSG(_msg) | |
# 172 "/usr/include/Availability.h" 3 4 | |
#if 1 | |
#define __OS_AVAILABILITY_MSG(_target, _availability, _msg) __attribute__((availability(_target,_availability,message=_msg))) | |
#if 1 | |
#define __IOS_EXTENSION_UNAVAILABLE(_msg) __OS_AVAILABILITY_MSG(ios_app_extension,unavailable,_msg) | |
#define __OS_AVAILABILITY_MSG(macosx_app_extension,unavailable,_msg) | |
# 62 "/usr/include/stdlib.h" 2 3 4 | |
# 1 "/usr/include/_types.h" 1 3 4 | |
# 22 "/usr/include/_types.h" 3 4 | |
# 1 "/usr/include/sys/_types.h" 1 3 4 | |
# 27 "/usr/include/sys/_types.h" 3 4 | |
# 1 "/usr/include/sys/cdefs.h" 1 3 4 | |
# 27 "/usr/include/sys/cdefs.h" 3 4 | |
# 65 "/usr/include/sys/cdefs.h" 3 4 | |
# 111 "/usr/include/sys/cdefs.h" 3 4 | |
#if 1 | |
#else | |
#endif | |
#if 1 | |
#else | |
#endif | |
# 215 "/usr/include/sys/cdefs.h" 3 4 | |
# 232 "/usr/include/sys/cdefs.h" 3 4 | |
# 262 "/usr/include/sys/cdefs.h" 3 4 | |
# 346 "/usr/include/sys/cdefs.h" 3 4 | |
# 371 "/usr/include/sys/cdefs.h" 3 4 | |
# 403 "/usr/include/sys/cdefs.h" 3 4 | |
# 425 "/usr/include/sys/cdefs.h" 3 4 | |
# 435 "/usr/include/sys/cdefs.h" 3 4 | |
# 459 "/usr/include/sys/cdefs.h" 3 4 | |
# 469 "/usr/include/sys/cdefs.h" 3 4 | |
# 1 "/usr/include/sys/_symbol_aliasing.h" 1 3 4 | |
# 26 "/usr/include/sys/_symbol_aliasing.h" 3 4 | |
# 507 "/usr/include/sys/cdefs.h" 2 3 4 | |
# 535 "/usr/include/sys/cdefs.h" 3 4 | |
# 562 "/usr/include/sys/cdefs.h" 3 4 | |
# 1 "/usr/include/sys/_posix_availability.h" 1 3 4 | |
# 26 "/usr/include/sys/_posix_availability.h" 3 4 | |
# 573 "/usr/include/sys/cdefs.h" 2 3 4 | |
# 33 "/usr/include/sys/_types.h" 2 3 4 | |
# 1 "/usr/include/machine/_types.h" 1 3 4 | |
# 27 "/usr/include/machine/_types.h" 3 4 | |
# 1 "/usr/include/i386/_types.h" 1 3 4 | |
# 27 "/usr/include/i386/_types.h" 3 4 | |
typedef __signed char __int8_t; | |
typedef unsigned char __uint8_t; | |
typedef short __int16_t; | |
typedef unsigned short __uint16_t; | |
typedef int __int32_t; | |
typedef unsigned int __uint32_t; | |
typedef long long __int64_t; | |
typedef unsigned long long __uint64_t; | |
typedef long __darwin_intptr_t; | |
typedef unsigned int __darwin_natural_t; | |
# 68 "/usr/include/i386/_types.h" 3 4 | |
typedef int __darwin_ct_rune_t; | |
typedef union { | |
char __mbstate8[128]; | |
long long _mbstateL; | |
} __mbstate_t; | |
typedef __mbstate_t __darwin_mbstate_t; | |
typedef long int __darwin_ptrdiff_t; | |
typedef long unsigned int __darwin_size_t; | |
typedef __builtin_va_list __darwin_va_list; | |
typedef int __darwin_wchar_t; | |
typedef __darwin_wchar_t __darwin_rune_t; | |
typedef int __darwin_wint_t; | |
typedef unsigned long __darwin_clock_t; | |
typedef __uint32_t __darwin_socklen_t; | |
typedef long __darwin_ssize_t; | |
typedef long __darwin_time_t; | |
# 33 "/usr/include/machine/_types.h" 2 3 4 | |
# 34 "/usr/include/sys/_types.h" 2 3 4 | |
# 54 "/usr/include/sys/_types.h" 3 4 | |
typedef __int64_t __darwin_blkcnt_t; | |
typedef __int32_t __darwin_blksize_t; | |
typedef __int32_t __darwin_dev_t; | |
typedef unsigned int __darwin_fsblkcnt_t; | |
typedef unsigned int __darwin_fsfilcnt_t; | |
typedef __uint32_t __darwin_gid_t; | |
typedef __uint32_t __darwin_id_t; | |
typedef __uint64_t __darwin_ino64_t; | |
typedef __darwin_ino64_t __darwin_ino_t; | |
typedef __darwin_natural_t __darwin_mach_port_name_t; | |
typedef __darwin_mach_port_name_t __darwin_mach_port_t; | |
typedef __uint16_t __darwin_mode_t; | |
typedef __int64_t __darwin_off_t; | |
typedef __int32_t __darwin_pid_t; | |
typedef __uint32_t __darwin_sigset_t; | |
typedef __int32_t __darwin_suseconds_t; | |
typedef __uint32_t __darwin_uid_t; | |
typedef __uint32_t __darwin_useconds_t; | |
typedef unsigned char __darwin_uuid_t[16]; | |
typedef char __darwin_uuid_string_t[37]; | |
# 1 "/usr/include/sys/_pthread/_pthread_types.h" 1 3 4 | |
# 27 "/usr/include/sys/_pthread/_pthread_types.h" 3 4 | |
// pthread opaque structures | |
# 56 "/usr/include/sys/_pthread/_pthread_types.h" 3 4 | |
struct __darwin_pthread_handler_rec { | |
void (*__routine)(void *); // Routine to call | |
void *__arg; // Argument to pass | |
struct __darwin_pthread_handler_rec *__next; | |
}; | |
struct _opaque_pthread_attr_t { | |
long __sig; | |
char __opaque[56]; | |
}; | |
struct _opaque_pthread_cond_t { | |
long __sig; | |
char __opaque[40]; | |
}; | |
struct _opaque_pthread_condattr_t { | |
long __sig; | |
char __opaque[8]; | |
}; | |
struct _opaque_pthread_mutex_t { | |
long __sig; | |
char __opaque[56]; | |
}; | |
struct _opaque_pthread_mutexattr_t { | |
long __sig; | |
char __opaque[8]; | |
}; | |
struct _opaque_pthread_once_t { | |
long __sig; | |
char __opaque[8]; | |
}; | |
struct _opaque_pthread_rwlock_t { | |
long __sig; | |
char __opaque[192]; | |
}; | |
struct _opaque_pthread_rwlockattr_t { | |
long __sig; | |
char __opaque[16]; | |
}; | |
struct _opaque_pthread_t { | |
long __sig; | |
struct __darwin_pthread_handler_rec *__cleanup_stack; | |
char __opaque[8176]; | |
}; | |
typedef struct _opaque_pthread_attr_t __darwin_pthread_attr_t; | |
typedef struct _opaque_pthread_cond_t __darwin_pthread_cond_t; | |
typedef struct _opaque_pthread_condattr_t __darwin_pthread_condattr_t; | |
typedef unsigned long __darwin_pthread_key_t; | |
typedef struct _opaque_pthread_mutex_t __darwin_pthread_mutex_t; | |
typedef struct _opaque_pthread_mutexattr_t __darwin_pthread_mutexattr_t; | |
typedef struct _opaque_pthread_once_t __darwin_pthread_once_t; | |
typedef struct _opaque_pthread_rwlock_t __darwin_pthread_rwlock_t; | |
typedef struct _opaque_pthread_rwlockattr_t __darwin_pthread_rwlockattr_t; | |
typedef struct _opaque_pthread_t *__darwin_pthread_t; | |
# 81 "/usr/include/sys/_types.h" 2 3 4 | |
# 28 "/usr/include/_types.h" 2 3 4 | |
# 38 "/usr/include/_types.h" 3 4 | |
typedef int __darwin_nl_item; | |
typedef int __darwin_wctrans_t; | |
typedef __uint32_t __darwin_wctype_t; | |
# 64 "/usr/include/stdlib.h" 2 3 4 | |
# 1 "/usr/include/sys/wait.h" 1 3 4 | |
# 27 "/usr/include/sys/wait.h" 3 4 | |
# 62 "/usr/include/sys/wait.h" 3 4 | |
typedef enum { | |
P_ALL, | |
P_PID, | |
P_PGID | |
} idtype_t; | |
# 1 "/usr/include/sys/_types/_pid_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_pid_t.h" 3 4 | |
typedef __darwin_pid_t pid_t; | |
# 90 "/usr/include/sys/wait.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_id_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_id_t.h" 3 4 | |
typedef __darwin_id_t id_t; | |
# 91 "/usr/include/sys/wait.h" 2 3 4 | |
# 108 "/usr/include/sys/wait.h" 3 4 | |
# 1 "/usr/include/sys/signal.h" 1 3 4 | |
# 27 "/usr/include/sys/signal.h" 3 4 | |
# 67 "/usr/include/sys/signal.h" 3 4 | |
# 1 "/usr/include/sys/appleapiopts.h" 1 3 4 | |
# 27 "/usr/include/sys/appleapiopts.h" 3 4 | |
# 74 "/usr/include/sys/signal.h" 2 3 4 | |
# 1 "/usr/include/machine/signal.h" 1 3 4 | |
# 27 "/usr/include/machine/signal.h" 3 4 | |
# 1 "/usr/include/i386/signal.h" 1 3 4 | |
# 27 "/usr/include/i386/signal.h" 3 4 | |
typedef int sig_atomic_t; | |
# 33 "/usr/include/machine/signal.h" 2 3 4 | |
# 82 "/usr/include/sys/signal.h" 2 3 4 | |
# 123 "/usr/include/sys/signal.h" 3 4 | |
# 141 "/usr/include/sys/signal.h" 3 4 | |
# 1 "/usr/include/machine/_mcontext.h" 1 3 4 | |
# 27 "/usr/include/machine/_mcontext.h" 3 4 | |
# 1 "/usr/include/i386/_mcontext.h" 1 3 4 | |
# 27 "/usr/include/i386/_mcontext.h" 3 4 | |
# 1 "/usr/include/mach/i386/_structs.h" 1 3 4 | |
# 27 "/usr/include/mach/i386/_structs.h" 3 4 | |
struct __darwin_i386_thread_state | |
{ | |
unsigned int __eax; | |
unsigned int __ebx; | |
unsigned int __ecx; | |
unsigned int __edx; | |
unsigned int __edi; | |
unsigned int __esi; | |
unsigned int __ebp; | |
unsigned int __esp; | |
unsigned int __ss; | |
unsigned int __eflags; | |
unsigned int __eip; | |
unsigned int __cs; | |
unsigned int __ds; | |
unsigned int __es; | |
unsigned int __fs; | |
unsigned int __gs; | |
}; | |
# 84 "/usr/include/mach/i386/_structs.h" 3 4 | |
struct __darwin_fp_control | |
{ | |
unsigned short __invalid :1, | |
__denorm :1, | |
__zdiv :1, | |
__ovrfl :1, | |
__undfl :1, | |
__precis :1, | |
:2, | |
__pc :2, | |
__rc :2, | |
:1, | |
:3; | |
}; | |
typedef struct __darwin_fp_control __darwin_fp_control_t; | |
# 140 "/usr/include/mach/i386/_structs.h" 3 4 | |
struct __darwin_fp_status | |
{ | |
unsigned short __invalid :1, | |
__denorm :1, | |
__zdiv :1, | |
__ovrfl :1, | |
__undfl :1, | |
__precis :1, | |
__stkflt :1, | |
__errsumm :1, | |
__c0 :1, | |
__c1 :1, | |
__c2 :1, | |
__tos :3, | |
__c3 :1, | |
__busy :1; | |
}; | |
typedef struct __darwin_fp_status __darwin_fp_status_t; | |
# 186 "/usr/include/mach/i386/_structs.h" 3 4 | |
struct __darwin_mmst_reg | |
{ | |
char __mmst_reg[10]; | |
char __mmst_rsrv[6]; | |
}; | |
struct __darwin_xmm_reg | |
{ | |
char __xmm_reg[16]; | |
}; | |
struct __darwin_i386_float_state | |
{ | |
int __fpu_reserved[2]; | |
struct __darwin_fp_control __fpu_fcw; | |
struct __darwin_fp_status __fpu_fsw; | |
__uint8_t __fpu_ftw; | |
__uint8_t __fpu_rsrv1; | |
__uint16_t __fpu_fop; | |
__uint32_t __fpu_ip; | |
__uint16_t __fpu_cs; | |
__uint16_t __fpu_rsrv2; | |
__uint32_t __fpu_dp; | |
__uint16_t __fpu_ds; | |
__uint16_t __fpu_rsrv3; | |
__uint32_t __fpu_mxcsr; | |
__uint32_t __fpu_mxcsrmask; | |
struct __darwin_mmst_reg __fpu_stmm0; | |
struct __darwin_mmst_reg __fpu_stmm1; | |
struct __darwin_mmst_reg __fpu_stmm2; | |
struct __darwin_mmst_reg __fpu_stmm3; | |
struct __darwin_mmst_reg __fpu_stmm4; | |
struct __darwin_mmst_reg __fpu_stmm5; | |
struct __darwin_mmst_reg __fpu_stmm6; | |
struct __darwin_mmst_reg __fpu_stmm7; | |
struct __darwin_xmm_reg __fpu_xmm0; | |
struct __darwin_xmm_reg __fpu_xmm1; | |
struct __darwin_xmm_reg __fpu_xmm2; | |
struct __darwin_xmm_reg __fpu_xmm3; | |
struct __darwin_xmm_reg __fpu_xmm4; | |
struct __darwin_xmm_reg __fpu_xmm5; | |
struct __darwin_xmm_reg __fpu_xmm6; | |
struct __darwin_xmm_reg __fpu_xmm7; | |
char __fpu_rsrv4[14*16]; | |
int __fpu_reserved1; | |
}; | |
struct __darwin_i386_avx_state | |
{ | |
int __fpu_reserved[2]; | |
struct __darwin_fp_control __fpu_fcw; | |
struct __darwin_fp_status __fpu_fsw; | |
__uint8_t __fpu_ftw; | |
__uint8_t __fpu_rsrv1; | |
__uint16_t __fpu_fop; | |
__uint32_t __fpu_ip; | |
__uint16_t __fpu_cs; | |
__uint16_t __fpu_rsrv2; | |
__uint32_t __fpu_dp; | |
__uint16_t __fpu_ds; | |
__uint16_t __fpu_rsrv3; | |
__uint32_t __fpu_mxcsr; | |
__uint32_t __fpu_mxcsrmask; | |
struct __darwin_mmst_reg __fpu_stmm0; | |
struct __darwin_mmst_reg __fpu_stmm1; | |
struct __darwin_mmst_reg __fpu_stmm2; | |
struct __darwin_mmst_reg __fpu_stmm3; | |
struct __darwin_mmst_reg __fpu_stmm4; | |
struct __darwin_mmst_reg __fpu_stmm5; | |
struct __darwin_mmst_reg __fpu_stmm6; | |
struct __darwin_mmst_reg __fpu_stmm7; | |
struct __darwin_xmm_reg __fpu_xmm0; | |
struct __darwin_xmm_reg __fpu_xmm1; | |
struct __darwin_xmm_reg __fpu_xmm2; | |
struct __darwin_xmm_reg __fpu_xmm3; | |
struct __darwin_xmm_reg __fpu_xmm4; | |
struct __darwin_xmm_reg __fpu_xmm5; | |
struct __darwin_xmm_reg __fpu_xmm6; | |
struct __darwin_xmm_reg __fpu_xmm7; | |
char __fpu_rsrv4[14*16]; | |
int __fpu_reserved1; | |
char __avx_reserved1[64]; | |
struct __darwin_xmm_reg __fpu_ymmh0; | |
struct __darwin_xmm_reg __fpu_ymmh1; | |
struct __darwin_xmm_reg __fpu_ymmh2; | |
struct __darwin_xmm_reg __fpu_ymmh3; | |
struct __darwin_xmm_reg __fpu_ymmh4; | |
struct __darwin_xmm_reg __fpu_ymmh5; | |
struct __darwin_xmm_reg __fpu_ymmh6; | |
struct __darwin_xmm_reg __fpu_ymmh7; | |
}; | |
# 399 "/usr/include/mach/i386/_structs.h" 3 4 | |
struct __darwin_i386_exception_state | |
{ | |
__uint16_t __trapno; | |
__uint16_t __cpu; | |
__uint32_t __err; | |
__uint32_t __faultvaddr; | |
}; | |
# 419 "/usr/include/mach/i386/_structs.h" 3 4 | |
struct __darwin_x86_debug_state32 | |
{ | |
unsigned int __dr0; | |
unsigned int __dr1; | |
unsigned int __dr2; | |
unsigned int __dr3; | |
unsigned int __dr4; | |
unsigned int __dr5; | |
unsigned int __dr6; | |
unsigned int __dr7; | |
}; | |
# 447 "/usr/include/mach/i386/_structs.h" 3 4 | |
struct __darwin_x86_thread_state64 | |
{ | |
__uint64_t __rax; | |
__uint64_t __rbx; | |
__uint64_t __rcx; | |
__uint64_t __rdx; | |
__uint64_t __rdi; | |
__uint64_t __rsi; | |
__uint64_t __rbp; | |
__uint64_t __rsp; | |
__uint64_t __r8; | |
__uint64_t __r9; | |
__uint64_t __r10; | |
__uint64_t __r11; | |
__uint64_t __r12; | |
__uint64_t __r13; | |
__uint64_t __r14; | |
__uint64_t __r15; | |
__uint64_t __rip; | |
__uint64_t __rflags; | |
__uint64_t __cs; | |
__uint64_t __fs; | |
__uint64_t __gs; | |
}; | |
# 505 "/usr/include/mach/i386/_structs.h" 3 4 | |
struct __darwin_x86_float_state64 | |
{ | |
int __fpu_reserved[2]; | |
struct __darwin_fp_control __fpu_fcw; | |
struct __darwin_fp_status __fpu_fsw; | |
__uint8_t __fpu_ftw; | |
__uint8_t __fpu_rsrv1; | |
__uint16_t __fpu_fop; | |
__uint32_t __fpu_ip; | |
__uint16_t __fpu_cs; | |
__uint16_t __fpu_rsrv2; | |
__uint32_t __fpu_dp; | |
__uint16_t __fpu_ds; | |
__uint16_t __fpu_rsrv3; | |
__uint32_t __fpu_mxcsr; | |
__uint32_t __fpu_mxcsrmask; | |
struct __darwin_mmst_reg __fpu_stmm0; | |
struct __darwin_mmst_reg __fpu_stmm1; | |
struct __darwin_mmst_reg __fpu_stmm2; | |
struct __darwin_mmst_reg __fpu_stmm3; | |
struct __darwin_mmst_reg __fpu_stmm4; | |
struct __darwin_mmst_reg __fpu_stmm5; | |
struct __darwin_mmst_reg __fpu_stmm6; | |
struct __darwin_mmst_reg __fpu_stmm7; | |
struct __darwin_xmm_reg __fpu_xmm0; | |
struct __darwin_xmm_reg __fpu_xmm1; | |
struct __darwin_xmm_reg __fpu_xmm2; | |
struct __darwin_xmm_reg __fpu_xmm3; | |
struct __darwin_xmm_reg __fpu_xmm4; | |
struct __darwin_xmm_reg __fpu_xmm5; | |
struct __darwin_xmm_reg __fpu_xmm6; | |
struct __darwin_xmm_reg __fpu_xmm7; | |
struct __darwin_xmm_reg __fpu_xmm8; | |
struct __darwin_xmm_reg __fpu_xmm9; | |
struct __darwin_xmm_reg __fpu_xmm10; | |
struct __darwin_xmm_reg __fpu_xmm11; | |
struct __darwin_xmm_reg __fpu_xmm12; | |
struct __darwin_xmm_reg __fpu_xmm13; | |
struct __darwin_xmm_reg __fpu_xmm14; | |
struct __darwin_xmm_reg __fpu_xmm15; | |
char __fpu_rsrv4[6*16]; | |
int __fpu_reserved1; | |
}; | |
struct __darwin_x86_avx_state64 | |
{ | |
int __fpu_reserved[2]; | |
struct __darwin_fp_control __fpu_fcw; | |
struct __darwin_fp_status __fpu_fsw; | |
__uint8_t __fpu_ftw; | |
__uint8_t __fpu_rsrv1; | |
__uint16_t __fpu_fop; | |
__uint32_t __fpu_ip; | |
__uint16_t __fpu_cs; | |
__uint16_t __fpu_rsrv2; | |
__uint32_t __fpu_dp; | |
__uint16_t __fpu_ds; | |
__uint16_t __fpu_rsrv3; | |
__uint32_t __fpu_mxcsr; | |
__uint32_t __fpu_mxcsrmask; | |
struct __darwin_mmst_reg __fpu_stmm0; | |
struct __darwin_mmst_reg __fpu_stmm1; | |
struct __darwin_mmst_reg __fpu_stmm2; | |
struct __darwin_mmst_reg __fpu_stmm3; | |
struct __darwin_mmst_reg __fpu_stmm4; | |
struct __darwin_mmst_reg __fpu_stmm5; | |
struct __darwin_mmst_reg __fpu_stmm6; | |
struct __darwin_mmst_reg __fpu_stmm7; | |
struct __darwin_xmm_reg __fpu_xmm0; | |
struct __darwin_xmm_reg __fpu_xmm1; | |
struct __darwin_xmm_reg __fpu_xmm2; | |
struct __darwin_xmm_reg __fpu_xmm3; | |
struct __darwin_xmm_reg __fpu_xmm4; | |
struct __darwin_xmm_reg __fpu_xmm5; | |
struct __darwin_xmm_reg __fpu_xmm6; | |
struct __darwin_xmm_reg __fpu_xmm7; | |
struct __darwin_xmm_reg __fpu_xmm8; | |
struct __darwin_xmm_reg __fpu_xmm9; | |
struct __darwin_xmm_reg __fpu_xmm10; | |
struct __darwin_xmm_reg __fpu_xmm11; | |
struct __darwin_xmm_reg __fpu_xmm12; | |
struct __darwin_xmm_reg __fpu_xmm13; | |
struct __darwin_xmm_reg __fpu_xmm14; | |
struct __darwin_xmm_reg __fpu_xmm15; | |
char __fpu_rsrv4[6*16]; | |
int __fpu_reserved1; | |
char __avx_reserved1[64]; | |
struct __darwin_xmm_reg __fpu_ymmh0; | |
struct __darwin_xmm_reg __fpu_ymmh1; | |
struct __darwin_xmm_reg __fpu_ymmh2; | |
struct __darwin_xmm_reg __fpu_ymmh3; | |
struct __darwin_xmm_reg __fpu_ymmh4; | |
struct __darwin_xmm_reg __fpu_ymmh5; | |
struct __darwin_xmm_reg __fpu_ymmh6; | |
struct __darwin_xmm_reg __fpu_ymmh7; | |
struct __darwin_xmm_reg __fpu_ymmh8; | |
struct __darwin_xmm_reg __fpu_ymmh9; | |
struct __darwin_xmm_reg __fpu_ymmh10; | |
struct __darwin_xmm_reg __fpu_ymmh11; | |
struct __darwin_xmm_reg __fpu_ymmh12; | |
struct __darwin_xmm_reg __fpu_ymmh13; | |
struct __darwin_xmm_reg __fpu_ymmh14; | |
struct __darwin_xmm_reg __fpu_ymmh15; | |
}; | |
# 748 "/usr/include/mach/i386/_structs.h" 3 4 | |
struct __darwin_x86_exception_state64 | |
{ | |
__uint16_t __trapno; | |
__uint16_t __cpu; | |
__uint32_t __err; | |
__uint64_t __faultvaddr; | |
}; | |
# 768 "/usr/include/mach/i386/_structs.h" 3 4 | |
struct __darwin_x86_debug_state64 | |
{ | |
__uint64_t __dr0; | |
__uint64_t __dr1; | |
__uint64_t __dr2; | |
__uint64_t __dr3; | |
__uint64_t __dr4; | |
__uint64_t __dr5; | |
__uint64_t __dr6; | |
__uint64_t __dr7; | |
}; | |
# 796 "/usr/include/mach/i386/_structs.h" 3 4 | |
# 34 "/usr/include/i386/_mcontext.h" 2 3 4 | |
struct __darwin_mcontext32 | |
{ | |
struct __darwin_i386_exception_state __es; | |
struct __darwin_i386_thread_state __ss; | |
struct __darwin_i386_float_state __fs; | |
}; | |
struct __darwin_mcontext_avx32 | |
{ | |
struct __darwin_i386_exception_state __es; | |
struct __darwin_i386_thread_state __ss; | |
struct __darwin_i386_avx_state __fs; | |
}; | |
# 72 "/usr/include/i386/_mcontext.h" 3 4 | |
struct __darwin_mcontext64 | |
{ | |
struct __darwin_x86_exception_state64 __es; | |
struct __darwin_x86_thread_state64 __ss; | |
struct __darwin_x86_float_state64 __fs; | |
}; | |
struct __darwin_mcontext_avx64 | |
{ | |
struct __darwin_x86_exception_state64 __es; | |
struct __darwin_x86_thread_state64 __ss; | |
struct __darwin_x86_avx_state64 __fs; | |
}; | |
# 110 "/usr/include/i386/_mcontext.h" 3 4 | |
typedef struct __darwin_mcontext64 *mcontext_t; | |
# 30 "/usr/include/machine/_mcontext.h" 2 3 4 | |
# 146 "/usr/include/sys/signal.h" 2 3 4 | |
# 1 "/usr/include/sys/_pthread/_pthread_attr_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_pthread/_pthread_attr_t.h" 3 4 | |
typedef __darwin_pthread_attr_t pthread_attr_t; | |
# 148 "/usr/include/sys/signal.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_sigaltstack.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_sigaltstack.h" 3 4 | |
struct __darwin_sigaltstack | |
{ | |
void *ss_sp; | |
__darwin_size_t ss_size; | |
int ss_flags; | |
}; | |
typedef struct __darwin_sigaltstack stack_t; | |
# 150 "/usr/include/sys/signal.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_ucontext.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_ucontext.h" 3 4 | |
struct __darwin_ucontext | |
{ | |
int uc_onstack; | |
__darwin_sigset_t uc_sigmask; | |
struct __darwin_sigaltstack uc_stack; | |
struct __darwin_ucontext *uc_link; | |
__darwin_size_t uc_mcsize; | |
struct __darwin_mcontext64 *uc_mcontext; | |
}; | |
typedef struct __darwin_ucontext ucontext_t; | |
# 151 "/usr/include/sys/signal.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_sigset_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_sigset_t.h" 3 4 | |
typedef __darwin_sigset_t sigset_t; | |
# 154 "/usr/include/sys/signal.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_size_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_size_t.h" 3 4 | |
typedef __darwin_size_t size_t; | |
# 155 "/usr/include/sys/signal.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_uid_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_uid_t.h" 3 4 | |
typedef __darwin_uid_t uid_t; | |
# 156 "/usr/include/sys/signal.h" 2 3 4 | |
union sigval { | |
int sival_int; | |
void *sival_ptr; | |
}; | |
struct sigevent { | |
int sigev_notify; | |
int sigev_signo; | |
union sigval sigev_value; | |
void (*sigev_notify_function)(union sigval); | |
pthread_attr_t *sigev_notify_attributes; | |
}; | |
typedef struct __siginfo { | |
int si_signo; | |
int si_errno; | |
int si_code; | |
pid_t si_pid; | |
uid_t si_uid; | |
int si_status; | |
void *si_addr; | |
union sigval si_value; | |
long si_band; | |
unsigned long __pad[7]; | |
} siginfo_t; | |
# 199 "/usr/include/sys/signal.h" 3 4 | |
# 215 "/usr/include/sys/signal.h" 3 4 | |
# 228 "/usr/include/sys/signal.h" 3 4 | |
# 258 "/usr/include/sys/signal.h" 3 4 | |
union __sigaction_u { | |
void (*__sa_handler)(int); | |
void (*__sa_sigaction)(int, struct __siginfo *, | |
void *); | |
}; | |
struct __sigaction { | |
union __sigaction_u __sigaction_u; | |
void (*sa_tramp)(void *, int, int, siginfo_t *, void *); | |
sigset_t sa_mask; | |
int sa_flags; | |
}; | |
struct sigaction { | |
union __sigaction_u __sigaction_u; | |
sigset_t sa_mask; | |
int sa_flags; | |
}; | |
# 306 "/usr/include/sys/signal.h" 3 4 | |
typedef void (*sig_t)(int); | |
struct sigvec { | |
void (*sv_handler)(int); | |
int sv_mask; | |
int sv_flags; | |
}; | |
struct sigstack { | |
char *ss_sp; | |
int ss_onstack; | |
}; | |
void (*signal(int, void (*)(int)))(int); | |
# 110 "/usr/include/sys/wait.h" 2 3 4 | |
# 1 "/usr/include/sys/resource.h" 1 3 4 | |
# 27 "/usr/include/sys/resource.h" 3 4 | |
# 62 "/usr/include/sys/resource.h" 3 4 | |
# 1 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/stdint.h" 1 3 4 | |
# 23 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/stdint.h" 3 4 | |
// C99 7.18.3 Limits of other integer types | |
// | |
// Footnote 219, 220: C++ implementations should define these macros only when | |
// __STDC_LIMIT_MACROS is defined before <stdint.h> is included. | |
// | |
// Footnote 222: C++ implementations should define these macros only when | |
// __STDC_CONSTANT_MACROS is defined before <stdint.h> is included. | |
// | |
// C++11 [cstdint.syn]p2: | |
// | |
// The macros defined by <cstdint> are provided unconditionally. In particular, | |
// the symbols __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS (mentioned in | |
// footnotes 219, 220, and 222 in the C standard) play no role in C++. | |
// | |
// C11 removed the problematic footnotes. | |
// | |
// Work around this inconsistency by always defining those macros in C++ mode, | |
// so that a C library implementation which follows the C99 standard can be | |
// used in C++. | |
# 63 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/stdint.h" 3 4 | |
# 1 "/usr/include/stdint.h" 1 3 4 | |
# 1 "/usr/include/sys/_types/_int8_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_int8_t.h" 3 4 | |
typedef __signed char int8_t; | |
# 19 "/usr/include/stdint.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_int16_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_int16_t.h" 3 4 | |
typedef short int16_t; | |
# 20 "/usr/include/stdint.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_int32_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_int32_t.h" 3 4 | |
typedef int int32_t; | |
# 21 "/usr/include/stdint.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_int64_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_int64_t.h" 3 4 | |
typedef long long int64_t; | |
# 22 "/usr/include/stdint.h" 2 3 4 | |
# 1 "/usr/include/_types/_uint8_t.h" 1 3 4 | |
# 27 "/usr/include/_types/_uint8_t.h" 3 4 | |
typedef unsigned char uint8_t; | |
# 24 "/usr/include/stdint.h" 2 3 4 | |
# 1 "/usr/include/_types/_uint16_t.h" 1 3 4 | |
# 27 "/usr/include/_types/_uint16_t.h" 3 4 | |
typedef unsigned short uint16_t; | |
# 25 "/usr/include/stdint.h" 2 3 4 | |
# 1 "/usr/include/_types/_uint32_t.h" 1 3 4 | |
# 27 "/usr/include/_types/_uint32_t.h" 3 4 | |
typedef unsigned int uint32_t; | |
# 26 "/usr/include/stdint.h" 2 3 4 | |
# 1 "/usr/include/_types/_uint64_t.h" 1 3 4 | |
# 27 "/usr/include/_types/_uint64_t.h" 3 4 | |
typedef unsigned long long uint64_t; | |
# 27 "/usr/include/stdint.h" 2 3 4 | |
typedef int8_t int_least8_t; | |
typedef int16_t int_least16_t; | |
typedef int32_t int_least32_t; | |
typedef int64_t int_least64_t; | |
typedef uint8_t uint_least8_t; | |
typedef uint16_t uint_least16_t; | |
typedef uint32_t uint_least32_t; | |
typedef uint64_t uint_least64_t; | |
typedef int8_t int_fast8_t; | |
typedef int16_t int_fast16_t; | |
typedef int32_t int_fast32_t; | |
typedef int64_t int_fast64_t; | |
typedef uint8_t uint_fast8_t; | |
typedef uint16_t uint_fast16_t; | |
typedef uint32_t uint_fast32_t; | |
typedef uint64_t uint_fast64_t; | |
# 1 "/usr/include/sys/_types/_intptr_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_intptr_t.h" 3 4 | |
typedef __darwin_intptr_t intptr_t; | |
# 54 "/usr/include/stdint.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_uintptr_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_uintptr_t.h" 3 4 | |
typedef unsigned long uintptr_t; | |
# 55 "/usr/include/stdint.h" 2 3 4 | |
# 1 "/usr/include/_types/_intmax_t.h" 1 3 4 | |
# 27 "/usr/include/_types/_intmax_t.h" 3 4 | |
typedef long int intmax_t; | |
# 59 "/usr/include/stdint.h" 2 3 4 | |
# 1 "/usr/include/_types/_uintmax_t.h" 1 3 4 | |
# 27 "/usr/include/_types/_uintmax_t.h" 3 4 | |
typedef long unsigned int uintmax_t; | |
# 60 "/usr/include/stdint.h" 2 3 4 | |
# 65 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/stdint.h" 2 3 4 | |
# 73 "/usr/include/sys/resource.h" 2 3 4 | |
# 1 "/usr/include/Availability.h" 1 3 4 | |
# 22 "/usr/include/Availability.h" 3 4 | |
# 183 "/usr/include/Availability.h" 3 4 | |
#define __attribute__((availability(_target, _availability))) | |
#if 1 | |
#define | |
#define | |
# 76 "/usr/include/sys/resource.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_timeval.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_timeval.h" 3 4 | |
struct timeval | |
{ | |
__darwin_time_t tv_sec; | |
__darwin_suseconds_t tv_usec; | |
}; | |
# 81 "/usr/include/sys/resource.h" 2 3 4 | |
typedef __uint64_t rlim_t; | |
struct rusage { | |
struct timeval ru_utime; | |
struct timeval ru_stime; | |
long ru_maxrss; | |
long ru_ixrss; | |
long ru_idrss; | |
long ru_isrss; | |
long ru_minflt; | |
long ru_majflt; | |
long ru_nswap; | |
long ru_inblock; | |
long ru_oublock; | |
long ru_msgsnd; | |
long ru_msgrcv; | |
long ru_nsignals; | |
long ru_nvcsw; | |
long ru_nivcsw; | |
}; | |
typedef void *rusage_info_t; | |
struct rusage_info_v0 { | |
uint8_t ri_uuid[16]; | |
uint64_t ri_user_time; | |
uint64_t ri_system_time; | |
uint64_t ri_pkg_idle_wkups; | |
uint64_t ri_interrupt_wkups; | |
uint64_t ri_pageins; | |
uint64_t ri_wired_size; | |
uint64_t ri_resident_size; | |
uint64_t ri_phys_footprint; | |
uint64_t ri_proc_start_abstime; | |
uint64_t ri_proc_exit_abstime; | |
}; | |
struct rusage_info_v1 { | |
uint8_t ri_uuid[16]; | |
uint64_t ri_user_time; | |
uint64_t ri_system_time; | |
uint64_t ri_pkg_idle_wkups; | |
uint64_t ri_interrupt_wkups; | |
uint64_t ri_pageins; | |
uint64_t ri_wired_size; | |
uint64_t ri_resident_size; | |
uint64_t ri_phys_footprint; | |
uint64_t ri_proc_start_abstime; | |
uint64_t ri_proc_exit_abstime; | |
uint64_t ri_child_user_time; | |
uint64_t ri_child_system_time; | |
uint64_t ri_child_pkg_idle_wkups; | |
uint64_t ri_child_interrupt_wkups; | |
uint64_t ri_child_pageins; | |
uint64_t ri_child_elapsed_abstime; | |
}; | |
struct rusage_info_v2 { | |
uint8_t ri_uuid[16]; | |
uint64_t ri_user_time; | |
uint64_t ri_system_time; | |
uint64_t ri_pkg_idle_wkups; | |
uint64_t ri_interrupt_wkups; | |
uint64_t ri_pageins; | |
uint64_t ri_wired_size; | |
uint64_t ri_resident_size; | |
uint64_t ri_phys_footprint; | |
uint64_t ri_proc_start_abstime; | |
uint64_t ri_proc_exit_abstime; | |
uint64_t ri_child_user_time; | |
uint64_t ri_child_system_time; | |
uint64_t ri_child_pkg_idle_wkups; | |
uint64_t ri_child_interrupt_wkups; | |
uint64_t ri_child_pageins; | |
uint64_t ri_child_elapsed_abstime; | |
uint64_t ri_diskio_bytesread; | |
uint64_t ri_diskio_byteswritten; | |
}; | |
struct rusage_info_v3 { | |
uint8_t ri_uuid[16]; | |
uint64_t ri_user_time; | |
uint64_t ri_system_time; | |
uint64_t ri_pkg_idle_wkups; | |
uint64_t ri_interrupt_wkups; | |
uint64_t ri_pageins; | |
uint64_t ri_wired_size; | |
uint64_t ri_resident_size; | |
uint64_t ri_phys_footprint; | |
uint64_t ri_proc_start_abstime; | |
uint64_t ri_proc_exit_abstime; | |
uint64_t ri_child_user_time; | |
uint64_t ri_child_system_time; | |
uint64_t ri_child_pkg_idle_wkups; | |
uint64_t ri_child_interrupt_wkups; | |
uint64_t ri_child_pageins; | |
uint64_t ri_child_elapsed_abstime; | |
uint64_t ri_diskio_bytesread; | |
uint64_t ri_diskio_byteswritten; | |
uint64_t ri_cpu_time_qos_default; | |
uint64_t ri_cpu_time_qos_maintenance; | |
uint64_t ri_cpu_time_qos_background; | |
uint64_t ri_cpu_time_qos_utility; | |
uint64_t ri_cpu_time_qos_legacy; | |
uint64_t ri_cpu_time_qos_user_initiated; | |
uint64_t ri_cpu_time_qos_user_interactive; | |
uint64_t ri_billed_system_time; | |
uint64_t ri_serviced_system_time; | |
}; | |
typedef struct rusage_info_v3 rusage_info_current; | |
# 320 "/usr/include/sys/resource.h" 3 4 | |
struct rlimit { | |
rlim_t rlim_cur; | |
rlim_t rlim_max; | |
}; | |
struct proc_rlimit_control_wakeupmon { | |
uint32_t wm_flags; | |
int32_t wm_rate; | |
}; | |
int getpriority(int, id_t); | |
int getiopolicy_np(int, int) __OSX_AVAILABLE_STARTING(1050, 20000); | |
int getrlimit(int, struct rlimit *) __asm("_" "x") ; | |
int getrusage(int, struct rusage *); | |
int setpriority(int, id_t, int); | |
int setiopolicy_np(int, int, int) __OSX_AVAILABLE_STARTING(1050, 20000); | |
int setrlimit(int, __const struct rlimit *) __asm("_" "x") ; | |
# 111 "/usr/include/sys/wait.h" 2 3 4 | |
# 1 "/usr/include/machine/endian.h" 1 3 4 | |
# 27 "/usr/include/machine/endian.h" 3 4 | |
# 1 "/usr/include/i386/endian.h" 1 3 4 | |
# 27 "/usr/include/i386/endian.h" 3 4 | |
# 64 "/usr/include/i386/endian.h" 3 4 | |
# 1 "/usr/include/sys/_endian.h" 1 3 4 | |
# 27 "/usr/include/sys/_endian.h" 3 4 | |
# 56 "/usr/include/sys/_endian.h" 3 4 | |
# 88 "/usr/include/sys/_endian.h" 3 4 | |
# 129 "/usr/include/sys/_endian.h" 3 4 | |
# 1 "/usr/include/libkern/_OSByteOrder.h" 1 3 4 | |
# 27 "/usr/include/libkern/_OSByteOrder.h" 3 4 | |
# 62 "/usr/include/libkern/_OSByteOrder.h" 3 4 | |
# 1 "/usr/include/libkern/i386/_OSByteOrder.h" 1 3 4 | |
# 27 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4 | |
# 41 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4 | |
static __inline | |
__uint16_t | |
_OSSwapInt16( | |
__uint16_t _data | |
) | |
{ | |
return ((__uint16_t)((_data << 8) | (_data >> 8))); | |
} | |
static __inline | |
__uint32_t | |
_OSSwapInt32( | |
__uint32_t _data | |
) | |
{ | |
return __builtin_bswap32(_data); | |
} | |
static __inline | |
__uint64_t | |
_OSSwapInt64( | |
__uint64_t _data | |
) | |
{ | |
return __builtin_bswap64(_data); | |
} | |
# 103 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4 | |
# 67 "/usr/include/libkern/_OSByteOrder.h" 2 3 4 | |
# 129 "/usr/include/libkern/_OSByteOrder.h" 3 4 | |
# 131 "/usr/include/sys/_endian.h" 2 3 4 | |
# 100 "/usr/include/i386/endian.h" 2 3 4 | |
# 36 "/usr/include/machine/endian.h" 2 3 4 | |
# 187 "/usr/include/sys/wait.h" 2 3 4 | |
union wait { | |
int w_status; | |
struct { | |
unsigned int w_Termsig:7, | |
w_Coredump:1, | |
w_Retcode:8, | |
w_Filler:16; | |
} w_T; | |
struct { | |
unsigned int w_Stopval:8, | |
w_Stopsig:8, | |
w_Filler:16; | |
} w_S; | |
}; | |
pid_t wait(int *) __asm("_" "x") ; | |
pid_t waitpid(pid_t, int *, int) __asm("_" "x") ; | |
int waitid(idtype_t, id_t, siginfo_t *, int) __asm("_" "x") ; | |
pid_t wait3(int *, int, struct rusage *); | |
pid_t wait4(pid_t, int *, int, struct rusage *); | |
# 66 "/usr/include/stdlib.h" 2 3 4 | |
# 1 "/usr/include/alloca.h" 1 3 4 | |
# 22 "/usr/include/alloca.h" 3 4 | |
void *alloca(size_t); | |
# 68 "/usr/include/stdlib.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_ct_rune_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_ct_rune_t.h" 3 4 | |
typedef __darwin_ct_rune_t ct_rune_t; | |
# 77 "/usr/include/stdlib.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_rune_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_rune_t.h" 3 4 | |
typedef __darwin_rune_t rune_t; | |
# 78 "/usr/include/stdlib.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_wchar_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_wchar_t.h" 3 4 | |
typedef __darwin_wchar_t wchar_t; | |
# 81 "/usr/include/stdlib.h" 2 3 4 | |
typedef struct { | |
int quot; | |
int rem; | |
} div_t; | |
typedef struct { | |
long quot; | |
long rem; | |
} ldiv_t; | |
typedef struct { | |
long long quot; | |
long long rem; | |
} lldiv_t; | |
# 1 "/usr/include/sys/_types/_null.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_null.h" 3 4 | |
# 100 "/usr/include/stdlib.h" 2 3 4 | |
extern int __mb_cur_max; | |
void abort(void) __attribute__((noreturn)); | |
int abs(int) __attribute__((__const)); | |
int atexit(void (*)(void)); | |
double atof(__const char *); | |
int atoi(__const char *); | |
long atol(__const char *); | |
long long | |
atoll(__const char *); | |
void *bsearch(__const void *, __const void *, size_t, | |
size_t, int (*)(__const void *, __const void *)); | |
void *calloc(size_t, size_t); | |
div_t div(int, int) __attribute__((__const)); | |
void exit(int) __attribute__((noreturn)); | |
void free(void *); | |
char *getenv(__const char *); | |
long labs(long) __attribute__((__const)); | |
ldiv_t ldiv(long, long) __attribute__((__const)); | |
long long | |
llabs(long long); | |
lldiv_t lldiv(long long, long long); | |
void *malloc(size_t); | |
int mblen(__const char *, size_t); | |
size_t mbstowcs(wchar_t * restrict , __const char * restrict, size_t); | |
int mbtowc(wchar_t * restrict, __const char * restrict, size_t); | |
int posix_memalign(void **, size_t, size_t) __OSX_AVAILABLE_STARTING(1060, 30000); | |
void qsort(void *, size_t, size_t, | |
int (*)(__const void *, __const void *)); | |
int rand(void); | |
void *realloc(void *, size_t); | |
void srand(unsigned); | |
double strtod(__const char *, char **) __asm("_" "x") ; | |
float strtof(__const char *, char **) __asm("_" "x") ; | |
long strtol(__const char *, char **, int); | |
long double | |
strtold(__const char *, char **); | |
long long | |
strtoll(__const char *, char **, int); | |
unsigned long | |
strtoul(__const char *, char **, int); | |
unsigned long long | |
strtoull(__const char *, char **, int); | |
int system(__const char *) __asm("_" "x") __OSX_AVAILABLE_BUT_DEPRECATED_MSG(1000,__MAC_NA,20000,80000, "Use posix_spawn APIs instead."); | |
size_t wcstombs(char * restrict, __const wchar_t * restrict, size_t); | |
int wctomb(char *, wchar_t); | |
void _Exit(int) __attribute__((noreturn)); | |
long a64l(__const char *); | |
double drand48(void); | |
char *ecvt(double, int, int *restrict, int *restrict); | |
double erand48(unsigned short[3]); | |
char *fcvt(double, int, int *restrict, int *restrict); | |
char *gcvt(double, int, char *); | |
int getsubopt(char **, char * __const *, char **); | |
int grantpt(int); | |
char *initstate(unsigned, char *, size_t); | |
long jrand48(unsigned short[3]); | |
char *l64a(long); | |
void lcong48(unsigned short[7]); | |
long lrand48(void); | |
char *mktemp(char *); | |
int mkstemp(char *); | |
long mrand48(void); | |
long nrand48(unsigned short[3]); | |
int posix_openpt(int); | |
char *ptsname(int); | |
int putenv(char *) __asm("_" "x") ; | |
long random(void); | |
int rand_r(unsigned *); | |
char *realpath(__const char * restrict, char * restrict) __asm("_" "x" "$DARWIN_EXTSN"); | |
unsigned short | |
*seed48(unsigned short[3]); | |
int setenv(__const char *, __const char *, int) __asm("_" "x") ; | |
void setkey(__const char *) __asm("_" "x") ; | |
char *setstate(__const char *); | |
void srand48(long); | |
void srandom(unsigned); | |
int unlockpt(int); | |
int unsetenv(__const char *) __asm("_" "x") ; | |
# 1 "/usr/include/machine/types.h" 1 3 4 | |
# 27 "/usr/include/machine/types.h" 3 4 | |
# 1 "/usr/include/i386/types.h" 1 3 4 | |
# 27 "/usr/include/i386/types.h" 3 4 | |
# 64 "/usr/include/i386/types.h" 3 4 | |
typedef unsigned char u_int8_t; | |
typedef unsigned short u_int16_t; | |
typedef unsigned int u_int32_t; | |
typedef unsigned long long u_int64_t; | |
typedef int64_t register_t; | |
typedef u_int64_t user_addr_t; | |
typedef u_int64_t user_size_t; | |
typedef int64_t user_ssize_t; | |
typedef int64_t user_long_t; | |
typedef u_int64_t user_ulong_t; | |
typedef int64_t user_time_t; | |
typedef int64_t user_off_t; | |
typedef u_int64_t syscall_arg_t; | |
# 36 "/usr/include/machine/types.h" 2 3 4 | |
# 239 "/usr/include/stdlib.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_dev_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_dev_t.h" 3 4 | |
typedef __darwin_dev_t dev_t; | |
# 241 "/usr/include/stdlib.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_mode_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_mode_t.h" 3 4 | |
typedef __darwin_mode_t mode_t; | |
# 242 "/usr/include/stdlib.h" 2 3 4 | |
u_int32_t arc4random(void); | |
void arc4random_addrandom(unsigned char * , int ); | |
void arc4random_buf(void * , size_t ) __OSX_AVAILABLE_STARTING(1070, 40300); | |
void arc4random_stir(void); | |
u_int32_t | |
arc4random_uniform(u_int32_t ) __OSX_AVAILABLE_STARTING(1070, 40300); | |
int atexit_b(void (^)(void)) __OSX_AVAILABLE_STARTING(1060, 30200); | |
void *bsearch_b(__const void *, __const void *, size_t, | |
size_t, int (^)(__const void *, __const void *)) __OSX_AVAILABLE_STARTING(1060, 30200); | |
char *cgetcap(char *, __const char *, int); | |
int cgetclose(void); | |
int cgetent(char **, char **, __const char *); | |
int cgetfirst(char **, char **); | |
int cgetmatch(__const char *, __const char *); | |
int cgetnext(char **, char **); | |
int cgetnum(char *, __const char *, long *); | |
int cgetset(__const char *); | |
int cgetstr(char *, __const char *, char **); | |
int cgetustr(char *, __const char *, char **); | |
int daemon(int, int) __asm("_" "x" "$1050") __AVAILABILITY_INTERNAL## 20000##_DEP## 20000; | |
char *devname(dev_t, mode_t); | |
char *devname_r(dev_t, mode_t, char *buf, int len); | |
char *getbsize(int *, long *); | |
int getloadavg(double [], int); | |
__const char | |
*getprogname(void); | |
int heapsort(void *, size_t, size_t, | |
int (*)(__const void *, __const void *)); | |
int heapsort_b(void *, size_t, size_t, | |
int (^)(__const void *, __const void *)) __OSX_AVAILABLE_STARTING(1060, 30200); | |
int mergesort(void *, size_t, size_t, | |
int (*)(__const void *, __const void *)); | |
int mergesort_b(void *, size_t, size_t, | |
int (^)(__const void *, __const void *)) __OSX_AVAILABLE_STARTING(1060, 30200); | |
void psort(void *, size_t, size_t, | |
int (*)(__const void *, __const void *)) __OSX_AVAILABLE_STARTING(1060, 30200); | |
void psort_b(void *, size_t, size_t, | |
int (^)(__const void *, __const void *)) __OSX_AVAILABLE_STARTING(1060, 30200); | |
void psort_r(void *, size_t, size_t, void *, | |
int (*)(void *, __const void *, __const void *)) __OSX_AVAILABLE_STARTING(1060, 30200); | |
void qsort_b(void *, size_t, size_t, | |
int (^)(__const void *, __const void *)) __OSX_AVAILABLE_STARTING(1060, 30200); | |
void qsort_r(void *, size_t, size_t, void *, | |
int (*)(void *, __const void *, __const void *)); | |
int radixsort(__const unsigned char **, int, __const unsigned char *, | |
unsigned); | |
void setprogname(__const char *); | |
int sradixsort(__const unsigned char **, int, __const unsigned char *, | |
unsigned); | |
void sranddev(void); | |
void srandomdev(void); | |
void *reallocf(void *, size_t); | |
long long | |
strtoq(__const char *, char **, int); | |
unsigned long long | |
strtouq(__const char *, char **, int); | |
extern char *suboptarg; | |
void *valloc(size_t); | |
# 2415 "/usr/include/php/main/../main/php_config.h" 2 | |
# 1 "/usr/include/sys/types.h" 1 3 4 | |
# 27 "/usr/include/sys/types.h" 3 4 | |
# 67 "/usr/include/sys/types.h" 3 4 | |
typedef unsigned char u_char; | |
typedef unsigned short u_short; | |
typedef unsigned int u_int; | |
typedef unsigned long u_long; | |
typedef unsigned short ushort; | |
typedef unsigned int uint; | |
typedef u_int64_t u_quad_t; | |
typedef int64_t quad_t; | |
typedef quad_t * qaddr_t; | |
typedef char * caddr_t; | |
typedef int32_t daddr_t; | |
typedef u_int32_t fixpt_t; | |
# 1 "/usr/include/sys/_types/_blkcnt_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_blkcnt_t.h" 3 4 | |
typedef __darwin_blkcnt_t blkcnt_t; | |
# 107 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_blksize_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_blksize_t.h" 3 4 | |
typedef __darwin_blksize_t blksize_t; | |
# 108 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_gid_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_gid_t.h" 3 4 | |
typedef __darwin_gid_t gid_t; | |
# 109 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_in_addr_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_in_addr_t.h" 3 4 | |
typedef __uint32_t in_addr_t; | |
# 110 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_in_port_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_in_port_t.h" 3 4 | |
typedef __uint16_t in_port_t; | |
# 111 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_ino_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_ino_t.h" 3 4 | |
typedef __darwin_ino_t ino_t; | |
# 112 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_ino64_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_ino64_t.h" 3 4 | |
typedef __darwin_ino64_t ino64_t; | |
# 115 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_key_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_key_t.h" 3 4 | |
typedef __int32_t key_t; | |
# 118 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_nlink_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_nlink_t.h" 3 4 | |
typedef __uint16_t nlink_t; | |
# 120 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_off_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_off_t.h" 3 4 | |
typedef __darwin_off_t off_t; | |
# 123 "/usr/include/sys/types.h" 2 3 4 | |
typedef int32_t segsz_t; | |
typedef int32_t swblk_t; | |
# 153 "/usr/include/sys/types.h" 3 4 | |
# 1 "/usr/include/sys/_types/_clock_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_clock_t.h" 3 4 | |
typedef __darwin_clock_t clock_t; | |
# 162 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_ssize_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_ssize_t.h" 3 4 | |
typedef __darwin_ssize_t ssize_t; | |
# 164 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_time_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_time_t.h" 3 4 | |
typedef __darwin_time_t time_t; | |
# 165 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_useconds_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_useconds_t.h" 3 4 | |
typedef __darwin_useconds_t useconds_t; | |
# 167 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_suseconds_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_suseconds_t.h" 3 4 | |
typedef __darwin_suseconds_t suseconds_t; | |
# 168 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_rsize_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_rsize_t.h" 3 4 | |
typedef __darwin_size_t rsize_t; | |
# 171 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_errno_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_errno_t.h" 3 4 | |
typedef int errno_t; | |
# 172 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_fd_def.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_fd_def.h" 3 4 | |
typedef struct fd_set { | |
__int32_t fds_bits[((((1024) % ( (sizeof(__int32_t) * 8))) == 0) ? ((1024) / ( (sizeof(__int32_t) * 8))) : (((1024) / ( (sizeof(__int32_t) * 8))) + 1))]; | |
} fd_set; | |
static __inline int | |
__darwin_fd_isset(int _n, __const struct fd_set *_p) | |
{ | |
return (_p->fds_bits[(unsigned long)_n/(sizeof(__int32_t) * 8)] & ((__int32_t)(1<<((unsigned long)_n % (sizeof(__int32_t) * 8))))); | |
} | |
# 181 "/usr/include/sys/types.h" 2 3 4 | |
typedef __int32_t fd_mask; | |
# 1 "/usr/include/sys/_types/_fd_setsize.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_fd_setsize.h" 3 4 | |
# 194 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_fd_set.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_fd_set.h" 3 4 | |
# 195 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_fd_clr.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_fd_clr.h" 3 4 | |
# 196 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_fd_zero.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_fd_zero.h" 3 4 | |
# 197 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_fd_isset.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_fd_isset.h" 3 4 | |
# 198 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_fd_copy.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_fd_copy.h" 3 4 | |
# 201 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_pthread/_pthread_cond_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_pthread/_pthread_cond_t.h" 3 4 | |
typedef __darwin_pthread_cond_t pthread_cond_t; | |
# 213 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_pthread/_pthread_condattr_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_pthread/_pthread_condattr_t.h" 3 4 | |
typedef __darwin_pthread_condattr_t pthread_condattr_t; | |
# 214 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_pthread/_pthread_mutex_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_pthread/_pthread_mutex_t.h" 3 4 | |
typedef __darwin_pthread_mutex_t pthread_mutex_t; | |
# 215 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_pthread/_pthread_mutexattr_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_pthread/_pthread_mutexattr_t.h" 3 4 | |
typedef __darwin_pthread_mutexattr_t pthread_mutexattr_t; | |
# 216 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_pthread/_pthread_once_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_pthread/_pthread_once_t.h" 3 4 | |
typedef __darwin_pthread_once_t pthread_once_t; | |
# 217 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_pthread/_pthread_rwlock_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_pthread/_pthread_rwlock_t.h" 3 4 | |
typedef __darwin_pthread_rwlock_t pthread_rwlock_t; | |
# 218 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_pthread/_pthread_rwlockattr_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_pthread/_pthread_rwlockattr_t.h" 3 4 | |
typedef __darwin_pthread_rwlockattr_t pthread_rwlockattr_t; | |
# 219 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_pthread/_pthread_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_pthread/_pthread_t.h" 3 4 | |
typedef __darwin_pthread_t pthread_t; | |
# 220 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_pthread/_pthread_key_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_pthread/_pthread_key_t.h" 3 4 | |
typedef __darwin_pthread_key_t pthread_key_t; | |
# 224 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_fsblkcnt_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_fsblkcnt_t.h" 3 4 | |
typedef __darwin_fsblkcnt_t fsblkcnt_t; | |
# 229 "/usr/include/sys/types.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_fsfilcnt_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_fsfilcnt_t.h" 3 4 | |
typedef __darwin_fsfilcnt_t fsfilcnt_t; | |
# 230 "/usr/include/sys/types.h" 2 3 4 | |
# 2419 "/usr/include/php/main/../main/php_config.h" 2 | |
# 1 "/usr/include/sys/select.h" 1 3 4 | |
# 27 "/usr/include/sys/select.h" 3 4 | |
# 61 "/usr/include/sys/select.h" 3 4 | |
# 1 "/usr/include/sys/_types/_timespec.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_timespec.h" 3 4 | |
struct timespec | |
{ | |
__darwin_time_t tv_sec; | |
long tv_nsec; | |
}; | |
# 77 "/usr/include/sys/select.h" 2 3 4 | |
int pselect(int, fd_set * restrict, fd_set * restrict, | |
fd_set * restrict, __const struct timespec * restrict, | |
__const sigset_t * restrict) | |
__asm("_" "x" "$1050") | |
; | |
# 1 "/usr/include/sys/_select.h" 1 3 4 | |
# 27 "/usr/include/sys/_select.h" 3 4 | |
int select(int, fd_set * restrict, fd_set * restrict, | |
fd_set * restrict, struct timeval * restrict) | |
__asm("_" "x" "$1050") | |
; | |
# 130 "/usr/include/sys/select.h" 2 3 4 | |
# 2423 "/usr/include/php/main/../main/php_config.h" 2 | |
# 1 "/usr/include/string.h" 1 3 4 | |
# 22 "/usr/include/string.h" 3 4 | |
# 56 "/usr/include/string.h" 3 4 | |
# 1 "/usr/include/Availability.h" 1 3 4 | |
# 22 "/usr/include/Availability.h" 3 4 | |
# 183 "/usr/include/Availability.h" 3 4 | |
#define __attribute__((availability(_target, _availability))) | |
#if 1 | |
#define | |
#define | |
# 64 "/usr/include/string.h" 2 3 4 | |
void *memchr(__const void *, int, size_t); | |
int memcmp(__const void *, __const void *, size_t); | |
void *memcpy(void *, __const void *, size_t); | |
void *memmove(void *, __const void *, size_t); | |
void *memset(void *, int, size_t); | |
char *strcat(char *, __const char *); | |
char *strchr(__const char *, int); | |
int strcmp(__const char *, __const char *); | |
int strcoll(__const char *, __const char *); | |
char *strcpy(char *, __const char *); | |
size_t strcspn(__const char *, __const char *); | |
char *strerror(int) __asm("_" "x") ; | |
size_t strlen(__const char *); | |
char *strncat(char *, __const char *, size_t); | |
int strncmp(__const char *, __const char *, size_t); | |
char *strncpy(char *, __const char *, size_t); | |
char *strpbrk(__const char *, __const char *); | |
char *strrchr(__const char *, int); | |
size_t strspn(__const char *, __const char *); | |
char *strstr(__const char *, __const char *); | |
char *strtok(char *, __const char *); | |
size_t strxfrm(char *, __const char *, size_t); | |
char *strtok_r(char *, __const char *, char **); | |
int strerror_r(int, char *, size_t); | |
char *strdup(__const char *); | |
void *memccpy(void *, __const void *, int, size_t); | |
char *stpcpy(char *, __const char *); | |
char *stpncpy(char *, __const char *, size_t) __OSX_AVAILABLE_STARTING(1070, 40300); | |
char *strndup(__const char *, size_t) __OSX_AVAILABLE_STARTING(1070, 40300); | |
size_t strnlen(__const char *, size_t) __OSX_AVAILABLE_STARTING(1070, 40300); | |
char *strsignal(int sig); | |
errno_t memset_s(void *, rsize_t, int, rsize_t) __OSX_AVAILABLE_STARTING(1090, 70000); | |
void *memmem(__const void *, size_t, __const void *, size_t) __OSX_AVAILABLE_STARTING(1070, 40300); | |
void memset_pattern4(void *, __const void *, size_t) __OSX_AVAILABLE_STARTING(1050, 30000); | |
void memset_pattern8(void *, __const void *, size_t) __OSX_AVAILABLE_STARTING(1050, 30000); | |
void memset_pattern16(void *, __const void *, size_t) __OSX_AVAILABLE_STARTING(1050, 30000); | |
char *strcasestr(__const char *, __const char *); | |
char *strnstr(__const char *, __const char *, size_t); | |
size_t strlcat(char *, __const char *, size_t); | |
size_t strlcpy(char *, __const char *, size_t); | |
void strmode(int, char *); | |
char *strsep(char **, __const char *); | |
void swab(__const void * restrict, void * restrict, ssize_t); | |
# 1 "/usr/include/strings.h" 1 3 4 | |
# 22 "/usr/include/strings.h" 3 4 | |
# 56 "/usr/include/strings.h" 3 4 | |
# 1 "/usr/include/Availability.h" 1 3 4 | |
# 22 "/usr/include/Availability.h" 3 4 | |
# 183 "/usr/include/Availability.h" 3 4 | |
#define __attribute__((availability(_target, _availability))) | |
#if 1 | |
#define | |
#define | |
# 65 "/usr/include/strings.h" 2 3 4 | |
int bcmp(__const void *, __const void *, size_t) ___POSIX_C_DEPRECATED_STARTING_##200112L; | |
void bcopy(__const void *, void *, size_t) ___POSIX_C_DEPRECATED_STARTING_##200112L; | |
void bzero(void *, size_t) ___POSIX_C_DEPRECATED_STARTING_##200112L; | |
char *index(__const char *, int) ___POSIX_C_DEPRECATED_STARTING_##200112L; | |
char *rindex(__const char *, int) ___POSIX_C_DEPRECATED_STARTING_##200112L; | |
int ffs(int); | |
int strcasecmp(__const char *, __const char *); | |
int strncasecmp(__const char *, __const char *, size_t); | |
int ffsl(long) __OSX_AVAILABLE_STARTING(1050, 20000); | |
int ffsll(long long) __OSX_AVAILABLE_STARTING(1090, 70000); | |
int fls(int) __OSX_AVAILABLE_STARTING(1050, 20000); | |
int flsl(long) __OSX_AVAILABLE_STARTING(1050, 20000); | |
int flsll(long long) __OSX_AVAILABLE_STARTING(1090, 70000); | |
# 1 "/usr/include/string.h" 1 3 4 | |
# 22 "/usr/include/string.h" 3 4 | |
# 56 "/usr/include/string.h" 3 4 | |
# 93 "/usr/include/strings.h" 2 3 4 | |
# 177 "/usr/include/string.h" 2 3 4 | |
# 1 "/usr/include/secure/_string.h" 1 3 4 | |
# 22 "/usr/include/secure/_string.h" 3 4 | |
# 1 "/usr/include/Availability.h" 1 3 4 | |
# 22 "/usr/include/Availability.h" 3 4 | |
# 183 "/usr/include/Availability.h" 3 4 | |
#define __attribute__((availability(_target, _availability))) | |
#if 1 | |
#define | |
#define | |
# 32 "/usr/include/secure/_string.h" 2 3 4 | |
# 1 "/usr/include/secure/_common.h" 1 3 4 | |
# 22 "/usr/include/secure/_common.h" 3 4 | |
# 37 "/usr/include/secure/_common.h" 3 4 | |
# 34 "/usr/include/secure/_string.h" 2 3 4 | |
# 115 "/usr/include/secure/_string.h" 3 4 | |
# 187 "/usr/include/string.h" 2 3 4 | |
# 2431 "/usr/include/php/main/../main/php_config.h" 2 | |
# 1 "/usr/include/math.h" 1 3 4 | |
# 21 "/usr/include/math.h" 3 4 | |
# 1 "/usr/include/Availability.h" 1 3 4 | |
# 22 "/usr/include/Availability.h" 3 4 | |
# 183 "/usr/include/Availability.h" 3 4 | |
#define __attribute__((availability(_target, _availability))) | |
#if 1 | |
#define | |
#define | |
# 32 "/usr/include/math.h" 2 3 4 | |
typedef float float_t; | |
typedef double double_t; | |
# 55 "/usr/include/math.h" 3 4 | |
# 67 "/usr/include/math.h" 3 4 | |
# 95 "/usr/include/math.h" 3 4 | |
extern int __math_errhandling(void); | |
# 124 "/usr/include/math.h" 3 4 | |
# 138 "/usr/include/math.h" 3 4 | |
extern int __fpclassifyf(float); | |
extern int __fpclassifyd(double); | |
extern int __fpclassify(long double); | |
# 161 "/usr/include/math.h" 3 4 | |
__inline __attribute__ ((__always_inline__)) int __inline_isfinitef(float); | |
__inline __attribute__ ((__always_inline__)) int __inline_isfinited(double); | |
__inline __attribute__ ((__always_inline__)) int __inline_isfinitel(long double); | |
__inline __attribute__ ((__always_inline__)) int __inline_isinff(float); | |
__inline __attribute__ ((__always_inline__)) int __inline_isinfd(double); | |
__inline __attribute__ ((__always_inline__)) int __inline_isinfl(long double); | |
__inline __attribute__ ((__always_inline__)) int __inline_isnanf(float); | |
__inline __attribute__ ((__always_inline__)) int __inline_isnand(double); | |
__inline __attribute__ ((__always_inline__)) int __inline_isnanl(long double); | |
__inline __attribute__ ((__always_inline__)) int __inline_isnormalf(float); | |
__inline __attribute__ ((__always_inline__)) int __inline_isnormald(double); | |
__inline __attribute__ ((__always_inline__)) int __inline_isnormall(long double); | |
__inline __attribute__ ((__always_inline__)) int __inline_signbitf(float); | |
__inline __attribute__ ((__always_inline__)) int __inline_signbitd(double); | |
__inline __attribute__ ((__always_inline__)) int __inline_signbitl(long double); | |
__inline __attribute__ ((__always_inline__)) int __inline_isfinitef(float __x) { | |
return __x == __x && __builtin_fabsf(__x) != __builtin_inff(); | |
} | |
__inline __attribute__ ((__always_inline__)) int __inline_isfinited(double __x) { | |
return __x == __x && __builtin_fabs(__x) != __builtin_inf(); | |
} | |
__inline __attribute__ ((__always_inline__)) int __inline_isfinitel(long double __x) { | |
return __x == __x && __builtin_fabsl(__x) != __builtin_infl(); | |
} | |
__inline __attribute__ ((__always_inline__)) int __inline_isinff(float __x) { | |
return __builtin_fabsf(__x) == __builtin_inff(); | |
} | |
__inline __attribute__ ((__always_inline__)) int __inline_isinfd(double __x) { | |
return __builtin_fabs(__x) == __builtin_inf(); | |
} | |
__inline __attribute__ ((__always_inline__)) int __inline_isinfl(long double __x) { | |
return __builtin_fabsl(__x) == __builtin_infl(); | |
} | |
__inline __attribute__ ((__always_inline__)) int __inline_isnanf(float __x) { | |
return __x != __x; | |
} | |
__inline __attribute__ ((__always_inline__)) int __inline_isnand(double __x) { | |
return __x != __x; | |
} | |
__inline __attribute__ ((__always_inline__)) int __inline_isnanl(long double __x) { | |
return __x != __x; | |
} | |
__inline __attribute__ ((__always_inline__)) int __inline_signbitf(float __x) { | |
union { float __f; unsigned int __u; } __u; | |
__u.__f = __x; | |
return (int)(__u.__u >> 31); | |
} | |
__inline __attribute__ ((__always_inline__)) int __inline_signbitd(double __x) { | |
union { double __f; unsigned long long __u; } __u; | |
__u.__f = __x; | |
return (int)(__u.__u >> 63); | |
} | |
__inline __attribute__ ((__always_inline__)) int __inline_signbitl(long double __x) { | |
union { | |
long double __ld; | |
struct{ unsigned long long __m; unsigned short __sexp; } __p; | |
} __u; | |
__u.__ld = __x; | |
return (int)(__u.__p.__sexp >> 15); | |
} | |
__inline __attribute__ ((__always_inline__)) int __inline_isnormalf(float __x) { | |
return __inline_isfinitef(__x) && __builtin_fabsf(__x) >= 1.17549435e-38F; | |
} | |
__inline __attribute__ ((__always_inline__)) int __inline_isnormald(double __x) { | |
return __inline_isfinited(__x) && __builtin_fabs(__x) >= 2.2250738585072014e-308; | |
} | |
__inline __attribute__ ((__always_inline__)) int __inline_isnormall(long double __x) { | |
return __inline_isfinitel(__x) && __builtin_fabsl(__x) >= 3.36210314311209350626e-4932L; | |
} | |
# 315 "/usr/include/math.h" 3 4 | |
extern float acosf(float); | |
extern double acos(double); | |
extern long double acosl(long double); | |
extern float asinf(float); | |
extern double asin(double); | |
extern long double asinl(long double); | |
extern float atanf(float); | |
extern double atan(double); | |
extern long double atanl(long double); | |
extern float atan2f(float, float); | |
extern double atan2(double, double); | |
extern long double atan2l(long double, long double); | |
extern float cosf(float); | |
extern double cos(double); | |
extern long double cosl(long double); | |
extern float sinf(float); | |
extern double sin(double); | |
extern long double sinl(long double); | |
extern float tanf(float); | |
extern double tan(double); | |
extern long double tanl(long double); | |
extern float acoshf(float); | |
extern double acosh(double); | |
extern long double acoshl(long double); | |
extern float asinhf(float); | |
extern double asinh(double); | |
extern long double asinhl(long double); | |
extern float atanhf(float); | |
extern double atanh(double); | |
extern long double atanhl(long double); | |
extern float coshf(float); | |
extern double cosh(double); | |
extern long double coshl(long double); | |
extern float sinhf(float); | |
extern double sinh(double); | |
extern long double sinhl(long double); | |
extern float tanhf(float); | |
extern double tanh(double); | |
extern long double tanhl(long double); | |
extern float expf(float); | |
extern double exp(double); | |
extern long double expl(long double); | |
extern float exp2f(float); | |
extern double exp2(double); | |
extern long double exp2l(long double); | |
extern float expm1f(float); | |
extern double expm1(double); | |
extern long double expm1l(long double); | |
extern float logf(float); | |
extern double log(double); | |
extern long double logl(long double); | |
extern float log10f(float); | |
extern double log10(double); | |
extern long double log10l(long double); | |
extern float log2f(float); | |
extern double log2(double); | |
extern long double log2l(long double); | |
extern float log1pf(float); | |
extern double log1p(double); | |
extern long double log1pl(long double); | |
extern float logbf(float); | |
extern double logb(double); | |
extern long double logbl(long double); | |
extern float modff(float, float *); | |
extern double modf(double, double *); | |
extern long double modfl(long double, long double *); | |
extern float ldexpf(float, int); | |
extern double ldexp(double, int); | |
extern long double ldexpl(long double, int); | |
extern float frexpf(float, int *); | |
extern double frexp(double, int *); | |
extern long double frexpl(long double, int *); | |
extern int ilogbf(float); | |
extern int ilogb(double); | |
extern int ilogbl(long double); | |
extern float scalbnf(float, int); | |
extern double scalbn(double, int); | |
extern long double scalbnl(long double, int); | |
extern float scalblnf(float, long int); | |
extern double scalbln(double, long int); | |
extern long double scalblnl(long double, long int); | |
extern float fabsf(float); | |
extern double fabs(double); | |
extern long double fabsl(long double); | |
extern float cbrtf(float); | |
extern double cbrt(double); | |
extern long double cbrtl(long double); | |
extern float hypotf(float, float); | |
extern double hypot(double, double); | |
extern long double hypotl(long double, long double); | |
extern float powf(float, float); | |
extern double pow(double, double); | |
extern long double powl(long double, long double); | |
extern float sqrtf(float); | |
extern double sqrt(double); | |
extern long double sqrtl(long double); | |
extern float erff(float); | |
extern double erf(double); | |
extern long double erfl(long double); | |
extern float erfcf(float); | |
extern double erfc(double); | |
extern long double erfcl(long double); | |
extern float lgammaf(float); | |
extern double lgamma(double); | |
extern long double lgammal(long double); | |
extern float tgammaf(float); | |
extern double tgamma(double); | |
extern long double tgammal(long double); | |
extern float ceilf(float); | |
extern double ceil(double); | |
extern long double ceill(long double); | |
extern float floorf(float); | |
extern double floor(double); | |
extern long double floorl(long double); | |
extern float nearbyintf(float); | |
extern double nearbyint(double); | |
extern long double nearbyintl(long double); | |
extern float rintf(float); | |
extern double rint(double); | |
extern long double rintl(long double); | |
extern long int lrintf(float); | |
extern long int lrint(double); | |
extern long int lrintl(long double); | |
extern float roundf(float); | |
extern double round(double); | |
extern long double roundl(long double); | |
extern long int lroundf(float); | |
extern long int lround(double); | |
extern long int lroundl(long double); | |
extern long long int llrintf(float); | |
extern long long int llrint(double); | |
extern long long int llrintl(long double); | |
extern long long int llroundf(float); | |
extern long long int llround(double); | |
extern long long int llroundl(long double); | |
extern float truncf(float); | |
extern double trunc(double); | |
extern long double truncl(long double); | |
extern float fmodf(float, float); | |
extern double fmod(double, double); | |
extern long double fmodl(long double, long double); | |
extern float remainderf(float, float); | |
extern double remainder(double, double); | |
extern long double remainderl(long double, long double); | |
extern float remquof(float, float, int *); | |
extern double remquo(double, double, int *); | |
extern long double remquol(long double, long double, int *); | |
extern float copysignf(float, float); | |
extern double copysign(double, double); | |
extern long double copysignl(long double, long double); | |
extern float nanf(__const char *); | |
extern double nan(__const char *); | |
extern long double nanl(__const char *); | |
extern float nextafterf(float, float); | |
extern double nextafter(double, double); | |
extern long double nextafterl(long double, long double); | |
extern double nexttoward(double, long double); | |
extern float nexttowardf(float, long double); | |
extern long double nexttowardl(long double, long double); | |
extern float fdimf(float, float); | |
extern double fdim(double, double); | |
extern long double fdiml(long double, long double); | |
extern float fmaxf(float, float); | |
extern double fmax(double, double); | |
extern long double fmaxl(long double, long double); | |
extern float fminf(float, float); | |
extern double fmin(double, double); | |
extern long double fminl(long double, long double); | |
extern float fmaf(float, float, float); | |
extern double fma(double, double, double); | |
extern long double fmal(long double, long double, long double); | |
extern float __inff(void) __AVAILABILITY_INTERNAL## __IPHONE_NA##_DEP## __IPHONE_NA; | |
extern double __inf(void) __AVAILABILITY_INTERNAL## __IPHONE_NA##_DEP## __IPHONE_NA; | |
extern long double __infl(void) __AVAILABILITY_INTERNAL## __IPHONE_NA##_DEP## __IPHONE_NA; | |
extern float __nan(void) __OSX_AVAILABLE_STARTING(1000, __IPHONE_NA); | |
extern float __exp10f(float) __OSX_AVAILABLE_STARTING(1090, 70000); | |
extern double __exp10(double) __OSX_AVAILABLE_STARTING(1090, 70000); | |
__inline __attribute__ ((__always_inline__)) void __sincosf(float __x, float *__sinp, float *__cosp) __OSX_AVAILABLE_STARTING(1090, 70000); | |
__inline __attribute__ ((__always_inline__)) void __sincos(double __x, double *__sinp, double *__cosp) __OSX_AVAILABLE_STARTING(1090, 70000); | |
extern float __cospif(float) __OSX_AVAILABLE_STARTING(1090, 70000); | |
extern double __cospi(double) __OSX_AVAILABLE_STARTING(1090, 70000); | |
extern float __sinpif(float) __OSX_AVAILABLE_STARTING(1090, 70000); | |
extern double __sinpi(double) __OSX_AVAILABLE_STARTING(1090, 70000); | |
extern float __tanpif(float) __OSX_AVAILABLE_STARTING(1090, 70000); | |
extern double __tanpi(double) __OSX_AVAILABLE_STARTING(1090, 70000); | |
__inline __attribute__ ((__always_inline__)) void __sincospif(float __x, float *__sinp, float *__cosp) __OSX_AVAILABLE_STARTING(1090, 70000); | |
__inline __attribute__ ((__always_inline__)) void __sincospi(double __x, double *__sinp, double *__cosp) __OSX_AVAILABLE_STARTING(1090, 70000); | |
struct __float2 { float __sinval; float __cosval; }; | |
struct __double2 { double __sinval; double __cosval; }; | |
extern struct __float2 __sincosf_stret(float); | |
extern struct __double2 __sincos_stret(double); | |
extern struct __float2 __sincospif_stret(float); | |
extern struct __double2 __sincospi_stret(double); | |
__inline __attribute__ ((__always_inline__)) void __sincosf(float __x, float *__sinp, float *__cosp) { | |
__const struct __float2 __stret = __sincosf_stret(__x); | |
*__sinp = __stret.__sinval; *__cosp = __stret.__cosval; | |
} | |
__inline __attribute__ ((__always_inline__)) void __sincos(double __x, double *__sinp, double *__cosp) { | |
__const struct __double2 __stret = __sincos_stret(__x); | |
*__sinp = __stret.__sinval; *__cosp = __stret.__cosval; | |
} | |
__inline __attribute__ ((__always_inline__)) void __sincospif(float __x, float *__sinp, float *__cosp) { | |
__const struct __float2 __stret = __sincospif_stret(__x); | |
*__sinp = __stret.__sinval; *__cosp = __stret.__cosval; | |
} | |
__inline __attribute__ ((__always_inline__)) void __sincospi(double __x, double *__sinp, double *__cosp) { | |
__const struct __double2 __stret = __sincospi_stret(__x); | |
*__sinp = __stret.__sinval; *__cosp = __stret.__cosval; | |
} | |
extern double j0(double) __OSX_AVAILABLE_STARTING(1000,30200); | |
extern double j1(double) __OSX_AVAILABLE_STARTING(1000,30200); | |
extern double jn(int, double) __OSX_AVAILABLE_STARTING(1000,30200); | |
extern double y0(double) __OSX_AVAILABLE_STARTING(1000,30200); | |
extern double y1(double) __OSX_AVAILABLE_STARTING(1000,30200); | |
extern double yn(int, double) __OSX_AVAILABLE_STARTING(1000,30200); | |
extern double scalb(double, double); | |
extern int signgam; | |
# 691 "/usr/include/math.h" 3 4 | |
# 710 "/usr/include/math.h" 3 4 | |
extern long int rinttol(double) __AVAILABILITY_INTERNAL## __IPHONE_NA##_DEP## __IPHONE_NA; | |
extern long int roundtol(double) __AVAILABILITY_INTERNAL## __IPHONE_NA##_DEP## __IPHONE_NA; | |
extern double drem(double, double) __AVAILABILITY_INTERNAL## __IPHONE_NA##_DEP## __IPHONE_NA; | |
extern int finite(double) __AVAILABILITY_INTERNAL## __IPHONE_NA##_DEP## __IPHONE_NA; | |
extern double gamma(double) __AVAILABILITY_INTERNAL## __IPHONE_NA##_DEP## __IPHONE_NA; | |
extern double significand(double) __AVAILABILITY_INTERNAL## __IPHONE_NA##_DEP## __IPHONE_NA; | |
struct exception { | |
int type; | |
char *name; | |
double arg1; | |
double arg2; | |
double retval; | |
}; | |
extern int matherr(struct exception *) __AVAILABILITY_INTERNAL## __IPHONE_NA##_DEP## __IPHONE_NA; | |
# 2442 "/usr/include/php/main/../main/php_config.h" 2 | |
# 2459 "/usr/include/php/main/../main/php_config.h" | |
# 2470 "/usr/include/php/main/../main/php_config.h" | |
# 2480 "/usr/include/php/main/../main/php_config.h" | |
# 2 "/usr/include/php/Zend/zend_config.h" 2 | |
# 52 "/usr/include/php/Zend/zend.h" 2 | |
# 65 "/usr/include/php/Zend/zend.h" | |
# 1 "/usr/include/stdio.h" 1 3 4 | |
# 22 "/usr/include/stdio.h" 3 4 | |
# 59 "/usr/include/stdio.h" 3 4 | |
# 1 "/usr/include/Availability.h" 1 3 4 | |
# 22 "/usr/include/Availability.h" 3 4 | |
# 183 "/usr/include/Availability.h" 3 4 | |
#define __attribute__((availability(_target, _availability))) | |
#if 1 | |
#define | |
#define | |
# 66 "/usr/include/stdio.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_va_list.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_va_list.h" 3 4 | |
typedef __darwin_va_list va_list; | |
# 72 "/usr/include/stdio.h" 2 3 4 | |
# 1 "/usr/include/sys/stdio.h" 1 3 4 | |
# 27 "/usr/include/sys/stdio.h" 3 4 | |
# 1 "/usr/include/Availability.h" 1 3 4 | |
# 22 "/usr/include/Availability.h" 3 4 | |
# 183 "/usr/include/Availability.h" 3 4 | |
#define __attribute__((availability(_target, _availability))) | |
#if 1 | |
#define | |
#define | |
# 36 "/usr/include/sys/stdio.h" 2 3 4 | |
int renameat(int, __const char *, int, __const char *) __OSX_AVAILABLE_STARTING(101000, 80000); | |
# 76 "/usr/include/stdio.h" 2 3 4 | |
typedef __darwin_off_t fpos_t; | |
struct __sbuf { | |
unsigned char *_base; | |
int _size; | |
}; | |
struct __sFILEX; | |
# 121 "/usr/include/stdio.h" 3 4 | |
typedef struct __sFILE { | |
unsigned char *_p; | |
int _r; | |
int _w; | |
short _flags; | |
short _file; | |
struct __sbuf _bf; | |
int _lbfsize; | |
void *_cookie; | |
int (*_close)(void *); | |
int (*_read) (void *, char *, int); | |
fpos_t (*_seek) (void *, fpos_t, int); | |
int (*_write)(void *, __const char *, int); | |
struct __sbuf _ub; | |
struct __sFILEX *_extra; | |
int _ur; | |
unsigned char _ubuf[3]; | |
unsigned char _nbuf[1]; | |
struct __sbuf _lb; | |
int _blksize; | |
fpos_t _offset; | |
} FILE; | |
extern FILE *__stdinp; | |
extern FILE *__stdoutp; | |
extern FILE *__stderrp; | |
# 178 "/usr/include/stdio.h" 3 4 | |
# 215 "/usr/include/stdio.h" 3 4 | |
void clearerr(FILE *); | |
int fclose(FILE *); | |
int feof(FILE *); | |
int ferror(FILE *); | |
int fflush(FILE *); | |
int fgetc(FILE *); | |
int fgetpos(FILE * restrict, fpos_t *); | |
char *fgets(char * restrict, int, FILE *); | |
FILE *fopen(__const char * restrict, __const char * restrict) __DARWIN_ALIAS_STARTING_MAC_##1060( __asm("_" "x")); | |
int fprintf(FILE * restrict, __const char * restrict, ...) __attribute__((__format__ (__printf__, 2, 3))); | |
int fputc(int, FILE *); | |
int fputs(__const char * restrict, FILE * restrict) __asm("_" "x") ; | |
size_t fread(void * restrict, size_t, size_t, FILE * restrict); | |
FILE *freopen(__const char * restrict, __const char * restrict, | |
FILE * restrict) __asm("_" "x") ; | |
int fscanf(FILE * restrict, __const char * restrict, ...) __attribute__((__format__ (__scanf__, 2, 3))); | |
int fseek(FILE *, long, int); | |
int fsetpos(FILE *, __const fpos_t *); | |
long ftell(FILE *); | |
size_t fwrite(__const void * restrict, size_t, size_t, FILE * restrict) __asm("_" "x") ; | |
int getc(FILE *); | |
int getchar(void); | |
char *gets(char *); | |
void perror(__const char *); | |
int printf(__const char * restrict, ...) __attribute__((__format__ (__printf__, 1, 2))); | |
int putc(int, FILE *); | |
int putchar(int); | |
int puts(__const char *); | |
int remove(__const char *); | |
int rename (__const char *, __const char *); | |
void rewind(FILE *); | |
int scanf(__const char * restrict, ...) __attribute__((__format__ (__scanf__, 1, 2))); | |
void setbuf(FILE * restrict, char * restrict); | |
int setvbuf(FILE * restrict, char * restrict, int, size_t); | |
int sprintf(char * restrict, __const char * restrict, ...) __attribute__((__format__ (__printf__, 2, 3))); | |
int sscanf(__const char * restrict, __const char * restrict, ...) __attribute__((__format__ (__scanf__, 2, 3))); | |
FILE *tmpfile(void); | |
__attribute__((deprecated)) | |
char *tmpnam(char *); | |
int ungetc(int, FILE *); | |
int vfprintf(FILE * restrict, __const char * restrict, va_list) __attribute__((__format__ (__printf__, 2, 0))); | |
int vprintf(__const char * restrict, va_list) __attribute__((__format__ (__printf__, 1, 0))); | |
int vsprintf(char * restrict, __const char * restrict, va_list) __attribute__((__format__ (__printf__, 2, 0))); | |
char *ctermid(char *); | |
FILE *fdopen(int, __const char *) __DARWIN_ALIAS_STARTING_MAC_##1060( __asm("_" "x")); | |
int fileno(FILE *); | |
int pclose(FILE *); | |
FILE *popen(__const char *, __const char *) __DARWIN_ALIAS_STARTING_MAC_##1060( __asm("_" "x")); | |
int __srget(FILE *); | |
int __svfscanf(FILE *, __const char *, va_list) __attribute__((__format__ (__scanf__, 2, 0))); | |
int __swbuf(int, FILE *); | |
# 355 "/usr/include/stdio.h" 3 4 | |
# 367 "/usr/include/stdio.h" 3 4 | |
void flockfile(FILE *); | |
int ftrylockfile(FILE *); | |
void funlockfile(FILE *); | |
int getc_unlocked(FILE *); | |
int getchar_unlocked(void); | |
int putc_unlocked(int, FILE *); | |
int putchar_unlocked(int); | |
int getw(FILE *); | |
int putw(int, FILE *); | |
__attribute__((deprecated)) | |
char *tempnam(__const char *, __const char *) __asm("_" "x") ; | |
int fseeko(FILE *, off_t, int); | |
off_t ftello(FILE *); | |
int snprintf(char * restrict, size_t, __const char * restrict, ...) __attribute__((__format__ (__printf__, 3, 4))); | |
int vfscanf(FILE * restrict, __const char * restrict, va_list) __attribute__((__format__ (__scanf__, 2, 0))); | |
int vscanf(__const char * restrict, va_list) __attribute__((__format__ (__scanf__, 1, 0))); | |
int vsnprintf(char * restrict, size_t, __const char * restrict, va_list) __attribute__((__format__ (__printf__, 3, 0))); | |
int vsscanf(__const char * restrict, __const char * restrict, va_list) __attribute__((__format__ (__scanf__, 2, 0))); | |
int dprintf(int, __const char * restrict, ...) __attribute__((__format__ (__printf__, 2, 3))) __OSX_AVAILABLE_STARTING(1070, 40300); | |
int vdprintf(int, __const char * restrict, va_list) __attribute__((__format__ (__printf__, 2, 0))) __OSX_AVAILABLE_STARTING(1070, 40300); | |
ssize_t getdelim(char ** restrict, size_t * restrict, int, FILE * restrict) __OSX_AVAILABLE_STARTING(1070, 40300); | |
ssize_t getline(char ** restrict, size_t * restrict, FILE * restrict) __OSX_AVAILABLE_STARTING(1070, 40300); | |
extern __const int sys_nerr; | |
extern __const char *__const sys_errlist[]; | |
int asprintf(char ** restrict, __const char * restrict, ...) __attribute__((__format__ (__printf__, 2, 3))); | |
char *ctermid_r(char *); | |
char *fgetln(FILE *, size_t *); | |
__const char *fmtcheck(__const char *, __const char *); | |
int fpurge(FILE *); | |
void setbuffer(FILE *, char *, int); | |
int setlinebuf(FILE *); | |
int vasprintf(char ** restrict, __const char * restrict, va_list) __attribute__((__format__ (__printf__, 2, 0))); | |
FILE *zopen(__const char *, __const char *, int); | |
FILE *funopen(__const void *, | |
int (*)(void *, char *, int), | |
int (*)(void *, __const char *, int), | |
fpos_t (*)(void *, fpos_t, int), | |
int (*)(void *)); | |
# 1 "/usr/include/secure/_stdio.h" 1 3 4 | |
# 22 "/usr/include/secure/_stdio.h" 3 4 | |
extern int __sprintf_chk (char * restrict, int, size_t, | |
__const char * restrict, ...); | |
extern int __snprintf_chk (char * restrict, size_t, int, size_t, | |
__const char * restrict, ...); | |
extern int __vsprintf_chk (char * restrict, int, size_t, | |
__const char * restrict, va_list); | |
extern int __vsnprintf_chk (char * restrict, size_t, int, size_t, | |
__const char * restrict, va_list); | |
# 493 "/usr/include/stdio.h" 2 3 4 | |
# 69 "/usr/include/php/Zend/zend.h" 2 | |
# 1 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/stdarg.h" 1 3 4 | |
# 24 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/stdarg.h" 3 4 | |
typedef __builtin_va_list va_list; | |
typedef __builtin_va_list __gnuc_va_list; | |
# 76 "/usr/include/php/Zend/zend.h" 2 | |
# 1 "/usr/include/dlfcn.h" 1 3 4 | |
# 22 "/usr/include/dlfcn.h" 3 4 | |
# 1 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/stdbool.h" 1 3 4 | |
# 24 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/stdbool.h" 3 4 | |
# 41 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/stdbool.h" 3 4 | |
# 41 "/usr/include/dlfcn.h" 2 3 4 | |
# 1 "/usr/include/Availability.h" 1 3 4 | |
# 22 "/usr/include/Availability.h" 3 4 | |
# 183 "/usr/include/Availability.h" 3 4 | |
#define __attribute__((availability(_target, _availability))) | |
#if 1 | |
#define | |
#define | |
# 42 "/usr/include/dlfcn.h" 2 3 4 | |
typedef struct dl_info { | |
__const char *dli_fname; | |
void *dli_fbase; | |
__const char *dli_sname; | |
void *dli_saddr; | |
} Dl_info; | |
extern int dladdr(__const void *, Dl_info *); | |
extern int dlclose(void * __handle); | |
extern char * dlerror(void); | |
extern void * dlopen(__const char * __path, int __mode); | |
extern void * dlsym(void * __handle, __const char * __symbol); | |
extern _Bool dlopen_preflight(__const char* __path) __OSX_AVAILABLE_STARTING(1050, 20000); | |
# 80 "/usr/include/php/Zend/zend.h" 2 | |
# 118 "/usr/include/php/Zend/zend.h" | |
# 135 "/usr/include/php/Zend/zend.h" | |
# 214 "/usr/include/php/Zend/zend.h" | |
# 244 "/usr/include/php/Zend/zend.h" | |
# 1 "/usr/include/php/Zend/zend_errors.h" 1 | |
# 18 "/usr/include/php/Zend/zend_errors.h" | |
# 40 "/usr/include/php/Zend/zend_errors.h" | |
# 252 "/usr/include/php/Zend/zend.h" 2 | |
# 1 "/usr/include/php/Zend/zend_alloc.h" 1 | |
# 18 "/usr/include/php/Zend/zend_alloc.h" | |
# 1 "/usr/include/php/Zend/../TSRM/TSRM.h" 1 | |
# 11 "/usr/include/php/Zend/../TSRM/TSRM.h" | |
# 1 "/usr/include/php/TSRM/tsrm_config.h" 1 | |
# 1 "/usr/include/php/main/../main/php_config.h" 1 | |
# 2459 "/usr/include/php/main/../main/php_config.h" | |
# 2470 "/usr/include/php/main/../main/php_config.h" | |
# 2480 "/usr/include/php/main/../main/php_config.h" | |
# 2 "/usr/include/php/TSRM/tsrm_config.h" 2 | |
# 21 "/usr/include/php/Zend/../TSRM/TSRM.h" 2 | |
# 34 "/usr/include/php/Zend/../TSRM/TSRM.h" | |
typedef long tsrm_intptr_t; | |
typedef unsigned long tsrm_uintptr_t; | |
# 175 "/usr/include/php/Zend/../TSRM/TSRM.h" | |
# 28 "/usr/include/php/Zend/zend_alloc.h" 2 | |
# 1 "/usr/include/php/Zend/zend.h" 1 | |
# 18 "/usr/include/php/Zend/zend.h" | |
# 863 "/usr/include/php/Zend/zend.h" | |
# 29 "/usr/include/php/Zend/zend_alloc.h" 2 | |
# 39 "/usr/include/php/Zend/zend_alloc.h" | |
typedef struct _zend_leak_info { | |
void *addr; | |
size_t size; | |
__const char *filename; | |
uint lineno; | |
__const char *orig_filename; | |
uint orig_lineno; | |
} zend_leak_info; | |
__attribute__ ((visibility("default"))) char *zend_strndup(__const char *s, unsigned int length) __attribute__ ((__malloc__)); | |
__attribute__ ((visibility("default"))) void *_emalloc(size_t size ) __attribute__ ((__malloc__)) ; | |
__attribute__ ((visibility("default"))) void *_safe_emalloc(size_t nmemb, size_t size, size_t offset ) __attribute__ ((__malloc__)); | |
__attribute__ ((visibility("default"))) void *_safe_malloc(size_t nmemb, size_t size, size_t offset) __attribute__ ((__malloc__)); | |
__attribute__ ((visibility("default"))) void _efree(void *ptr ); | |
__attribute__ ((visibility("default"))) void *_ecalloc(size_t nmemb, size_t size ) __attribute__ ((__malloc__)) ; | |
__attribute__ ((visibility("default"))) void *_erealloc(void *ptr, size_t size, int allow_failure ) ; | |
__attribute__ ((visibility("default"))) void *_safe_erealloc(void *ptr, size_t nmemb, size_t size, size_t offset ); | |
__attribute__ ((visibility("default"))) void *_safe_realloc(void *ptr, size_t nmemb, size_t size, size_t offset); | |
__attribute__ ((visibility("default"))) char *_estrdup(__const char *s ) __attribute__ ((__malloc__)); | |
__attribute__ ((visibility("default"))) char *_estrndup(__const char *s, unsigned int length ) __attribute__ ((__malloc__)); | |
__attribute__ ((visibility("default"))) size_t _zend_mem_block_size(void *ptr ); | |
# 80 "/usr/include/php/Zend/zend_alloc.h" | |
# 92 "/usr/include/php/Zend/zend_alloc.h" | |
__inline static void * __zend_malloc(size_t len) | |
{ | |
void *tmp = malloc(len); | |
if (tmp) { | |
return tmp; | |
} | |
fprintf(__stderrp, "Out of memory\n"); | |
exit(1); | |
} | |
__inline static void * __zend_calloc(size_t nmemb, size_t len) | |
{ | |
void *tmp = _safe_malloc(nmemb, len, 0); | |
__builtin___memset_chk (tmp, 0, nmemb * len, __builtin_object_size (tmp, 0)); | |
return tmp; | |
} | |
__inline static void * __zend_realloc(void *p, size_t len) | |
{ | |
p = realloc(p, len); | |
if (p) { | |
return p; | |
} | |
fprintf(__stderrp, "Out of memory\n"); | |
exit(1); | |
} | |
# 131 "/usr/include/php/Zend/zend_alloc.h" | |
__attribute__ ((visibility("default"))) int zend_set_memory_limit(size_t memory_limit); | |
__attribute__ ((visibility("default"))) void start_memory_manager(void); | |
__attribute__ ((visibility("default"))) void shutdown_memory_manager(int silent, int full_shutdown ); | |
__attribute__ ((visibility("default"))) int is_zend_mm(void); | |
# 158 "/usr/include/php/Zend/zend_alloc.h" | |
__attribute__ ((visibility("default"))) size_t zend_memory_usage(int real_usage ); | |
__attribute__ ((visibility("default"))) size_t zend_memory_peak_usage(int real_usage ); | |
typedef struct _zend_mm_heap zend_mm_heap; | |
__attribute__ ((visibility("default"))) zend_mm_heap *zend_mm_startup(void); | |
__attribute__ ((visibility("default"))) void zend_mm_shutdown(zend_mm_heap *heap, int full_shutdown, int silent ); | |
__attribute__ ((visibility("default"))) void *_zend_mm_alloc(zend_mm_heap *heap, size_t size ) __attribute__ ((__malloc__)); | |
__attribute__ ((visibility("default"))) void _zend_mm_free(zend_mm_heap *heap, void *p ); | |
__attribute__ ((visibility("default"))) void *_zend_mm_realloc(zend_mm_heap *heap, void *p, size_t size ); | |
__attribute__ ((visibility("default"))) size_t _zend_mm_block_size(zend_mm_heap *heap, void *p ); | |
typedef struct _zend_mm_storage zend_mm_storage; | |
typedef struct _zend_mm_segment { | |
size_t size; | |
struct _zend_mm_segment *next_segment; | |
} zend_mm_segment; | |
typedef struct _zend_mm_mem_handlers { | |
__const char *name; | |
zend_mm_storage* (*init)(void *params); | |
void (*dtor)(zend_mm_storage *storage); | |
void (*compact)(zend_mm_storage *storage); | |
zend_mm_segment* (*_alloc)(zend_mm_storage *storage, size_t size); | |
zend_mm_segment* (*_realloc)(zend_mm_storage *storage, zend_mm_segment *ptr, size_t size); | |
void (*_free)(zend_mm_storage *storage, zend_mm_segment *ptr); | |
} zend_mm_mem_handlers; | |
struct _zend_mm_storage { | |
__const zend_mm_mem_handlers *handlers; | |
void *data; | |
}; | |
__attribute__ ((visibility("default"))) zend_mm_heap *zend_mm_startup_ex(__const zend_mm_mem_handlers *handlers, size_t block_size, size_t reserve_size, int internal, void *params); | |
__attribute__ ((visibility("default"))) zend_mm_heap *zend_mm_set_heap(zend_mm_heap *new_heap ); | |
__attribute__ ((visibility("default"))) zend_mm_storage *zend_mm_get_storage(zend_mm_heap *heap); | |
__attribute__ ((visibility("default"))) void zend_mm_set_custom_handlers(zend_mm_heap *heap, | |
void* (*_malloc)(size_t), | |
void (*_free)(void*), | |
void* (*_realloc)(void*, size_t)); | |
# 253 "/usr/include/php/Zend/zend.h" 2 | |
# 1 "/usr/include/php/Zend/zend_types.h" 1 | |
# 18 "/usr/include/php/Zend/zend_types.h" | |
typedef unsigned char zend_bool; | |
typedef unsigned char zend_uchar; | |
typedef unsigned int zend_uint; | |
typedef unsigned long zend_ulong; | |
typedef unsigned short zend_ushort; | |
typedef long long int zend_long64; | |
typedef unsigned long long int zend_ulong64; | |
typedef long zend_intptr_t; | |
typedef unsigned long zend_uintptr_t; | |
typedef unsigned int zend_object_handle; | |
typedef struct _zend_object_handlers zend_object_handlers; | |
typedef struct _zval_struct zval; | |
typedef struct _zend_object_value { | |
zend_object_handle handle; | |
__const zend_object_handlers *handlers; | |
} zend_object_value; | |
# 255 "/usr/include/php/Zend/zend.h" 2 | |
# 1 "/usr/include/php/Zend/zend_string.h" 1 | |
# 17 "/usr/include/php/Zend/zend_string.h" | |
# 1 "/usr/include/php/Zend/zend.h" 1 | |
# 18 "/usr/include/php/Zend/zend.h" | |
# 863 "/usr/include/php/Zend/zend.h" | |
# 25 "/usr/include/php/Zend/zend_string.h" 2 | |
__attribute__ ((visibility("default"))) extern __const char *(*zend_new_interned_string)(__const char *str, int len, int free_src ); | |
__attribute__ ((visibility("default"))) extern void (*zend_interned_strings_snapshot)(void); | |
__attribute__ ((visibility("default"))) extern void (*zend_interned_strings_restore)(void); | |
void zend_interned_strings_init(void); | |
void zend_interned_strings_dtor(void); | |
# 256 "/usr/include/php/Zend/zend.h" 2 | |
# 1 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/limits.h" 1 3 4 | |
# 23 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/limits.h" 3 4 | |
# 1 "/usr/include/limits.h" 1 3 4 | |
# 22 "/usr/include/limits.h" 3 4 | |
# 58 "/usr/include/limits.h" 3 4 | |
# 1 "/usr/include/machine/limits.h" 1 3 4 | |
# 1 "/usr/include/i386/limits.h" 1 3 4 | |
# 34 "/usr/include/i386/limits.h" 3 4 | |
# 1 "/usr/include/i386/_limits.h" 1 3 4 | |
# 21 "/usr/include/i386/_limits.h" 3 4 | |
# 41 "/usr/include/i386/limits.h" 2 3 4 | |
# 58 "/usr/include/i386/limits.h" 3 4 | |
# 83 "/usr/include/i386/limits.h" 3 4 | |
# 7 "/usr/include/machine/limits.h" 2 3 4 | |
# 65 "/usr/include/limits.h" 2 3 4 | |
# 1 "/usr/include/sys/syslimits.h" 1 3 4 | |
# 27 "/usr/include/sys/syslimits.h" 3 4 | |
# 63 "/usr/include/sys/syslimits.h" 3 4 | |
# 87 "/usr/include/sys/syslimits.h" 3 4 | |
# 104 "/usr/include/sys/syslimits.h" 3 4 | |
# 66 "/usr/include/limits.h" 2 3 4 | |
# 81 "/usr/include/limits.h" 3 4 | |
# 91 "/usr/include/limits.h" 3 4 | |
# 104 "/usr/include/limits.h" 3 4 | |
# 128 "/usr/include/limits.h" 3 4 | |
# 39 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/limits.h" 2 3 4 | |
# 55 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/limits.h" 3 4 | |
# 259 "/usr/include/php/Zend/zend.h" 2 | |
static __const char long_min_digits[] = "9223372036854775808"; | |
typedef enum { | |
SUCCESS = 0, | |
FAILURE = -1, | |
} ZEND_RESULT_CODE; | |
# 1 "/usr/include/php/Zend/zend_hash.h" 1 | |
# 18 "/usr/include/php/Zend/zend_hash.h" | |
# 1 "/usr/include/php/Zend/zend.h" 1 | |
# 18 "/usr/include/php/Zend/zend.h" | |
# 863 "/usr/include/php/Zend/zend.h" | |
# 27 "/usr/include/php/Zend/zend_hash.h" 2 | |
typedef unsigned long (*hash_func_t)(__const char *arKey, uint nKeyLength); | |
typedef int (*compare_func_t)(__const void *, __const void * ); | |
typedef void (*sort_func_t)(void *, size_t, register size_t, compare_func_t ); | |
typedef void (*dtor_func_t)(void *pDest); | |
typedef void (*copy_ctor_func_t)(void *pElement); | |
typedef void (*copy_ctor_param_func_t)(void *pElement, void *pParam); | |
struct _hashtable; | |
typedef struct bucket { | |
unsigned long h; | |
uint nKeyLength; | |
void *pData; | |
void *pDataPtr; | |
struct bucket *pListNext; | |
struct bucket *pListLast; | |
struct bucket *pNext; | |
struct bucket *pLast; | |
__const char *arKey; | |
} Bucket; | |
typedef struct _hashtable { | |
uint nTableSize; | |
uint nTableMask; | |
uint nNumOfElements; | |
unsigned long nNextFreeElement; | |
Bucket *pInternalPointer; | |
Bucket *pListHead; | |
Bucket *pListTail; | |
Bucket **arBuckets; | |
dtor_func_t pDestructor; | |
zend_bool persistent; | |
unsigned char nApplyCount; | |
zend_bool bApplyProtection; | |
} HashTable; | |
typedef struct _zend_hash_key { | |
__const char *arKey; | |
uint nKeyLength; | |
unsigned long h; | |
} zend_hash_key; | |
typedef zend_bool (*merge_checker_func_t)(HashTable *target_ht, void *source_data, zend_hash_key *hash_key, void *pParam); | |
typedef Bucket* HashPosition; | |
__attribute__ ((visibility("default"))) int _zend_hash_init(HashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent ); | |
__attribute__ ((visibility("default"))) int _zend_hash_init_ex(HashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ); | |
__attribute__ ((visibility("default"))) void zend_hash_destroy(HashTable *ht); | |
__attribute__ ((visibility("default"))) void zend_hash_clean(HashTable *ht); | |
__attribute__ ((visibility("default"))) int _zend_hash_add_or_update(HashTable *ht, __const char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ); | |
__attribute__ ((visibility("default"))) int _zend_hash_quick_add_or_update(HashTable *ht, __const char *arKey, uint nKeyLength, unsigned long h, void *pData, uint nDataSize, void **pDest, int flag ); | |
__attribute__ ((visibility("default"))) int _zend_hash_index_update_or_next_insert(HashTable *ht, unsigned long h, void *pData, uint nDataSize, void **pDest, int flag ); | |
__attribute__ ((visibility("default"))) int zend_hash_add_empty_element(HashTable *ht, __const char *arKey, uint nKeyLength); | |
typedef int (*apply_func_t)(void *pDest ); | |
typedef int (*apply_func_arg_t)(void *pDest, void *argument ); | |
typedef int (*apply_func_args_t)(void *pDest , int num_args, va_list args, zend_hash_key *hash_key); | |
__attribute__ ((visibility("default"))) void zend_hash_graceful_destroy(HashTable *ht); | |
__attribute__ ((visibility("default"))) void zend_hash_graceful_reverse_destroy(HashTable *ht); | |
__attribute__ ((visibility("default"))) void zend_hash_apply(HashTable *ht, apply_func_t apply_func ); | |
__attribute__ ((visibility("default"))) void zend_hash_apply_with_argument(HashTable *ht, apply_func_arg_t apply_func, void * ); | |
__attribute__ ((visibility("default"))) void zend_hash_apply_with_arguments(HashTable *ht , apply_func_args_t apply_func, int, ...); | |
__attribute__ ((visibility("default"))) void zend_hash_reverse_apply(HashTable *ht, apply_func_t apply_func ); | |
__attribute__ ((visibility("default"))) int zend_hash_del_key_or_index(HashTable *ht, __const char *arKey, uint nKeyLength, unsigned long h, int flag); | |
__attribute__ ((visibility("default"))) unsigned long zend_get_hash_value(__const char *arKey, uint nKeyLength); | |
__attribute__ ((visibility("default"))) int zend_hash_find(__const HashTable *ht, __const char *arKey, uint nKeyLength, void **pData); | |
__attribute__ ((visibility("default"))) int zend_hash_quick_find(__const HashTable *ht, __const char *arKey, uint nKeyLength, unsigned long h, void **pData); | |
__attribute__ ((visibility("default"))) int zend_hash_index_find(__const HashTable *ht, unsigned long h, void **pData); | |
__attribute__ ((visibility("default"))) int zend_hash_exists(__const HashTable *ht, __const char *arKey, uint nKeyLength); | |
__attribute__ ((visibility("default"))) int zend_hash_quick_exists(__const HashTable *ht, __const char *arKey, uint nKeyLength, unsigned long h); | |
__attribute__ ((visibility("default"))) int zend_hash_index_exists(__const HashTable *ht, unsigned long h); | |
__attribute__ ((visibility("default"))) unsigned long zend_hash_next_free_element(__const HashTable *ht); | |
__attribute__ ((visibility("default"))) int zend_hash_move_forward_ex(HashTable *ht, HashPosition *pos); | |
__attribute__ ((visibility("default"))) int zend_hash_move_backwards_ex(HashTable *ht, HashPosition *pos); | |
__attribute__ ((visibility("default"))) int zend_hash_get_current_key_ex(__const HashTable *ht, char **str_index, uint *str_length, unsigned long *num_index, zend_bool duplicate, HashPosition *pos); | |
__attribute__ ((visibility("default"))) void zend_hash_get_current_key_zval_ex(__const HashTable *ht, zval *key, HashPosition *pos); | |
__attribute__ ((visibility("default"))) int zend_hash_get_current_key_type_ex(HashTable *ht, HashPosition *pos); | |
__attribute__ ((visibility("default"))) int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); | |
__attribute__ ((visibility("default"))) void zend_hash_internal_pointer_reset_ex(HashTable *ht, HashPosition *pos); | |
__attribute__ ((visibility("default"))) void zend_hash_internal_pointer_end_ex(HashTable *ht, HashPosition *pos); | |
__attribute__ ((visibility("default"))) int zend_hash_update_current_key_ex(HashTable *ht, int key_type, __const char *str_index, uint str_length, unsigned long num_index, int mode, HashPosition *pos); | |
typedef struct _HashPointer { | |
HashPosition pos; | |
unsigned long h; | |
} HashPointer; | |
__attribute__ ((visibility("default"))) int zend_hash_get_pointer(__const HashTable *ht, HashPointer *ptr); | |
__attribute__ ((visibility("default"))) int zend_hash_set_pointer(HashTable *ht, __const HashPointer *ptr); | |
# 215 "/usr/include/php/Zend/zend_hash.h" | |
__attribute__ ((visibility("default"))) void zend_hash_copy(HashTable *target, HashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size); | |
__attribute__ ((visibility("default"))) void _zend_hash_merge(HashTable *target, HashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size, int overwrite ); | |
__attribute__ ((visibility("default"))) void zend_hash_merge_ex(HashTable *target, HashTable *source, copy_ctor_func_t pCopyConstructor, uint size, merge_checker_func_t pMergeSource, void *pParam); | |
__attribute__ ((visibility("default"))) int zend_hash_sort(HashTable *ht, sort_func_t sort_func, compare_func_t compare_func, int renumber ); | |
__attribute__ ((visibility("default"))) int zend_hash_compare(HashTable *ht1, HashTable *ht2, compare_func_t compar, zend_bool ordered ); | |
__attribute__ ((visibility("default"))) int zend_hash_minmax(__const HashTable *ht, compare_func_t compar, int flag, void **pData ); | |
__attribute__ ((visibility("default"))) int zend_hash_num_elements(__const HashTable *ht); | |
__attribute__ ((visibility("default"))) int zend_hash_rehash(HashTable *ht); | |
# 262 "/usr/include/php/Zend/zend_hash.h" | |
static __inline unsigned long zend_inline_hash_func(__const char *arKey, uint nKeyLength) | |
{ | |
register unsigned long hash = 5381; | |
for (; nKeyLength >= 8; nKeyLength -= 8) { | |
hash = ((hash << 5) + hash) + *arKey++; | |
hash = ((hash << 5) + hash) + *arKey++; | |
hash = ((hash << 5) + hash) + *arKey++; | |
hash = ((hash << 5) + hash) + *arKey++; | |
hash = ((hash << 5) + hash) + *arKey++; | |
hash = ((hash << 5) + hash) + *arKey++; | |
hash = ((hash << 5) + hash) + *arKey++; | |
hash = ((hash << 5) + hash) + *arKey++; | |
} | |
switch (nKeyLength) { | |
case 7: hash = ((hash << 5) + hash) + *arKey++; | |
case 6: hash = ((hash << 5) + hash) + *arKey++; | |
case 5: hash = ((hash << 5) + hash) + *arKey++; | |
case 4: hash = ((hash << 5) + hash) + *arKey++; | |
case 3: hash = ((hash << 5) + hash) + *arKey++; | |
case 2: hash = ((hash << 5) + hash) + *arKey++; | |
case 1: hash = ((hash << 5) + hash) + *arKey++; break; | |
case 0: break; | |
} | |
return hash; | |
} | |
__attribute__ ((visibility("default"))) unsigned long zend_hash_func(__const char *arKey, uint nKeyLength); | |
# 344 "/usr/include/php/Zend/zend_hash.h" | |
static __inline int zend_symtable_update(HashTable *ht, __const char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest) { | |
do { unsigned long idx; do { register __const char *tmp = arKey; if (*tmp == '-') { tmp++; } if (*tmp >= '0' && *tmp <= '9') { __const char *end = arKey + nKeyLength - 1; if ((*end != '\0') || (*tmp == '0' && nKeyLength > 2) || (end - tmp > 20 - 1) || (8 == 4 && end - tmp == 20 - 1 && *tmp > '2')) { break; } idx = (*tmp - '0'); while (++tmp != end && *tmp >= '0' && *tmp <= '9') { idx = (idx * 10) + (*tmp - '0'); } if (tmp == end) { if (*arKey == '-') { if (idx-1 > 9223372036854775807L) { break; } idx = 0 - idx; } else if (idx > 9223372036854775807L) { break; } return _zend_hash_index_update_or_next_insert(ht, idx, pData, nDataSize, pDest, (1<<0)); } } } while (0); } while (0); | |
return _zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, (1<<0)) ; | |
} | |
static __inline int zend_symtable_del(HashTable *ht, __const char *arKey, uint nKeyLength) | |
{ | |
do { unsigned long idx; do { register __const char *tmp = arKey; if (*tmp == '-') { tmp++; } if (*tmp >= '0' && *tmp <= '9') { __const char *end = arKey + nKeyLength - 1; if ((*end != '\0') || (*tmp == '0' && nKeyLength > 2) || (end - tmp > 20 - 1) || (8 == 4 && end - tmp == 20 - 1 && *tmp > '2')) { break; } idx = (*tmp - '0'); while (++tmp != end && *tmp >= '0' && *tmp <= '9') { idx = (idx * 10) + (*tmp - '0'); } if (tmp == end) { if (*arKey == '-') { if (idx-1 > 9223372036854775807L) { break; } idx = 0 - idx; } else if (idx > 9223372036854775807L) { break; } return zend_hash_del_key_or_index(ht, ((void *)0), 0, idx, 1); } } } while (0); } while (0); | |
return zend_hash_del_key_or_index(ht, arKey, nKeyLength, 0, 0); | |
} | |
static __inline int zend_symtable_find(HashTable *ht, __const char *arKey, uint nKeyLength, void **pData) | |
{ | |
do { unsigned long idx; do { register __const char *tmp = arKey; if (*tmp == '-') { tmp++; } if (*tmp >= '0' && *tmp <= '9') { __const char *end = arKey + nKeyLength - 1; if ((*end != '\0') || (*tmp == '0' && nKeyLength > 2) || (end - tmp > 20 - 1) || (8 == 4 && end - tmp == 20 - 1 && *tmp > '2')) { break; } idx = (*tmp - '0'); while (++tmp != end && *tmp >= '0' && *tmp <= '9') { idx = (idx * 10) + (*tmp - '0'); } if (tmp == end) { if (*arKey == '-') { if (idx-1 > 9223372036854775807L) { break; } idx = 0 - idx; } else if (idx > 9223372036854775807L) { break; } return zend_hash_index_find(ht, idx, pData); } } } while (0); } while (0); | |
return zend_hash_find(ht, arKey, nKeyLength, pData); | |
} | |
static __inline int zend_symtable_exists(HashTable *ht, __const char *arKey, uint nKeyLength) | |
{ | |
do { unsigned long idx; do { register __const char *tmp = arKey; if (*tmp == '-') { tmp++; } if (*tmp >= '0' && *tmp <= '9') { __const char *end = arKey + nKeyLength - 1; if ((*end != '\0') || (*tmp == '0' && nKeyLength > 2) || (end - tmp > 20 - 1) || (8 == 4 && end - tmp == 20 - 1 && *tmp > '2')) { break; } idx = (*tmp - '0'); while (++tmp != end && *tmp >= '0' && *tmp <= '9') { idx = (idx * 10) + (*tmp - '0'); } if (tmp == end) { if (*arKey == '-') { if (idx-1 > 9223372036854775807L) { break; } idx = 0 - idx; } else if (idx > 9223372036854775807L) { break; } return zend_hash_index_exists(ht, idx); } } } while (0); } while (0); | |
return zend_hash_exists(ht, arKey, nKeyLength); | |
} | |
static __inline int zend_symtable_update_current_key_ex(HashTable *ht, __const char *arKey, uint nKeyLength, int mode, HashPosition *pos) | |
{ | |
do { unsigned long idx; do { register __const char *tmp = arKey; if (*tmp == '-') { tmp++; } if (*tmp >= '0' && *tmp <= '9') { __const char *end = arKey + nKeyLength - 1; if ((*end != '\0') || (*tmp == '0' && nKeyLength > 2) || (end - tmp > 20 - 1) || (8 == 4 && end - tmp == 20 - 1 && *tmp > '2')) { break; } idx = (*tmp - '0'); while (++tmp != end && *tmp >= '0' && *tmp <= '9') { idx = (idx * 10) + (*tmp - '0'); } if (tmp == end) { if (*arKey == '-') { if (idx-1 > 9223372036854775807L) { break; } idx = 0 - idx; } else if (idx > 9223372036854775807L) { break; } return zend_hash_update_current_key_ex(ht, 2, ((void *)0), 0, idx, mode, pos); } } } while (0); } while (0); | |
return zend_hash_update_current_key_ex(ht, 1, arKey, nKeyLength, 0, mode, pos); | |
} | |
# 287 "/usr/include/php/Zend/zend.h" 2 | |
# 1 "/usr/include/php/Zend/zend_ts_hash.h" 1 | |
# 17 "/usr/include/php/Zend/zend_ts_hash.h" | |
# 1 "/usr/include/php/Zend/zend.h" 1 | |
# 18 "/usr/include/php/Zend/zend.h" | |
# 863 "/usr/include/php/Zend/zend.h" | |
# 25 "/usr/include/php/Zend/zend_ts_hash.h" 2 | |
typedef struct _zend_ts_hashtable { | |
HashTable hash; | |
zend_uint reader; | |
} TsHashTable; | |
__attribute__ ((visibility("default"))) int _zend_ts_hash_init(TsHashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent ); | |
__attribute__ ((visibility("default"))) int _zend_ts_hash_init_ex(TsHashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ); | |
__attribute__ ((visibility("default"))) void zend_ts_hash_destroy(TsHashTable *ht); | |
__attribute__ ((visibility("default"))) void zend_ts_hash_clean(TsHashTable *ht); | |
__attribute__ ((visibility("default"))) int _zend_ts_hash_add_or_update(TsHashTable *ht, char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ); | |
__attribute__ ((visibility("default"))) int _zend_ts_hash_quick_add_or_update(TsHashTable *ht, char *arKey, uint nKeyLength, unsigned long h, void *pData, uint nDataSize, void **pDest, int flag ); | |
__attribute__ ((visibility("default"))) int _zend_ts_hash_index_update_or_next_insert(TsHashTable *ht, unsigned long h, void *pData, uint nDataSize, void **pDest, int flag ); | |
__attribute__ ((visibility("default"))) int zend_ts_hash_add_empty_element(TsHashTable *ht, char *arKey, uint nKeyLength); | |
__attribute__ ((visibility("default"))) void zend_ts_hash_graceful_destroy(TsHashTable *ht); | |
__attribute__ ((visibility("default"))) void zend_ts_hash_apply(TsHashTable *ht, apply_func_t apply_func ); | |
__attribute__ ((visibility("default"))) void zend_ts_hash_apply_with_argument(TsHashTable *ht, apply_func_arg_t apply_func, void * ); | |
__attribute__ ((visibility("default"))) void zend_ts_hash_apply_with_arguments(TsHashTable *ht , apply_func_args_t apply_func, int, ...); | |
__attribute__ ((visibility("default"))) void zend_ts_hash_reverse_apply(TsHashTable *ht, apply_func_t apply_func ); | |
__attribute__ ((visibility("default"))) int zend_ts_hash_del_key_or_index(TsHashTable *ht, char *arKey, uint nKeyLength, unsigned long h, int flag); | |
__attribute__ ((visibility("default"))) unsigned long zend_ts_get_hash_value(TsHashTable *ht, char *arKey, uint nKeyLength); | |
__attribute__ ((visibility("default"))) int zend_ts_hash_find(TsHashTable *ht, char *arKey, uint nKeyLength, void **pData); | |
__attribute__ ((visibility("default"))) int zend_ts_hash_quick_find(TsHashTable *ht, char *arKey, uint nKeyLength, unsigned long h, void **pData); | |
__attribute__ ((visibility("default"))) int zend_ts_hash_index_find(TsHashTable *ht, unsigned long h, void **pData); | |
__attribute__ ((visibility("default"))) int zend_ts_hash_exists(TsHashTable *ht, char *arKey, uint nKeyLength); | |
__attribute__ ((visibility("default"))) int zend_ts_hash_index_exists(TsHashTable *ht, unsigned long h); | |
__attribute__ ((visibility("default"))) void zend_ts_hash_copy(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size); | |
__attribute__ ((visibility("default"))) void zend_ts_hash_copy_to_hash(HashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size); | |
__attribute__ ((visibility("default"))) void zend_ts_hash_merge(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size, int overwrite); | |
__attribute__ ((visibility("default"))) void zend_ts_hash_merge_ex(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, uint size, merge_checker_func_t pMergeSource, void *pParam); | |
__attribute__ ((visibility("default"))) int zend_ts_hash_sort(TsHashTable *ht, sort_func_t sort_func, compare_func_t compare_func, int renumber ); | |
__attribute__ ((visibility("default"))) int zend_ts_hash_compare(TsHashTable *ht1, TsHashTable *ht2, compare_func_t compar, zend_bool ordered ); | |
__attribute__ ((visibility("default"))) int zend_ts_hash_minmax(TsHashTable *ht, compare_func_t compar, int flag, void **pData ); | |
__attribute__ ((visibility("default"))) int zend_ts_hash_num_elements(TsHashTable *ht); | |
__attribute__ ((visibility("default"))) int zend_ts_hash_rehash(TsHashTable *ht); | |
__attribute__ ((visibility("default"))) unsigned long zend_ts_hash_func(char *arKey, uint nKeyLength); | |
# 288 "/usr/include/php/Zend/zend.h" 2 | |
# 1 "/usr/include/php/Zend/zend_llist.h" 1 | |
# 18 "/usr/include/php/Zend/zend_llist.h" | |
typedef struct _zend_llist_element { | |
struct _zend_llist_element *next; | |
struct _zend_llist_element *prev; | |
char data[1]; | |
} zend_llist_element; | |
typedef void (*llist_dtor_func_t)(void *); | |
typedef int (*llist_compare_func_t)(__const zend_llist_element **, __const zend_llist_element ** ); | |
typedef void (*llist_apply_with_args_func_t)(void *data, int num_args, va_list args ); | |
typedef void (*llist_apply_with_arg_func_t)(void *data, void *arg ); | |
typedef void (*llist_apply_func_t)(void * ); | |
typedef struct _zend_llist { | |
zend_llist_element *head; | |
zend_llist_element *tail; | |
size_t count; | |
size_t size; | |
llist_dtor_func_t dtor; | |
unsigned char persistent; | |
zend_llist_element *traverse_ptr; | |
} zend_llist; | |
typedef zend_llist_element* zend_llist_position; | |
__attribute__ ((visibility("default"))) void zend_llist_init(zend_llist *l, size_t size, llist_dtor_func_t dtor, unsigned char persistent); | |
__attribute__ ((visibility("default"))) void zend_llist_add_element(zend_llist *l, void *element); | |
__attribute__ ((visibility("default"))) void zend_llist_prepend_element(zend_llist *l, void *element); | |
__attribute__ ((visibility("default"))) void zend_llist_del_element(zend_llist *l, void *element, int (*compare)(void *element1, void *element2)); | |
__attribute__ ((visibility("default"))) void zend_llist_destroy(zend_llist *l); | |
__attribute__ ((visibility("default"))) void zend_llist_clean(zend_llist *l); | |
__attribute__ ((visibility("default"))) void *zend_llist_remove_tail(zend_llist *l); | |
__attribute__ ((visibility("default"))) void zend_llist_copy(zend_llist *dst, zend_llist *src); | |
__attribute__ ((visibility("default"))) void zend_llist_apply(zend_llist *l, llist_apply_func_t func ); | |
__attribute__ ((visibility("default"))) void zend_llist_apply_with_del(zend_llist *l, int (*func)(void *data)); | |
__attribute__ ((visibility("default"))) void zend_llist_apply_with_argument(zend_llist *l, llist_apply_with_arg_func_t func, void *arg ); | |
__attribute__ ((visibility("default"))) void zend_llist_apply_with_arguments(zend_llist *l, llist_apply_with_args_func_t func , int num_args, ...); | |
__attribute__ ((visibility("default"))) int zend_llist_count(zend_llist *l); | |
__attribute__ ((visibility("default"))) void zend_llist_sort(zend_llist *l, llist_compare_func_t comp_func ); | |
__attribute__ ((visibility("default"))) void *zend_llist_get_first_ex(zend_llist *l, zend_llist_position *pos); | |
__attribute__ ((visibility("default"))) void *zend_llist_get_last_ex(zend_llist *l, zend_llist_position *pos); | |
__attribute__ ((visibility("default"))) void *zend_llist_get_next_ex(zend_llist *l, zend_llist_position *pos); | |
__attribute__ ((visibility("default"))) void *zend_llist_get_prev_ex(zend_llist *l, zend_llist_position *pos); | |
# 289 "/usr/include/php/Zend/zend.h" 2 | |
typedef struct _zend_class_entry zend_class_entry; | |
typedef struct _zend_guard { | |
zend_bool in_get; | |
zend_bool in_set; | |
zend_bool in_unset; | |
zend_bool in_isset; | |
zend_bool dummy; | |
} zend_guard; | |
typedef struct _zend_object { | |
zend_class_entry *ce; | |
HashTable *properties; | |
zval **properties_table; | |
HashTable *guards; | |
} zend_object; | |
# 1 "/usr/include/php/Zend/zend_object_handlers.h" 1 | |
# 18 "/usr/include/php/Zend/zend_object_handlers.h" | |
union _zend_function; | |
struct _zend_property_info; | |
struct _zend_literal; | |
typedef zval *(*zend_object_read_property_t)(zval *object, zval *member, int type, __const struct _zend_literal *key ); | |
typedef zval *(*zend_object_read_dimension_t)(zval *object, zval *offset, int type ); | |
typedef void (*zend_object_write_property_t)(zval *object, zval *member, zval *value, __const struct _zend_literal *key ); | |
typedef void (*zend_object_write_dimension_t)(zval *object, zval *offset, zval *value ); | |
typedef zval **(*zend_object_get_property_ptr_ptr_t)(zval *object, zval *member, int type, __const struct _zend_literal *key ); | |
typedef void (*zend_object_set_t)(zval **object, zval *value ); | |
typedef zval* (*zend_object_get_t)(zval *object ); | |
typedef int (*zend_object_has_property_t)(zval *object, zval *member, int has_set_exists, __const struct _zend_literal *key ); | |
typedef int (*zend_object_has_dimension_t)(zval *object, zval *member, int check_empty ); | |
typedef void (*zend_object_unset_property_t)(zval *object, zval *member, __const struct _zend_literal *key ); | |
typedef void (*zend_object_unset_dimension_t)(zval *object, zval *offset ); | |
typedef HashTable *(*zend_object_get_properties_t)(zval *object ); | |
typedef HashTable *(*zend_object_get_debug_info_t)(zval *object, int *is_temp ); | |
typedef int (*zend_object_call_method_t)(__const char *method, int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); | |
typedef union _zend_function *(*zend_object_get_method_t)(zval **object_ptr, char *method, int method_len, __const struct _zend_literal *key ); | |
typedef union _zend_function *(*zend_object_get_constructor_t)(zval *object ); | |
typedef void (*zend_object_add_ref_t)(zval *object ); | |
typedef void (*zend_object_del_ref_t)(zval *object ); | |
typedef void (*zend_object_delete_obj_t)(zval *object ); | |
typedef zend_object_value (*zend_object_clone_obj_t)(zval *object ); | |
typedef zend_class_entry *(*zend_object_get_class_entry_t)(__const zval *object ); | |
typedef int (*zend_object_get_class_name_t)(__const zval *object, __const char **class_name, zend_uint *class_name_len, int parent ); | |
typedef int (*zend_object_compare_t)(zval *object1, zval *object2 ); | |
typedef int (*zend_object_cast_t)(zval *readobj, zval *retval, int type ); | |
typedef int (*zend_object_count_elements_t)(zval *object, long *count ); | |
typedef int (*zend_object_get_closure_t)(zval *obj, zend_class_entry **ce_ptr, union _zend_function **fptr_ptr, zval **zobj_ptr ); | |
typedef HashTable *(*zend_object_get_gc_t)(zval *object, zval ***table, int *n ); | |
struct _zend_object_handlers { | |
zend_object_add_ref_t add_ref; | |
zend_object_del_ref_t del_ref; | |
zend_object_clone_obj_t clone_obj; | |
zend_object_read_property_t read_property; | |
zend_object_write_property_t write_property; | |
zend_object_read_dimension_t read_dimension; | |
zend_object_write_dimension_t write_dimension; | |
zend_object_get_property_ptr_ptr_t get_property_ptr_ptr; | |
zend_object_get_t get; | |
zend_object_set_t set; | |
zend_object_has_property_t has_property; | |
zend_object_unset_property_t unset_property; | |
zend_object_has_dimension_t has_dimension; | |
zend_object_unset_dimension_t unset_dimension; | |
zend_object_get_properties_t get_properties; | |
zend_object_get_method_t get_method; | |
zend_object_call_method_t call_method; | |
zend_object_get_constructor_t get_constructor; | |
zend_object_get_class_entry_t get_class_entry; | |
zend_object_get_class_name_t get_class_name; | |
zend_object_compare_t compare_objects; | |
zend_object_cast_t cast_object; | |
zend_object_count_elements_t count_elements; | |
zend_object_get_debug_info_t get_debug_info; | |
zend_object_get_closure_t get_closure; | |
zend_object_get_gc_t get_gc; | |
}; | |
extern __attribute__ ((visibility("default"))) zend_object_handlers std_object_handlers; | |
__attribute__ ((visibility("default"))) union _zend_function *zend_std_get_static_method(zend_class_entry *ce, __const char *function_name_strval, int function_name_strlen, __const struct _zend_literal *key ); | |
__attribute__ ((visibility("default"))) zval **zend_std_get_static_property(zend_class_entry *ce, __const char *property_name, int property_name_len, zend_bool silent, __const struct _zend_literal *key ); | |
__attribute__ ((visibility("default"))) zend_bool zend_std_unset_static_property(zend_class_entry *ce, __const char *property_name, int property_name_len, __const struct _zend_literal *key ); | |
__attribute__ ((visibility("default"))) union _zend_function *zend_std_get_constructor(zval *object ); | |
__attribute__ ((visibility("default"))) struct _zend_property_info *zend_get_property_info(zend_class_entry *ce, zval *member, int silent ); | |
__attribute__ ((visibility("default"))) HashTable *zend_std_get_properties(zval *object ); | |
__attribute__ ((visibility("default"))) HashTable *zend_std_get_debug_info(zval *object, int *is_temp ); | |
__attribute__ ((visibility("default"))) int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type ); | |
__attribute__ ((visibility("default"))) void zend_std_write_property(zval *object, zval *member, zval *value, __const struct _zend_literal *key ); | |
__attribute__ ((visibility("default"))) void rebuild_object_properties(zend_object *zobj); | |
__attribute__ ((visibility("default"))) int zend_check_private(union _zend_function *fbc, zend_class_entry *ce, char *function_name_strval, int function_name_strlen ); | |
__attribute__ ((visibility("default"))) int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope); | |
__attribute__ ((visibility("default"))) int zend_check_property_access(zend_object *zobj, __const char *prop_info_name, int prop_info_name_len ); | |
__attribute__ ((visibility("default"))) void zend_std_call_user_call(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); | |
# 320 "/usr/include/php/Zend/zend.h" 2 | |
typedef union _zvalue_value { | |
long lval; | |
double dval; | |
struct { | |
char *val; | |
int len; | |
} str; | |
HashTable *ht; | |
zend_object_value obj; | |
} zvalue_value; | |
struct _zval_struct { | |
zvalue_value value; | |
zend_uint refcount__gc; | |
zend_uchar type; | |
zend_uchar is_ref__gc; | |
}; | |
# 387 "/usr/include/php/Zend/zend.h" | |
static __inline __attribute__((always_inline)) zend_uint zval_refcount_p(zval* pz) { | |
return pz->refcount__gc; | |
} | |
static __inline __attribute__((always_inline)) zend_uint zval_set_refcount_p(zval* pz, zend_uint rc) { | |
return pz->refcount__gc = rc; | |
} | |
static __inline __attribute__((always_inline)) zend_uint zval_addref_p(zval* pz) { | |
return ++pz->refcount__gc; | |
} | |
static __inline __attribute__((always_inline)) zend_uint zval_delref_p(zval* pz) { | |
return --pz->refcount__gc; | |
} | |
static __inline __attribute__((always_inline)) zend_bool zval_isref_p(zval* pz) { | |
return pz->is_ref__gc; | |
} | |
static __inline __attribute__((always_inline)) zend_bool zval_set_isref_p(zval* pz) { | |
return pz->is_ref__gc = 1; | |
} | |
static __inline __attribute__((always_inline)) zend_bool zval_unset_isref_p(zval* pz) { | |
return pz->is_ref__gc = 0; | |
} | |
static __inline __attribute__((always_inline)) zend_bool zval_set_isref_to_p(zval* pz, zend_bool isref) { | |
return pz->is_ref__gc = isref; | |
} | |
union _zend_function; | |
# 1 "/usr/include/php/Zend/zend_iterators.h" 1 | |
# 18 "/usr/include/php/Zend/zend_iterators.h" | |
typedef struct _zend_object_iterator zend_object_iterator; | |
typedef struct _zend_object_iterator_funcs { | |
void (*dtor)(zend_object_iterator *iter ); | |
int (*valid)(zend_object_iterator *iter ); | |
void (*get_current_data)(zend_object_iterator *iter, zval ***data ); | |
void (*get_current_key)(zend_object_iterator *iter, zval *key ); | |
void (*move_forward)(zend_object_iterator *iter ); | |
void (*rewind)(zend_object_iterator *iter ); | |
void (*invalidate_current)(zend_object_iterator *iter ); | |
} zend_object_iterator_funcs; | |
struct _zend_object_iterator { | |
void *data; | |
zend_object_iterator_funcs *funcs; | |
unsigned long index; | |
}; | |
typedef struct _zend_class_iterator_funcs { | |
zend_object_iterator_funcs *funcs; | |
union _zend_function *zf_new_iterator; | |
union _zend_function *zf_valid; | |
union _zend_function *zf_current; | |
union _zend_function *zf_key; | |
union _zend_function *zf_next; | |
union _zend_function *zf_rewind; | |
} zend_class_iterator_funcs; | |
enum zend_object_iterator_kind { | |
ZEND_ITER_INVALID, | |
ZEND_ITER_PLAIN_ARRAY, | |
ZEND_ITER_PLAIN_OBJECT, | |
ZEND_ITER_OBJECT | |
}; | |
__attribute__ ((visibility("default"))) enum zend_object_iterator_kind zend_iterator_unwrap(zval *array_ptr, zend_object_iterator **iter ); | |
__attribute__ ((visibility("default"))) zval *zend_iterator_wrap(zend_object_iterator *iter ); | |
__attribute__ ((visibility("default"))) void zend_register_iterator_wrapper(void); | |
# 435 "/usr/include/php/Zend/zend.h" 2 | |
struct _zend_serialize_data; | |
struct _zend_unserialize_data; | |
typedef struct _zend_serialize_data zend_serialize_data; | |
typedef struct _zend_unserialize_data zend_unserialize_data; | |
struct _zend_trait_method_reference { | |
__const char* method_name; | |
unsigned int mname_len; | |
zend_class_entry *ce; | |
__const char* class_name; | |
unsigned int cname_len; | |
}; | |
typedef struct _zend_trait_method_reference zend_trait_method_reference; | |
struct _zend_trait_precedence { | |
zend_trait_method_reference *trait_method; | |
zend_class_entry** exclude_from_classes; | |
}; | |
typedef struct _zend_trait_precedence zend_trait_precedence; | |
struct _zend_trait_alias { | |
zend_trait_method_reference *trait_method; | |
__const char* alias; | |
unsigned int alias_len; | |
zend_uint modifiers; | |
}; | |
typedef struct _zend_trait_alias zend_trait_alias; | |
struct _zend_class_entry { | |
char type; | |
__const char *name; | |
zend_uint name_length; | |
struct _zend_class_entry *parent; | |
int refcount; | |
zend_uint ce_flags; | |
HashTable function_table; | |
HashTable properties_info; | |
zval **default_properties_table; | |
zval **default_static_members_table; | |
zval **static_members_table; | |
HashTable constants_table; | |
int default_properties_count; | |
int default_static_members_count; | |
union _zend_function *constructor; | |
union _zend_function *destructor; | |
union _zend_function *clone; | |
union _zend_function *__get; | |
union _zend_function *__set; | |
union _zend_function *__unset; | |
union _zend_function *__isset; | |
union _zend_function *__call; | |
union _zend_function *__callstatic; | |
union _zend_function *__tostring; | |
union _zend_function *serialize_func; | |
union _zend_function *unserialize_func; | |
zend_class_iterator_funcs iterator_funcs; | |
zend_object_value (*create_object)(zend_class_entry *class_type ); | |
zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref ); | |
int (*interface_gets_implemented)(zend_class_entry *iface, zend_class_entry *class_type ); | |
union _zend_function *(*get_static_method)(zend_class_entry *ce, char* method, int method_len ); | |
int (*serialize)(zval *object, unsigned char **buffer, zend_uint *buf_len, zend_serialize_data *data ); | |
int (*unserialize)(zval **object, zend_class_entry *ce, __const unsigned char *buf, zend_uint buf_len, zend_unserialize_data *data ); | |
zend_class_entry **interfaces; | |
zend_uint num_interfaces; | |
zend_class_entry **traits; | |
zend_uint num_traits; | |
zend_trait_alias **trait_aliases; | |
zend_trait_precedence **trait_precedences; | |
union { | |
struct { | |
__const char *filename; | |
zend_uint line_start; | |
zend_uint line_end; | |
__const char *doc_comment; | |
zend_uint doc_comment_len; | |
} user; | |
struct { | |
__const struct _zend_function_entry *builtin_functions; | |
struct _zend_module_entry *module; | |
} internal; | |
} info; | |
}; | |
# 1 "/usr/include/php/Zend/zend_stream.h" 1 | |
# 20 "/usr/include/php/Zend/zend_stream.h" | |
typedef size_t (*zend_stream_fsizer_t)(void* handle ); | |
typedef size_t (*zend_stream_reader_t)(void* handle, char *buf, size_t len ); | |
typedef void (*zend_stream_closer_t)(void* handle ); | |
typedef enum { | |
ZEND_HANDLE_FILENAME, | |
ZEND_HANDLE_FD, | |
ZEND_HANDLE_FP, | |
ZEND_HANDLE_STREAM, | |
ZEND_HANDLE_MAPPED | |
} zend_stream_type; | |
typedef struct _zend_mmap { | |
size_t len; | |
size_t pos; | |
void *map; | |
char *buf; | |
void *old_handle; | |
zend_stream_closer_t old_closer; | |
} zend_mmap; | |
typedef struct _zend_stream { | |
void *handle; | |
int isatty; | |
zend_mmap mmap; | |
zend_stream_reader_t reader; | |
zend_stream_fsizer_t fsizer; | |
zend_stream_closer_t closer; | |
} zend_stream; | |
typedef struct _zend_file_handle { | |
zend_stream_type type; | |
__const char *filename; | |
char *opened_path; | |
union { | |
int fd; | |
FILE *fp; | |
zend_stream stream; | |
} handle; | |
zend_bool free_filename; | |
} zend_file_handle; | |
__attribute__ ((visibility("default"))) int zend_stream_open(__const char *filename, zend_file_handle *handle ); | |
__attribute__ ((visibility("default"))) int zend_stream_fixup(zend_file_handle *file_handle, char **buf, size_t *len ); | |
__attribute__ ((visibility("default"))) void zend_file_handle_dtor(zend_file_handle *fh ); | |
__attribute__ ((visibility("default"))) int zend_compare_file_handles(zend_file_handle *fh1, zend_file_handle *fh2); | |
# 542 "/usr/include/php/Zend/zend.h" 2 | |
typedef struct _zend_utility_functions { | |
void (*error_function)(int type, __const char *error_filename, __const uint error_lineno, __const char *format, va_list args) __attribute__ ((format(printf, 4, 0))); | |
int (*printf_function)(__const char *format, ...) __attribute__ ((format(printf, 1, 2))); | |
int (*write_function)(__const char *str, uint str_length); | |
FILE *(*fopen_function)(__const char *filename, char **opened_path ); | |
void (*message_handler)(long message, __const void *data ); | |
void (*block_interruptions)(void); | |
void (*unblock_interruptions)(void); | |
int (*get_configuration_directive)(__const char *name, uint name_length, zval *contents); | |
void (*ticks_function)(int ticks); | |
void (*on_timeout)(int seconds ); | |
int (*stream_open_function)(__const char *filename, zend_file_handle *handle ); | |
int (*vspprintf_function)(char **pbuf, size_t max_len, __const char *format, va_list ap); | |
char *(*getenv_function)(char *name, size_t name_len ); | |
char *(*resolve_path_function)(__const char *filename, int filename_len ); | |
} zend_utility_functions; | |
typedef struct _zend_utility_values { | |
char *import_use_extension; | |
uint import_use_extension_length; | |
zend_bool html_errors; | |
} zend_utility_values; | |
typedef int (*zend_write_func_t)(__const char *str, uint str_length); | |
# 577 "/usr/include/php/Zend/zend.h" | |
# 591 "/usr/include/php/Zend/zend.h" | |
int zend_startup(zend_utility_functions *utility_functions, char **extensions ); | |
void zend_shutdown(void); | |
void zend_register_standard_ini_entries(void); | |
void zend_post_startup(void); | |
void zend_set_utility_values(zend_utility_values *utility_values); | |
__attribute__ ((visibility("default"))) void _zend_bailout(char *filename, uint lineno); | |
# 626 "/usr/include/php/Zend/zend.h" | |
# 642 "/usr/include/php/Zend/zend.h" | |
__attribute__ ((visibility("default"))) char *get_zend_version(void); | |
__attribute__ ((visibility("default"))) void zend_make_printable_zval(zval *expr, zval *expr_copy, int *use_copy); | |
__attribute__ ((visibility("default"))) int zend_print_zval(zval *expr, int indent); | |
__attribute__ ((visibility("default"))) int zend_print_zval_ex(zend_write_func_t write_func, zval *expr, int indent); | |
__attribute__ ((visibility("default"))) void zend_print_zval_r(zval *expr, int indent ); | |
__attribute__ ((visibility("default"))) void zend_print_flat_zval_r(zval *expr ); | |
__attribute__ ((visibility("default"))) void zend_print_zval_r_ex(zend_write_func_t write_func, zval *expr, int indent ); | |
__attribute__ ((visibility("default"))) void zend_output_debug_string(zend_bool trigger_break, __const char *format, ...) __attribute__ ((format(printf, 2, 3))); | |
void zend_activate(void); | |
void zend_deactivate(void); | |
void zend_call_destructors(void); | |
void zend_activate_modules(void); | |
void zend_deactivate_modules(void); | |
void zend_post_deactivate_modules(void); | |
__attribute__ ((visibility("default"))) void free_estring(char **str_p); | |
extern __attribute__ ((visibility("default"))) int (*zend_printf)(__const char *format, ...) __attribute__ ((format(printf, 1, 2))); | |
extern __attribute__ ((visibility("default"))) zend_write_func_t zend_write; | |
extern __attribute__ ((visibility("default"))) FILE *(*zend_fopen)(__const char *filename, char **opened_path ); | |
extern __attribute__ ((visibility("default"))) void (*zend_block_interruptions)(void); | |
extern __attribute__ ((visibility("default"))) void (*zend_unblock_interruptions)(void); | |
extern __attribute__ ((visibility("default"))) void (*zend_ticks_function)(int ticks); | |
extern __attribute__ ((visibility("default"))) void (*zend_error_cb)(int type, __const char *error_filename, __const uint error_lineno, __const char *format, va_list args) __attribute__ ((format(printf, 4, 0))); | |
extern __attribute__ ((visibility("default"))) void (*zend_on_timeout)(int seconds ); | |
extern __attribute__ ((visibility("default"))) int (*zend_stream_open_function)(__const char *filename, zend_file_handle *handle ); | |
extern int (*zend_vspprintf)(char **pbuf, size_t max_len, __const char *format, va_list ap); | |
extern __attribute__ ((visibility("default"))) char *(*zend_getenv)(char *name, size_t name_len ); | |
extern __attribute__ ((visibility("default"))) char *(*zend_resolve_path)(__const char *filename, int filename_len ); | |
__attribute__ ((visibility("default"))) void zend_error(int type, __const char *format, ...) __attribute__ ((format(printf, 2, 3))); | |
void zenderror(__const char *error); | |
extern __attribute__ ((visibility("default"))) zend_class_entry *zend_standard_class_def; | |
extern __attribute__ ((visibility("default"))) zend_utility_values zend_uv; | |
extern __attribute__ ((visibility("default"))) zval zval_used_for_init; | |
# 725 "/usr/include/php/Zend/zend.h" | |
__attribute__ ((visibility("default"))) void zend_message_dispatcher(long message, __const void *data ); | |
__attribute__ ((visibility("default"))) int zend_get_configuration_directive(__const char *name, uint name_length, zval *contents); | |
# 781 "/usr/include/php/Zend/zend.h" | |
# 802 "/usr/include/php/Zend/zend.h" | |
# 821 "/usr/include/php/Zend/zend.h" | |
# 831 "/usr/include/php/Zend/zend.h" | |
# 1 "/usr/include/php/Zend/zend_gc.h" 1 | |
# 18 "/usr/include/php/Zend/zend_gc.h" | |
# 42 "/usr/include/php/Zend/zend_gc.h" | |
# 62 "/usr/include/php/Zend/zend_gc.h" | |
# 77 "/usr/include/php/Zend/zend_gc.h" | |
typedef struct _gc_root_buffer { | |
struct _gc_root_buffer *prev; | |
struct _gc_root_buffer *next; | |
zend_object_handle handle; | |
union { | |
zval *pz; | |
__const zend_object_handlers *handlers; | |
} u; | |
} gc_root_buffer; | |
typedef struct _zval_gc_info { | |
zval z; | |
union { | |
gc_root_buffer *buffered; | |
struct _zval_gc_info *next; | |
} u; | |
} zval_gc_info; | |
typedef struct _zend_gc_globals { | |
zend_bool gc_enabled; | |
zend_bool gc_active; | |
gc_root_buffer *buf; | |
gc_root_buffer roots; | |
gc_root_buffer *unused; | |
gc_root_buffer *first_unused; | |
gc_root_buffer *last_unused; | |
zval_gc_info *zval_to_free; | |
zval_gc_info *free_list; | |
zval_gc_info *next_to_free; | |
zend_uint gc_runs; | |
zend_uint collected; | |
# 128 "/usr/include/php/Zend/zend_gc.h" | |
} zend_gc_globals; | |
extern __attribute__ ((visibility("default"))) zend_gc_globals gc_globals; | |
__attribute__ ((visibility("default"))) int gc_collect_cycles(void); | |
__attribute__ ((visibility("default"))) void gc_zval_possible_root(zval *zv ); | |
__attribute__ ((visibility("default"))) void gc_zobj_possible_root(zval *zv ); | |
__attribute__ ((visibility("default"))) void gc_remove_zval_from_buffer(zval *zv ); | |
__attribute__ ((visibility("default"))) void gc_globals_ctor(void); | |
__attribute__ ((visibility("default"))) void gc_globals_dtor(void); | |
__attribute__ ((visibility("default"))) void gc_init(void); | |
__attribute__ ((visibility("default"))) void gc_reset(void); | |
static __inline __attribute__((always_inline)) void gc_zval_check_possible_root(zval *z ) | |
{ | |
if (z->type == 4 || z->type == 5) { | |
gc_zval_possible_root(z ); | |
} | |
} | |
static __inline __attribute__((always_inline)) void gc_remove_from_buffer(gc_root_buffer *root ) | |
{ | |
root->next->prev = root->prev; | |
root->prev->next = root->next; | |
root->prev = (gc_globals.unused); | |
(gc_globals.unused) = root; | |
; | |
} | |
# 840 "/usr/include/php/Zend/zend.h" 2 | |
# 1 "/usr/include/php/Zend/zend_operators.h" 1 | |
# 18 "/usr/include/php/Zend/zend_operators.h" | |
# 1 "/usr/include/errno.h" 1 3 4 | |
# 22 "/usr/include/errno.h" 3 4 | |
# 1 "/usr/include/sys/errno.h" 1 3 4 | |
# 27 "/usr/include/sys/errno.h" 3 4 | |
# 67 "/usr/include/sys/errno.h" 3 4 | |
extern int * __error(void); | |
# 99 "/usr/include/sys/errno.h" 3 4 | |
# 123 "/usr/include/sys/errno.h" 3 4 | |
# 156 "/usr/include/sys/errno.h" 3 4 | |
# 179 "/usr/include/sys/errno.h" 3 4 | |
# 207 "/usr/include/sys/errno.h" 3 4 | |
# 24 "/usr/include/errno.h" 2 3 4 | |
# 26 "/usr/include/php/Zend/zend_operators.h" 2 | |
# 1 "/usr/include/assert.h" 1 3 4 | |
# 40 "/usr/include/assert.h" 3 4 | |
# 74 "/usr/include/assert.h" 3 4 | |
void __assert_rtn(__const char *, __const char *, int, __const char *) __attribute__((noreturn)); | |
# 28 "/usr/include/php/Zend/zend_operators.h" 2 | |
# 1 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/stddef.h" 1 3 4 | |
# 24 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/stddef.h" 3 4 | |
typedef long int ptrdiff_t; | |
# 68 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/stddef.h" 3 4 | |
# 79 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/stddef.h" 3 4 | |
# 31 "/usr/include/php/Zend/zend_operators.h" 2 | |
# 1 "/usr/include/php/Zend/zend_strtod.h" 1 | |
# 17 "/usr/include/php/Zend/zend_strtod.h" | |
# 1 "/usr/include/php/Zend/zend.h" 1 | |
# 18 "/usr/include/php/Zend/zend.h" | |
# 863 "/usr/include/php/Zend/zend.h" | |
# 26 "/usr/include/php/Zend/zend_strtod.h" 2 | |
__attribute__ ((visibility("default"))) void zend_freedtoa(char *s); | |
__attribute__ ((visibility("default"))) char * zend_dtoa(double _d, int mode, int ndigits, int *decpt, int *sign, char **rve); | |
__attribute__ ((visibility("default"))) double zend_strtod(__const char *s00, __const char **se); | |
__attribute__ ((visibility("default"))) double zend_hex_strtod(__const char *str, __const char **endptr); | |
__attribute__ ((visibility("default"))) double zend_oct_strtod(__const char *str, __const char **endptr); | |
__attribute__ ((visibility("default"))) double zend_bin_strtod(__const char *str, __const char **endptr); | |
__attribute__ ((visibility("default"))) int zend_startup_strtod(void); | |
__attribute__ ((visibility("default"))) int zend_shutdown_strtod(void); | |
# 38 "/usr/include/php/Zend/zend_operators.h" 2 | |
# 1 "/usr/include/php/Zend/zend_multiply.h" 1 | |
# 18 "/usr/include/php/Zend/zend_multiply.h" | |
# 35 "/usr/include/php/Zend/zend_multiply.h" | |
# 45 "/usr/include/php/Zend/zend_multiply.h" | |
# 39 "/usr/include/php/Zend/zend_operators.h" 2 | |
__attribute__ ((visibility("default"))) int add_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int sub_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int mul_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int div_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int mod_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int boolean_xor_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int boolean_not_function(zval *result, zval *op1 ); | |
__attribute__ ((visibility("default"))) int bitwise_not_function(zval *result, zval *op1 ); | |
__attribute__ ((visibility("default"))) int bitwise_or_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int bitwise_and_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int bitwise_xor_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int shift_left_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int shift_right_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int concat_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int is_equal_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int is_identical_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int is_not_identical_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int is_not_equal_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int is_smaller_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int is_smaller_or_equal_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) zend_bool instanceof_function_ex(__const zend_class_entry *instance_ce, __const zend_class_entry *ce, zend_bool interfaces_only ); | |
__attribute__ ((visibility("default"))) zend_bool instanceof_function(__const zend_class_entry *instance_ce, __const zend_class_entry *ce ); | |
# 93 "/usr/include/php/Zend/zend_operators.h" | |
static __inline __attribute__((always_inline)) long zend_dval_to_lval(double d) | |
{ | |
if (d >= 9223372036854775807L || d < (-9223372036854775807L -1L)) { | |
double two_pow_64 = pow(2., 64.), | |
dmod; | |
dmod = fmod(d, two_pow_64); | |
if (dmod < 0) { | |
dmod += two_pow_64; | |
} | |
return (long)(unsigned long)dmod; | |
} | |
return (long)d; | |
} | |
# 130 "/usr/include/php/Zend/zend_operators.h" | |
static __inline zend_uchar is_numeric_string_ex(__const char *str, int length, long *lval, double *dval, int allow_errors, int *oflow_info) | |
{ | |
__const char *ptr; | |
int base = 10, digits = 0, dp_or_e = 0; | |
double local_dval = 0.0; | |
zend_uchar type; | |
if (!length) { | |
return 0; | |
} | |
if (oflow_info != ((void*)0)) { | |
*oflow_info = 0; | |
} | |
while (*str == ' ' || *str == '\t' || *str == '\n' || *str == '\r' || *str == '\v' || *str == '\f') { | |
str++; | |
length--; | |
} | |
ptr = str; | |
if (*ptr == '-' || *ptr == '+') { | |
ptr++; | |
} | |
if (((*ptr) >= '0' && (*ptr) <= '9')) { | |
if (length > 2 && *str == '0' && (str[1] == 'x' || str[1] == 'X')) { | |
base = 16; | |
ptr += 2; | |
} | |
while (*ptr == '0') { | |
ptr++; | |
} | |
for (type = 1; !(digits >= 20 && (dval || allow_errors == 1)); digits++, ptr++) { | |
check_digits: | |
if (((*ptr) >= '0' && (*ptr) <= '9') || (base == 16 && (((*ptr) >= 'A' && (*ptr) <= 'F') || ((*ptr) >= 'a' && (*ptr) <= 'f')))) { | |
continue; | |
} else if (base == 10) { | |
if (*ptr == '.' && dp_or_e < 1) { | |
goto process_double; | |
} else if ((*ptr == 'e' || *ptr == 'E') && dp_or_e < 2) { | |
__const char *e = ptr + 1; | |
if (*e == '-' || *e == '+') { | |
ptr = e++; | |
} | |
if (((*e) >= '0' && (*e) <= '9')) { | |
goto process_double; | |
} | |
} | |
} | |
break; | |
} | |
if (base == 10) { | |
if (digits >= 20) { | |
if (oflow_info != ((void*)0)) { | |
*oflow_info = *str == '-' ? -1 : 1; | |
} | |
dp_or_e = -1; | |
goto process_double; | |
} | |
} else if (!(digits < 8 * 2 || (digits == 8 * 2 && ptr[-digits] <= '7'))) { | |
if (dval) { | |
local_dval = zend_hex_strtod(str, &ptr); | |
} | |
if (oflow_info != ((void*)0)) { | |
*oflow_info = 1; | |
} | |
type = 2; | |
} | |
} else if (*ptr == '.' && ((ptr[1]) >= '0' && (ptr[1]) <= '9')) { | |
process_double: | |
type = 2; | |
if (dval) { | |
local_dval = zend_strtod(str, &ptr); | |
} else if (allow_errors != 1 && dp_or_e != -1) { | |
dp_or_e = (*ptr++ == '.') ? 1 : 2; | |
goto check_digits; | |
} | |
} else { | |
return 0; | |
} | |
if (ptr != str + length) { | |
if (!allow_errors) { | |
return 0; | |
} | |
if (allow_errors == -1) { | |
zend_error((1<<3L), "A non well formed numeric value encountered"); | |
} | |
} | |
if (type == 1) { | |
if (digits == 20 - 1) { | |
int cmp = strcmp(&ptr[-digits], long_min_digits); | |
if (!(cmp < 0 || (cmp == 0 && *str == '-'))) { | |
if (dval) { | |
*dval = zend_strtod(str, ((void*)0)); | |
} | |
if (oflow_info != ((void*)0)) { | |
*oflow_info = *str == '-' ? -1 : 1; | |
} | |
return 2; | |
} | |
} | |
if (lval) { | |
*lval = strtol(str, ((void*)0), base); | |
} | |
return 1; | |
} else { | |
if (dval) { | |
*dval = local_dval; | |
} | |
return 2; | |
} | |
} | |
static __inline zend_uchar is_numeric_string(__const char *str, int length, long *lval, double *dval, int allow_errors) { | |
return is_numeric_string_ex(str, length, lval, dval, allow_errors, ((void*)0)); | |
} | |
static __inline char * | |
zend_memnstr(char *haystack, char *needle, int needle_len, char *end) | |
{ | |
char *p = haystack; | |
char ne = needle[needle_len-1]; | |
if (needle_len == 1) { | |
return (char *)memchr(p, *needle, (end-p)); | |
} | |
if (needle_len > end-haystack) { | |
return ((void*)0); | |
} | |
end -= needle_len; | |
while (p <= end) { | |
if ((p = (char *)memchr(p, *needle, (end-p+1))) && ne == p[needle_len-1]) { | |
if (!memcmp(needle, p, needle_len-1)) { | |
return p; | |
} | |
} | |
if (p == ((void*)0)) { | |
return ((void*)0); | |
} | |
p++; | |
} | |
return ((void*)0); | |
} | |
static __inline __const void *zend_memrchr(__const void *s, int c, size_t n) | |
{ | |
register __const unsigned char *e; | |
if (n <= 0) { | |
return ((void*)0); | |
} | |
for (e = (__const unsigned char *)s + n - 1; e >= (__const unsigned char *)s; e--) { | |
if (*e == (__const unsigned char)c) { | |
return (__const void *)e; | |
} | |
} | |
return ((void*)0); | |
} | |
__attribute__ ((visibility("default"))) int increment_function(zval *op1); | |
__attribute__ ((visibility("default"))) int decrement_function(zval *op2); | |
__attribute__ ((visibility("default"))) void convert_scalar_to_number(zval *op ); | |
__attribute__ ((visibility("default"))) void _convert_to_cstring(zval *op ); | |
__attribute__ ((visibility("default"))) void _convert_to_string(zval *op ); | |
__attribute__ ((visibility("default"))) void convert_to_long(zval *op); | |
__attribute__ ((visibility("default"))) void convert_to_double(zval *op); | |
__attribute__ ((visibility("default"))) void convert_to_long_base(zval *op, int base); | |
__attribute__ ((visibility("default"))) void convert_to_null(zval *op); | |
__attribute__ ((visibility("default"))) void convert_to_boolean(zval *op); | |
__attribute__ ((visibility("default"))) void convert_to_array(zval *op); | |
__attribute__ ((visibility("default"))) void convert_to_object(zval *op); | |
__attribute__ ((visibility("default"))) void multi_convert_to_long_ex(int argc, ...); | |
__attribute__ ((visibility("default"))) void multi_convert_to_double_ex(int argc, ...); | |
__attribute__ ((visibility("default"))) void multi_convert_to_string_ex(int argc, ...); | |
__attribute__ ((visibility("default"))) int add_char_to_string(zval *result, __const zval *op1, __const zval *op2); | |
__attribute__ ((visibility("default"))) int add_string_to_string(zval *result, __const zval *op1, __const zval *op2); | |
__attribute__ ((visibility("default"))) double zend_string_to_double(__const char *number, zend_uint length); | |
__attribute__ ((visibility("default"))) int zval_is_true(zval *op); | |
__attribute__ ((visibility("default"))) int compare_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int numeric_compare_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int string_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_insensitive ); | |
__attribute__ ((visibility("default"))) int string_compare_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int string_case_compare_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) int string_locale_compare_function(zval *result, zval *op1, zval *op2 ); | |
__attribute__ ((visibility("default"))) void zend_str_tolower(char *str, unsigned int length); | |
__attribute__ ((visibility("default"))) char *zend_str_tolower_copy(char *dest, __const char *source, unsigned int length); | |
__attribute__ ((visibility("default"))) char *zend_str_tolower_dup(__const char *source, unsigned int length); | |
__attribute__ ((visibility("default"))) int zend_binary_zval_strcmp(zval *s1, zval *s2); | |
__attribute__ ((visibility("default"))) int zend_binary_zval_strncmp(zval *s1, zval *s2, zval *s3); | |
__attribute__ ((visibility("default"))) int zend_binary_zval_strcasecmp(zval *s1, zval *s2); | |
__attribute__ ((visibility("default"))) int zend_binary_zval_strncasecmp(zval *s1, zval *s2, zval *s3); | |
__attribute__ ((visibility("default"))) int zend_binary_strcmp(__const char *s1, uint len1, __const char *s2, uint len2); | |
__attribute__ ((visibility("default"))) int zend_binary_strncmp(__const char *s1, uint len1, __const char *s2, uint len2, uint length); | |
__attribute__ ((visibility("default"))) int zend_binary_strcasecmp(__const char *s1, uint len1, __const char *s2, uint len2); | |
__attribute__ ((visibility("default"))) int zend_binary_strncasecmp(__const char *s1, uint len1, __const char *s2, uint len2, uint length); | |
__attribute__ ((visibility("default"))) int zend_binary_strncasecmp_l(__const char *s1, uint len1, __const char *s2, uint len2, uint length); | |
__attribute__ ((visibility("default"))) void zendi_smart_strcmp(zval *result, zval *s1, zval *s2); | |
__attribute__ ((visibility("default"))) void zend_compare_symbol_tables(zval *result, HashTable *ht1, HashTable *ht2 ); | |
__attribute__ ((visibility("default"))) void zend_compare_arrays(zval *result, zval *a1, zval *a2 ); | |
__attribute__ ((visibility("default"))) void zend_compare_objects(zval *result, zval *o1, zval *o2 ); | |
__attribute__ ((visibility("default"))) int zend_atoi(__const char *str, int str_len); | |
__attribute__ ((visibility("default"))) long zend_atol(__const char *str, int str_len); | |
__attribute__ ((visibility("default"))) void zend_locale_sprintf_double(zval *op ); | |
# 416 "/usr/include/php/Zend/zend_operators.h" | |
# 454 "/usr/include/php/Zend/zend_operators.h" | |
# 469 "/usr/include/php/Zend/zend_operators.h" | |
# 484 "/usr/include/php/Zend/zend_operators.h" | |
static __inline __attribute__((always_inline)) int fast_increment_function(zval *op1) | |
{ | |
if (((*op1).type == 1)) { | |
# 523 "/usr/include/php/Zend/zend_operators.h" | |
__asm__( | |
"incq (%0)\n\t" | |
"jno 0f\n\t" | |
"movl $0x0, (%0)\n\t" | |
"movl $0x43e00000, 0x4(%0)\n\t" | |
"movb %1, %c2(%0)\n" | |
"0:" | |
: | |
: "r"(&op1->value), | |
"n"(2), | |
"n"((__builtin_offsetof(zval, type) - __builtin_offsetof(zval, value))) | |
: "cc"); | |
# 544 "/usr/include/php/Zend/zend_operators.h" | |
return SUCCESS; | |
} | |
return increment_function(op1); | |
} | |
static __inline __attribute__((always_inline)) int fast_decrement_function(zval *op1) | |
{ | |
if (((*op1).type == 1)) { | |
# 566 "/usr/include/php/Zend/zend_operators.h" | |
__asm__( | |
"decq (%0)\n\t" | |
"jno 0f\n\t" | |
"movl $0x00000000, (%0)\n\t" | |
"movl $0xc3e00000, 0x4(%0)\n\t" | |
"movb %1,%c2(%0)\n" | |
"0:" | |
: | |
: "r"(&op1->value), | |
"n"(2), | |
"n"((__builtin_offsetof(zval, type) - __builtin_offsetof(zval, value))) | |
: "cc"); | |
# 587 "/usr/include/php/Zend/zend_operators.h" | |
return SUCCESS; | |
} | |
return decrement_function(op1); | |
} | |
static __inline __attribute__((always_inline)) int fast_add_function(zval *result, zval *op1, zval *op2 ) | |
{ | |
if (((*op1).type == 1)) { | |
if (((*op2).type == 1)) { | |
# 620 "/usr/include/php/Zend/zend_operators.h" | |
__asm__( | |
"movq (%1), %%rax\n\t" | |
"addq (%2), %%rax\n\t" | |
"jo 0f\n\t" | |
"movq %%rax, (%0)\n\t" | |
"movb %3, %c5(%0)\n\t" | |
"jmp 1f\n" | |
"0:\n\t" | |
"fildq (%1)\n\t" | |
"fildq (%2)\n\t" | |
"faddp %%st, %%st(1)\n\t" | |
"movb %4, %c5(%0)\n\t" | |
"fstpl (%0)\n" | |
"1:" | |
: | |
: "r"(&result->value), | |
"r"(&op1->value), | |
"r"(&op2->value), | |
"n"(1), | |
"n"(2), | |
"n"((__builtin_offsetof(zval, type) - __builtin_offsetof(zval, value))) | |
: "rax","cc"); | |
# 658 "/usr/include/php/Zend/zend_operators.h" | |
return SUCCESS; | |
} else if (((*op2).type == 2)) { | |
(*result).value.dval = ((double)(*op1).value.lval) + (*op2).value.dval; | |
(*result).type = 2; | |
return SUCCESS; | |
} | |
} else if (((*op1).type == 2)) { | |
if (((*op2).type == 2)) { | |
(*result).value.dval = (*op1).value.dval + (*op2).value.dval; | |
(*result).type = 2; | |
return SUCCESS; | |
} else if (((*op2).type == 1)) { | |
(*result).value.dval = (*op1).value.dval + ((double)(*op2).value.lval); | |
(*result).type = 2; | |
return SUCCESS; | |
} | |
} | |
return add_function(result, op1, op2 ); | |
} | |
static __inline __attribute__((always_inline)) int fast_sub_function(zval *result, zval *op1, zval *op2 ) | |
{ | |
if (((*op1).type == 1)) { | |
if (((*op2).type == 1)) { | |
# 710 "/usr/include/php/Zend/zend_operators.h" | |
__asm__( | |
"movq (%1), %%rax\n\t" | |
"subq (%2), %%rax\n\t" | |
"jo 0f\n\t" | |
"movq %%rax, (%0)\n\t" | |
"movb %3, %c5(%0)\n\t" | |
"jmp 1f\n" | |
"0:\n\t" | |
"fildq (%2)\n\t" | |
"fildq (%1)\n\t" | |
"fsubp %%st, %%st(1)\n\t" | |
"movb %4, %c5(%0)\n\t" | |
"fstpl (%0)\n" | |
"1:" | |
: | |
: "r"(&result->value), | |
"r"(&op1->value), | |
"r"(&op2->value), | |
"n"(1), | |
"n"(2), | |
"n"((__builtin_offsetof(zval, type) - __builtin_offsetof(zval, value))) | |
: "rax","cc"); | |
# 747 "/usr/include/php/Zend/zend_operators.h" | |
return SUCCESS; | |
} else if (((*op2).type == 2)) { | |
(*result).value.dval = ((double)(*op1).value.lval) - (*op2).value.dval; | |
(*result).type = 2; | |
return SUCCESS; | |
} | |
} else if (((*op1).type == 2)) { | |
if (((*op2).type == 2)) { | |
(*result).value.dval = (*op1).value.dval - (*op2).value.dval; | |
(*result).type = 2; | |
return SUCCESS; | |
} else if (((*op2).type == 1)) { | |
(*result).value.dval = (*op1).value.dval - ((double)(*op2).value.lval); | |
(*result).type = 2; | |
return SUCCESS; | |
} | |
} | |
return sub_function(result, op1, op2 ); | |
} | |
static __inline __attribute__((always_inline)) int fast_mul_function(zval *result, zval *op1, zval *op2 ) | |
{ | |
if (((*op1).type == 1)) { | |
if (((*op2).type == 1)) { | |
long overflow; | |
do { long __tmpvar; __asm__ ("imul %3,%0\n" "adc $0,%1" : "=r"(__tmpvar),"=r"( overflow) : "0"((*op1).value.lval), "r"( (*op2).value.lval), "1"(0)); if ( overflow) ( (*result).value.dval) = (double) ((*op1).value.lval) * (double) ( (*op2).value.lval); else ( (*result).value.lval) = __tmpvar; } while (0); | |
(*result).type = overflow ? 2 : 1; | |
return SUCCESS; | |
} else if (((*op2).type == 2)) { | |
(*result).value.dval = ((double)(*op1).value.lval) * (*op2).value.dval; | |
(*result).type = 2; | |
return SUCCESS; | |
} | |
} else if (((*op1).type == 2)) { | |
if (((*op2).type == 2)) { | |
(*result).value.dval = (*op1).value.dval * (*op2).value.dval; | |
(*result).type = 2; | |
return SUCCESS; | |
} else if (((*op2).type == 1)) { | |
(*result).value.dval = (*op1).value.dval * ((double)(*op2).value.lval); | |
(*result).type = 2; | |
return SUCCESS; | |
} | |
} | |
return mul_function(result, op1, op2 ); | |
} | |
static __inline __attribute__((always_inline)) int fast_div_function(zval *result, zval *op1, zval *op2 ) | |
{ | |
# 853 "/usr/include/php/Zend/zend_operators.h" | |
return div_function(result, op1, op2 ); | |
} | |
static __inline __attribute__((always_inline)) int fast_mod_function(zval *result, zval *op1, zval *op2 ) | |
{ | |
if (((*op1).type == 1)) { | |
if (((*op2).type == 1)) { | |
if (((*op2).value.lval == 0)) { | |
zend_error((1<<1L), "Division by zero"); | |
(*result).value.lval = 0; | |
(*result).type = 3; | |
return FAILURE; | |
} else if (((*op2).value.lval == -1)) { | |
(*result).value.lval = 0; | |
(*result).type = 1; | |
return SUCCESS; | |
} | |
(*result).value.lval = (*op1).value.lval % (*op2).value.lval; | |
(*result).type = 1; | |
return SUCCESS; | |
} | |
} | |
return mod_function(result, op1, op2 ); | |
} | |
static __inline __attribute__((always_inline)) int fast_equal_function(zval *result, zval *op1, zval *op2 ) | |
{ | |
if (((*op1).type == 1)) { | |
if (((*op2).type == 1)) { | |
return (*op1).value.lval == (*op2).value.lval; | |
} else if (((*op2).type == 2)) { | |
return ((double)(*op1).value.lval) == (*op2).value.dval; | |
} | |
} else if (((*op1).type == 2)) { | |
if (((*op2).type == 2)) { | |
return (*op1).value.dval == (*op2).value.dval; | |
} else if (((*op2).type == 1)) { | |
return (*op1).value.dval == ((double)(*op2).value.lval); | |
} | |
} | |
compare_function(result, op1, op2 ); | |
return (*result).value.lval == 0; | |
} | |
static __inline __attribute__((always_inline)) int fast_not_equal_function(zval *result, zval *op1, zval *op2 ) | |
{ | |
if (((*op1).type == 1)) { | |
if (((*op2).type == 1)) { | |
return (*op1).value.lval != (*op2).value.lval; | |
} else if (((*op2).type == 2)) { | |
return ((double)(*op1).value.lval) != (*op2).value.dval; | |
} | |
} else if (((*op1).type == 2)) { | |
if (((*op2).type == 2)) { | |
return (*op1).value.dval != (*op2).value.dval; | |
} else if (((*op2).type == 1)) { | |
return (*op1).value.dval != ((double)(*op2).value.lval); | |
} | |
} | |
compare_function(result, op1, op2 ); | |
return (*result).value.lval != 0; | |
} | |
static __inline __attribute__((always_inline)) int fast_is_smaller_function(zval *result, zval *op1, zval *op2 ) | |
{ | |
if (((*op1).type == 1)) { | |
if (((*op2).type == 1)) { | |
return (*op1).value.lval < (*op2).value.lval; | |
} else if (((*op2).type == 2)) { | |
return ((double)(*op1).value.lval) < (*op2).value.dval; | |
} | |
} else if (((*op1).type == 2)) { | |
if (((*op2).type == 2)) { | |
return (*op1).value.dval < (*op2).value.dval; | |
} else if (((*op2).type == 1)) { | |
return (*op1).value.dval < ((double)(*op2).value.lval); | |
} | |
} | |
compare_function(result, op1, op2 ); | |
return (*result).value.lval < 0; | |
} | |
static __inline __attribute__((always_inline)) int fast_is_smaller_or_equal_function(zval *result, zval *op1, zval *op2 ) | |
{ | |
if (((*op1).type == 1)) { | |
if (((*op2).type == 1)) { | |
return (*op1).value.lval <= (*op2).value.lval; | |
} else if (((*op2).type == 2)) { | |
return ((double)(*op1).value.lval) <= (*op2).value.dval; | |
} | |
} else if (((*op1).type == 2)) { | |
if (((*op2).type == 2)) { | |
return (*op1).value.dval <= (*op2).value.dval; | |
} else if (((*op2).type == 1)) { | |
return (*op1).value.dval <= ((double)(*op2).value.lval); | |
} | |
} | |
compare_function(result, op1, op2 ); | |
return (*result).value.lval <= 0; | |
} | |
# 841 "/usr/include/php/Zend/zend.h" 2 | |
# 1 "/usr/include/php/Zend/zend_variables.h" 1 | |
# 18 "/usr/include/php/Zend/zend_variables.h" | |
__attribute__ ((visibility("default"))) void _zval_dtor_func(zval *zvalue ); | |
static __inline __attribute__((always_inline)) void _zval_dtor(zval *zvalue ) | |
{ | |
if (zvalue->type <= 3) { | |
return; | |
} | |
_zval_dtor_func(zvalue ); | |
} | |
__attribute__ ((visibility("default"))) void _zval_copy_ctor_func(zval *zvalue ); | |
static __inline __attribute__((always_inline)) void _zval_copy_ctor(zval *zvalue ) | |
{ | |
if (zvalue->type <= 3) { | |
return; | |
} | |
_zval_copy_ctor_func(zvalue ); | |
} | |
__attribute__ ((visibility("default"))) int zval_copy_static_var(zval **p , int num_args, va_list args, zend_hash_key *key); | |
__attribute__ ((visibility("default"))) int zend_print_variable(zval *var); | |
__attribute__ ((visibility("default"))) void _zval_ptr_dtor(zval **zval_ptr ); | |
__attribute__ ((visibility("default"))) void _zval_internal_dtor(zval *zvalue ); | |
__attribute__ ((visibility("default"))) void _zval_internal_ptr_dtor(zval **zvalue ); | |
__attribute__ ((visibility("default"))) void _zval_dtor_wrapper(zval *zvalue); | |
# 77 "/usr/include/php/Zend/zend_variables.h" | |
__attribute__ ((visibility("default"))) void zval_add_ref(zval **p); | |
# 842 "/usr/include/php/Zend/zend.h" 2 | |
typedef enum { | |
EH_NORMAL = 0, | |
EH_SUPPRESS, | |
EH_THROW | |
} zend_error_handling_t; | |
typedef struct { | |
zend_error_handling_t handling; | |
zend_class_entry *exception; | |
zval *user_handler; | |
} zend_error_handling; | |
__attribute__ ((visibility("default"))) void zend_save_error_handling(zend_error_handling *current ); | |
__attribute__ ((visibility("default"))) void zend_replace_error_handling(zend_error_handling_t error_handling, zend_class_entry *exception_class, zend_error_handling *current ); | |
__attribute__ ((visibility("default"))) void zend_restore_error_handling(zend_error_handling *saved ); | |
# 35 "/usr/include/php/main/php.h" 2 | |
# 1 "/usr/include/php/Zend/zend_qsort.h" 1 | |
# 17 "/usr/include/php/Zend/zend_qsort.h" | |
typedef int (*compare_r_func_t)(__const void *, __const void * , void *); | |
__attribute__ ((visibility("default"))) void zend_qsort(void *base, size_t nmemb, size_t siz, compare_func_t compare ); | |
__attribute__ ((visibility("default"))) void zend_qsort_r(void *base, size_t nmemb, size_t siz, compare_r_func_t compare, void *arg ); | |
# 36 "/usr/include/php/main/php.h" 2 | |
# 1 "/usr/include/php/main/php_compat.h" 1 | |
# 17 "/usr/include/php/main/php_compat.h" | |
# 1 "/usr/include/php/main/../main/php_config.h" 1 | |
# 2459 "/usr/include/php/main/../main/php_config.h" | |
# 2470 "/usr/include/php/main/../main/php_config.h" | |
# 2480 "/usr/include/php/main/../main/php_config.h" | |
# 28 "/usr/include/php/main/php_compat.h" 2 | |
# 75 "/usr/include/php/main/php_compat.h" | |
# 159 "/usr/include/php/main/php_compat.h" | |
# 362 "/usr/include/php/main/php_compat.h" | |
# 37 "/usr/include/php/main/php.h" 2 | |
# 1 "/usr/include/php/Zend/zend_API.h" 1 | |
# 19 "/usr/include/php/Zend/zend_API.h" | |
# 1 "/usr/include/php/Zend/zend_modules.h" 1 | |
# 18 "/usr/include/php/Zend/zend_modules.h" | |
# 1 "/usr/include/php/Zend/zend_compile.h" 1 | |
# 18 "/usr/include/php/Zend/zend_compile.h" | |
typedef struct _zend_op_array zend_op_array; | |
typedef struct _zend_op zend_op; | |
typedef struct _zend_compiler_context { | |
zend_uint opcodes_size; | |
int vars_size; | |
int literals_size; | |
int current_brk_cont; | |
int backpatch_count; | |
int nested_calls; | |
int used_stack; | |
int in_finally; | |
HashTable *labels; | |
} zend_compiler_context; | |
typedef struct _zend_literal { | |
zval constant; | |
zend_ulong hash_value; | |
zend_uint cache_slot; | |
} zend_literal; | |
typedef union _znode_op { | |
zend_uint constant; | |
zend_uint var; | |
zend_uint num; | |
zend_ulong hash; | |
zend_uint opline_num; | |
zend_op *jmp_addr; | |
zval *zv; | |
zend_literal *literal; | |
void *ptr; | |
} znode_op; | |
typedef struct _znode { | |
int op_type; | |
union { | |
znode_op op; | |
zval constant; | |
zend_op_array *op_array; | |
} u; | |
zend_uint EA; | |
} znode; | |
typedef struct _zend_execute_data zend_execute_data; | |
typedef int (*user_opcode_handler_t) (zend_execute_data *execute_data ); | |
typedef int ( *opcode_handler_t) (zend_execute_data *execute_data ); | |
extern __attribute__ ((visibility("default"))) opcode_handler_t *zend_opcode_handlers; | |
struct _zend_op { | |
opcode_handler_t handler; | |
znode_op op1; | |
znode_op op2; | |
znode_op result; | |
unsigned long extended_value; | |
uint lineno; | |
zend_uchar opcode; | |
zend_uchar op1_type; | |
zend_uchar op2_type; | |
zend_uchar result_type; | |
}; | |
typedef struct _zend_brk_cont_element { | |
int start; | |
int cont; | |
int brk; | |
int parent; | |
} zend_brk_cont_element; | |
typedef struct _zend_label { | |
int brk_cont; | |
zend_uint opline_num; | |
} zend_label; | |
typedef struct _zend_try_catch_element { | |
zend_uint try_op; | |
zend_uint catch_op; | |
zend_uint finally_op; | |
zend_uint finally_end; | |
} zend_try_catch_element; | |
char *zend_visibility_string(zend_uint fn_flags); | |
typedef struct _zend_property_info { | |
zend_uint flags; | |
__const char *name; | |
int name_length; | |
unsigned long h; | |
int offset; | |
__const char *doc_comment; | |
int doc_comment_len; | |
zend_class_entry *ce; | |
} zend_property_info; | |
typedef struct _zend_arg_info { | |
__const char *name; | |
zend_uint name_len; | |
__const char *class_name; | |
zend_uint class_name_len; | |
zend_uchar type_hint; | |
zend_bool allow_null; | |
zend_bool pass_by_reference; | |
} zend_arg_info; | |
typedef struct _zend_internal_function_info { | |
__const char *_name; | |
zend_uint _name_len; | |
__const char *_class_name; | |
zend_uint required_num_args; | |
zend_uchar _type_hint; | |
zend_bool return_reference; | |
zend_bool pass_rest_by_reference; | |
} zend_internal_function_info; | |
typedef struct _zend_compiled_variable { | |
__const char *name; | |
int name_len; | |
unsigned long hash_value; | |
} zend_compiled_variable; | |
struct _zend_op_array { | |
zend_uchar type; | |
__const char *function_name; | |
zend_class_entry *scope; | |
zend_uint fn_flags; | |
union _zend_function *prototype; | |
zend_uint num_args; | |
zend_uint required_num_args; | |
zend_arg_info *arg_info; | |
zend_uint *refcount; | |
zend_op *opcodes; | |
zend_uint last; | |
zend_compiled_variable *vars; | |
int last_var; | |
zend_uint T; | |
zend_uint nested_calls; | |
zend_uint used_stack; | |
zend_brk_cont_element *brk_cont_array; | |
int last_brk_cont; | |
zend_try_catch_element *try_catch_array; | |
int last_try_catch; | |
zend_bool has_finally_block; | |
HashTable *static_variables; | |
zend_uint this_var; | |
__const char *filename; | |
zend_uint line_start; | |
zend_uint line_end; | |
__const char *doc_comment; | |
zend_uint doc_comment_len; | |
zend_uint early_binding; | |
zend_literal *literals; | |
int last_literal; | |
void **run_time_cache; | |
int last_cache_slot; | |
void *reserved[4]; | |
}; | |
typedef struct _zend_internal_function { | |
zend_uchar type; | |
__const char * function_name; | |
zend_class_entry *scope; | |
zend_uint fn_flags; | |
union _zend_function *prototype; | |
zend_uint num_args; | |
zend_uint required_num_args; | |
zend_arg_info *arg_info; | |
void (*handler)(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); | |
struct _zend_module_entry *module; | |
} zend_internal_function; | |
typedef union _zend_function { | |
zend_uchar type; | |
struct { | |
zend_uchar type; | |
__const char *function_name; | |
zend_class_entry *scope; | |
zend_uint fn_flags; | |
union _zend_function *prototype; | |
zend_uint num_args; | |
zend_uint required_num_args; | |
zend_arg_info *arg_info; | |
} common; | |
zend_op_array op_array; | |
zend_internal_function internal_function; | |
} zend_function; | |
typedef struct _zend_function_state { | |
zend_function *function; | |
void **arguments; | |
} zend_function_state; | |
typedef struct _zend_switch_entry { | |
znode cond; | |
int default_case; | |
int control_var; | |
} zend_switch_entry; | |
typedef struct _list_llist_element { | |
znode var; | |
zend_llist dimensions; | |
znode value; | |
} list_llist_element; | |
union _temp_variable; | |
typedef struct _call_slot { | |
zend_function *fbc; | |
zval *object; | |
zend_class_entry *called_scope; | |
zend_bool is_ctor_call; | |
zend_bool is_ctor_result_used; | |
} call_slot; | |
struct _zend_execute_data { | |
struct _zend_op *opline; | |
zend_function_state function_state; | |
zend_op_array *op_array; | |
zval *object; | |
HashTable *symbol_table; | |
struct _zend_execute_data *prev_execute_data; | |
zval *old_error_reporting; | |
zend_bool nested; | |
zval **original_return_value; | |
zend_class_entry *current_scope; | |
zend_class_entry *current_called_scope; | |
zval *current_this; | |
struct _zend_op *fast_ret; | |
call_slot *call_slots; | |
call_slot *call; | |
}; | |
# 1 "/usr/include/php/Zend/zend_globals.h" 1 | |
# 18 "/usr/include/php/Zend/zend_globals.h" | |
# 1 "/usr/include/setjmp.h" 1 3 4 | |
# 22 "/usr/include/setjmp.h" 3 4 | |
typedef int jmp_buf[((9 * 2) + 3 + 16)]; | |
typedef int sigjmp_buf[((9 * 2) + 3 + 16) + 1]; | |
# 71 "/usr/include/setjmp.h" 3 4 | |
extern int setjmp(jmp_buf); | |
extern void longjmp(jmp_buf, int) __attribute__((noreturn)); | |
int _setjmp(jmp_buf); | |
void _longjmp(jmp_buf, int) __attribute__((noreturn)); | |
int sigsetjmp(sigjmp_buf, int); | |
void siglongjmp(sigjmp_buf, int) __attribute__((noreturn)); | |
void longjmperror(void); | |
# 27 "/usr/include/php/Zend/zend_globals.h" 2 | |
# 1 "/usr/include/php/Zend/zend_globals_macros.h" 1 | |
# 18 "/usr/include/php/Zend/zend_globals_macros.h" | |
typedef struct _zend_compiler_globals zend_compiler_globals; | |
typedef struct _zend_executor_globals zend_executor_globals; | |
typedef struct _zend_php_scanner_globals zend_php_scanner_globals; | |
typedef struct _zend_ini_scanner_globals zend_ini_scanner_globals; | |
extern __attribute__ ((visibility("default"))) struct _zend_compiler_globals compiler_globals; | |
int zendparse(void); | |
extern __attribute__ ((visibility("default"))) zend_executor_globals executor_globals; | |
extern __attribute__ ((visibility("default"))) zend_php_scanner_globals language_scanner_globals; | |
extern __attribute__ ((visibility("default"))) zend_ini_scanner_globals ini_scanner_globals; | |
# 98 "/usr/include/php/Zend/zend_globals_macros.h" | |
# 29 "/usr/include/php/Zend/zend_globals.h" 2 | |
# 1 "/usr/include/php/Zend/zend_stack.h" 1 | |
# 18 "/usr/include/php/Zend/zend_stack.h" | |
typedef struct _zend_stack { | |
int top, max; | |
void **elements; | |
} zend_stack; | |
__attribute__ ((visibility("default"))) int zend_stack_init(zend_stack *stack); | |
__attribute__ ((visibility("default"))) int zend_stack_push(zend_stack *stack, __const void *element, int size); | |
__attribute__ ((visibility("default"))) int zend_stack_top(__const zend_stack *stack, void **element); | |
__attribute__ ((visibility("default"))) int zend_stack_del_top(zend_stack *stack); | |
__attribute__ ((visibility("default"))) int zend_stack_int_top(__const zend_stack *stack); | |
__attribute__ ((visibility("default"))) int zend_stack_is_empty(__const zend_stack *stack); | |
__attribute__ ((visibility("default"))) int zend_stack_destroy(zend_stack *stack); | |
__attribute__ ((visibility("default"))) void **zend_stack_base(__const zend_stack *stack); | |
__attribute__ ((visibility("default"))) int zend_stack_count(__const zend_stack *stack); | |
__attribute__ ((visibility("default"))) void zend_stack_apply(zend_stack *stack, int type, int (*apply_function)(void *element)); | |
__attribute__ ((visibility("default"))) void zend_stack_apply_with_argument(zend_stack *stack, int type, int (*apply_function)(void *element, void *arg), void *arg); | |
# 31 "/usr/include/php/Zend/zend_globals.h" 2 | |
# 1 "/usr/include/php/Zend/zend_ptr_stack.h" 1 | |
# 18 "/usr/include/php/Zend/zend_ptr_stack.h" | |
typedef struct _zend_ptr_stack { | |
int top, max; | |
void **elements; | |
void **top_element; | |
zend_bool persistent; | |
} zend_ptr_stack; | |
__attribute__ ((visibility("default"))) void zend_ptr_stack_init(zend_ptr_stack *stack); | |
__attribute__ ((visibility("default"))) void zend_ptr_stack_init_ex(zend_ptr_stack *stack, zend_bool persistent); | |
__attribute__ ((visibility("default"))) void zend_ptr_stack_n_push(zend_ptr_stack *stack, int count, ...); | |
__attribute__ ((visibility("default"))) void zend_ptr_stack_n_pop(zend_ptr_stack *stack, int count, ...); | |
__attribute__ ((visibility("default"))) void zend_ptr_stack_destroy(zend_ptr_stack *stack); | |
__attribute__ ((visibility("default"))) void zend_ptr_stack_apply(zend_ptr_stack *stack, void (*func)(void *)); | |
__attribute__ ((visibility("default"))) void zend_ptr_stack_clean(zend_ptr_stack *stack, void (*func)(void *), zend_bool free_elements); | |
__attribute__ ((visibility("default"))) int zend_ptr_stack_num_elements(zend_ptr_stack *stack); | |
# 55 "/usr/include/php/Zend/zend_ptr_stack.h" | |
static __inline __attribute__((always_inline)) void zend_ptr_stack_3_push(zend_ptr_stack *stack, void *a, void *b, void *c) | |
{ | |
if (stack->top+ 3 > stack->max) { do { stack->max += 64; } while (stack->top+ 3 > stack->max); stack->elements = (void **) ((stack->persistent)?__zend_realloc((stack->elements), ((sizeof(void *) * (stack->max)))):_erealloc(((stack->elements)), (((sizeof(void *) * (stack->max)))), 0)); stack->top_element = stack->elements+stack->top; } | |
stack->top += 3; | |
*(stack->top_element++) = a; | |
*(stack->top_element++) = b; | |
*(stack->top_element++) = c; | |
} | |
static __inline __attribute__((always_inline)) void zend_ptr_stack_2_push(zend_ptr_stack *stack, void *a, void *b) | |
{ | |
if (stack->top+ 2 > stack->max) { do { stack->max += 64; } while (stack->top+ 2 > stack->max); stack->elements = (void **) ((stack->persistent)?__zend_realloc((stack->elements), ((sizeof(void *) * (stack->max)))):_erealloc(((stack->elements)), (((sizeof(void *) * (stack->max)))), 0)); stack->top_element = stack->elements+stack->top; } | |
stack->top += 2; | |
*(stack->top_element++) = a; | |
*(stack->top_element++) = b; | |
} | |
static __inline __attribute__((always_inline)) void zend_ptr_stack_3_pop(zend_ptr_stack *stack, void **a, void **b, void **c) | |
{ | |
*a = *(--stack->top_element); | |
*b = *(--stack->top_element); | |
*c = *(--stack->top_element); | |
stack->top -= 3; | |
} | |
static __inline __attribute__((always_inline)) void zend_ptr_stack_2_pop(zend_ptr_stack *stack, void **a, void **b) | |
{ | |
*a = *(--stack->top_element); | |
*b = *(--stack->top_element); | |
stack->top -= 2; | |
} | |
static __inline __attribute__((always_inline)) void zend_ptr_stack_push(zend_ptr_stack *stack, void *ptr) | |
{ | |
if (stack->top+ 1 > stack->max) { do { stack->max += 64; } while (stack->top+ 1 > stack->max); stack->elements = (void **) ((stack->persistent)?__zend_realloc((stack->elements), ((sizeof(void *) * (stack->max)))):_erealloc(((stack->elements)), (((sizeof(void *) * (stack->max)))), 0)); stack->top_element = stack->elements+stack->top; } | |
stack->top++; | |
*(stack->top_element++) = ptr; | |
} | |
static __inline __attribute__((always_inline)) void *zend_ptr_stack_pop(zend_ptr_stack *stack) | |
{ | |
stack->top--; | |
return *(--stack->top_element); | |
} | |
static __inline void *zend_ptr_stack_top(zend_ptr_stack *stack) | |
{ | |
return stack->elements[stack->top - 1]; | |
} | |
# 32 "/usr/include/php/Zend/zend_globals.h" 2 | |
# 1 "/usr/include/php/Zend/zend_objects.h" 1 | |
# 18 "/usr/include/php/Zend/zend_objects.h" | |
__attribute__ ((visibility("default"))) void zend_object_std_init(zend_object *object, zend_class_entry *ce ); | |
__attribute__ ((visibility("default"))) void zend_object_std_dtor(zend_object *object ); | |
__attribute__ ((visibility("default"))) zend_object_value zend_objects_new(zend_object **object, zend_class_entry *class_type ); | |
__attribute__ ((visibility("default"))) void zend_objects_destroy_object(zend_object *object, zend_object_handle handle ); | |
__attribute__ ((visibility("default"))) zend_object *zend_objects_get_address(__const zval *object ); | |
__attribute__ ((visibility("default"))) void zend_objects_clone_members(zend_object *new_object, zend_object_value new_obj_val, zend_object *old_object, zend_object_handle handle ); | |
__attribute__ ((visibility("default"))) zend_object_value zend_objects_clone_obj(zval *object ); | |
__attribute__ ((visibility("default"))) void zend_objects_free_object_storage(zend_object *object ); | |
# 35 "/usr/include/php/Zend/zend_globals.h" 2 | |
# 1 "/usr/include/php/Zend/zend_objects_API.h" 1 | |
# 18 "/usr/include/php/Zend/zend_objects_API.h" | |
typedef void (*zend_objects_store_dtor_t)(void *object, zend_object_handle handle ); | |
typedef void (*zend_objects_free_object_storage_t)(void *object ); | |
typedef void (*zend_objects_store_clone_t)(void *object, void **object_clone ); | |
typedef struct _zend_object_store_bucket { | |
zend_bool destructor_called; | |
zend_bool valid; | |
zend_uchar apply_count; | |
union _store_bucket { | |
struct _store_object { | |
void *object; | |
zend_objects_store_dtor_t dtor; | |
zend_objects_free_object_storage_t free_storage; | |
zend_objects_store_clone_t clone; | |
__const zend_object_handlers *handlers; | |
zend_uint refcount; | |
gc_root_buffer *buffered; | |
} obj; | |
struct { | |
int next; | |
} free_list; | |
} bucket; | |
} zend_object_store_bucket; | |
typedef struct _zend_objects_store { | |
zend_object_store_bucket *object_buckets; | |
zend_uint top; | |
zend_uint size; | |
int free_list_head; | |
} zend_objects_store; | |
__attribute__ ((visibility("default"))) void zend_objects_store_init(zend_objects_store *objects, zend_uint init_size); | |
__attribute__ ((visibility("default"))) void zend_objects_store_call_destructors(zend_objects_store *objects ); | |
__attribute__ ((visibility("default"))) void zend_objects_store_mark_destructed(zend_objects_store *objects ); | |
__attribute__ ((visibility("default"))) void zend_objects_store_destroy(zend_objects_store *objects); | |
__attribute__ ((visibility("default"))) zend_object_handle zend_objects_store_put(void *object, zend_objects_store_dtor_t dtor, zend_objects_free_object_storage_t storage, zend_objects_store_clone_t clone ); | |
__attribute__ ((visibility("default"))) void zend_objects_store_add_ref(zval *object ); | |
__attribute__ ((visibility("default"))) void zend_objects_store_del_ref(zval *object ); | |
__attribute__ ((visibility("default"))) void zend_objects_store_add_ref_by_handle(zend_object_handle handle ); | |
__attribute__ ((visibility("default"))) void zend_objects_store_del_ref_by_handle_ex(zend_object_handle handle, __const zend_object_handlers *handlers ); | |
static __inline __attribute__((always_inline)) void zend_objects_store_del_ref_by_handle(zend_object_handle handle ) { | |
zend_objects_store_del_ref_by_handle_ex(handle, ((void*)0) ); | |
} | |
__attribute__ ((visibility("default"))) zend_uint zend_objects_store_get_refcount(zval *object ); | |
__attribute__ ((visibility("default"))) zend_object_value zend_objects_store_clone_obj(zval *object ); | |
__attribute__ ((visibility("default"))) void *zend_object_store_get_object(__const zval *object ); | |
__attribute__ ((visibility("default"))) void *zend_object_store_get_object_by_handle(zend_object_handle handle ); | |
__attribute__ ((visibility("default"))) void zend_object_store_set_object(zval *zobject, void *object ); | |
__attribute__ ((visibility("default"))) void zend_object_store_ctor_failed(zval *zobject ); | |
__attribute__ ((visibility("default"))) void zend_objects_store_free_object_storage(zend_objects_store *objects ); | |
__attribute__ ((visibility("default"))) zval *zend_object_create_proxy(zval *object, zval *member ); | |
__attribute__ ((visibility("default"))) zend_object_handlers *zend_get_std_object_handlers(void); | |
# 36 "/usr/include/php/Zend/zend_globals.h" 2 | |
# 1 "/usr/include/php/Zend/zend_modules.h" 1 | |
# 18 "/usr/include/php/Zend/zend_modules.h" | |
# 134 "/usr/include/php/Zend/zend_modules.h" | |
# 37 "/usr/include/php/Zend/zend_globals.h" 2 | |
# 1 "/usr/include/php/Zend/zend_float.h" 1 | |
# 17 "/usr/include/php/Zend/zend_float.h" | |
extern __attribute__ ((visibility("default"))) void zend_init_fpu(void); | |
extern __attribute__ ((visibility("default"))) void zend_shutdown_fpu(void); | |
extern __attribute__ ((visibility("default"))) void zend_ensure_fpu_mode(void); | |
# 50 "/usr/include/php/Zend/zend_float.h" | |
# 71 "/usr/include/php/Zend/zend_float.h" | |
# 87 "/usr/include/php/Zend/zend_float.h" | |
# 327 "/usr/include/php/Zend/zend_float.h" | |
# 348 "/usr/include/php/Zend/zend_float.h" | |
# 382 "/usr/include/php/Zend/zend_float.h" | |
# 403 "/usr/include/php/Zend/zend_float.h" | |
# 425 "/usr/include/php/Zend/zend_float.h" | |
# 38 "/usr/include/php/Zend/zend_globals.h" 2 | |
# 1 "/usr/include/php/Zend/zend_multibyte.h" 1 | |
# 18 "/usr/include/php/Zend/zend_multibyte.h" | |
typedef struct _zend_encoding zend_encoding; | |
typedef size_t (*zend_encoding_filter)(unsigned char **str, size_t *str_length, __const unsigned char *buf, size_t length ); | |
typedef __const zend_encoding* (*zend_encoding_fetcher)(__const char *encoding_name ); | |
typedef __const char* (*zend_encoding_name_getter)(__const zend_encoding *encoding); | |
typedef int (*zend_encoding_lexer_compatibility_checker)(__const zend_encoding *encoding); | |
typedef __const zend_encoding *(*zend_encoding_detector)(__const unsigned char *string, size_t length, __const zend_encoding **list, size_t list_size ); | |
typedef size_t (*zend_encoding_converter)(unsigned char **to, size_t *to_length, __const unsigned char *from, size_t from_length, __const zend_encoding *encoding_to, __const zend_encoding *encoding_from ); | |
typedef int (*zend_encoding_list_parser)(__const char *encoding_list, size_t encoding_list_len, __const zend_encoding ***return_list, size_t *return_size, int persistent ); | |
typedef __const zend_encoding *(*zend_encoding_internal_encoding_getter)(void); | |
typedef int (*zend_encoding_internal_encoding_setter)(__const zend_encoding *encoding ); | |
typedef struct _zend_multibyte_functions { | |
__const char *provider_name; | |
zend_encoding_fetcher encoding_fetcher; | |
zend_encoding_name_getter encoding_name_getter; | |
zend_encoding_lexer_compatibility_checker lexer_compatibility_checker; | |
zend_encoding_detector encoding_detector; | |
zend_encoding_converter encoding_converter; | |
zend_encoding_list_parser encoding_list_parser; | |
zend_encoding_internal_encoding_getter internal_encoding_getter; | |
zend_encoding_internal_encoding_setter internal_encoding_setter; | |
} zend_multibyte_functions; | |
__attribute__ ((visibility("default"))) extern __const zend_encoding *zend_multibyte_encoding_utf32be; | |
__attribute__ ((visibility("default"))) extern __const zend_encoding *zend_multibyte_encoding_utf32le; | |
__attribute__ ((visibility("default"))) extern __const zend_encoding *zend_multibyte_encoding_utf16be; | |
__attribute__ ((visibility("default"))) extern __const zend_encoding *zend_multibyte_encoding_utf16le; | |
__attribute__ ((visibility("default"))) extern __const zend_encoding *zend_multibyte_encoding_utf8; | |
__attribute__ ((visibility("default"))) int zend_multibyte_set_functions(__const zend_multibyte_functions *functions ); | |
__attribute__ ((visibility("default"))) __const zend_multibyte_functions *zend_multibyte_get_functions(void); | |
__attribute__ ((visibility("default"))) __const zend_encoding *zend_multibyte_fetch_encoding(__const char *name ); | |
__attribute__ ((visibility("default"))) __const char *zend_multibyte_get_encoding_name(__const zend_encoding *encoding); | |
__attribute__ ((visibility("default"))) int zend_multibyte_check_lexer_compatibility(__const zend_encoding *encoding); | |
__attribute__ ((visibility("default"))) __const zend_encoding *zend_multibyte_encoding_detector(__const unsigned char *string, size_t length, __const zend_encoding **list, size_t list_size ); | |
__attribute__ ((visibility("default"))) size_t zend_multibyte_encoding_converter(unsigned char **to, size_t *to_length, __const unsigned char *from, size_t from_length, __const zend_encoding *encoding_to, __const zend_encoding *encoding_from ); | |
__attribute__ ((visibility("default"))) int zend_multibyte_parse_encoding_list(__const char *encoding_list, size_t encoding_list_len, __const zend_encoding ***return_list, size_t *return_size, int persistent ); | |
__attribute__ ((visibility("default"))) __const zend_encoding *zend_multibyte_get_internal_encoding(void); | |
__attribute__ ((visibility("default"))) __const zend_encoding *zend_multibyte_get_script_encoding(void); | |
__attribute__ ((visibility("default"))) int zend_multibyte_set_script_encoding(__const zend_encoding **encoding_list, size_t encoding_list_size ); | |
__attribute__ ((visibility("default"))) int zend_multibyte_set_internal_encoding(__const zend_encoding *encoding ); | |
__attribute__ ((visibility("default"))) int zend_multibyte_set_script_encoding_by_string(__const char *new_value, size_t new_value_length ); | |
# 39 "/usr/include/php/Zend/zend_globals.h" 2 | |
# 1 "/usr/include/php/Zend/zend_compile.h" 1 | |
# 18 "/usr/include/php/Zend/zend_compile.h" | |
# 891 "/usr/include/php/Zend/zend_compile.h" | |
# 56 "/usr/include/php/Zend/zend_globals.h" 2 | |
typedef struct _zend_declarables { | |
zval ticks; | |
} zend_declarables; | |
typedef struct _zend_vm_stack *zend_vm_stack; | |
typedef struct _zend_ini_entry zend_ini_entry; | |
struct _zend_compiler_globals { | |
zend_stack bp_stack; | |
zend_stack switch_cond_stack; | |
zend_stack foreach_copy_stack; | |
zend_stack object_stack; | |
zend_stack declare_stack; | |
zend_class_entry *active_class_entry; | |
zend_llist list_llist; | |
zend_llist dimension_llist; | |
zend_stack list_stack; | |
zend_stack function_call_stack; | |
char *compiled_filename; | |
int zend_lineno; | |
zend_op_array *active_op_array; | |
HashTable *function_table; | |
HashTable *class_table; | |
HashTable filenames_table; | |
HashTable *auto_globals; | |
zend_bool parse_error; | |
zend_bool in_compilation; | |
zend_bool short_tags; | |
zend_bool asp_tags; | |
zend_declarables declarables; | |
zend_bool unclean_shutdown; | |
zend_bool ini_parser_unbuffered_errors; | |
zend_llist open_files; | |
long catch_begin; | |
struct _zend_ini_parser_param *ini_parser_param; | |
int interactive; | |
zend_uint start_lineno; | |
zend_bool increment_lineno; | |
znode implementing_class; | |
zend_uint access_type; | |
char *doc_comment; | |
zend_uint doc_comment_len; | |
zend_uint compiler_options; | |
zval *current_namespace; | |
HashTable *current_import; | |
zend_bool in_namespace; | |
zend_bool has_bracketed_namespaces; | |
zend_compiler_context context; | |
zend_stack context_stack; | |
char *interned_strings_start; | |
char *interned_strings_end; | |
char *interned_strings_top; | |
char *interned_strings_snapshot_top; | |
HashTable interned_strings; | |
__const zend_encoding **script_encoding_list; | |
size_t script_encoding_list_size; | |
zend_bool multibyte; | |
zend_bool detect_unicode; | |
zend_bool encoding_declared; | |
}; | |
struct _zend_executor_globals { | |
zval **return_value_ptr_ptr; | |
zval uninitialized_zval; | |
zval *uninitialized_zval_ptr; | |
zval error_zval; | |
zval *error_zval_ptr; | |
HashTable *symtable_cache[32]; | |
HashTable **symtable_cache_limit; | |
HashTable **symtable_cache_ptr; | |
zend_op **opline_ptr; | |
HashTable *active_symbol_table; | |
HashTable symbol_table; | |
HashTable included_files; | |
sigjmp_buf *bailout; | |
int error_reporting; | |
int orig_error_reporting; | |
int exit_status; | |
zend_op_array *active_op_array; | |
HashTable *function_table; | |
HashTable *class_table; | |
HashTable *zend_constants; | |
zend_class_entry *scope; | |
zend_class_entry *called_scope; | |
zval *This; | |
long precision; | |
int ticks_count; | |
zend_bool in_execution; | |
HashTable *in_autoload; | |
zend_function *autoload_func; | |
zend_bool full_tables_cleanup; | |
zend_bool no_extensions; | |
HashTable regular_list; | |
HashTable persistent_list; | |
zend_vm_stack argument_stack; | |
int user_error_handler_error_reporting; | |
zval *user_error_handler; | |
zval *user_exception_handler; | |
zend_stack user_error_handlers_error_reporting; | |
zend_ptr_stack user_error_handlers; | |
zend_ptr_stack user_exception_handlers; | |
zend_error_handling_t error_handling; | |
zend_class_entry *exception_class; | |
int timeout_seconds; | |
int lambda_count; | |
HashTable *ini_directives; | |
HashTable *modified_ini_directives; | |
zend_ini_entry *error_reporting_ini_entry; | |
zend_objects_store objects_store; | |
zval *exception, *prev_exception; | |
zend_op *opline_before_exception; | |
zend_op exception_op[3]; | |
struct _zend_execute_data *current_execute_data; | |
struct _zend_module_entry *current_module; | |
zend_property_info std_property_info; | |
zend_bool active; | |
zend_op *start_op; | |
void *saved_fpu_cw_ptr; | |
unsigned int saved_fpu_cw; | |
void *reserved[4]; | |
}; | |
struct _zend_ini_scanner_globals { | |
zend_file_handle *yy_in; | |
zend_file_handle *yy_out; | |
unsigned int yy_leng; | |
unsigned char *yy_start; | |
unsigned char *yy_text; | |
unsigned char *yy_cursor; | |
unsigned char *yy_marker; | |
unsigned char *yy_limit; | |
int yy_state; | |
zend_stack state_stack; | |
char *filename; | |
int lineno; | |
int scanner_mode; | |
}; | |
struct _zend_php_scanner_globals { | |
zend_file_handle *yy_in; | |
zend_file_handle *yy_out; | |
unsigned int yy_leng; | |
unsigned char *yy_start; | |
unsigned char *yy_text; | |
unsigned char *yy_cursor; | |
unsigned char *yy_marker; | |
unsigned char *yy_limit; | |
int yy_state; | |
zend_stack state_stack; | |
zend_ptr_stack heredoc_label_stack; | |
unsigned char *script_org; | |
size_t script_org_size; | |
unsigned char *script_filtered; | |
size_t script_filtered_size; | |
zend_encoding_filter input_filter; | |
zend_encoding_filter output_filter; | |
__const zend_encoding *script_encoding; | |
}; | |
# 419 "/usr/include/php/Zend/zend_compile.h" 2 | |
void init_compiler(void); | |
void shutdown_compiler(void); | |
void zend_init_compiler_data_structures(void); | |
void zend_init_compiler_context(void); | |
extern __attribute__ ((visibility("default"))) zend_op_array *(*zend_compile_file)(zend_file_handle *file_handle, int type ); | |
extern __attribute__ ((visibility("default"))) zend_op_array *(*zend_compile_string)(zval *source_string, char *filename ); | |
__attribute__ ((visibility("default"))) int lex_scan(zval *zendlval ); | |
void startup_scanner(void); | |
void shutdown_scanner(void); | |
__attribute__ ((visibility("default"))) char *zend_set_compiled_filename(__const char *new_compiled_filename ); | |
__attribute__ ((visibility("default"))) void zend_restore_compiled_filename(char *original_compiled_filename ); | |
__attribute__ ((visibility("default"))) char *zend_get_compiled_filename(void); | |
__attribute__ ((visibility("default"))) int zend_get_compiled_lineno(void); | |
__attribute__ ((visibility("default"))) size_t zend_get_scanned_file_offset(void); | |
void zend_resolve_non_class_name(znode *element_name, zend_bool check_namespace ); | |
void zend_resolve_class_name(znode *class_name, unsigned long fetch_type, int check_ns_name ); | |
__attribute__ ((visibility("default"))) __const char* zend_get_compiled_variable_name(__const zend_op_array *op_array, zend_uint var, int* name_len); | |
void zend_do_binary_op(zend_uchar op, znode *result, __const znode *op1, __const znode *op2 ); | |
void zend_do_unary_op(zend_uchar op, znode *result, __const znode *op1 ); | |
void zend_do_binary_assign_op(zend_uchar op, znode *result, __const znode *op1, __const znode *op2 ); | |
void zend_do_assign(znode *result, znode *variable, znode *value ); | |
void zend_do_assign_ref(znode *result, __const znode *lvar, __const znode *rvar ); | |
void fetch_simple_variable(znode *result, znode *varname, int bp ); | |
void fetch_simple_variable_ex(znode *result, znode *varname, int bp, zend_uchar op ); | |
void zend_do_indirect_references(znode *result, __const znode *num_references, znode *variable ); | |
void zend_do_fetch_static_variable(znode *varname, __const znode *static_assignment, int fetch_type ); | |
void zend_do_fetch_global_variable(znode *varname, __const znode *static_assignment, int fetch_type ); | |
void fetch_array_begin(znode *result, znode *varname, znode *first_dim ); | |
void fetch_array_dim(znode *result, __const znode *parent, __const znode *dim ); | |
void fetch_string_offset(znode *result, __const znode *parent, __const znode *offset ); | |
void zend_do_fetch_static_member(znode *result, znode *class_znode ); | |
void zend_do_print(znode *result, __const znode *arg ); | |
void zend_do_echo(__const znode *arg ); | |
typedef int (*unary_op_type)(zval *, zval * ); | |
typedef int (*binary_op_type)(zval *, zval *, zval * ); | |
__attribute__ ((visibility("default"))) unary_op_type get_unary_op(int opcode); | |
__attribute__ ((visibility("default"))) binary_op_type get_binary_op(int opcode); | |
void zend_do_while_cond(__const znode *expr, znode *close_bracket_token ); | |
void zend_do_while_end(__const znode *while_token, __const znode *close_bracket_token ); | |
void zend_do_do_while_begin(void); | |
void zend_do_do_while_end(__const znode *do_token, __const znode *expr_open_bracket, __const znode *expr ); | |
void zend_do_if_cond(__const znode *cond, znode *closing_bracket_token ); | |
void zend_do_if_after_statement(__const znode *closing_bracket_token, unsigned char initialize ); | |
void zend_do_if_end(void); | |
void zend_do_for_cond(__const znode *expr, znode *second_semicolon_token ); | |
void zend_do_for_before_statement(__const znode *cond_start, __const znode *second_semicolon_token ); | |
void zend_do_for_end(__const znode *second_semicolon_token ); | |
void zend_do_pre_incdec(znode *result, __const znode *op1, zend_uchar op ); | |
void zend_do_post_incdec(znode *result, __const znode *op1, zend_uchar op ); | |
void zend_do_begin_variable_parse(void); | |
void zend_do_end_variable_parse(znode *variable, int type, int arg_offset ); | |
void zend_check_writable_variable(__const znode *variable); | |
void zend_do_free(znode *op1 ); | |
void zend_do_add_string(znode *result, __const znode *op1, znode *op2 ); | |
void zend_do_add_variable(znode *result, __const znode *op1, __const znode *op2 ); | |
int zend_do_verify_access_types(__const znode *current_access_type, __const znode *new_modifier); | |
void zend_do_begin_function_declaration(znode *function_token, znode *function_name, int is_method, int return_reference, znode *fn_flags_znode ); | |
void zend_do_end_function_declaration(__const znode *function_token ); | |
void zend_do_receive_arg(zend_uchar op, znode *varname, __const znode *offset, __const znode *initialization, znode *class_type, zend_bool pass_by_reference ); | |
int zend_do_begin_function_call(znode *function_name, zend_bool check_namespace ); | |
void zend_do_begin_method_call(znode *left_bracket ); | |
void zend_do_clone(znode *result, __const znode *expr ); | |
void zend_do_begin_dynamic_function_call(znode *function_name, int prefix_len ); | |
void zend_do_fetch_class(znode *result, znode *class_name ); | |
void zend_do_build_full_name(znode *result, znode *prefix, znode *name, int is_class_member ); | |
int zend_do_begin_class_member_function_call(znode *class_name, znode *method_name ); | |
void zend_do_end_function_call(znode *function_name, znode *result, __const znode *argument_list, int is_method, int is_dynamic_fcall ); | |
void zend_do_return(znode *expr, int do_end_vparse ); | |
void zend_do_yield(znode *result, znode *value, __const znode *key, zend_bool is_variable ); | |
void zend_do_handle_exception(void); | |
void zend_do_begin_lambda_function_declaration(znode *result, znode *function_token, int return_reference, int is_static ); | |
void zend_do_fetch_lexical_variable(znode *varname, zend_bool is_ref ); | |
void zend_do_try(znode *try_token ); | |
void zend_do_begin_catch(znode *try_token, znode *catch_class, znode *catch_var, znode *first_catch ); | |
void zend_do_bind_catch(znode *try_token, znode *catch_token ); | |
void zend_do_end_catch(znode *catch_token ); | |
void zend_do_finally(znode *finally_token ); | |
void zend_do_end_finally(znode *try_token, znode* catch_token, znode *finally_token ); | |
void zend_do_throw(__const znode *expr ); | |
__attribute__ ((visibility("default"))) int do_bind_function(__const zend_op_array *op_array, zend_op *opline, HashTable *function_table, zend_bool compile_time); | |
__attribute__ ((visibility("default"))) zend_class_entry *do_bind_class(__const zend_op_array *op_array, __const zend_op *opline, HashTable *class_table, zend_bool compile_time ); | |
__attribute__ ((visibility("default"))) zend_class_entry *do_bind_inherited_class(__const zend_op_array *op_array, __const zend_op *opline, HashTable *class_table, zend_class_entry *parent_ce, zend_bool compile_time ); | |
__attribute__ ((visibility("default"))) void zend_do_inherit_interfaces(zend_class_entry *ce, __const zend_class_entry *iface ); | |
__attribute__ ((visibility("default"))) void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface ); | |
void zend_do_implements_interface(znode *interface_znode ); | |
void zend_do_use_trait(znode *trait_znode ); | |
void zend_prepare_reference(znode *result, znode *class_name, znode *method_name ); | |
void zend_add_trait_precedence(znode *method_reference, znode *trait_list ); | |
void zend_add_trait_alias(znode *method_reference, znode *modifiers, znode *alias ); | |
__attribute__ ((visibility("default"))) void zend_do_implement_trait(zend_class_entry *ce, zend_class_entry *trait ); | |
__attribute__ ((visibility("default"))) void zend_do_bind_traits(zend_class_entry *ce ); | |
__attribute__ ((visibility("default"))) void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce ); | |
void zend_do_early_binding(void); | |
__attribute__ ((visibility("default"))) void zend_do_delayed_early_binding(__const zend_op_array *op_array ); | |
void zend_do_pass_param(znode *param, zend_uchar op, int offset ); | |
void zend_do_boolean_or_begin(znode *expr1, znode *op_token ); | |
void zend_do_boolean_or_end(znode *result, __const znode *expr1, __const znode *expr2, znode *op_token ); | |
void zend_do_boolean_and_begin(znode *expr1, znode *op_token ); | |
void zend_do_boolean_and_end(znode *result, __const znode *expr1, __const znode *expr2, __const znode *op_token ); | |
void zend_do_brk_cont(zend_uchar op, __const znode *expr ); | |
void zend_do_switch_cond(__const znode *cond ); | |
void zend_do_switch_end(__const znode *case_list ); | |
void zend_do_case_before_statement(__const znode *case_list, znode *case_token, __const znode *case_expr ); | |
void zend_do_case_after_statement(znode *result, __const znode *case_token ); | |
void zend_do_default_before_statement(__const znode *case_list, znode *default_token ); | |
void zend_do_begin_class_declaration(__const znode *class_token, znode *class_name, __const znode *parent_class_name ); | |
void zend_do_end_class_declaration(__const znode *class_token, __const znode *parent_token ); | |
void zend_do_declare_property(__const znode *var_name, __const znode *value, zend_uint access_type ); | |
void zend_do_declare_class_constant(znode *var_name, __const znode *value ); | |
void zend_do_fetch_property(znode *result, znode *object, __const znode *property ); | |
void zend_do_halt_compiler_register(void); | |
void zend_do_push_object(__const znode *object ); | |
void zend_do_pop_object(znode *object ); | |
void zend_do_begin_new_object(znode *new_token, znode *class_type ); | |
void zend_do_end_new_object(znode *result, __const znode *new_token, __const znode *argument_list ); | |
void zend_do_fetch_constant(znode *result, znode *constant_container, znode *constant_name, int mode, zend_bool check_namespace ); | |
void zend_do_shell_exec(znode *result, __const znode *cmd ); | |
void zend_do_init_array(znode *result, __const znode *expr, __const znode *offset, zend_bool is_ref ); | |
void zend_do_add_array_element(znode *result, __const znode *expr, __const znode *offset, zend_bool is_ref ); | |
void zend_do_add_static_array_element(znode *result, znode *offset, __const znode *expr); | |
void zend_do_list_init(void); | |
void zend_do_list_end(znode *result, znode *expr ); | |
void zend_do_add_list_element(__const znode *element ); | |
void zend_do_new_list_begin(void); | |
void zend_do_new_list_end(void); | |
void zend_init_list(void *result, void *item ); | |
void zend_add_to_list(void *result, void *item ); | |
void zend_do_cast(znode *result, __const znode *expr, int type ); | |
void zend_do_include_or_eval(int type, znode *result, __const znode *op1 ); | |
void zend_do_unset(__const znode *variable ); | |
void zend_do_isset_or_isempty(int type, znode *result, znode *variable ); | |
void zend_do_instanceof(znode *result, __const znode *expr, __const znode *class_znode, int type ); | |
void zend_do_foreach_begin(znode *foreach_token, znode *open_brackets_token, znode *array, znode *as_token, int variable ); | |
void zend_do_foreach_cont(znode *foreach_token, __const znode *open_brackets_token, __const znode *as_token, znode *value, znode *key ); | |
void zend_do_foreach_end(__const znode *foreach_token, __const znode *as_token ); | |
void zend_do_declare_begin(void); | |
void zend_do_declare_stmt(znode *var, znode *val ); | |
void zend_do_declare_end(__const znode *declare_token ); | |
void zend_do_exit(znode *result, __const znode *message ); | |
void zend_do_begin_silence(znode *strudel_token ); | |
void zend_do_end_silence(__const znode *strudel_token ); | |
void zend_do_jmp_set(__const znode *value, znode *jmp_token, znode *colon_token ); | |
void zend_do_jmp_set_else(znode *result, __const znode *false_value, __const znode *jmp_token, __const znode *colon_token ); | |
void zend_do_begin_qm_op(__const znode *cond, znode *qm_token ); | |
void zend_do_qm_true(__const znode *true_value, znode *qm_token, znode *colon_token ); | |
void zend_do_qm_false(znode *result, __const znode *false_value, __const znode *qm_token, __const znode *colon_token ); | |
void zend_do_extended_info(void); | |
void zend_do_extended_fcall_begin(void); | |
void zend_do_extended_fcall_end(void); | |
void zend_do_ticks(void); | |
void zend_do_abstract_method(__const znode *function_name, znode *modifiers, __const znode *body ); | |
void zend_do_declare_constant(znode *name, znode *value ); | |
void zend_do_build_namespace_name(znode *result, znode *prefix, znode *name ); | |
void zend_do_begin_namespace(__const znode *name, zend_bool with_brackets ); | |
void zend_do_end_namespace(void); | |
void zend_verify_namespace(void); | |
void zend_do_use(znode *name, znode *new_name, int is_global ); | |
void zend_do_end_compilation(void); | |
void zend_do_resolve_class_name(znode *result, znode *class_name, int is_static ); | |
void zend_do_label(znode *label ); | |
void zend_do_goto(__const znode *label ); | |
void zend_resolve_goto_label(zend_op_array *op_array, zend_op *opline, int pass2 ); | |
void zend_release_labels(int temporary ); | |
__attribute__ ((visibility("default"))) void function_add_ref(zend_function *function); | |
__attribute__ ((visibility("default"))) zend_op_array *compile_file(zend_file_handle *file_handle, int type ); | |
__attribute__ ((visibility("default"))) zend_op_array *compile_string(zval *source_string, char *filename ); | |
__attribute__ ((visibility("default"))) zend_op_array *compile_filename(int type, zval *filename ); | |
__attribute__ ((visibility("default"))) int zend_execute_scripts(int type , zval **retval, int file_count, ...); | |
__attribute__ ((visibility("default"))) int open_file_for_scanning(zend_file_handle *file_handle ); | |
__attribute__ ((visibility("default"))) void init_op_array(zend_op_array *op_array, zend_uchar type, int initial_ops_size ); | |
__attribute__ ((visibility("default"))) void destroy_op_array(zend_op_array *op_array ); | |
__attribute__ ((visibility("default"))) void zend_destroy_file_handle(zend_file_handle *file_handle ); | |
__attribute__ ((visibility("default"))) int zend_cleanup_class_data(zend_class_entry **pce ); | |
__attribute__ ((visibility("default"))) int zend_cleanup_user_class_data(zend_class_entry **pce ); | |
__attribute__ ((visibility("default"))) void zend_cleanup_internal_class_data(zend_class_entry *ce ); | |
__attribute__ ((visibility("default"))) void zend_cleanup_internal_classes(void); | |
__attribute__ ((visibility("default"))) int zend_cleanup_function_data(zend_function *function ); | |
__attribute__ ((visibility("default"))) int zend_cleanup_function_data_full(zend_function *function ); | |
__attribute__ ((visibility("default"))) void destroy_zend_function(zend_function *function ); | |
__attribute__ ((visibility("default"))) void zend_function_dtor(zend_function *function); | |
__attribute__ ((visibility("default"))) void destroy_zend_class(zend_class_entry **pce); | |
void zend_class_add_ref(zend_class_entry **ce); | |
__attribute__ ((visibility("default"))) void zend_mangle_property_name(char **dest, int *dest_length, __const char *src1, int src1_length, __const char *src2, int src2_length, int internal); | |
__attribute__ ((visibility("default"))) int zend_unmangle_property_name_ex(__const char *mangled_property, int mangled_property_len, __const char **class_name, __const char **prop_name, int *prop_len); | |
zend_op *get_next_op(zend_op_array *op_array ); | |
void init_op(zend_op *op ); | |
int get_next_op_number(zend_op_array *op_array); | |
int print_class(zend_class_entry *class_entry ); | |
void print_op_array(zend_op_array *op_array, int optimizations); | |
__attribute__ ((visibility("default"))) int pass_two(zend_op_array *op_array ); | |
zend_brk_cont_element *get_next_brk_cont_element(zend_op_array *op_array); | |
void zend_do_first_catch(znode *open_parentheses ); | |
void zend_initialize_try_catch_element(znode *catch_token ); | |
void zend_do_mark_last_catch(__const znode *first_catch, __const znode *last_additional_catch ); | |
__attribute__ ((visibility("default"))) zend_bool zend_is_compiling(void); | |
__attribute__ ((visibility("default"))) char *zend_make_compiled_string_description(__const char *name ); | |
__attribute__ ((visibility("default"))) void zend_initialize_class_data(zend_class_entry *ce, zend_bool nullify_handlers ); | |
int zend_get_class_fetch_type(__const char *class_name, uint class_name_len); | |
typedef zend_bool (*zend_auto_global_callback)(__const char *name, uint name_len ); | |
typedef struct _zend_auto_global { | |
__const char *name; | |
uint name_len; | |
zend_auto_global_callback auto_global_callback; | |
zend_bool jit; | |
zend_bool armed; | |
} zend_auto_global; | |
__attribute__ ((visibility("default"))) int zend_register_auto_global(__const char *name, uint name_len, zend_bool jit, zend_auto_global_callback auto_global_callback ); | |
__attribute__ ((visibility("default"))) void zend_activate_auto_globals(void); | |
__attribute__ ((visibility("default"))) zend_bool zend_is_auto_global(__const char *name, uint name_len ); | |
__attribute__ ((visibility("default"))) zend_bool zend_is_auto_global_quick(__const char *name, uint name_len, unsigned long hashval ); | |
__attribute__ ((visibility("default"))) size_t zend_dirname(char *path, size_t len); | |
int zendlex(znode *zendlval ); | |
int zend_add_literal(zend_op_array *op_array, __const zval *zv ); | |
# 1 "/usr/include/php/Zend/zend_vm_opcodes.h" 1 | |
# 19 "/usr/include/php/Zend/zend_vm_opcodes.h" | |
__attribute__ ((visibility("default"))) __const char *zend_get_opcode_name(zend_uchar opcode); | |
# 172 "/usr/include/php/Zend/zend_vm_opcodes.h" | |
# 720 "/usr/include/php/Zend/zend_compile.h" 2 | |
# 738 "/usr/include/php/Zend/zend_compile.h" | |
# 860 "/usr/include/php/Zend/zend_compile.h" | |
# 27 "/usr/include/php/Zend/zend_modules.h" 2 | |
# 1 "/usr/include/php/Zend/zend_build.h" 1 | |
# 17 "/usr/include/php/Zend/zend_build.h" | |
# 28 "/usr/include/php/Zend/zend_modules.h" 2 | |
struct _zend_ini_entry; | |
typedef struct _zend_module_entry zend_module_entry; | |
typedef struct _zend_module_dep zend_module_dep; | |
struct _zend_module_entry { | |
unsigned short size; | |
unsigned int zend_api; | |
unsigned char zend_debug; | |
unsigned char zts; | |
__const struct _zend_ini_entry *ini_entry; | |
__const struct _zend_module_dep *deps; | |
__const char *name; | |
__const struct _zend_function_entry *functions; | |
int (*module_startup_func)(int type, int module_number ); | |
int (*module_shutdown_func)(int type, int module_number ); | |
int (*request_startup_func)(int type, int module_number ); | |
int (*request_shutdown_func)(int type, int module_number ); | |
void (*info_func)(zend_module_entry *zend_module ); | |
__const char *version; | |
size_t globals_size; | |
void* globals_ptr; | |
void (*globals_ctor)(void *global ); | |
void (*globals_dtor)(void *global ); | |
int (*post_deactivate_func)(void); | |
int module_started; | |
unsigned char type; | |
void *handle; | |
int module_number; | |
__const char *build_id; | |
}; | |
struct _zend_module_dep { | |
__const char *name; | |
__const char *rel; | |
__const char *version; | |
unsigned char type; | |
}; | |
extern __attribute__ ((visibility("default"))) HashTable module_registry; | |
void module_destructor(zend_module_entry *module); | |
int module_registry_cleanup(zend_module_entry *module ); | |
int module_registry_request_startup(zend_module_entry *module ); | |
int module_registry_unload_temp(__const zend_module_entry *module ); | |
# 27 "/usr/include/php/Zend/zend_API.h" 2 | |
# 1 "/usr/include/php/Zend/zend_list.h" 1 | |
# 18 "/usr/include/php/Zend/zend_list.h" | |
typedef struct _zend_rsrc_list_entry { | |
void *ptr; | |
int type; | |
int refcount; | |
} zend_rsrc_list_entry; | |
typedef void (*rsrc_dtor_func_t)(zend_rsrc_list_entry *rsrc ); | |
typedef struct _zend_rsrc_list_dtors_entry { | |
void (*list_dtor)(void *); | |
void (*plist_dtor)(void *); | |
rsrc_dtor_func_t list_dtor_ex; | |
rsrc_dtor_func_t plist_dtor_ex; | |
__const char *type_name; | |
int module_number; | |
int resource_id; | |
unsigned char type; | |
} zend_rsrc_list_dtors_entry; | |
__attribute__ ((visibility("default"))) int zend_register_list_destructors(void (*ld)(void *), void (*pld)(void *), int module_number); | |
__attribute__ ((visibility("default"))) int zend_register_list_destructors_ex(rsrc_dtor_func_t ld, rsrc_dtor_func_t pld, __const char *type_name, int module_number); | |
void list_entry_destructor(void *ptr); | |
void plist_entry_destructor(void *ptr); | |
void zend_clean_module_rsrc_dtors(int module_number ); | |
int zend_init_rsrc_list(void); | |
int zend_init_rsrc_plist(void); | |
void zend_destroy_rsrc_list(HashTable *ht ); | |
int zend_init_rsrc_list_dtors(void); | |
void zend_destroy_rsrc_list_dtors(void); | |
__attribute__ ((visibility("default"))) int zend_list_insert(void *ptr, int type ); | |
__attribute__ ((visibility("default"))) int _zend_list_addref(int id ); | |
__attribute__ ((visibility("default"))) int _zend_list_delete(int id ); | |
__attribute__ ((visibility("default"))) void *_zend_list_find(int id, int *type ); | |
__attribute__ ((visibility("default"))) int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type ); | |
__attribute__ ((visibility("default"))) void *zend_fetch_resource(zval **passed_id , int default_id, __const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | |
__attribute__ ((visibility("default"))) __const char *zend_rsrc_list_get_rsrc_type(int resource ); | |
__attribute__ ((visibility("default"))) int zend_fetch_list_dtor_id(char *type_name); | |
extern __attribute__ ((visibility("default"))) int le_index_ptr; | |
# 28 "/usr/include/php/Zend/zend_API.h" 2 | |
# 1 "/usr/include/php/Zend/zend_execute.h" 1 | |
# 18 "/usr/include/php/Zend/zend_execute.h" | |
typedef union _temp_variable { | |
zval tmp_var; | |
struct { | |
zval **ptr_ptr; | |
zval *ptr; | |
zend_bool fcall_returned_reference; | |
} var; | |
struct { | |
zval **ptr_ptr; | |
zval *str; | |
zend_uint offset; | |
} str_offset; | |
struct { | |
zval **ptr_ptr; | |
zval *ptr; | |
HashPointer fe_pos; | |
} fe; | |
zend_class_entry *class_entry; | |
} temp_variable; | |
struct _zend_fcall_info; | |
__attribute__ ((visibility("default"))) extern void (*zend_execute_ex)(zend_execute_data *execute_data ); | |
__attribute__ ((visibility("default"))) extern void (*zend_execute_internal)(zend_execute_data *execute_data_ptr, struct _zend_fcall_info *fci, int return_value_used ); | |
void init_executor(void); | |
void shutdown_executor(void); | |
void shutdown_destructors(void); | |
zend_execute_data *zend_create_execute_data_from_op_array(zend_op_array *op_array, zend_bool nested ); | |
__attribute__ ((visibility("default"))) void zend_execute(zend_op_array *op_array ); | |
__attribute__ ((visibility("default"))) void execute_ex(zend_execute_data *execute_data ); | |
__attribute__ ((visibility("default"))) void execute_internal(zend_execute_data *execute_data_ptr, struct _zend_fcall_info *fci, int return_value_used ); | |
__attribute__ ((visibility("default"))) int zend_is_true(zval *op); | |
__attribute__ ((visibility("default"))) int zend_lookup_class(__const char *name, int name_length, zend_class_entry ***ce ); | |
__attribute__ ((visibility("default"))) int zend_lookup_class_ex(__const char *name, int name_length, __const zend_literal *key, int use_autoload, zend_class_entry ***ce ); | |
__attribute__ ((visibility("default"))) int zend_eval_string(char *str, zval *retval_ptr, char *string_name ); | |
__attribute__ ((visibility("default"))) int zend_eval_stringl(char *str, int str_len, zval *retval_ptr, char *string_name ); | |
__attribute__ ((visibility("default"))) int zend_eval_string_ex(char *str, zval *retval_ptr, char *string_name, int handle_exceptions ); | |
__attribute__ ((visibility("default"))) int zend_eval_stringl_ex(char *str, int str_len, zval *retval_ptr, char *string_name, int handle_exceptions ); | |
__attribute__ ((visibility("default"))) char * zend_verify_arg_class_kind(__const zend_arg_info *cur_arg_info, unsigned long fetch_type, __const char **class_name, zend_class_entry **pce ); | |
__attribute__ ((visibility("default"))) int zend_verify_arg_error(int error_type, __const zend_function *zf, zend_uint arg_num, __const char *need_msg, __const char *need_kind, __const char *given_msg, __const char *given_kind ); | |
static __inline __attribute__((always_inline)) void i_zval_ptr_dtor(zval *zval_ptr ) | |
{ | |
if (!zval_delref_p(zval_ptr)) { | |
; | |
; | |
if (((gc_root_buffer*)(((zend_uintptr_t)(((zval_gc_info*)zval_ptr)->u.buffered)) & ~0x03))) { gc_remove_zval_from_buffer(zval_ptr); } ; | |
_zval_dtor((zval_ptr)) ; | |
_efree((zval_ptr)) ; | |
} else { | |
; | |
if (zval_refcount_p(zval_ptr) == 1) { | |
zval_unset_isref_p(zval_ptr); | |
} | |
gc_zval_check_possible_root((zval_ptr)) ; | |
} | |
} | |
static __inline __attribute__((always_inline)) int i_zend_is_true(zval *op) | |
{ | |
int result; | |
switch ((*op).type) { | |
case 0: | |
result = 0; | |
break; | |
case 1: | |
case 3: | |
case 7: | |
result = ((*op).value.lval?1:0); | |
break; | |
case 2: | |
result = ((*op).value.dval ? 1 : 0); | |
break; | |
case 6: | |
if ((*op).value.str.len == 0 | |
|| ((*op).value.str.len==1 && (*op).value.str.val[0]=='0')) { | |
result = 0; | |
} else { | |
result = 1; | |
} | |
break; | |
case 4: | |
result = (zend_hash_num_elements((*op).value.ht)?1:0); | |
break; | |
case 5: | |
if(((*op).type == 5 && (((*op)).value.obj.handlers->get_class_entry != ((void*)0)))) { | |
; | |
if ((*op).value.obj.handlers->cast_object) { | |
zval tmp; | |
if ((*op).value.obj.handlers->cast_object(op, &tmp, 3 ) == SUCCESS) { | |
result = (tmp).value.lval; | |
break; | |
} | |
} else if ((*op).value.obj.handlers->get) { | |
zval *tmp = (*op).value.obj.handlers->get(op ); | |
if((*tmp).type != 5) { | |
convert_to_boolean(tmp); | |
result = (*tmp).value.lval; | |
_zval_ptr_dtor((&tmp)) ; | |
break; | |
} | |
} | |
} | |
result = 1; | |
break; | |
default: | |
result = 0; | |
break; | |
} | |
return result; | |
} | |
__attribute__ ((visibility("default"))) int zval_update_constant(zval **pp, void *arg ); | |
__attribute__ ((visibility("default"))) int zval_update_constant_inline_change(zval **pp, void *arg ); | |
__attribute__ ((visibility("default"))) int zval_update_constant_no_inline_change(zval **pp, void *arg ); | |
__attribute__ ((visibility("default"))) int zval_update_constant_ex(zval **pp, void *arg, zend_class_entry *scope ); | |
struct _zend_vm_stack { | |
void **top; | |
void **end; | |
zend_vm_stack prev; | |
}; | |
static __inline __attribute__((always_inline)) zend_vm_stack zend_vm_stack_new_page(int count) { | |
zend_vm_stack page = (zend_vm_stack)_emalloc(((((sizeof(*page)) + 8 - 1) & ~(8 -1)) + sizeof(void*) * count)) ; | |
page->top = ((void**)(((char*)(page)) + (((sizeof(struct _zend_vm_stack)) + 8 - 1) & ~(8 -1)))); | |
page->end = page->top + count; | |
page->prev = ((void*)0); | |
return page; | |
} | |
static __inline __attribute__((always_inline)) void zend_vm_stack_init(void) | |
{ | |
(executor_globals.argument_stack) = zend_vm_stack_new_page(((16 * 1024) - 16)); | |
} | |
static __inline __attribute__((always_inline)) void zend_vm_stack_destroy(void) | |
{ | |
zend_vm_stack stack = (executor_globals.argument_stack); | |
while (stack != ((void*)0)) { | |
zend_vm_stack p = stack->prev; | |
_efree((stack)) ; | |
stack = p; | |
} | |
} | |
static __inline __attribute__((always_inline)) void zend_vm_stack_extend(int count ) | |
{ | |
zend_vm_stack p = zend_vm_stack_new_page(count >= ((16 * 1024) - 16) ? count : ((16 * 1024) - 16)); | |
p->prev = (executor_globals.argument_stack); | |
(executor_globals.argument_stack) = p; | |
} | |
static __inline __attribute__((always_inline)) void **zend_vm_stack_top(void) | |
{ | |
return (executor_globals.argument_stack)->top; | |
} | |
static __inline __attribute__((always_inline)) void zend_vm_stack_push(void *ptr ) | |
{ | |
*((executor_globals.argument_stack)->top++) = ptr; | |
} | |
static __inline __attribute__((always_inline)) void *zend_vm_stack_pop(void) | |
{ | |
void *el = *(--(executor_globals.argument_stack)->top); | |
return el; | |
} | |
static __inline __attribute__((always_inline)) void *zend_vm_stack_alloc(size_t size ) | |
{ | |
void *ret; | |
size = (size + (sizeof(void*) - 1)) / sizeof(void*); | |
if (8 > sizeof(void*)) { | |
int extra = (8 - ((zend_uintptr_t)(executor_globals.argument_stack)->top & (8 - 1))) / sizeof(void*); | |
if ((size + extra + (((sizeof(void*)) + 8 - 1) & ~(8 -1)) / sizeof(void*) > | |
# 235 "/usr/include/php/Zend/zend_execute.h" | |
(zend_uintptr_t)((executor_globals.argument_stack)->end - (executor_globals.argument_stack)->top))) { | |
zend_vm_stack_extend(size ); | |
} else { | |
void **old_top = (executor_globals.argument_stack)->top; | |
(executor_globals.argument_stack)->top += extra; | |
*(executor_globals.argument_stack)->top = (void*)old_top; | |
(executor_globals.argument_stack)->top += (((sizeof(void*)) + 8 - 1) & ~(8 -1)) / sizeof(void*); | |
} | |
} else { | |
do { if ((((int)size) > (executor_globals.argument_stack)->end - (executor_globals.argument_stack)->top)) { zend_vm_stack_extend(((int)size)); } } while (0) ; | |
} | |
ret = (void*)(executor_globals.argument_stack)->top; | |
(executor_globals.argument_stack)->top += size; | |
return ret; | |
} | |
static __inline __attribute__((always_inline)) void** zend_vm_stack_frame_base(zend_execute_data *ex) | |
{ | |
return (void**)((char*)ex->call_slots + | |
(((sizeof(call_slot)) + 8 - 1) & ~(8 -1)) * ex->op_array->nested_calls); | |
} | |
static __inline __attribute__((always_inline)) void zend_vm_stack_free_int(void *ptr ) | |
{ | |
if ((((void**)(((char*)((executor_globals.argument_stack))) + (((sizeof(struct _zend_vm_stack)) + 8 - 1) & ~(8 -1)))) == (void**)ptr)) { | |
zend_vm_stack p = (executor_globals.argument_stack); | |
(executor_globals.argument_stack) = p->prev; | |
_efree((p)) ; | |
} else { | |
(executor_globals.argument_stack)->top = (void**)ptr; | |
} | |
} | |
static __inline __attribute__((always_inline)) void zend_vm_stack_free(void *ptr ) | |
{ | |
if ((((void**)(((char*)((executor_globals.argument_stack))) + (((sizeof(struct _zend_vm_stack)) + 8 - 1) & ~(8 -1)))) == (void**)ptr)) { | |
zend_vm_stack p = (executor_globals.argument_stack); | |
(executor_globals.argument_stack) = p->prev; | |
_efree((p)) ; | |
} else { | |
if (8 > sizeof(void*)) { | |
ptr = (void*)(((char*)ptr) - (((sizeof(void*)) + 8 - 1) & ~(8 -1))); | |
(executor_globals.argument_stack)->top = *(void***)ptr; | |
} else { | |
(executor_globals.argument_stack)->top = (void**)ptr; | |
} | |
} | |
} | |
static __inline __attribute__((always_inline)) void zend_vm_stack_clear_multiple(int nested ) | |
{ | |
void **p = (executor_globals.argument_stack)->top - 1; | |
void **end = p - (int)(zend_uintptr_t)*p; | |
while (p != end) { | |
zval *q = (zval *) *(--p); | |
*p = ((void*)0); | |
i_zval_ptr_dtor(q ); | |
} | |
if (nested) { | |
(executor_globals.argument_stack)->top = p; | |
} else { | |
zend_vm_stack_free_int(p ); | |
} | |
} | |
static __inline __attribute__((always_inline)) int zend_vm_stack_get_args_count_ex(zend_execute_data *ex) | |
{ | |
if (ex) { | |
void **p = ex->function_state.arguments; | |
return (int)(zend_uintptr_t) *p; | |
} else { | |
return 0; | |
} | |
} | |
static __inline __attribute__((always_inline)) zval** zend_vm_stack_get_arg_ex(zend_execute_data *ex, int requested_arg) | |
{ | |
void **p = ex->function_state.arguments; | |
int arg_count = (int)(zend_uintptr_t) *p; | |
if ((requested_arg > arg_count)) { | |
return ((void*)0); | |
} | |
return (zval**)p - arg_count + requested_arg - 1; | |
} | |
static __inline __attribute__((always_inline)) int zend_vm_stack_get_args_count(void) | |
{ | |
return zend_vm_stack_get_args_count_ex((executor_globals.current_execute_data)->prev_execute_data); | |
} | |
static __inline __attribute__((always_inline)) zval** zend_vm_stack_get_arg(int requested_arg ) | |
{ | |
return zend_vm_stack_get_arg_ex((executor_globals.current_execute_data)->prev_execute_data, requested_arg); | |
} | |
void execute_new_code(void); | |
__attribute__ ((visibility("default"))) __const char *get_active_class_name(__const char **space ); | |
__attribute__ ((visibility("default"))) __const char *get_active_function_name(void); | |
__attribute__ ((visibility("default"))) __const char *zend_get_executed_filename(void); | |
__attribute__ ((visibility("default"))) uint zend_get_executed_lineno(void); | |
__attribute__ ((visibility("default"))) zend_bool zend_is_executing(void); | |
__attribute__ ((visibility("default"))) void zend_set_timeout(long seconds, int reset_signals); | |
__attribute__ ((visibility("default"))) void zend_unset_timeout(void); | |
__attribute__ ((visibility("default"))) void zend_timeout(int dummy); | |
__attribute__ ((visibility("default"))) zend_class_entry *zend_fetch_class(__const char *class_name, uint class_name_len, int fetch_type ); | |
__attribute__ ((visibility("default"))) zend_class_entry *zend_fetch_class_by_name(__const char *class_name, uint class_name_len, __const zend_literal *key, int fetch_type ); | |
void zend_verify_abstract_class(zend_class_entry *ce ); | |
__attribute__ ((visibility("default"))) zval** zend_get_compiled_variable_value(__const zend_execute_data *execute_data_ptr, zend_uint var); | |
__attribute__ ((visibility("default"))) int zend_set_user_opcode_handler(zend_uchar opcode, user_opcode_handler_t handler); | |
__attribute__ ((visibility("default"))) user_opcode_handler_t zend_get_user_opcode_handler(zend_uchar opcode); | |
typedef struct _zend_free_op { | |
zval* var; | |
} zend_free_op; | |
__attribute__ ((visibility("default"))) zval *zend_get_zval_ptr(int op_type, __const znode_op *node, __const zend_execute_data *execute_data, zend_free_op *should_free, int type ); | |
__attribute__ ((visibility("default"))) zval **zend_get_zval_ptr_ptr(int op_type, __const znode_op *node, __const zend_execute_data *execute_data, zend_free_op *should_free, int type ); | |
__attribute__ ((visibility("default"))) int zend_do_fcall(zend_execute_data *execute_data ); | |
void zend_clean_and_cache_symbol_table(HashTable *symbol_table ); | |
void zend_free_compiled_variables(zend_execute_data *execute_data); | |
# 31 "/usr/include/php/Zend/zend_API.h" 2 | |
typedef struct _zend_function_entry { | |
__const char *fname; | |
void (*handler)(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); | |
__const struct _zend_arg_info *arg_info; | |
zend_uint num_args; | |
zend_uint flags; | |
} zend_function_entry; | |
typedef struct _zend_fcall_info { | |
size_t size; | |
HashTable *function_table; | |
zval *function_name; | |
HashTable *symbol_table; | |
zval **retval_ptr_ptr; | |
zend_uint param_count; | |
zval ***params; | |
zval *object_ptr; | |
zend_bool no_separation; | |
} zend_fcall_info; | |
typedef struct _zend_fcall_info_cache { | |
zend_bool initialized; | |
zend_function *function_handler; | |
zend_class_entry *calling_scope; | |
zend_class_entry *called_scope; | |
zval *object_ptr; | |
} zend_fcall_info_cache; | |
# 87 "/usr/include/php/Zend/zend_API.h" | |
# 112 "/usr/include/php/Zend/zend_API.h" | |
# 153 "/usr/include/php/Zend/zend_API.h" | |
# 180 "/usr/include/php/Zend/zend_API.h" | |
# 214 "/usr/include/php/Zend/zend_API.h" | |
int zend_next_free_module(void); | |
__attribute__ ((visibility("default"))) int zend_get_parameters(int ht, int param_count, ...); | |
__attribute__ ((visibility("default"))) int _zend_get_parameters_array(int ht, int param_count, zval **argument_array ); | |
__attribute__ ((visibility("default"))) __attribute__((deprecated)) int zend_get_parameters_ex(int param_count, ...); | |
__attribute__ ((visibility("default"))) int _zend_get_parameters_array_ex(int param_count, zval ***argument_array ); | |
__attribute__ ((visibility("default"))) int zend_copy_parameters_array(int param_count, zval *argument_array ); | |
__attribute__ ((visibility("default"))) int zend_parse_parameters(int num_args , __const char *type_spec, ...); | |
__attribute__ ((visibility("default"))) int zend_parse_parameters_ex(int flags, int num_args , __const char *type_spec, ...); | |
__attribute__ ((visibility("default"))) char *zend_zval_type_name(__const zval *arg); | |
__attribute__ ((visibility("default"))) int zend_parse_method_parameters(int num_args , zval *this_ptr, __const char *type_spec, ...); | |
__attribute__ ((visibility("default"))) int zend_parse_method_parameters_ex(int flags, int num_args , zval *this_ptr, __const char *type_spec, ...); | |
__attribute__ ((visibility("default"))) int zend_parse_parameter(int flags, int arg_num , zval **arg, __const char *spec, ...); | |
__attribute__ ((visibility("default"))) int zend_register_functions(zend_class_entry *scope, __const zend_function_entry *functions, HashTable *function_table, int type ); | |
__attribute__ ((visibility("default"))) void zend_unregister_functions(__const zend_function_entry *functions, int count, HashTable *function_table ); | |
__attribute__ ((visibility("default"))) int zend_startup_module(zend_module_entry *module_entry); | |
__attribute__ ((visibility("default"))) zend_module_entry* zend_register_internal_module(zend_module_entry *module_entry ); | |
__attribute__ ((visibility("default"))) zend_module_entry* zend_register_module_ex(zend_module_entry *module ); | |
__attribute__ ((visibility("default"))) int zend_startup_module_ex(zend_module_entry *module ); | |
__attribute__ ((visibility("default"))) int zend_startup_modules(void); | |
__attribute__ ((visibility("default"))) void zend_collect_module_handlers(void); | |
__attribute__ ((visibility("default"))) void zend_destroy_modules(void); | |
__attribute__ ((visibility("default"))) void zend_check_magic_method_implementation(__const zend_class_entry *ce, __const zend_function *fptr, int error_type ); | |
__attribute__ ((visibility("default"))) zend_class_entry *zend_register_internal_class(zend_class_entry *class_entry ); | |
__attribute__ ((visibility("default"))) zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce, char *parent_name ); | |
__attribute__ ((visibility("default"))) zend_class_entry *zend_register_internal_interface(zend_class_entry *orig_class_entry ); | |
__attribute__ ((visibility("default"))) void zend_class_implements(zend_class_entry *class_entry , int num_interfaces, ...); | |
__attribute__ ((visibility("default"))) int zend_register_class_alias_ex(__const char *name, int name_len, zend_class_entry *ce ); | |
__attribute__ ((visibility("default"))) int zend_disable_function(char *function_name, uint function_name_length ); | |
__attribute__ ((visibility("default"))) int zend_disable_class(char *class_name, uint class_name_length ); | |
__attribute__ ((visibility("default"))) void zend_wrong_param_count(void); | |
__attribute__ ((visibility("default"))) zend_bool zend_is_callable_ex(zval *callable, zval *object_ptr, uint check_flags, char **callable_name, int *callable_name_len, zend_fcall_info_cache *fcc, char **error ); | |
__attribute__ ((visibility("default"))) zend_bool zend_is_callable(zval *callable, uint check_flags, char **callable_name ); | |
__attribute__ ((visibility("default"))) zend_bool zend_make_callable(zval *callable, char **callable_name ); | |
__attribute__ ((visibility("default"))) __const char *zend_get_module_version(__const char *module_name); | |
__attribute__ ((visibility("default"))) int zend_get_module_started(__const char *module_name); | |
__attribute__ ((visibility("default"))) int zend_declare_property(zend_class_entry *ce, __const char *name, int name_length, zval *property, int access_type ); | |
__attribute__ ((visibility("default"))) int zend_declare_property_ex(zend_class_entry *ce, __const char *name, int name_length, zval *property, int access_type, __const char *doc_comment, int doc_comment_len ); | |
__attribute__ ((visibility("default"))) int zend_declare_property_null(zend_class_entry *ce, __const char *name, int name_length, int access_type ); | |
__attribute__ ((visibility("default"))) int zend_declare_property_bool(zend_class_entry *ce, __const char *name, int name_length, long value, int access_type ); | |
__attribute__ ((visibility("default"))) int zend_declare_property_long(zend_class_entry *ce, __const char *name, int name_length, long value, int access_type ); | |
__attribute__ ((visibility("default"))) int zend_declare_property_double(zend_class_entry *ce, __const char *name, int name_length, double value, int access_type ); | |
__attribute__ ((visibility("default"))) int zend_declare_property_string(zend_class_entry *ce, __const char *name, int name_length, __const char *value, int access_type ); | |
__attribute__ ((visibility("default"))) int zend_declare_property_stringl(zend_class_entry *ce, __const char *name, int name_length, __const char *value, int value_len, int access_type ); | |
__attribute__ ((visibility("default"))) int zend_declare_class_constant(zend_class_entry *ce, __const char *name, size_t name_length, zval *value ); | |
__attribute__ ((visibility("default"))) int zend_declare_class_constant_null(zend_class_entry *ce, __const char *name, size_t name_length ); | |
__attribute__ ((visibility("default"))) int zend_declare_class_constant_long(zend_class_entry *ce, __const char *name, size_t name_length, long value ); | |
__attribute__ ((visibility("default"))) int zend_declare_class_constant_bool(zend_class_entry *ce, __const char *name, size_t name_length, zend_bool value ); | |
__attribute__ ((visibility("default"))) int zend_declare_class_constant_double(zend_class_entry *ce, __const char *name, size_t name_length, double value ); | |
__attribute__ ((visibility("default"))) int zend_declare_class_constant_stringl(zend_class_entry *ce, __const char *name, size_t name_length, __const char *value, size_t value_length ); | |
__attribute__ ((visibility("default"))) int zend_declare_class_constant_string(zend_class_entry *ce, __const char *name, size_t name_length, __const char *value ); | |
__attribute__ ((visibility("default"))) void zend_update_class_constants(zend_class_entry *class_type ); | |
__attribute__ ((visibility("default"))) void zend_update_property(zend_class_entry *scope, zval *object, __const char *name, int name_length, zval *value ); | |
__attribute__ ((visibility("default"))) void zend_update_property_null(zend_class_entry *scope, zval *object, __const char *name, int name_length ); | |
__attribute__ ((visibility("default"))) void zend_update_property_bool(zend_class_entry *scope, zval *object, __const char *name, int name_length, long value ); | |
__attribute__ ((visibility("default"))) void zend_update_property_long(zend_class_entry *scope, zval *object, __const char *name, int name_length, long value ); | |
__attribute__ ((visibility("default"))) void zend_update_property_double(zend_class_entry *scope, zval *object, __const char *name, int name_length, double value ); | |
__attribute__ ((visibility("default"))) void zend_update_property_string(zend_class_entry *scope, zval *object, __const char *name, int name_length, __const char *value ); | |
__attribute__ ((visibility("default"))) void zend_update_property_stringl(zend_class_entry *scope, zval *object, __const char *name, int name_length, __const char *value, int value_length ); | |
__attribute__ ((visibility("default"))) int zend_update_static_property(zend_class_entry *scope, __const char *name, int name_length, zval *value ); | |
__attribute__ ((visibility("default"))) int zend_update_static_property_null(zend_class_entry *scope, __const char *name, int name_length ); | |
__attribute__ ((visibility("default"))) int zend_update_static_property_bool(zend_class_entry *scope, __const char *name, int name_length, long value ); | |
__attribute__ ((visibility("default"))) int zend_update_static_property_long(zend_class_entry *scope, __const char *name, int name_length, long value ); | |
__attribute__ ((visibility("default"))) int zend_update_static_property_double(zend_class_entry *scope, __const char *name, int name_length, double value ); | |
__attribute__ ((visibility("default"))) int zend_update_static_property_string(zend_class_entry *scope, __const char *name, int name_length, __const char *value ); | |
__attribute__ ((visibility("default"))) int zend_update_static_property_stringl(zend_class_entry *scope, __const char *name, int name_length, __const char *value, int value_length ); | |
__attribute__ ((visibility("default"))) zval *zend_read_property(zend_class_entry *scope, zval *object, __const char *name, int name_length, zend_bool silent ); | |
__attribute__ ((visibility("default"))) zval *zend_read_static_property(zend_class_entry *scope, __const char *name, int name_length, zend_bool silent ); | |
__attribute__ ((visibility("default"))) zend_class_entry *zend_get_class_entry(__const zval *zobject ); | |
__attribute__ ((visibility("default"))) int zend_get_object_classname(__const zval *object, __const char **class_name, zend_uint *class_name_len ); | |
__attribute__ ((visibility("default"))) char *zend_get_type_by_const(int type); | |
__attribute__ ((visibility("default"))) int _array_init(zval *arg, uint size ); | |
__attribute__ ((visibility("default"))) int _object_init(zval *arg ); | |
__attribute__ ((visibility("default"))) int _object_init_ex(zval *arg, zend_class_entry *ce ); | |
__attribute__ ((visibility("default"))) int _object_and_properties_init(zval *arg, zend_class_entry *ce, HashTable *properties ); | |
__attribute__ ((visibility("default"))) void object_properties_init(zend_object *object, zend_class_entry *class_type); | |
__attribute__ ((visibility("default"))) void zend_merge_properties(zval *obj, HashTable *properties, int destroy_ht ); | |
__attribute__ ((visibility("default"))) int add_assoc_function(zval *arg, __const char *key, void (*function_ptr)(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used )); | |
__attribute__ ((visibility("default"))) int add_assoc_long_ex(zval *arg, __const char *key, uint key_len, long n); | |
__attribute__ ((visibility("default"))) int add_assoc_null_ex(zval *arg, __const char *key, uint key_len); | |
__attribute__ ((visibility("default"))) int add_assoc_bool_ex(zval *arg, __const char *key, uint key_len, int b); | |
__attribute__ ((visibility("default"))) int add_assoc_resource_ex(zval *arg, __const char *key, uint key_len, int r); | |
__attribute__ ((visibility("default"))) int add_assoc_double_ex(zval *arg, __const char *key, uint key_len, double d); | |
__attribute__ ((visibility("default"))) int add_assoc_string_ex(zval *arg, __const char *key, uint key_len, char *str, int duplicate); | |
__attribute__ ((visibility("default"))) int add_assoc_stringl_ex(zval *arg, __const char *key, uint key_len, char *str, uint length, int duplicate); | |
__attribute__ ((visibility("default"))) int add_assoc_zval_ex(zval *arg, __const char *key, uint key_len, zval *value); | |
__attribute__ ((visibility("default"))) int add_index_long(zval *arg, unsigned long idx, long n); | |
__attribute__ ((visibility("default"))) int add_index_null(zval *arg, unsigned long idx); | |
__attribute__ ((visibility("default"))) int add_index_bool(zval *arg, unsigned long idx, int b); | |
__attribute__ ((visibility("default"))) int add_index_resource(zval *arg, unsigned long idx, int r); | |
__attribute__ ((visibility("default"))) int add_index_double(zval *arg, unsigned long idx, double d); | |
__attribute__ ((visibility("default"))) int add_index_string(zval *arg, unsigned long idx, __const char *str, int duplicate); | |
__attribute__ ((visibility("default"))) int add_index_stringl(zval *arg, unsigned long idx, __const char *str, uint length, int duplicate); | |
__attribute__ ((visibility("default"))) int add_index_zval(zval *arg, unsigned long index, zval *value); | |
__attribute__ ((visibility("default"))) int add_next_index_long(zval *arg, long n); | |
__attribute__ ((visibility("default"))) int add_next_index_null(zval *arg); | |
__attribute__ ((visibility("default"))) int add_next_index_bool(zval *arg, int b); | |
__attribute__ ((visibility("default"))) int add_next_index_resource(zval *arg, int r); | |
__attribute__ ((visibility("default"))) int add_next_index_double(zval *arg, double d); | |
__attribute__ ((visibility("default"))) int add_next_index_string(zval *arg, __const char *str, int duplicate); | |
__attribute__ ((visibility("default"))) int add_next_index_stringl(zval *arg, __const char *str, uint length, int duplicate); | |
__attribute__ ((visibility("default"))) int add_next_index_zval(zval *arg, zval *value); | |
__attribute__ ((visibility("default"))) int add_get_assoc_string_ex(zval *arg, __const char *key, uint key_len, __const char *str, void **dest, int duplicate); | |
__attribute__ ((visibility("default"))) int add_get_assoc_stringl_ex(zval *arg, __const char *key, uint key_len, __const char *str, uint length, void **dest, int duplicate); | |
__attribute__ ((visibility("default"))) int add_get_index_long(zval *arg, unsigned long idx, long l, void **dest); | |
__attribute__ ((visibility("default"))) int add_get_index_double(zval *arg, unsigned long idx, double d, void **dest); | |
__attribute__ ((visibility("default"))) int add_get_index_string(zval *arg, unsigned long idx, __const char *str, void **dest, int duplicate); | |
__attribute__ ((visibility("default"))) int add_get_index_stringl(zval *arg, unsigned long idx, __const char *str, uint length, void **dest, int duplicate); | |
__attribute__ ((visibility("default"))) int array_set_zval_key(HashTable *ht, zval *key, zval *value); | |
__attribute__ ((visibility("default"))) int add_property_long_ex(zval *arg, __const char *key, uint key_len, long l ); | |
__attribute__ ((visibility("default"))) int add_property_null_ex(zval *arg, __const char *key, uint key_len ); | |
__attribute__ ((visibility("default"))) int add_property_bool_ex(zval *arg, __const char *key, uint key_len, int b ); | |
__attribute__ ((visibility("default"))) int add_property_resource_ex(zval *arg, __const char *key, uint key_len, long r ); | |
__attribute__ ((visibility("default"))) int add_property_double_ex(zval *arg, __const char *key, uint key_len, double d ); | |
__attribute__ ((visibility("default"))) int add_property_string_ex(zval *arg, __const char *key, uint key_len, __const char *str, int duplicate ); | |
__attribute__ ((visibility("default"))) int add_property_stringl_ex(zval *arg, __const char *key, uint key_len, __const char *str, uint length, int duplicate ); | |
__attribute__ ((visibility("default"))) int add_property_zval_ex(zval *arg, __const char *key, uint key_len, zval *value ); | |
__attribute__ ((visibility("default"))) int call_user_function(HashTable *function_table, zval **object_pp, zval *function_name, zval *retval_ptr, zend_uint param_count, zval *params[] ); | |
__attribute__ ((visibility("default"))) int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *function_name, zval **retval_ptr_ptr, zend_uint param_count, zval **params[], int no_separation, HashTable *symbol_table ); | |
__attribute__ ((visibility("default"))) extern __const zend_fcall_info empty_fcall_info; | |
__attribute__ ((visibility("default"))) extern __const zend_fcall_info_cache empty_fcall_info_cache; | |
# 465 "/usr/include/php/Zend/zend_API.h" | |
__attribute__ ((visibility("default"))) int zend_fcall_info_init(zval *callable, uint check_flags, zend_fcall_info *fci, zend_fcall_info_cache *fcc, char **callable_name, char **error ); | |
__attribute__ ((visibility("default"))) void zend_fcall_info_args_clear(zend_fcall_info *fci, int free_mem); | |
__attribute__ ((visibility("default"))) void zend_fcall_info_args_save(zend_fcall_info *fci, int *param_count, zval ****params); | |
__attribute__ ((visibility("default"))) void zend_fcall_info_args_restore(zend_fcall_info *fci, int param_count, zval ***params); | |
__attribute__ ((visibility("default"))) int zend_fcall_info_args(zend_fcall_info *fci, zval *args ); | |
__attribute__ ((visibility("default"))) int zend_fcall_info_argp(zend_fcall_info *fci , int argc, zval ***argv); | |
__attribute__ ((visibility("default"))) int zend_fcall_info_argv(zend_fcall_info *fci , int argc, va_list *argv); | |
__attribute__ ((visibility("default"))) int zend_fcall_info_argn(zend_fcall_info *fci , int argc, ...); | |
__attribute__ ((visibility("default"))) int zend_fcall_info_call(zend_fcall_info *fci, zend_fcall_info_cache *fcc, zval **retval, zval *args ); | |
__attribute__ ((visibility("default"))) int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache ); | |
__attribute__ ((visibility("default"))) int zend_set_hash_symbol(zval *symbol, __const char *name, int name_length, zend_bool is_ref, int num_symbol_tables, ...); | |
__attribute__ ((visibility("default"))) void zend_delete_variable(zend_execute_data *ex, HashTable *ht, __const char *name, int name_len, unsigned long hash_value ); | |
__attribute__ ((visibility("default"))) int zend_delete_global_variable(__const char *name, int name_len ); | |
__attribute__ ((visibility("default"))) int zend_delete_global_variable_ex(__const char *name, int name_len, unsigned long hash_value ); | |
__attribute__ ((visibility("default"))) void zend_reset_all_cv(HashTable *symbol_table ); | |
__attribute__ ((visibility("default"))) void zend_rebuild_symbol_table(void); | |
__attribute__ ((visibility("default"))) __const char* zend_find_alias_name(zend_class_entry *ce, __const char *name, zend_uint len); | |
__attribute__ ((visibility("default"))) __const char* zend_resolve_method_name(zend_class_entry *ce, zend_function *f); | |
__attribute__ ((visibility("default"))) void zif_##display_disabled_function(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
__attribute__ ((visibility("default"))) void zif_##display_disabled_class(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
# 542 "/usr/include/php/Zend/zend_API.h" | |
# 613 "/usr/include/php/Zend/zend_API.h" | |
# 628 "/usr/include/php/Zend/zend_API.h" | |
# 640 "/usr/include/php/Zend/zend_API.h" | |
# 708 "/usr/include/php/Zend/zend_API.h" | |
# 39 "/usr/include/php/main/php.h" 2 | |
# 67 "/usr/include/php/main/php.h" | |
# 1 "/usr/include/assert.h" 1 3 4 | |
# 40 "/usr/include/assert.h" 3 4 | |
# 83 "/usr/include/php/main/php.h" 2 | |
# 1 "/usr/include/php/main/build-defs.h" 1 | |
# 17 "/usr/include/php/main/build-defs.h" | |
# 99 "/usr/include/php/main/php.h" 2 | |
# 121 "/usr/include/php/main/php.h" | |
# 1 "/usr/include/ctype.h" 1 3 4 | |
# 22 "/usr/include/ctype.h" 3 4 | |
# 64 "/usr/include/ctype.h" 3 4 | |
# 1 "/usr/include/runetype.h" 1 3 4 | |
# 37 "/usr/include/runetype.h" 3 4 | |
# 1 "/usr/include/sys/_types/_wchar_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_wchar_t.h" 3 4 | |
# 50 "/usr/include/runetype.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_wint_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_wint_t.h" 3 4 | |
typedef __darwin_wint_t wint_t; | |
# 51 "/usr/include/runetype.h" 2 3 4 | |
typedef struct { | |
__darwin_rune_t __min; | |
__darwin_rune_t __max; | |
__darwin_rune_t __map; | |
__uint32_t *__types; | |
} _RuneEntry; | |
typedef struct { | |
int __nranges; | |
_RuneEntry *__ranges; | |
} _RuneRange; | |
typedef struct { | |
char __name[14]; | |
__uint32_t __mask; | |
} _RuneCharClass; | |
typedef struct { | |
char __magic[8]; | |
char __encoding[32]; | |
__darwin_rune_t (*__sgetrune)(__const char *, __darwin_size_t, char __const **); | |
int (*__sputrune)(__darwin_rune_t, char *, __darwin_size_t, char **); | |
__darwin_rune_t __invalid_rune; | |
__uint32_t __runetype[(1 <<8 )]; | |
__darwin_rune_t __maplower[(1 <<8 )]; | |
__darwin_rune_t __mapupper[(1 <<8 )]; | |
_RuneRange __runetype_ext; | |
_RuneRange __maplower_ext; | |
_RuneRange __mapupper_ext; | |
void *__variable; | |
int __variable_len; | |
int __ncharclasses; | |
_RuneCharClass *__charclasses; | |
} _RuneLocale; | |
extern _RuneLocale _DefaultRuneLocale; | |
extern _RuneLocale *_CurrentRuneLocale; | |
# 71 "/usr/include/ctype.h" 2 3 4 | |
# 92 "/usr/include/ctype.h" 3 4 | |
# 116 "/usr/include/ctype.h" 3 4 | |
unsigned long ___runetype(__darwin_ct_rune_t); | |
__darwin_ct_rune_t ___tolower(__darwin_ct_rune_t); | |
__darwin_ct_rune_t ___toupper(__darwin_ct_rune_t); | |
__inline int | |
isascii(int _c) | |
{ | |
return ((_c & ~0x7F) == 0); | |
} | |
int __maskrune(__darwin_ct_rune_t, unsigned long); | |
__inline int | |
__istype(__darwin_ct_rune_t _c, unsigned long _f) | |
{ | |
return (isascii(_c) ? !!(_DefaultRuneLocale.__runetype[_c] & _f) | |
: !!__maskrune(_c, _f)); | |
} | |
__inline __darwin_ct_rune_t | |
__isctype(__darwin_ct_rune_t _c, unsigned long _f) | |
{ | |
return (_c < 0 || _c >= (1 <<8 )) ? 0 : | |
!!(_DefaultRuneLocale.__runetype[_c] & _f); | |
} | |
# 187 "/usr/include/ctype.h" 3 4 | |
__darwin_ct_rune_t __toupper(__darwin_ct_rune_t); | |
__darwin_ct_rune_t __tolower(__darwin_ct_rune_t); | |
__inline int | |
__wcwidth(__darwin_ct_rune_t _c) | |
{ | |
unsigned int _x; | |
if (_c == 0) | |
return (0); | |
_x = (unsigned int)__maskrune(_c, 0xe0000000L|0x00040000L); | |
if ((_x & 0xe0000000L) != 0) | |
return ((_x & 0xe0000000L) >> 30); | |
return ((_x & 0x00040000L) != 0 ? 1 : -1); | |
} | |
__inline int | |
isalnum(int _c) | |
{ | |
return (__istype(_c, 0x00000100L|0x00000400L)); | |
} | |
__inline int | |
isalpha(int _c) | |
{ | |
return (__istype(_c, 0x00000100L)); | |
} | |
__inline int | |
isblank(int _c) | |
{ | |
return (__istype(_c, 0x00020000L)); | |
} | |
__inline int | |
iscntrl(int _c) | |
{ | |
return (__istype(_c, 0x00000200L)); | |
} | |
__inline int | |
isdigit(int _c) | |
{ | |
return (__isctype(_c, 0x00000400L)); | |
} | |
__inline int | |
isgraph(int _c) | |
{ | |
return (__istype(_c, 0x00000800L)); | |
} | |
__inline int | |
islower(int _c) | |
{ | |
return (__istype(_c, 0x00001000L)); | |
} | |
__inline int | |
isprint(int _c) | |
{ | |
return (__istype(_c, 0x00040000L)); | |
} | |
__inline int | |
ispunct(int _c) | |
{ | |
return (__istype(_c, 0x00002000L)); | |
} | |
__inline int | |
isspace(int _c) | |
{ | |
return (__istype(_c, 0x00004000L)); | |
} | |
__inline int | |
isupper(int _c) | |
{ | |
return (__istype(_c, 0x00008000L)); | |
} | |
__inline int | |
isxdigit(int _c) | |
{ | |
return (__isctype(_c, 0x00010000L)); | |
} | |
__inline int | |
toascii(int _c) | |
{ | |
return (_c & 0x7F); | |
} | |
__inline int | |
tolower(int _c) | |
{ | |
return (__tolower(_c)); | |
} | |
__inline int | |
toupper(int _c) | |
{ | |
return (__toupper(_c)); | |
} | |
__inline int | |
digittoint(int _c) | |
{ | |
return (__maskrune(_c, 0x0F)); | |
} | |
__inline int | |
ishexnumber(int _c) | |
{ | |
return (__istype(_c, 0x00010000L)); | |
} | |
__inline int | |
isideogram(int _c) | |
{ | |
return (__istype(_c, 0x00080000L)); | |
} | |
__inline int | |
isnumber(int _c) | |
{ | |
return (__istype(_c, 0x00000400L)); | |
} | |
__inline int | |
isphonogram(int _c) | |
{ | |
return (__istype(_c, 0x00200000L)); | |
} | |
__inline int | |
isrune(int _c) | |
{ | |
return (__istype(_c, 0xFFFFFFF0L)); | |
} | |
__inline int | |
isspecial(int _c) | |
{ | |
return (__istype(_c, 0x00100000L)); | |
} | |
# 382 "/usr/include/ctype.h" 3 4 | |
# 164 "/usr/include/php/main/php.h" 2 | |
# 1 "/usr/include/unistd.h" 1 3 4 | |
# 22 "/usr/include/unistd.h" 3 4 | |
# 60 "/usr/include/unistd.h" 3 4 | |
# 1 "/usr/include/sys/unistd.h" 1 3 4 | |
# 27 "/usr/include/sys/unistd.h" 3 4 | |
# 62 "/usr/include/sys/unistd.h" 3 4 | |
# 1 "/usr/include/sys/_types/_posix_vdisable.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_posix_vdisable.h" 3 4 | |
# 85 "/usr/include/sys/unistd.h" 2 3 4 | |
# 113 "/usr/include/sys/unistd.h" 3 4 | |
# 1 "/usr/include/sys/_types/_seek_set.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_seek_set.h" 3 4 | |
# 123 "/usr/include/sys/unistd.h" 2 3 4 | |
struct accessx_descriptor { | |
unsigned int ad_name_offset; | |
int ad_flags; | |
int ad_pad[2]; | |
}; | |
# 151 "/usr/include/sys/unistd.h" 3 4 | |
# 172 "/usr/include/sys/unistd.h" 3 4 | |
# 1 "/usr/include/Availability.h" 1 3 4 | |
# 22 "/usr/include/Availability.h" 3 4 | |
# 183 "/usr/include/Availability.h" 3 4 | |
#define __attribute__((availability(_target, _availability))) | |
#if 1 | |
#define | |
#define | |
# 182 "/usr/include/sys/unistd.h" 2 3 4 | |
int getattrlistbulk(int, void *, void *, size_t, uint64_t) __OSX_AVAILABLE_STARTING(101000, 80000); | |
# 1 "/usr/include/Availability.h" 1 3 4 | |
# 22 "/usr/include/Availability.h" 3 4 | |
# 183 "/usr/include/Availability.h" 3 4 | |
#define __attribute__((availability(_target, _availability))) | |
#if 1 | |
#define | |
#define | |
# 200 "/usr/include/sys/unistd.h" 2 3 4 | |
int faccessat(int, __const char *, int, int) __OSX_AVAILABLE_STARTING(101000, 80000); | |
int fchownat(int, __const char *, uid_t, gid_t, int) __OSX_AVAILABLE_STARTING(101000, 80000); | |
int linkat(int, __const char *, int, __const char *, int) __OSX_AVAILABLE_STARTING(101000, 80000); | |
ssize_t readlinkat(int, __const char *, char *, size_t) __OSX_AVAILABLE_STARTING(101000, 80000); | |
int symlinkat(__const char *, int, __const char *) __OSX_AVAILABLE_STARTING(101000, 80000); | |
int unlinkat(int, __const char *, int) __OSX_AVAILABLE_STARTING(101000, 80000); | |
int getattrlistat(int, __const char *, void *, void *, size_t, unsigned long) __OSX_AVAILABLE_STARTING(101000, 80000); | |
# 73 "/usr/include/unistd.h" 2 3 4 | |
# 1 "/usr/include/Availability.h" 1 3 4 | |
# 22 "/usr/include/Availability.h" 3 4 | |
# 183 "/usr/include/Availability.h" 3 4 | |
#define __attribute__((availability(_target, _availability))) | |
#if 1 | |
#define | |
#define | |
# 74 "/usr/include/unistd.h" 2 3 4 | |
# 148 "/usr/include/unistd.h" 3 4 | |
# 165 "/usr/include/unistd.h" 3 4 | |
# 210 "/usr/include/unistd.h" 3 4 | |
# 239 "/usr/include/unistd.h" 3 4 | |
# 267 "/usr/include/unistd.h" 3 4 | |
# 326 "/usr/include/unistd.h" 3 4 | |
# 342 "/usr/include/unistd.h" 3 4 | |
# 385 "/usr/include/unistd.h" 3 4 | |
# 405 "/usr/include/unistd.h" 3 4 | |
void _exit(int) __attribute__((noreturn)); | |
int access(__const char *, int); | |
unsigned int | |
alarm(unsigned int); | |
int chdir(__const char *); | |
int chown(__const char *, uid_t, gid_t); | |
int close(int) __asm("_" "x") ; | |
int dup(int); | |
int dup2(int, int); | |
int execl(__const char *, __const char *, ...); | |
int execle(__const char *, __const char *, ...); | |
int execlp(__const char *, __const char *, ...); | |
int execv(__const char *, char * __const *); | |
int execve(__const char *, char * __const *, char * __const *); | |
int execvp(__const char *, char * __const *); | |
pid_t fork(void); | |
long fpathconf(int, int); | |
char *getcwd(char *, size_t); | |
gid_t getegid(void); | |
uid_t geteuid(void); | |
gid_t getgid(void); | |
int getgroups(int, gid_t []); | |
char *getlogin(void); | |
pid_t getpgrp(void); | |
pid_t getpid(void); | |
pid_t getppid(void); | |
uid_t getuid(void); | |
int isatty(int); | |
int link(__const char *, __const char *); | |
off_t lseek(int, off_t, int); | |
long pathconf(__const char *, int); | |
int pause(void) __asm("_" "x") ; | |
int pipe(int [2]); | |
ssize_t read(int, void *, size_t) __asm("_" "x") ; | |
int rmdir(__const char *); | |
int setgid(gid_t); | |
int setpgid(pid_t, pid_t); | |
pid_t setsid(void); | |
int setuid(uid_t); | |
unsigned int | |
sleep(unsigned int) __asm("_" "x") ; | |
long sysconf(int); | |
pid_t tcgetpgrp(int); | |
int tcsetpgrp(int, pid_t); | |
char *ttyname(int); | |
int ttyname_r(int, char *, size_t) __asm("_" "x") ; | |
int unlink(__const char *); | |
ssize_t write(int, __const void *, size_t) __asm("_" "x") ; | |
size_t confstr(int, char *, size_t) __asm("_" "x") ; | |
int getopt(int, char * __const [], __const char *) __asm("_" "x") ; | |
extern char *optarg; | |
extern int optind, opterr, optopt; | |
__attribute__((deprecated)) | |
void *brk(__const void *); | |
int chroot(__const char *) ___POSIX_C_DEPRECATED_STARTING_##199506L; | |
char *crypt(__const char *, __const char *); | |
void encrypt(char *, int) __asm("_" "x") ; | |
int fchdir(int); | |
long gethostid(void); | |
pid_t getpgid(pid_t); | |
pid_t getsid(pid_t); | |
int getdtablesize(void) ___POSIX_C_DEPRECATED_STARTING_##199506L; | |
int getpagesize(void) __attribute__((__const)) ___POSIX_C_DEPRECATED_STARTING_##199506L; | |
char *getpass(__const char *) ___POSIX_C_DEPRECATED_STARTING_##199506L; | |
char *getwd(char *) ___POSIX_C_DEPRECATED_STARTING_##200112L; | |
int lchown(__const char *, uid_t, gid_t) __asm("_" "x") ; | |
int lockf(int, int, off_t) __asm("_" "x") ; | |
int nice(int) __asm("_" "x") ; | |
ssize_t pread(int, void *, size_t, off_t) __asm("_" "x") ; | |
ssize_t pwrite(int, __const void *, size_t, off_t) __asm("_" "x") ; | |
__attribute__((deprecated)) | |
void *sbrk(int); | |
pid_t setpgrp(void) __asm("_" "x") ; | |
int setregid(gid_t, gid_t) __asm("_" "x") ; | |
int setreuid(uid_t, uid_t) __asm("_" "x") ; | |
void swab(__const void * __restrict__, void * __restrict__, ssize_t); | |
void sync(void); | |
int truncate(__const char *, off_t); | |
useconds_t ualarm(useconds_t, useconds_t); | |
int usleep(useconds_t) __asm("_" "x") ; | |
pid_t vfork(void); | |
int fsync(int) __asm("_" "x") ; | |
int ftruncate(int, off_t); | |
int getlogin_r(char *, size_t); | |
int fchown(int, uid_t, gid_t); | |
int gethostname(char *, size_t); | |
ssize_t readlink(__const char * __restrict__, char * __restrict__, size_t); | |
int setegid(gid_t); | |
int seteuid(uid_t); | |
int symlink(__const char *, __const char *); | |
# 1 "/usr/include/sys/_types/_uuid_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_uuid_t.h" 3 4 | |
typedef __darwin_uuid_t uuid_t; | |
# 638 "/usr/include/unistd.h" 2 3 4 | |
void _Exit(int) __attribute__((noreturn)); | |
int accessx_np(__const struct accessx_descriptor *, size_t, int *, uid_t); | |
int acct(__const char *); | |
int add_profil(char *, size_t, unsigned long, unsigned int); | |
void endusershell(void); | |
int execvP(__const char *, __const char *, char * __const *); | |
char *fflagstostr(unsigned long); | |
int getdomainname(char *, int); | |
int getgrouplist(__const char *, int, int *, int *); | |
# 1 "/usr/include/gethostuuid.h" 1 3 4 | |
# 27 "/usr/include/gethostuuid.h" 3 4 | |
# 1 "/usr/include/Availability.h" 1 3 4 | |
# 22 "/usr/include/Availability.h" 3 4 | |
# 183 "/usr/include/Availability.h" 3 4 | |
#define __attribute__((availability(_target, _availability))) | |
#if 1 | |
#define | |
#define | |
# 35 "/usr/include/gethostuuid.h" 2 3 4 | |
int gethostuuid(uuid_t, __const struct timespec *) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_NA, __MAC_NA, 20000, 50000, "gethostuuid() is no longer supported"); | |
# 654 "/usr/include/unistd.h" 2 3 4 | |
mode_t getmode(__const void *, mode_t); | |
int getpeereid(int, uid_t *, gid_t *); | |
int getsgroups_np(int *, uuid_t); | |
char *getusershell(void); | |
int getwgroups_np(int *, uuid_t); | |
int initgroups(__const char *, int); | |
int iruserok(unsigned long, int, __const char *, __const char *); | |
int iruserok_sa(__const void *, int, int, __const char *, __const char *); | |
int issetugid(void); | |
char *mkdtemp(char *); | |
int mknod(__const char *, mode_t, dev_t); | |
int mkpath_np(__const char *path, mode_t omode) __OSX_AVAILABLE_STARTING(1080, 50000); | |
int mkstemp(char *); | |
int mkstemps(char *, int); | |
char *mktemp(char *); | |
int nfssvc(int, void *); | |
int profil(char *, size_t, unsigned long, unsigned int); | |
int pthread_setugid_np(uid_t, gid_t); | |
int pthread_getugid_np( uid_t *, gid_t *); | |
int rcmd(char **, int, __const char *, __const char *, __const char *, int *); | |
int rcmd_af(char **, int, __const char *, __const char *, __const char *, int *, | |
int); | |
int reboot(int); | |
int revoke(__const char *); | |
int rresvport(int *); | |
int rresvport_af(int *, int); | |
int ruserok(__const char *, int, __const char *, __const char *); | |
int setdomainname(__const char *, int); | |
int setgroups(int, __const gid_t *); | |
void sethostid(long); | |
int sethostname(__const char *, int); | |
void setkey(__const char *) __asm("_" "x") ; | |
int setlogin(__const char *); | |
void *setmode(__const char *) __DARWIN_ALIAS_STARTING_MAC_##1060( __asm("_" "x")); | |
int setrgid(gid_t); | |
int setruid(uid_t); | |
int setsgroups_np(int, __const uuid_t); | |
void setusershell(void); | |
int setwgroups_np(int, __const uuid_t); | |
int strtofflags(char **, unsigned long *, unsigned long *); | |
int swapon(__const char *); | |
int syscall(int, ...); | |
int ttyslot(void); | |
int undelete(__const char *); | |
int unwhiteout(__const char *); | |
void *valloc(size_t); | |
extern char *suboptarg; | |
int getsubopt(char **, char * __const *, char **); | |
int fgetattrlist(int,void*,void*,size_t,unsigned int) __OSX_AVAILABLE_STARTING(1060, 30000); | |
int fsetattrlist(int,void*,void*,size_t,unsigned int) __OSX_AVAILABLE_STARTING(1060, 30000); | |
int getattrlist(__const char*,void*,void*,size_t,unsigned int) __asm("_" "x") ; | |
int setattrlist(__const char*,void*,void*,size_t,unsigned int) __asm("_" "x") ; | |
int exchangedata(__const char*,__const char*,unsigned int); | |
int getdirentriesattr(int,void*,void*,size_t,unsigned int*,unsigned int*,unsigned int*,unsigned int); | |
# 730 "/usr/include/unistd.h" 3 4 | |
struct fssearchblock; | |
struct searchstate; | |
int searchfs(__const char *, struct fssearchblock *, unsigned long *, unsigned int, unsigned int, struct searchstate *); | |
int fsctl(__const char *,unsigned long,void*,unsigned int); | |
int ffsctl(int,unsigned long,void*,unsigned int) __OSX_AVAILABLE_STARTING(1060, 30000); | |
int fsync_volume_np(int, int) __OSX_AVAILABLE_STARTING(1080, 60000); | |
int sync_volume_np(__const char *, int) __OSX_AVAILABLE_STARTING(1080, 60000); | |
extern int optreset; | |
# 166 "/usr/include/php/main/php.h" 2 | |
# 197 "/usr/include/php/main/php.h" | |
# 1 "/usr/include/pwd.h" 1 3 4 | |
# 40 "/usr/include/pwd.h" 3 4 | |
struct passwd { | |
char *pw_name; | |
char *pw_passwd; | |
uid_t pw_uid; | |
gid_t pw_gid; | |
__darwin_time_t pw_change; | |
char *pw_class; | |
char *pw_gecos; | |
char *pw_dir; | |
char *pw_shell; | |
__darwin_time_t pw_expire; | |
}; | |
struct passwd *getpwuid(uid_t); | |
struct passwd *getpwnam(__const char *); | |
int getpwuid_r(uid_t, struct passwd *, char *, size_t, struct passwd **); | |
int getpwnam_r(__const char *, struct passwd *, char *, size_t, struct passwd **); | |
struct passwd *getpwent(void); | |
void setpwent(void); | |
void endpwent(void); | |
# 1 "/usr/include/uuid/uuid.h" 1 3 4 | |
# 33 "/usr/include/uuid/uuid.h" 3 4 | |
typedef __darwin_uuid_string_t uuid_string_t; | |
void uuid_clear(uuid_t uu); | |
int uuid_compare(__const uuid_t uu1, __const uuid_t uu2); | |
void uuid_copy(uuid_t dst, __const uuid_t src); | |
void uuid_generate(uuid_t out); | |
void uuid_generate_random(uuid_t out); | |
void uuid_generate_time(uuid_t out); | |
int uuid_is_null(__const uuid_t uu); | |
int uuid_parse(__const uuid_string_t in, uuid_t uu); | |
void uuid_unparse(__const uuid_t uu, uuid_string_t out); | |
void uuid_unparse_lower(__const uuid_t uu, uuid_string_t out); | |
void uuid_unparse_upper(__const uuid_t uu, uuid_string_t out); | |
# 111 "/usr/include/pwd.h" 2 3 4 | |
int setpassent(int); | |
char *user_from_uid(uid_t, int); | |
struct passwd *getpwuuid(uuid_t); | |
int getpwuuid_r(uuid_t, struct passwd *, char *, size_t, struct passwd **); | |
# 207 "/usr/include/php/main/php.h" 2 | |
# 1 "/usr/include/sys/param.h" 1 3 4 | |
# 27 "/usr/include/sys/param.h" 3 4 | |
# 67 "/usr/include/sys/param.h" 3 4 | |
# 105 "/usr/include/sys/param.h" 3 4 | |
# 1 "/usr/include/machine/param.h" 1 3 4 | |
# 27 "/usr/include/machine/param.h" 3 4 | |
# 1 "/usr/include/i386/param.h" 1 3 4 | |
# 27 "/usr/include/i386/param.h" 3 4 | |
# 66 "/usr/include/i386/param.h" 3 4 | |
# 1 "/usr/include/i386/_param.h" 1 3 4 | |
# 27 "/usr/include/i386/_param.h" 3 4 | |
# 76 "/usr/include/i386/param.h" 2 3 4 | |
# 147 "/usr/include/i386/param.h" 3 4 | |
# 36 "/usr/include/machine/param.h" 2 3 4 | |
# 108 "/usr/include/sys/param.h" 2 3 4 | |
# 131 "/usr/include/sys/param.h" 3 4 | |
# 163 "/usr/include/sys/param.h" 3 4 | |
# 180 "/usr/include/sys/param.h" 3 4 | |
# 235 "/usr/include/sys/param.h" 3 4 | |
# 249 "/usr/include/sys/param.h" 3 4 | |
# 208 "/usr/include/php/main/php.h" 2 | |
# 1 "/usr/include/php/main/snprintf.h" 1 | |
# 18 "/usr/include/php/main/snprintf.h" | |
# 68 "/usr/include/php/main/snprintf.h" | |
typedef int bool_int; | |
typedef enum { | |
NO = 0, YES = 1 | |
} boolean_e; | |
__attribute__ ((visibility("default"))) int ap_php_slprintf(char *buf, size_t len, __const char *format,...); | |
__attribute__ ((visibility("default"))) int ap_php_vslprintf(char *buf, size_t len, __const char *format, va_list ap); | |
__attribute__ ((visibility("default"))) int ap_php_snprintf(char *, size_t, __const char *, ...); | |
__attribute__ ((visibility("default"))) int ap_php_vsnprintf(char *, size_t, __const char *, va_list ap); | |
__attribute__ ((visibility("default"))) int ap_php_vasprintf(char **buf, __const char *format, va_list ap); | |
__attribute__ ((visibility("default"))) int ap_php_asprintf(char **buf, __const char *format, ...); | |
__attribute__ ((visibility("default"))) int php_sprintf (char* s, __const char* format, ...) __attribute__ ((format(printf, 2, 3))); | |
__attribute__ ((visibility("default"))) char * php_gcvt(double value, int ndigit, char dec_point, char exponent, char *buf); | |
__attribute__ ((visibility("default"))) char * php_conv_fp(register char format, register double num, | |
boolean_e add_dp, int precision, char dec_point, bool_int * is_negative, char *buf, int *len); | |
typedef enum { | |
LM_STD = 0, | |
LM_INTMAX_T, | |
LM_PTRDIFF_T, | |
LM_LONG_LONG, | |
LM_SIZE_T, | |
LM_LONG, | |
LM_LONG_DOUBLE | |
} length_modifier_e; | |
# 152 "/usr/include/php/main/snprintf.h" | |
typedef long long int wide_int; | |
typedef unsigned long long int u_wide_int; | |
extern char * ap_php_conv_10(register wide_int num, register bool_int is_unsigned, | |
register bool_int * is_negative, char *buf_end, register int *len); | |
extern char * ap_php_conv_p2(register u_wide_int num, register int nbits, | |
char format, char *buf_end, register int *len); | |
# 237 "/usr/include/php/main/php.h" 2 | |
# 1 "/usr/include/php/main/spprintf.h" 1 | |
# 17 "/usr/include/php/main/spprintf.h" | |
# 32 "/usr/include/php/main/spprintf.h" | |
__attribute__ ((visibility("default"))) int spprintf( char **pbuf, size_t max_len, __const char *format, ...) __attribute__ ((format(printf, 3, 4))); | |
__attribute__ ((visibility("default"))) int vspprintf(char **pbuf, size_t max_len, __const char *format, va_list ap) __attribute__ ((format(printf, 3, 0))); | |
# 239 "/usr/include/php/main/php.h" 2 | |
# 256 "/usr/include/php/main/php.h" | |
extern char **environ; | |
void phperror(char *error); | |
__attribute__ ((visibility("default"))) int php_write(void *buf, uint size ); | |
__attribute__ ((visibility("default"))) int php_printf(__const char *format, ...) __attribute__ ((format(printf, 1, | |
# 281 "/usr/include/php/main/php.h" | |
2))); | |
__attribute__ ((visibility("default"))) int php_get_module_initialized(void); | |
__attribute__ ((visibility("default"))) void php_log_err(char *log_message ); | |
int Debug(char *format, ...) __attribute__ ((format(printf, 1, 2))); | |
int cfgparse(void); | |
static __inline __attribute__((deprecated)) void php_set_error_handling(zend_error_handling_t error_handling, zend_class_entry *exception_class ) | |
{ | |
zend_replace_error_handling(error_handling, exception_class, ((void*)0) ); | |
} | |
static __inline __attribute__((deprecated)) void php_std_error_handling() {} | |
__attribute__ ((visibility("default"))) void php_verror(__const char *docref, __const char *params, int type, __const char *format, va_list args ) __attribute__ ((format(printf, 4, 0))); | |
__attribute__ ((visibility("default"))) void php_error_docref0(__const char *docref , int type, __const char *format, ...) | |
__attribute__ ((format(printf, 0 + 3, 0 + 4))); | |
__attribute__ ((visibility("default"))) void php_error_docref1(__const char *docref , __const char *param1, int type, __const char *format, ...) | |
__attribute__ ((format(printf, 0 + 4, 0 + 5))); | |
__attribute__ ((visibility("default"))) void php_error_docref2(__const char *docref , __const char *param1, __const char *param2, int type, __const char *format, ...) | |
__attribute__ ((format(printf, 0 + 5, 0 + 6))); | |
__attribute__ ((visibility("default"))) extern int (*php_register_internal_extensions_func)(void); | |
__attribute__ ((visibility("default"))) int php_register_internal_extensions(void); | |
__attribute__ ((visibility("default"))) int php_mergesort(void *base, size_t nmemb, register size_t size, int (*cmp)(__const void *, __const void * ) ); | |
__attribute__ ((visibility("default"))) void php_register_pre_request_shutdown(void (*func)(void *), void *userdata); | |
__attribute__ ((visibility("default"))) void php_com_initialize(void); | |
__attribute__ ((visibility("default"))) char *php_get_current_user(void); | |
# 358 "/usr/include/php/main/php.h" | |
# 1 "/usr/include/php/main/php_output.h" 1 | |
# 17 "/usr/include/php/main/php_output.h" | |
typedef enum _php_output_handler_status_t { | |
PHP_OUTPUT_HANDLER_FAILURE, | |
PHP_OUTPUT_HANDLER_SUCCESS, | |
PHP_OUTPUT_HANDLER_NO_DATA | |
} php_output_handler_status_t; | |
typedef enum _php_output_handler_hook_t { | |
PHP_OUTPUT_HANDLER_HOOK_GET_OPAQ, | |
PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS, | |
PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL, | |
PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE, | |
PHP_OUTPUT_HANDLER_HOOK_DISABLE, | |
PHP_OUTPUT_HANDLER_HOOK_LAST | |
} php_output_handler_hook_t; | |
typedef struct _php_output_buffer { | |
char *data; | |
size_t size; | |
size_t used; | |
uint free:1; | |
uint _res:31; | |
} php_output_buffer; | |
typedef struct _php_output_context { | |
int op; | |
php_output_buffer in; | |
php_output_buffer out; | |
} php_output_context; | |
typedef void (*php_output_handler_func_t)(char *output, uint output_len, char **handled_output, uint *handled_output_len, int mode ); | |
typedef int (*php_output_handler_context_func_t)(void **handler_context, php_output_context *output_context); | |
typedef void (*php_output_handler_context_dtor_t)(void *opaq ); | |
typedef int (*php_output_handler_conflict_check_t)(__const char *handler_name, size_t handler_name_len ); | |
typedef struct _php_output_handler *(*php_output_handler_alias_ctor_t)(__const char *handler_name, size_t handler_name_len, size_t chunk_size, int flags ); | |
typedef struct _php_output_handler_user_func_t { | |
zend_fcall_info fci; | |
zend_fcall_info_cache fcc; | |
zval *zoh; | |
} php_output_handler_user_func_t; | |
typedef struct _php_output_handler { | |
char *name; | |
size_t name_len; | |
int flags; | |
int level; | |
size_t size; | |
php_output_buffer buffer; | |
void *opaq; | |
void (*dtor)(void *opaq ); | |
union { | |
php_output_handler_user_func_t *user; | |
php_output_handler_context_func_t internal; | |
} func; | |
} php_output_handler; | |
typedef struct _zend_##output##_globals { | |
int flags; | |
zend_stack handlers; | |
php_output_handler *active; | |
php_output_handler *running; | |
__const char *output_start_filename; | |
int output_start_lineno; | |
} zend_##output##_globals; | |
extern __const char php_output_default_handler_name[sizeof("default output handler")]; | |
extern __const char php_output_devnull_handler_name[sizeof("null output handler")]; | |
__attribute__ ((visibility("default"))) void php_output_startup(void); | |
__attribute__ ((visibility("default"))) void php_output_shutdown(void); | |
__attribute__ ((visibility("default"))) void php_output_register_constants(void); | |
__attribute__ ((visibility("default"))) int php_output_activate(void); | |
__attribute__ ((visibility("default"))) void php_output_deactivate(void); | |
__attribute__ ((visibility("default"))) void php_output_set_status(int status ); | |
__attribute__ ((visibility("default"))) int php_output_get_status(void); | |
__attribute__ ((visibility("default"))) void php_output_set_implicit_flush(int flush ); | |
__attribute__ ((visibility("default"))) __const char *php_output_get_start_filename(void); | |
__attribute__ ((visibility("default"))) int php_output_get_start_lineno(void); | |
__attribute__ ((visibility("default"))) int php_output_write_unbuffered(__const char *str, size_t len ); | |
__attribute__ ((visibility("default"))) int php_output_write(__const char *str, size_t len ); | |
__attribute__ ((visibility("default"))) int php_output_flush(void); | |
__attribute__ ((visibility("default"))) void php_output_flush_all(void); | |
__attribute__ ((visibility("default"))) int php_output_clean(void); | |
__attribute__ ((visibility("default"))) void php_output_clean_all(void); | |
__attribute__ ((visibility("default"))) int php_output_end(void); | |
__attribute__ ((visibility("default"))) void php_output_end_all(void); | |
__attribute__ ((visibility("default"))) int php_output_discard(void); | |
__attribute__ ((visibility("default"))) void php_output_discard_all(void); | |
__attribute__ ((visibility("default"))) int php_output_get_contents(zval *p ); | |
__attribute__ ((visibility("default"))) int php_output_get_length(zval *p ); | |
__attribute__ ((visibility("default"))) int php_output_get_level(void); | |
__attribute__ ((visibility("default"))) php_output_handler* php_output_get_active_handler(void); | |
__attribute__ ((visibility("default"))) int php_output_start_default(void); | |
__attribute__ ((visibility("default"))) int php_output_start_devnull(void); | |
__attribute__ ((visibility("default"))) int php_output_start_user(zval *output_handler, size_t chunk_size, int flags ); | |
__attribute__ ((visibility("default"))) int php_output_start_internal(__const char *name, size_t name_len, php_output_handler_func_t output_handler, size_t chunk_size, int flags ); | |
__attribute__ ((visibility("default"))) php_output_handler *php_output_handler_create_user(zval *handler, size_t chunk_size, int flags ); | |
__attribute__ ((visibility("default"))) php_output_handler *php_output_handler_create_internal(__const char *name, size_t name_len, php_output_handler_context_func_t handler, size_t chunk_size, int flags ); | |
__attribute__ ((visibility("default"))) void php_output_handler_set_context(php_output_handler *handler, void *opaq, void (*dtor)(void* ) ); | |
__attribute__ ((visibility("default"))) int php_output_handler_start(php_output_handler *handler ); | |
__attribute__ ((visibility("default"))) int php_output_handler_started(__const char *name, size_t name_len ); | |
__attribute__ ((visibility("default"))) int php_output_handler_hook(php_output_handler_hook_t type, void *arg ); | |
__attribute__ ((visibility("default"))) void php_output_handler_dtor(php_output_handler *handler ); | |
__attribute__ ((visibility("default"))) void php_output_handler_free(php_output_handler **handler ); | |
__attribute__ ((visibility("default"))) int php_output_handler_conflict(__const char *handler_new, size_t handler_new_len, __const char *handler_set, size_t handler_set_len ); | |
__attribute__ ((visibility("default"))) int php_output_handler_conflict_register(__const char *handler_name, size_t handler_name_len, php_output_handler_conflict_check_t check_func ); | |
__attribute__ ((visibility("default"))) int php_output_handler_reverse_conflict_register(__const char *handler_name, size_t handler_name_len, php_output_handler_conflict_check_t check_func ); | |
__attribute__ ((visibility("default"))) php_output_handler_alias_ctor_t *php_output_handler_alias(__const char *handler_name, size_t handler_name_len ); | |
__attribute__ ((visibility("default"))) int php_output_handler_alias_register(__const char *handler_name, size_t handler_name_len, php_output_handler_alias_ctor_t func ); | |
void zif_##ob_start(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
void zif_##ob_flush(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
void zif_##ob_clean(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
void zif_##ob_end_flush(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
void zif_##ob_end_clean(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
void zif_##ob_get_flush(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
void zif_##ob_get_clean(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
void zif_##ob_get_contents(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
void zif_##ob_get_length(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
void zif_##ob_get_level(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
void zif_##ob_get_status(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
void zif_##ob_implicit_flush(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
void zif_##ob_list_handlers(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
void zif_##output_add_rewrite_var(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
void zif_##output_reset_rewrite_vars(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
# 393 "/usr/include/php/main/php.h" 2 | |
# 1 "/usr/include/php/main/php_streams.h" 1 | |
# 17 "/usr/include/php/main/php_streams.h" | |
# 1 "/usr/include/sys/time.h" 1 3 4 | |
# 27 "/usr/include/sys/time.h" 3 4 | |
# 62 "/usr/include/sys/time.h" 3 4 | |
# 1 "/usr/include/Availability.h" 1 3 4 | |
# 22 "/usr/include/Availability.h" 3 4 | |
# 183 "/usr/include/Availability.h" 3 4 | |
#define __attribute__((availability(_target, _availability))) | |
#if 1 | |
#define | |
#define | |
# 70 "/usr/include/sys/time.h" 2 3 4 | |
struct itimerval { | |
struct timeval it_interval; | |
struct timeval it_value; | |
}; | |
struct timezone { | |
int tz_minuteswest; | |
int tz_dsttime; | |
}; | |
# 161 "/usr/include/sys/time.h" 3 4 | |
struct clockinfo { | |
int hz; | |
int tick; | |
int tickadj; | |
int stathz; | |
int profhz; | |
}; | |
# 1 "/usr/include/time.h" 1 3 4 | |
# 22 "/usr/include/time.h" 3 4 | |
# 61 "/usr/include/time.h" 3 4 | |
struct tm { | |
int tm_sec; | |
int tm_min; | |
int tm_hour; | |
int tm_mday; | |
int tm_mon; | |
int tm_year; | |
int tm_wday; | |
int tm_yday; | |
int tm_isdst; | |
long tm_gmtoff; | |
char *tm_zone; | |
}; | |
extern char *tzname[]; | |
extern int getdate_err; | |
extern long timezone __asm("_" "x") ; | |
extern int daylight; | |
char *asctime(__const struct tm *); | |
clock_t clock(void) __asm("_" "x") ; | |
char *ctime(__const time_t *); | |
double difftime(time_t, time_t); | |
struct tm *getdate(__const char *); | |
struct tm *gmtime(__const time_t *); | |
struct tm *localtime(__const time_t *); | |
time_t mktime(struct tm *) __asm("_" "x") ; | |
size_t strftime(char * __restrict__, size_t, __const char * __restrict__, __const struct tm * __restrict__) __asm("_" "x") ; | |
char *strptime(__const char * __restrict__, __const char * __restrict__, struct tm * __restrict__) __asm("_" "x") ; | |
time_t time(time_t *); | |
void tzset(void); | |
char *asctime_r(__const struct tm * __restrict__, char * __restrict__); | |
char *ctime_r(__const time_t *, char *); | |
struct tm *gmtime_r(__const time_t * __restrict__, struct tm * __restrict__); | |
struct tm *localtime_r(__const time_t * __restrict__, struct tm * __restrict__); | |
time_t posix2time(time_t); | |
void tzsetwall(void); | |
time_t time2posix(time_t); | |
time_t timelocal(struct tm * __const); | |
time_t timegm(struct tm * __const); | |
int nanosleep(__const struct timespec *, struct timespec *) __asm("_" "x") ; | |
# 179 "/usr/include/sys/time.h" 2 3 4 | |
int adjtime(__const struct timeval *, struct timeval *); | |
int futimes(int, __const struct timeval *); | |
int lutimes(__const char *, __const struct timeval *) __OSX_AVAILABLE_STARTING(1050, 20000); | |
int settimeofday(__const struct timeval *, __const struct timezone *); | |
int getitimer(int, struct itimerval *); | |
int gettimeofday(struct timeval * __restrict__, void * __restrict__); | |
int setitimer(int, __const struct itimerval * __restrict__, | |
struct itimerval * __restrict__); | |
int utimes(__const char *, __const struct timeval *); | |
# 26 "/usr/include/php/main/php_streams.h" 2 | |
# 1 "/usr/include/sys/stat.h" 1 3 4 | |
# 27 "/usr/include/sys/stat.h" 3 4 | |
# 67 "/usr/include/sys/stat.h" 3 4 | |
# 1 "/usr/include/Availability.h" 1 3 4 | |
# 22 "/usr/include/Availability.h" 3 4 | |
# 183 "/usr/include/Availability.h" 3 4 | |
#define __attribute__((availability(_target, _availability))) | |
#if 1 | |
#define | |
#define | |
# 76 "/usr/include/sys/stat.h" 2 3 4 | |
struct ostat { | |
__uint16_t st_dev; | |
ino_t st_ino; | |
mode_t st_mode; | |
nlink_t st_nlink; | |
__uint16_t st_uid; | |
__uint16_t st_gid; | |
__uint16_t st_rdev; | |
__int32_t st_size; | |
struct timespec st_atimespec; | |
struct timespec st_mtimespec; | |
struct timespec st_ctimespec; | |
__int32_t st_blksize; | |
__int32_t st_blocks; | |
__uint32_t st_flags; | |
__uint32_t st_gen; | |
}; | |
# 147 "/usr/include/sys/stat.h" 3 4 | |
# 157 "/usr/include/sys/stat.h" 3 4 | |
# 175 "/usr/include/sys/stat.h" 3 4 | |
struct stat { dev_t st_dev; mode_t st_mode; nlink_t st_nlink; __darwin_ino64_t st_ino; uid_t st_uid; gid_t st_gid; dev_t st_rdev; struct timespec st_atimespec; struct timespec st_mtimespec; struct timespec st_ctimespec; struct timespec st_birthtimespec; off_t st_size; blkcnt_t st_blocks; blksize_t st_blksize; __uint32_t st_flags; __uint32_t st_gen; __int32_t st_lspare; __int64_t st_qspare[2]; }; | |
# 216 "/usr/include/sys/stat.h" 3 4 | |
struct stat64 { dev_t st_dev; mode_t st_mode; nlink_t st_nlink; __darwin_ino64_t st_ino; uid_t st_uid; gid_t st_gid; dev_t st_rdev; struct timespec st_atimespec; struct timespec st_mtimespec; struct timespec st_ctimespec; struct timespec st_birthtimespec; off_t st_size; blkcnt_t st_blocks; blksize_t st_blksize; __uint32_t st_flags; __uint32_t st_gen; __int32_t st_lspare; __int64_t st_qspare[2]; }; | |
# 1 "/usr/include/sys/_types/_s_ifmt.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_s_ifmt.h" 3 4 | |
# 46 "/usr/include/sys/_types/_s_ifmt.h" 3 4 | |
# 242 "/usr/include/sys/stat.h" 2 3 4 | |
# 259 "/usr/include/sys/stat.h" 3 4 | |
# 274 "/usr/include/sys/stat.h" 3 4 | |
# 292 "/usr/include/sys/stat.h" 3 4 | |
int chmod(__const char *, mode_t) __asm("_" "x") ; | |
int fchmod(int, mode_t) __asm("_" "x") ; | |
int fstat(int, struct stat *) __asm("_" "x" "$INODE64"); | |
int lstat(__const char *, struct stat *) __asm("_" "x" "$INODE64"); | |
int mkdir(__const char *, mode_t); | |
int mkfifo(__const char *, mode_t); | |
int stat(__const char *, struct stat *) __asm("_" "x" "$INODE64"); | |
int mknod(__const char *, mode_t, dev_t); | |
mode_t umask(mode_t); | |
int fchmodat(int, __const char *, mode_t, int) __OSX_AVAILABLE_STARTING(101000, 80000); | |
int fstatat(int, __const char *, struct stat *, int) __asm("_" "x" "$INODE64") __OSX_AVAILABLE_STARTING(101000, 80000); | |
int mkdirat(int, __const char *, mode_t) __OSX_AVAILABLE_STARTING(101000, 80000); | |
# 1 "/usr/include/sys/_types/_filesec_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_filesec_t.h" 3 4 | |
struct _filesec; | |
typedef struct _filesec *filesec_t; | |
# 370 "/usr/include/sys/stat.h" 2 3 4 | |
int chflags(__const char *, __uint32_t); | |
int chmodx_np(__const char *, filesec_t); | |
int fchflags(int, __uint32_t); | |
int fchmodx_np(int, filesec_t); | |
int fstatx_np(int, struct stat *, filesec_t) __asm("_" "x" "$INODE64"); | |
int lchflags(__const char *, __uint32_t) __OSX_AVAILABLE_STARTING(1050, 20000); | |
int lchmod(__const char *, mode_t) __OSX_AVAILABLE_STARTING(1050, 20000); | |
int lstatx_np(__const char *, struct stat *, filesec_t) __asm("_" "x" "$INODE64"); | |
int mkdirx_np(__const char *, filesec_t); | |
int mkfifox_np(__const char *, filesec_t); | |
int statx_np(__const char *, struct stat *, filesec_t) __asm("_" "x" "$INODE64"); | |
int umaskx_np(filesec_t) __AVAILABILITY_INTERNAL##__IPHONE_NA##_DEP##__IPHONE_NA; | |
int fstatx64_np(int, struct stat64 *, filesec_t) __AVAILABILITY_INTERNAL##__IPHONE_NA##_DEP##__IPHONE_NA; | |
int lstatx64_np(__const char *, struct stat64 *, filesec_t) __AVAILABILITY_INTERNAL##__IPHONE_NA##_DEP##__IPHONE_NA; | |
int statx64_np(__const char *, struct stat64 *, filesec_t) __AVAILABILITY_INTERNAL##__IPHONE_NA##_DEP##__IPHONE_NA; | |
int fstat64(int, struct stat64 *) __AVAILABILITY_INTERNAL##__IPHONE_NA##_DEP##__IPHONE_NA; | |
int lstat64(__const char *, struct stat64 *) __AVAILABILITY_INTERNAL##__IPHONE_NA##_DEP##__IPHONE_NA; | |
int stat64(__const char *, struct stat64 *) __AVAILABILITY_INTERNAL##__IPHONE_NA##_DEP##__IPHONE_NA; | |
# 29 "/usr/include/php/main/php_streams.h" 2 | |
__attribute__ ((visibility("default"))) int php_file_le_stream(void); | |
__attribute__ ((visibility("default"))) int php_file_le_pstream(void); | |
__attribute__ ((visibility("default"))) int php_file_le_stream_filter(void); | |
# 59 "/usr/include/php/main/php_streams.h" | |
# 96 "/usr/include/php/main/php_streams.h" | |
typedef struct _php_stream php_stream; | |
typedef struct _php_stream_wrapper php_stream_wrapper; | |
typedef struct _php_stream_context php_stream_context; | |
typedef struct _php_stream_filter php_stream_filter; | |
# 1 "/usr/include/php/main/streams/php_stream_context.h" 1 | |
# 17 "/usr/include/php/main/streams/php_stream_context.h" | |
typedef void (*php_stream_notification_func)(php_stream_context *context, | |
int notifycode, int severity, | |
char *xmsg, int xcode, | |
size_t bytes_sofar, size_t bytes_max, | |
void * ptr ); | |
typedef struct _php_stream_notifier php_stream_notifier; | |
struct _php_stream_notifier { | |
php_stream_notification_func func; | |
void (*dtor)(php_stream_notifier *notifier); | |
void *ptr; | |
int mask; | |
size_t progress, progress_max; | |
}; | |
struct _php_stream_context { | |
php_stream_notifier *notifier; | |
zval *options; | |
int rsrc_id; | |
}; | |
__attribute__ ((visibility("default"))) void php_stream_context_free(php_stream_context *context); | |
__attribute__ ((visibility("default"))) php_stream_context *php_stream_context_alloc(void); | |
__attribute__ ((visibility("default"))) int php_stream_context_get_option(php_stream_context *context, | |
__const char *wrappername, __const char *optionname, zval ***optionvalue); | |
__attribute__ ((visibility("default"))) int php_stream_context_set_option(php_stream_context *context, | |
__const char *wrappername, __const char *optionname, zval *optionvalue); | |
__attribute__ ((visibility("default"))) php_stream_notifier *php_stream_notification_alloc(void); | |
__attribute__ ((visibility("default"))) void php_stream_notification_free(php_stream_notifier *notifier); | |
# 82 "/usr/include/php/main/streams/php_stream_context.h" | |
__attribute__ ((visibility("default"))) void php_stream_notification_notify(php_stream_context *context, int notifycode, int severity, | |
char *xmsg, int xcode, size_t bytes_sofar, size_t bytes_max, void * ptr ); | |
__attribute__ ((visibility("default"))) php_stream_context *php_stream_context_set(php_stream *stream, php_stream_context *context); | |
# 104 "/usr/include/php/main/php_streams.h" 2 | |
# 1 "/usr/include/php/main/streams/php_stream_filter_api.h" 1 | |
# 20 "/usr/include/php/main/streams/php_stream_filter_api.h" | |
# 35 "/usr/include/php/main/streams/php_stream_filter_api.h" | |
typedef struct _php_stream_bucket php_stream_bucket; | |
typedef struct _php_stream_bucket_brigade php_stream_bucket_brigade; | |
struct _php_stream_bucket { | |
php_stream_bucket *next, *prev; | |
php_stream_bucket_brigade *brigade; | |
char *buf; | |
size_t buflen; | |
int own_buf; | |
int is_persistent; | |
int refcount; | |
}; | |
struct _php_stream_bucket_brigade { | |
php_stream_bucket *head, *tail; | |
}; | |
typedef enum { | |
PSFS_ERR_FATAL, | |
PSFS_FEED_ME, | |
PSFS_PASS_ON | |
} php_stream_filter_status_t; | |
__attribute__ ((visibility("default"))) php_stream_bucket *php_stream_bucket_new(php_stream *stream, char *buf, size_t buflen, int own_buf, int buf_persistent ); | |
__attribute__ ((visibility("default"))) int php_stream_bucket_split(php_stream_bucket *in, php_stream_bucket **left, php_stream_bucket **right, size_t length ); | |
__attribute__ ((visibility("default"))) void php_stream_bucket_delref(php_stream_bucket *bucket ); | |
__attribute__ ((visibility("default"))) void php_stream_bucket_prepend(php_stream_bucket_brigade *brigade, php_stream_bucket *bucket ); | |
__attribute__ ((visibility("default"))) void php_stream_bucket_append(php_stream_bucket_brigade *brigade, php_stream_bucket *bucket ); | |
__attribute__ ((visibility("default"))) void php_stream_bucket_unlink(php_stream_bucket *bucket ); | |
__attribute__ ((visibility("default"))) php_stream_bucket *php_stream_bucket_make_writeable(php_stream_bucket *bucket ); | |
typedef struct _php_stream_filter_ops { | |
php_stream_filter_status_t (*filter)( | |
php_stream *stream, | |
php_stream_filter *thisfilter, | |
php_stream_bucket_brigade *buckets_in, | |
php_stream_bucket_brigade *buckets_out, | |
size_t *bytes_consumed, | |
int flags | |
); | |
void (*dtor)(php_stream_filter *thisfilter ); | |
__const char *label; | |
} php_stream_filter_ops; | |
typedef struct _php_stream_filter_chain { | |
php_stream_filter *head, *tail; | |
php_stream *stream; | |
} php_stream_filter_chain; | |
struct _php_stream_filter { | |
php_stream_filter_ops *fops; | |
void *abstract; | |
php_stream_filter *next; | |
php_stream_filter *prev; | |
int is_persistent; | |
php_stream_filter_chain *chain; | |
php_stream_bucket_brigade buffer; | |
int rsrc_id; | |
}; | |
__attribute__ ((visibility("default"))) void _php_stream_filter_prepend(php_stream_filter_chain *chain, php_stream_filter *filter ); | |
__attribute__ ((visibility("default"))) int php_stream_filter_prepend_ex(php_stream_filter_chain *chain, php_stream_filter *filter ); | |
__attribute__ ((visibility("default"))) void _php_stream_filter_append(php_stream_filter_chain *chain, php_stream_filter *filter ); | |
__attribute__ ((visibility("default"))) int php_stream_filter_append_ex(php_stream_filter_chain *chain, php_stream_filter *filter ); | |
__attribute__ ((visibility("default"))) int _php_stream_filter_flush(php_stream_filter *filter, int finish ); | |
__attribute__ ((visibility("default"))) php_stream_filter *php_stream_filter_remove(php_stream_filter *filter, int call_dtor ); | |
__attribute__ ((visibility("default"))) void php_stream_filter_free(php_stream_filter *filter ); | |
__attribute__ ((visibility("default"))) php_stream_filter *_php_stream_filter_alloc(php_stream_filter_ops *fops, void *abstract, int persistent ); | |
typedef struct _php_stream_filter_factory { | |
php_stream_filter *(*create_filter)(__const char *filtername, zval *filterparams, int persistent ); | |
} php_stream_filter_factory; | |
__attribute__ ((visibility("default"))) int php_stream_filter_register_factory(__const char *filterpattern, php_stream_filter_factory *factory ); | |
__attribute__ ((visibility("default"))) int php_stream_filter_unregister_factory(__const char *filterpattern ); | |
__attribute__ ((visibility("default"))) int php_stream_filter_register_factory_volatile(__const char *filterpattern, php_stream_filter_factory *factory ); | |
__attribute__ ((visibility("default"))) php_stream_filter *php_stream_filter_create(__const char *filtername, zval *filterparams, int persistent ); | |
# 105 "/usr/include/php/main/php_streams.h" 2 | |
typedef struct _php_stream_statbuf { | |
struct stat sb; | |
} php_stream_statbuf; | |
typedef struct _php_stream_dirent { | |
char d_name[1024]; | |
} php_stream_dirent; | |
typedef struct _php_stream_ops { | |
size_t (*write)(php_stream *stream, __const char *buf, size_t count ); | |
size_t (*read)(php_stream *stream, char *buf, size_t count ); | |
int (*close)(php_stream *stream, int close_handle ); | |
int (*flush)(php_stream *stream ); | |
__const char *label; | |
int (*seek)(php_stream *stream, off_t offset, int whence, off_t *newoffset ); | |
int (*cast)(php_stream *stream, int castas, void **ret ); | |
int (*stat)(php_stream *stream, php_stream_statbuf *ssb ); | |
int (*set_option)(php_stream *stream, int option, int value, void *ptrparam ); | |
} php_stream_ops; | |
typedef struct _php_stream_wrapper_ops { | |
php_stream *(*stream_opener)(php_stream_wrapper *wrapper, char *filename, char *mode, | |
int options, char **opened_path, php_stream_context *context ); | |
int (*stream_closer)(php_stream_wrapper *wrapper, php_stream *stream ); | |
int (*stream_stat)(php_stream_wrapper *wrapper, php_stream *stream, php_stream_statbuf *ssb ); | |
int (*url_stat)(php_stream_wrapper *wrapper, char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context ); | |
php_stream *(*dir_opener)(php_stream_wrapper *wrapper, char *filename, char *mode, | |
int options, char **opened_path, php_stream_context *context ); | |
__const char *label; | |
int (*unlink)(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context ); | |
int (*rename)(php_stream_wrapper *wrapper, char *url_from, char *url_to, int options, php_stream_context *context ); | |
int (*stream_mkdir)(php_stream_wrapper *wrapper, char *url, int mode, int options, php_stream_context *context ); | |
int (*stream_rmdir)(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context ); | |
int (*stream_metadata)(php_stream_wrapper *wrapper, char *url, int options, void *value, php_stream_context *context ); | |
} php_stream_wrapper_ops; | |
struct _php_stream_wrapper { | |
php_stream_wrapper_ops *wops; | |
void *abstract; | |
int is_url; | |
}; | |
struct _php_stream { | |
php_stream_ops *ops; | |
void *abstract; | |
php_stream_filter_chain readfilters, writefilters; | |
php_stream_wrapper *wrapper; | |
void *wrapperthis; | |
zval *wrapperdata; | |
int fgetss_state; | |
int is_persistent; | |
char mode[16]; | |
int rsrc_id; | |
int in_free; | |
int fclose_stdiocast; | |
FILE *stdiocast; | |
char *orig_path; | |
php_stream_context *context; | |
int flags; | |
off_t position; | |
unsigned char *readbuf; | |
size_t readbuflen; | |
off_t readpos; | |
off_t writepos; | |
size_t chunk_size; | |
int eof; | |
struct _php_stream *enclosing_stream; | |
}; | |
__attribute__ ((visibility("default"))) php_stream *_php_stream_alloc(php_stream_ops *ops, void *abstract, | |
__const char *persistent_id, __const char *mode ); | |
# 257 "/usr/include/php/main/php_streams.h" | |
__attribute__ ((visibility("default"))) php_stream *php_stream_encloses(php_stream *enclosing, php_stream *enclosed); | |
__attribute__ ((visibility("default"))) int _php_stream_free_enclosed(php_stream *stream_enclosed, int close_options ); | |
__attribute__ ((visibility("default"))) int php_stream_from_persistent_id(__const char *persistent_id, php_stream **stream ); | |
# 280 "/usr/include/php/main/php_streams.h" | |
__attribute__ ((visibility("default"))) int _php_stream_free(php_stream *stream, int close_options ); | |
__attribute__ ((visibility("default"))) int _php_stream_seek(php_stream *stream, off_t offset, int whence ); | |
__attribute__ ((visibility("default"))) off_t _php_stream_tell(php_stream *stream ); | |
__attribute__ ((visibility("default"))) size_t _php_stream_read(php_stream *stream, char *buf, size_t count ); | |
__attribute__ ((visibility("default"))) size_t _php_stream_write(php_stream *stream, __const char *buf, size_t count ); | |
__attribute__ ((visibility("default"))) size_t _php_stream_printf(php_stream *stream , __const char *fmt, ...) __attribute__ ((format(printf, 2, 3))); | |
__attribute__ ((visibility("default"))) int _php_stream_eof(php_stream *stream ); | |
__attribute__ ((visibility("default"))) int _php_stream_getc(php_stream *stream ); | |
__attribute__ ((visibility("default"))) int _php_stream_putc(php_stream *stream, int c ); | |
__attribute__ ((visibility("default"))) int _php_stream_flush(php_stream *stream, int closing ); | |
__attribute__ ((visibility("default"))) char *_php_stream_get_line(php_stream *stream, char *buf, size_t maxlen, size_t *returned_len ); | |
__attribute__ ((visibility("default"))) char *php_stream_get_record(php_stream *stream, size_t maxlen, size_t *returned_len, char *delim, size_t delim_len ); | |
__attribute__ ((visibility("default"))) int _php_stream_puts(php_stream *stream, char *buf ); | |
__attribute__ ((visibility("default"))) int _php_stream_stat(php_stream *stream, php_stream_statbuf *ssb ); | |
__attribute__ ((visibility("default"))) int _php_stream_stat_path(char *path, int flags, php_stream_statbuf *ssb, php_stream_context *context ); | |
__attribute__ ((visibility("default"))) int _php_stream_mkdir(char *path, int mode, int options, php_stream_context *context ); | |
__attribute__ ((visibility("default"))) int _php_stream_rmdir(char *path, int options, php_stream_context *context ); | |
__attribute__ ((visibility("default"))) php_stream *_php_stream_opendir(char *path, int options, php_stream_context *context ); | |
__attribute__ ((visibility("default"))) php_stream_dirent *_php_stream_readdir(php_stream *dirstream, php_stream_dirent *ent ); | |
__attribute__ ((visibility("default"))) int php_stream_dirent_alphasort(__const char **a, __const char **b); | |
__attribute__ ((visibility("default"))) int php_stream_dirent_alphasortr(__const char **a, __const char **b); | |
__attribute__ ((visibility("default"))) int _php_stream_scandir(char *dirname, char **namelist[], int flags, php_stream_context *context, | |
int (*compare) (__const char **a, __const char **b) ); | |
__attribute__ ((visibility("default"))) int _php_stream_set_option(php_stream *stream, int option, int value, void *ptrparam ); | |
__attribute__ ((visibility("default"))) int _php_stream_truncate_set_size(php_stream *stream, size_t newsize ); | |
__attribute__((deprecated)) | |
__attribute__ ((visibility("default"))) size_t _php_stream_copy_to_stream(php_stream *src, php_stream *dest, size_t maxlen ); | |
__attribute__ ((visibility("default"))) int _php_stream_copy_to_stream_ex(php_stream *src, php_stream *dest, size_t maxlen, size_t *len ); | |
__attribute__ ((visibility("default"))) size_t _php_stream_copy_to_mem(php_stream *src, char **buf, size_t maxlen, | |
int persistent ); | |
__attribute__ ((visibility("default"))) size_t _php_stream_passthru(php_stream * src ); | |
# 1 "/usr/include/php/main/streams/php_stream_transport.h" 1 | |
# 17 "/usr/include/php/main/streams/php_stream_transport.h" | |
# 1 "/usr/include/sys/socket.h" 1 3 4 | |
# 27 "/usr/include/sys/socket.h" 3 4 | |
# 64 "/usr/include/sys/socket.h" 3 4 | |
# 1 "/usr/include/machine/_param.h" 1 3 4 | |
# 27 "/usr/include/machine/_param.h" 3 4 | |
# 78 "/usr/include/sys/socket.h" 2 3 4 | |
# 1 "/usr/include/Availability.h" 1 3 4 | |
# 22 "/usr/include/Availability.h" 3 4 | |
# 183 "/usr/include/Availability.h" 3 4 | |
#define __attribute__((availability(_target, _availability))) | |
#if 1 | |
#define | |
#define | |
# 81 "/usr/include/sys/socket.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_sa_family_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_sa_family_t.h" 3 4 | |
typedef __uint8_t sa_family_t; | |
# 94 "/usr/include/sys/socket.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_socklen_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_socklen_t.h" 3 4 | |
typedef __darwin_socklen_t socklen_t; | |
# 95 "/usr/include/sys/socket.h" 2 3 4 | |
# 1 "/usr/include/sys/_types/_iovec_t.h" 1 3 4 | |
# 27 "/usr/include/sys/_types/_iovec_t.h" 3 4 | |
struct iovec { | |
void * iov_base; | |
size_t iov_len; | |
}; | |
# 106 "/usr/include/sys/socket.h" 2 3 4 | |
# 143 "/usr/include/sys/socket.h" 3 4 | |
# 163 "/usr/include/sys/socket.h" 3 4 | |
# 181 "/usr/include/sys/socket.h" 3 4 | |
struct linger { | |
int l_onoff; | |
int l_linger; | |
}; | |
struct so_np_extensions { | |
u_int32_t npx_flags; | |
u_int32_t npx_mask; | |
}; | |
# 260 "/usr/include/sys/socket.h" 3 4 | |
# 279 "/usr/include/sys/socket.h" 3 4 | |
struct sockaddr { | |
__uint8_t sa_len; | |
sa_family_t sa_family; | |
char sa_data[14]; | |
}; | |
struct sockproto { | |
__uint16_t sp_family; | |
__uint16_t sp_protocol; | |
}; | |
struct sockaddr_storage { | |
__uint8_t ss_len; | |
sa_family_t ss_family; | |
char __ss_pad1[((sizeof(__int64_t)) - sizeof(__uint8_t) - sizeof(sa_family_t))]; | |
__int64_t __ss_align; | |
char __ss_pad2[(128 - sizeof(__uint8_t) - sizeof(sa_family_t) - ((sizeof(__int64_t)) - sizeof(__uint8_t) - sizeof(sa_family_t)) - (sizeof(__int64_t)))]; | |
}; | |
# 367 "/usr/include/sys/socket.h" 3 4 | |
# 405 "/usr/include/sys/socket.h" 3 4 | |
struct msghdr { | |
void *msg_name; | |
socklen_t msg_namelen; | |
struct iovec *msg_iov; | |
int msg_iovlen; | |
void *msg_control; | |
socklen_t msg_controllen; | |
int msg_flags; | |
}; | |
# 450 "/usr/include/sys/socket.h" 3 4 | |
struct cmsghdr { | |
socklen_t cmsg_len; | |
int cmsg_level; | |
int cmsg_type; | |
}; | |
# 490 "/usr/include/sys/socket.h" 3 4 | |
# 519 "/usr/include/sys/socket.h" 3 4 | |
struct sf_hdtr { | |
struct iovec *headers; | |
int hdr_cnt; | |
struct iovec *trailers; | |
int trl_cnt; | |
}; | |
int accept(int, struct sockaddr * __restrict__, socklen_t * __restrict__) | |
__asm("_" "x") ; | |
int bind(int, __const struct sockaddr *, socklen_t) __asm("_" "x") ; | |
int connect(int, __const struct sockaddr *, socklen_t) __asm("_" "x") ; | |
int getpeername(int, struct sockaddr * __restrict__, socklen_t * __restrict__) | |
__asm("_" "x") ; | |
int getsockname(int, struct sockaddr * __restrict__, socklen_t * __restrict__) | |
__asm("_" "x") ; | |
int getsockopt(int, int, int, void * __restrict__, socklen_t * __restrict__); | |
int listen(int, int) __asm("_" "x") ; | |
ssize_t recv(int, void *, size_t, int) __asm("_" "x") ; | |
ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict__, | |
socklen_t * __restrict__) __asm("_" "x") ; | |
ssize_t recvmsg(int, struct msghdr *, int) __asm("_" "x") ; | |
ssize_t send(int, __const void *, size_t, int) __asm("_" "x") ; | |
ssize_t sendmsg(int, __const struct msghdr *, int) __asm("_" "x") ; | |
ssize_t sendto(int, __const void *, size_t, | |
int, __const struct sockaddr *, socklen_t) __asm("_" "x") ; | |
int setsockopt(int, int, int, __const void *, socklen_t); | |
int shutdown(int, int); | |
int sockatmark(int) __OSX_AVAILABLE_STARTING(1050, 20000); | |
int socket(int, int, int); | |
int socketpair(int, int, int, int *) __asm("_" "x") ; | |
int sendfile(int, int, off_t, off_t *, struct sf_hdtr *, int); | |
void pfctlinput(int, struct sockaddr *); | |
# 27 "/usr/include/php/main/streams/php_stream_transport.h" 2 | |
typedef php_stream *(php_stream_transport_factory_func)(__const char *proto, long protolen, | |
char *resourcename, long resourcenamelen, | |
__const char *persistent_id, int options, int flags, | |
struct timeval *timeout, | |
php_stream_context *context ); | |
typedef php_stream_transport_factory_func *php_stream_transport_factory; | |
__attribute__ ((visibility("default"))) int php_stream_xport_register(char *protocol, php_stream_transport_factory factory ); | |
__attribute__ ((visibility("default"))) int php_stream_xport_unregister(char *protocol ); | |
__attribute__ ((visibility("default"))) php_stream *_php_stream_xport_create(__const char *name, long namelen, int options, | |
int flags, __const char *persistent_id, | |
struct timeval *timeout, | |
php_stream_context *context, | |
char **error_string, | |
int *error_code | |
); | |
__attribute__ ((visibility("default"))) int php_stream_xport_bind(php_stream *stream, | |
__const char *name, long namelen, | |
char **error_text | |
); | |
__attribute__ ((visibility("default"))) int php_stream_xport_connect(php_stream *stream, | |
__const char *name, long namelen, | |
int asynchronous, | |
struct timeval *timeout, | |
char **error_text, | |
int *error_code | |
); | |
__attribute__ ((visibility("default"))) int php_stream_xport_listen(php_stream *stream, | |
int backlog, | |
char **error_text | |
); | |
__attribute__ ((visibility("default"))) int php_stream_xport_accept(php_stream *stream, php_stream **client, | |
char **textaddr, int *textaddrlen, | |
void **addr, socklen_t *addrlen, | |
struct timeval *timeout, | |
char **error_text | |
); | |
__attribute__ ((visibility("default"))) int php_stream_xport_get_name(php_stream *stream, int want_peer, | |
char **textaddr, int *textaddrlen, | |
void **addr, socklen_t *addrlen | |
); | |
enum php_stream_xport_send_recv_flags { | |
STREAM_OOB = 1, | |
STREAM_PEEK = 2 | |
}; | |
__attribute__ ((visibility("default"))) int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen, | |
long flags, void **addr, socklen_t *addrlen, | |
char **textaddr, int *textaddrlen ); | |
__attribute__ ((visibility("default"))) int php_stream_xport_sendto(php_stream *stream, __const char *buf, size_t buflen, | |
long flags, void *addr, socklen_t addrlen ); | |
typedef enum { | |
STREAM_SHUT_RD, | |
STREAM_SHUT_WR, | |
STREAM_SHUT_RDWR | |
} stream_shutdown_t; | |
__attribute__ ((visibility("default"))) int php_stream_xport_shutdown(php_stream *stream, stream_shutdown_t how ); | |
typedef struct _php_stream_xport_param { | |
enum { | |
STREAM_XPORT_OP_BIND, STREAM_XPORT_OP_CONNECT, | |
STREAM_XPORT_OP_LISTEN, STREAM_XPORT_OP_ACCEPT, | |
STREAM_XPORT_OP_CONNECT_ASYNC, | |
STREAM_XPORT_OP_GET_NAME, | |
STREAM_XPORT_OP_GET_PEER_NAME, | |
STREAM_XPORT_OP_RECV, | |
STREAM_XPORT_OP_SEND, | |
STREAM_XPORT_OP_SHUTDOWN | |
} op; | |
unsigned int want_addr:1; | |
unsigned int want_textaddr:1; | |
unsigned int want_errortext:1; | |
unsigned int how:2; | |
struct { | |
char *name; | |
long namelen; | |
int backlog; | |
struct timeval *timeout; | |
struct sockaddr *addr; | |
socklen_t addrlen; | |
char *buf; | |
size_t buflen; | |
long flags; | |
} inputs; | |
struct { | |
php_stream *client; | |
int returncode; | |
struct sockaddr *addr; | |
socklen_t addrlen; | |
char *textaddr; | |
long textaddrlen; | |
char *error_text; | |
int error_code; | |
} outputs; | |
} php_stream_xport_param; | |
typedef enum { | |
STREAM_CRYPTO_METHOD_SSLv2_CLIENT, | |
STREAM_CRYPTO_METHOD_SSLv3_CLIENT, | |
STREAM_CRYPTO_METHOD_SSLv23_CLIENT, | |
STREAM_CRYPTO_METHOD_TLS_CLIENT, | |
STREAM_CRYPTO_METHOD_SSLv2_SERVER, | |
STREAM_CRYPTO_METHOD_SSLv3_SERVER, | |
STREAM_CRYPTO_METHOD_SSLv23_SERVER, | |
STREAM_CRYPTO_METHOD_TLS_SERVER | |
} php_stream_xport_crypt_method_t; | |
__attribute__ ((visibility("default"))) int php_stream_xport_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto_method, php_stream *session_stream ); | |
__attribute__ ((visibility("default"))) int php_stream_xport_crypto_enable(php_stream *stream, int activate ); | |
typedef struct _php_stream_xport_crypto_param { | |
enum { | |
STREAM_XPORT_CRYPTO_OP_SETUP, | |
STREAM_XPORT_CRYPTO_OP_ENABLE | |
} op; | |
struct { | |
int activate; | |
php_stream_xport_crypt_method_t method; | |
php_stream *session; | |
} inputs; | |
struct { | |
int returncode; | |
} outputs; | |
} php_stream_xport_crypto_param; | |
__attribute__ ((visibility("default"))) HashTable *php_stream_xport_get_hash(void); | |
__attribute__ ((visibility("default"))) php_stream_transport_factory_func php_stream_generic_socket_factory; | |
# 454 "/usr/include/php/main/php_streams.h" 2 | |
# 1 "/usr/include/php/main/streams/php_stream_plain_wrapper.h" 1 | |
# 17 "/usr/include/php/main/streams/php_stream_plain_wrapper.h" | |
__attribute__ ((visibility("default"))) extern php_stream_ops php_stream_stdio_ops; | |
__attribute__ ((visibility("default"))) extern php_stream_wrapper php_plain_files_wrapper; | |
__attribute__ ((visibility("default"))) php_stream *_php_stream_fopen(__const char *filename, __const char *mode, char **opened_path, int options ); | |
__attribute__ ((visibility("default"))) php_stream *_php_stream_fopen_with_path(char *filename, char *mode, char *path, char **opened_path, int options ); | |
__attribute__ ((visibility("default"))) php_stream *_php_stream_fopen_from_file(FILE *file, __const char *mode ); | |
__attribute__ ((visibility("default"))) php_stream *_php_stream_fopen_from_fd(int fd, __const char *mode, __const char *persistent_id ); | |
__attribute__ ((visibility("default"))) php_stream *_php_stream_fopen_from_pipe(FILE *file, __const char *mode ); | |
__attribute__ ((visibility("default"))) php_stream *_php_stream_fopen_tmpfile(int dummy ); | |
__attribute__ ((visibility("default"))) php_stream *_php_stream_fopen_temporary_file(__const char *dir, __const char *pfx, char **opened_path ); | |
__attribute__ ((visibility("default"))) FILE * _php_stream_open_wrapper_as_file(char * path, char * mode, int options, char **opened_path ); | |
# 455 "/usr/include/php/main/php_streams.h" 2 | |
# 1 "/usr/include/php/main/streams/php_stream_glob_wrapper.h" 1 | |
# 17 "/usr/include/php/main/streams/php_stream_glob_wrapper.h" | |
__attribute__ ((visibility("default"))) extern php_stream_wrapper php_glob_stream_wrapper; | |
__attribute__ ((visibility("default"))) extern php_stream_ops php_glob_stream_ops; | |
__attribute__ ((visibility("default"))) char* _php_glob_stream_get_path(php_stream *stream, int copy, int *plen ); | |
__attribute__ ((visibility("default"))) char* _php_glob_stream_get_pattern(php_stream *stream, int copy, int *plen ); | |
__attribute__ ((visibility("default"))) int _php_glob_stream_get_count(php_stream *stream, int *pflags ); | |
# 456 "/usr/include/php/main/php_streams.h" 2 | |
# 1 "/usr/include/php/main/streams/php_stream_userspace.h" 1 | |
# 17 "/usr/include/php/main/streams/php_stream_userspace.h" | |
__attribute__ ((visibility("default"))) extern php_stream_ops php_stream_userspace_ops; | |
__attribute__ ((visibility("default"))) extern php_stream_ops php_stream_userspace_dir_ops; | |
# 457 "/usr/include/php/main/php_streams.h" 2 | |
# 1 "/usr/include/php/main/streams/php_stream_mmap.h" 1 | |
# 17 "/usr/include/php/main/streams/php_stream_mmap.h" | |
typedef enum { | |
PHP_STREAM_MMAP_SUPPORTED, | |
PHP_STREAM_MMAP_MAP_RANGE, | |
PHP_STREAM_MMAP_UNMAP | |
} php_stream_mmap_operation_t; | |
typedef enum { | |
PHP_STREAM_MAP_MODE_READONLY, | |
PHP_STREAM_MAP_MODE_READWRITE, | |
PHP_STREAM_MAP_MODE_SHARED_READONLY, | |
PHP_STREAM_MAP_MODE_SHARED_READWRITE | |
} php_stream_mmap_access_t; | |
typedef struct { | |
size_t offset; | |
size_t length; | |
php_stream_mmap_access_t mode; | |
char *mapped; | |
} php_stream_mmap_range; | |
__attribute__ ((visibility("default"))) char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mmap_operation_t mode, size_t *mapped_len ); | |
__attribute__ ((visibility("default"))) int _php_stream_mmap_unmap(php_stream *stream ); | |
__attribute__ ((visibility("default"))) int _php_stream_mmap_unmap_ex(php_stream *stream, off_t readden ); | |
# 458 "/usr/include/php/main/php_streams.h" 2 | |
__attribute__ ((visibility("default"))) int _php_stream_cast(php_stream *stream, int castas, void **ret, int show_err ); | |
int php_init_stream_wrappers(int module_number ); | |
int php_shutdown_stream_wrappers(int module_number ); | |
void php_shutdown_stream_hashes(void); | |
int zm_deactivate_##streams(int type, int module_number) ; | |
__attribute__ ((visibility("default"))) int php_register_url_stream_wrapper(char *protocol, php_stream_wrapper *wrapper ); | |
__attribute__ ((visibility("default"))) int php_unregister_url_stream_wrapper(char *protocol ); | |
__attribute__ ((visibility("default"))) int php_register_url_stream_wrapper_volatile(char *protocol, php_stream_wrapper *wrapper ); | |
__attribute__ ((visibility("default"))) int php_unregister_url_stream_wrapper_volatile(char *protocol ); | |
__attribute__ ((visibility("default"))) php_stream *_php_stream_open_wrapper_ex(char *path, char *mode, int options, char **opened_path, php_stream_context *context ); | |
__attribute__ ((visibility("default"))) php_stream_wrapper *php_stream_locate_url_wrapper(__const char *path, char **path_for_open, int options ); | |
__attribute__ ((visibility("default"))) char *php_stream_locate_eol(php_stream *stream, char *buf, size_t buf_len ); | |
__attribute__ ((visibility("default"))) void php_stream_wrapper_log_error(php_stream_wrapper *wrapper, int options , __const char *fmt, ...) __attribute__ ((format(printf, 3, 4))); | |
__attribute__ ((visibility("default"))) int _php_stream_make_seekable(php_stream *origstream, php_stream **newstream, int flags ); | |
__attribute__ ((visibility("default"))) HashTable *_php_stream_get_url_stream_wrappers_hash(void); | |
__attribute__ ((visibility("default"))) HashTable *php_stream_get_url_stream_wrappers_hash_global(void); | |
__attribute__ ((visibility("default"))) HashTable *_php_get_stream_filters_hash(void); | |
__attribute__ ((visibility("default"))) HashTable *php_get_stream_filters_hash_global(void); | |
extern php_stream_wrapper_ops *php_stream_user_wrapper_ops; | |
# 396 "/usr/include/php/main/php.h" 2 | |
# 1 "/usr/include/php/main/php_memory_streams.h" 1 | |
# 17 "/usr/include/php/main/php_memory_streams.h" | |
# 1 "/usr/include/php/main/php_streams.h" 1 | |
# 17 "/usr/include/php/main/php_streams.h" | |
# 589 "/usr/include/php/main/php_streams.h" | |
# 25 "/usr/include/php/main/php_memory_streams.h" 2 | |
__attribute__ ((visibility("default"))) php_stream *_php_stream_memory_create(int mode ); | |
__attribute__ ((visibility("default"))) php_stream *_php_stream_memory_open(int mode, char *buf, size_t length ); | |
__attribute__ ((visibility("default"))) char *_php_stream_memory_get_buffer(php_stream *stream, size_t *length ); | |
__attribute__ ((visibility("default"))) php_stream *_php_stream_temp_create(int mode, size_t max_memory_usage ); | |
__attribute__ ((visibility("default"))) php_stream *_php_stream_temp_open(int mode, size_t max_memory_usage, char *buf, size_t length ); | |
extern __attribute__ ((visibility("default"))) php_stream_ops php_stream_memory_ops; | |
extern __attribute__ ((visibility("default"))) php_stream_ops php_stream_temp_ops; | |
extern __attribute__ ((visibility("default"))) php_stream_ops php_stream_rfc2397_ops; | |
extern __attribute__ ((visibility("default"))) php_stream_wrapper php_stream_rfc2397_wrapper; | |
# 397 "/usr/include/php/main/php.h" 2 | |
# 1 "/usr/include/php/main/fopen_wrappers.h" 1 | |
# 17 "/usr/include/php/main/fopen_wrappers.h" | |
# 1 "/usr/include/php/main/php_globals.h" 1 | |
# 17 "/usr/include/php/main/php_globals.h" | |
typedef struct _php_core_globals php_core_globals; | |
extern __attribute__ ((visibility("default"))) struct _php_core_globals core_globals; | |
struct _php_tick_function_entry; | |
typedef struct _arg_separators { | |
char *output; | |
char *input; | |
} arg_separators; | |
struct _php_core_globals { | |
zend_bool implicit_flush; | |
long output_buffering; | |
zend_bool sql_safe_mode; | |
zend_bool enable_dl; | |
char *output_handler; | |
char *unserialize_callback_func; | |
long serialize_precision; | |
long memory_limit; | |
long max_input_time; | |
zend_bool track_errors; | |
zend_bool display_errors; | |
zend_bool display_startup_errors; | |
zend_bool log_errors; | |
long log_errors_max_len; | |
zend_bool ignore_repeated_errors; | |
zend_bool ignore_repeated_source; | |
zend_bool report_memleaks; | |
char *error_log; | |
char *doc_root; | |
char *user_dir; | |
char *include_path; | |
char *open_basedir; | |
char *extension_dir; | |
char *php_binary; | |
char *sys_temp_dir; | |
char *upload_tmp_dir; | |
long upload_max_filesize; | |
char *error_append_string; | |
char *error_prepend_string; | |
char *auto_prepend_file; | |
char *auto_append_file; | |
arg_separators arg_separator; | |
char *variables_order; | |
HashTable rfc1867_protected_variables; | |
short connection_status; | |
short ignore_user_abort; | |
unsigned char header_is_being_sent; | |
zend_llist tick_functions; | |
zval *http_globals[6]; | |
zend_bool expose_php; | |
zend_bool register_argc_argv; | |
zend_bool auto_globals_jit; | |
char *docref_root; | |
char *docref_ext; | |
zend_bool html_errors; | |
zend_bool xmlrpc_errors; | |
long xmlrpc_error_number; | |
zend_bool activated_auto_globals[8]; | |
zend_bool modules_activated; | |
zend_bool file_uploads; | |
zend_bool during_request_startup; | |
zend_bool allow_url_fopen; | |
zend_bool enable_post_data_reading; | |
zend_bool always_populate_raw_post_data; | |
zend_bool report_zend_debug; | |
int last_error_type; | |
char *last_error_message; | |
char *last_error_file; | |
int last_error_lineno; | |
char *disable_functions; | |
char *disable_classes; | |
zend_bool allow_url_include; | |
zend_bool exit_on_timeout; | |
long max_input_nesting_level; | |
long max_input_vars; | |
zend_bool in_user_include; | |
char *user_ini_filename; | |
long user_ini_cache_ttl; | |
char *request_order; | |
zend_bool mail_x_header; | |
char *mail_log; | |
zend_bool in_error_log; | |
}; | |
# 26 "/usr/include/php/main/fopen_wrappers.h" 2 | |
# 1 "/usr/include/php/main/php_ini.h" 1 | |
# 17 "/usr/include/php/main/php_ini.h" | |
# 1 "/usr/include/php/Zend/zend_ini.h" 1 | |
# 17 "/usr/include/php/Zend/zend_ini.h" | |
# 46 "/usr/include/php/Zend/zend_ini.h" | |
struct _zend_ini_entry { | |
int module_number; | |
int modifiable; | |
char *name; | |
uint name_length; | |
int (*on_modify)(zend_ini_entry *entry, char *new_value, uint new_value_length, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage) ; | |
void *mh_arg1; | |
void *mh_arg2; | |
void *mh_arg3; | |
char *value; | |
uint value_length; | |
char *orig_value; | |
uint orig_value_length; | |
int orig_modifiable; | |
int modified; | |
void (*displayer)(zend_ini_entry *ini_entry, int type); | |
}; | |
__attribute__ ((visibility("default"))) int zend_ini_startup(void); | |
__attribute__ ((visibility("default"))) int zend_ini_shutdown(void); | |
__attribute__ ((visibility("default"))) int zend_ini_global_shutdown(void); | |
__attribute__ ((visibility("default"))) int zend_ini_deactivate(void); | |
__attribute__ ((visibility("default"))) int zend_copy_ini_directives(void); | |
__attribute__ ((visibility("default"))) void zend_ini_sort_entries(void); | |
__attribute__ ((visibility("default"))) int zend_register_ini_entries(__const zend_ini_entry *ini_entry, int module_number ); | |
__attribute__ ((visibility("default"))) void zend_unregister_ini_entries(int module_number ); | |
__attribute__ ((visibility("default"))) void zend_ini_refresh_caches(int stage ); | |
__attribute__ ((visibility("default"))) int zend_alter_ini_entry(char *name, uint name_length, char *new_value, uint new_value_length, int modify_type, int stage); | |
__attribute__ ((visibility("default"))) int zend_alter_ini_entry_ex(char *name, uint name_length, char *new_value, uint new_value_length, int modify_type, int stage, int force_change ); | |
__attribute__ ((visibility("default"))) int zend_restore_ini_entry(char *name, uint name_length, int stage); | |
__attribute__ ((visibility("default"))) void display_ini_entries(zend_module_entry *module); | |
__attribute__ ((visibility("default"))) long zend_ini_long(char *name, uint name_length, int orig); | |
__attribute__ ((visibility("default"))) double zend_ini_double(char *name, uint name_length, int orig); | |
__attribute__ ((visibility("default"))) char *zend_ini_string(char *name, uint name_length, int orig); | |
__attribute__ ((visibility("default"))) char *zend_ini_string_ex(char *name, uint name_length, int orig, zend_bool *exists); | |
__attribute__ ((visibility("default"))) int zend_ini_register_displayer(char *name, uint name_length, void (*displayer)(zend_ini_entry *ini_entry, int type)); | |
__attribute__ ((visibility("default"))) void zend_ini_boolean_displayer_cb(zend_ini_entry *ini_entry, int type); | |
__attribute__ ((visibility("default"))) void zend_ini_color_displayer_cb(zend_ini_entry *ini_entry, int type); | |
__attribute__ ((visibility("default"))) void display_link_numbers(zend_ini_entry *ini_entry, int type); | |
# 156 "/usr/include/php/Zend/zend_ini.h" | |
__attribute__ ((visibility("default"))) int OnUpdateBool(zend_ini_entry *entry, char *new_value, uint new_value_length, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage) ; | |
__attribute__ ((visibility("default"))) int OnUpdateLong(zend_ini_entry *entry, char *new_value, uint new_value_length, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage) ; | |
__attribute__ ((visibility("default"))) int OnUpdateLongGEZero(zend_ini_entry *entry, char *new_value, uint new_value_length, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage) ; | |
__attribute__ ((visibility("default"))) int OnUpdateReal(zend_ini_entry *entry, char *new_value, uint new_value_length, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage) ; | |
__attribute__ ((visibility("default"))) int OnUpdateString(zend_ini_entry *entry, char *new_value, uint new_value_length, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage) ; | |
__attribute__ ((visibility("default"))) int OnUpdateStringUnempty(zend_ini_entry *entry, char *new_value, uint new_value_length, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage) ; | |
typedef void (*zend_ini_parser_cb_t)(zval *arg1, zval *arg2, zval *arg3, int callback_type, void *arg ); | |
__attribute__ ((visibility("default"))) int zend_parse_ini_file(zend_file_handle *fh, zend_bool unbuffered_errors, int scanner_mode, zend_ini_parser_cb_t ini_parser_cb, void *arg ); | |
__attribute__ ((visibility("default"))) int zend_parse_ini_string(char *str, zend_bool unbuffered_errors, int scanner_mode, zend_ini_parser_cb_t ini_parser_cb, void *arg ); | |
typedef struct _zend_ini_parser_param { | |
zend_ini_parser_cb_t ini_parser_cb; | |
void *arg; | |
} zend_ini_parser_param; | |
# 25 "/usr/include/php/main/php_ini.h" 2 | |
__attribute__ ((visibility("default"))) void config_zval_dtor(zval *zvalue); | |
int php_init_config(void); | |
int php_shutdown_config(void); | |
void php_ini_register_extensions(void); | |
__attribute__ ((visibility("default"))) zval *cfg_get_entry(__const char *name, uint name_length); | |
__attribute__ ((visibility("default"))) int cfg_get_long(__const char *varname, long *result); | |
__attribute__ ((visibility("default"))) int cfg_get_double(__const char *varname, double *result); | |
__attribute__ ((visibility("default"))) int cfg_get_string(__const char *varname, char **result); | |
__attribute__ ((visibility("default"))) int php_parse_user_ini_file(__const char *dirname, char *ini_filename, HashTable *target_hash ); | |
__attribute__ ((visibility("default"))) void php_ini_activate_config(HashTable *source_hash, int modify_type, int stage ); | |
__attribute__ ((visibility("default"))) int php_ini_has_per_dir_config(void); | |
__attribute__ ((visibility("default"))) int php_ini_has_per_host_config(void); | |
__attribute__ ((visibility("default"))) void php_ini_activate_per_dir_config(char *path, uint path_len ); | |
__attribute__ ((visibility("default"))) void php_ini_activate_per_host_config(__const char *host, uint host_len ); | |
__attribute__ ((visibility("default"))) HashTable* php_ini_get_configuration_hash(void); | |
# 27 "/usr/include/php/main/fopen_wrappers.h" 2 | |
__attribute__ ((visibility("default"))) int php_fopen_primary_script(zend_file_handle *file_handle ); | |
__attribute__ ((visibility("default"))) char *expand_filepath(__const char *filepath, char *real_path ); | |
__attribute__ ((visibility("default"))) char *expand_filepath_ex(__const char *filepath, char *real_path, __const char *relative_to, size_t relative_to_len ); | |
__attribute__ ((visibility("default"))) char *expand_filepath_with_mode(__const char *filepath, char *real_path, __const char *relative_to, size_t relative_to_len, int use_realpath ); | |
__attribute__ ((visibility("default"))) int php_check_open_basedir(__const char *path ); | |
__attribute__ ((visibility("default"))) int php_check_open_basedir_ex(__const char *path, int warn ); | |
__attribute__ ((visibility("default"))) int php_check_specific_open_basedir(__const char *basedir, __const char *path ); | |
__attribute__ ((visibility("default"))) int php_check_safe_mode_include_dir(__const char *path ); | |
__attribute__ ((visibility("default"))) char *php_resolve_path(__const char *filename, int filename_len, __const char *path ); | |
__attribute__ ((visibility("default"))) FILE *php_fopen_with_path(__const char *filename, __const char *mode, __const char *path, char **opened_path ); | |
__attribute__ ((visibility("default"))) char *php_strip_url_passwd(char *path); | |
__attribute__ ((visibility("default"))) int OnUpdateBaseDir(zend_ini_entry *entry, char *new_value, uint new_value_length, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage) ; | |
# 398 "/usr/include/php/main/php.h" 2 | |
# 1 "/usr/include/php/TSRM/tsrm_virtual_cwd.h" 1 | |
# 19 "/usr/include/php/TSRM/tsrm_virtual_cwd.h" | |
# 1 "/usr/include/php/TSRM/tsrm_config_common.h" 1 | |
# 1 "/usr/include/php/TSRM/tsrm_config.h" 1 | |
# 1 "/usr/include/php/main/../main/php_config.h" 1 | |
# 2459 "/usr/include/php/main/../main/php_config.h" | |
# 2470 "/usr/include/php/main/../main/php_config.h" | |
# 2480 "/usr/include/php/main/../main/php_config.h" | |
# 2 "/usr/include/php/TSRM/tsrm_config.h" 2 | |
# 14 "/usr/include/php/TSRM/tsrm_config_common.h" 2 | |
# 35 "/usr/include/php/TSRM/tsrm_config_common.h" | |
# 53 "/usr/include/php/TSRM/tsrm_config_common.h" | |
# 69 "/usr/include/php/TSRM/tsrm_config_common.h" | |
# 28 "/usr/include/php/TSRM/tsrm_virtual_cwd.h" 2 | |
# 1 "/usr/include/utime.h" 1 3 4 | |
# 22 "/usr/include/utime.h" 3 4 | |
# 56 "/usr/include/utime.h" 3 4 | |
struct utimbuf { | |
time_t actime; | |
time_t modtime; | |
}; | |
int utime(__const char *, __const struct utimbuf *); | |
# 35 "/usr/include/php/TSRM/tsrm_virtual_cwd.h" 2 | |
# 90 "/usr/include/php/TSRM/tsrm_virtual_cwd.h" | |
# 1 "/usr/include/dirent.h" 1 3 4 | |
# 22 "/usr/include/dirent.h" 3 4 | |
# 56 "/usr/include/dirent.h" 3 4 | |
# 1 "/usr/include/sys/dirent.h" 1 3 4 | |
# 27 "/usr/include/sys/dirent.h" 3 4 | |
# 62 "/usr/include/sys/dirent.h" 3 4 | |
# 73 "/usr/include/sys/dirent.h" 3 4 | |
# 86 "/usr/include/sys/dirent.h" 3 4 | |
#pragma pack(4) | |
# 97 "/usr/include/sys/dirent.h" 3 4 | |
# 98 "/usr/include/sys/dirent.h" 3 4 | |
#pragma pack() | |
struct dirent { __uint64_t d_ino; __uint64_t d_seekoff; __uint16_t d_reclen; __uint16_t d_namlen; __uint8_t d_type; char d_name[1024]; }; | |
# 132 "/usr/include/sys/dirent.h" 3 4 | |
# 66 "/usr/include/dirent.h" 2 3 4 | |
# 1 "/usr/include/Availability.h" 1 3 4 | |
# 22 "/usr/include/Availability.h" 3 4 | |
# 183 "/usr/include/Availability.h" 3 4 | |
#define __attribute__((availability(_target, _availability))) | |
#if 1 | |
#define | |
#define | |
# 68 "/usr/include/dirent.h" 2 3 4 | |
struct _telldir; | |
typedef struct { | |
int __dd_fd; | |
long __dd_loc; | |
long __dd_size; | |
char *__dd_buf; | |
int __dd_len; | |
long __dd_seek; | |
long __dd_rewind; | |
int __dd_flags; | |
__darwin_pthread_mutex_t __dd_lock; | |
struct _telldir *__dd_td; | |
} DIR; | |
int closedir(DIR *) __asm("_" "x") ; | |
DIR *opendir(__const char *) __asm("_" "x" "$INODE64") ; | |
struct dirent *readdir(DIR *) __asm("_" "x" "$INODE64"); | |
int readdir_r(DIR *, struct dirent *, struct dirent **) __asm("_" "x" "$INODE64"); | |
void rewinddir(DIR *) __asm("_" "x" "$INODE64") ; | |
void seekdir(DIR *, long) __asm("_" "x" "$INODE64") ; | |
long telldir(DIR *) __asm("_" "x" "$INODE64") ; | |
__OSX_AVAILABLE_STARTING(101000, 80000) | |
DIR *fdopendir(int) __asm("_" "x" "$INODE64") ; | |
int alphasort(__const struct dirent **, __const struct dirent **) __asm("_" "x" "$INODE64"); | |
# 1 "/usr/include/errno.h" 1 3 4 | |
# 22 "/usr/include/errno.h" 3 4 | |
# 132 "/usr/include/dirent.h" 2 3 4 | |
# 145 "/usr/include/dirent.h" 3 4 | |
int scandir(__const char *, struct dirent ***, | |
int (*)(__const struct dirent *), int (*)(__const struct dirent **, __const struct dirent **)) __asm("_" "x" "$INODE64"); | |
int scandir_b(__const char *, struct dirent ***, | |
int (^)(__const struct dirent *), int (^)(__const struct dirent **, __const struct dirent **)) __asm("_" "x" "$INODE64") __OSX_AVAILABLE_STARTING(1060, 30200); | |
int getdirentries(int, char *, int, long *) | |
__asm("_getdirentries_is_not_available_when_64_bit_inodes_are_in_effect") | |
; | |
DIR *__opendir2(__const char *, int) __asm("_" "x" "$INODE64") ; | |
# 91 "/usr/include/php/TSRM/tsrm_virtual_cwd.h" 2 | |
# 131 "/usr/include/php/TSRM/tsrm_virtual_cwd.h" | |
# 144 "/usr/include/php/TSRM/tsrm_virtual_cwd.h" | |
typedef struct _cwd_state { | |
char *cwd; | |
int cwd_length; | |
} cwd_state; | |
typedef int (*verify_path_func)(__const cwd_state *); | |
__attribute__ ((visibility("default"))) void virtual_cwd_startup(void); | |
__attribute__ ((visibility("default"))) void virtual_cwd_shutdown(void); | |
__attribute__ ((visibility("default"))) char *virtual_getcwd_ex(size_t *length ); | |
__attribute__ ((visibility("default"))) char *virtual_getcwd(char *buf, size_t size ); | |
__attribute__ ((visibility("default"))) int virtual_chdir(__const char *path ); | |
__attribute__ ((visibility("default"))) int virtual_chdir_file(__const char *path, int (*p_chdir)(__const char *path ) ); | |
__attribute__ ((visibility("default"))) int virtual_filepath(__const char *path, char **filepath ); | |
__attribute__ ((visibility("default"))) int virtual_filepath_ex(__const char *path, char **filepath, verify_path_func verify_path ); | |
__attribute__ ((visibility("default"))) char *virtual_realpath(__const char *path, char *real_path ); | |
__attribute__ ((visibility("default"))) FILE *virtual_fopen(__const char *path, __const char *mode ); | |
__attribute__ ((visibility("default"))) int virtual_open(__const char *path , int flags, ...); | |
__attribute__ ((visibility("default"))) int virtual_creat(__const char *path, mode_t mode ); | |
__attribute__ ((visibility("default"))) int virtual_rename(char *oldname, char *newname ); | |
__attribute__ ((visibility("default"))) int virtual_stat(__const char *path, struct stat *buf ); | |
__attribute__ ((visibility("default"))) int virtual_lstat(__const char *path, struct stat *buf ); | |
__attribute__ ((visibility("default"))) int virtual_unlink(__const char *path ); | |
__attribute__ ((visibility("default"))) int virtual_mkdir(__const char *pathname, mode_t mode ); | |
__attribute__ ((visibility("default"))) int virtual_rmdir(__const char *pathname ); | |
__attribute__ ((visibility("default"))) DIR *virtual_opendir(__const char *pathname ); | |
__attribute__ ((visibility("default"))) FILE *virtual_popen(__const char *command, __const char *type ); | |
__attribute__ ((visibility("default"))) int virtual_access(__const char *pathname, int mode ); | |
# 188 "/usr/include/php/TSRM/tsrm_virtual_cwd.h" | |
__attribute__ ((visibility("default"))) int virtual_utime(__const char *filename, struct utimbuf *buf ); | |
__attribute__ ((visibility("default"))) int virtual_chmod(__const char *filename, mode_t mode ); | |
__attribute__ ((visibility("default"))) int virtual_chown(__const char *filename, uid_t owner, gid_t group, int link ); | |
__attribute__ ((visibility("default"))) int virtual_file_ex(cwd_state *state, __const char *path, verify_path_func verify_path, int use_realpath ); | |
__attribute__ ((visibility("default"))) char *tsrm_realpath(__const char *path, char *real_path ); | |
typedef struct _realpath_cache_bucket { | |
unsigned long key; | |
char *path; | |
int path_len; | |
char *realpath; | |
int realpath_len; | |
int is_dir; | |
time_t expires; | |
struct _realpath_cache_bucket *next; | |
} realpath_cache_bucket; | |
typedef struct _virtual_cwd_globals { | |
cwd_state cwd; | |
long realpath_cache_size; | |
long realpath_cache_size_limit; | |
long realpath_cache_ttl; | |
realpath_cache_bucket *realpath_cache[1024]; | |
} virtual_cwd_globals; | |
extern virtual_cwd_globals cwd_globals; | |
__attribute__ ((visibility("default"))) void realpath_cache_clean(void); | |
__attribute__ ((visibility("default"))) void realpath_cache_del(__const char *path, int path_len ); | |
__attribute__ ((visibility("default"))) realpath_cache_bucket* realpath_cache_lookup(__const char *path, int path_len, time_t t ); | |
__attribute__ ((visibility("default"))) int realpath_cache_size(void); | |
__attribute__ ((visibility("default"))) int realpath_cache_max_buckets(void); | |
__attribute__ ((visibility("default"))) realpath_cache_bucket** realpath_cache_get_buckets(void); | |
# 289 "/usr/include/php/TSRM/tsrm_virtual_cwd.h" | |
# 317 "/usr/include/php/TSRM/tsrm_virtual_cwd.h" | |
# 402 "/usr/include/php/main/php.h" 2 | |
# 1 "/usr/include/php/Zend/zend_constants.h" 1 | |
# 18 "/usr/include/php/Zend/zend_constants.h" | |
typedef struct _zend_constant { | |
zval value; | |
int flags; | |
char *name; | |
uint name_len; | |
int module_number; | |
} zend_constant; | |
void clean_module_constants(int module_number ); | |
void free_zend_constant(zend_constant *c); | |
int zend_startup_constants(void); | |
int zend_shutdown_constants(void); | |
void zend_register_standard_constants(void); | |
void clean_non_persistent_constants(void); | |
__attribute__ ((visibility("default"))) int zend_get_constant(__const char *name, uint name_len, zval *result ); | |
__attribute__ ((visibility("default"))) int zend_get_constant_ex(__const char *name, uint name_len, zval *result, zend_class_entry *scope, unsigned long flags ); | |
__attribute__ ((visibility("default"))) void zend_register_long_constant(__const char *name, uint name_len, long lval, int flags, int module_number ); | |
__attribute__ ((visibility("default"))) void zend_register_double_constant(__const char *name, uint name_len, double dval, int flags, int module_number ); | |
__attribute__ ((visibility("default"))) void zend_register_string_constant(__const char *name, uint name_len, char *strval, int flags, int module_number ); | |
__attribute__ ((visibility("default"))) void zend_register_stringl_constant(__const char *name, uint name_len, char *strval, uint strlen, int flags, int module_number ); | |
__attribute__ ((visibility("default"))) int zend_register_constant(zend_constant *c ); | |
void zend_copy_constants(HashTable *target, HashTable *sourc); | |
void copy_zend_constant(zend_constant *c); | |
zend_constant *zend_quick_get_constant(__const zend_literal *key, unsigned long flags ); | |
# 404 "/usr/include/php/main/php.h" 2 | |
# 1 "/usr/include/php/main/php_reentrancy.h" 1 | |
# 17 "/usr/include/php/main/php_reentrancy.h" | |
# 1 "/usr/include/php/main/php.h" 1 | |
# 18 "/usr/include/php/main/php.h" | |
# 448 "/usr/include/php/main/php.h" | |
# 25 "/usr/include/php/main/php_reentrancy.h" 2 | |
# 70 "/usr/include/php/main/php_reentrancy.h" | |
# 81 "/usr/include/php/main/php_reentrancy.h" | |
# 92 "/usr/include/php/main/php_reentrancy.h" | |
# 103 "/usr/include/php/main/php_reentrancy.h" | |
# 411 "/usr/include/php/main/php.h" 2 | |
# 438 "/usr/include/php/main/php.h" | |
# 26 "rust_fib.c" 2 | |
# 1 "/usr/include/php/ext/standard/info.h" 1 | |
# 18 "/usr/include/php/ext/standard/info.h" | |
# 50 "/usr/include/php/ext/standard/info.h" | |
void zif_##phpversion(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
void zif_##phpinfo(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
void zif_##phpcredits(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
void zif_##php_sapi_name(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
void zif_##php_uname(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
void zif_##php_ini_scanned_files(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
void zif_##php_ini_loaded_file(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) ; | |
__attribute__ ((visibility("default"))) char *php_info_html_esc(char *string ); | |
__attribute__ ((visibility("default"))) void php_info_html_esc_write(char *string, int str_len ); | |
__attribute__ ((visibility("default"))) void php_print_info_htmlhead(void); | |
__attribute__ ((visibility("default"))) void php_print_info(int flag ); | |
__attribute__ ((visibility("default"))) void php_print_style(void); | |
__attribute__ ((visibility("default"))) void php_info_print_style(void); | |
__attribute__ ((visibility("default"))) void php_info_print_table_colspan_header(int num_cols, char *header); | |
__attribute__ ((visibility("default"))) void php_info_print_table_header(int num_cols, ...); | |
__attribute__ ((visibility("default"))) void php_info_print_table_row(int num_cols, ...); | |
__attribute__ ((visibility("default"))) void php_info_print_table_row_ex(int num_cols, __const char *, ...); | |
__attribute__ ((visibility("default"))) void php_info_print_table_start(void); | |
__attribute__ ((visibility("default"))) void php_info_print_table_end(void); | |
__attribute__ ((visibility("default"))) void php_info_print_box_start(int bg); | |
__attribute__ ((visibility("default"))) void php_info_print_box_end(void); | |
__attribute__ ((visibility("default"))) void php_info_print_hr(void); | |
__attribute__ ((visibility("default"))) void php_info_print_module(zend_module_entry *module ); | |
__attribute__ ((visibility("default"))) char *php_get_uname(char mode); | |
void register_phpinfo_constants(int type, int module_number ); | |
# 28 "rust_fib.c" 2 | |
# 1 "./php_rust_fib.h" 1 | |
# 17 "./php_rust_fib.h" | |
extern zend_module_entry rust_fib_module_entry; | |
# 29 "rust_fib.c" 2 | |
# 1 "./rust_fib.h" 1 | |
long rust_fib(long at); | |
# 30 "rust_fib.c" 2 | |
static int le_rust_fib; | |
void zif_##confirm_rust_fib_compiled(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used) | |
{ | |
long number; | |
if (zend_parse_parameters((ht) , "l", &number) == FAILURE) { | |
return; | |
} | |
{ { zval *__z = (return_value); (*__z).value.lval = rust_fib(number); (*__z).type = 1; }; return; }; | |
} | |
int zm_startup_##rust_fib(int type, int module_number) | |
{ | |
return SUCCESS; | |
} | |
int zm_shutdown_##rust_fib(int type, int module_number) | |
{ | |
return SUCCESS; | |
} | |
int zm_activate_##rust_fib(int type, int module_number) | |
{ | |
return SUCCESS; | |
} | |
int zm_deactivate_##rust_fib(int type, int module_number) | |
{ | |
return SUCCESS; | |
} | |
void zm_info_##rust_fib(zend_module_entry *zend_module) | |
{ | |
php_info_print_table_start(); | |
php_info_print_table_header(2, "rust_fib support", "enabled"); | |
php_info_print_table_end(); | |
} | |
__const zend_function_entry rust_fib_functions[] = { | |
{ #confirm_rust_fib_compiled, zif_##confirm_rust_fib_compiled, ((void*)0), (zend_uint) (sizeof( ((void*)0))/sizeof(struct _zend_arg_info)-1), 0 }, | |
{ ((void*)0), ((void*)0), ((void*)0), 0, 0 } | |
}; | |
zend_module_entry rust_fib_module_entry = { | |
sizeof(zend_module_entry), 20121212, 0, 0, ((void*)0), ((void*)0), | |
"rust_fib", | |
rust_fib_functions, | |
zm_startup_##rust_fib, | |
zm_shutdown_##rust_fib, | |
((void*)0), | |
((void*)0), | |
zm_info_##rust_fib, | |
"0.1.0", | |
0, ((void*)0), ((void*)0), ((void*)0), ((void*)0), 0, 0, ((void*)0), 0, "API" #20121212 ",NTS" | |
}; | |
__attribute__ ((visibility("default"))) zend_module_entry *get_module(void) { return &rust_fib##_module_entry; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment