Home
last modified time | relevance | path

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

123456789

/php-src/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.c322 if (UNEXPECTED(GC_DELREF(obj) == 0)) { in zend_deprecated_dynamic_property()
343 if (UNEXPECTED(EG(fake_scope))) { in get_fake_or_executed_scope()
1013 if (UNEXPECTED(!type_matched)) { in zend_std_write_property()
1193 if (UNEXPECTED(!zobj)) { in zend_std_write_property()
1229 if (UNEXPECTED(Z_ISUNDEF_P(rv))) { in zend_std_read_dimension()
1249 if (UNEXPECTED(!EG(exception))) { in zend_std_read_dimension()
1398 if (UNEXPECTED(!zobj->properties)) { in zend_std_get_property_ptr_ptr()
1448 if (UNEXPECTED(Z_ISREF_P(slot)) && in zend_std_unset_property()
1782 if (UNEXPECTED(!key)) { in zend_std_get_method()
1826 if (UNEXPECTED(!key)) { in zend_std_get_method()
[all …]
H A Dzend_vm_def.h1113 if (UNEXPECTED(!prop)) {
1428 if (UNEXPECTED(!prop)) {
1455 if (UNEXPECTED(!prop)) {
1721 if (UNEXPECTED(!name)) {
1845 if (UNEXPECTED(!prop)) { in ZEND_VM_INLINE_HELPER()
2595 if (UNEXPECTED(!prop)) {
2890 if (UNEXPECTED(!prop)) {
4802 if (UNEXPECTED(!arg)) {
4842 if (UNEXPECTED(!arg)) {
4879 if (UNEXPECTED(!arg)) {
[all …]
H A Dzend_vm_execute.h5837 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { in ZEND_YIELD_FROM_SPEC_CONST_HANDLER()
15413 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { in ZEND_YIELD_FROM_SPEC_TMPVAR_HANDLER()
41508 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { in ZEND_YIELD_FROM_SPEC_CV_HANDLER()
41801 if (UNEXPECTED(0)) { in ZEND_PRE_INC_LONG_NO_OVERFLOW_SPEC_CV_RETVAL_UNUSED_HANDLER()
41814 if (UNEXPECTED(1)) { in ZEND_PRE_INC_LONG_NO_OVERFLOW_SPEC_CV_RETVAL_USED_HANDLER()
41827 if (UNEXPECTED(0)) { in ZEND_PRE_INC_LONG_SPEC_CV_RETVAL_UNUSED_HANDLER()
41840 if (UNEXPECTED(1)) { in ZEND_PRE_INC_LONG_SPEC_CV_RETVAL_USED_HANDLER()
41853 if (UNEXPECTED(0)) { in ZEND_PRE_DEC_LONG_NO_OVERFLOW_SPEC_CV_RETVAL_UNUSED_HANDLER()
41866 if (UNEXPECTED(1)) { in ZEND_PRE_DEC_LONG_NO_OVERFLOW_SPEC_CV_RETVAL_USED_HANDLER()
41879 if (UNEXPECTED(0)) { in ZEND_PRE_DEC_LONG_SPEC_CV_RETVAL_UNUSED_HANDLER()
[all …]
H A Dzend_gc.h98 if (UNEXPECTED(GC_MAY_LEAK(ref))) { in gc_check_possible_root()
106 if (UNEXPECTED(GC_MAY_LEAK(ref))) { in gc_check_possible_root_no_ref()
127 if (UNEXPECTED(gc_buffer->cur == gc_buffer->end)) { in zend_get_gc_buffer_add_zval()
137 if (UNEXPECTED(gc_buffer->cur == gc_buffer->end)) { in zend_get_gc_buffer_add_obj()
146 if (UNEXPECTED(gc_buffer->cur == gc_buffer->end)) { in zend_get_gc_buffer_add_ptr()
H A Dzend_execute.c811 if (UNEXPECTED(strict)) { in zend_verify_scalar_type_hint()
1120 if (UNEXPECTED(!ce)) { in zend_fetch_ce_from_cache_slot()
1128 if (UNEXPECTED(!ce)) { in zend_fetch_ce_from_cache_slot()
2007 if (UNEXPECTED(!tmp)) { in zend_assign_to_string_offset()
2790 if (UNEXPECTED(!retval)) { in zend_fetch_dimension_address()
3636 if (UNEXPECTED(!result)) { in zend_fetch_static_property_address()
3878 if (UNEXPECTED(ref)) { in zend_assign_to_typed_ref_ex()
4579 if (UNEXPECTED(EX(call))) { in cleanup_unfinished_calls()
5034 if (UNEXPECTED(!obj) || UNEXPECTED(!method)) { in zend_init_dynamic_call_array()
5040 if (UNEXPECTED(Z_TYPE_P(obj) != IS_STRING) && UNEXPECTED(Z_TYPE_P(obj) != IS_OBJECT)) { 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.c452 if (UNEXPECTED(opcode > ZEND_VM_LAST_OPCODE)) { in zend_get_opcode_name()
458 if (UNEXPECTED(opcode > ZEND_VM_LAST_OPCODE)) { in zend_get_opcode_flags()
H A Dzend_objects.c39 if (UNEXPECTED(ce->ce_flags & ZEND_ACC_USE_GUARDS)) { in _zend_object_std_init()
66 if (UNEXPECTED(Z_ISREF_P(p)) && in zend_object_dtor_property()
81 if (UNEXPECTED(GC_FLAGS(object) & IS_OBJ_WEAKLY_REFERENCED)) { in zend_object_std_dtor()
85 if (UNEXPECTED(zend_object_is_lazy(object))) { in zend_object_std_dtor()
100 if (UNEXPECTED(object->ce->ce_flags & ZEND_ACC_USE_GUARDS)) { in zend_object_std_dtor()
119 if (UNEXPECTED(zend_object_is_lazy(object))) { in zend_objects_destroy_object()
234 if (UNEXPECTED(Z_ISREF_P(dst)) && in zend_objects_clone_members()
310 if (UNEXPECTED(zend_object_is_lazy(old_object))) { in zend_objects_clone_obj()
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_lazy_objects.c253 if (UNEXPECTED(reflection_ce->ce_flags & ZEND_ACC_UNINSTANTIABLE)) { in zend_object_make_lazy()
262 if (UNEXPECTED(!(reflection_ce->ce_flags & ZEND_ACC_CONSTANTS_UPDATED))) { in zend_object_make_lazy()
263 if (UNEXPECTED(zend_update_class_constants(reflection_ce) != SUCCESS)) { in zend_object_make_lazy()
316 if (UNEXPECTED(GC_REFCOUNT(obj->properties) > 1)) { in zend_object_make_lazy()
348 if (UNEXPECTED(!lazy_properties_count)) { in zend_object_make_lazy()
487 if (UNEXPECTED(EG(exception))) { in zend_lazy_object_init_proxy()
492 if (UNEXPECTED(Z_TYPE(retval) != IS_OBJECT)) { in zend_lazy_object_init_proxy()
510 if (UNEXPECTED(Z_OBJ(retval) == obj || zend_object_is_lazy(Z_OBJ(retval)))) { in zend_lazy_object_init_proxy()
539 if (UNEXPECTED(GC_DELREF(obj) == 0)) { in zend_lazy_object_init_proxy()
655 if (UNEXPECTED(GC_DELREF(obj) == 0)) { in zend_lazy_object_init()
[all …]
H A Dzend_generators.c157 if (UNEXPECTED(CG(unclean_shutdown))) { in zend_generator_close()
166 if (UNEXPECTED(!finished_execution)) { in zend_generator_close()
656 if (UNEXPECTED(pos >= ht->nNumUsed)) { in zend_generator_get_next_delegated_value()
674 if (UNEXPECTED(pos >= ht->nNumUsed)) { in zend_generator_get_next_delegated_value()
700 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_get_next_delegated_value()
711 if (UNEXPECTED(EG(exception) != NULL) || UNEXPECTED(!value)) { in zend_generator_get_next_delegated_value()
721 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_get_next_delegated_value()
745 if (UNEXPECTED(!generator->execute_data)) { in zend_generator_resume()
848 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_resume()
990 if (UNEXPECTED(!generator->execute_data)) { in ZEND_METHOD()
[all …]
H A Dzend_API.h1102 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
1124 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
1146 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
1168 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
1190 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \
1621 if (UNEXPECTED(ZEND_NUM_ARGS() != 0)) { \
1646 if (UNEXPECTED(_i >_num_args)) break; \
2309 if (check_null && UNEXPECTED(!str)) { in zend_parse_arg_string()
2335 if (check_null && UNEXPECTED(!str)) { in zend_parse_arg_path()
2501 (UNEXPECTED(Z_TYPE_P(arg) == IS_NULL) || in zend_parse_arg_zval()
[all …]
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()
/php-src/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-src/ext/opcache/jit/
H A Dzend_jit_helpers.c59 if (UNEXPECTED(func == NULL)) { in zend_jit_find_func_helper()
85 if (UNEXPECTED(func == NULL)) { in zend_jit_find_ns_func_helper()
152 if (UNEXPECTED(fbc == NULL)) { in zend_jit_find_method_helper()
201 if (UNEXPECTED(ce == NULL)) { in zend_jit_find_class_helper()
1342 if (UNEXPECTED(result)) { in zend_assign_to_string_offset()
1386 if (UNEXPECTED(!tmp)) { in zend_assign_to_string_offset()
1911 if (UNEXPECTED(!ret)) { in zend_jit_verify_arg_slow()
3051 if (UNEXPECTED(result)) { in zend_jit_pre_inc_obj_helper()
3082 if (UNEXPECTED(result)) { in zend_jit_pre_inc_obj_helper()
3103 if (UNEXPECTED(result)) { in zend_jit_pre_inc_obj_helper()
[all …]
/php-src/ext/dom/parentnode/
H A Dtree.c365 if (UNEXPECTED(node == NULL)) { in dom_zvals_to_single_node()
373 if (UNEXPECTED(!node)) { in dom_zvals_to_single_node()
385 if (UNEXPECTED(!newNode)) { in dom_zvals_to_single_node()
418 if (UNEXPECTED(newNode == NULL)) { in dom_zvals_to_single_node()
562 if (UNEXPECTED(node == NULL)) { in php_dom_pre_insert()
595 if (UNEXPECTED(node == NULL)) { in dom_parent_node_append()
621 if (UNEXPECTED(node == NULL)) { in dom_parent_node_prepend()
642 if (UNEXPECTED(parentNode == NULL)) { in dom_parent_node_after()
674 if (UNEXPECTED(parentNode == NULL)) { in dom_parent_node_before()
760 if (UNEXPECTED(node == NULL)) { in dom_child_replace_with()
[all …]
/php-src/ext/dom/
H A Dhtml5_parser.c89 if (UNEXPECTED(lxml_text == NULL)) { in lexbor_libxml2_bridge_new_text_node_fast()
143 if (UNEXPECTED(lxml_element == NULL)) { in lexbor_libxml2_bridge_convert()
176 if (UNEXPECTED(lxml_child_parent == NULL)) { in lexbor_libxml2_bridge_convert()
215 if (UNEXPECTED(lxml_attr == NULL)) { in lexbor_libxml2_bridge_convert()
226 if (UNEXPECTED(lxml_text == NULL)) { in lexbor_libxml2_bridge_convert()
272 if (UNEXPECTED(data_length >= INT_MAX)) { in lexbor_libxml2_bridge_convert()
277 if (UNEXPECTED(lxml_text == NULL)) { in lexbor_libxml2_bridge_convert()
300 if (UNEXPECTED(lxml_dtd == NULL)) { in lexbor_libxml2_bridge_convert()
308 if (UNEXPECTED(lxml_comment == NULL)) { in lexbor_libxml2_bridge_convert()
345 if (UNEXPECTED(!lxml_doc)) { in lexbor_libxml2_bridge_convert_document()
[all …]
/php-src/ext/bcmath/libbcmath/src/
H A Dlong2num.c27 if (UNEXPECTED(lval == 0)) { in bc_long2num()
33 if (UNEXPECTED(lval == ZEND_LONG_MIN)) { in bc_long2num()
H A Dstr2num.c136 if (UNEXPECTED(!decimal_point && *ptr != '\0')) { in bc_str2num()
145 if (UNEXPECTED(*fractional_ptr == '\0')) { in bc_str2num()
154 if (UNEXPECTED(*fractional_end != '\0')) { in bc_str2num()
/php-src/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-src/ext/random/
H A Dzend_utils.c29 if (UNEXPECTED(!state->initialized)) { in php_random_bytes_insecure_for_zend()
51 } while (UNEXPECTED(t[0] == 0 && t[1] == 0 && t[2] == 0 && t[3] == 0)); in php_random_bytes_insecure_for_zend()
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()
/php-src/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-src/ext/bcmath/
H A Dbcmath.c153 if (UNEXPECTED(scale < 0 || scale > INT_MAX)) { in bcmath_check_scale()
1048 if (UNEXPECTED(CHECK_RET_SCALE_OVERFLOW(*scale, n1_full_scale))) { in bcmath_number_mul_internal()
1065 if (UNEXPECTED(CHECK_RET_SCALE_OVERFLOW(*scale, n1_full_scale))) { in bcmath_number_div_internal()
1102 if (UNEXPECTED(n2->n_scale != 0)) { in bcmath_number_pow_internal()
1116 if (UNEXPECTED(*scale > INT_MAX || *scale < n1_full_scale)) { in bcmath_number_pow_internal()
1122 if (UNEXPECTED(CHECK_RET_SCALE_OVERFLOW(*scale, n1_full_scale))) { in bcmath_number_pow_internal()
1360 if (UNEXPECTED(!(zend_parse_arg_obj(_arg, &(dest_obj), ce, 0) || \
1376 if (UNEXPECTED(CHECK_SCALE_OVERFLOW(full_scale))) { in bc_num_from_obj_or_str_or_long_with_err()
1396 if (UNEXPECTED(intern->num != NULL)) { in PHP_METHOD()
1670 if (UNEXPECTED(CHECK_RET_SCALE_OVERFLOW(scale, intern->scale))) { in PHP_METHOD()
[all …]

Completed in 303 milliseconds

123456789