/PHP-8.1/ext/phar/ |
H A D | func_interceptors.c | 63 entry_len = filename_len; in PHAR_FUNC() 141 entry_len = filename_len; in PHAR_FUNC() 164 entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1); in PHAR_FUNC() 272 entry_len = filename_len; in PHAR_FUNC() 287 entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1); in PHAR_FUNC() 373 entry_len = filename_len; in PHAR_FUNC() 388 entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1); in PHAR_FUNC() 870 entry_len = filename_len; in PharFileFunction() 875 entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1); in PharFileFunction() 937 entry_len = filename_len; in PHAR_FUNC() [all …]
|
H A D | phar_object.c | 69 if (code > (size_t)entry_len && !memcmp(path_info, entry, entry_len)) { in phar_mung_server_vars() 360 *entry_len = e_len + 1; in phar_postprocess_ru_web() 515 path_len = entry_len; in PHP_METHOD() 548 size_t entry_len; in PHP_METHOD() local 623 entry_len = 0; in PHP_METHOD() 650 entry_len = 0; in PHP_METHOD() 726 if (entry_len) { in PHP_METHOD() 730 if (!entry_len || (entry_len == 1 && entry[0] == '/')) { in PHP_METHOD() 735 entry_len = index_php_len; in PHP_METHOD() 738 ++entry_len; in PHP_METHOD() [all …]
|
H A D | dirstream.c | 402 size_t arch_len, entry_len; in phar_wrapper_mkdir() local 407 …if (FAILURE == phar_split_fname(url_from, strlen(url_from), &arch, &arch_len, &entry2, &entry_len,… in phar_wrapper_mkdir() 534 size_t arch_len, entry_len; in phar_wrapper_rmdir() local 542 if (FAILURE == phar_split_fname(url, strlen(url), &arch, &arch_len, &entry2, &entry_len, 2, 2)) { in phar_wrapper_rmdir()
|
H A D | stream.c | 64 size_t arch_len, entry_len; in phar_parse_url() local 75 …if (phar_split_fname(filename, strlen(filename), &arch, &arch_len, &entry, &entry_len, 2, (mode[0]… in phar_parse_url() 90 resource->path = zend_string_init(entry, entry_len, 0); in phar_parse_url()
|
H A D | phar.c | 2242 …ze_t filename_len, char **arch, size_t *arch_len, char **entry, size_t *entry_len, int executable,… in phar_split_fname() argument 2294 *entry_len = filename_len - *arch_len; in phar_split_fname() 2295 *entry = estrndup(ext_str+ext_len, *entry_len); in phar_split_fname() 2297 phar_unixify_path_separators(*entry, *entry_len); in phar_split_fname() 2299 *entry = phar_fix_filepath(*entry, entry_len, 0); in phar_split_fname() 2301 *entry_len = 1; in phar_split_fname()
|
H A D | phar_internal.h | 602 …ze_t filename_len, char **arch, size_t *arch_len, char **entry, size_t *entry_len, int executable,…
|
H A D | util.c | 246 size_t arch_len, entry_len, fname_len; in phar_find_in_include_path() local 269 …|| SUCCESS != phar_split_fname(fname, strlen(fname), &arch, &arch_len, &entry, &entry_len, 1, 0)) { in phar_find_in_include_path() 315 …SS != phar_split_fname(ZSTR_VAL(ret), ZSTR_LEN(ret), &arch, &arch_len, &entry, &entry_len, 1, 0)) { in phar_find_in_include_path()
|
/PHP-8.1/ext/intl/resourcebundle/ |
H A D | resourcebundle_class.c | 293 int entry_len; in PHP_FUNCTION() local 321 while ((entry = uenum_next( icuenum, &entry_len, &icuerror ))) { in PHP_FUNCTION() 322 add_next_index_stringl( return_value, (char *) entry, entry_len); in PHP_FUNCTION()
|
/PHP-8.1/ext/session/ |
H A D | mod_files.c | 315 size_t entry_len = strlen(entry->d_name); in ps_files_cleanup_dir() local 318 if (entry_len + dirname_len + 2 < MAXPATHLEN) { in ps_files_cleanup_dir() 320 memcpy(buf + dirname_len + 1, entry->d_name, entry_len); in ps_files_cleanup_dir() 323 buf[dirname_len + entry_len + 1] = '\0'; in ps_files_cleanup_dir()
|
/PHP-8.1/ext/sockets/ |
H A D | multicast.c | 756 size_t entry_len; local 788 p += entry_len) { 794 entry_len = cur_req.ifr_addr.sa_len + sizeof(cur_req.ifr_name); 797 entry_len = sizeof(struct sockaddr) + sizeof(cur_req.ifr_name); 799 entry_len = MAX(entry_len, sizeof(cur_req));
|