Lines Matching refs:fname_len
166 int phar_parse_zipfile(php_stream *fp, char *fname, size_t fname_len, char *alias, size_t alias_len… in phar_parse_zipfile() argument
262 mydata->fname = pestrndup(fname, fname_len, mydata->is_persistent); in phar_parse_zipfile()
264 phar_unixify_path_separators(mydata->fname, fname_len); in phar_parse_zipfile()
267 mydata->fname_len = fname_len; in phar_parse_zipfile()
271 mydata->ext = memchr(ext, '.', (mydata->fname + fname_len) - ext); in phar_parse_zipfile()
273 mydata->ext = memchr(ext + 1, '.', (mydata->fname + fname_len) - ext - 1); in phar_parse_zipfile()
276 mydata->ext_len = (mydata->fname + fname_len) - mydata->ext; in phar_parse_zipfile()
675 zend_hash_str_add_ptr(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len, mydata); in phar_parse_zipfile()
685 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
697 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
718 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
727 mydata->alias = pestrndup(mydata->fname, fname_len, mydata->is_persistent); in phar_parse_zipfile()
728 mydata->alias_len = fname_len; in phar_parse_zipfile()
745 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
748 …int ret = phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &pha… in phar_open_or_create_zip()
1243 …if (FAILURE == phar_get_archive(&phar, phar->fname, phar->fname_len, phar->alias, phar->alias_len,… in phar_zip_flush()