Home
last modified time | relevance | path

Searched refs:ce (Results 76 – 100 of 188) sorted by relevance

12345678

/PHP-8.0/ext/intl/
H A Dintl_error.c208 zend_class_entry ce; in intl_register_IntlException_class() local
211 INIT_CLASS_ENTRY_EX( ce, "IntlException", sizeof( "IntlException" ) - 1, NULL ); in intl_register_IntlException_class()
212 IntlException_ce_ptr = zend_register_internal_class_ex( &ce, in intl_register_IntlException_class()
/PHP-8.0/ext/simplexml/
H A Dsimplexml.c2205 zend_class_entry *parent = ce; in php_sxe_find_fptr_count()
2239 zend_object_std_init(&intern->zo, ce); in php_sxe_object_new()
2249 sxe_object_new(zend_class_entry *ce) in sxe_object_new() argument
2253 intern = php_sxe_object_new(ce, php_sxe_find_fptr_count(ce)); in sxe_object_new()
2289 if (!ce) { in PHP_FUNCTION()
2290 ce = sxe_class_entry; in PHP_FUNCTION()
2344 if (!ce) { in PHP_FUNCTION()
2345 ce = sxe_class_entry; in PHP_FUNCTION()
2645 if (!ce) { in PHP_FUNCTION()
2646 ce = sxe_class_entry; in PHP_FUNCTION()
[all …]
H A Dphp_simplexml_exports.h38 PHP_SXE_API zend_object *sxe_object_new(zend_class_entry *ce);
/PHP-8.0/ext/spl/
H A Dspl_heap.c461 zend_object *new_object = spl_heap_object_new_ex(old_object->ce, old_object, 1); in spl_heap_object_clone()
475 zend_call_method_with_0_params(object, intern->std.ce, &intern->fptr_count, "count", &rv); in spl_heap_object_count_elements()
491 static inline HashTable* spl_heap_object_get_debug_info(zend_class_entry *ce, zend_object *obj) { /… in spl_heap_object_get_debug_info() argument
505 pnstr = spl_gen_private_prop_name(ce, "flags", sizeof("flags")-1); in spl_heap_object_get_debug_info()
510 pnstr = spl_gen_private_prop_name(ce, "isCorrupted", sizeof("isCorrupted")-1); in spl_heap_object_get_debug_info()
518 if (ce == spl_ce_SplPriorityQueue) { in spl_heap_object_get_debug_info()
530 pnstr = spl_gen_private_prop_name(ce, "heap", sizeof("heap")-1); in spl_heap_object_get_debug_info()
1063 zend_object_iterator *spl_heap_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ … in spl_heap_get_iterator() argument
1080 iterator->intern.ce = ce; in spl_heap_get_iterator()
1088 zend_object_iterator *spl_pqueue_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{… in spl_pqueue_get_iterator() argument
[all …]
/PHP-8.0/ext/opcache/Optimizer/
H A Dzend_func_info.h61 zend_class_entry **ce, zend_bool *ce_is_instanceof);
/PHP-8.0/Zend/
H A Dzend_execute.c854 zend_class_entry *ce; in zend_check_and_resolve_property_class_type() local
860 ce = resolve_single_class_type(name, info->ce); in zend_check_and_resolve_property_class_type()
861 if (!ce) { in zend_check_and_resolve_property_class_type()
877 ce = resolve_single_class_type(name, info->ce); in zend_check_and_resolve_property_class_type()
966 zend_class_entry *ce; in zend_check_type_slow() local
971 ce = *cache_slot; in zend_check_type_slow()
975 if (!ce) { in zend_check_type_slow()
982 *cache_slot = ce; in zend_check_type_slow()
2330 zend_class_entry *ce = obj->ce; in zend_fetch_dimension_address() local
2341 zend_class_entry *ce = obj->ce; in zend_fetch_dimension_address() local
[all …]
H A Dzend_vm_def.h3633 fbc = ce->get_static_method(ce, Z_STR_P(function_name));
4583 ce = EG(exception)->ce;
5106 if (!ce || !ce->get_iterator) {
5110 iter = ce->get_iterator(ce, args, 0);
5778 ce = zobj->ce;
6024 if (!ce || !ce->get_iterator) {
6027 iter = ce->get_iterator(ce, op1, 0);
7568 if (ce == NULL) {
7616 ce = Z_CE_P(zv);
7684 result = ce && instanceof_function(Z_OBJCE_P(expr), ce);
[all …]
H A Dzend_API.h278 #define CE_STATIC_MEMBERS(ce) \ argument
279 ((zval*)ZEND_MAP_PTR_GET((ce)->static_members_table))
339 #define zend_register_class_alias(name, ce) \ argument
340 zend_register_class_alias_ex(name, sizeof(name)-1, ce, 1)
341 #define zend_register_ns_class_alias(ns, name, ce) \ argument
432 ZEND_API zend_result object_init_ex(zval *arg, zend_class_entry *ce);
590 zend_call_known_function(fn, object, object->ce, retval_ptr, param_count, params, NULL); in zend_call_known_instance_method()
631 ZEND_API ZEND_COLD const char *zend_get_object_type(const zend_class_entry *ce);
2080 (!ce || EXPECTED(instanceof_function(Z_OBJCE_P(arg), ce) != 0))) { in zend_parse_arg_object()
2093 (!ce || EXPECTED(instanceof_function(Z_OBJCE_P(arg), ce) != 0))) { in zend_parse_arg_obj()
[all …]
H A Dzend_vm_execute.h2192 if (!ce || !ce->get_iterator) { in ZEND_SEND_UNPACK_SPEC_HANDLER()
2196 iter = ce->get_iterator(ce, args, 0); in ZEND_SEND_UNPACK_SPEC_HANDLER()
2543 if (!ce || !ce->get_iterator) { in ZEND_ADD_ARRAY_UNPACK_SPEC_HANDLER()
2546 iter = ce->get_iterator(ce, op1, 0); in ZEND_ADD_ARRAY_UNPACK_SPEC_HANDLER()
4478 ce = EG(exception)->ce; in ZEND_CATCH_SPEC_CONST_HANDLER()
4592 ce = zobj->ce; in ZEND_CLONE_SPEC_CONST_HANDLER()
6655 fbc = ce->get_static_method(ce, Z_STR_P(function_name)); in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CONST_HANDLER()
14230 ce = zobj->ce; in ZEND_CLONE_SPEC_TMPVAR_HANDLER()
15887 result = ce && instanceof_function(Z_OBJCE_P(expr), ce); in ZEND_INSTANCEOF_SPEC_TMPVAR_CONST_HANDLER()
31323 ce = zobj->ce; in ZEND_CLONE_SPEC_UNUSED_HANDLER()
[all …]
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit.c2618 if (op1_ssa->ce && !op1_ssa->ce->create_object) { in zend_jit()
2619 ce = op1_ssa->ce; in zend_jit()
2665 if (op1_ssa->ce && !op1_ssa->ce->create_object) { in zend_jit()
2666 ce = op1_ssa->ce; in zend_jit()
2705 if (op1_ssa->ce && !op1_ssa->ce->create_object) { in zend_jit()
2706 ce = op1_ssa->ce; in zend_jit()
3211 if (op1_ssa->ce && !op1_ssa->ce->create_object) { in zend_jit()
3212 ce = op1_ssa->ce; in zend_jit()
3351 ce = op1_ssa->ce; in zend_jit()
3474 ce = res_ssa->ce; in zend_jit()
[all …]
H A Dzend_jit_helpers.c1382 zend_class_entry *ce = obj->ce; in zend_jit_fetch_dim_obj_helper() local
1393 zend_class_entry *ce = obj->ce; in zend_jit_fetch_dim_obj_helper() local
1723 zend_class_entry *ce; in zend_jit_verify_type_common() local
1728 ce = *cache_slot; in zend_jit_verify_type_common()
1732 if (!ce) { in zend_jit_verify_type_common()
1736 *cache_slot = ce; in zend_jit_verify_type_common()
1748 if (UNEXPECTED(!ce)) { in zend_jit_verify_type_common()
1751 *cache_slot = (void *) ce; in zend_jit_verify_type_common()
1957 ZSTR_VAL(prop->ce->name), in zend_throw_access_uninit_prop_by_ref_error()
2546 ZSTR_VAL(prop->ce->name), in _zend_jit_throw_inc_prop_error()
[all …]
/PHP-8.0/ext/pdo/
H A Dpdo.c296 zend_class_entry ce; in PHP_MINIT_FUNCTION() local
307 INIT_CLASS_ENTRY(ce, "PDOException", NULL); in PHP_MINIT_FUNCTION()
309 pdo_exception_ce = zend_register_internal_class_ex(&ce, spl_ce_RuntimeException); in PHP_MINIT_FUNCTION()
/PHP-8.0/ext/mysqli/
H A Dmysqli_warning.c204 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(obj->zo.ce->name)); in mysqli_warning_message()
224 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(obj->zo.ce->name)); in mysqli_warning_sqlstate()
244 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(obj->zo.ce->name)); in mysqli_warning_errno()
/PHP-8.0/ext/standard/
H A Dvar.c733 zend_class_entry *ce; in php_var_serialize_call_sleep() local
735 ce = Z_OBJCE_P(struc); in php_var_serialize_call_sleep()
800 zend_class_entry *ce = Z_OBJCE_P(struc); in php_var_serialize_get_sleep_props() local
815 ZSTR_VAL(ce->name)); in php_var_serialize_get_sleep_props()
831 ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), in php_var_serialize_get_sleep_props()
832 ZSTR_VAL(name), ZSTR_LEN(name), ce->type & ZEND_INTERNAL_CLASS); in php_var_serialize_get_sleep_props()
847 "*", 1, ZSTR_VAL(name), ZSTR_LEN(name), ce->type & ZEND_INTERNAL_CLASS); in php_var_serialize_get_sleep_props()
991 zend_class_entry *ce = Z_OBJCE_P(struc); in php_var_serialize_intern() local
995 if (ce->__serialize) { in php_var_serialize_intern()
1032 if (ce->serialize != NULL) { in php_var_serialize_intern()
[all …]
H A Dtype.c64 if (Z_OBJ_P(arg)->ce->ce_flags & ZEND_ACC_ANON_CLASS) { in PHP_FUNCTION()
65 name = ZSTR_VAL(Z_OBJ_P(arg)->ce->name); in PHP_FUNCTION()
68 RETURN_STR_COPY(Z_OBJ_P(arg)->ce->name); in PHP_FUNCTION()
H A Dassert.c92 zend_class_entry ce; in PHP_MINIT_FUNCTION() local
104 INIT_CLASS_ENTRY(ce, "AssertionError", NULL); in PHP_MINIT_FUNCTION()
105 assertion_error_ce = zend_register_internal_class_ex(&ce, zend_ce_error); in PHP_MINIT_FUNCTION()
/PHP-8.0/ext/reflection/
H A Dphp_reflection.h47 PHPAPI void zend_reflection_class_factory(zend_class_entry *ce, zval *object);
/PHP-8.0/ext/intl/converter/
H A Dconverter.c340 if (objval->obj.ce == php_converter_ce) { in php_converter_set_callbacks()
908 objval = zend_object_alloc(sizeof(php_converter_object), ce); in php_converter_object_ctor()
910 zend_object_std_init(&objval->obj, ce); in php_converter_object_ctor()
911 object_properties_init(&objval->obj, ce); in php_converter_object_ctor()
920 static zend_object *php_converter_create_object(zend_class_entry *ce) { in php_converter_create_object() argument
922 zend_object *retval = php_converter_object_ctor(ce, &objval); in php_converter_create_object()
924 object_properties_init(&(objval->obj), ce); in php_converter_create_object()
931 zend_object *retval = php_converter_object_ctor(object->ce, &objval); in php_converter_clone_object()
977 zend_class_entry ce; in php_converter_minit() local
979 INIT_CLASS_ENTRY(ce, "UConverter", class_UConverter_methods); in php_converter_minit()
[all …]
/PHP-8.0/Zend/tests/
H A Dnested_method_and_function.phpt2 active_class_entry must be always correct (__METHOD__ should not depend on declaring function ce)
/PHP-8.0/ext/shmop/
H A Dshmop.c111 zend_class_entry ce; in PHP_MINIT_FUNCTION() local
112 INIT_CLASS_ENTRY(ce, "Shmop", class_Shmop_methods); in PHP_MINIT_FUNCTION()
113 shmop_ce = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION()
/PHP-8.0/ext/com_dotnet/
H A Dcom_persist.c692 zend_object_std_init(&clone->std, object->std.ce); in helper_clone()
709 static zend_object* helper_new(zend_class_entry *ce) in helper_new() argument
724 zend_class_entry ce; in php_com_persist_minit() local
730 INIT_CLASS_ENTRY(ce, "COMPersistHelper", class_COMPersistHelper_methods); in php_com_persist_minit()
731 ce.create_object = helper_new; in php_com_persist_minit()
732 helper_ce = zend_register_internal_class(&ce); in php_com_persist_minit()
H A Dcom_handlers.c311 f.scope = obj->ce; in com_method_get()
395 return zend_string_copy(obj->ce->name); in com_class_name_get()
618 zend_object* php_com_object_new(zend_class_entry *ce) in php_com_object_new() argument
628 obj->ce = ce; in php_com_object_new()
630 zend_object_std_init(&obj->zo, ce); in php_com_object_new()
/PHP-8.0/ext/libxml/
H A Dlibxml.c798 zend_class_entry ce; in PHP_MINIT_FUNCTION() local
847 INIT_CLASS_ENTRY(ce, "LibXMLError", NULL); in PHP_MINIT_FUNCTION()
848 libxmlerror_class_entry = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION()
1194 zval *php_libxml_register_export(zend_class_entry *ce, php_libxml_export_node export_function) in php_libxml_register_export() argument
1202 return zend_hash_add_mem(&php_libxml_exports, ce->name, &export_hnd, sizeof(export_hnd)); in php_libxml_register_export()
1207 zend_class_entry *ce = NULL; in php_libxml_import_node() local
1212 ce = Z_OBJCE_P(object); in php_libxml_import_node()
1213 while (ce->parent != NULL) { in php_libxml_import_node()
1214 ce = ce->parent; in php_libxml_import_node()
1216 if ((export_hnd = zend_hash_find_ptr(&php_libxml_exports, ce->name))) { in php_libxml_import_node()
/PHP-8.0/ext/sysvsem/
H A Dsysvsem.c154 zend_class_entry ce; in PHP_MINIT_FUNCTION() local
155 INIT_CLASS_ENTRY(ce, "SysvSemaphore", class_SysvSemaphore_methods); in PHP_MINIT_FUNCTION()
156 sysvsem_ce = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION()
/PHP-8.0/ext/standard/tests/strings/
H A Dstrtoupper1-win32.phpt261 ce => ce
293 ee => ce

Completed in 266 milliseconds

12345678