/PHP-7.2/Zend/ |
H A D | zend_object_handlers.c | 337 if (EXPECTED(zv != NULL)) { in zend_get_property_offset() 418 if (EXPECTED(zv != NULL)) { in zend_get_property_info() 527 if (EXPECTED(str == member) || in zend_get_property_guard() 599 if (EXPECTED(retval)) goto exit; in zend_std_read_property() 909 if (EXPECTED(!zobj->ce->__get) || in zend_std_get_property_ptr_ptr() 923 if (EXPECTED(zobj->properties)) { in zend_std_get_property_ptr_ptr() 937 if (EXPECTED(!zobj->ce->__get) || in zend_std_get_property_ptr_ptr() 1187 if (EXPECTED(key != NULL)) { in zend_std_get_method() 1217 if (EXPECTED(updated_fbc != NULL)) { in zend_std_get_method() 1281 if (EXPECTED(key != NULL)) { in zend_std_get_static_method() [all …]
|
H A D | zend_vm_execute.h | 3102 if (EXPECTED(0)) { 3133 if (EXPECTED(1)) { 12786 if (EXPECTED(0)) { 12817 if (EXPECTED(1)) { 16220 if (EXPECTED(0)) { 16260 if (EXPECTED(1)) { 16329 if (EXPECTED(0)) { 16378 if (EXPECTED(1)) { 17462 if (EXPECTED(0)) { 17490 if (EXPECTED(1)) { [all …]
|
H A D | zend_objects.c | 48 if (EXPECTED(!(GC_FLAGS(object->properties) & IS_ARRAY_IMMUTABLE))) { in zend_object_std_dtor() 49 if (EXPECTED(--GC_REFCOUNT(object->properties) == 0) in zend_object_std_dtor() 50 && EXPECTED(GC_TYPE(object->properties) != IS_NULL)) { in zend_object_std_dtor() 56 if (EXPECTED(object->ce->default_properties_count)) { in zend_object_std_dtor() 64 if (EXPECTED(Z_TYPE_P(p) == IS_STRING)) { in zend_object_std_dtor() 185 if (EXPECTED(old_object->handlers == &std_object_handlers)) { in zend_objects_clone_members() 186 if (EXPECTED(!(GC_FLAGS(old_object->properties) & IS_ARRAY_IMMUTABLE))) { in zend_objects_clone_members() 195 EXPECTED(zend_hash_num_elements(old_object->properties))) { in zend_objects_clone_members() 218 if (EXPECTED(key)) { in zend_objects_clone_members()
|
H A D | zend_vm_def.h | 1807 if (EXPECTED(retval)) { 1928 if (EXPECTED(retval)) { 3043 if (EXPECTED(!EG(exception))) { 3053 EXPECTED(obj == orig_obj)) { 3158 if (EXPECTED(!EG(exception))) { 3920 if (EXPECTED(return_value)) { 4229 if (EXPECTED(Z_ISREF_P(varptr))) { 6889 if (EXPECTED(ce)) { 7644 if (EXPECTED(!strict)) { 8030 if (EXPECTED(!Z_ISREF_P(op1))) { [all …]
|
H A D | zend_operators.h | 103 if (EXPECTED(zend_finite(d)) && EXPECTED(!zend_isnan(d))) { in zend_dval_to_lval() 323 if (EXPECTED(Z_RES_HANDLE_P(op))) { in i_zend_is_true() 633 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG)) { in fast_add_function() 634 if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in fast_add_function() 642 if (EXPECTED(Z_TYPE_P(op2) == IS_DOUBLE)) { in fast_add_function() 744 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG)) { in fast_equal_check_function() 745 if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in fast_equal_check_function() 751 if (EXPECTED(Z_TYPE_P(op2) == IS_DOUBLE)) { in fast_equal_check_function() 757 if (EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in fast_equal_check_function() 778 if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in fast_equal_check_long() [all …]
|
H A D | zend_variables.c | 168 if (EXPECTED(Z_TYPE_P(zvalue) == IS_ARRAY)) { in _zval_copy_ctor_func() 170 } else if (EXPECTED(Z_TYPE_P(zvalue) == IS_STRING)) { in _zval_copy_ctor_func() 173 } else if (EXPECTED(Z_TYPE_P(zvalue) == IS_CONSTANT)) { in _zval_copy_ctor_func() 176 } else if (EXPECTED(Z_TYPE_P(zvalue) == IS_CONSTANT_AST)) { in _zval_copy_ctor_func()
|
H A D | zend_execute.c | 248 if (EXPECTED(EG(exception) == NULL)) { in zval_undefined_cv() 604 if (EXPECTED(!Z_ISREF_P(value_ptr))) { in zend_assign_to_variable_reference() 835 if (EXPECTED(*cache_slot)) { in zend_check_type() 1027 if (EXPECTED(*cache_slot)) { in zend_verify_missing_return_type() 1657 if (EXPECTED(EG(exception) == NULL)) { in zend_fetch_dimension_address() 1925 if (EXPECTED(retval)) { in zend_fetch_property_address() 2103 while (EXPECTED(cv != end)) { in i_free_compiled_variables() 2182 if (EXPECTED(src != dst)) { in i_init_func_execute_data() 2579 if (EXPECTED(!EG(exception))) { in zend_init_dynamic_call_string() 2712 if (EXPECTED(!EG(exception))) { in zend_init_dynamic_call_array() [all …]
|
H A D | zend_gc.c | 270 ZEND_ASSERT(EXPECTED(GC_REF_GET_COLOR(ref) == GC_BLACK)); in gc_possible_root() 382 if (EXPECTED(!(GC_FLAGS(ref) & IS_OBJ_FREE_CALLED) && in gc_scan_black() 410 if (EXPECTED(!ht)) { in gc_scan_black() 495 if (EXPECTED(!(GC_FLAGS(ref) & IS_OBJ_FREE_CALLED) && in gc_mark_grey() 522 if (EXPECTED(!ht)) { in gc_mark_grey() 641 if (EXPECTED(!ht)) { in gc_scan() 781 if (EXPECTED(!(GC_FLAGS(ref) & IS_OBJ_FREE_CALLED) && 827 if (EXPECTED(!ht)) { 984 if (EXPECTED(!(GC_FLAGS(ref) & IS_OBJ_FREE_CALLED) && 993 if (EXPECTED(!ht)) { [all …]
|
H A D | zend_signal.h | 81 # define ZEND_SIGNAL_BLOCK_INTERRUPTIONS() if (EXPECTED(zend_signal_globals_id)) { SIGG(depth)++; } 82 # define ZEND_SIGNAL_UNBLOCK_INTERRUPTIONS() if (EXPECTED(zend_signal_globals_id) && UNEXPECTED(((…
|
H A D | zend_hash.c | 365 if (EXPECTED(iter->ht) && EXPECTED(iter->ht != HT_POISONED_PTR) in zend_hash_iterator_pos() 387 if (EXPECTED(iter->ht) && EXPECTED(iter->ht != HT_POISONED_PTR) in zend_hash_iterator_pos_ex() 408 if (EXPECTED(iter->ht) && EXPECTED(iter->ht != HT_POISONED_PTR) in zend_hash_iterator_del() 488 EXPECTED(p->key) && in zend_hash_find_bucket() 1248 if (EXPECTED(p->key)) { in zend_hash_destroy() 1256 if (EXPECTED(p->key)) { in zend_hash_destroy() 1311 if (EXPECTED(p->key)) { in zend_array_destroy() 1319 if (EXPECTED(p->key)) { in zend_array_destroy() 1361 if (EXPECTED(p->key)) { in zend_hash_clean() 1421 if (EXPECTED(p->key)) { in zend_symtable_clean() [all …]
|
H A D | zend_generators.h | 120 if (EXPECTED(generator->node.parent == NULL)) { in zend_generator_get_current() 128 if (EXPECTED(root->execute_data && root->node.parent == NULL)) { in zend_generator_get_current()
|
H A D | zend_generators.c | 120 if (EXPECTED(generator->execute_data)) { in zend_generator_close() 182 if (EXPECTED(generator->node.children == 0)) { in zend_generator_dtor_storage() 193 if (EXPECTED(!ex) || EXPECTED(!(ex->func->op_array.fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK)) in zend_generator_dtor_storage() 247 if (EXPECTED(!Z_ISUNDEF(generator->retval))) { in zend_generator_free_storage() 661 if (EXPECTED(EG(exception) == NULL)) { in zend_generator_update_current() 818 if (EXPECTED(zend_generator_get_next_delegated_value(generator) == SUCCESS)) { in zend_generator_resume() 858 if (EXPECTED(generator->execute_data) && in zend_generator_resume() 897 … (UNEXPECTED(Z_TYPE(generator->value) == IS_UNDEF) && EXPECTED(generator->execute_data) && EXPECTE… in zend_generator_ensure_initialized() 948 RETURN_BOOL(EXPECTED(generator->execute_data != NULL)); in ZEND_METHOD() 1047 if (EXPECTED(generator->execute_data)) { in ZEND_METHOD() [all …]
|
H A D | zend_operators.c | 759 } else if (EXPECTED(type == IS_LONG)) { in _zval_get_long_func_ex() 938 if (EXPECTED(op1 != op2)) { in add_function() 988 if (EXPECTED(op1 != op2)) { in sub_function() 1043 if (EXPECTED(op1 != op2)) { in mul_function() 1129 if (EXPECTED(op1 != op2)) { in pow_function() 1226 if (EXPECTED(op1 != op2)) { in div_function() 1399 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_or_function() 1477 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_and_function() 1555 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_xor_function() 1637 if (EXPECTED(op2_lval > 0)) { in shift_left_function() [all …]
|
H A D | zend_execute.h | 76 if (EXPECTED(!Z_REFCOUNTED_P(variable_ptr))) { in zend_assign_to_variable() 202 if (EXPECTED(ZEND_USER_CODE(func->type))) { in zend_vm_calc_used_stack() 245 if (EXPECTED(num_args > 0)) { in zend_vm_stack_free_args() 340 (EXPECTED(((void**)((char*)EX_RUN_TIME_CACHE() + (num)))[0] == (void*)(ce)) ? \ 358 (EXPECTED((slot)[0] == (ce)) ? (slot)[1] : NULL)
|
H A D | zend_API.h | 621 if (EXPECTED(!Z_ISREF_P(__zv))) { \ 752 EXPECTED(_max_num_args >= 0))) { \ 1093 if (EXPECTED(_num_varargs > 0)) { \ 1128 if (EXPECTED(Z_TYPE_P(arg) == IS_TRUE)) { in zend_parse_arg_bool() 1146 if (EXPECTED(Z_TYPE_P(arg) == IS_LONG)) { in zend_parse_arg_long() 1164 if (EXPECTED(Z_TYPE_P(arg) == IS_DOUBLE)) { in zend_parse_arg_double() 1177 if (EXPECTED(Z_TYPE_P(arg) == IS_STRING)) { in zend_parse_arg_str() 1232 if (EXPECTED(Z_TYPE_P(arg) == IS_ARRAY) || in zend_parse_arg_array() 1245 if (EXPECTED(Z_TYPE_P(arg) == IS_ARRAY)) { in zend_parse_arg_array_ht() 1267 if (EXPECTED(Z_TYPE_P(arg) == IS_OBJECT) && in zend_parse_arg_object() [all …]
|
H A D | zend_inheritance.c | 99 if (EXPECTED(!ce->get_iterator)) { in do_inherit_parent_constructor() 105 if (EXPECTED(!ce->__get)) { in do_inherit_parent_constructor() 108 if (EXPECTED(!ce->__set)) { in do_inherit_parent_constructor() 111 if (EXPECTED(!ce->__unset)) { in do_inherit_parent_constructor() 114 if (EXPECTED(!ce->__isset)) { in do_inherit_parent_constructor() 117 if (EXPECTED(!ce->__call)) { in do_inherit_parent_constructor() 123 if (EXPECTED(!ce->__tostring)) { in do_inherit_parent_constructor() 126 if (EXPECTED(!ce->clone)) { in do_inherit_parent_constructor() 129 if (EXPECTED(!ce->serialize)) { in do_inherit_parent_constructor() 132 if (EXPECTED(!ce->unserialize)) { in do_inherit_parent_constructor() [all …]
|
H A D | zend_signal.c | 99 if (EXPECTED(is_handling_safe && SIGG(active))) { in zend_signal_handler_defer() 104 if (EXPECTED(SIGG(running) == 0)) { in zend_signal_handler_defer() 159 if (EXPECTED(SIGG(active))) { in zend_signal_handler_unblock()
|
H A D | zend_arena.h | 62 if (EXPECTED(size <= (size_t)(arena->end - ptr))) { in zend_arena_alloc()
|
H A D | zend_string.h | 206 if (EXPECTED(GC_REFCOUNT(s) == 1)) { in zend_string_realloc() 226 if (EXPECTED(GC_REFCOUNT(s) == 1)) { in zend_string_extend() 246 if (EXPECTED(GC_REFCOUNT(s) == 1)) { in zend_string_truncate()
|
H A D | zend_portability.h | 311 # define EXPECTED(condition) __builtin_expect(!!(condition), 1) macro 314 # define EXPECTED(condition) (condition) macro
|
H A D | zend_objects_API.c | 140 …if (EG(objects_store).free_list_head != -1 && EXPECTED(!(EG(flags) & EG_FLAGS_OBJECT_STORE_NO_REUS… in zend_objects_store_put()
|
H A D | zend_API.c | 333 if (EXPECTED(Z_TYPE_P(arg) <= IS_STRING)) { in zend_parse_arg_bool_weak() 353 if (EXPECTED(Z_TYPE_P(arg) == IS_DOUBLE)) { in zend_parse_arg_long_weak() 367 if (EXPECTED(type != 0)) { in zend_parse_arg_long_weak() 380 } else if (EXPECTED(Z_TYPE_P(arg) < IS_TRUE)) { in zend_parse_arg_long_weak() 402 if (EXPECTED(Z_TYPE_P(arg) == IS_DOUBLE)) { in zend_parse_arg_long_cap_weak() 412 if (EXPECTED(type != 0)) { in zend_parse_arg_long_cap_weak() 421 } else if (EXPECTED(Z_TYPE_P(arg) < IS_TRUE)) { in zend_parse_arg_long_cap_weak() 443 if (EXPECTED(Z_TYPE_P(arg) == IS_LONG)) { in zend_parse_arg_double_weak() 450 if (EXPECTED(type != 0)) { in zend_parse_arg_double_weak() 469 if (EXPECTED(Z_TYPE_P(arg) == IS_LONG)) { in zend_parse_arg_double_slow() [all …]
|
/PHP-7.2/ext/pdo_mysql/tests/ |
H A D | pdo_mysql___construct_uri.phpt | 56 (in_array($e->getMessage(), $expected) ? 'EXPECTED ERROR' : $e->getMessage())); 75 …e=%s, File=%spdomuri.tst (%d bytes, 'mysql%sdbname=letshopeinvalid%s'), chr(0) test, EXPECTED ERROR
|
/PHP-7.2/sapi/phpdbg/ |
H A D | phpdbg_sigsafe.c | 11 if (EXPECTED(size <= PHPDBG_SIGSAFE_MEM_SIZE && !PHPDBG_G(sigsafe_mem).allocated)) { in ZEND_EXTERN_MODULE_GLOBALS()
|
/PHP-7.2/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 128 if (EXPECTED(function->type == ZEND_USER_FUNCTION)) { in zend_accel_move_user_functions() 487 if (EXPECTED(ZSTR_LEN(p->key) > 0) && EXPECTED(ZSTR_VAL(p->key)[0] == 0)) { in zend_accel_function_hash_copy() 531 if (EXPECTED(ZSTR_LEN(p->key) > 0) && EXPECTED(ZSTR_VAL(p->key)[0] == 0)) { in zend_accel_function_hash_copy_from_shm() 574 if (EXPECTED(ZSTR_LEN(p->key) > 0) && EXPECTED(ZSTR_VAL(p->key)[0] == 0)) { in zend_accel_class_hash_copy() 636 if (EXPECTED(from_shared_memory)) { in zend_accel_load_script() 641 if (EXPECTED(persistent_script->arena_size)) { in zend_accel_load_script()
|