/PHP-7.2/Zend/ |
H A D | zend_objects_API.h | 77 } else if (UNEXPECTED(GC_MAY_LEAK((zend_refcounted*)obj))) { in END_EXTERN_C()
|
H A D | zend_constants.c | 310 if (UNEXPECTED(!scope)) { in zend_get_constant_ex() 316 if (UNEXPECTED(!scope)) { in zend_get_constant_ex() 319 } else if (UNEXPECTED(!scope->parent)) { in zend_get_constant_ex() 327 if (UNEXPECTED(!ce)) { in zend_get_constant_ex() 362 if (UNEXPECTED(zval_update_constant_ex(ret_constant, c->ce) != SUCCESS)) { in zend_get_constant_ex()
|
H A D | zend_signal.h | 82 # define ZEND_SIGNAL_UNBLOCK_INTERRUPTIONS() if (EXPECTED(zend_signal_globals_id) && UNEXPECTED(((…
|
H A D | zend_objects.c | 37 if (UNEXPECTED(ce->ce_flags & ZEND_ACC_USE_GUARDS)) { in zend_object_std_init() 63 if (UNEXPECTED(GC_FLAGS(object) & IS_OBJ_HAS_GUARDS)) { in zend_object_std_dtor()
|
H A D | zend_gc.c | 265 if (UNEXPECTED(CG(unclean_shutdown)) || UNEXPECTED(GC_G(gc_active))) { in gc_possible_root() 288 if (UNEXPECTED(GC_REFCOUNT(ref)) == 0) { in gc_possible_root() 292 if (UNEXPECTED(GC_INFO(ref))) { in gc_possible_root() 391 if (EXPECTED(!ht) || UNEXPECTED(GC_REF_GET_COLOR(ht) == GC_BLACK)) { in gc_scan_black() 504 if (EXPECTED(!ht) || UNEXPECTED(GC_REF_GET_COLOR(ht) == GC_GREY)) { in gc_mark_grey() 625 if (EXPECTED(!ht) || UNEXPECTED(GC_REF_GET_COLOR(ht) != GC_GREY)) { in gc_scan() 803 if (EXPECTED(!ht) || UNEXPECTED(GC_REF_GET_COLOR(ht) == GC_BLACK)) {
|
H A D | zend_gc.h | 157 if (UNEXPECTED(GC_MAY_LEAK(ref))) {
|
H A D | zend_API.c | 344 if (UNEXPECTED(ZEND_ARG_USES_STRICT_TYPES())) { in zend_parse_arg_bool_slow() 354 if (UNEXPECTED(zend_isnan(Z_DVAL_P(arg)))) { in zend_parse_arg_long_weak() 368 if (UNEXPECTED(zend_isnan(d))) { in zend_parse_arg_long_weak() 371 if (UNEXPECTED(!ZEND_DOUBLE_FITS_LONG(d))) { in zend_parse_arg_long_weak() 393 if (UNEXPECTED(ZEND_ARG_USES_STRICT_TYPES())) { in zend_parse_arg_long_slow() 403 if (UNEXPECTED(zend_isnan(Z_DVAL_P(arg)))) { in zend_parse_arg_long_cap_weak() 413 if (UNEXPECTED(zend_isnan(d))) { in zend_parse_arg_long_cap_weak() 434 if (UNEXPECTED(ZEND_ARG_USES_STRICT_TYPES())) { in zend_parse_arg_long_cap_slow() 484 } else if (UNEXPECTED(Z_TYPE_P(arg) == IS_OBJECT)) { in zend_parse_arg_str_weak() 519 if (UNEXPECTED(ZEND_ARG_USES_STRICT_TYPES())) { in zend_parse_arg_str_slow() [all …]
|
H A D | zend_signal.c | 100 if (UNEXPECTED(SIGG(depth) == 0)) { /* try to handle signal */ in zend_signal_handler_defer() 101 if (UNEXPECTED(SIGG(blocked))) { in zend_signal_handler_defer()
|
H A D | zend_types.h | 956 if (UNEXPECTED(Z_ISREF_P(z))) { \ 962 if (UNEXPECTED(Z_OPT_ISREF_P(z))) { \ 986 if (UNEXPECTED(Z_OPT_ISREF_P(_z3)) \ 987 && UNEXPECTED(Z_REFCOUNT_P(_z3) == 1)) { \ 1013 if (UNEXPECTED(GC_REFCOUNT(_arr) > 1)) { \
|
H A D | zend_builtin_functions.c | 1065 if (UNEXPECTED(Z_COPYABLE_P(prop))) { in add_class_vars() 1075 if (UNEXPECTED(zval_update_constant_ex(prop, NULL) != SUCCESS)) { in add_class_vars() 1101 if (UNEXPECTED(!(ce->ce_flags & ZEND_ACC_CONSTANTS_UPDATED))) { in ZEND_FUNCTION() 1102 if (UNEXPECTED(zend_update_class_constants(ce) != SUCCESS)) { in ZEND_FUNCTION() 1153 if (UNEXPECTED(Z_ISUNDEF_P(value))) { in ZEND_FUNCTION() 1169 if (UNEXPECTED(!key)) { in ZEND_FUNCTION() 1847 if (UNEXPECTED(symbol_table == NULL)) { in ZEND_FUNCTION() 2132 if (UNEXPECTED(ZEND_CALL_INFO(call) & ZEND_CALL_HAS_SYMBOL_TABLE)) { in debug_backtrace_get_args()
|
H A D | zend_hash.h | 177 if (UNEXPECTED(Z_TYPE_P(_ret) == IS_UNDEF)) { \ 185 if (UNEXPECTED(_ret == NULL)) { \ 271 if (UNEXPECTED(ht->u.v.nIteratorsCount)) { in zend_hash_iterators_update() 838 if (UNEXPECTED(Z_TYPE_P(_z) == IS_UNDEF)) continue; 849 if (UNEXPECTED(Z_TYPE_P(_z) == IS_UNDEF)) continue;
|
/PHP-7.2/ext/mbstring/oniguruma/src/ |
H A D | regparse.h | 352 # define UNEXPECTED(condition) __builtin_expect(condition, 0) macro 354 # define UNEXPECTED(condition) (condition) macro 359 if (UNEXPECTED(p + __res > end)) __res = end - p; \
|
/PHP-7.2/ext/pcre/ |
H A D | php_pcre.c | 1315 if (UNEXPECTED(pce->preg_options & PREG_REPLACE_EVAL)) { in php_pcre_replace_impl() 1334 if (UNEXPECTED(pce->name_count > 0)) { in php_pcre_replace_impl() 1381 if (UNEXPECTED(count == 0)) { in php_pcre_replace_impl() 1534 if (UNEXPECTED(subpat_names)) { in php_pcre_replace_impl() 1593 if (UNEXPECTED(pce->name_count > 0)) { in php_pcre_replace_func_impl() 1641 if (UNEXPECTED(count == 0)) { in php_pcre_replace_func_impl() 1749 if (UNEXPECTED(subpat_names)) { in php_pcre_replace_func_impl() 1825 if (UNEXPECTED(result == NULL)) { in php_pcre_replace_array() 1851 if (UNEXPECTED(result == NULL)) { in php_pcre_replace_array() 1931 if (UNEXPECTED(result == NULL)) { in php_replace_in_subject_func() [all …]
|
/PHP-7.2/ext/gettext/ |
H A D | gettext.c | 142 if (UNEXPECTED(domain_len > PHP_GETTEXT_MAX_DOMAIN_LENGTH)) { \ 148 if (UNEXPECTED(check_len > PHP_GETTEXT_MAX_MSGID_LENGTH)) { \
|
/PHP-7.2/sapi/fpm/fpm/ |
H A D | fpm_main.c | 1904 if (UNEXPECTED(php_request_startup() == FAILURE)) { 1913 if (UNEXPECTED(!SG(request_info).request_method)) { 1917 if (UNEXPECTED(fpm_status_handle_request())) { 1922 if (UNEXPECTED(!SG(request_info).path_translated)) { 1932 if (UNEXPECTED(fpm_php_limit_extensions(SG(request_info).path_translated))) { 1945 if (UNEXPECTED(php_fopen_primary_script(&file_handle) == FAILURE)) { 1973 if (UNEXPECTED(request_body_fd != -1)) { 1978 if (UNEXPECTED(EG(exit_status) == 255)) { 1997 if (UNEXPECTED(max_requests && (requests == max_requests))) {
|
/PHP-7.2/main/ |
H A D | fastcgi.h | 34 (UNEXPECTED(var_len < 3) ? (unsigned int)var_len : \
|
H A D | fastcgi.c | 316 if (UNEXPECTED(h->data->pos + str_len + 1 >= h->data->end)) { in fcgi_hash_strndup() 337 while (UNEXPECTED(p != NULL)) { in fcgi_hash_set() 338 if (UNEXPECTED(p->hash_value == hash_value) && in fcgi_hash_set() 349 if (UNEXPECTED(h->buckets->idx >= FCGI_HASH_TABLE_SIZE)) { in fcgi_hash_set() 1022 if (UNEXPECTED(name_len >= 128)) { in fcgi_get_params() 1023 if (UNEXPECTED(p + 3 >= end)) return 0; in fcgi_get_params() 1029 if (UNEXPECTED(p >= end)) return 0; in fcgi_get_params() 1031 if (UNEXPECTED(val_len >= 128)) { in fcgi_get_params() 1032 if (UNEXPECTED(p + 3 >= end)) return 0; in fcgi_get_params() 1038 if (UNEXPECTED(name_len + val_len > (unsigned int) (end - p))) { in fcgi_get_params()
|
/PHP-7.2/ext/standard/ |
H A D | array.c | 386 if (UNEXPECTED(Z_TYPE_P(first) == IS_INDIRECT)) { in php_array_data_compare() 420 if (UNEXPECTED(Z_TYPE_P(first) == IS_INDIRECT)) { in php_array_data_compare_numeric() 1681 if (UNEXPECTED(!var_name_len)) { 2605 if (UNEXPECTED(symbol_table == NULL)) { 3591 if (UNEXPECTED(Z_ISREF_P(entry)) && 3592 UNEXPECTED(Z_REFCOUNT_P(entry) == 1)) { 3702 if (UNEXPECTED(Z_ISREF_P(src_entry)) && 3712 if (UNEXPECTED(Z_ISREF_P(src_entry) && 3860 if (UNEXPECTED(Z_ISREF_P(src_entry) && 3871 if (UNEXPECTED(Z_ISREF_P(src_entry) && [all …]
|
H A D | var_unserializer.c | 393 if (UNEXPECTED((old_data = zend_hash_index_find(ht, idx)) != NULL)) { in process_nested_data() 401 if (UNEXPECTED(ZEND_HANDLE_NUMERIC(Z_STR(key), idx))) { in process_nested_data() 404 if (UNEXPECTED((old_data = zend_hash_find(ht, Z_STR(key))) != NULL)) { in process_nested_data() 425 …if (UNEXPECTED(zend_unmangle_property_name_ex(Z_STR(key), &unmangled_class, &unmangled_prop, &unma… in process_nested_data()
|
H A D | var_unserializer.re | 397 if (UNEXPECTED((old_data = zend_hash_index_find(ht, idx)) != NULL)) { 405 if (UNEXPECTED(ZEND_HANDLE_NUMERIC(Z_STR(key), idx))) { 408 if (UNEXPECTED((old_data = zend_hash_find(ht, Z_STR(key))) != NULL)) { 429 …if (UNEXPECTED(zend_unmangle_property_name_ex(Z_STR(key), &unmangled_class, &unmangled_prop, &unma…
|
H A D | string.c | 2888 if (UNEXPECTED(trlen < 1)) { 2924 if (UNEXPECTED(trlen < 1)) { 2997 if (UNEXPECTED(!str_key)) { 3001 if (UNEXPECTED(len < 1)) { 3020 if (UNEXPECTED(num_keys)) { 3025 if (UNEXPECTED(!str_key)) { 3028 if (UNEXPECTED(len > slen)) { 3045 if (UNEXPECTED(len > slen)) { 3051 if (UNEXPECTED(!str_key)) { 3058 if (UNEXPECTED(minlen > maxlen)) { [all …]
|
/PHP-7.2/ext/opcache/Optimizer/ |
H A D | dce.c | 567 (UNEXPECTED(op_array->opcodes[def].opcode == ZEND_EXT_STMT) || in dce_live_ranges() 568 UNEXPECTED(op_array->opcodes[def].opcode == ZEND_EXT_FCALL_END) || in dce_live_ranges() 569 UNEXPECTED(op_array->opcodes[def].opcode == ZEND_END_SILENCE))) { in dce_live_ranges()
|
/PHP-7.2/ext/spl/ |
H A D | php_spl.c | 380 UNEXPECTED(alfi->func_ptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in autoload_func_info_dtor() 427 if (UNEXPECTED(func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in PHP_FUNCTION() 618 if (UNEXPECTED(alfi.func_ptr == &EG(trampoline))) { in PHP_FUNCTION() 632 if (UNEXPECTED(alfi.func_ptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in PHP_FUNCTION()
|
/PHP-7.2/ext/opcache/ |
H A D | ZendAccelerator.c | 1042 } else if (UNEXPECTED(is_stream_path(path))) { in accel_make_persistent_key() 1048 } else if (UNEXPECTED(!ZCG(accel_directives).use_cwd)) { in accel_make_persistent_key() 1063 if (UNEXPECTED(!cwd_str)) { in accel_make_persistent_key() 1148 if (UNEXPECTED((size_t)(cwd_len + path_length + include_path_len + 2) >= sizeof(ZCG(key)))) { in accel_make_persistent_key() 1180 if (UNEXPECTED((size_t)(key_length + parent_script_len + 1) >= sizeof(ZCG(key)))) { in accel_make_persistent_key() 1856 …} else if (UNEXPECTED(is_stream_path(file_handle->filename) && !is_cacheable_stream_path(file_hand… in persistent_compile_file() 1924 UNEXPECTED(ZCG(accel_directives).validate_permission) && in persistent_compile_file() 1926 UNEXPECTED(check_persistent_script_access(persistent_script))) { in persistent_compile_file()
|
/PHP-7.2/sapi/cgi/ |
H A D | cgi_main.c | 1077 if (UNEXPECTED(!p)) { 1080 if (UNEXPECTED(*p == '.') && *(p+1) == '.' && (!*(p+2) || IS_SLASH(*(p+2)))) { 1086 if (UNEXPECTED(*p == '.')) { 1088 if (UNEXPECTED(*p == '.')) { 1090 if (UNEXPECTED(!*p) || UNEXPECTED(IS_SLASH(*p))) {
|