Lines Matching refs:filename_len
166 int phar_mount_entry(phar_archive_data *phar, char *filename, size_t filename_len, char *path, size… in phar_mount_entry() argument
182 is_phar = (filename_len > 7 && !memcmp(filename, "phar://", 7)); in phar_mount_entry()
189 entry.filename_len = path_len; in phar_mount_entry()
191 entry.tmp = estrndup(filename, filename_len); in phar_mount_entry()
195 entry.tmp = estrndup(filename, filename_len); in phar_mount_entry()
560 etemp.filename_len = path_len; in phar_get_or_create_entry_data()
581 etemp.filename_len--; /* strip trailing / */ in phar_get_or_create_entry_data()
929 …har_resolve_alias(char *alias, size_t alias_len, char **filename, size_t *filename_len) /* {{{ */ { in phar_resolve_alias() argument
934 *filename_len = fd_ptr->fname_len; in phar_resolve_alias()
1294 entry->filename_len = path_len; in phar_get_entry_info_dir()
1990 void phar_add_virtual_dirs(phar_archive_data *phar, char *filename, size_t filename_len) /* {{{ */ in phar_add_virtual_dirs() argument
1996 while ((s = zend_memrchr(filename, '/', filename_len))) { in phar_add_virtual_dirs()
1997 filename_len = s - filename; in phar_add_virtual_dirs()
1998 if (!filename_len) { in phar_add_virtual_dirs()
2002 str = zend_string_init_interned(filename, filename_len, 1); in phar_add_virtual_dirs()
2004 str = zend_string_init(filename, filename_len, 0); in phar_add_virtual_dirs()
2029 entry->filename = estrndup(entry->filename, entry->filename_len); in phar_update_cached_entry()