Lines Matching refs:fname_len
248 size_t arch_len, entry_len, fname_len; in phar_find_in_include_path() local
262 fname_len = strlen(fname); in phar_find_in_include_path()
264 …if (PHAR_G(last_phar) && !memcmp(fname, "phar://", 7) && fname_len - 7 >= PHAR_G(last_phar_name_le… in phar_find_in_include_path()
271 …if (fname_len < 7 || memcmp(fname, "phar://", 7) || SUCCESS != phar_split_fname(fname, strlen(fnam… in phar_find_in_include_path()
343 int phar_get_entry_data(phar_entry_data **ret, char *fname, size_t fname_len, char *path, size_t pa… in phar_get_entry_data() argument
362 if (FAILURE == phar_get_archive(&phar, fname, fname_len, NULL, 0, error)) { in phar_get_entry_data()
509 phar_entry_data *phar_get_or_create_entry_data(char *fname, size_t fname_len, char *path, size_t pa… in phar_get_or_create_entry_data() argument
523 if (FAILURE == phar_get_archive(&phar, fname, fname_len, NULL, 0, error)) { in phar_get_or_create_entry_data()
527 …if (FAILURE == phar_get_entry_data(&ret, fname, fname_len, path, path_len, mode, allow_dir, error,… in phar_get_or_create_entry_data()
926 *filename_len = fd_ptr->fname_len; in phar_resolve_alias()
940 if (zend_hash_str_del(&(PHAR_G(phar_fname_map)), phar->fname, phar->fname_len) != SUCCESS) { in phar_free_alias()
956 int phar_get_archive(phar_archive_data **archive, char *fname, size_t fname_len, char *alias, size_… in phar_get_archive() argument
970 …if (PHAR_G(last_phar) && fname_len == PHAR_G(last_phar_name_len) && !memcmp(fname, PHAR_G(last_pha… in phar_get_archive()
1003 if (fname && (fname_len != fd_ptr->fname_len || strncmp(fname, fd_ptr->fname, fname_len))) { in phar_get_archive()
1020 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1034 save_len = fname_len; in phar_get_archive()
1036 if (fname && fname_len) { in phar_get_archive()
1037 if (NULL != (fd_ptr = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), fname, fname_len))) { in phar_get_archive()
1058 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1065 …G(manifest_cached) && NULL != (fd_ptr = zend_hash_str_find_ptr(&cached_phars, fname, fname_len))) { in phar_get_archive()
1082 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1094 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1106 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1117 fname_len = strlen(my_realpath); in phar_get_archive()
1123 phar_unixify_path_separators(fname, fname_len); in phar_get_archive()
1126 if (NULL != (fd_ptr = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), fname, fname_len))) { in phar_get_archive()
1139 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1146 …G(manifest_cached) && NULL != (fd_ptr = zend_hash_str_find_ptr(&cached_phars, fname, fname_len))) { in phar_get_archive()
2024 phar->fname = estrndup(phar->fname, phar->fname_len); in phar_copy_cached_phar()
2060 …if (objphar->archive->fname_len == phar->fname_len && !memcmp(objphar->archive->fname, phar->fname… in phar_copy_cached_phar()
2073 … (pzv = zend_hash_str_add(&(PHAR_G(phar_fname_map)), (*pphar)->fname, (*pphar)->fname_len, &zv))) { in phar_copy_on_write()
2084 zend_hash_str_del(&(PHAR_G(phar_fname_map)), (*pphar)->fname, (*pphar)->fname_len); in phar_copy_on_write()