Lines Matching refs:pphar

489 …as, size_t alias_len, bool is_data, uint32_t options, phar_archive_data** pphar, char **error) /* …  in phar_open_parsed_phar()  argument
538 if (pphar) { in phar_open_parsed_phar()
539 *pphar = phar; in phar_open_parsed_phar()
550 if (pphar) { in phar_open_parsed_phar()
551 *pphar = NULL; in phar_open_parsed_phar()
733 …char *alias, size_t alias_len, zend_long halt_offset, phar_archive_data** pphar, uint32_t compress… in phar_parse_pharfile() argument
747 if (pphar) { in phar_parse_pharfile()
748 *pphar = NULL; in phar_parse_pharfile()
1299 if (pphar) { in phar_parse_pharfile()
1300 *pphar = mydata; in phar_parse_pharfile()
1310 …as, size_t alias_len, bool is_data, uint32_t options, phar_archive_data** pphar, char **error) /* … in phar_open_or_create_filename() argument
1341 if (pphar) { in phar_open_or_create_filename()
1342 *pphar = *test; in phar_open_or_create_filename()
1375 …return phar_open_or_create_zip(fname, fname_len, alias, alias_len, is_data, options, pphar, error); in phar_open_or_create_filename()
1380 …return phar_open_or_create_tar(fname, fname_len, alias, alias_len, is_data, options, pphar, error); in phar_open_or_create_filename()
1383 …return phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, pphar, … in phar_open_or_create_filename()
1387 …ame_len, char *alias, size_t alias_len, uint32_t options, phar_archive_data** pphar, char **error);
1389 …as, size_t alias_len, bool is_data, uint32_t options, phar_archive_data** pphar, char **error) /* … in phar_create_or_parse_filename() argument
1396 if (!pphar) { in phar_create_or_parse_filename()
1397 pphar = &mydata; in phar_create_or_parse_filename()
1412 if (phar_open_from_fp(fp, fname, fname_len, alias, alias_len, options, pphar, error) == SUCCESS) { in phar_create_or_parse_filename()
1413 if ((*pphar)->is_data || !PHAR_G(readonly)) { in phar_create_or_parse_filename()
1414 (*pphar)->is_writeable = 1; in phar_create_or_parse_filename()
1465 if (pphar) { in phar_create_or_parse_filename()
1466 *pphar = mydata; in phar_create_or_parse_filename()
1501 if (pphar) { in phar_create_or_parse_filename()
1502 *pphar = NULL; in phar_create_or_parse_filename()
1524 if (pphar) { in phar_create_or_parse_filename()
1525 *pphar = NULL; in phar_create_or_parse_filename()
1543 …len, char *alias, size_t alias_len, uint32_t options, phar_archive_data** pphar, char **error) /* … in phar_open_from_filename() argument
1557 …if (phar_open_parsed_phar(fname, fname_len, alias, alias_len, is_data, options, pphar, error) == S… in phar_open_from_filename()
1585 zend_result ret = phar_open_from_fp(fp, fname, fname_len, alias, alias_len, options, pphar, error); in phar_open_from_filename()
1629 …len, char *alias, size_t alias_len, uint32_t options, phar_archive_data** pphar, char **error) /* … in phar_open_from_fp() argument
1777 return phar_parse_zipfile(fp, fname, fname_len, alias, alias_len, pphar, error); in phar_open_from_fp()
1783 return phar_parse_tarfile(fp, fname, fname_len, alias, alias_len, pphar, compression, error); in phar_open_from_fp()
1790 …return phar_parse_pharfile(fp, fname, fname_len, alias, alias_len, halt_offset, pphar, compression… in phar_open_from_fp()
2003 phar_archive_data *pphar; in phar_detect_phar_fname_ext() local
2006 …if (NULL != (pphar = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), (char *) filename, filename… in phar_detect_phar_fname_ext()
2007 *ext_str = filename + (filename_len - pphar->ext_len); in phar_detect_phar_fname_ext()
2009 *ext_len = pphar->ext_len; in phar_detect_phar_fname_ext()
2015 if (executable == 1 && !pphar->is_data) { in phar_detect_phar_fname_ext()
2019 if (!executable && pphar->is_data) { in phar_detect_phar_fname_ext()
2026 …if (PHAR_G(manifest_cached) && NULL != (pphar = zend_hash_str_find_ptr(&cached_phars, (char *) fil… in phar_detect_phar_fname_ext()
2027 *ext_str = filename + (filename_len - pphar->ext_len); in phar_detect_phar_fname_ext()
2033 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&PHAR_G(phar_fname_map), str_key, pphar) { in phar_detect_phar_fname_ext()
2040 *ext_str = filename + (ZSTR_LEN(str_key) - pphar->ext_len); in phar_detect_phar_fname_ext()
2046 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&cached_phars, str_key, pphar) { in phar_detect_phar_fname_ext()
2053 *ext_str = filename + (ZSTR_LEN(str_key) - pphar->ext_len); in phar_detect_phar_fname_ext()
3462 phar_archive_data *pphar; in phar_request_initialize() local
3465 ZEND_HASH_MAP_FOREACH_PTR(&cached_phars, pphar) { in phar_request_initialize()
3466 …stuff[pphar->phar_pos].manifest = (phar_entry_fp_info *) ecalloc( zend_hash_num_elements(&(pphar->… in phar_request_initialize()