Home
last modified time | relevance | path

Searched refs:PHAR_G (Results 1 – 9 of 9) sorted by relevance

/PHP-5.4/ext/phar/
H A Dfunc_interceptors.c32 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 Dutil.c277 … (PHAR_G(last_phar) && !memcmp(fname, "phar://", 7) && fname_len - 7 >= PHAR_G(last_phar_name_len)… in phar_find_in_include_path()
278 arch = estrndup(PHAR_G(last_phar_name), PHAR_G(last_phar_name_len)); in phar_find_in_include_path()
280 phar = PHAR_G(last_phar); in phar_find_in_include_path()
1200 PHAR_G(last_phar) = NULL; in phar_free_alias()
1201 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL; in phar_free_alias()
1226 …if (PHAR_G(last_phar) && fname_len == PHAR_G(last_phar_name_len) && !memcmp(fname, PHAR_G(last_pha… in phar_get_archive()
1250 …if (alias && alias_len && PHAR_G(last_phar) && alias_len == PHAR_G(last_alias_len) && !memcmp(alia… in phar_get_archive()
1251 fd = PHAR_G(last_phar); in phar_get_archive()
1275 PHAR_G(last_phar) = fd; in phar_get_archive()
1314 PHAR_G(last_phar) = fd; in phar_get_archive()
[all …]
H A Dphar.c86 PHAR_G(readonly) = ini; in ZEND_INI_MH()
288 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL; in phar_archive_delref()
627 if (PHAR_G(persist)) {
3608 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL;
3632 PHAR_G(cwd) = NULL;
3633 PHAR_G(cwd_len) = 0;
3634 PHAR_G(cwd_init) = 0;
3672 if (PHAR_G(cwd)) {
3673 efree(PHAR_G(cwd));
3676 PHAR_G(cwd) = NULL;
[all …]
H A Dphar_object.c258 PHAR_G(cwd) = NULL; in phar_file_action()
259 PHAR_G(cwd_len) = 0; in phar_file_action()
267 PHAR_G(cwd) = NULL; in phar_file_action()
270 PHAR_G(cwd) = estrndup(entry + 1, PHAR_G(cwd_len)); in phar_file_action()
273 PHAR_G(cwd) = estrndup(entry, PHAR_G(cwd_len)); in phar_file_action()
298 if (PHAR_G(cwd)) { in phar_file_action()
314 if (PHAR_G(cwd)) { in phar_file_action()
1070 if (PHAR_G(has_zlib) || PHAR_G(has_bz2)) {
1393 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL;
2298 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL;
[all …]
H A Dstream.c109 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 Dphar_internal.h215 # define PHAR_G(v) TSRMG(phar_globals_id, zend_phar_globals *, v) macro
218 # define PHAR_G(v) (phar_globals.v)
H A Ddirstream.c453 if (PHAR_G(readonly) && (!phar || !phar->is_data)) { in phar_wrapper_mkdir()
590 if (PHAR_G(readonly) && (!phar || !phar->is_data)) { in phar_wrapper_rmdir()
H A Dzip.c221 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 Dtar.c225 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 81 milliseconds