Lines Matching refs:fname_len
127 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
130 …int ret = phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &pha… in phar_open_or_create_tar()
205 int phar_parse_tarfile(php_stream* fp, char *fname, int fname_len, char *alias, int alias_len, phar… in phar_parse_tarfile() argument
613 myphar->fname = pestrndup(fname, fname_len, myphar->is_persistent); in phar_parse_tarfile()
615 phar_unixify_path_separators(myphar->fname, fname_len); in phar_parse_tarfile()
617 myphar->fname_len = fname_len; in phar_parse_tarfile()
622 myphar->ext = memchr(p, '.', (myphar->fname + fname_len) - p); in phar_parse_tarfile()
624 myphar->ext = memchr(p + 1, '.', (myphar->fname + fname_len) - p - 1); in phar_parse_tarfile()
627 myphar->ext_len = (myphar->fname + fname_len) - myphar->ext; in phar_parse_tarfile()
633 …if (SUCCESS != zend_hash_add(&(PHAR_GLOBALS->phar_fname_map), myphar->fname, fname_len, (void*)&my… in phar_parse_tarfile()
654 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), myphar->fname, fname_len); in phar_parse_tarfile()
669 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), myphar->fname, fname_len); in phar_parse_tarfile()
677 myphar->alias = pestrndup(myphar->fname, fname_len, myphar->is_persistent); in phar_parse_tarfile()
678 myphar->alias_len = fname_len; in phar_parse_tarfile()