/PHP-7.4/Zend/ |
H A D | zend_smart_string.h | 57 if (UNEXPECTED(!str->c) || UNEXPECTED(len >= str->a - str->len)) { in smart_string_alloc()
|
H A D | zend_gc.c | 282 if (UNEXPECTED(!stack->next)) { in gc_stack_next() 293 if (UNEXPECTED(*top == GC_STACK_SEGMENT_SIZE)) { in gc_stack_push() 302 if (UNEXPECTED((*top) == 0)) { in gc_stack_pop() 593 if (UNEXPECTED(GC_DELREF(ref)) == 0) { in gc_possible_root_when_full() 596 } else if (UNEXPECTED(GC_INFO(ref))) { in gc_possible_root_when_full() 607 if (UNEXPECTED(!GC_HAS_NEXT_UNUSED())) { in gc_possible_root_when_full() 631 if (UNEXPECTED(GC_G(gc_protected))) { in gc_possible_root() 681 if (UNEXPECTED(GC_G(first_unused) >= GC_MAX_UNCOMPRESSED)) { in gc_remove_from_buffer() 710 if (EXPECTED(!ht) || UNEXPECTED(GC_REF_CHECK_COLOR(ht, GC_BLACK))) { in gc_scan_black() 996 if (UNEXPECTED(!_stack->next)) { in gc_scan() [all …]
|
H A D | zend_gc.h | 82 if (UNEXPECTED(GC_MAY_LEAK(ref))) {
|
H A D | zend_objects_API.c | 149 } else if (UNEXPECTED(EG(objects_store).top == EG(objects_store).size)) { in zend_objects_store_put() 164 if (UNEXPECTED(GC_TYPE(object) == IS_NULL)) { in zend_objects_store_del()
|
H A D | zend_signal.h | 80 # define ZEND_SIGNAL_UNBLOCK_INTERRUPTIONS() if (EXPECTED(zend_signal_globals_id) && UNEXPECTED(((…
|
H A D | zend_constants.c | 347 if (UNEXPECTED(!scope)) { in zend_get_constant_ex() 353 if (UNEXPECTED(!scope)) { in zend_get_constant_ex() 356 } else if (UNEXPECTED(!scope->parent)) { in zend_get_constant_ex() 364 if (UNEXPECTED(!ce)) { in zend_get_constant_ex() 403 if (UNEXPECTED(ret != SUCCESS)) { in zend_get_constant_ex()
|
H A D | zend_smart_str.h | 60 if (UNEXPECTED(!str->s)) { in END_EXTERN_C() 64 if (UNEXPECTED(len >= str->a)) { in END_EXTERN_C()
|
H A D | zend_portability.h | 323 # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) macro 326 # define UNEXPECTED(condition) (condition) macro 361 ((use_heap = (UNEXPECTED((size) > (limit)))) ? emalloc(size) : alloca(size)) 365 do { if (UNEXPECTED(use_heap)) efree(p); } while (0)
|
H A D | zend_API.c | 406 if (UNEXPECTED(ZEND_ARG_USES_STRICT_TYPES())) { in zend_parse_arg_bool_slow() 416 if (UNEXPECTED(zend_isnan(Z_DVAL_P(arg)))) { in zend_parse_arg_long_weak() 430 if (UNEXPECTED(zend_isnan(d))) { in zend_parse_arg_long_weak() 433 if (UNEXPECTED(!ZEND_DOUBLE_FITS_LONG(d))) { in zend_parse_arg_long_weak() 442 if (UNEXPECTED(EG(exception))) { in zend_parse_arg_long_weak() 458 if (UNEXPECTED(ZEND_ARG_USES_STRICT_TYPES())) { in zend_parse_arg_long_slow() 468 if (UNEXPECTED(zend_isnan(Z_DVAL_P(arg)))) { in zend_parse_arg_long_cap_weak() 478 if (UNEXPECTED(zend_isnan(d))) { in zend_parse_arg_long_cap_weak() 486 if (UNEXPECTED(EG(exception))) { in zend_parse_arg_long_cap_weak() 524 if (UNEXPECTED(EG(exception))) { in zend_parse_arg_double_weak() [all …]
|
H A D | zend_objects_API.h | 76 } else if (UNEXPECTED(GC_MAY_LEAK((zend_refcounted*)obj))) { in END_EXTERN_C()
|
H A D | zend_signal.c | 97 if (UNEXPECTED(SIGG(depth) == 0)) { /* try to handle signal */ in zend_signal_handler_defer() 98 if (UNEXPECTED(SIGG(blocked))) { in zend_signal_handler_defer()
|
H A D | zend_interfaces.c | 71 if (UNEXPECTED(fcic.function_handler == NULL)) { in zend_call_method() 77 if (UNEXPECTED(fcic.function_handler == NULL)) { in zend_call_method() 476 if (UNEXPECTED(object_init_ex(object, ce) != SUCCESS)) { in zend_user_unserialize()
|
/PHP-7.4/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 99 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) continue; in zend_accel_move_user_functions() 130 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) continue; in zend_accel_move_user_classes() 423 if (UNEXPECTED(t != NULL)) { in zend_accel_function_hash_copy() 475 if (UNEXPECTED(t != NULL)) { in zend_accel_function_hash_copy_from_shm() 515 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) continue; in zend_accel_class_hash_copy() 518 if (UNEXPECTED(t != NULL)) { in zend_accel_class_hash_copy() 522 } else if (UNEXPECTED(!ZCG(accel_directives).ignore_dups)) { in zend_accel_class_hash_copy() 555 if (UNEXPECTED(t != NULL)) { in zend_accel_class_hash_copy_from_shm() 559 } else if (UNEXPECTED(!ZCG(accel_directives).ignore_dups)) { in zend_accel_class_hash_copy_from_shm() 801 if (UNEXPECTED(!from_shared_memory)) { in zend_accel_load_script()
|
/PHP-7.4/ext/pcre/ |
H A D | php_pcre.c | 408 if (UNEXPECTED(!pcre2_init_ok)) { in PHP_MINIT_FUNCTION() 464 if (UNEXPECTED(!pcre2_init_ok)) { in PHP_RINIT_FUNCTION() 768 if (UNEXPECTED(!tables)) { in pcre_get_compiled_regex_cache_ex() 1307 if (UNEXPECTED(count == 0)) { in php_pcre_match_impl() 1597 if (UNEXPECTED(EG(exception))) { in php_pcre_replace() 1678 if (UNEXPECTED(count == 0)) { in php_pcre_replace_impl() 1932 if (UNEXPECTED(count == 0)) { in php_pcre_replace_func_impl() 2059 if (UNEXPECTED(subpat_names)) { in php_pcre_replace_func_impl() 2482 if (UNEXPECTED(EG(exception))) { in PHP_FUNCTION() 2599 if (UNEXPECTED(count == 0)) { in php_pcre_split_impl() [all …]
|
/PHP-7.4/ext/dom/ |
H A D | processinginstruction.c | 142 if (UNEXPECTED(!str)) { in dom_processinginstruction_data_write()
|
H A D | attr.c | 164 if (UNEXPECTED(!str)) { in dom_attr_value_write()
|
/PHP-7.4/ext/standard/ |
H A D | var_unserializer.re | 397 } else if (UNEXPECTED(*p == '+')) { 401 while (UNEXPECTED(*p == '0')) { 417 if (UNEXPECTED(p - start > MAX_LENGTH_OF_LONG - 1) 419 && UNEXPECTED(p - start == MAX_LENGTH_OF_LONG - 1) 420 && UNEXPECTED(*start > '2')) 421 || UNEXPECTED(result > ZEND_LONG_MAX + neg)) { 490 if (UNEXPECTED((old_data = zend_hash_index_find(ht, idx)) != NULL)) { 498 if (UNEXPECTED(ZEND_HANDLE_NUMERIC(Z_STR(key), idx))) { 501 if (UNEXPECTED((old_data = zend_hash_find(ht, Z_STR(key))) != NULL)) { 569 if (UNEXPECTED(info)) { [all …]
|
H A D | array.c | 1690 if (UNEXPECTED(!var_name_len)) { 1819 if (UNEXPECTED(EG(exception))) { 1904 if (UNEXPECTED(EG(exception))) { 2007 if (UNEXPECTED(EG(exception))) { 2136 if (UNEXPECTED(EG(exception))) { 2242 if (UNEXPECTED(EG(exception))) { 2353 if (UNEXPECTED(EG(exception))) { 2615 if (UNEXPECTED(symbol_table == NULL)) { 3565 if (UNEXPECTED(Z_ISREF_P(entry)) && 3684 if (UNEXPECTED(Z_ISREF_P(src_entry) && [all …]
|
H A D | hrtime.c | 177 if (UNEXPECTED(get_as_num)) { in PHP_FUNCTION()
|
H A D | head.c | 251 if (UNEXPECTED(ZEND_NUM_ARGS() > 3)) { in PHP_FUNCTION() 306 if (UNEXPECTED(ZEND_NUM_ARGS() > 3)) { in PHP_FUNCTION()
|
/PHP-7.4/ext/gettext/ |
H A D | gettext.c | 140 if (UNEXPECTED(domain_len > PHP_GETTEXT_MAX_DOMAIN_LENGTH)) { \ 146 if (UNEXPECTED(check_len > PHP_GETTEXT_MAX_MSGID_LENGTH)) { \
|
/PHP-7.4/sapi/fpm/fpm/ |
H A D | fpm_main.c | 1878 if (UNEXPECTED(php_request_startup() == FAILURE)) { in main() 1887 if (UNEXPECTED(!SG(request_info).request_method)) { in main() 1891 if (UNEXPECTED(fpm_status_handle_request())) { in main() 1896 if (UNEXPECTED(!SG(request_info).path_translated)) { in main() 1906 if (UNEXPECTED(fpm_php_limit_extensions(SG(request_info).path_translated))) { in main() 1919 if (UNEXPECTED(php_fopen_primary_script(&file_handle) == FAILURE)) { in main() 1947 if (UNEXPECTED(request_body_fd != -1)) { in main() 1952 if (UNEXPECTED(EG(exit_status) == 255)) { in main() 1973 if (UNEXPECTED(max_requests && (requests == max_requests))) { in main()
|
/PHP-7.4/main/ |
H A D | fastcgi.h | 32 (UNEXPECTED(var_len < 3) ? (unsigned int)var_len : \
|
H A D | fastcgi.c | 314 if (UNEXPECTED(h->data->pos + str_len + 1 >= h->data->end)) { in fcgi_hash_strndup() 335 while (UNEXPECTED(p != NULL)) { in fcgi_hash_set() 336 if (UNEXPECTED(p->hash_value == hash_value) && in fcgi_hash_set() 347 if (UNEXPECTED(h->buckets->idx >= FCGI_HASH_TABLE_SIZE)) { in fcgi_hash_set() 1020 if (UNEXPECTED(name_len >= 128)) { in fcgi_get_params() 1021 if (UNEXPECTED(p + 3 >= end)) return 0; in fcgi_get_params() 1027 if (UNEXPECTED(p >= end)) return 0; in fcgi_get_params() 1029 if (UNEXPECTED(val_len >= 128)) { in fcgi_get_params() 1030 if (UNEXPECTED(p + 3 >= end)) return 0; in fcgi_get_params() 1036 if (UNEXPECTED(name_len + val_len > (unsigned int) (end - p))) { in fcgi_get_params()
|
/PHP-7.4/ext/pdo_oci/ |
H A D | oci_driver.c | 464 if (UNEXPECTED(!action)) { in oci_handle_set_attribute() 485 if (UNEXPECTED(!client_info)) { in oci_handle_set_attribute() 506 if (UNEXPECTED(!identifier)) { in oci_handle_set_attribute() 527 if (UNEXPECTED(!module)) { in oci_handle_set_attribute()
|