/PHP-7.4/Zend/ |
H A D | zend_range_check.h | 42 # 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 D | zend_vm_def.h | 1099 if (UNEXPECTED(!object)) { 1358 if (UNEXPECTED(!object)) { 1424 if (UNEXPECTED(!object)) { 1792 if (UNEXPECTED(!name)) { 2466 if (UNEXPECTED(!object)) { 3816 if (UNEXPECTED(!call)) { 4990 if (UNEXPECTED(!iter)) { 5801 if (UNEXPECTED(!iter)) { 6094 if (UNEXPECTED(!name)) { 7316 if (UNEXPECTED(!zv)) { [all …]
|
H A D | zend_object_handlers.c | 670 if (UNEXPECTED(!name)) { in zend_std_read_property() 778 if (UNEXPECTED(prop_info)) { in zend_std_read_property() 795 if (UNEXPECTED(prop_info)) { in zend_std_read_property() 830 if (UNEXPECTED(!name)) { in zend_std_write_property() 1048 if (UNEXPECTED(!name)) { in zend_std_get_property_ptr_ptr() 1124 if (UNEXPECTED(!name)) { in zend_std_unset_property() 1342 if (UNEXPECTED(!key)) { in zend_std_get_method() 1382 if (UNEXPECTED(!key)) { in zend_std_get_method() 1422 if (UNEXPECTED(!key)) { in zend_std_get_static_method() 1467 if (UNEXPECTED(!key)) { in zend_std_get_static_method() [all …]
|
H A D | zend_vm_execute.h | 4484 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { in ZEND_YIELD_FROM_SPEC_CONST_HANDLER() 18599 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { in ZEND_YIELD_FROM_SPEC_TMP_HANDLER() 22032 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { in ZEND_YIELD_FROM_SPEC_VAR_HANDLER() 37955 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { in ZEND_YIELD_FROM_SPEC_CV_HANDLER() 38101 if (UNEXPECTED(0)) { in ZEND_PRE_INC_LONG_NO_OVERFLOW_SPEC_CV_RETVAL_UNUSED_HANDLER() 38114 if (UNEXPECTED(1)) { in ZEND_PRE_INC_LONG_NO_OVERFLOW_SPEC_CV_RETVAL_USED_HANDLER() 38127 if (UNEXPECTED(0)) { in ZEND_PRE_INC_LONG_SPEC_CV_RETVAL_UNUSED_HANDLER() 38140 if (UNEXPECTED(1)) { in ZEND_PRE_INC_LONG_SPEC_CV_RETVAL_USED_HANDLER() 38153 if (UNEXPECTED(0)) { in ZEND_PRE_DEC_LONG_NO_OVERFLOW_SPEC_CV_RETVAL_UNUSED_HANDLER() 38166 if (UNEXPECTED(1)) { in ZEND_PRE_DEC_LONG_NO_OVERFLOW_SPEC_CV_RETVAL_USED_HANDLER() [all …]
|
H A D | zend_execute.c | 880 if (UNEXPECTED(strict)) { in zend_verify_scalar_type_hint() 940 if (UNEXPECTED(!ce)) { in zend_resolve_class_type() 1032 if (UNEXPECTED(!*ce)) { in zend_check_type() 1583 if (UNEXPECTED(!tmp)) { in zend_assign_to_string_offset() 1751 if (UNEXPECTED(Z_TYPE_P(prop) != IS_LONG) && UNEXPECTED(prop_info)) { in zend_pre_incdec_property_zval() 1789 if (UNEXPECTED(Z_TYPE_P(prop) != IS_LONG) && UNEXPECTED(prop_info)) { in zend_post_incdec_property_zval() 3271 if (UNEXPECTED(ref)) { in zend_assign_to_typed_ref() 3817 if (UNEXPECTED(EX(call))) { in cleanup_unfinished_calls() 4162 if (UNEXPECTED(!obj) || UNEXPECTED(!method)) { in zend_init_dynamic_call_array() 4248 if (UNEXPECTED(!tmp)) { in zend_include_or_eval() [all …]
|
H A D | zend_vm_opcodes.c | 422 if (UNEXPECTED(opcode > ZEND_VM_LAST_OPCODE)) { in zend_get_opcode_name() 428 if (UNEXPECTED(opcode > ZEND_VM_LAST_OPCODE)) { in zend_get_opcode_flags()
|
H A D | zend_multiply.h | 175 if (UNEXPECTED(m_overflow)) { in zend_safe_address() 212 if (UNEXPECTED(m_overflow)) { in zend_safe_address() 234 if (UNEXPECTED(m_overflow)) { in zend_safe_address() 255 if (UNEXPECTED(m_overflow)) { in zend_safe_address() 279 if (UNEXPECTED(m_overflow)) { in zend_safe_address() 293 if (UNEXPECTED(res > UINT64_C(0xFFFFFFFF))) { in zend_safe_address() 309 if (UNEXPECTED((_d + _delta ) != _d)) { in zend_safe_address() 323 if (UNEXPECTED(overflow)) { in zend_safe_address_guarded() 336 if (UNEXPECTED(overflow)) { in zend_safe_addmult()
|
H A D | zend_API.h | 698 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \ 720 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \ 742 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \ 764 if (is_ref || UNEXPECTED(Z_ISREF_P(_zv))) { \ 1179 if (UNEXPECTED(ZEND_NUM_ARGS() != 0)) { \ 1221 if (UNEXPECTED(_i >_num_args)) break; \ 1324 } else if (UNEXPECTED(_error != NULL)) { \ 1628 if (check_null && UNEXPECTED(!str)) { in zend_parse_arg_string() 1654 if (check_null && UNEXPECTED(!str)) { in zend_parse_arg_path() 1739 (UNEXPECTED(Z_TYPE_P(arg) == IS_NULL) || in zend_parse_arg_zval() [all …]
|
H A D | zend_operators.h | 110 if (UNEXPECTED(!zend_finite(d)) || UNEXPECTED(zend_isnan(d))) { in zend_dval_to_lval() 121 if (UNEXPECTED(!zend_finite(d)) || UNEXPECTED(zend_isnan(d))) { in zend_dval_to_lval_cap() 284 if (UNEXPECTED(tmp)) { in zend_tmp_string_release() 548 if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { in fast_long_increment_function() 556 if (UNEXPECTED(__builtin_saddll_overflow(Z_LVAL_P(op1), 1, &llresult))) { in fast_long_increment_function() 563 if (UNEXPECTED(Z_LVAL_P(op1) == ZEND_LONG_MAX)) { in fast_long_increment_function() 611 if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { in fast_long_decrement_function() 619 if (UNEXPECTED(__builtin_ssubll_overflow(Z_LVAL_P(op1), 1, &llresult))) { in fast_long_decrement_function() 626 if (UNEXPECTED(Z_LVAL_P(op1) == ZEND_LONG_MIN)) { in fast_long_decrement_function() 695 if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), Z_LVAL_P(op2), &lresult))) { in fast_long_add_function() [all …]
|
H A D | zend_arena.h | 64 …UNEXPECTED((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 D | zend_generators.c | 136 if (UNEXPECTED(CG(unclean_shutdown))) { in zend_generator_close() 145 if (UNEXPECTED(!finished_execution)) { in zend_generator_close() 182 while (UNEXPECTED(root != generator)) { in zend_generator_dtor_storage() 706 if (UNEXPECTED(pos >= ht->nNumUsed)) { in zend_generator_get_next_delegated_value() 735 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_get_next_delegated_value() 741 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_get_next_delegated_value() 749 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_get_next_delegated_value() 751 } else if (UNEXPECTED(!value)) { in zend_generator_get_next_delegated_value() 761 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_get_next_delegated_value() 857 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_resume() [all …]
|
H A D | zend_execute.h | 84 if (UNEXPECTED(Z_OPT_REFCOUNTED_P(variable_ptr))) { in zend_copy_to_variable() 91 } else if (ZEND_CONST_COND(value_type == IS_VAR, 1) && UNEXPECTED(ref)) { in zend_copy_to_variable() 92 if (UNEXPECTED(GC_DELREF(ref) == 0)) { in zend_copy_to_variable() 110 if (UNEXPECTED(Z_REFCOUNTED_P(variable_ptr))) { in zend_assign_to_variable() 114 if (UNEXPECTED(ZEND_REF_HAS_TYPE_SOURCES(Z_REF_P(variable_ptr)))) { in zend_assign_to_variable() 124 UNEXPECTED(Z_OBJ_HANDLER_P(variable_ptr, set) != NULL)) { in zend_assign_to_variable() 134 if (UNEXPECTED(GC_MAY_LEAK(garbage))) { in zend_assign_to_variable() 197 if (UNEXPECTED(used_stack > (size_t)(((char*)EG(vm_stack_end)) - (char*)call))) { in zend_vm_stack_push_call_frame_ex() 229 if (UNEXPECTED(call_info & ZEND_CALL_FREE_EXTRA_ARGS)) { in zend_vm_stack_free_extra_args_ex() 276 if (UNEXPECTED(call_info & ZEND_CALL_ALLOCATED)) { in zend_vm_stack_free_call_frame_ex() [all …]
|
H A D | zend_smart_str.c | 33 if (UNEXPECTED(!str->s)) { in smart_str_erealloc() 47 if (UNEXPECTED(!str->s)) { in smart_str_realloc() 140 if (UNEXPECTED((size_t) len > SIZE_MAX - str->len)) { in _smart_string_alloc_persistent() 166 if (UNEXPECTED((size_t) len > SIZE_MAX - str->len)) { in _smart_string_alloc()
|
H A D | zend_objects.c | 36 if (UNEXPECTED(ce->ce_flags & ZEND_ACC_USE_GUARDS)) { in _zend_object_std_init() 63 if (UNEXPECTED(Z_ISREF_P(p)) && in zend_object_std_dtor() 76 if (UNEXPECTED(object->ce->ce_flags & ZEND_ACC_USE_GUARDS)) { in zend_object_std_dtor() 89 if (UNEXPECTED(GC_FLAGS(object) & IS_OBJ_WEAKLY_REFERENCED)) { in zend_object_std_dtor() 214 if (UNEXPECTED(Z_ISREF_P(dst)) && in zend_objects_clone_members()
|
H A D | zend_hash.c | 99 } else if (UNEXPECTED(nSize >= HT_MAX_SIZE)) { in zend_hash_check_size() 497 if (UNEXPECTED(iter->ht != ht)) { in zend_hash_iterator_pos() 517 if (UNEXPECTED(iter->ht != ht)) { in zend_hash_iterator_pos_ex() 569 if (UNEXPECTED(HT_HAS_ITERATORS(ht))) { in zend_hash_iterators_remove() 633 if (UNEXPECTED(idx == HT_INVALID_IDX)) { in zend_hash_find_bucket() 1097 if (UNEXPECTED(p)) { in zend_hash_set_bucket_key() 1178 if (UNEXPECTED(ht->nNumOfElements == 0)) { in zend_hash_rehash() 1235 if (UNEXPECTED(i >= iter_pos)) { in zend_hash_rehash() 1257 if (UNEXPECTED(HT_HAS_ITERATORS(ht))) { in zend_hash_rehash() 2632 if (UNEXPECTED(GC_IS_RECURSIVE(ht1))) { in zend_hash_compare() [all …]
|
H A D | zend_inheritance.c | 61 if (UNEXPECTED(ce->type & ZEND_INTERNAL_CLASS)) { in zend_duplicate_internal_function() 103 if (UNEXPECTED(func->type == ZEND_INTERNAL_FUNCTION)) { in zend_duplicate_function() 741 if (UNEXPECTED(status != INHERITANCE_SUCCESS)) { in perform_delayable_implementation_check() 876 if (is_interface && UNEXPECTED(func == parent)) { in do_inherit_method() 957 if (UNEXPECTED(child)) { in do_inherit_property() 999 if (UNEXPECTED(ce->type & ZEND_INTERNAL_CLASS)) { in do_inherit_property() 1185 if (UNEXPECTED(parent_ce->type != ce->type)) { in zend_do_inheritance_ex() 1231 if (UNEXPECTED(parent_ce->type != ce->type)) { in zend_do_inheritance_ex() 2108 if (UNEXPECTED(trait == NULL)) { in zend_do_bind_traits() 2345 if (UNEXPECTED(status != INHERITANCE_SUCCESS)) { in check_variance_obligation() [all …]
|
H A D | zend_operators.c | 243 if (UNEXPECTED(EG(exception)) || in _zendi_convert_scalar_to_number_ex() 614 if (UNEXPECTED(!str)) { in _try_convert_to_string() 1555 if (UNEXPECTED(EG(exception))) { in bitwise_or_function() 1567 if (UNEXPECTED(EG(exception))) { in bitwise_or_function() 1633 if (UNEXPECTED(EG(exception))) { in bitwise_and_function() 1645 if (UNEXPECTED(EG(exception))) { in bitwise_and_function() 1711 if (UNEXPECTED(EG(exception))) { in bitwise_xor_function() 1723 if (UNEXPECTED(EG(exception))) { in bitwise_xor_function() 1838 if (UNEXPECTED(op1 == op2)) { in concat_function() 3205 if (UNEXPECTED(p == end)) { [all …]
|
H A D | zend_alloc.c | 142 if (UNEXPECTED(!(condition))) { \ 717 if (UNEXPECTED(heap->storage)) { 729 if (UNEXPECTED(heap->storage)) { 740 if (UNEXPECTED(heap->storage)) { 759 if (UNEXPECTED(heap->storage)) { 1198 if (UNEXPECTED(bin == NULL)) { 1764 if (UNEXPECTED(new_size < size)) { 1783 if (UNEXPECTED(ptr == NULL)) { 1847 if (UNEXPECTED(chunk == NULL)) { 2649 if (UNEXPECTED(p == NULL)) { [all …]
|
H A D | zend_sort.c | 341 if (UNEXPECTED(i == j)) { in zend_sort() 346 if (UNEXPECTED(j == i)) { in zend_sort() 351 if (UNEXPECTED(j == i)) { in zend_sort() 357 if (UNEXPECTED(i == j)) { in zend_sort()
|
H A D | zend_execute_API.c | 568 if (UNEXPECTED(EG(exception))) { in zend_use_undefined_constant() 608 if (UNEXPECTED(zv == NULL)) { in zval_update_constant_ex() 719 if (UNEXPECTED(EG(exception))) { in zend_call_function() 747 if (UNEXPECTED(EG(exception))) { in zend_call_function() 763 if (UNEXPECTED(!Z_ISREF_P(arg))) { in zend_call_function() 776 if (UNEXPECTED(EG(exception))) { in zend_call_function() 881 if (UNEXPECTED(EG(exception))) { in zend_call_function() 1379 if (UNEXPECTED(!scope)) { in zend_fetch_class() 1385 if (UNEXPECTED(!scope)) { in zend_fetch_class() 1389 if (UNEXPECTED(!scope->parent)) { in zend_fetch_class() [all …]
|
H A D | zend_ast.c | 482 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate() 496 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate() 511 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate() 531 if (UNEXPECTED(zv == NULL)) { in zend_ast_evaluate() 565 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate() 583 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate() 601 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate() 626 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate() 642 if (UNEXPECTED(zend_ast_evaluate(&op2, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate() 651 if (UNEXPECTED(zend_ast_evaluate(&op2, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate() [all …]
|
/PHP-7.4/ext/mbstring/ |
H A D | php_unicode.c | 153 if (UNEXPECTED(enc == mbfl_no_encoding_8859_9 && code == 0x69)) { in php_unicode_toupper_raw() 207 if (UNEXPECTED(enc == mbfl_no_encoding_8859_9 && code == 0x49)) { in php_unicode_tofold_raw() 227 if (UNEXPECTED(code > 0xffffff)) { in php_unicode_tolower_simple() 234 if (UNEXPECTED(code > 0xffffff)) { in php_unicode_toupper_simple() 241 if (UNEXPECTED(code > 0xffffff)) { in php_unicode_totitle_simple() 248 if (UNEXPECTED(code > 0xffffff)) { in php_unicode_tofold_simple() 257 if (UNEXPECTED(code > 0xffffff)) { in php_unicode_tolower_full() 269 if (UNEXPECTED(code > 0xffffff)) { in php_unicode_toupper_full() 281 if (UNEXPECTED(code > 0xffffff)) { in php_unicode_totitle_full() 293 if (UNEXPECTED(code > 0xffffff)) { in php_unicode_tofold_full() [all …]
|
/PHP-7.4/ext/standard/ |
H A D | mt_rand.c | 169 if (UNEXPECTED(!BG(mt_rand_is_seeded))) { in php_mt_rand() 220 if (UNEXPECTED(umax == UINT32_MAX)) { in rand_range32() 236 while (UNEXPECTED(result > limit)) { in rand_range32() 251 if (UNEXPECTED(umax == UINT64_MAX)) { in rand_range64() 267 while (UNEXPECTED(result > limit)) { in rand_range64() 329 if (UNEXPECTED(max < min)) { in PHP_FUNCTION()
|
H A D | assert.c | 303 if (UNEXPECTED(!value_str)) { in PHP_FUNCTION() 319 if (UNEXPECTED(!value_str)) { in PHP_FUNCTION() 335 if (UNEXPECTED(!value_str)) { in PHP_FUNCTION() 351 if (UNEXPECTED(!value_str)) { in PHP_FUNCTION() 381 if (UNEXPECTED(!val)) { in PHP_FUNCTION()
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg_help.c | 72 if (UNEXPECTED(p[0] == '*') && p[1] == '*') { in pretty_print() 75 } else if (UNEXPECTED(p[0] == '$') && p[1] == 'P') { in pretty_print() 78 } else if (UNEXPECTED(p[0] == '\\')) { in pretty_print() 96 if (UNEXPECTED(*p == ' ')) { in pretty_print() 100 } else if (UNEXPECTED(*p == '\n')) { in pretty_print() 105 } else if (UNEXPECTED(p[0] == '*') && p[1] == '*') { in pretty_print() 113 } else if (UNEXPECTED(p[0] == '$') && p[1] == 'P') { in pretty_print() 118 } else if (UNEXPECTED(p[0] == '\\')) { in pretty_print() 127 if (UNEXPECTED(line_count>=term_width) && last_new_blank) { in pretty_print()
|