Home
last modified time | relevance | path

Searched refs:alias_len (Results 1 – 7 of 7) sorted by relevance

/PHP-5.3/ext/phar/
H A Dphar_internal.h311 int alias_len; member
610 static inline int phar_validate_alias(const char *alias, int alias_len) /* {{{ */ in phar_validate_alias() argument
612 …return !(memchr(alias, '/', alias_len) || memchr(alias, '\\', alias_len) || memchr(alias, ':', ali… in phar_validate_alias()
613 …memchr(alias, ';', alias_len) || memchr(alias, '\n', alias_len) || memchr(alias, '\r', alias_len)); in phar_validate_alias()
636 int phar_open_from_filename(char *fname, int fname_len, char *alias, int alias_len, int options, ph…
639 int phar_open_executed_filename(char *alias, int alias_len, char **error TSRMLS_DC);
640 int phar_free_alias(phar_archive_data *phar, char *alias, int alias_len TSRMLS_DC);
641 …ar_archive_data **archive, char *fname, int fname_len, char *alias, int alias_len, char **error TS…
642 int phar_open_parsed_phar(char *fname, int fname_len, char *alias, int alias_len, int is_data, int …
672 int phar_open_or_create_tar(char *fname, int fname_len, char *alias, int alias_len, int is_data, in…
[all …]
H A Dutil.c1229 if (alias && alias_len) { in phar_get_archive()
1231 …har)->is_temporary_alias && (alias_len != PHAR_G(last_phar)->alias_len || memcmp(PHAR_G(last_phar)… in phar_get_archive()
1245 PHAR_G(last_alias_len) = alias_len; in phar_get_archive()
1251 …if (alias && alias_len && PHAR_G(last_phar) && alias_len == PHAR_G(last_alias_len) && !memcmp(alia… in phar_get_archive()
1257 if (alias && alias_len) { in phar_get_archive()
1278 PHAR_G(last_alias_len) = alias_len; in phar_get_archive()
1298 if (alias && alias_len) { in phar_get_archive()
1299 …if (!fd->is_temporary_alias && (alias_len != fd->alias_len || memcmp(fd->alias, alias, alias_len))… in phar_get_archive()
1317 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
1329 if (alias_len != fd->alias_len || memcmp(fd->alias, alias, alias_len)) { in phar_get_archive()
[all …]
H A Dphar.c993 if (alias && alias_len && (alias_len != (int)tmp_len || strncmp(alias, buffer, tmp_len)))
1010 alias_len = tmp_len;
1014 } else if (!alias_len || !alias) {
1017 alias_len = 0;
1019 } else if (alias_len) {
1199 mydata->alias_len = alias ? alias_len : fname_len;
1419 alias_len = 0;
1443 mydata->alias_len = alias ? alias_len : fname_len;
1446 if (alias_len && alias) {
2934 phar->alias_len = 0;
[all …]
H A Dtar.c535 myphar->alias_len = size; in phar_parse_tarfile()
628 if (SUCCESS != phar_free_alias(*fd_ptr, actual_alias, myphar->alias_len TSRMLS_CC)) { in phar_parse_tarfile()
641 if (alias_len) { in phar_parse_tarfile()
642 …if (SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_alias_map), alias, alias_len, (void **)&fd_ptr)… in phar_parse_tarfile()
643 if (SUCCESS != phar_free_alias(*fd_ptr, alias, alias_len TSRMLS_CC)) { in phar_parse_tarfile()
652 myphar->alias = pestrndup(alias, alias_len, myphar->is_persistent); in phar_parse_tarfile()
653 myphar->alias_len = alias_len; in phar_parse_tarfile()
656 myphar->alias_len = fname_len; in phar_parse_tarfile()
951 if (!phar->is_temporary_alias && phar->alias_len) { in phar_tar_flush()
959 if (phar->alias_len != (int)php_stream_write(entry.fp, phar->alias, phar->alias_len)) { in phar_tar_flush()
[all …]
H A Dzip.c594 mydata->alias_len = entry.uncompressed_filesize; in phar_parse_zipfile()
665 if (!phar_validate_alias(actual_alias, mydata->alias_len)) { in phar_parse_zipfile()
697 if (alias_len) { in phar_parse_zipfile()
699 if (SUCCESS != phar_free_alias(*fd_ptr, alias, alias_len TSRMLS_CC)) { 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()
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()
[all …]
H A Dphar_object.c993 int alias_len = 0; local
1015 int fname_len, alias_len = 0; local
2224 phar->alias_len = 0;
2227 phar->alias_len = strlen(newpath);
2242 phar->alias_len = 0;
2774 int alias_len, oldalias_len, old_temp, readd = 0; local
2800 …if (alias_len == phar_obj->arc.archive->alias_len && memcmp(phar_obj->arc.archive->alias, alias, a…
2803 …if (alias_len && SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_alias_map), alias, alias_len, (voi…
2813 if (!phar_validate_alias(alias, alias_len)) {
2832 if (alias_len) {
[all …]
H A Dgdbhelp28 ____print_str $temp.alias $temp.alias_len

Completed in 41 milliseconds