Lines Matching refs:filename_len
2292 newentry.filename = estrndup(newentry.filename, newentry.filename_len); in phar_convert_to_other()
2310 …zend_hash_str_add_mem(&(phar->manifest), newentry.filename, newentry.filename_len, (void*)&newentr… in phar_convert_to_other()
2311 phar_add_virtual_dirs(phar, newentry.filename, newentry.filename_len); in phar_convert_to_other()
3480 newentry.filename_len = newfile_len; in PHP_METHOD()
3589 static void phar_add_file(phar_archive_data **pphar, char *filename, size_t filename_len, char *con… in phar_add_file() argument
3602 if (filename_len >= sizeof(".phar")-1) { in phar_add_file()
3612 if (memchr(filename, '\\', filename_len)) { in phar_add_file()
3613 filename = do_alloca(filename_len + 1, filename_use_heap); in phar_add_file()
3614 memcpy(filename, save_filename, filename_len); in phar_add_file()
3615 filename[filename_len] = '\0'; in phar_add_file()
3619 …_or_create_entry_data((*pphar)->fname, (*pphar)->fname_len, filename, filename_len, "w+b", 0, &err… in phar_add_file()
4117 size_t filename_len; in phar_extract_file() local
4124 …if (entry->filename_len >= sizeof(".phar")-1 && !memcmp(entry->filename, ".phar", sizeof(".phar")-… in phar_extract_file()
4134 if (EINVAL == errno && entry->filename_len > 50) { in phar_extract_file()
4145 filename_len = new_state.cwd_length - 1; in phar_extract_file()
4155 } while (cnt++ < filename_len); in phar_extract_file()
4165 if (entry->filename_len > 50) { in phar_extract_file()
4200 slash = zend_memrchr(filename, '/', filename_len); in phar_extract_file()
4641 …end_hash_str_find_ptr(&phar->manifest, entry_obj->entry->filename, entry_obj->entry->filename_len); in PHP_METHOD()
4736 …end_hash_str_find_ptr(&phar->manifest, entry_obj->entry->filename, entry_obj->entry->filename_len); in PHP_METHOD()
4786 …end_hash_str_find_ptr(&phar->manifest, entry_obj->entry->filename, entry_obj->entry->filename_len); in PHP_METHOD()
4902 …end_hash_str_find_ptr(&phar->manifest, entry_obj->entry->filename, entry_obj->entry->filename_len); in PHP_METHOD()
5039 …end_hash_str_find_ptr(&phar->manifest, entry_obj->entry->filename, entry_obj->entry->filename_len); in PHP_METHOD()