/PHP-7.0/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_execute.h | 3780 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { 3928 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { 4198 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { 12316 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { 12465 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { 12719 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { 15790 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { 15941 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { 16565 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { 29639 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { [all …]
|
H A D | zend_vm_def.h | 3058 if (UNEXPECTED(ce == NULL)) { 3193 if (UNEXPECTED(fbc == NULL)) { 4525 if (UNEXPECTED(!iter)) { 5068 if (UNEXPECTED(!RETURN_VALUE_USED(opline)) || UNEXPECTED(EG(exception) != NULL)) { 5833 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { 5984 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { 6127 if (UNEXPECTED(!p->key) || 6135 if (UNEXPECTED(!p->key)) { 6319 if (UNEXPECTED(!p->key) || 6327 if (UNEXPECTED(!p->key)) { [all …]
|
H A D | zend_object_handlers.c | 541 } else if (UNEXPECTED(EG(exception))) { in zend_std_read_property() 673 } else if (UNEXPECTED(EG(exception))) { in zend_std_write_property() 751 if (UNEXPECTED(Z_ISUNDEF_P(rv))) { in zend_std_read_dimension() 771 if (UNEXPECTED(!EG(exception))) { in zend_std_read_dimension() 894 if (UNEXPECTED(!zobj->properties)) { in zend_std_get_property_ptr_ptr() 954 } else if (UNEXPECTED(EG(exception))) { in zend_std_unset_property() 1156 if (UNEXPECTED(!key)) { in zend_std_get_method() 1215 if (UNEXPECTED(!key)) { in zend_std_get_method() 1257 if (UNEXPECTED(!key)) { in zend_std_get_static_method() 1318 if (UNEXPECTED(!key)) { in zend_std_get_static_method() [all …]
|
H A D | zend_execute.h | 67 if (UNEXPECTED(Z_REFCOUNTED_P(variable_ptr))) { in zend_assign_to_variable() 93 if (UNEXPECTED(Z_OPT_COPYABLE_P(variable_ptr))) { in zend_assign_to_variable() 97 if (UNEXPECTED(Z_OPT_REFCOUNTED_P(variable_ptr))) { in zend_assign_to_variable() 101 if (UNEXPECTED(--GC_REFCOUNT(ref) == 0)) { in zend_assign_to_variable() 112 UNEXPECTED(!GC_INFO(garbage))) { in zend_assign_to_variable() 122 if (UNEXPECTED(Z_OPT_COPYABLE_P(variable_ptr))) { in zend_assign_to_variable() 126 if (UNEXPECTED(Z_OPT_REFCOUNTED_P(variable_ptr))) { in zend_assign_to_variable() 130 if (UNEXPECTED(--GC_REFCOUNT(ref) == 0)) { in zend_assign_to_variable() 217 if (UNEXPECTED(call_info & ZEND_CALL_FREE_EXTRA_ARGS)) { in zend_vm_stack_free_extra_args_ex() 265 if (UNEXPECTED(call_info & ZEND_CALL_ALLOCATED)) { in zend_vm_stack_free_call_frame_ex() [all …]
|
H A D | zend_multiply.h | 133 if (UNEXPECTED(m_overflow)) { in zend_safe_address() 163 if (UNEXPECTED(m_overflow)) { in zend_safe_address() 185 if (UNEXPECTED(m_overflow)) { in zend_safe_address() 206 if (UNEXPECTED(m_overflow)) { in zend_safe_address() 230 if (UNEXPECTED(m_overflow)) { in zend_safe_address() 244 if (UNEXPECTED(res > UINT64_C(0xFFFFFFFF))) { in zend_safe_address() 260 if (UNEXPECTED((_d + _delta ) != _d)) { in zend_safe_address() 274 if (UNEXPECTED(overflow)) { in zend_safe_address_guarded() 287 if (UNEXPECTED(overflow)) { in zend_safe_addmult()
|
H A D | zend_arena.h | 66 …UNEXPECTED((size + ZEND_MM_ALIGNED_SIZE(sizeof(zend_arena))) > (size_t)(arena->end - (char*) arena… in zend_arena_alloc() 88 if (UNEXPECTED(overflow)) { in zend_arena_calloc() 105 while (UNEXPECTED((char*)checkpoint > arena->end) || in zend_arena_release() 106 UNEXPECTED((char*)checkpoint <= (char*)arena)) { in zend_arena_release()
|
H A D | zend_execute.c | 737 if (UNEXPECTED(strict)) { in zend_verify_scalar_type_hint() 817 if (UNEXPECTED(!ce)) { in zend_verify_arg_type() 837 if (UNEXPECTED(!ce)) { in zend_verify_arg_type() 886 if (UNEXPECTED(!ce)) { in zend_verify_missing_arg_type() 1012 if (UNEXPECTED(!ce)) { in zend_verify_return_type() 1031 if (UNEXPECTED(!ce)) { in zend_verify_return_type() 1067 if (UNEXPECTED(!ce)) { in zend_verify_missing_return_type() 1441 if (UNEXPECTED(result)) { in zend_pre_incdec_overloaded_property() 1449 if (UNEXPECTED(result)) { in zend_pre_incdec_overloaded_property() 1483 if (UNEXPECTED(result)) { in zend_assign_op_overloaded_property() [all …]
|
H A D | zend_smart_str.c | 37 if (UNEXPECTED(!str->s)) { in smart_str_erealloc() 51 if (UNEXPECTED(!str->s)) { in smart_str_realloc()
|
H A D | zend_generators.c | 79 if (UNEXPECTED(CG(unclean_shutdown))) { in zend_generator_close() 88 if (UNEXPECTED(!finished_execution)) { in zend_generator_close() 120 while (UNEXPECTED(root != generator)) { in zend_generator_dtor_storage() 569 if (UNEXPECTED(pos >= ht->nNumUsed)) { in zend_generator_get_next_delegated_value() 598 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_get_next_delegated_value() 609 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_get_next_delegated_value() 611 } else if (UNEXPECTED(!value)) { in zend_generator_get_next_delegated_value() 621 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_get_next_delegated_value() 650 if (UNEXPECTED(!generator->execute_data)) { in zend_generator_resume() 724 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_resume() [all …]
|
H A D | zend_API.h | 726 if (UNEXPECTED(_num_args < _min_num_args) || \ 727 (UNEXPECTED(_num_args > _max_num_args) && \ 743 if (UNEXPECTED(error_code != ZPP_ERROR_OK)) { \ 765 if (UNEXPECTED(_i >_num_args)) break; \ 849 } else if (UNEXPECTED(_error != NULL)) { \ 1003 if (_optional && UNEXPECTED(_i >_num_args)) break; \ 1123 if (check_null && UNEXPECTED(!str)) { in zend_parse_arg_string() 1149 if (check_null && UNEXPECTED(!str)) { in zend_parse_arg_path() 1213 if (check_null && UNEXPECTED(Z_TYPE_P(arg) == IS_NULL)) { in zend_parse_arg_func() 1226 (UNEXPECTED(Z_TYPE_P(arg) == IS_NULL) || in zend_parse_arg_zval() [all …]
|
H A D | zend_operators.h | 117 if (UNEXPECTED(!zend_finite(d)) || UNEXPECTED(zend_isnan(d))) { in zend_dval_to_lval() 464 if (UNEXPECTED(Z_LVAL_P(op1) == ZEND_LONG_MAX)) { in fast_long_increment_function() 502 if (UNEXPECTED(Z_LVAL_P(op1) == ZEND_LONG_MIN)) { in fast_long_decrement_function() 569 if (UNEXPECTED((Z_LVAL_P(op1) & LONG_SIGN_MASK) == (Z_LVAL_P(op2) & LONG_SIGN_MASK) in fast_long_add_function() 662 if (UNEXPECTED((Z_LVAL_P(op1) & LONG_SIGN_MASK) != (Z_LVAL_P(op2) & LONG_SIGN_MASK) in fast_long_sub_function() 759 …if (UNEXPECTED(Z_TYPE_P(op1) == IS_OBJECT) … 761 …&& UNEXPECTED(Z_OBJ_HANDLER_P(op1, get)) … 771 …} else if (UNEXPECTED(Z_TYPE_P(op1) == IS_OBJECT) … 772 …&& UNEXPECTED(Z_OBJ_HANDLER_P(op1, do_operation))) { … 780 …&& UNEXPECTED(Z_OBJ_HANDLER_P(op2, do_operation)) … [all …]
|
H A D | zend_hash.c | 105 } else if (UNEXPECTED(nSize >= HT_MAX_SIZE)) { in zend_hash_check_size() 309 if (UNEXPECTED(ht->nNumOfElements == num)) { in zend_array_count() 312 } else if (UNEXPECTED(ht == &EG(symbol_table))) { in zend_array_count() 374 } else if (UNEXPECTED(iter->ht != ht)) { in zend_hash_iterator_pos() 396 } else if (UNEXPECTED(iter->ht != ht)) { in zend_hash_iterator_pos_ex() 447 if (UNEXPECTED(ht->u.v.nIteratorsCount)) { in zend_hash_iterators_remove() 907 if (UNEXPECTED(ht->nNumOfElements == 0)) { in zend_hash_rehash() 927 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) { in zend_hash_rehash() 963 if (UNEXPECTED(i == iter_pos)) { in zend_hash_rehash() 1115 if (UNEXPECTED(Z_TYPE_P(data) == IS_UNDEF)) { in zend_hash_del_ind() [all …]
|
H A D | zend_ast.c | 238 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate() 252 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate() 267 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate() 281 if (UNEXPECTED(zval_update_constant_ex(zv, 1, scope) != SUCCESS)) { in zend_ast_evaluate() 290 if (UNEXPECTED(zval_update_constant_ex(result, 1, scope) != SUCCESS)) { in zend_ast_evaluate() 299 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate() 317 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate() 335 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate() 360 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate() 376 if (UNEXPECTED(zend_ast_evaluate(&op2, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate() [all …]
|
H A D | zend_inheritance.c | 61 if (UNEXPECTED(func->type == ZEND_INTERNAL_FUNCTION)) { in zend_duplicate_function() 62 if (UNEXPECTED(ce->type & ZEND_INTERNAL_CLASS)) { in zend_duplicate_function() 532 if (UNEXPECTED(parent_flags & ZEND_ACC_FINAL)) { in do_inheritance_check_on_method() 580 if (UNEXPECTED(!zend_do_perform_implementation_check(child, parent))) { in do_inheritance_check_on_method() 642 if (UNEXPECTED(child)) { in do_inherit_property() 672 if (UNEXPECTED(ce->type & ZEND_INTERNAL_CLASS)) { in do_inherit_property() 680 if (UNEXPECTED(ce->type & ZEND_INTERNAL_CLASS)) { in do_inherit_property() 696 if (UNEXPECTED(ce == iface)) { in do_implement_interface() 765 if (UNEXPECTED(ce->ce_flags & ZEND_ACC_INTERFACE)) { in zend_do_inheritance() 767 if (UNEXPECTED(!(parent_ce->ce_flags & ZEND_ACC_INTERFACE))) { in zend_do_inheritance() [all …]
|
H A D | zend_operators.c | 1427 if (UNEXPECTED(EG(exception))) { in bitwise_or_function() 1436 if (UNEXPECTED(EG(exception))) { in bitwise_or_function() 1503 if (UNEXPECTED(EG(exception))) { in bitwise_and_function() 1512 if (UNEXPECTED(EG(exception))) { in bitwise_and_function() 1579 if (UNEXPECTED(EG(exception))) { in bitwise_xor_function() 1713 if (UNEXPECTED(use_copy1)) { in concat_function() 1732 if (UNEXPECTED(use_copy1)) { in concat_function() 1735 if (UNEXPECTED(use_copy2)) { in concat_function() 1764 if (UNEXPECTED(use_copy1)) { in concat_function() 1767 if (UNEXPECTED(use_copy2)) { in concat_function() [all …]
|
H A D | zend_alloc.c | 139 if (UNEXPECTED(!(condition))) { \ 802 if (UNEXPECTED(heap->storage)) { 814 if (UNEXPECTED(heap->storage)) { 825 if (UNEXPECTED(heap->storage)) { 1262 if (UNEXPECTED(bin == NULL)) { 1484 if (UNEXPECTED(ptr == NULL)) { 1790 if (UNEXPECTED(ptr == NULL)) { 2556 if (UNEXPECTED(p == NULL)) { 2573 if (UNEXPECTED(p == NULL)) { 2588 if (UNEXPECTED(p == NULL)) { [all …]
|
H A D | zend_sort.c | 343 if (UNEXPECTED(i == j)) { in zend_sort() 348 if (UNEXPECTED(j == i)) { in zend_sort() 353 if (UNEXPECTED(j == i)) { in zend_sort() 359 if (UNEXPECTED(i == j)) { in zend_sort()
|
H A D | zend_portability.h | 314 # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) macro 317 # define UNEXPECTED(condition) (condition) macro 357 ((use_heap = (UNEXPECTED((size) > (limit)))) ? emalloc(size) : alloca(size)) 361 do { if (UNEXPECTED(use_heap)) efree(p); } while (0)
|
H A D | zend_smart_str.h | 52 if (UNEXPECTED(!str->s)) { in END_EXTERN_C() 56 if (UNEXPECTED(len >= str->a)) { in END_EXTERN_C()
|
H A D | zend_constants.c | 329 if (UNEXPECTED(!scope)) { in zend_get_constant_ex() 335 if (UNEXPECTED(!scope)) { in zend_get_constant_ex() 338 } else if (UNEXPECTED(!scope->parent)) { in zend_get_constant_ex() 346 if (UNEXPECTED(!ce)) { in zend_get_constant_ex() 368 if (UNEXPECTED(zval_update_constant_ex(ret_constant, 1, ce) != SUCCESS)) { in zend_get_constant_ex()
|
H A D | zend_objects_API.h | 79 } else if (UNEXPECTED(!GC_INFO(obj))) { in END_EXTERN_C()
|
H A D | zend_execute_API.c | 576 if (UNEXPECTED(EG(exception))) { in zval_update_constant_ex() 627 if (UNEXPECTED(zval_update_constant_ex(p, 1, NULL) != SUCCESS)) { in zval_update_constant_ex() 637 if (UNEXPECTED(zend_ast_evaluate(&tmp, Z_ASTVAL_P(p), scope) != SUCCESS)) { in zval_update_constant_ex() 758 if (UNEXPECTED(EG(exception))) { in zend_call_function() 806 if (UNEXPECTED(!Z_ISREF_P(arg))) { in zend_call_function() 850 if (UNEXPECTED(func->op_array.fn_flags & ZEND_ACC_CLOSURE)) { in zend_call_function() 1342 if (UNEXPECTED(!EG(scope))) { in zend_fetch_class() 1347 if (UNEXPECTED(!EG(scope))) { in zend_fetch_class() 1351 if (UNEXPECTED(!EG(scope)->parent)) { in zend_fetch_class() 1357 if (UNEXPECTED(!ce)) { in zend_fetch_class() [all …]
|
/PHP-7.0/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()
|
/PHP-7.0/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 255 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) continue; in zend_hash_clone_constants() 300 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) continue; in zend_hash_clone_methods() 358 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) continue; in zend_hash_clone_prop_info() 533 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) continue; in zend_accel_function_hash_copy() 536 if (UNEXPECTED(t != NULL)) { in zend_accel_function_hash_copy() 577 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) continue; in zend_accel_function_hash_copy_from_shm() 580 if (UNEXPECTED(t != NULL)) { in zend_accel_function_hash_copy_from_shm() 620 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) continue; in zend_accel_class_hash_copy() 623 if (UNEXPECTED(t != NULL)) { in zend_accel_class_hash_copy() 627 } else if (UNEXPECTED(!ZCG(accel_directives).ignore_dups)) { in zend_accel_class_hash_copy() [all …]
|