Home
last modified time | relevance | path

Searched refs:ZEND_ASSERT (Results 1 – 25 of 79) sorted by relevance

1234

/PHP-7.2/ext/opcache/Optimizer/
H A Dzend_worklist.h44 ZEND_ASSERT(len >= 0); in zend_worklist_stack_prepare()
55 ZEND_ASSERT(stack->len < stack->capacity); in zend_worklist_stack_push()
61 ZEND_ASSERT(stack->len); in zend_worklist_stack_peek()
67 ZEND_ASSERT(stack->len); in zend_worklist_stack_pop()
89 ZEND_ASSERT(len >= 0); in zend_worklist_prepare()
101 ZEND_ASSERT(i >= 0 && i < worklist->stack.capacity); in zend_worklist_push()
H A Dzend_ssa.h151 ZEND_ASSERT(var->definition >= 0); in _zend_ssa_remove_def()
152 ZEND_ASSERT(var->use_chain < 0); in _zend_ssa_remove_def()
153 ZEND_ASSERT(!var->phi_use_chain); in _zend_ssa_remove_def()
272 ZEND_ASSERT(_phi->sources[_i] >= 0); \
H A Ddce.c413 ZEND_ASSERT(ssa_op->result_def >= 0); in simplify_jumps()
423 ZEND_ASSERT(ssa_op->result_def >= 0); in simplify_jumps()
479 ZEND_ASSERT(ssa_op->result_def >= 0); in simplify_jumps()
512 ZEND_ASSERT(common_source != -1); in get_common_phi_source()
580 ZEND_ASSERT(op_array->opcodes[def].opcode == ZEND_NEW); in dce_live_ranges()
590 ZEND_ASSERT(op_array->opcodes[def].result_type & (IS_TMP_VAR|IS_VAR)); in dce_live_ranges()
591 ZEND_ASSERT(op_array->opcodes[def].result.var == var); in dce_live_ranges()
592 ZEND_ASSERT(ssa->ops[def].result_def >= 0); in dce_live_ranges()
H A Dzend_ssa.c1070 ZEND_ASSERT(phi->sources[0] >= 0); in zend_ssa_compute_use_def_chains()
1096 ZEND_ASSERT(phi->sources[j] >= 0); in zend_ssa_compute_use_def_chains()
1166 ZEND_ASSERT(0); in zend_ssa_unlink_use_chain()
1195 ZEND_ASSERT(ssa_op->result_def == -1); in zend_ssa_remove_instr()
1196 ZEND_ASSERT(ssa_op->op1_def == -1); in zend_ssa_remove_instr()
1197 ZEND_ASSERT(ssa_op->op2_def == -1); in zend_ssa_remove_instr()
1215 ZEND_ASSERT(0); in zend_ssa_next_use_phi_ptr()
1248 ZEND_ASSERT(*cur != NULL); in zend_ssa_remove_phi_from_block()
1307 ZEND_ASSERT(phi->ssa_var >= 0); in zend_ssa_remove_phi()
1491 ZEND_ASSERT(old >= 0 && new >= 0); in zend_ssa_rename_var_uses()
[all …]
H A Dsccp.c117 ZEND_ASSERT(zend_is_identical(value, new)); in set_value()
209 ZEND_ASSERT(0); in can_replace_op1()
430 ZEND_ASSERT(extended_value & ZEND_ISEMPTY); in ct_eval_isset_dim()
532 ZEND_ASSERT(extended_value & ZEND_ISEMPTY); in ct_eval_isset_isempty()
1404 ZEND_ASSERT(phi->ssa_var >= 0); in sccp_visit_phi()
1414 ZEND_ASSERT(phi->sources[0] >= 0); in sccp_visit_phi()
1420 ZEND_ASSERT(phi->sources[i] >= 0); in sccp_visit_phi()
1506 ZEND_ASSERT(ssa_op->op1_def == -1); in replace_constant_operands()
1516 ZEND_ASSERT(ssa_op->op2_def == -1); in replace_constant_operands()
1555 ZEND_ASSERT(ctx->call_map); in replace_constant_operands()
[all …]
H A Dscdf.h89 ZEND_ASSERT(0); in scdf_edge()
H A Dcompact_vars.c65 ZEND_ASSERT(num_cvs < op_array->last_var); in zend_optimizer_compact_vars()
/PHP-7.2/Zend/
H A Dzend_ast.h220 ZEND_ASSERT(zend_ast_is_list(ast)); in zend_ast_get_list()
225 ZEND_ASSERT(ast->kind == ZEND_AST_ZVAL); in zend_ast_get_zval()
230 ZEND_ASSERT(Z_TYPE_P(zv) == IS_STRING); in zend_ast_get_str()
235 ZEND_ASSERT(!zend_ast_is_list(ast)); in zend_ast_get_num_children()
H A Dzend_vm_execute.skl77 ZEND_ASSERT(zv != NULL);
97 ZEND_ASSERT(zv != NULL);
H A Dzend_iterators.c93 ZEND_ASSERT(Z_TYPE_P(array_ptr) == IS_OBJECT); in zend_iterator_unwrap()
H A Dzend_gc.c269 ZEND_ASSERT(GC_TYPE(ref) == IS_ARRAY || GC_TYPE(ref) == IS_OBJECT); in gc_possible_root()
270 ZEND_ASSERT(EXPECTED(GC_REF_GET_COLOR(ref) == GC_BLACK)); in gc_possible_root()
271 ZEND_ASSERT(!GC_ADDRESS(GC_INFO(ref))); in gc_possible_root()
338 ZEND_ASSERT(0); in gc_find_additional_buffer()
346 ZEND_ASSERT(GC_ADDRESS(GC_INFO(ref))); in gc_remove_from_buffer()
516 ZEND_ASSERT(GC_REFCOUNT(ref) > 0); in gc_mark_grey()
524 ZEND_ASSERT(GC_REFCOUNT(ref) > 0); in gc_mark_grey()
541 ZEND_ASSERT(GC_REFCOUNT(ref) > 0); in gc_mark_grey()
571 ZEND_ASSERT(GC_REFCOUNT(ref) > 0); in gc_mark_grey()
582 ZEND_ASSERT(GC_REFCOUNT(ref) > 0); in gc_mark_grey()
H A Dzend_execute.h87 ZEND_ASSERT(GC_REFCOUNT(ref) > 1); in zend_assign_to_variable()
156 # define ZEND_ASSERT_VM_STACK(stack) ZEND_ASSERT(stack->top > (zval *) stack && stack->end > (zval …
157 # define ZEND_ASSERT_VM_STACK_GLOBAL ZEND_ASSERT(EG(vm_stack_top) > (zval *) EG(vm_stack) && EG(vm_…
270 ZEND_ASSERT(call == (zend_execute_data*)ZEND_VM_STACK_ELEMENTS(EG(vm_stack))); in zend_vm_stack_free_call_frame_ex()
H A Dzend_portability.h107 # define ZEND_ASSERT(c) assert(c) macro
109 # define ZEND_ASSERT(c) ZEND_ASSUME(c) macro
115 # define EMPTY_SWITCH_DEFAULT_CASE() default: ZEND_ASSERT(0); break;
H A Dzend_arena.h111 ZEND_ASSERT((char*)checkpoint > (char*)arena && (char*)checkpoint <= arena->end); in zend_arena_release()
H A Dzend_objects.c69 ZEND_ASSERT(Z_TYPE_P(p) == IS_ARRAY); in zend_object_std_dtor()
71 ZEND_ASSERT(guards != NULL); in zend_object_std_dtor()
H A Dzend_string.h224 ZEND_ASSERT(len >= ZSTR_LEN(s)); in zend_string_extend()
244 ZEND_ASSERT(len <= ZSTR_LEN(s)); in zend_string_truncate()
282 ZEND_ASSERT(GC_REFCOUNT(s) <= 1); in zend_string_free()
H A Dzend_opcode.c110 ZEND_ASSERT(function->type == ZEND_INTERNAL_FUNCTION); in destroy_zend_function()
111 ZEND_ASSERT(function->common.function_name); in destroy_zend_function()
138 ZEND_ASSERT(function->common.function_name); in zend_function_dtor()
142 ZEND_ASSERT(function->type == ZEND_INTERNAL_FUNCTION); in zend_function_dtor()
143 ZEND_ASSERT(function->common.function_name); in zend_function_dtor()
H A Dzend_language_scanner.l129 ZEND_ASSERT(internal_encoding); in BEGIN_EXTERN_C()
147 ZEND_ASSERT(internal_encoding); in encoding_filter_intermediate_to_internal()
1636 ZEND_ASSERT(!errno && end == yytext + yyleng);
1642 ZEND_ASSERT(end == yytext + yyleng);
1687 ZEND_ASSERT(!errno);
1708 ZEND_ASSERT(!errno && end == hex + len);
1714 ZEND_ASSERT(end == hex + len);
1727 ZEND_ASSERT(end == yytext + yyleng);
1745 ZEND_ASSERT(end == yytext + yyleng);
H A Dzend_execute.c224 ZEND_ASSERT(Z_TYPE_P(ret) != IS_REFERENCE); in _get_zval_ptr_tmp()
445 ZEND_ASSERT(op_type == IS_VAR); in _get_zval_ptr()
466 ZEND_ASSERT(op_type == IS_VAR); in _get_zval_ptr_r()
487 ZEND_ASSERT(op_type == IS_VAR); in _get_zval_ptr_deref()
508 ZEND_ASSERT(op_type == IS_VAR); in _get_zval_ptr_r_deref()
529 ZEND_ASSERT(op_type == IS_VAR); in _get_zval_ptr_undef()
563 ZEND_ASSERT(op_type == IS_VAR); in _get_zval_ptr_ptr()
1240 ZEND_ASSERT(msg != NULL); in zend_wrong_string_offset()
1482 ZEND_ASSERT(fetch_type == ZEND_FETCH_LOCAL); in zend_get_target_symbol_table()
1828 ZEND_ASSERT(result != NULL); in zend_fetch_dimension_address_read()
[all …]
H A Dzend_types.h881 ZEND_ASSERT(Z_REFCOUNTED_P(pz) || Z_COPYABLE_P(pz)); in zval_refcount_p()
886 ZEND_ASSERT(Z_REFCOUNTED_P(pz)); in zval_set_refcount_p()
891 ZEND_ASSERT(Z_REFCOUNTED_P(pz)); in zval_addref_p()
896 ZEND_ASSERT(Z_REFCOUNTED_P(pz)); in zval_delref_p()
977 ZEND_ASSERT(Z_ISREF_P(_z)); \
1023 ZEND_ASSERT(Z_TYPE_P(_zv) != IS_REFERENCE); \
H A Dzend_alloc.c1889 ZEND_ASSERT(page_offset != 0);
1892 ZEND_ASSERT(info & ZEND_MM_IS_SRUN);
1896 ZEND_ASSERT(info & ZEND_MM_IS_SRUN);
1897 ZEND_ASSERT(!(info & ZEND_MM_IS_LRUN));
1899 ZEND_ASSERT(ZEND_MM_SRUN_BIN_NUM(info) == i);
1918 ZEND_ASSERT(page_offset != 0);
1921 ZEND_ASSERT(info & ZEND_MM_IS_SRUN);
1925 ZEND_ASSERT(info & ZEND_MM_IS_SRUN);
1926 ZEND_ASSERT(!(info & ZEND_MM_IS_LRUN));
1928 ZEND_ASSERT(ZEND_MM_SRUN_BIN_NUM(info) == i);
[all …]
/PHP-7.2/ext/opcache/
H A Dzend_persist.c129 ZEND_ASSERT(((zend_uintptr_t)ZCG(mem) & 0x7) == 0); /* should be 8 byte aligned */ in zend_hash_persist()
157 ZEND_ASSERT(((zend_uintptr_t)ZCG(mem) & 0x7) == 0); /* should be 8 byte aligned */ in zend_hash_persist()
221 ZEND_ASSERT(((zend_uintptr_t)ZCG(mem) & 0x7) == 0); /* should be 8 byte aligned */ in zend_hash_persist_immutable()
248 ZEND_ASSERT(((zend_uintptr_t)ZCG(mem) & 0x7) == 0); /* should be 8 byte aligned */ in zend_hash_persist_immutable()
408 ZEND_ASSERT(orig_literals != NULL); in zend_persist_op_array_ex()
425 ZEND_ASSERT(persist_ptr != NULL); in zend_persist_op_array_ex()
492 ZEND_ASSERT(new_name != NULL); in zend_persist_op_array_ex()
514 ZEND_ASSERT(arg_info != NULL); in zend_persist_op_array_ex()
553 ZEND_ASSERT(op_array->doc_comment != NULL); in zend_persist_op_array_ex()
572 ZEND_ASSERT(persist_ptr != NULL); in zend_persist_op_array_ex()
[all …]
H A Dzend_accelerator_util_funcs.c192 ZEND_ASSERT((source->u.flags & HASH_FLAG_PACKED) == 0); in zend_hash_clone_constants()
243 ZEND_ASSERT(!(source->u.flags & HASH_FLAG_PACKED)); in zend_hash_clone_methods()
261 ZEND_ASSERT(p->key != NULL); in zend_hash_clone_methods()
301 ZEND_ASSERT(!(source->u.flags & HASH_FLAG_PACKED)); in zend_hash_clone_prop_info()
319 ZEND_ASSERT(p->key != NULL); in zend_hash_clone_prop_info()
484 ZEND_ASSERT(p->key); in zend_accel_function_hash_copy()
528 ZEND_ASSERT(p->key); in zend_accel_function_hash_copy_from_shm()
571 ZEND_ASSERT(p->key); in zend_accel_class_hash_copy()
/PHP-7.2/sapi/phpdbg/
H A Dphpdbg_watch.c147 ZEND_ASSERT(0); in phpdbg_check_watch_diff()
215 ZEND_ASSERT(0); in phpdbg_print_watch_diff()
285ZEND_ASSERT((res = phpdbg_btree_find(&PHPDBG_G(watchpoint_tree), (zend_ulong) watch->addr.ptr)) ==…
368 ZEND_ASSERT(watch->type == WATCH_ON_ZVAL || watch->type == WATCH_ON_BUCKET);
580 ZEND_ASSERT(element->watch->type == WATCH_ON_HASHTABLE);
592 ZEND_ASSERT(element->parent_container);
620 ZEND_ASSERT(element->parent_container);
724ZEND_ASSERT(element->flags & (PHPDBG_WATCH_IMPLICIT | PHPDBG_WATCH_RECURSIVE_ROOT | PHPDBG_WATCH_S…
728ZEND_ASSERT(element->parent->watch->type == WATCH_ON_ZVAL || element->parent->watch->type == WATCH…
814ZEND_ASSERT((element->flags & (PHPDBG_WATCH_RECURSIVE_ROOT | PHPDBG_WATCH_RECURSIVE)) != PHPDBG_WA…
[all …]
H A Dphpdbg_utils.h105 ZEND_ASSERT(ex); in phpdbg_user_execute_data()

Completed in 126 milliseconds

1234