/php-src/ext/phar/ |
H A D | func_interceptors.c | 44 size_t arch_len, entry_len; in PHP_FUNCTION() local 61 entry_len = filename_len; in PHP_FUNCTION() 93 size_t arch_len, entry_len; in phar_get_name_for_relative_paths() local 108 entry_len = 0; in phar_get_name_for_relative_paths() 146 entry, entry_len in phar_get_name_for_relative_paths() 489 size_t arch_len, entry_len; in phar_file_stat() local 745 size_t arch_len, entry_len; in PharFileFunction() local 760 entry_len = filename_len; in PharFileFunction() 765 entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1); in PharFileFunction() 826 entry_len = filename_len; in PHP_FUNCTION() [all …]
|
H A D | phar_object.c | 77 if (code > (size_t)entry_len && !memcmp(path_info, entry, entry_len)) { in phar_mung_server_vars() 368 *entry_len = e_len + 1; in phar_postprocess_ru_web() 405 size_t arch_len, entry_len; in PHP_METHOD() local 526 path_len = entry_len; in PHP_METHOD() 559 size_t entry_len; in PHP_METHOD() local 641 entry_len = 0; in PHP_METHOD() 668 entry_len = 0; in PHP_METHOD() 744 if (entry_len) { in PHP_METHOD() 748 if (!entry_len || (entry_len == 1 && entry[0] == '/')) { in PHP_METHOD() 756 ++entry_len; in PHP_METHOD() [all …]
|
H A D | dirstream.c | 353 size_t arch_len, entry_len; in phar_wrapper_mkdir() local 357 …if (FAILURE == phar_split_fname(url_from, strlen(url_from), &arch, &arch_len, &entry2, &entry_len,… in phar_wrapper_mkdir() 482 size_t arch_len, entry_len; in phar_wrapper_rmdir() local 486 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_internal.h | 474 …ze_t filename_len, char **arch, size_t *arch_len, char **entry, size_t *entry_len, int executable,…
|
H A D | phar.c | 2240 …ze_t filename_len, char **arch, size_t *arch_len, char **entry, size_t *entry_len, int executable,… in phar_split_fname() argument 2292 *entry_len = filename_len - *arch_len; in phar_split_fname() 2293 *entry = estrndup(ext_str+ext_len, *entry_len); in phar_split_fname() 2295 phar_unixify_path_separators(*entry, *entry_len); in phar_split_fname() 2297 *entry = phar_fix_filepath(*entry, entry_len, 0); in phar_split_fname() 2299 *entry_len = 1; in phar_split_fname()
|
H A D | util.c | 269 size_t arch_len, entry_len; in phar_find_in_include_path() local 302 …= phar_split_fname(ZSTR_VAL(fname), ZSTR_LEN(fname), &arch, &arch_len, &entry, &entry_len, 1, 0)) { in phar_find_in_include_path() 348 …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-src/ext/session/ |
H A D | mod_files.c | 310 size_t entry_len = strlen(entry->d_name); in ps_files_cleanup_dir() local 313 if (entry_len + ZSTR_LEN(dirname) + 2 < MAXPATHLEN) { in ps_files_cleanup_dir() 315 memcpy(buf + ZSTR_LEN(dirname) + 1, entry->d_name, entry_len); in ps_files_cleanup_dir() 318 buf[ZSTR_LEN(dirname) + entry_len + 1] = '\0'; in ps_files_cleanup_dir()
|
/php-src/ext/sockets/ |
H A D | multicast.c | 754 size_t entry_len; local 786 p += entry_len) { 792 entry_len = cur_req.ifr_addr.sa_len + sizeof(cur_req.ifr_name); 795 entry_len = sizeof(struct sockaddr) + sizeof(cur_req.ifr_name); 797 entry_len = MAX(entry_len, sizeof(cur_req));
|
/php-src/ext/intl/resourcebundle/ |
H A D | resourcebundle_class.c | 342 int entry_len; in PHP_FUNCTION() local 369 while ((entry = uenum_next( icuenum, &entry_len, &icuerror ))) { in PHP_FUNCTION() 370 add_next_index_stringl( return_value, (char *) entry, entry_len); in PHP_FUNCTION()
|