Lines Matching refs:alias_len
166 int phar_parse_zipfile(php_stream *fp, char *fname, int fname_len, char *alias, int alias_len, phar… in phar_parse_zipfile() argument
594 mydata->alias_len = entry.uncompressed_filesize; in phar_parse_zipfile()
665 if (!phar_validate_alias(actual_alias, mydata->alias_len)) { in phar_parse_zipfile()
676 …if (SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_alias_map), actual_alias, mydata->alias_len, (v… in phar_parse_zipfile()
677 if (SUCCESS != phar_free_alias(*fd_ptr, actual_alias, mydata->alias_len TSRMLS_CC)) { in phar_parse_zipfile()
687 …mydata->alias = entry.is_persistent ? pestrndup(actual_alias, mydata->alias_len, 1) : actual_alias; in phar_parse_zipfile()
693 …zend_hash_add(&(PHAR_GLOBALS->phar_alias_map), actual_alias, mydata->alias_len, (void*)&mydata, si… in phar_parse_zipfile()
697 if (alias_len) { in phar_parse_zipfile()
698 …if (SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_alias_map), alias, alias_len, (void **)&fd_ptr)… in phar_parse_zipfile()
699 if (SUCCESS != phar_free_alias(*fd_ptr, alias, alias_len TSRMLS_CC)) { in phar_parse_zipfile()
708 …zend_hash_add(&(PHAR_GLOBALS->phar_alias_map), actual_alias, mydata->alias_len, (void*)&mydata, si… in phar_parse_zipfile()
709 mydata->alias = pestrndup(alias, alias_len, mydata->is_persistent); in phar_parse_zipfile()
710 mydata->alias_len = alias_len; in phar_parse_zipfile()
713 mydata->alias_len = fname_len; in phar_parse_zipfile()
730 int phar_open_or_create_zip(char *fname, int fname_len, char *alias, int alias_len, int is_data, in… in phar_open_or_create_zip() argument
733 …int ret = phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &pha… in phar_open_or_create_zip()
1202 if (!phar->is_temporary_alias && phar->alias_len) { in phar_zip_flush()
1208 if (phar->alias_len != (int)php_stream_write(entry.fp, phar->alias, phar->alias_len)) { in phar_zip_flush()
1215 entry.uncompressed_filesize = entry.compressed_filesize = phar->alias_len; in phar_zip_flush()
1230 if (phar->alias_len) { in phar_zip_flush()
1231 …if (FAILURE == phar_get_archive(&phar, phar->fname, phar->fname_len, phar->alias, phar->alias_len,… in phar_zip_flush()