Lines Matching refs:fname_len
130 zend_result phar_open_or_create_tar(char *fname, size_t fname_len, char *alias, size_t alias_len, i… in phar_open_or_create_tar() argument
133 …zend_result ret = phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, optio… in phar_open_or_create_tar()
205 zend_result phar_parse_tarfile(php_stream* fp, char *fname, size_t fname_len, char *alias, size_t a… in phar_parse_tarfile() argument
627 myphar->fname = pestrndup(fname, fname_len, myphar->is_persistent); in phar_parse_tarfile()
629 phar_unixify_path_separators(myphar->fname, fname_len); in phar_parse_tarfile()
631 myphar->fname_len = fname_len; in phar_parse_tarfile()
636 myphar->ext = memchr(p, '.', (myphar->fname + fname_len) - p); in phar_parse_tarfile()
638 myphar->ext = memchr(p + 1, '.', (myphar->fname + fname_len) - p - 1); in phar_parse_tarfile()
641 myphar->ext_len = (myphar->fname + fname_len) - myphar->ext; in phar_parse_tarfile()
647 …if (NULL == (actual = zend_hash_str_add_ptr(&(PHAR_G(phar_fname_map)), myphar->fname, fname_len, m… in phar_parse_tarfile()
668 zend_hash_str_del(&(PHAR_G(phar_fname_map)), myphar->fname, fname_len); in phar_parse_tarfile()
683 zend_hash_str_del(&(PHAR_G(phar_fname_map)), myphar->fname, fname_len); in phar_parse_tarfile()
691 myphar->alias = pestrndup(myphar->fname, fname_len, myphar->is_persistent); in phar_parse_tarfile()
692 myphar->alias_len = fname_len; in phar_parse_tarfile()