Lines Matching refs:fname_len
196 int phar_parse_zipfile(php_stream *fp, char *fname, size_t fname_len, char *alias, size_t alias_len… in phar_parse_zipfile() argument
283 mydata->fname = pestrndup(fname, fname_len, mydata->is_persistent); in phar_parse_zipfile()
285 phar_unixify_path_separators(mydata->fname, fname_len); in phar_parse_zipfile()
288 mydata->fname_len = fname_len; in phar_parse_zipfile()
292 mydata->ext = memchr(ext, '.', (mydata->fname + fname_len) - ext); in phar_parse_zipfile()
294 mydata->ext = memchr(ext + 1, '.', (mydata->fname + fname_len) - ext - 1); in phar_parse_zipfile()
297 mydata->ext_len = (mydata->fname + fname_len) - mydata->ext; in phar_parse_zipfile()
702 zend_hash_str_add_ptr(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len, mydata); in phar_parse_zipfile()
712 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
724 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
745 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
754 mydata->alias = pestrndup(mydata->fname, fname_len, mydata->is_persistent); in phar_parse_zipfile()
755 mydata->alias_len = fname_len; in phar_parse_zipfile()
772 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
775 …int ret = phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &pha… in phar_open_or_create_zip()
1262 …if (FAILURE == phar_get_archive(&phar, phar->fname, phar->fname_len, phar->alias, phar->alias_len,… in phar_zip_flush()