Lines Matching refs:fname_len
124 int phar_open_or_create_tar(char *fname, int fname_len, char *alias, int alias_len, int is_data, in… in phar_open_or_create_tar() argument
127 …int ret = phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &pha… in phar_open_or_create_tar()
195 int phar_parse_tarfile(php_stream* fp, char *fname, int fname_len, char *alias, int alias_len, phar… in phar_parse_tarfile() argument
591 myphar->fname = pestrndup(fname, fname_len, myphar->is_persistent); in phar_parse_tarfile()
593 phar_unixify_path_separators(myphar->fname, fname_len); in phar_parse_tarfile()
595 myphar->fname_len = fname_len; in phar_parse_tarfile()
600 myphar->ext = memchr(p, '.', (myphar->fname + fname_len) - p); in phar_parse_tarfile()
602 myphar->ext = memchr(p + 1, '.', (myphar->fname + fname_len) - p - 1); in phar_parse_tarfile()
605 myphar->ext_len = (myphar->fname + fname_len) - myphar->ext; in phar_parse_tarfile()
611 …if (SUCCESS != zend_hash_add(&(PHAR_GLOBALS->phar_fname_map), myphar->fname, fname_len, (void*)&my… in phar_parse_tarfile()
632 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), myphar->fname, fname_len); in phar_parse_tarfile()
647 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), myphar->fname, fname_len); in phar_parse_tarfile()
655 myphar->alias = pestrndup(myphar->fname, fname_len, myphar->is_persistent); in phar_parse_tarfile()
656 myphar->alias_len = fname_len; in phar_parse_tarfile()