Searched refs:alias_len (Results 1 – 9 of 9) sorted by relevance
/PHP-7.2/ext/phar/ |
H A D | phar_internal.h | 282 int alias_len; member 501 static inline int phar_validate_alias(const char *alias, int alias_len) /* {{{ */ in phar_validate_alias() argument 503 …return !(memchr(alias, '/', alias_len) || memchr(alias, '\\', alias_len) || memchr(alias, ':', ali… in phar_validate_alias() 504 …memchr(alias, ';', alias_len) || memchr(alias, '\n', alias_len) || memchr(alias, '\r', alias_len)); in phar_validate_alias() 533 int phar_open_from_filename(char *fname, int fname_len, char *alias, int alias_len, int options, ph… 536 int phar_open_executed_filename(char *alias, int alias_len, char **error); 537 int phar_free_alias(phar_archive_data *phar, char *alias, int alias_len); 538 …phar_archive_data **archive, char *fname, int fname_len, char *alias, int alias_len, char **error); 539 int phar_open_parsed_phar(char *fname, int fname_len, char *alias, int alias_len, int is_data, int … 569 int phar_open_or_create_tar(char *fname, int fname_len, char *alias, int alias_len, int is_data, in… [all …]
|
H A D | util.c | 974 if (alias && alias_len) { in phar_get_archive() 976 …har)->is_temporary_alias && (alias_len != PHAR_G(last_phar)->alias_len || memcmp(PHAR_G(last_phar)… in phar_get_archive() 990 PHAR_G(last_alias_len) = alias_len; in phar_get_archive() 996 …if (alias && alias_len && PHAR_G(last_phar) && alias_len == PHAR_G(last_alias_len) && !memcmp(alia… in phar_get_archive() 1002 if (alias && alias_len) { in phar_get_archive() 1024 PHAR_G(last_alias_len) = alias_len; in phar_get_archive() 1043 if (alias && alias_len) { in phar_get_archive() 1044 …if (!fd->is_temporary_alias && (alias_len != fd->alias_len || memcmp(fd->alias, alias, alias_len))… in phar_get_archive() 1062 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive() 1074 if (alias_len != fd->alias_len || memcmp(fd->alias, alias, alias_len)) { in phar_get_archive() [all …]
|
H A D | phar.c | 998 if (alias && alias_len && (alias_len != (int)tmp_len || strncmp(alias, buffer, tmp_len))) 1014 alias_len = tmp_len; 1018 } else if (!alias_len || !alias) { 1021 alias_len = 0; 1023 } else if (alias_len) { 1210 mydata->alias_len = alias ? alias_len : fname_len; 1430 alias_len = 0; 1454 mydata->alias_len = alias ? alias_len : fname_len; 1457 if (alias_len && alias) { 2858 phar->alias_len = 0; [all …]
|
H A D | php_phar.h | 37 PHP_PHAR_API int phar_resolve_alias(char *alias, int alias_len, char **filename, int *filename_len);
|
H A D | tar.c | 554 myphar->alias_len = size; in phar_parse_tarfile() 648 if (SUCCESS != phar_free_alias(fd_ptr, actual_alias, myphar->alias_len)) { in phar_parse_tarfile() 661 if (alias_len) { in phar_parse_tarfile() 663 if (SUCCESS != phar_free_alias(fd_ptr, alias, alias_len)) { in phar_parse_tarfile() 671 zend_hash_str_add_ptr(&(PHAR_G(phar_alias_map)), alias, alias_len, myphar); in phar_parse_tarfile() 672 myphar->alias = pestrndup(alias, alias_len, myphar->is_persistent); in phar_parse_tarfile() 673 myphar->alias_len = alias_len; in phar_parse_tarfile() 676 myphar->alias_len = fname_len; in phar_parse_tarfile() 982 if (!phar->is_temporary_alias && phar->alias_len) { in phar_tar_flush() 991 if (phar->alias_len != (int)php_stream_write(entry.fp, phar->alias, phar->alias_len)) { in phar_tar_flush() [all …]
|
H A D | zip.c | 572 mydata->alias_len = entry.uncompressed_filesize; in phar_parse_zipfile() 678 if (!phar_validate_alias(actual_alias, mydata->alias_len)) { in phar_parse_zipfile() 710 if (alias_len) { in phar_parse_zipfile() 712 if (SUCCESS != phar_free_alias(fd_ptr, alias, alias_len)) { in phar_parse_zipfile() 722 mydata->alias = pestrndup(alias, alias_len, mydata->is_persistent); in phar_parse_zipfile() 723 mydata->alias_len = alias_len; in phar_parse_zipfile() 726 mydata->alias_len = fname_len; in phar_parse_zipfile() 1217 if (!phar->is_temporary_alias && phar->alias_len) { in phar_zip_flush() 1223 if (phar->alias_len != (int)php_stream_write(entry.fp, phar->alias, phar->alias_len)) { in phar_zip_flush() 1230 entry.uncompressed_filesize = entry.compressed_filesize = phar->alias_len; in phar_zip_flush() [all …]
|
H A D | phar_object.c | 560 if (ZEND_SIZE_T_INT_OVFL(alias_len) in PHP_METHOD() 979 size_t alias_len = 0; in PHP_METHOD() local 986 if (ZEND_SIZE_T_INT_OVFL(alias_len)) { in PHP_METHOD() 1004 size_t fname_len, alias_len = 0; in PHP_METHOD() local 1147 size_t fname_len, alias_len = 0; in PHP_METHOD() local 2236 phar->alias_len = 0; in phar_rename_archive() 2254 phar->alias_len = 0; in phar_rename_archive() 2761 size_t alias_len, oldalias_len; in PHP_METHOD() local 2791 …if (alias_len == (size_t)phar_obj->archive->alias_len && memcmp(phar_obj->archive->alias, alias, a… in PHP_METHOD() 2823 if (alias_len) { in PHP_METHOD() [all …]
|
H A D | gdbhelp | 28 ____print_str $temp.alias $temp.alias_len
|
/PHP-7.2/ext/intl/uchar/ |
H A D | uchar.c | 376 size_t alias_len; in IC_METHOD() local 378 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &alias, &alias_len) == FAILURE) { in IC_METHOD()
|
Completed in 57 milliseconds