/PHP-8.0/ext/phar/ |
H A D | phar_object.c | 1049 size_t fname_len; in PHP_METHOD() local 1281 size_t fname_len; in PHP_METHOD() local 1289 if (!fname_len) { in PHP_METHOD() 1384 size_t fname_len; in phar_build() local 2127 if (pphar->fname_len == phar->fname_len && !memcmp(pphar->fname, phar->fname, phar->fname_len)) { in phar_rename_archive() 2267 phar->fname_len = source->fname_len; in phar_convert_to_other() 2608 size_t fname_len; in PHP_METHOD() local 3500 size_t fname_len; in PHP_METHOD() local 3535 size_t fname_len; in PHP_METHOD() local 3750 size_t fname_len; in PHP_METHOD() local [all …]
|
H A D | phar_internal.h | 279 uint32_t fname_len; member 513 tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len); in phar_set_inode() 515 len1 = MIN(entry->phar->fname_len, tmp_len); in phar_set_inode() 534 int phar_open_from_filename(char *fname, size_t fname_len, char *alias, size_t alias_len, uint32_t … 539 int phar_get_archive(phar_archive_data **archive, char *fname, size_t fname_len, char *alias, size_… 540 int phar_open_parsed_phar(char *fname, size_t fname_len, char *alias, size_t alias_len, zend_bool i… 579 int phar_open_or_create_tar(char *fname, size_t fname_len, char *alias, size_t alias_len, int is_da… 583 int phar_parse_zipfile(php_stream *fp, char *fname, size_t fname_len, char *alias, size_t alias_len… 584 int phar_open_or_create_zip(char *fname, size_t fname_len, char *alias, size_t alias_len, int is_da… 600 phar_entry_data *phar_get_or_create_entry_data(char *fname, size_t fname_len, char *path, size_t pa… [all …]
|
H A D | util.c | 246 size_t arch_len, entry_len, fname_len; in phar_find_in_include_path() local 260 fname_len = strlen(fname); in phar_find_in_include_path() 924 *filename_len = fd_ptr->fname_len; in phar_resolve_alias() 968 …if (PHAR_G(last_phar) && fname_len == PHAR_G(last_phar_name_len) && !memcmp(fname, PHAR_G(last_pha… in phar_get_archive() 1001 if (fname && (fname_len != fd_ptr->fname_len || strncmp(fname, fd_ptr->fname, fname_len))) { in phar_get_archive() 1018 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive() 1032 save_len = fname_len; in phar_get_archive() 1034 if (fname && fname_len) { in phar_get_archive() 1056 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive() 1115 fname_len = strlen(my_realpath); in phar_get_archive() [all …]
|
H A D | phar.c | 511 if (memchr(fname, '\\', fname_len)) { in phar_open_parsed_phar() 514 fname[fname_len] = '\0'; in phar_open_parsed_phar() 519 && ((alias && fname_len == phar->fname_len in phar_open_parsed_phar() 1129 mydata->fname_len = fname_len; in phar_parse_pharfile() 1411 fname_len = ZSTR_LEN(actual); in phar_create_or_parse_filename() 1452 fname_len = strlen(mydata->fname); in phar_create_or_parse_filename() 1478 mydata->fname_len = fname_len; in phar_create_or_parse_filename() 1585 fname_len = ZSTR_LEN(actual); in phar_open_from_filename() 2332 size_t fname_len; in phar_open_executed_filename() local 2341 fname_len = strlen(fname); in phar_open_executed_filename() [all …]
|
H A D | func_interceptors.c | 45 size_t arch_len, entry_len, fname_len; in PHAR_FUNC() local 54 fname_len = strlen(fname); in PHAR_FUNC() 125 size_t arch_len, entry_len, fname_len; in PHAR_FUNC() local 133 fname_len = strlen(fname); in PHAR_FUNC() 255 size_t arch_len, entry_len, fname_len; in PHAR_FUNC() local 264 fname_len = strlen(fname); in PHAR_FUNC() 356 size_t arch_len, entry_len, fname_len; in PHAR_FUNC() local 365 fname_len = strlen(fname); in PHAR_FUNC() 611 fname_len = strlen(fname); in phar_file_stat() 863 fname_len = strlen(fname); in PharFileFunction() [all …]
|
H A D | tar.c | 130 …int ret = phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &pha… in phar_open_or_create_tar() 627 myphar->fname = pestrndup(fname, fname_len, myphar->is_persistent); in phar_parse_tarfile() 629 phar_unixify_path_separators(myphar->fname, fname_len); in phar_parse_tarfile() 631 myphar->fname_len = fname_len; in phar_parse_tarfile() 636 myphar->ext = memchr(p, '.', (myphar->fname + fname_len) - p); in phar_parse_tarfile() 638 myphar->ext = memchr(p + 1, '.', (myphar->fname + fname_len) - p - 1); in phar_parse_tarfile() 641 myphar->ext_len = (myphar->fname + fname_len) - myphar->ext; in phar_parse_tarfile() 668 zend_hash_str_del(&(PHAR_G(phar_fname_map)), myphar->fname, fname_len); in phar_parse_tarfile() 683 zend_hash_str_del(&(PHAR_G(phar_fname_map)), myphar->fname, fname_len); in phar_parse_tarfile() 691 myphar->alias = pestrndup(myphar->fname, fname_len, myphar->is_persistent); in phar_parse_tarfile() [all …]
|
H A D | zip.c | 283 mydata->fname = pestrndup(fname, fname_len, mydata->is_persistent); in phar_parse_zipfile() 285 phar_unixify_path_separators(mydata->fname, fname_len); in phar_parse_zipfile() 288 mydata->fname_len = fname_len; in phar_parse_zipfile() 292 mydata->ext = memchr(ext, '.', (mydata->fname + fname_len) - ext); in phar_parse_zipfile() 294 mydata->ext = memchr(ext + 1, '.', (mydata->fname + fname_len) - ext - 1); in phar_parse_zipfile() 297 mydata->ext_len = (mydata->fname + fname_len) - mydata->ext; in phar_parse_zipfile() 712 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile() 724 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile() 745 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile() 754 mydata->alias = pestrndup(mydata->fname, fname_len, mydata->is_persistent); in phar_parse_zipfile() [all …]
|
H A D | gdbhelp | 22 ____print_str $temp.fname $temp.fname_len
|
/PHP-8.0/Zend/ |
H A D | zend_API.c | 2327 size_t fname_len; in ZEND_END_ARG_INFO() local 2343 fname_len = strlen(ptr->fname); in ZEND_END_ARG_INFO() 2345 internal_function->function_name = zend_string_init_interned(ptr->fname, fname_len, 1); in ZEND_END_ARG_INFO() 2537 fname_len = strlen(ptr->fname); in ZEND_END_ARG_INFO() 2538 lowercase_name = zend_string_alloc(fname_len, 0); in ZEND_END_ARG_INFO() 2539 zend_str_tolower_copy(ZSTR_VAL(lowercase_name), ptr->fname, fname_len); in ZEND_END_ARG_INFO() 2562 size_t fname_len; in zend_unregister_functions() local 2571 fname_len = strlen(ptr->fname); in zend_unregister_functions() 2572 lowercase_name = zend_string_alloc(fname_len, 0); in zend_unregister_functions() 2573 zend_str_tolower_copy(ZSTR_VAL(lowercase_name), ptr->fname, fname_len); in zend_unregister_functions()
|
/PHP-8.0/ext/spl/ |
H A D | spl_array.c | 1414 static void spl_array_method(INTERNAL_FUNCTION_PARAMETERS, char *fname, int fname_len, int use_arg)… in spl_array_method() argument 1421 ZVAL_STRINGL(&function_name, fname, fname_len); in spl_array_method()
|
/PHP-8.0/ext/odbc/ |
H A D | php_odbc.c | 2541 size_t i, field_ind, fname_len; in PHP_FUNCTION() local 2545 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &pv_res, &fname, &fname_len) == FAILURE) { in PHP_FUNCTION()
|