/php-src/Zend/ |
H A D | zend_vm_execute.h | 10858 if (EXPECTED(0)) { in ZEND_SEND_VAL_EX_SPEC_CONST_UNUSED_HANDLER() 10895 if (EXPECTED(1)) { in ZEND_SEND_VAL_EX_SPEC_CONST_UNUSED_QUICK_HANDLER() 21567 if (EXPECTED(0)) { in ZEND_SEND_VAL_EX_SPEC_TMP_UNUSED_HANDLER() 21604 if (EXPECTED(1)) { in ZEND_SEND_VAL_EX_SPEC_TMP_UNUSED_QUICK_HANDLER() 30121 if (EXPECTED(0)) { in ZEND_SEND_VAR_NO_REF_EX_SPEC_VAR_UNUSED_HANDLER() 30189 if (EXPECTED(1)) { in ZEND_SEND_VAR_NO_REF_EX_SPEC_VAR_UNUSED_QUICK_HANDLER() 30287 if (EXPECTED(0)) { in ZEND_SEND_VAR_EX_SPEC_VAR_UNUSED_HANDLER() 30353 if (EXPECTED(1)) { in ZEND_SEND_VAR_EX_SPEC_VAR_UNUSED_QUICK_HANDLER() 35204 if (EXPECTED(c != NULL) && EXPECTED(!IS_SPECIAL_CACHE_VAL(c))) { in ZEND_FETCH_CONSTANT_SPEC_UNUSED_CONST_HANDLER() 37839 if (EXPECTED(0)) { in ZEND_CHECK_FUNC_ARG_SPEC_UNUSED_UNUSED_HANDLER() [all …]
|
H A D | zend_object_handlers.c | 606 if (EXPECTED(str == member) || in zend_get_property_guard() 770 if (EXPECTED(retval)) { in zend_std_read_property() 830 if (EXPECTED(cache_slot in zend_std_read_property() 1218 if (EXPECTED(funcs)) { in zend_std_read_dimension() 1268 if (EXPECTED(funcs)) { in zend_std_write_dimension() 1292 if (EXPECTED(funcs)) { in zend_std_has_dimension() 1534 if (EXPECTED(funcs)) { in zend_std_unset_dimension() 1771 if (EXPECTED(key != NULL)) { in zend_std_get_method() 1861 if (EXPECTED(key != NULL)) { in zend_std_get_static_method() 1869 if (EXPECTED(func)) { in zend_std_get_static_method() [all …]
|
H A D | zend_objects.c | 54 if (EXPECTED(!(GC_FLAGS(object->properties) & IS_ARRAY_IMMUTABLE))) { in zend_object_dtor_dynamic_properties() 55 if (EXPECTED(GC_DELREF(object->properties) == 0) in zend_object_dtor_dynamic_properties() 56 && EXPECTED(GC_TYPE(object->properties) != IS_NULL)) { in zend_object_dtor_dynamic_properties() 92 if (EXPECTED(object->ce->default_properties_count)) { in zend_object_std_dtor() 101 if (EXPECTED(Z_TYPE_P(p) == IS_STRING)) { in zend_object_std_dtor() 246 if (EXPECTED(old_object->handlers == &std_object_handlers)) { in zend_objects_clone_members() 247 if (EXPECTED(!(GC_FLAGS(old_object->properties) & IS_ARRAY_IMMUTABLE))) { in zend_objects_clone_members() 256 EXPECTED(zend_hash_num_elements(old_object->properties))) { in zend_objects_clone_members() 282 if (EXPECTED(key)) { in zend_objects_clone_members()
|
H A D | zend_vm_def.h | 2148 if (EXPECTED(retval)) { 2322 if (EXPECTED(retval)) { 4594 if (EXPECTED(return_value)) { 5497 if (EXPECTED(!must_wrap)) { in ZEND_HASH_FOREACH_VAL() 5550 if (EXPECTED(!must_wrap)) { in ZEND_HASH_FOREACH_STR_KEY_VAL() 6014 if (EXPECTED(c != NULL) && EXPECTED(!IS_SPECIAL_CACHE_VAL(c))) { 6088 if (EXPECTED(zv != NULL)) { 7997 if (EXPECTED(ce)) { 8695 if (EXPECTED(!strict)) { 8769 if (EXPECTED(c != NULL)) { [all …]
|
H A D | zend_vm_trace_handlers.h | 35 if (EXPECTED(last)) { in zend_vm_trace() 41 if (EXPECTED(zv)) { in zend_vm_trace() 42 if (EXPECTED(Z_LVAL_P(zv) < ZEND_LONG_MAX)) { in zend_vm_trace()
|
H A D | zend_operators.h | 260 if (EXPECTED(off_s < 1024 || needle_len < 3)) { in zend_memnrstr() 331 if (EXPECTED(Z_TYPE_P(op) == IS_STRING)) { in zval_get_tmp_string() 346 if (EXPECTED(Z_TYPE_P(op) == IS_STRING)) { in zval_try_get_string() 357 if (EXPECTED(Z_TYPE_P(op) == IS_STRING)) { in zval_try_get_tmp_string() 431 if (EXPECTED(Z_RES_HANDLE_P(op))) { in i_zend_is_true() 838 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG)) { in fast_equal_check_function() 839 if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in fast_equal_check_function() 845 if (EXPECTED(Z_TYPE_P(op2) == IS_DOUBLE)) { in fast_equal_check_function() 851 if (EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in fast_equal_check_function() 860 if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in fast_equal_check_long() [all …]
|
H A D | zend_execute.c | 3419 if (EXPECTED(ptr)) { in zend_fetch_property_address() 3568 if (EXPECTED(op1_type == IS_CONST) && EXPECTED(CACHED_PTR(cache_slot) == ce)) { in zend_fetch_static_property_address_ex() 3676 if (EXPECTED(result)) { in zend_fetch_static_property() 3869 if (EXPECTED(ret)) { in zend_assign_to_typed_ref_ex() 4104 while (EXPECTED(count != 0)) { in i_free_compiled_variables() 4199 if (EXPECTED(delta != 0)) { in zend_copy_extra_args() 4223 if (EXPECTED(first < last)) { in zend_init_cvs() 4293 if (EXPECTED(zv != NULL)) { in zend_fetch_function() 4308 if (EXPECTED(zv != NULL)) { in zend_fetch_function_str() 4552 if (EXPECTED(num_args > 0)) { in zend_unfinished_calls_gc() [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_operators.c | 418 if (EXPECTED(type == IS_LONG)) { in zendi_try_get_long() 458 if (EXPECTED(Z_TYPE_P(op) == IS_LONG)) { in zval_try_get_long() 932 } else if (EXPECTED(type == IS_LONG)) { in zval_get_long_func() 1446 if (EXPECTED(retval == DIV_SUCCESS)) { in div_function() 1649 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_or_function() 1731 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_and_function() 1813 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_xor_function() 1899 if (EXPECTED(op2_lval > 0)) { in shift_left_function() 1936 if (EXPECTED(op2_lval > 0)) { in shift_right_function() 2136 if (EXPECTED(Z_TYPE_P(op1) == IS_STRING) && in string_compare_function() [all …]
|
H A D | zend_generators.h | 119 if (EXPECTED(generator->node.parent == NULL)) { in zend_generator_get_current() 129 if (EXPECTED(root->execute_data)) { in zend_generator_get_current()
|
H A D | zend_generators.c | 136 if (EXPECTED(generator->execute_data)) { in zend_generator_close() 219 if (EXPECTED(generator->flags & ZEND_GENERATOR_IN_FIBER)) { in check_node_running_in_fiber() 223 if (EXPECTED(generator->node.children == 0)) { in check_node_running_in_fiber() 282 if (EXPECTED(!ex) || EXPECTED(!(ex->func->op_array.fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK)) in zend_generator_dtor_storage() 372 if (EXPECTED(!Z_ISUNDEF(generator->retval))) { in zend_generator_free_storage() 607 …if (EXPECTED(EG(exception) == NULL) && EXPECTED((OBJ_FLAGS(&generator->std) & IS_OBJ_DESTRUCTOR_CA… in zend_generator_update_current() 834 if (EXPECTED(generator->execute_data) && in zend_generator_resume() 877 … (UNEXPECTED(Z_TYPE(generator->value) == IS_UNDEF) && EXPECTED(generator->execute_data) && EXPECTE… in zend_generator_ensure_initialized() 920 RETURN_BOOL(EXPECTED(generator->execute_data != NULL)); in ZEND_METHOD() 1003 if (EXPECTED(generator->execute_data)) { in ZEND_METHOD() [all …]
|
H A D | zend_API.h | 995 if (EXPECTED(!Z_ISREF_P(__zv))) { \ 1478 if (EXPECTED(Z_ISREF_P(zv))) { in zend_try_array_init_size() 1651 if (EXPECTED(Z_ISREF_P(_arg))) { \ 2106 if (EXPECTED(_num_varargs > 0)) { \ 2126 if (EXPECTED(_num_varargs > 0)) { \ 2194 if (EXPECTED(Z_TYPE_P(arg) == IS_TRUE)) { in zend_parse_arg_bool_ex() 2221 if (EXPECTED(Z_TYPE_P(arg) == IS_LONG)) { in zend_parse_arg_long_ex() 2347 if (EXPECTED(zend_is_iterable(arg))) { in zend_parse_arg_iterable() 2362 if (EXPECTED(Z_TYPE_P(arg) == IS_ARRAY) || in zend_parse_arg_array() 2375 if (EXPECTED(Z_TYPE_P(arg) == IS_ARRAY)) { in zend_parse_arg_array_ht() [all …]
|
H A D | zend_hash.c | 588 if (EXPECTED(iter->ht) && EXPECTED(iter->ht != HT_POISONED_PTR) in zend_hash_iterator_find_copy_pos() 614 if (EXPECTED(iter->ht) && EXPECTED(iter->ht != HT_POISONED_PTR) in zend_hash_iterator_pos() 634 if (EXPECTED(iter->ht) && EXPECTED(iter->ht != HT_POISONED_PTR) in zend_hash_iterator_pos_ex() 655 if (EXPECTED(iter->ht) && EXPECTED(iter->ht != HT_POISONED_PTR) in zend_hash_iterator_del() 760 EXPECTED(p->key) && in zend_hash_find_bucket() 1775 if (EXPECTED(p->key)) { in zend_hash_destroy() 1794 if (EXPECTED(p->key)) { in zend_hash_destroy() 1844 if (EXPECTED(p->key)) { in zend_array_destroy() 1852 if (EXPECTED(p->key)) { in zend_array_destroy() 1964 if (EXPECTED(p->key)) { in zend_symtable_clean() [all …]
|
H A D | zend_variables.c | 126 if (EXPECTED(Z_TYPE_P(zvalue) == IS_ARRAY)) { in zval_copy_ctor_func() 128 } else if (EXPECTED(Z_TYPE_P(zvalue) == IS_STRING)) { in zval_copy_ctor_func()
|
H A D | zend_execute.h | 173 if (EXPECTED(!Z_REFCOUNTED_P(variable_ptr))) { in zend_assign_to_variable() 198 if (EXPECTED(!Z_REFCOUNTED_P(variable_ptr))) { in zend_assign_to_variable_ex() 291 if (EXPECTED(ZEND_USER_CODE(func->type))) { in zend_vm_calc_used_stack() 326 if (EXPECTED(num_args > 0)) { in zend_vm_stack_free_args() 367 if (EXPECTED((uint32_t)(EG(vm_stack_end) - EG(vm_stack_top)) > additional_args)) { in zend_vm_stack_extend_call_frame() 459 (EXPECTED(((void**)((char*)EX(run_time_cache) + (num)))[0] == (void*)(ce)) ? \ 477 (EXPECTED((slot)[0] == (ce)) ? (slot)[1] : NULL)
|
H A D | zend_hrtime.h | 89 if (EXPECTED(0 == clock_gettime(CLOCK_MONOTONIC, &ts))) { in zend_hrtime()
|
H A D | zend_lazy_objects.c | 274 if (EXPECTED(obj->ce->properties_info_table[i])) { in zend_object_make_lazy() 317 if (EXPECTED(!(GC_FLAGS(obj->properties) & IS_ARRAY_IMMUTABLE))) { in zend_object_make_lazy() 328 if (EXPECTED(prop_info)) { in zend_object_make_lazy() 442 if (EXPECTED(real_object->ce == lazy_object->ce)) { in zend_lazy_object_compatible() 529 if (EXPECTED(Z_OBJ(retval)->ce->properties_info_table[i])) { in zend_lazy_object_init_proxy() 728 if (EXPECTED(ce->properties_info_table[i])) { in zend_lazy_object_clone()
|
H A D | zend_signal.c | 100 if (EXPECTED(SIGG(active))) { in zend_signal_handler_defer() 105 if (EXPECTED(SIGG(running) == 0)) { in zend_signal_handler_defer() 160 if (EXPECTED(SIGG(active))) { in zend_signal_handler_unblock()
|
H A D | zend_gc.c | 380 if (EXPECTED(idx < GC_MAX_UNCOMPRESSED)) { in gc_compress() 390 if (EXPECTED(GC_GET_PTR(root->ref) == ref)) { in gc_decompress() 675 } else if (EXPECTED(GC_HAS_NEXT_UNUSED())) { in gc_possible_root_when_full() 709 if (EXPECTED(GC_HAS_UNUSED())) { in gc_possible_root() 739 if (EXPECTED(GC_HAS_UNUSED())) { in gc_extra_root() 741 } else if (EXPECTED(GC_HAS_NEXT_UNUSED())) { in gc_extra_root() 808 if (EXPECTED(!(OBJ_FLAGS(ref) & IS_OBJ_FREE_CALLED))) { in gc_scan_black() 1009 if (EXPECTED(!(OBJ_FLAGS(ref) & IS_OBJ_FREE_CALLED))) { in gc_mark_grey() 1255 if (EXPECTED(!(OBJ_FLAGS(ref) & IS_OBJ_FREE_CALLED))) { in gc_scan() 1455 if (EXPECTED(!(OBJ_FLAGS(ref) & IS_OBJ_FREE_CALLED))) { in gc_collect_white() [all …]
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 153 if (EXPECTED(!EG(exception))) { in zend_jit_find_method_helper() 235 if (EXPECTED(!EG(exception))) { in zend_jit_find_static_method_helper() 1160 if (EXPECTED(offset < 0)) { in zend_jit_fetch_dim_str_offset() 1584 if (EXPECTED(!EG(exception))) { in zend_jit_assign_dim_helper() 1594 } else if (EXPECTED(Z_TYPE_P(object_ptr) == IS_STRING) && EXPECTED(dim != NULL)) { in zend_jit_assign_dim_helper() 1965 if (EXPECTED(p->key == name) || in zend_jit_fetch_obj_r_dynamic() 1978 if (EXPECTED(retval)) { in zend_jit_fetch_obj_r_dynamic() 2021 if (EXPECTED(p->key == name) || in zend_jit_fetch_obj_is_dynamic() 2034 if (EXPECTED(retval)) { in zend_jit_fetch_obj_is_dynamic() 2087 if (EXPECTED(retval)) { in zend_jit_fetch_obj_r_dynamic_ex() [all …]
|
/php-src/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 108 if (EXPECTED(function->type == ZEND_USER_FUNCTION) in zend_accel_move_user_functions() 109 && EXPECTED(function->op_array.filename == filename)) { in zend_accel_move_user_functions() 139 if (EXPECTED(ce->type == ZEND_USER_CLASS) in zend_accel_move_user_classes() 140 && EXPECTED(ce->info.user.filename == filename)) { in zend_accel_move_user_classes() 213 if (EXPECTED(ZSTR_LEN(p->key) > 0) && EXPECTED(ZSTR_VAL(p->key)[0] == 0)) { in _zend_accel_class_hash_copy() 381 if (EXPECTED(from_shared_memory)) { in zend_accel_load_script() 401 if (EXPECTED(!zend_observer_function_declared_observed)) { in zend_accel_load_script() 409 if (EXPECTED(!zend_observer_class_linked_observed)) { in zend_accel_load_script()
|
/php-src/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-src/ext/dom/ |
H A D | xml_document.c | 275 if (EXPECTED(ctxt != NULL)) { in php_new_dom_dump_node_to_str_ex() 278 if (EXPECTED(out != NULL)) { in php_new_dom_dump_node_to_str_ex() 319 if (EXPECTED(ctxt != NULL)) { in php_new_dom_dump_node_to_file()
|
H A D | inner_outer_html_mixin.c | 83 if (EXPECTED(ctxt != NULL)) { in dom_element_html_fragment_serialize() 86 if (EXPECTED(out != NULL)) { in dom_element_html_fragment_serialize() 315 if (EXPECTED(doc != NULL)) { in dom_xml_fragment_parsing_algorithm() 328 if (EXPECTED(fragment != NULL)) { in dom_xml_fragment_parsing_algorithm()
|
/php-src/ext/dom/parentnode/ |
H A D | css_selectors.c | 190 if (EXPECTED(list != NULL)) { in dom_query_closest() 277 if (EXPECTED(result != NULL)) { in dom_element_closest()
|