Lines Matching refs:filename_len
190 zend_result phar_mount_entry(phar_archive_data *phar, char *filename, size_t filename_len, char *pa… in phar_mount_entry() argument
206 is_phar = (filename_len > 7 && !memcmp(filename, "phar://", 7)); in phar_mount_entry()
213 entry.filename_len = path_len; in phar_mount_entry()
215 entry.tmp = estrndup(filename, filename_len); in phar_mount_entry()
219 entry.tmp = estrndup(filename, filename_len); in phar_mount_entry()
677 etemp.filename_len = path_len; in phar_get_or_create_entry_data()
698 etemp.filename_len--; /* strip trailing / */ in phar_get_or_create_entry_data()
978 …har_resolve_alias(char *alias, size_t alias_len, char **filename, size_t *filename_len) /* {{{ */ { in phar_resolve_alias() argument
983 *filename_len = fd_ptr->fname_len; in phar_resolve_alias()
1343 entry->filename_len = path_len; in phar_get_entry_info_dir()
2039 void phar_add_virtual_dirs(phar_archive_data *phar, char *filename, size_t filename_len) /* {{{ */ in phar_add_virtual_dirs() argument
2045 while ((s = zend_memrchr(filename, '/', filename_len))) { in phar_add_virtual_dirs()
2046 filename_len = s - filename; in phar_add_virtual_dirs()
2047 if (!filename_len) { in phar_add_virtual_dirs()
2051 str = zend_string_init_interned(filename, filename_len, 1); in phar_add_virtual_dirs()
2053 str = zend_string_init(filename, filename_len, 0); in phar_add_virtual_dirs()
2078 entry->filename = estrndup(entry->filename, entry->filename_len); in phar_update_cached_entry()