Home
last modified time | relevance | path

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

/PHP-7.4/ext/phar/
H A Dphar_object.c1073 size_t fname_len; in PHP_METHOD() local
1312 size_t fname_len; in PHP_METHOD() local
1320 if (!fname_len) { in PHP_METHOD()
1413 size_t fname_len; in phar_build() local
2159 if (pphar->fname_len == phar->fname_len && !memcmp(pphar->fname, phar->fname, phar->fname_len)) { in phar_rename_archive()
2299 phar->fname_len = source->fname_len; in phar_convert_to_other()
2638 size_t fname_len; in PHP_METHOD() local
3552 size_t fname_len; in PHP_METHOD() local
3589 size_t fname_len; in PHP_METHOD() local
3807 size_t fname_len; in PHP_METHOD() local
[all …]
H A Dphar_internal.h270 uint32_t fname_len; member
505 tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len); in phar_set_inode()
507 len1 = MIN(entry->phar->fname_len, tmp_len); in phar_set_inode()
526 int phar_open_from_filename(char *fname, size_t fname_len, char *alias, size_t alias_len, uint32_t …
531 int phar_get_archive(phar_archive_data **archive, char *fname, size_t fname_len, char *alias, size_…
532 int phar_open_parsed_phar(char *fname, size_t fname_len, char *alias, size_t alias_len, zend_bool i…
562 int phar_open_or_create_tar(char *fname, size_t fname_len, char *alias, size_t alias_len, int is_da…
566 int phar_parse_zipfile(php_stream *fp, char *fname, size_t fname_len, char *alias, size_t alias_len…
567 int phar_open_or_create_zip(char *fname, size_t fname_len, char *alias, size_t alias_len, int is_da…
583 phar_entry_data *phar_get_or_create_entry_data(char *fname, size_t fname_len, char *path, size_t pa…
[all …]
H A Dutil.c246 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 Dphar.c541 if (memchr(fname, '\\', fname_len)) { in phar_open_parsed_phar()
544 fname[fname_len] = '\0'; in phar_open_parsed_phar()
549 && ((alias && fname_len == phar->fname_len in phar_open_parsed_phar()
1056 mydata->fname_len = fname_len; in phar_parse_pharfile()
1360 fname_len = ZSTR_LEN(actual); in phar_create_or_parse_filename()
1401 fname_len = strlen(mydata->fname); in phar_create_or_parse_filename()
1427 mydata->fname_len = fname_len; in phar_create_or_parse_filename()
1534 fname_len = ZSTR_LEN(actual); in phar_open_from_filename()
2281 size_t fname_len; in phar_open_executed_filename() local
2290 fname_len = strlen(fname); in phar_open_executed_filename()
[all …]
H A Dfunc_interceptors.c45 size_t arch_len, entry_len, fname_len; in PHAR_FUNC() local
54 fname_len = strlen(fname); in PHAR_FUNC()
120 size_t arch_len, entry_len, fname_len; in PHAR_FUNC() local
128 fname_len = strlen(fname); in PHAR_FUNC()
250 size_t arch_len, entry_len, fname_len; in PHAR_FUNC() local
259 fname_len = strlen(fname); in PHAR_FUNC()
351 size_t arch_len, entry_len, fname_len; in PHAR_FUNC() local
360 fname_len = strlen(fname); in PHAR_FUNC()
607 fname_len = strlen(fname); in phar_file_stat()
873 fname_len = strlen(fname); in PharFileFunction()
[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()
630 myphar->fname = pestrndup(fname, fname_len, myphar->is_persistent); in phar_parse_tarfile()
632 phar_unixify_path_separators(myphar->fname, fname_len); in phar_parse_tarfile()
634 myphar->fname_len = fname_len; in phar_parse_tarfile()
639 myphar->ext = memchr(p, '.', (myphar->fname + fname_len) - p); in phar_parse_tarfile()
641 myphar->ext = memchr(p + 1, '.', (myphar->fname + fname_len) - p - 1); in phar_parse_tarfile()
644 myphar->ext_len = (myphar->fname + fname_len) - myphar->ext; in phar_parse_tarfile()
671 zend_hash_str_del(&(PHAR_G(phar_fname_map)), myphar->fname, fname_len); in phar_parse_tarfile()
686 zend_hash_str_del(&(PHAR_G(phar_fname_map)), myphar->fname, fname_len); in phar_parse_tarfile()
694 myphar->alias = pestrndup(myphar->fname, fname_len, myphar->is_persistent); in phar_parse_tarfile()
[all …]
H A Dzip.c290 mydata->fname = pestrndup(fname, fname_len, mydata->is_persistent); in phar_parse_zipfile()
292 phar_unixify_path_separators(mydata->fname, fname_len); in phar_parse_zipfile()
295 mydata->fname_len = fname_len; in phar_parse_zipfile()
299 mydata->ext = memchr(ext, '.', (mydata->fname + fname_len) - ext); in phar_parse_zipfile()
301 mydata->ext = memchr(ext + 1, '.', (mydata->fname + fname_len) - ext - 1); in phar_parse_zipfile()
304 mydata->ext_len = (mydata->fname + fname_len) - mydata->ext; in phar_parse_zipfile()
718 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
730 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
751 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
760 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-7.4/Zend/
H A Dzend_API.c2150 size_t fname_len; in zend_register_functions() local
2179 fname_len = strlen(ptr->fname); in zend_register_functions()
2181 internal_function->function_name = zend_string_init_interned(ptr->fname, fname_len, 1); in zend_register_functions()
2321 …if ((fname_len == class_name_len) && !ctor && !memcmp(ZSTR_VAL(lowercase_name), lc_class_name, cla… in zend_register_functions()
2374 fname_len = strlen(ptr->fname); in zend_register_functions()
2375 lowercase_name = zend_string_alloc(fname_len, 0); in zend_register_functions()
2376 zend_str_tolower_copy(ZSTR_VAL(lowercase_name), ptr->fname, fname_len); in zend_register_functions()
2494 size_t fname_len; in zend_unregister_functions() local
2503 fname_len = strlen(ptr->fname); in zend_unregister_functions()
2504 lowercase_name = zend_string_alloc(fname_len, 0); in zend_unregister_functions()
[all …]
/PHP-7.4/ext/spl/
H A Dspl_array.c1426 static void spl_array_method(INTERNAL_FUNCTION_PARAMETERS, char *fname, int fname_len, int use_arg)… in spl_array_method() argument
1432 ZVAL_STRINGL(&function_name, fname, fname_len); in spl_array_method()
/PHP-7.4/ext/odbc/
H A Dphp_odbc.c2970 size_t i, field_ind, fname_len; in PHP_FUNCTION() local
2974 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &pv_res, &fname, &fname_len) == FAILURE) { in PHP_FUNCTION()

Completed in 72 milliseconds