Home
last modified time | relevance | path

Searched refs:fname_len (Results 1 – 10 of 10) sorted by relevance

/PHP-8.3/ext/phar/
H A Dphar_object.c453 fname_len = 0; in PHP_METHOD()
1052 size_t fname_len; in PHP_METHOD() local
1288 size_t fname_len; in PHP_METHOD() local
1296 if (!fname_len) { in PHP_METHOD()
1393 size_t fname_len; in phar_build() local
2121 if (pphar->fname_len == phar->fname_len && !memcmp(pphar->fname, phar->fname, phar->fname_len)) { in phar_rename_archive()
2263 phar->fname_len = source->fname_len; in phar_convert_to_other()
2607 size_t fname_len; in PHP_METHOD() local
3510 size_t fname_len; in PHP_METHOD() local
3545 size_t fname_len; in PHP_METHOD() local
[all …]
H A Dphar_internal.h281 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 Dutil.c934 *filename_len = fd_ptr->fname_len; in phar_resolve_alias()
978 …if (PHAR_G(last_phar) && fname_len == PHAR_G(last_phar_name_len) && !memcmp(fname, PHAR_G(last_pha… in phar_get_archive()
1011 if (fname && (fname_len != fd_ptr->fname_len || strncmp(fname, fd_ptr->fname, fname_len))) { in phar_get_archive()
1028 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1042 save_len = fname_len; in phar_get_archive()
1044 if (fname && fname_len) { in phar_get_archive()
1066 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1090 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1102 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1125 fname_len = strlen(my_realpath); in phar_get_archive()
[all …]
H A Dphar.c500 if (memchr(fname, '\\', fname_len)) { in phar_open_parsed_phar()
501 fname = do_alloca(fname_len + 1, fname_use_heap); in phar_open_parsed_phar()
502 memcpy(fname, save_fname, fname_len); in phar_open_parsed_phar()
503 fname[fname_len] = '\0'; in phar_open_parsed_phar()
504 phar_unixify_path_separators(fname, fname_len); in phar_open_parsed_phar()
508 && ((alias && fname_len == phar->fname_len in phar_open_parsed_phar()
1123 mydata->fname_len = fname_len; in phar_parse_pharfile()
1405 fname_len = ZSTR_LEN(actual); in phar_create_or_parse_filename()
1446 fname_len = strlen(mydata->fname); in phar_create_or_parse_filename()
1472 mydata->fname_len = fname_len; in phar_create_or_parse_filename()
[all …]
H A Dtar.c130 …int ret = phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &pha… in phar_open_or_create_tar()
621 myphar->fname = pestrndup(fname, fname_len, myphar->is_persistent); in phar_parse_tarfile()
623 phar_unixify_path_separators(myphar->fname, fname_len); in phar_parse_tarfile()
625 myphar->fname_len = fname_len; in phar_parse_tarfile()
630 myphar->ext = memchr(p, '.', (myphar->fname + fname_len) - p); in phar_parse_tarfile()
632 myphar->ext = memchr(p + 1, '.', (myphar->fname + fname_len) - p - 1); in phar_parse_tarfile()
635 myphar->ext_len = (myphar->fname + fname_len) - myphar->ext; in phar_parse_tarfile()
662 zend_hash_str_del(&(PHAR_G(phar_fname_map)), myphar->fname, fname_len); in phar_parse_tarfile()
677 zend_hash_str_del(&(PHAR_G(phar_fname_map)), myphar->fname, fname_len); in phar_parse_tarfile()
685 myphar->alias = pestrndup(myphar->fname, fname_len, myphar->is_persistent); in phar_parse_tarfile()
[all …]
H A Dzip.c284 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()
735 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
747 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
768 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
777 mydata->alias = pestrndup(mydata->fname, fname_len, mydata->is_persistent); in phar_parse_zipfile()
[all …]
H A Dgdbhelp22 ____print_str $temp.fname $temp.fname_len
/PHP-8.3/Zend/
H A Dzend_API.c2807 size_t fname_len; in zend_register_functions() local
2824 fname_len = strlen(ptr->fname); in zend_register_functions()
2826 internal_function->function_name = zend_string_init_interned(ptr->fname, fname_len, 1); in zend_register_functions()
3044 fname_len = strlen(ptr->fname); in zend_register_functions()
3045 lowercase_name = zend_string_alloc(fname_len, 0); in zend_register_functions()
3046 zend_str_tolower_copy(ZSTR_VAL(lowercase_name), ptr->fname, fname_len); in zend_register_functions()
3069 size_t fname_len; in zend_unregister_functions() local
3078 fname_len = strlen(ptr->fname); in zend_unregister_functions()
3079 lowercase_name = zend_string_alloc(fname_len, 0); in zend_unregister_functions()
3080 zend_str_tolower_copy(ZSTR_VAL(lowercase_name), ptr->fname, fname_len); in zend_unregister_functions()
/PHP-8.3/ext/spl/
H A Dspl_array.c1379 static void spl_array_method(INTERNAL_FUNCTION_PARAMETERS, char *fname, size_t fname_len, int use_a… in spl_array_method() argument
1386 ZVAL_STRINGL(&function_name, fname, fname_len); in spl_array_method()
/PHP-8.3/ext/odbc/
H A Dphp_odbc.c2526 size_t i, field_ind, fname_len; in PHP_FUNCTION() local
2530 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &pv_res, &fname, &fname_len) == FAILURE) { in PHP_FUNCTION()

Completed in 68 milliseconds