Lines Matching refs:PHAR_G

32 	if (!PHAR_G(intercepted)) {  in PHAR_FUNC()
89 PHAR_G(orig_opendir)(INTERNAL_FUNCTION_PARAM_PASSTHRU); in PHAR_FUNC()
106 if (!PHAR_G(intercepted)) { in PHAR_FUNC()
225 PHAR_G(orig_file_get_contents)(INTERNAL_FUNCTION_PARAM_PASSTHRU); in PHAR_FUNC()
239 if (!PHAR_G(intercepted)) { in PHAR_FUNC()
320 PHAR_G(orig_readfile)(INTERNAL_FUNCTION_PARAM_PASSTHRU); in PHAR_FUNC()
334 if (!PHAR_G(intercepted)) { in PHAR_FUNC()
418 PHAR_G(orig_fopen)(INTERNAL_FUNCTION_PARAM_PASSTHRU); in PHAR_FUNC()
633 …if (PHAR_G(last_phar) && fname_len - 7 >= PHAR_G(last_phar_name_len) && !memcmp(fname + 7, PHAR_G(… in phar_file_stat()
634 arch = estrndup(PHAR_G(last_phar_name), PHAR_G(last_phar_name_len)); in phar_file_stat()
635 arch_len = PHAR_G(last_phar_name_len); in phar_file_stat()
639 phar = PHAR_G(last_phar); in phar_file_stat()
691 save = PHAR_G(cwd); in phar_file_stat()
692 save_len = PHAR_G(cwd_len); in phar_file_stat()
696 PHAR_G(cwd) = "/"; in phar_file_stat()
697 PHAR_G(cwd_len) = 0; in phar_file_stat()
701 PHAR_G(cwd) = save; in phar_file_stat()
702 PHAR_G(cwd_len) = save_len; in phar_file_stat()
711 PHAR_G(cwd) = save; in phar_file_stat()
712 PHAR_G(cwd_len) = save_len; in phar_file_stat()
732 PHAR_G(cwd) = save; in phar_file_stat()
733 PHAR_G(cwd_len) = save_len; in phar_file_stat()
810 if (!PHAR_G(intercepted)) { \
811 PHAR_G(orig)(INTERNAL_FUNCTION_PARAM_PASSTHRU); \
820 …phar_file_stat(filename, (php_stat_len) filename_len, funcnum, PHAR_G(orig), INTERNAL_FUNCTION_PAR…
900 if (!PHAR_G(intercepted)) { in PharFileFunction()
957 PHAR_G(orig_is_file)(INTERNAL_FUNCTION_PARAM_PASSTHRU); in PharFileFunction()
967 if (!PHAR_G(intercepted)) { in PHAR_FUNC()
1022 PHAR_G(orig_is_link)(INTERNAL_FUNCTION_PARAM_PASSTHRU); in PHAR_FUNC()
1040 if (!PHAR_G(request_init)) { in PharFileFunction()
1041 PHAR_G(cwd) = NULL; in PharFileFunction()
1042 PHAR_G(cwd_len) = 0; in PharFileFunction()
1044 PHAR_G(intercepted) = 1; in PharFileFunction()
1051 PHAR_G(intercepted) = 0; in phar_release_functions()
1057 PHAR_G(orig_##func) = NULL; \
1059 PHAR_G(orig_##func) = orig->internal_function.handler; \
1089 PHAR_G(intercepted) = 0; in phar_intercept_functions_init()
1095 …if (PHAR_G(orig_##func) && SUCCESS == zend_hash_find(CG(function_table), #func, sizeof(#func), (vo…
1096 orig->internal_function.handler = PHAR_G(orig_##func); \
1098 PHAR_G(orig_##func) = NULL;
1125 PHAR_G(intercepted) = 0; in phar_intercept_functions_shutdown()
1156 phar_orig_functions.orig_fopen = PHAR_G(orig_fopen); in phar_save_orig_functions()
1157 phar_orig_functions.orig_file_get_contents = PHAR_G(orig_file_get_contents); in phar_save_orig_functions()
1158 phar_orig_functions.orig_is_file = PHAR_G(orig_is_file); in phar_save_orig_functions()
1159 phar_orig_functions.orig_is_link = PHAR_G(orig_is_link); in phar_save_orig_functions()
1160 phar_orig_functions.orig_is_dir = PHAR_G(orig_is_dir); in phar_save_orig_functions()
1161 phar_orig_functions.orig_opendir = PHAR_G(orig_opendir); in phar_save_orig_functions()
1162 phar_orig_functions.orig_file_exists = PHAR_G(orig_file_exists); in phar_save_orig_functions()
1163 phar_orig_functions.orig_fileperms = PHAR_G(orig_fileperms); in phar_save_orig_functions()
1164 phar_orig_functions.orig_fileinode = PHAR_G(orig_fileinode); in phar_save_orig_functions()
1165 phar_orig_functions.orig_filesize = PHAR_G(orig_filesize); in phar_save_orig_functions()
1166 phar_orig_functions.orig_fileowner = PHAR_G(orig_fileowner); in phar_save_orig_functions()
1167 phar_orig_functions.orig_filegroup = PHAR_G(orig_filegroup); in phar_save_orig_functions()
1168 phar_orig_functions.orig_fileatime = PHAR_G(orig_fileatime); in phar_save_orig_functions()
1169 phar_orig_functions.orig_filemtime = PHAR_G(orig_filemtime); in phar_save_orig_functions()
1170 phar_orig_functions.orig_filectime = PHAR_G(orig_filectime); in phar_save_orig_functions()
1171 phar_orig_functions.orig_filetype = PHAR_G(orig_filetype); in phar_save_orig_functions()
1172 phar_orig_functions.orig_is_writable = PHAR_G(orig_is_writable); in phar_save_orig_functions()
1173 phar_orig_functions.orig_is_readable = PHAR_G(orig_is_readable); in phar_save_orig_functions()
1174 phar_orig_functions.orig_is_executable = PHAR_G(orig_is_executable); in phar_save_orig_functions()
1175 phar_orig_functions.orig_lstat = PHAR_G(orig_lstat); in phar_save_orig_functions()
1176 phar_orig_functions.orig_readfile = PHAR_G(orig_readfile); in phar_save_orig_functions()
1177 phar_orig_functions.orig_stat = PHAR_G(orig_stat); in phar_save_orig_functions()
1183 PHAR_G(orig_fopen) = phar_orig_functions.orig_fopen; in phar_restore_orig_functions()
1184 PHAR_G(orig_file_get_contents) = phar_orig_functions.orig_file_get_contents; in phar_restore_orig_functions()
1185 PHAR_G(orig_is_file) = phar_orig_functions.orig_is_file; in phar_restore_orig_functions()
1186 PHAR_G(orig_is_link) = phar_orig_functions.orig_is_link; in phar_restore_orig_functions()
1187 PHAR_G(orig_is_dir) = phar_orig_functions.orig_is_dir; in phar_restore_orig_functions()
1188 PHAR_G(orig_opendir) = phar_orig_functions.orig_opendir; in phar_restore_orig_functions()
1189 PHAR_G(orig_file_exists) = phar_orig_functions.orig_file_exists; in phar_restore_orig_functions()
1190 PHAR_G(orig_fileperms) = phar_orig_functions.orig_fileperms; in phar_restore_orig_functions()
1191 PHAR_G(orig_fileinode) = phar_orig_functions.orig_fileinode; in phar_restore_orig_functions()
1192 PHAR_G(orig_filesize) = phar_orig_functions.orig_filesize; in phar_restore_orig_functions()
1193 PHAR_G(orig_fileowner) = phar_orig_functions.orig_fileowner; in phar_restore_orig_functions()
1194 PHAR_G(orig_filegroup) = phar_orig_functions.orig_filegroup; in phar_restore_orig_functions()
1195 PHAR_G(orig_fileatime) = phar_orig_functions.orig_fileatime; in phar_restore_orig_functions()
1196 PHAR_G(orig_filemtime) = phar_orig_functions.orig_filemtime; in phar_restore_orig_functions()
1197 PHAR_G(orig_filectime) = phar_orig_functions.orig_filectime; in phar_restore_orig_functions()
1198 PHAR_G(orig_filetype) = phar_orig_functions.orig_filetype; in phar_restore_orig_functions()
1199 PHAR_G(orig_is_writable) = phar_orig_functions.orig_is_writable; in phar_restore_orig_functions()
1200 PHAR_G(orig_is_readable) = phar_orig_functions.orig_is_readable; in phar_restore_orig_functions()
1201 PHAR_G(orig_is_executable) = phar_orig_functions.orig_is_executable; in phar_restore_orig_functions()
1202 PHAR_G(orig_lstat) = phar_orig_functions.orig_lstat; in phar_restore_orig_functions()
1203 PHAR_G(orig_readfile) = phar_orig_functions.orig_readfile; in phar_restore_orig_functions()
1204 PHAR_G(orig_stat) = phar_orig_functions.orig_stat; in phar_restore_orig_functions()