Home
last modified time | relevance | path

Searched refs:UNEXPECTED (Results 1 – 25 of 159) sorted by relevance

1234567

/PHP-8.3/Zend/
H A Dzend_range_check.h42 # define ZEND_LONG_INT_OVFL(zlong) UNEXPECTED((zlong) > (zend_long)INT_MAX)
43 # define ZEND_LONG_INT_UDFL(zlong) UNEXPECTED((zlong) < (zend_long)INT_MIN)
44 # define ZEND_LONG_EXCEEDS_INT(zlong) UNEXPECTED(ZEND_LONG_INT_OVFL(zlong) || ZEND_LONG_INT_UDFL(zl…
45 # define ZEND_LONG_UINT_OVFL(zlong) UNEXPECTED((zlong) < 0 || (zlong) > (zend_long)UINT_MAX)
54 #define ZEND_SIZE_T_INT_OVFL(size) UNEXPECTED((size) > (size_t)INT_MAX)
56 # define ZEND_SIZE_T_UINT_OVFL(size) UNEXPECTED((size) > (size_t)UINT_MAX)
H A Dzend_object_handlers.c349 if (UNEXPECTED(EG(fake_scope))) { in zend_get_property_offset()
445 if (UNEXPECTED(EG(fake_scope))) { in zend_get_property_info()
745 if (UNEXPECTED(prop_info)) { in zend_std_read_property()
762 if (UNEXPECTED(prop_info)) { in zend_std_read_property()
790 if (UNEXPECTED(EG(fake_scope))) { in verify_readonly_initialization_access()
830 if (UNEXPECTED(prop_info)) { in zend_std_write_property()
933 if (UNEXPECTED(prop_info)) { in zend_std_write_property()
1114 if (UNEXPECTED(prop_info)) { in zend_std_get_property_ptr_ptr()
1431 if (UNEXPECTED(!key)) { in zend_std_get_method()
1475 if (UNEXPECTED(!key)) { in zend_std_get_method()
[all …]
H A Dzend_vm_def.h1047 if (UNEXPECTED(!name)) {
1729 if (UNEXPECTED(!name)) {
4710 if (UNEXPECTED(!arg)) {
4750 if (UNEXPECTED(!arg)) {
4787 if (UNEXPECTED(!arg)) {
4834 if (UNEXPECTED(!arg)) {
4865 if (UNEXPECTED(!arg)) {
4933 if (UNEXPECTED(!arg)) {
4963 if (UNEXPECTED(!arg)) {
5062 if (UNEXPECTED(!arg)) {
[all …]
H A Dzend_vm_execute.h5558 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { in ZEND_YIELD_FROM_SPEC_CONST_HANDLER()
14962 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { in ZEND_YIELD_FROM_SPEC_TMPVAR_HANDLER()
40320 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { in ZEND_YIELD_FROM_SPEC_CV_HANDLER()
40617 if (UNEXPECTED(0)) { in ZEND_PRE_INC_LONG_NO_OVERFLOW_SPEC_CV_RETVAL_UNUSED_HANDLER()
40630 if (UNEXPECTED(1)) { in ZEND_PRE_INC_LONG_NO_OVERFLOW_SPEC_CV_RETVAL_USED_HANDLER()
40643 if (UNEXPECTED(0)) { in ZEND_PRE_INC_LONG_SPEC_CV_RETVAL_UNUSED_HANDLER()
40656 if (UNEXPECTED(1)) { in ZEND_PRE_INC_LONG_SPEC_CV_RETVAL_USED_HANDLER()
40669 if (UNEXPECTED(0)) { in ZEND_PRE_DEC_LONG_NO_OVERFLOW_SPEC_CV_RETVAL_UNUSED_HANDLER()
40682 if (UNEXPECTED(1)) { in ZEND_PRE_DEC_LONG_NO_OVERFLOW_SPEC_CV_RETVAL_USED_HANDLER()
40695 if (UNEXPECTED(0)) { in ZEND_PRE_DEC_LONG_SPEC_CV_RETVAL_UNUSED_HANDLER()
[all …]
H A Dzend_gc.h97 if (UNEXPECTED(GC_MAY_LEAK(ref))) { in gc_check_possible_root()
105 if (UNEXPECTED(GC_MAY_LEAK(ref))) { in gc_check_possible_root_no_ref()
126 if (UNEXPECTED(gc_buffer->cur == gc_buffer->end)) { in zend_get_gc_buffer_add_zval()
136 if (UNEXPECTED(gc_buffer->cur == gc_buffer->end)) { in zend_get_gc_buffer_add_obj()
145 if (UNEXPECTED(gc_buffer->cur == gc_buffer->end)) { in zend_get_gc_buffer_add_ptr()
H A Dzend_execute.c807 if (UNEXPECTED(strict)) { in zend_verify_scalar_type_hint()
1079 if (UNEXPECTED(!ce)) { in zend_fetch_ce_from_cache_slot()
1087 if (UNEXPECTED(!ce)) { in zend_fetch_ce_from_cache_slot()
1816 if (UNEXPECTED(!tmp)) { in zend_assign_to_string_offset()
2002 if (UNEXPECTED(Z_TYPE_P(prop) != IS_LONG) && UNEXPECTED(prop_info) in zend_pre_incdec_property_zval()
2041 if (UNEXPECTED(Z_TYPE_P(prop) != IS_LONG) && UNEXPECTED(prop_info) in zend_post_incdec_property_zval()
2594 if (UNEXPECTED(!retval)) { in zend_fetch_dimension_address()
3656 if (UNEXPECTED(ref)) { in zend_assign_to_typed_ref_ex()
4341 if (UNEXPECTED(EX(call))) { in cleanup_unfinished_calls()
4802 if (UNEXPECTED(!obj) || UNEXPECTED(!method)) { in zend_init_dynamic_call_array()
[all …]
H A Dzend_multiply.h188 if (UNEXPECTED(m_overflow)) { in zend_safe_address()
225 if (UNEXPECTED(m_overflow)) { in zend_safe_address()
247 if (UNEXPECTED(m_overflow)) { in zend_safe_address()
268 if (UNEXPECTED(m_overflow)) { in zend_safe_address()
292 if (UNEXPECTED(m_overflow)) { in zend_safe_address()
306 if (UNEXPECTED(res > UINT64_C(0xFFFFFFFF))) { in zend_safe_address()
322 if (UNEXPECTED((_d + _delta ) != _d)) { in zend_safe_address()
336 if (UNEXPECTED(overflow)) { in zend_safe_address_guarded()
349 if (UNEXPECTED(overflow)) { in zend_safe_addmult()
H A Dzend_vm_opcodes.c440 if (UNEXPECTED(opcode > ZEND_VM_LAST_OPCODE)) { in zend_get_opcode_name()
446 if (UNEXPECTED(opcode > ZEND_VM_LAST_OPCODE)) { in zend_get_opcode_flags()
H A Dzend_API.h1095 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
1117 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
1139 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
1161 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
1183 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
1611 if (UNEXPECTED(ZEND_NUM_ARGS() != 0)) { \
1636 if (UNEXPECTED(_i >_num_args)) break; \
2260 if (check_null && UNEXPECTED(!str)) { in zend_parse_arg_string()
2286 if (check_null && UNEXPECTED(!str)) { in zend_parse_arg_path()
2450 (UNEXPECTED(Z_TYPE_P(arg) == IS_NULL) || in zend_parse_arg_zval()
[all …]
H A Dzend_generators.c158 if (UNEXPECTED(CG(unclean_shutdown))) { in zend_generator_close()
167 if (UNEXPECTED(!finished_execution)) { in zend_generator_close()
657 if (UNEXPECTED(pos >= ht->nNumUsed)) { in zend_generator_get_next_delegated_value()
675 if (UNEXPECTED(pos >= ht->nNumUsed)) { in zend_generator_get_next_delegated_value()
701 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_get_next_delegated_value()
712 if (UNEXPECTED(EG(exception) != NULL) || UNEXPECTED(!value)) { in zend_generator_get_next_delegated_value()
722 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_get_next_delegated_value()
746 if (UNEXPECTED(!generator->execute_data)) { in zend_generator_resume()
801 if (UNEXPECTED(EG(exception))) { in zend_generator_resume()
848 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_resume()
[all …]
H A Dzend_call_stack.h58 if (UNEXPECTED(size > (uintptr_t)base)) { in zend_call_stack_limit()
64 if (UNEXPECTED(UINTPTR_MAX - (uintptr_t)base < reserved_size)) { in zend_call_stack_limit()
H A Dzend_arena.h64UNEXPECTED((size + ZEND_MM_ALIGNED_SIZE(sizeof(zend_arena))) > (size_t)(arena->end - (char*) arena… in zend_arena_alloc()
86 if (UNEXPECTED(overflow)) { in zend_arena_calloc()
103 while (UNEXPECTED((char*)checkpoint > arena->end) || in zend_arena_release()
104 UNEXPECTED((char*)checkpoint <= (char*)arena)) { in zend_arena_release()
182 if (UNEXPECTED(overflow)) { in zend_arena_calloc()
H A Dzend_operators.h122 if (UNEXPECTED(!zend_finite(d)) || UNEXPECTED(zend_isnan(d))) { in zend_dval_to_lval()
133 if (UNEXPECTED(!zend_finite(d)) || UNEXPECTED(zend_isnan(d))) { in zend_dval_to_lval_cap()
186 } else if (UNEXPECTED(needle_len == 0)) { in zend_memnstr()
330 if (UNEXPECTED(tmp)) { in zend_tmp_string_release()
559 if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { in fast_long_increment_function()
567 if (UNEXPECTED(__builtin_saddll_overflow(Z_LVAL_P(op1), 1, &llresult))) { in fast_long_increment_function()
574 if (UNEXPECTED(Z_LVAL_P(op1) == ZEND_LONG_MAX)) { in fast_long_increment_function()
622 if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { in fast_long_decrement_function()
637 if (UNEXPECTED(Z_LVAL_P(op1) == ZEND_LONG_MIN)) { in fast_long_decrement_function()
939 if (UNEXPECTED(needle_len == 0)) { in zend_memnistr()
[all …]
H A Dzend_observer.h91 if (UNEXPECTED(zend_observer_function_declared_observed)) { in zend_observer_function_declared_notify()
101 if (UNEXPECTED(zend_observer_class_linked_observed)) { in zend_observer_class_linked_notify()
111 if (UNEXPECTED(zend_observer_errors_observed)) { in zend_observer_error_notify()
H A Dzend_hash.c124 } else if (UNEXPECTED(nSize > HT_MAX_SIZE)) { in zend_hash_check_size()
657 if (UNEXPECTED(iter->next_copy != idx)) { in zend_hash_iterator_del()
684 if (UNEXPECTED(HT_HAS_ITERATORS(ht))) { in zend_hash_iterators_remove()
745 if (UNEXPECTED(idx == HT_INVALID_IDX)) { in zend_hash_find_bucket()
1246 if (UNEXPECTED(p)) { in zend_hash_set_bucket_key()
1387 if (UNEXPECTED(i >= iter_pos)) { in zend_hash_rehash()
1409 if (UNEXPECTED(HT_HAS_ITERATORS(ht))) { in zend_hash_rehash()
2421 if (UNEXPECTED(idx >= iter_pos)) { in zend_array_dup_elements()
3089 if (UNEXPECTED(GC_DELREF(ht) == 0)) { in zend_array_sort_ex()
3212 if (UNEXPECTED(GC_IS_RECURSIVE(ht1))) { in zend_hash_compare()
[all …]
H A Dzend_operators.c312 if (UNEXPECTED(EG(exception)) || in _zendi_convert_scalar_to_number_silent()
788 if (UNEXPECTED(!str)) { in _try_convert_to_string()
920 if (UNEXPECTED(is_strict)) { in zval_get_long_func()
944 if (UNEXPECTED(is_strict)) { in zval_get_long_func()
1679 if (UNEXPECTED(failed)) { in bitwise_or_function()
1693 if (UNEXPECTED(failed)) { in bitwise_or_function()
1761 if (UNEXPECTED(failed)) { in bitwise_and_function()
1775 if (UNEXPECTED(failed)) { in bitwise_and_function()
1843 if (UNEXPECTED(failed)) { in bitwise_xor_function()
1857 if (UNEXPECTED(failed)) { in bitwise_xor_function()
[all …]
/PHP-8.3/ext/mbstring/
H A Dphp_unicode.c206 if (UNEXPECTED(code > 0xffffff)) { in php_unicode_tolower_simple()
213 if (UNEXPECTED(code > 0xffffff)) { in php_unicode_toupper_simple()
220 if (UNEXPECTED(code > 0xffffff)) { in php_unicode_totitle_simple()
227 if (UNEXPECTED(code > 0xffffff)) { in php_unicode_tofold_simple()
327 if (UNEXPECTED(w > 0xFFFFFF)) { in php_unicode_convert_case()
341 if (UNEXPECTED(w > 0xFFFFFF)) { in php_unicode_convert_case()
346 if (UNEXPECTED(w > 0xFFFFFF)) { in php_unicode_convert_case()
357 if (UNEXPECTED(w > 0xFFFFFF)) { in php_unicode_convert_case()
399 if (UNEXPECTED(w > 0xFFFFFF)) { in php_unicode_convert_case()
410 if (UNEXPECTED(w > 0xFFFFFF)) { in php_unicode_convert_case()
[all …]
/PHP-8.3/ext/opcache/jit/
H A Dzend_jit_helpers.c59 if (UNEXPECTED(func == NULL)) { in zend_jit_find_func_helper()
144 if (UNEXPECTED(fbc == NULL)) { in zend_jit_find_method_helper()
1248 if (UNEXPECTED(result)) { in zend_assign_to_string_offset()
1292 if (UNEXPECTED(!tmp)) { in zend_assign_to_string_offset()
1299 if (UNEXPECTED(!tmp)) { in zend_assign_to_string_offset()
1824 if (UNEXPECTED(!ret)) { in zend_jit_verify_arg_slow()
2881 if (UNEXPECTED(Z_TYPE_P(prop) != IS_LONG) && UNEXPECTED(prop_info) in zend_jit_pre_inc_obj_helper()
2925 if (UNEXPECTED(result)) { in zend_jit_pre_inc_obj_helper()
2951 if (UNEXPECTED(Z_TYPE_P(prop) != IS_LONG) && UNEXPECTED(prop_info) in zend_jit_pre_dec_obj_helper()
3020 if (UNEXPECTED(Z_TYPE_P(prop) != IS_LONG) && UNEXPECTED(prop_info) in zend_jit_post_inc_obj_helper()
[all …]
H A Dzend_jit_vm_helpers.c58 if (UNEXPECTED(call_info & ZEND_CALL_HAS_SYMBOL_TABLE)) { in zend_jit_leave_nested_func_helper()
63 if (UNEXPECTED(call_info & ZEND_CALL_RELEASE_THIS)) { in zend_jit_leave_nested_func_helper()
65 } else if (UNEXPECTED(call_info & ZEND_CALL_CLOSURE)) { in zend_jit_leave_nested_func_helper()
76 if (UNEXPECTED(EG(exception) != NULL)) { in zend_jit_leave_nested_func_helper()
106 if (UNEXPECTED(call_info & ZEND_CALL_CLOSURE)) { in zend_jit_leave_top_func_helper()
259 if (UNEXPECTED(*(jit_extension->counter) <= 0)) { in zend_jit_func_counter_helper()
279 if (UNEXPECTED(*(jit_extension->counter) <= 0)) { in zend_jit_loop_counter_helper()
519 if (UNEXPECTED(!jit_extension in zend_jit_trace_record_fake_init_call_ex()
900 if (UNEXPECTED(opline == zend_jit_halt_op)) {
926 if (UNEXPECTED(!jit_extension)
[all …]
/PHP-8.3/ext/intl/dateformat/
H A Ddateformat_attrcpp.cpp72 if (UNEXPECTED(tz_clone == NULL)) { in PHP_FUNCTION()
147 if (UNEXPECTED(cal_clone == NULL)) { in PHP_FUNCTION()
198 if (UNEXPECTED(old_timezone == NULL)) { in PHP_FUNCTION()
208 if (UNEXPECTED(cal == NULL)) { in PHP_FUNCTION()
/PHP-8.3/ext/dom/
H A Dparentnode.c253 if (UNEXPECTED(parentNode == NULL)) { in dom_sanity_check_node_list_for_insertion()
327 …if (UNEXPECTED(dom_sanity_check_node_list_for_insertion(context->document, parentNode, nodes, node… in dom_parent_node_append()
371 …if (UNEXPECTED(dom_sanity_check_node_list_for_insertion(context->document, parentNode, nodes, node… in dom_parent_node_prepend()
411 …if (UNEXPECTED(dom_sanity_check_node_list_for_insertion(context->document, parentNode, nodes, node… in dom_parent_node_after()
463 …if (UNEXPECTED(dom_sanity_check_node_list_for_insertion(context->document, parentNode, nodes, node… in dom_parent_node_before()
541 if (UNEXPECTED(dom_child_removal_preconditions(child, stricterror) != SUCCESS)) { in dom_child_node_remove()
560 …if (UNEXPECTED(dom_sanity_check_node_list_for_insertion(context->document, parentNode, nodes, node… in dom_child_replace_with()
565 if (UNEXPECTED(dom_child_removal_preconditions(child, stricterror) != SUCCESS)) { in dom_child_replace_with()
583 if (UNEXPECTED(fragment == NULL)) { in dom_child_replace_with()
615 …if (UNEXPECTED(dom_sanity_check_node_list_for_insertion(context->document, thisp, nodes, nodesc) !… in dom_parent_node_replace_children()
[all …]
/PHP-8.3/ext/random/
H A Dgammasection.c79 if (UNEXPECTED(max <= min || hi < 1)) { in php_random_gammasection_closed_open()
107 if (UNEXPECTED(max < min)) { in php_random_gammasection_closed_closed()
139 if (UNEXPECTED(max <= min || hi < 1)) { in php_random_gammasection_open_closed()
167 if (UNEXPECTED(max <= min || hi < 2)) { in php_random_gammasection_open_open()
H A Drandomizer.c167 if (UNEXPECTED(max <= min)) { in PHP_METHOD()
174 if (UNEXPECTED(max < min)) { in PHP_METHOD()
181 if (UNEXPECTED(max <= min)) { in PHP_METHOD()
188 if (UNEXPECTED(max <= min)) { in PHP_METHOD()
195 if (UNEXPECTED(isnan(Z_DVAL_P(return_value)))) { in PHP_METHOD()
240 if (UNEXPECTED(max < min)) { in PHP_METHOD()
245 if (UNEXPECTED( in PHP_METHOD()
/PHP-8.3/ext/intl/
H A Dintl_convertcpp.cpp26 if(UNEXPECTED(str_len > INT32_MAX)) { in intl_stringFromChar()
59 if (UNEXPECTED(from.isBogus())) { in intl_charFromString()
/PHP-8.3/sapi/phpdbg/
H A Dphpdbg_help.c65 if (UNEXPECTED(p[0] == '*') && p[1] == '*') { in pretty_print()
68 } else if (UNEXPECTED(p[0] == '$') && p[1] == 'P') { in pretty_print()
71 } else if (UNEXPECTED(p[0] == '\\')) { in pretty_print()
89 if (UNEXPECTED(*p == ' ')) { in pretty_print()
93 } else if (UNEXPECTED(*p == '\n')) { in pretty_print()
98 } else if (UNEXPECTED(p[0] == '*') && p[1] == '*') { in pretty_print()
106 } else if (UNEXPECTED(p[0] == '$') && p[1] == 'P') { in pretty_print()
111 } else if (UNEXPECTED(p[0] == '\\')) { in pretty_print()
120 if (UNEXPECTED(line_count>=term_width) && last_new_blank) { in pretty_print()

Completed in 323 milliseconds

1234567