Home
last modified time | relevance | path

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

1234567

/PHP-8.0/Zend/
H A Dzend_variables.c56 ZEND_ASSERT(GC_TYPE(p) <= IS_CONSTANT_AST); in rc_dtor_func()
64 ZEND_ASSERT(!ZSTR_IS_INTERNED(str)); in zend_string_destroy()
65 ZEND_ASSERT(GC_REFCOUNT(str) == 0); in zend_string_destroy()
66 ZEND_ASSERT(!(GC_FLAGS(str) & IS_STR_PERSISTENT)); in zend_string_destroy()
73 ZEND_ASSERT(!ZEND_REF_HAS_TYPE_SOURCES(ref)); in zend_reference_destroy()
98 ZEND_ASSERT(!ZSTR_IS_INTERNED(str)); in zval_internal_ptr_dtor()
99 ZEND_ASSERT((GC_FLAGS(str) & IS_STR_PERSISTENT)); in zval_internal_ptr_dtor()
129 ZEND_ASSERT(!ZSTR_IS_INTERNED(Z_STR_P(zvalue))); in zval_copy_ctor_func()
H A Dzend_variables.h72 ZEND_ASSERT(Z_TYPE_P(zval_ptr) == IS_STRING); in zval_ptr_dtor_str()
73 ZEND_ASSERT(!ZSTR_IS_INTERNED(Z_STR_P(zval_ptr))); in zval_ptr_dtor_str()
74 ZEND_ASSERT(!(GC_FLAGS(Z_STR_P(zval_ptr)) & IS_STR_PERSISTENT)); in zval_ptr_dtor_str()
H A Dzend_objects_API.c161 ZEND_ASSERT(GC_REFCOUNT(object) == 0); in zend_objects_store_del()
187 ZEND_ASSERT(EG(objects_store).object_buckets != NULL); in zend_objects_store_del()
188 ZEND_ASSERT(IS_OBJ_VALID(EG(objects_store).object_buckets[handle])); in zend_objects_store_del()
H A Dzend_string.h238 ZEND_ASSERT(len >= ZSTR_LEN(s)); in zend_string_extend()
259 ZEND_ASSERT(len <= ZSTR_LEN(s)); in zend_string_truncate()
299 ZEND_ASSERT(GC_REFCOUNT(s) <= 1); in zend_string_free()
306 ZEND_ASSERT(!ZSTR_IS_INTERNED(s)); in zend_string_efree()
307 ZEND_ASSERT(GC_REFCOUNT(s) <= 1); in zend_string_efree()
308 ZEND_ASSERT(!(GC_FLAGS(s) & IS_STR_PERSISTENT)); in zend_string_efree()
326 ZEND_ASSERT(GC_FLAGS(s) & IS_STR_PERSISTENT); in zend_string_release_ex()
329 ZEND_ASSERT(!(GC_FLAGS(s) & IS_STR_PERSISTENT)); in zend_string_release_ex()
H A Dzend_ast.h312 ZEND_ASSERT(zend_ast_is_list(ast)); in zend_ast_get_list()
317 ZEND_ASSERT(ast->kind == ZEND_AST_ZVAL); in zend_ast_get_zval()
322 ZEND_ASSERT(Z_TYPE_P(zv) == IS_STRING); in zend_ast_get_str()
327 ZEND_ASSERT(ast->kind == ZEND_AST_CONSTANT); in zend_ast_get_constant_name()
328 ZEND_ASSERT(Z_TYPE(((zend_ast_zval *) ast)->val) == IS_STRING); in zend_ast_get_constant_name()
333 ZEND_ASSERT(!zend_ast_is_list(ast)); in zend_ast_get_num_children()
H A Dzend_inheritance.c49 ZEND_ASSERT(ZEND_TYPE_HAS_NAME(*list_type)); in zend_type_copy_ctor()
139 ZEND_ASSERT(parent != NULL); in do_inherit_parent_constructor()
218 ZEND_ASSERT(scope); in resolve_class_name()
236 ZEND_ASSERT(ce->type == ZEND_USER_CLASS); in class_visible()
808 ZEND_ASSERT(unresolved_class); in emit_incompatible_method_error()
1096 ZEND_ASSERT(ce != iface); in do_implement_interface()
2091 ZEND_ASSERT(ce->num_traits > 0); in zend_do_bind_traits()
2364 ZEND_ASSERT(all_obligations != NULL); in resolve_delayed_variance_obligations()
2366 ZEND_ASSERT(obligations != NULL); in resolve_delayed_variance_obligations()
2381 ZEND_ASSERT(all_obligations != NULL); in report_variance_errors()
[all …]
H A Dzend_weakrefs.c65 ZEND_ASSERT(tag == ZEND_WEAKREF_TAG_MAP); in zend_weakref_unref_single()
115 ZEND_ASSERT(tagged_ptr && "Weakref not registered?"); in zend_weakref_unregister()
120 ZEND_ASSERT(tagged_ptr == payload); in zend_weakref_unregister()
131 ZEND_ASSERT(tagged_ptr && "Weakref not registered?"); in zend_weakref_unregister()
132 ZEND_ASSERT(tagged_ptr == payload); in zend_weakref_unregister()
173 ZEND_ASSERT(tagged_ptr && "Tracking of the IS_OBJ_WEAKLY_REFERENCE flag should be precise"); in zend_weakrefs_notify()
470 ZEND_ASSERT(iter->ht_iter != (uint32_t) -1); in zend_weakmap_iterator_get_pos_ptr()
507 ZEND_ASSERT(0 && "Must have integer key"); in zend_weakmap_iterator_get_current_key()
H A Dzend_vm_execute.skl107 ZEND_ASSERT(zv != NULL);
127 ZEND_ASSERT(zv != NULL);
H A Dzend_list.c58 ZEND_ASSERT(GC_REFCOUNT(res) == 0); in zend_list_free()
71 ZEND_ASSERT(ld && "Unknown list entry type"); in zend_resource_dtor()
194 ZEND_ASSERT(ld && "Unknown list entry type"); in plist_entry_destructor()
H A Dzend_string.c200 ZEND_ASSERT(GC_FLAGS(str) & GC_PERSISTENT); in zend_new_interned_string_permanent()
239 ZEND_ASSERT(!(GC_FLAGS(str) & GC_PERSISTENT)); in zend_new_interned_string_request()
264 ZEND_ASSERT(permanent); in zend_string_init_interned_permanent()
290 ZEND_ASSERT(!permanent); in zend_string_init_interned_request()
H A Dzend_interfaces.c255 ZEND_ASSERT(class_type->ce_flags & ZEND_ACC_RESOLVED_INTERFACES); in zend_implement_traversable()
285 ZEND_ASSERT(class_type->type == ZEND_INTERNAL_CLASS); in zend_implement_aggregate()
297 ZEND_ASSERT(!class_type->iterator_funcs_ptr && "Iterator funcs already set?"); in zend_implement_aggregate()
323 ZEND_ASSERT(class_type->type == ZEND_INTERNAL_CLASS); in zend_implement_iterator()
336 ZEND_ASSERT(!class_type->iterator_funcs_ptr && "Iterator funcs already set?"); in zend_implement_iterator()
456 ZEND_ASSERT(scope->get_iterator != zend_user_it_get_new_iterator); in zend_create_internal_iterator_zval()
H A Dzend_object_handlers.c337 ZEND_ASSERT(flags & ZEND_ACC_PROTECTED); in zend_get_property_offset()
482 ZEND_ASSERT(is_dynamic); in zend_check_property_access()
530 ZEND_ASSERT(guards != NULL); in zend_get_property_guard()
536 ZEND_ASSERT(Z_TYPE_P(zv) == IS_UNDEF); in zend_get_property_guard()
669 ZEND_ASSERT(EG(exception)); in zend_std_read_property()
706 ZEND_ASSERT(!Z_ISREF_P(value)); in zend_std_write_property()
768 ZEND_ASSERT(EG(exception)); in zend_std_write_property()
1042 ZEND_ASSERT(EG(exception)); in zend_std_unset_property()
1127 ZEND_ASSERT(fbc); in zend_get_call_trampoline_func()
1305 ZEND_ASSERT(object->ce->__call); in zend_std_get_static_method()
[all …]
H A Dzend_iterators.c100 ZEND_ASSERT(Z_TYPE_P(array_ptr) == IS_OBJECT); in zend_iterator_unwrap()
/PHP-8.0/ext/opcache/Optimizer/
H A Dzend_worklist.h42 ZEND_ASSERT(len >= 0); in zend_worklist_stack_prepare()
53 ZEND_ASSERT(stack->len < stack->capacity); in zend_worklist_stack_push()
59 ZEND_ASSERT(stack->len); in zend_worklist_stack_peek()
65 ZEND_ASSERT(stack->len); in zend_worklist_stack_pop()
87 ZEND_ASSERT(len >= 0); in zend_worklist_prepare()
99 ZEND_ASSERT(i >= 0 && i < worklist->stack.capacity); in zend_worklist_push()
H A Dzend_ssa.h162 ZEND_ASSERT(var->definition >= 0); in _zend_ssa_remove_def()
163 ZEND_ASSERT(var->use_chain < 0); in _zend_ssa_remove_def()
164 ZEND_ASSERT(!var->phi_use_chain); in _zend_ssa_remove_def()
288 ZEND_ASSERT(_phi->sources[_i] >= 0); \
H A Dcompact_vars.c81 ZEND_ASSERT(num_cvs <= op_array->last_var); in zend_optimizer_compact_vars()
82 ZEND_ASSERT(num_tmps <= op_array->T); in zend_optimizer_compact_vars()
H A Dscdf.c114 ZEND_ASSERT(phi); in scdf_solve()
173 ZEND_ASSERT(opline && "Should have opline in non-empty block"); in scdf_solve()
203 ZEND_ASSERT(op_num >= 0); in kept_alive_by_loop_var_free()
/PHP-8.0/ext/opcache/
H A Dzend_persist.c248 ZEND_ASSERT(Z_TYPE_P(z) < IS_STRING); in zend_persist_zval()
373 ZEND_ASSERT(op_array->literals != NULL); in zend_persist_op_array_ex()
377 ZEND_ASSERT(op_array->filename != NULL); in zend_persist_op_array_ex()
385 ZEND_ASSERT(arg_info != NULL); in zend_persist_op_array_ex()
413 ZEND_ASSERT(op_array->vars != NULL); in zend_persist_op_array_ex()
443 ZEND_ASSERT(p->key != NULL); in zend_persist_op_array_ex()
815 ZEND_ASSERT(p->key != NULL); in zend_persist_class_entry()
849 ZEND_ASSERT(p->key != NULL); in zend_persist_class_entry()
875 ZEND_ASSERT(p->key != NULL); in zend_persist_class_entry()
1145 ZEND_ASSERT(p->key != NULL); in zend_accel_persist_class_table()
[all …]
H A Dzend_persist_calc.c139 ZEND_ASSERT(Z_TYPE_P(z) < IS_STRING); in zend_persist_zval_calc()
215 ZEND_ASSERT(p->key != NULL); in zend_persist_op_array_calc_ex()
293 ZEND_ASSERT(op_array->type == ZEND_USER_FUNCTION); in zend_persist_op_array_calc()
307 ZEND_ASSERT(op_array->type == ZEND_INTERNAL_FUNCTION); in zend_persist_class_method_calc()
414 ZEND_ASSERT(p->key != NULL); in zend_persist_class_entry_calc()
438 ZEND_ASSERT(p->key != NULL); in zend_persist_class_entry_calc()
456 ZEND_ASSERT(p->key != NULL); in zend_persist_class_entry_calc()
539 ZEND_ASSERT(p->key != NULL); in zend_accel_persist_class_table_calc()
591 ZEND_ASSERT(p->key != NULL); in zend_accel_script_persist_calc()
H A Dzend_accelerator_util_funcs.c161 ZEND_ASSERT(Z_TYPE(p->val) != IS_UNDEF); in zend_hash_clone_constants()
192 ZEND_ASSERT(Z_TYPE(p->val) != IS_UNDEF); in zend_hash_clone_methods()
230 ZEND_ASSERT(Z_TYPE(p->val) != IS_UNDEF); in zend_hash_clone_prop_info()
437 ZEND_ASSERT(Z_TYPE(p->val) != IS_UNDEF); in zend_accel_function_hash_copy()
438 ZEND_ASSERT(p->key); in zend_accel_function_hash_copy()
489 ZEND_ASSERT(Z_TYPE(p->val) != IS_UNDEF); in zend_accel_function_hash_copy_from_shm()
490 ZEND_ASSERT(p->key); in zend_accel_function_hash_copy_from_shm()
533 ZEND_ASSERT(p->key); in zend_accel_class_hash_copy()
569 ZEND_ASSERT(Z_TYPE(p->val) != IS_UNDEF); in zend_accel_class_hash_copy_from_shm()
570 ZEND_ASSERT(p->key); in zend_accel_class_hash_copy_from_shm()
/PHP-8.0/ext/gettext/
H A Dgettext.c216 ZEND_ASSERT(msgstr); in PHP_FUNCTION()
241 ZEND_ASSERT(msgstr); in PHP_FUNCTION()
268 ZEND_ASSERT(msgstr); in PHP_FUNCTION()
/PHP-8.0/ext/spl/
H A Dspl_functions.c96 ZEND_ASSERT(pce->ce_flags & ZEND_ACC_LINKED); in spl_add_interfaces()
113 ZEND_ASSERT(trait); in spl_add_traits()
/PHP-8.0/ext/tokenizer/
H A Dtokenizer.c75 ZEND_ASSERT(Z_TYPE_P(id) == IS_LONG); in ZEND_GET_MODULE()
88 ZEND_ASSERT(Z_TYPE_P(text_zval) == IS_STRING); in php_token_get_text()
368 ZEND_ASSERT(token_type != T_ERROR); in tokenize()
419 ZEND_ASSERT(token_zv); in extract_token_id_to_replace()
432 ZEND_ASSERT(Z_TYPE_P(text_zv) == IS_STRING); in extract_token_id_to_replace()
466 ZEND_ASSERT(id_zv); in on_event()
/PHP-8.0/ext/standard/
H A Dmetaphone.c167 ZEND_ASSERT(word != NULL); in metaphone()
168 ZEND_ASSERT(max_phonemes >= 0); in metaphone()
/PHP-8.0/ext/mbstring/
H A Dmbstring.c2044 ZEND_ASSERT(ret != NULL); in php_mb_strstr_variants()
2189 ZEND_ASSERT(ret != NULL); in PHP_FUNCTION()
2249 ZEND_ASSERT(ret != NULL); in PHP_FUNCTION()
2338 ZEND_ASSERT(ret != NULL); in PHP_FUNCTION()
2462 ZEND_ASSERT(entry); in php_mb_convert_encoding_recursive()
2838 ZEND_ASSERT(ret != NULL); in PHP_FUNCTION()
2860 ZEND_ASSERT(ret != NULL); in PHP_FUNCTION()
2958 ZEND_ASSERT(ret != NULL); in PHP_FUNCTION()
3227 ZEND_ASSERT(ret != NULL); in PHP_FUNCTION()
3263 ZEND_ASSERT(ret != NULL); in PHP_FUNCTION()
[all …]

Completed in 76 milliseconds

1234567