/PHP-8.0/Zend/ |
H A D | zend_arena.h | 109 ZEND_ASSERT((char*)checkpoint > (char*)arena && (char*)checkpoint <= arena->end); in zend_arena_release() 212 ZEND_ASSERT(*arena_ptr); in zend_arena_release()
|
H A D | zend_observer.c | 101 ZEND_ASSERT(function->type != ZEND_INTERNAL_FUNCTION); in zend_observer_fcall_install() 103 ZEND_ASSERT(RUN_TIME_CACHE(op_array)); in zend_observer_fcall_install()
|
H A D | zend_execute.c | 435 ZEND_ASSERT(op_type == IS_VAR); in _get_zval_ptr_deref() 455 ZEND_ASSERT(op_type == IS_VAR); in _get_op_data_zval_ptr_deref_r() 504 ZEND_ASSERT(op_type == IS_VAR); in _get_zval_ptr_ptr() 893 ZEND_ASSERT(!Z_ISREF_P(property)); in i_zend_check_property_type() 1505 ZEND_ASSERT(msg != NULL); in zend_wrong_string_offset() 2520 ZEND_ASSERT(result != NULL); in zend_fetch_dimension_address_read() 3388 ZEND_ASSERT(prop); in zend_ref_del_type_source() 3409 ZEND_ASSERT(*ptr == prop); in zend_ref_del_type_source() 3859 ZEND_ASSERT(op_num); in zend_unfinished_calls_gc() 3990 ZEND_ASSERT(op_num); in cleanup_unfinished_calls() [all …]
|
H A D | zend_types.h | 444 ZEND_ASSERT(size >= 64 && ((size & 0x3f) == 0)); \ 1136 ZEND_ASSERT(!(zval_gc_flags((p)->u.type_info) & GC_IMMUTABLE)); \ 1172 ZEND_ASSERT(p->refcount > 0); in zend_gc_delref() 1191 ZEND_ASSERT(Z_REFCOUNTED_P(pz) || Z_TYPE_P(pz) == IS_ARRAY); in zval_refcount_p() 1197 ZEND_ASSERT(Z_REFCOUNTED_P(pz)); in zval_set_refcount_p() 1202 ZEND_ASSERT(Z_REFCOUNTED_P(pz)); in zval_addref_p() 1207 ZEND_ASSERT(Z_REFCOUNTED_P(pz)); in zval_delref_p() 1314 ZEND_ASSERT(Z_ISREF_P(_z)); \ 1340 ZEND_ASSERT(Z_REFCOUNTED_P(_zv)); \ 1341 ZEND_ASSERT(!ZSTR_IS_INTERNED(_str)); \ [all …]
|
H A D | zend_generators.c | 92 ZEND_ASSERT(prev_call == (zend_execute_data*)stack); in zend_generator_freeze_call_stack() 181 ZEND_ASSERT(node->children >= 1); in zend_generator_remove_child() 201 ZEND_ASSERT(!generator->node.parent); in clear_link_to_leaf() 212 ZEND_ASSERT(generator->node.parent); in clear_link_to_root() 465 ZEND_ASSERT(generator->node.parent && "Placeholder only used with delegation"); in zend_generator_check_placeholder_frame() 526 ZEND_ASSERT(!generator->node.parent && "Already has parent?"); in zend_generator_yield_from() 572 ZEND_ASSERT(!old_root->execute_data && "Nothing to update?"); in zend_generator_update_current() 576 ZEND_ASSERT(old_root->node.ptr.leaf == generator); in zend_generator_update_current() 582 ZEND_ASSERT(new_root_parent); in zend_generator_update_current()
|
H A D | zend_opcode.c | 145 ZEND_ASSERT(function->common.function_name); in zend_function_dtor() 149 ZEND_ASSERT(function->type == ZEND_INTERNAL_FUNCTION); in zend_function_dtor() 150 ZEND_ASSERT(function->common.function_name); in zend_function_dtor() 627 ZEND_ASSERT(start < end); in emit_live_range_raw() 799 ZEND_ASSERT(opline->opcode != ZEND_FE_FETCH_R in keeps_op1_alive() 834 ZEND_ASSERT(!op_array->live_range); in zend_calc_live_ranges() 853 ZEND_ASSERT(opline->opcode != ZEND_OP_DATA); in zend_calc_live_ranges() 889 ZEND_ASSERT(opline->opcode != ZEND_OP_DATA); in zend_calc_live_ranges() 928 ZEND_ASSERT(op_array->live_range); in zend_recalc_live_ranges()
|
H A D | zend_hash.c | 518 ZEND_ASSERT(idx != (uint32_t)-1); in zend_hash_iterator_pos() 538 ZEND_ASSERT(idx != (uint32_t)-1); in zend_hash_iterator_pos_ex() 559 ZEND_ASSERT(idx != (uint32_t)-1); in zend_hash_iterator_del() 761 ZEND_ASSERT(&p->val != pData); in _zend_hash_add_or_update_i() 772 ZEND_ASSERT(&p->val != pData); in _zend_hash_add_or_update_i() 838 ZEND_ASSERT(&p->val != pData); in _zend_hash_str_add_or_update_i() 849 ZEND_ASSERT(&p->val != pData); in _zend_hash_str_add_or_update_i() 1076 ZEND_ASSERT(h == ht->nNextFreeElement); in zend_hash_index_add_or_update() 1079 ZEND_ASSERT(h == ht->nNextFreeElement); in zend_hash_index_add_or_update() 1082 ZEND_ASSERT(flag == HASH_UPDATE); in zend_hash_index_add_or_update() [all …]
|
H A D | zend_objects_API.h | 102 ZEND_ASSERT(prop_num >= 0 && prop_num < obj->ce->default_properties_count); in zend_get_property_info_for_slot()
|
H A D | zend_cpuinfo.c | 145 ZEND_ASSERT(cpuinfo.initialized); in zend_cpu_supports()
|
H A D | zend_gc.c | 344 ZEND_ASSERT(idx < GC_G(first_unused)); in gc_decompress() 357 ZEND_ASSERT(GC_HAS_UNUSED()); in gc_fetch_unused() 360 ZEND_ASSERT(GC_IS_UNUSED(root->ref)); in gc_fetch_unused() 375 ZEND_ASSERT(GC_HAS_NEXT_UNUSED()); in gc_fetch_next_unused() 587 ZEND_ASSERT(GC_TYPE(ref) == IS_ARRAY || GC_TYPE(ref) == IS_OBJECT); in gc_possible_root_when_full() 588 ZEND_ASSERT(GC_INFO(ref) == 0); in gc_possible_root_when_full() 646 ZEND_ASSERT(GC_TYPE(ref) == IS_ARRAY || GC_TYPE(ref) == IS_OBJECT); in gc_possible_root() 647 ZEND_ASSERT(GC_INFO(ref) == 0); in gc_possible_root() 686 ZEND_ASSERT(idx); in gc_remove_from_buffer() 1319 ZEND_ASSERT(GC_IS_ROOT(ref)); in gc_collect_roots()
|
H A D | zend_API.h | 816 ZEND_ASSERT(Z_ISREF_P(zv)); \ 838 ZEND_ASSERT(Z_ISREF_P(zv)); \ 860 ZEND_ASSERT(Z_ISREF_P(zv)); \ 882 ZEND_ASSERT(Z_ISREF_P(zv)); \ 904 ZEND_ASSERT(Z_ISREF_P(zv)); \ 926 ZEND_ASSERT(Z_ISREF_P(zv)); \ 948 ZEND_ASSERT(Z_ISREF_P(zv)); \ 970 ZEND_ASSERT(Z_ISREF_P(zv)); \ 992 ZEND_ASSERT(Z_ISREF_P(zv)); \ 1014 ZEND_ASSERT(Z_ISREF_P(zv)); \ [all …]
|
H A D | zend_ast.c | 143 ZEND_ASSERT(kind >> ZEND_AST_NUM_CHILDREN_SHIFT == 0); in zend_ast_create_0() 156 ZEND_ASSERT(kind >> ZEND_AST_NUM_CHILDREN_SHIFT == 1); in zend_ast_create_1() 175 ZEND_ASSERT(kind >> ZEND_AST_NUM_CHILDREN_SHIFT == 2); in zend_ast_create_2() 197 ZEND_ASSERT(kind >> ZEND_AST_NUM_CHILDREN_SHIFT == 3); in zend_ast_create_3() 222 ZEND_ASSERT(kind >> ZEND_AST_NUM_CHILDREN_SHIFT == 4); in zend_ast_create_4() 250 ZEND_ASSERT(kind >> ZEND_AST_NUM_CHILDREN_SHIFT == 5); in zend_ast_create_5() 846 ZEND_ASSERT(ast != NULL); in zend_ast_copy() 1146 ZEND_ASSERT(Z_TYPE_P(zv) == IS_STRING); in zend_ast_export_encaps_list() 1249 ZEND_ASSERT(ast->kind == ZEND_AST_IF_ELEM); in zend_ast_export_if_stmt() 1723 ZEND_ASSERT(Z_TYPE_P(zv) == IS_STRING); in zend_ast_export_ex() [all …]
|
H A D | zend_language_scanner.l | 141 ZEND_ASSERT(internal_encoding); in encoding_filter_script_to_internal() 159 ZEND_ASSERT(internal_encoding); in encoding_filter_intermediate_to_internal() 1942 ZEND_ASSERT(!errno && end == bin + len); 1951 ZEND_ASSERT(end == bin + len); 1996 ZEND_ASSERT(end == lnum + len); 2007 ZEND_ASSERT(end == lnum + len); 2013 ZEND_ASSERT(end == lnum + len); 2015 ZEND_ASSERT(!errno); 2056 ZEND_ASSERT(end == hex + len); 2072 ZEND_ASSERT(end == yytext + yyleng); [all …]
|
H A D | zend_portability.h | 105 # define ZEND_ASSERT(c) assert(c) macro 107 # define ZEND_ASSERT(c) ZEND_ASSUME(c) macro 111 # define ZEND_UNREACHABLE() do {ZEND_ASSERT(0); ZEND_ASSUME(0);} while (0)
|
/PHP-8.0/ext/opcache/Optimizer/ |
H A D | zend_ssa.c | 1123 ZEND_ASSERT(phi->sources[0] >= 0); in zend_ssa_compute_use_def_chains() 1149 ZEND_ASSERT(phi->sources[j] >= 0); in zend_ssa_compute_use_def_chains() 1246 ZEND_ASSERT(ssa_op->result_def == -1); in zend_ssa_remove_instr() 1247 ZEND_ASSERT(ssa_op->op1_def == -1); in zend_ssa_remove_instr() 1248 ZEND_ASSERT(ssa_op->op2_def == -1); in zend_ssa_remove_instr() 1299 ZEND_ASSERT(*cur != NULL); in zend_ssa_remove_phi_from_block() 1339 ZEND_ASSERT(next_phi == NULL); in zend_ssa_remove_phi_source() 1354 ZEND_ASSERT(phi->ssa_var >= 0); in zend_ssa_remove_phi() 1535 ZEND_ASSERT(old >= 0 && new >= 0); in zend_ssa_rename_var_uses() 1536 ZEND_ASSERT(old != new); in zend_ssa_rename_var_uses() [all …]
|
H A D | nop_removal.c | 98 ZEND_ASSERT(op_array == &ctx->script->main_op_array); in zend_optimizer_nop_removal()
|
H A D | sccp.c | 186 ZEND_ASSERT(zend_is_identical(value, new) || in set_value() 328 ZEND_ASSERT(ssa_op->op2_def == -1); in try_replace_op1() 498 ZEND_ASSERT(IS_PARTIAL_ARRAY(result)); in ct_eval_del_array_elem() 668 ZEND_ASSERT(IS_PARTIAL_OBJECT(result)); in ct_eval_del_obj_prop() 2099 ZEND_ASSERT(phi->ssa_var >= 0); in sccp_visit_phi() 2111 ZEND_ASSERT(phi->sources[0] >= 0); in sccp_visit_phi() 2117 ZEND_ASSERT(phi->sources[i] >= 0); in sccp_visit_phi() 2189 ZEND_ASSERT(ctx->call_map); in remove_call() 2191 ZEND_ASSERT(call); in remove_call() 2489 ZEND_ASSERT(ssa_op->op1_def == -1); in replace_constant_operands() [all …]
|
/PHP-8.0/ext/spl/ |
H A D | spl_fixedarray.c | 79 ZEND_ASSERT(array->size > 0); in spl_fixedarray_empty() 82 ZEND_ASSERT(array->size == 0); in spl_fixedarray_empty() 95 ZEND_ASSERT(from <= to); in spl_fixedarray_init_elems() 121 ZEND_ASSERT(offset >= 0); in spl_fixedarray_copy_range() 122 ZEND_ASSERT(array->size - offset >= end - begin); in spl_fixedarray_copy_range() 283 ZEND_ASSERT(parent); in spl_fixedarray_object_new_ex()
|
/PHP-8.0/ext/standard/ |
H A D | microtime.c | 57 ZEND_ASSERT(0 && "gettimeofday() can't fail"); in _php_gettimeofday()
|
H A D | math.c | 226 ZEND_ASSERT(0 && "Unexpected type"); in PHP_FUNCTION() 245 ZEND_ASSERT(0 && "Unexpected type"); in PHP_FUNCTION() 264 ZEND_ASSERT(0 && "Unexpected type"); in PHP_FUNCTION() 816 ZEND_ASSERT(ptr > buf); in _php_math_longtobase() 851 ZEND_ASSERT(ptr > ZSTR_VAL(ret)); in _php_math_longtobase_pwr2()
|
/PHP-8.0/ext/mysqlnd/ |
H A D | mysqlnd_block_alloc.c | 136 ZEND_ASSERT(pool->checkpoint); in mysqlnd_mempool_restore_state()
|
/PHP-8.0/ext/opcache/ |
H A D | zend_file_cache.c | 124 ZEND_ASSERT(IS_UNSERIALIZED(ptr)); \ 130 ZEND_ASSERT(IS_SERIALIZED(ptr)); \ 139 ZEND_ASSERT(IS_UNSERIALIZED(ptr)); \ 154 ZEND_ASSERT(IS_SERIALIZED(ptr)); \ 455 ZEND_ASSERT(op_array->scope && "Only method op_arrays should be shared"); 647 ZEND_ASSERT(prop->ce != NULL && prop->name != NULL); 672 ZEND_ASSERT(c->ce != NULL); 755 ZEND_ASSERT(!(ce->ce_flags & ZEND_ACC_LINKED)); 1415 ZEND_ASSERT(prop->ce != NULL && prop->name != NULL); 1438 ZEND_ASSERT(c->ce != NULL); [all …]
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_watch.c | 283 …ZEND_ASSERT((res = phpdbg_btree_find(&PHPDBG_G(watchpoint_tree), (zend_ulong) watch->addr.ptr)) ==… 367 ZEND_ASSERT(watch->type == WATCH_ON_ZVAL || watch->type == WATCH_ON_BUCKET); 579 ZEND_ASSERT(element->watch->type == WATCH_ON_HASHTABLE); 591 ZEND_ASSERT(element->parent_container); 619 ZEND_ASSERT(element->parent_container); 724 …ZEND_ASSERT(element->flags & (PHPDBG_WATCH_IMPLICIT | PHPDBG_WATCH_RECURSIVE_ROOT | PHPDBG_WATCH_S… 728 …ZEND_ASSERT(element->parent->watch->type == WATCH_ON_ZVAL || element->parent->watch->type == WATCH… 814 …ZEND_ASSERT((element->flags & (PHPDBG_WATCH_RECURSIVE_ROOT | PHPDBG_WATCH_RECURSIVE)) != PHPDBG_WA… 866 ZEND_ASSERT(element->watch->type == WATCH_ON_ZVAL || element->watch->type == WATCH_ON_BUCKET); 1023 ZEND_ASSERT(element); /* elements must be non-empty */
|
H A D | phpdbg_utils.h | 103 ZEND_ASSERT(ex); in phpdbg_user_execute_data()
|
/PHP-8.0/ext/pdo_mysql/ |
H A D | pdo_mysql.c | 66 ZEND_ASSERT(dbh); in ZEND_GET_MODULE()
|