Searched refs:PHAR_G (Results 1 – 9 of 9) sorted by relevance
/PHP-5.3/ext/phar/ |
H A D | func_interceptors.c | 32 if (!PHAR_G(intercepted)) { 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() 691 save = PHAR_G(cwd); 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() 711 PHAR_G(cwd) = save; in phar_file_stat() 732 PHAR_G(cwd) = save; in phar_file_stat() 1041 PHAR_G(cwd) = NULL; in PharFileFunction() [all …]
|
H A D | util.c | 278 … (PHAR_G(last_phar) && !memcmp(fname, "phar://", 7) && fname_len - 7 >= PHAR_G(last_phar_name_len)… in phar_find_in_include_path() 279 arch = estrndup(PHAR_G(last_phar_name), PHAR_G(last_phar_name_len)); in phar_find_in_include_path() 281 phar = PHAR_G(last_phar); in phar_find_in_include_path() 1201 PHAR_G(last_phar) = NULL; in phar_free_alias() 1202 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL; in phar_free_alias() 1227 …if (PHAR_G(last_phar) && fname_len == PHAR_G(last_phar_name_len) && !memcmp(fname, PHAR_G(last_pha… in phar_get_archive() 1251 …if (alias && alias_len && PHAR_G(last_phar) && alias_len == PHAR_G(last_alias_len) && !memcmp(alia… in phar_get_archive() 1252 fd = PHAR_G(last_phar); in phar_get_archive() 1274 PHAR_G(last_phar) = fd; in phar_get_archive() 1313 PHAR_G(last_phar) = fd; in phar_get_archive() [all …]
|
H A D | phar_object.c | 257 PHAR_G(cwd) = NULL; in phar_file_action() 258 PHAR_G(cwd_len) = 0; in phar_file_action() 266 PHAR_G(cwd) = NULL; in phar_file_action() 269 PHAR_G(cwd) = estrndup(entry + 1, PHAR_G(cwd_len)); in phar_file_action() 272 PHAR_G(cwd) = estrndup(entry, PHAR_G(cwd_len)); in phar_file_action() 297 if (PHAR_G(cwd)) { in phar_file_action() 313 if (PHAR_G(cwd)) { in phar_file_action() 1067 if (PHAR_G(has_zlib) || PHAR_G(has_bz2)) { 1390 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL; 2292 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL; [all …]
|
H A D | phar.c | 86 PHAR_G(readonly) = ini; in ZEND_INI_MH() 288 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL; in phar_archive_delref() 633 if (PHAR_G(persist)) { 3588 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL; 3612 PHAR_G(cwd) = NULL; 3613 PHAR_G(cwd_len) = 0; 3614 PHAR_G(cwd_init) = 0; 3652 if (PHAR_G(cwd)) { 3653 efree(PHAR_G(cwd)); 3656 PHAR_G(cwd) = NULL; [all …]
|
H A D | stream.c | 109 if (PHAR_G(readonly) && (!pphar || !(*pphar)->is_data)) { in phar_parse_url() 319 if (!PHAR_G(cwd_init) && options & STREAM_OPEN_FOR_INCLUDE) { in phar_wrapper_open_url() 322 PHAR_G(cwd_init) = 1; in phar_wrapper_open_url() 325 PHAR_G(cwd_init) = 0; in phar_wrapper_open_url() 327 PHAR_G(cwd_len) = cwd - entry; in phar_wrapper_open_url() 328 PHAR_G(cwd) = estrndup(entry, PHAR_G(cwd_len)); in phar_wrapper_open_url() 331 PHAR_G(cwd_len) = 0; in phar_wrapper_open_url() 332 PHAR_G(cwd) = NULL; in phar_wrapper_open_url() 722 if (PHAR_G(readonly) && (!pphar || !(*pphar)->is_data)) { in phar_wrapper_unlink() 787 if (PHAR_G(readonly) && (!pfrom || !pfrom->is_data)) { in phar_wrapper_rename() [all …]
|
H A D | dirstream.c | 457 if (PHAR_G(readonly) && (!phar || !phar->is_data)) { in phar_wrapper_mkdir() 594 if (PHAR_G(readonly) && (!phar || !phar->is_data)) { in phar_wrapper_rmdir()
|
H A D | phar_internal.h | 215 # define PHAR_G(v) TSRMG(phar_globals_id, zend_phar_globals *, v) macro 218 # define PHAR_G(v) (phar_globals.v)
|
H A D | zip.c | 221 mydata = pecalloc(1, sizeof(phar_archive_data), PHAR_G(persist)); in phar_parse_zipfile() 222 mydata->is_persistent = PHAR_G(persist); in phar_parse_zipfile() 477 if (!PHAR_G(has_zlib)) { in phar_parse_zipfile() 484 if (!PHAR_G(has_bz2)) { in phar_parse_zipfile()
|
H A D | tar.c | 225 myphar = (phar_archive_data *) pecalloc(1, sizeof(phar_archive_data), PHAR_G(persist)); in phar_parse_tarfile() 226 myphar->is_persistent = PHAR_G(persist); in phar_parse_tarfile() 582 if (!myphar->is_data && PHAR_G(require_hash) && !myphar->signature) { in phar_parse_tarfile()
|
Completed in 54 milliseconds