Lines Matching refs:PHAR_G

270 	if (!zend_is_executing(TSRMLS_C) || !PHAR_G(cwd)) {  in phar_find_in_include_path()
277 … (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()
279 arch_len = PHAR_G(last_phar_name_len); in phar_find_in_include_path()
280 phar = PHAR_G(last_phar); in phar_find_in_include_path()
323 …spprintf(&path, MAXPATHLEN, "phar://%s/%s%c%s", arch, PHAR_G(cwd), DEFAULT_DIR_SEPARATOR, PG(inclu… in phar_find_in_include_path()
338 if (!pphar && PHAR_G(manifest_cached)) { in phar_find_in_include_path()
362 if (!zend_is_executing(TSRMLS_C) || !PHAR_G(cwd)) { in phar_find_in_include_path()
501 if (!pphar && PHAR_G(manifest_cached)) { in phar_find_in_include_path()
598 if (for_write && PHAR_G(readonly) && !phar->is_data) { in phar_get_entry_data()
613 …if ((entry = phar_get_entry_info_dir(phar, path, path_len, allow_dir, for_create && !PHAR_G(readon… in phar_get_entry_data()
614 if (for_create && (!PHAR_G(readonly) || phar->is_data)) { in phar_get_entry_data()
620 …if ((entry = phar_get_entry_info(phar, path, path_len, for_create && !PHAR_G(readonly) && !phar->i… in phar_get_entry_data()
621 if (for_create && (!PHAR_G(readonly) || phar->is_data)) { in phar_get_entry_data()
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()
1227 *archive = PHAR_G(last_phar); in phar_get_archive()
1230 …if (!PHAR_G(last_phar)->is_temporary_alias && (alias_len != PHAR_G(last_phar)->alias_len || memcmp… in phar_get_archive()
1232 …lready used for archive \"%s\" cannot be overloaded with \"%s\"", alias, PHAR_G(last_phar)->fname,… in phar_get_archive()
1238 …if (PHAR_G(last_phar)->alias_len && SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_alias_map), PHA… in phar_get_archive()
1239 …zend_hash_del(&(PHAR_GLOBALS->phar_alias_map), PHAR_G(last_phar)->alias, PHAR_G(last_phar)->alias_… in phar_get_archive()
1243 PHAR_G(last_alias) = alias; in phar_get_archive()
1244 PHAR_G(last_alias_len) = alias_len; 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()
1276 PHAR_G(last_phar_name) = fd->fname; in phar_get_archive()
1277 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1278 PHAR_G(last_alias) = alias; in phar_get_archive()
1279 PHAR_G(last_alias_len) = alias_len; in phar_get_archive()
1284 …if (PHAR_G(manifest_cached) && SUCCESS == zend_hash_quick_find(&cached_alias, alias, alias_len, ah… in phar_get_archive()
1314 PHAR_G(last_phar) = fd; in phar_get_archive()
1315 PHAR_G(last_phar_name) = fd->fname; in phar_get_archive()
1316 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1317 PHAR_G(last_alias) = fd->alias; in phar_get_archive()
1318 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
1323 …if (PHAR_G(manifest_cached) && SUCCESS == zend_hash_quick_find(&cached_phars, fname, fname_len, fh… in phar_get_archive()
1338 PHAR_G(last_phar) = fd; in phar_get_archive()
1339 PHAR_G(last_phar_name) = fd->fname; in phar_get_archive()
1340 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1341 PHAR_G(last_alias) = fd->alias; in phar_get_archive()
1342 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
1350 PHAR_G(last_phar) = fd; in phar_get_archive()
1351 PHAR_G(last_phar_name) = fd->fname; in phar_get_archive()
1352 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1353 PHAR_G(last_alias) = fd->alias; in phar_get_archive()
1354 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
1359 …if (PHAR_G(manifest_cached) && SUCCESS == zend_hash_quick_find(&cached_alias, save, save_len, fhas… in phar_get_archive()
1362 PHAR_G(last_phar) = fd; in phar_get_archive()
1363 PHAR_G(last_phar_name) = fd->fname; in phar_get_archive()
1364 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1365 PHAR_G(last_alias) = fd->alias; in phar_get_archive()
1366 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
1396 PHAR_G(last_phar) = fd; in phar_get_archive()
1397 PHAR_G(last_phar_name) = fd->fname; in phar_get_archive()
1398 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1399 PHAR_G(last_alias) = fd->alias; in phar_get_archive()
1400 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
1405 …if (PHAR_G(manifest_cached) && SUCCESS == zend_hash_quick_find(&cached_phars, fname, fname_len, fh… in phar_get_archive()
1647 *signature = (char*)safe_pemalloc(digest_len, 2, 1, PHAR_G(persist)); in phar_hex_str()
2133 in = BIO_new_mem_buf(PHAR_G(openssl_privatekey), PHAR_G(openssl_privatekey_len));
2190 …= phar_call_openssl_signverify(1, fp, php_stream_tell(fp), PHAR_G(openssl_privatekey), PHAR_G(open…
2375 PHAR_G(last_phar) = NULL;
2376 PHAR_G(last_phar_name) = PHAR_G(last_alias) = NULL;