Lines Matching refs:arch

260 	char *path, *fname, *arch, *entry, *ret, *test;  in phar_find_in_include_path()  local
278 arch = estrndup(PHAR_G(last_phar_name), PHAR_G(last_phar_name_len)); in phar_find_in_include_path()
284 …name, "phar://", 7) || SUCCESS != phar_split_fname(fname, strlen(fname), &arch, &arch_len, &entry,… in phar_find_in_include_path()
293 if (FAILURE == phar_get_archive(&phar, arch, arch_len, NULL, 0, NULL TSRMLS_CC)) { in phar_find_in_include_path()
294 efree(arch); in phar_find_in_include_path()
307 spprintf(&ret, 0, "phar://%s%s", arch, test); in phar_find_in_include_path()
308 efree(arch); in phar_find_in_include_path()
314 spprintf(&ret, 0, "phar://%s/%s", arch, test); in phar_find_in_include_path()
315 efree(arch); 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()
324 efree(arch); in phar_find_in_include_path()
332 …if (SUCCESS != phar_split_fname(ret, ret_len, &arch, &arch_len, &entry, &entry_len, 1, 0 TSRMLS_CC… in phar_find_in_include_path()
336 zend_hash_find(&(PHAR_GLOBALS->phar_fname_map), arch, arch_len, (void **) &pphar); in phar_find_in_include_path()
339 zend_hash_find(&cached_phars, arch, arch_len, (void **) &pphar); in phar_find_in_include_path()
342 efree(arch); in phar_find_in_include_path()
354 char *fname, *arch, *entry, *ret, *test; in phar_find_in_include_path()
368 …if (SUCCESS != phar_split_fname(fname, strlen(fname), &arch, &arch_len, &entry, &entry_len, 1, 0 T… in phar_find_in_include_path()
377 if (FAILURE == phar_get_archive(&phar, arch, arch_len, NULL, 0, NULL TSRMLS_CC)) { in phar_find_in_include_path()
378 efree(arch); in phar_find_in_include_path()
387 spprintf(&ret, 0, "phar://%s%s", arch, test); in phar_find_in_include_path()
388 efree(arch); in phar_find_in_include_path()
394 spprintf(&ret, 0, "phar://%s/%s", arch, test); in phar_find_in_include_path()
395 efree(arch); in phar_find_in_include_path()
404 efree(arch); in phar_find_in_include_path()
489 char *arch, *entry; in phar_find_in_include_path()
495 …if (SUCCESS != phar_split_fname(trypath, ret_len, &arch, &arch_len, &entry, &entry_len, 1, 0 TSRML… in phar_find_in_include_path()
499 zend_hash_find(&(PHAR_GLOBALS->phar_fname_map), arch, arch_len, (void **) &pphar); in phar_find_in_include_path()
502 zend_hash_find(&cached_phars, arch, arch_len, (void **) &pphar); in phar_find_in_include_path()
505 efree(arch); in phar_find_in_include_path()