/PHP-8.1/ext/phar/ |
H A D | phar_object.c | 1042 size_t fname_len; in PHP_METHOD() local 1278 size_t fname_len; in PHP_METHOD() local 1286 if (!fname_len) { in PHP_METHOD() 1380 size_t fname_len; in phar_build() local 2106 if (pphar->fname_len == phar->fname_len && !memcmp(pphar->fname, phar->fname, phar->fname_len)) { in phar_rename_archive() 2246 phar->fname_len = source->fname_len; in phar_convert_to_other() 2587 size_t fname_len; in PHP_METHOD() local 3487 size_t fname_len; in PHP_METHOD() local 3522 size_t fname_len; in PHP_METHOD() local 3737 size_t fname_len; in PHP_METHOD() local [all …]
|
H A D | phar_internal.h | 281 uint32_t fname_len; member 511 tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len); in phar_set_inode() 513 len1 = MIN(entry->phar->fname_len, tmp_len); in phar_set_inode() 532 int phar_open_from_filename(char *fname, size_t fname_len, char *alias, size_t alias_len, uint32_t … 533 int phar_open_or_create_filename(char *fname, size_t fname_len, char *alias, size_t alias_len, bool… 534 int phar_create_or_parse_filename(char *fname, size_t fname_len, char *alias, size_t alias_len, boo… 537 int phar_get_archive(phar_archive_data **archive, char *fname, size_t fname_len, char *alias, size_… 538 int phar_open_parsed_phar(char *fname, size_t fname_len, char *alias, size_t alias_len, bool is_dat… 577 int phar_open_or_create_tar(char *fname, size_t fname_len, char *alias, size_t alias_len, int is_da… 581 int phar_parse_zipfile(php_stream *fp, char *fname, size_t fname_len, char *alias, size_t alias_len… [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 | 500 if (memchr(fname, '\\', fname_len)) { in phar_open_parsed_phar() 503 fname[fname_len] = '\0'; in phar_open_parsed_phar() 508 && ((alias && fname_len == phar->fname_len in phar_open_parsed_phar() 1120 mydata->fname_len = fname_len; in phar_parse_pharfile() 1402 fname_len = ZSTR_LEN(actual); in phar_create_or_parse_filename() 1443 fname_len = strlen(mydata->fname); in phar_create_or_parse_filename() 1469 mydata->fname_len = fname_len; in phar_create_or_parse_filename() 1576 fname_len = ZSTR_LEN(actual); in phar_open_from_filename() 2323 size_t fname_len; in phar_open_executed_filename() local 2332 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() 628 myphar->fname = pestrndup(fname, fname_len, myphar->is_persistent); in phar_parse_tarfile() 630 phar_unixify_path_separators(myphar->fname, fname_len); in phar_parse_tarfile() 632 myphar->fname_len = fname_len; in phar_parse_tarfile() 637 myphar->ext = memchr(p, '.', (myphar->fname + fname_len) - p); in phar_parse_tarfile() 639 myphar->ext = memchr(p + 1, '.', (myphar->fname + fname_len) - p - 1); in phar_parse_tarfile() 642 myphar->ext_len = (myphar->fname + fname_len) - myphar->ext; in phar_parse_tarfile() 669 zend_hash_str_del(&(PHAR_G(phar_fname_map)), myphar->fname, fname_len); in phar_parse_tarfile() 684 zend_hash_str_del(&(PHAR_G(phar_fname_map)), myphar->fname, fname_len); in phar_parse_tarfile() 692 myphar->alias = pestrndup(myphar->fname, fname_len, myphar->is_persistent); in phar_parse_tarfile() [all …]
|
H A D | zip.c | 284 mydata->fname = pestrndup(fname, fname_len, mydata->is_persistent); in phar_parse_zipfile() 286 phar_unixify_path_separators(mydata->fname, fname_len); in phar_parse_zipfile() 289 mydata->fname_len = fname_len; in phar_parse_zipfile() 293 mydata->ext = memchr(ext, '.', (mydata->fname + fname_len) - ext); in phar_parse_zipfile() 295 mydata->ext = memchr(ext + 1, '.', (mydata->fname + fname_len) - ext - 1); in phar_parse_zipfile() 298 mydata->ext_len = (mydata->fname + fname_len) - mydata->ext; in phar_parse_zipfile() 713 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile() 725 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile() 746 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile() 755 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.1/Zend/ |
H A D | zend_API.c | 2661 size_t fname_len; in ZEND_END_ARG_INFO() local 2677 fname_len = strlen(ptr->fname); in ZEND_END_ARG_INFO() 2679 internal_function->function_name = zend_string_init_interned(ptr->fname, fname_len, 1); in ZEND_END_ARG_INFO() 2872 fname_len = strlen(ptr->fname); in ZEND_END_ARG_INFO() 2873 lowercase_name = zend_string_alloc(fname_len, 0); in ZEND_END_ARG_INFO() 2874 zend_str_tolower_copy(ZSTR_VAL(lowercase_name), ptr->fname, fname_len); in ZEND_END_ARG_INFO() 2897 size_t fname_len; in zend_unregister_functions() local 2906 fname_len = strlen(ptr->fname); in zend_unregister_functions() 2907 lowercase_name = zend_string_alloc(fname_len, 0); in zend_unregister_functions() 2908 zend_str_tolower_copy(ZSTR_VAL(lowercase_name), ptr->fname, fname_len); in zend_unregister_functions()
|
/PHP-8.1/ext/spl/ |
H A D | spl_array.c | 1451 static void spl_array_method(INTERNAL_FUNCTION_PARAMETERS, char *fname, int fname_len, int use_arg)… in spl_array_method() argument 1458 ZVAL_STRINGL(&function_name, fname, fname_len); in spl_array_method()
|
/PHP-8.1/ext/odbc/ |
H A D | php_odbc.c | 2555 size_t i, field_ind, fname_len; in PHP_FUNCTION() local 2559 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &pv_res, &fname, &fname_len) == FAILURE) { in PHP_FUNCTION()
|