Lines Matching refs:arch
165 …_info *info, char *mime_type, int code, char *entry, int entry_len, char *arch, char *basename, ch… in phar_file_action() argument
184 name_len = spprintf(&name, 4096, "phar://%s%s", arch, entry); in phar_file_action()
186 name_len = spprintf(&name, 4096, "phar://%s/%s", arch, entry); in phar_file_action()
194 efree(arch); in phar_file_action()
242 phar_mung_server_vars(arch, entry, entry_len, basename, ru_len TSRMLS_CC); in phar_file_action()
247 name_len = spprintf(&name, 4096, "phar://%s%s", arch, entry); in phar_file_action()
249 name_len = spprintf(&name, 4096, "phar://%s/%s", arch, entry); in phar_file_action()
290 efree(arch); in phar_file_action()
443 char *fname, *arch, *entry; in PHP_METHOD() local
454 …mp(fname, "phar://", 7) && SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry,… in PHP_METHOD()
458 efree(arch); in PHP_METHOD()
461 RETURN_STRINGL(arch, arch_len, 0); in PHP_METHOD()
477 char *fname, *arch = NULL, *entry = NULL, *path, *actual; in PHP_METHOD() local
492 …mp(fname, "phar://", 7) && SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry,… in PHP_METHOD()
498 efree(arch); in PHP_METHOD()
502 if (SUCCESS != zend_hash_find(&(PHAR_GLOBALS->phar_fname_map), arch, arch_len, (void **)&pphar)) { in PHP_METHOD()
503 …if (PHAR_G(manifest_cached) && SUCCESS == zend_hash_find(&cached_phars, arch, arch_len, (void **)&… in PHP_METHOD()
509 …w_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "%s is not a phar archive, cannot mount", arch); in PHP_METHOD()
511 if (arch) { in PHP_METHOD()
512 efree(arch); in PHP_METHOD()
518 …r_ce_PharException, 0 TSRMLS_CC, "Mounting of %s to %s within phar %s failed", path, actual, arch); in PHP_METHOD()
523 if (arch) { in PHP_METHOD()
524 efree(arch); in PHP_METHOD()
534 if (arch) { in PHP_METHOD()
535 efree(arch); in PHP_METHOD()
547 …} else if (SUCCESS == phar_split_fname(path, path_len, &arch, &arch_len, &entry, &entry_len, 2, 0 … in PHP_METHOD()
1157 char *fname, *alias = NULL, *error, *arch = NULL, *entry = NULL, *save_fname;
1189 …if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, !is_data, …
1193 phar_unixify_path_separators(arch, arch_len);
1195 fname = arch;
1199 arch = estrndup(fname, fname_len);
1201 fname = arch;
1202 phar_unixify_path_separators(arch, arch_len);
1208 if (fname == arch && fname != save_fname) {
1209 efree(arch);
1234 if (fname == arch) {
1235 efree(arch);
1342 char *fname, *error, *zname, *arch, *entry; local
1368 …mp(zname, "phar://", 7) && SUCCESS == phar_split_fname(zname, zname_len, &arch, &arch_len, &entry,…
1369 if (arch_len == fname_len && !memcmp(arch, fname, arch_len)) {
1371 efree(arch);
1375 efree(arch);
4541 char *fname, *arch, *entry, *error; local
4559 …if (fname_len < 7 || memcmp(fname, "phar://", 7) || phar_split_fname(fname, fname_len, &arch, &arc…
4565 …if (phar_open_from_filename(arch, arch_len, NULL, 0, REPORT_ERRORS, &phar_data, &error TSRMLS_CC) …
4566 efree(arch);
4581 …"Cannot access phar file entry '%s' in archive '%s'%s%s", entry, arch, error ? ", " : "", error ? …
4582 efree(arch);
4587 efree(arch);