Lines Matching refs:fname_len

473 zend_result phar_get_entry_data(phar_entry_data **ret, char *fname, size_t fname_len, char *path, s…  in phar_get_entry_data()  argument
492 if (FAILURE == phar_get_archive(&phar, fname, fname_len, NULL, 0, error)) { in phar_get_entry_data()
633 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
647 if (FAILURE == phar_get_archive(&phar, fname, fname_len, NULL, 0, error)) { in phar_get_or_create_entry_data()
651 …if (FAILURE == phar_get_entry_data(&ret, fname, fname_len, path, path_len, mode, allow_dir, error,… in phar_get_or_create_entry_data()
984 if (zend_hash_str_del(&(PHAR_G(phar_fname_map)), phar->fname, phar->fname_len) != SUCCESS) { in phar_free_alias()
1000 zend_result phar_get_archive(phar_archive_data **archive, char *fname, size_t fname_len, char *alia… in phar_get_archive() argument
1014 …if (PHAR_G(last_phar) && fname_len == PHAR_G(last_phar_name_len) && !memcmp(fname, PHAR_G(last_pha… in phar_get_archive()
1047 if (fname && (fname_len != fd_ptr->fname_len || strncmp(fname, fd_ptr->fname, fname_len))) { in phar_get_archive()
1064 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1078 save_len = fname_len; in phar_get_archive()
1080 if (fname && fname_len) { in phar_get_archive()
1081 if (NULL != (fd_ptr = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), fname, fname_len))) { in phar_get_archive()
1102 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1109 …G(manifest_cached) && NULL != (fd_ptr = zend_hash_str_find_ptr(&cached_phars, fname, fname_len))) { in phar_get_archive()
1126 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1138 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1150 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1161 fname_len = strlen(my_realpath); in phar_get_archive()
1167 phar_unixify_path_separators(fname, fname_len); in phar_get_archive()
1170 if (NULL != (fd_ptr = zend_hash_str_find_ptr(&(PHAR_G(phar_fname_map)), fname, fname_len))) { in phar_get_archive()
1183 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1190 …G(manifest_cached) && NULL != (fd_ptr = zend_hash_str_find_ptr(&cached_phars, fname, fname_len))) { in phar_get_archive()
2082 phar->fname = estrndup(phar->fname, phar->fname_len); in phar_copy_cached_phar()
2109 …if (objphar->archive->fname_len == phar->fname_len && !memcmp(objphar->archive->fname, phar->fname… in phar_copy_cached_phar()
2122 … (pzv = zend_hash_str_add(&(PHAR_G(phar_fname_map)), (*pphar)->fname, (*pphar)->fname_len, &zv))) { in phar_copy_on_write()
2133 zend_hash_str_del(&(PHAR_G(phar_fname_map)), (*pphar)->fname, (*pphar)->fname_len); in phar_copy_on_write()