Lines Matching refs:fname_len
127 int phar_open_or_create_tar(char *fname, size_t fname_len, char *alias, size_t alias_len, int is_da… in phar_open_or_create_tar() argument
130 …int ret = phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &pha… in phar_open_or_create_tar()
210 int phar_parse_tarfile(php_stream* fp, char *fname, size_t fname_len, char *alias, size_t alias_len… in phar_parse_tarfile() argument
628 myphar->fname = pestrndup(fname, fname_len, myphar->is_persistent); in phar_parse_tarfile()
630 phar_unixify_path_separators(myphar->fname, fname_len); in phar_parse_tarfile()
632 myphar->fname_len = fname_len; in phar_parse_tarfile()
637 myphar->ext = memchr(p, '.', (myphar->fname + fname_len) - p); in phar_parse_tarfile()
639 myphar->ext = memchr(p + 1, '.', (myphar->fname + fname_len) - p - 1); in phar_parse_tarfile()
642 myphar->ext_len = (myphar->fname + fname_len) - myphar->ext; in phar_parse_tarfile()
648 …if (NULL == (actual = zend_hash_str_add_ptr(&(PHAR_G(phar_fname_map)), myphar->fname, fname_len, m… in phar_parse_tarfile()
669 zend_hash_str_del(&(PHAR_G(phar_fname_map)), myphar->fname, fname_len); in phar_parse_tarfile()
684 zend_hash_str_del(&(PHAR_G(phar_fname_map)), myphar->fname, fname_len); in phar_parse_tarfile()
692 myphar->alias = pestrndup(myphar->fname, fname_len, myphar->is_persistent); in phar_parse_tarfile()
693 myphar->alias_len = fname_len; in phar_parse_tarfile()