Lines Matching refs:fname_len
229 int phar_parse_zipfile(php_stream *fp, char *fname, size_t fname_len, char *alias, size_t alias_len… in phar_parse_zipfile() argument
316 mydata->fname = pestrndup(fname, fname_len, mydata->is_persistent); in phar_parse_zipfile()
318 phar_unixify_path_separators(mydata->fname, fname_len); in phar_parse_zipfile()
321 mydata->fname_len = fname_len; in phar_parse_zipfile()
325 mydata->ext = memchr(ext, '.', (mydata->fname + fname_len) - ext); in phar_parse_zipfile()
327 mydata->ext = memchr(ext + 1, '.', (mydata->fname + fname_len) - ext - 1); in phar_parse_zipfile()
330 mydata->ext_len = (mydata->fname + fname_len) - mydata->ext; in phar_parse_zipfile()
757 zend_hash_str_add_ptr(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len, mydata); in phar_parse_zipfile()
767 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
779 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
800 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
809 mydata->alias = pestrndup(mydata->fname, fname_len, mydata->is_persistent); in phar_parse_zipfile()
810 mydata->alias_len = fname_len; in phar_parse_zipfile()
827 int phar_open_or_create_zip(char *fname, size_t fname_len, char *alias, size_t alias_len, int is_da… in phar_open_or_create_zip() argument
830 …int ret = phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &pha… in phar_open_or_create_zip()
1311 …if (FAILURE == phar_get_archive(&phar, phar->fname, phar->fname_len, phar->alias, phar->alias_len,… in phar_zip_flush()