Home
last modified time | relevance | path

Searched refs:end (Results 51 – 75 of 737) sorted by relevance

12345678910>>...30

/php-src/ext/standard/tests/array/
H A Dend_variation3.phpt2 Test end() function : usage variations - Referenced variables
9 echo "*** Testing end() : usage variations ***\n";
15 end($array1);
20 echo "\n-- Position after calling end() --\n";
27 *** Testing end() : usage variations ***
32 -- Position after calling end() --
/php-src/ext/mysqlnd/
H A Dmysqlnd_charset.c91 if (UNEXPECTED(start >= end)) { in check_mb_utf8mb3_sequence()
104 if (start + 2 > end) { in check_mb_utf8mb3_sequence()
113 if (start + 3 > end) { in check_mb_utf8mb3_sequence()
130 if (UNEXPECTED(start >= end)) { in check_mb_utf8_sequence()
143 if (start + 2 > end) { in check_mb_utf8_sequence()
152 if (start + 3 > end) { in check_mb_utf8_sequence()
295 if (end - start <= 1) { in check_mb_euckr()
457 if (start + 2 > end) { in check_mb_utf16()
571 default: return check_null(start, end); in mysqlnd_mbvalid_dispatch()
875 for (;escapestr < end; escapestr++) { in mysqlnd_cset_escape_quotes()
[all …]
/php-src/ext/standard/tests/serialize/
H A Dserialization_objects_019.phpt8 $end = new stdClass;
9 $root->a = [$end];
11 unset($end);
17 $end = new stdClass;
18 $root->a = [[$end]];
20 unset($end);
/php-src/ext/date/tests/
H A DDatePeriod_set_state_exception.phpt8 …'start' => new \DateTimeImmutable("2023-01-13 12:29:30"), 'end' => new \DateTimeImmutable("2023-01…
12 'start' => null, 'end' => null, 'current' => null,
17 …'start' => "2023-01-13 12:29:30", 'end' => new \DateTimeImmutable("2023-01-16 16:49:29"), 'current…
21 …'start' => new \DateTimeImmutable("2023-01-13 12:29:30"), 'end' => "2023-01-16 16:49:29", 'current…
25 …'start' => new \DateTimeImmutable("2023-01-13 12:29:30"), 'end' => new \DateTimeImmutable("2023-01…
29 …'start' => new \DateTimeImmutable("2023-01-13 12:29:30"), 'end' => new \DateTimeImmutable("2023-01…
33 …'start' => new \DateTimeImmutable("2023-01-13 12:29:30"), 'end' => new \DateTimeImmutable("2023-01…
37 …'start' => new \DateTimeImmutable("2023-01-13 12:29:30"), 'end' => new \DateTimeImmutable("2023-01…
41 …'start' => new \DateTimeImmutable("2023-01-13 12:29:30"), 'end' => new \DateTimeImmutable("2023-01…
H A Dexamine_diff.inc21 * @param string|DateTime $end_date the end date in YYYY-MM-DD format
44 $end = new DateTime($end_date);
46 $end = $end_date;
48 $end_date = $end->format('Y-m-d H:i:s T');
56 $result_interval = $start->diff($end, $absolute);
62 $result_interval = $start->diff($end, $absolute);
73 $end->sub($expect_interval);
74 $result_start_date = $end->format('Y-m-d H:i:s T');
/php-src/ext/pcre/pcre2lib/sljit/allocator_src/
H A DsljitWXExecAllocatorWindows.c88 sljit_uw end = (sljit_uw)to; in sljit_update_wx_flags() local
91 SLJIT_ASSERT(start < end); in sljit_update_wx_flags()
94 end = (end + page_mask) & ~page_mask; in sljit_update_wx_flags()
96 VirtualProtect((void*)start, end - start, prot, &oldprot); in sljit_update_wx_flags()
H A DsljitWXExecAllocatorPosix.c127 sljit_uw end = (sljit_uw)to; in sljit_update_wx_flags() local
130 SLJIT_ASSERT(start < end); in sljit_update_wx_flags()
133 end = (end + page_mask) & ~page_mask; in sljit_update_wx_flags()
135 mprotect((void*)start, end - start, prot); in sljit_update_wx_flags()
/php-src/ext/opcache/
H A Dzend_accelerator_util_funcs.c88 Bucket *p, *end; in zend_accel_move_user_functions() local
104 p = end - count; in zend_accel_move_user_functions()
105 for (; p != end; p++) { in zend_accel_move_user_functions()
119 Bucket *p, *end; in zend_accel_move_user_classes() local
135 p = end - count; in zend_accel_move_user_classes()
151 Bucket *p, *end; in _zend_accel_function_hash_copy() local
202 Bucket *p, *end; in _zend_accel_class_hash_copy() local
519 unsigned char *end; in zend_adler32() local
525 buf = end; in zend_adler32()
535 buf = end; in zend_adler32()
[all …]
/php-src/sapi/phpdbg/
H A D.gdbinit5 end
9 end
10 end
/php-src/Zend/
H A Dzend_arena.h30 char *end; member
39 arena->end = (char*) arena + size; in zend_arena_create()
60 if (EXPECTED(size <= (size_t)(arena->end - ptr))) { in zend_arena_alloc()
64 …UNEXPECTED((size + ZEND_MM_ALIGNED_SIZE(sizeof(zend_arena))) > (size_t)(arena->end - (char*) arena… in zend_arena_alloc()
66 (size_t)(arena->end - (char*) arena); in zend_arena_alloc()
71 new_arena->end = (char*) new_arena + arena_size; in zend_arena_alloc()
103 while (UNEXPECTED((char*)checkpoint > arena->end) || in zend_arena_release()
109 ZEND_ASSERT((char*)checkpoint > (char*)arena && (char*)checkpoint <= arena->end); in zend_arena_release()
133 void **end; member
145 arena->end = &arena->ptrs[ZEND_TRACKED_ARENA_SIZE]; in zend_arena_create()
[all …]
/php-src/sapi/fpm/fpm/
H A Dfpm_str.h8 char *d, *end; in str_purify_filename() local
11 end = dst + size - 1; in str_purify_filename()
13 for (; d < end && *src; ++d, ++src) { in str_purify_filename()
/php-src/ext/dom/lexbor/lexbor/css/selectors/
H A Dpseudo_res.h72 .failed = lxb_css_state_failed, .end = lxb_css_selectors_state_function_end}, false, false},
76 .failed = lxb_css_state_failed, .end = lxb_css_selectors_state_function_end}, false, true},
80 .failed = lxb_css_state_failed, .end = lxb_css_selectors_state_function_end}, false, false},
92 .failed = lxb_css_state_failed, .end = lxb_css_selectors_state_function_end}, false, false},
96 .failed = lxb_css_state_failed, .end = lxb_css_selectors_state_function_end}, false, true},
100 .failed = lxb_css_state_failed, .end = lxb_css_selectors_state_function_end}, false, true},
104 .failed = lxb_css_state_failed, .end = lxb_css_selectors_state_function_end}, false, false},
108 .failed = lxb_css_state_failed, .end = lxb_css_selectors_state_function_end}, false, true},
112 .failed = lxb_css_state_failed, .end = lxb_css_selectors_state_function_end}, false, false},
116 .failed = lxb_css_state_failed, .end = lxb_css_selectors_state_function_end}, false, false},
[all …]
/php-src/ext/filter/
H A Dlogical_filters.c127 while (str < end) { in php_filter_parse_int()
151 while (str < end) { in php_filter_parse_octal()
175 while (str < end) { in php_filter_parse_hex()
345 char *str, *end; in php_filter_float() local
368 end = str + len; in php_filter_float()
440 if (str != end) { in php_filter_float()
727 while (str < end) { in _php_filter_validate_ipv4()
747 return str == end; in _php_filter_validate_ipv4()
762 char *end; in _php_filter_validate_ipv6() local
794 end = str + str_len; in _php_filter_validate_ipv6()
[all …]
/php-src/ext/hash/murmur/
H A DPMurHash.c129 const uint8_t *end; in PMurHash32_Process() local
144 end = ptr + (len & ~3); in PMurHash32_Process()
145 for( ; ptr < end ; ptr+=4) { in PMurHash32_Process()
160 end = ptr + (len & ~3); in PMurHash32_Process()
163 for( ; ptr < end ; ptr+=4) { in PMurHash32_Process()
169 for( ; ptr < end ; ptr+=4) { in PMurHash32_Process()
177 for( ; ptr < end ; ptr+=4) { in PMurHash32_Process()
185 for( ; ptr < end ; ptr+=4) { in PMurHash32_Process()
/php-src/ext/dom/lexbor/lexbor/core/
H A Din.c68 node->end = buf + buf_size; in lexbor_in_node_make()
73 node->offset = last_node->offset + (last_node->end - last_node->begin); in lexbor_in_node_make()
125 new_node->end = node->end; in lexbor_in_node_split()
130 node->end = pos; in lexbor_in_node_split()
151 while (node && (node->begin > pos || node->end < pos)) { in lexbor_in_node_find()
165 if (node->end >= pos) { in lexbor_in_node_pos_up()
178 return node->end; in lexbor_in_node_pos_up()
181 offset = pos - node->end; in lexbor_in_node_pos_up()
216 pos = node->end; in lexbor_in_node_pos_down()
/php-src/Zend/tests/
H A Dflexible-nowdoc-error8.phpt6 eval('<<<\'end\'
11 Parse error: syntax error, unexpected end of file, expecting variable or heredoc end or "${" or "{$…
H A Dgh10634.phpt22 string(36) "syntax error, unexpected end of file"
23 string(36) "syntax error, unexpected end of file"
24 string(36) "syntax error, unexpected end of file"
/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitUtils.c196 stack->end = stack->min_start + max_size; in sljit_allocate_stack()
197 stack->start = stack->end - start_size; in sljit_allocate_stack()
198 stack->top = stack->end; in sljit_allocate_stack()
211 if ((new_start < stack->min_start) || (new_start >= stack->end)) in sljit_stack_resize()
266 stack->end = stack->min_start + max_size; in sljit_allocate_stack()
267 stack->start = stack->end; in sljit_allocate_stack()
269 if (sljit_stack_resize(stack, stack->end - start_size) == NULL) { in sljit_allocate_stack()
288 stack->end = stack->min_start + max_size; in sljit_allocate_stack()
289 stack->start = stack->end - start_size; in sljit_allocate_stack()
292 stack->top = stack->end; in sljit_allocate_stack()
[all …]
/php-src/ext/opcache/tests/jit/
H A Dreg_alloc_023.phpt10 public function foo(string $key, int $start, int $end, ?string $type = null): void
14 if ($data->from >= $start && $data->from <= $end) {
23 if ($map_start >= $start && $map_start <= $end) {
30 if ($map_start >= $start && $map_start <= $end) {
37 if ($map_start >= $start && $map_start <= $end) {
/php-src/ext/mbstring/libmbfl/filters/
H A Dmbfilter_utf16.c1052 if (len > end - (str + from)) { in mb_cut_utf16be()
1053 len = end - (str + from); in mb_cut_utf16be()
1058 if (len < 2 || (end - start) < 2) { in mb_cut_utf16be()
1073 if (_end > end) { in mb_cut_utf16be()
1074 _end = end; in mb_cut_utf16be()
1085 if (len > end - (str + from)) { in mb_cut_utf16le()
1086 len = end - (str + from); in mb_cut_utf16le()
1091 if (len < 2 || (end - start) < 2) { in mb_cut_utf16le()
1106 if (_end > end) { in mb_cut_utf16le()
1107 _end = end; in mb_cut_utf16le()
[all …]
/php-src/main/
H A Dfopen_wrappers.c100 *end = '\0'; in ZEND_INI_MH()
101 end++; in ZEND_INI_MH()
119 ptr = end; in ZEND_INI_MH()
297 char *end; local
314 *end = '\0';
315 end++;
323 ptr = end;
543 if (end) {
551 ptr = end+1;
697 end++;
[all …]
/php-src/ext/mbstring/
H A Dphp_mbregex.c691 end = args->region->end[gn]; in mb_regex_groups_iter()
692 if (beg >= 0 && beg < end && end <= args->search_len) { in mb_regex_groups_iter()
945 end = regs->end[i]; in _php_mb_regex_ereg_exec()
1218 beg = regs->beg[0], end = regs->end[0]; in PHP_FUNCTION()
1329 int beg, end; in _php_mb_regex_ereg_search_exec() local
1391 end = MBREX(search_regs)->end[0]; in _php_mb_regex_ereg_search_exec()
1400 end = MBREX(search_regs)->end[i]; in _php_mb_regex_ereg_search_exec()
1401 if (beg >= 0 && beg <= end && end <= len) { in _php_mb_regex_ereg_search_exec()
1421 end = MBREX(search_regs)->end[0]; in _php_mb_regex_ereg_search_exec()
1531 end = MBREX(search_regs)->end[i]; in PHP_FUNCTION()
[all …]
/php-src/sapi/cli/tests/
H A D013.phpt20 var_dump(`cat $filename_txt_escaped | $php -n -E 'var_dump("end");'`);
21 var_dump(`cat $filename_txt_escaped | $php -n -B 'var_dump("start");' -E 'var_dump("end");'`);
30 string(16) "string(3) "end"
33 string(3) "end"
/php-src/Zend/Optimizer/
H A Dnop_removal.c35 zend_op *end, *opline; in zend_optimizer_nop_removal() local
43 end = op_array->opcodes + op_array->last; in zend_optimizer_nop_removal()
44 for (opline = op_array->opcodes; opline < end; opline++) { in zend_optimizer_nop_removal()
76 end = op_array->opcodes + op_array->last; in zend_optimizer_nop_removal()
79 for (opline = op_array->opcodes; opline<end; opline++) { in zend_optimizer_nop_removal()
/php-src/Zend/tests/try/
H A Dcatch_finally_001.phpt17 echo "end\n";
27 end
32 end

Completed in 80 milliseconds

12345678910>>...30