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()
213 int phar_parse_tarfile(php_stream* fp, char *fname, size_t fname_len, char *alias, size_t alias_len… in phar_parse_tarfile() argument
621 myphar->fname = pestrndup(fname, fname_len, myphar->is_persistent); in phar_parse_tarfile()
623 phar_unixify_path_separators(myphar->fname, fname_len); in phar_parse_tarfile()
625 myphar->fname_len = fname_len; in phar_parse_tarfile()
630 myphar->ext = memchr(p, '.', (myphar->fname + fname_len) - p); in phar_parse_tarfile()
632 myphar->ext = memchr(p + 1, '.', (myphar->fname + fname_len) - p - 1); in phar_parse_tarfile()
635 myphar->ext_len = (myphar->fname + fname_len) - myphar->ext; in phar_parse_tarfile()
641 …if (NULL == (actual = zend_hash_str_add_ptr(&(PHAR_G(phar_fname_map)), myphar->fname, fname_len, m… in phar_parse_tarfile()
662 zend_hash_str_del(&(PHAR_G(phar_fname_map)), myphar->fname, fname_len); in phar_parse_tarfile()
677 zend_hash_str_del(&(PHAR_G(phar_fname_map)), myphar->fname, fname_len); in phar_parse_tarfile()
685 myphar->alias = pestrndup(myphar->fname, fname_len, myphar->is_persistent); in phar_parse_tarfile()
686 myphar->alias_len = fname_len; in phar_parse_tarfile()