Home
last modified time | relevance | path

Searched refs:ce (Results 26 – 50 of 172) sorted by relevance

1234567

/PHP-7.4/ext/standard/tests/strings/
H A Dstrrchr_variation5.phpt42 ce"
44 ce"
48 ce"
50 ce"
56 ce"
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_info.c379 …const char *type = (ce->ce_flags & ZEND_ACC_INTERFACE) ? "Interface" : (ce->ce_flags & ZEND_ACC_AB… in phpdbg_print_class_name()
381 …%s %.*s (%d)", visibility, type, (int) ZSTR_LEN(ce->name), ZSTR_VAL(ce->name), zend_hash_num_eleme… in phpdbg_print_class_name()
386 zend_class_entry *ce; in PHPDBG_INFO() local
392 ZEND_HASH_FOREACH_PTR(EG(class_table), ce) { in PHPDBG_INFO()
393 if (ce->type == ZEND_USER_CLASS) { in PHPDBG_INFO()
394 zend_hash_next_index_insert_ptr(&classes, ce); in PHPDBG_INFO()
404 ZEND_HASH_FOREACH_PTR(&classes, ce) { in PHPDBG_INFO()
405 phpdbg_print_class_name(ce); in PHPDBG_INFO()
407 if (ce->parent) { in PHPDBG_INFO()
410 pce = ce->parent; in PHPDBG_INFO()
[all …]
H A Dphpdbg_list.c91 zend_class_entry *ce; in PHPDBG_LIST() local
93 if (phpdbg_safe_class_lookup(param->method.class, strlen(param->method.class), &ce) == SUCCESS) { in PHPDBG_LIST()
97 if ((function = zend_hash_str_find_ptr(&ce->function_table, lcname, strlen(lcname)))) { in PHPDBG_LIST()
113 zend_class_entry *ce; in PHPDBG_LIST() local
115 if (phpdbg_safe_class_lookup(param->str, param->len, &ce) == SUCCESS) { in PHPDBG_LIST()
116 if (ce->type == ZEND_USER_CLASS) { in PHPDBG_LIST()
117 if (ce->info.user.filename) { in PHPDBG_LIST()
118 …phpdbg_list_file(ce->info.user.filename, ce->info.user.line_end - ce->info.user.line_start + 1, ce in PHPDBG_LIST()
120 …rce\" class=\"%s\"", "The source of the requested class (%s) cannot be found", ZSTR_VAL(ce->name)); in PHPDBG_LIST()
123 …internalclass\" class=\"%s\"", "The class requested (%s) is not user defined", ZSTR_VAL(ce->name)); in PHPDBG_LIST()
/PHP-7.4/ext/intl/formatter/
H A Dformatter_class.c48 zend_object *NumberFormatter_object_create(zend_class_entry *ce) in NumberFormatter_object_create() argument
52 intern = zend_object_alloc(sizeof(NumberFormatter_object), ce); in NumberFormatter_object_create()
54 zend_object_std_init( &intern->zo, ce ); in NumberFormatter_object_create()
55 object_properties_init(&intern->zo, ce); in NumberFormatter_object_create()
180 zend_class_entry ce; in formatter_register_class() local
183 INIT_CLASS_ENTRY( ce, "NumberFormatter", NumberFormatter_class_functions ); in formatter_register_class()
184 ce.create_object = NumberFormatter_object_create; in formatter_register_class()
185 NumberFormatter_ce_ptr = zend_register_internal_class( &ce ); in formatter_register_class()
/PHP-7.4/Zend/
H A Dzend_API.c754 if (ce) { in zend_parse_arg_impl()
1118 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce)) { in zend_parse_method_parameters()
1150 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce)) { in zend_parse_method_parameters_ex()
1217 ce = class_type; in zend_update_class_constants()
1218 while (ce) { in zend_update_class_constants()
1220 if (prop_info->ce == ce) { in zend_update_class_constants()
1248 ce = ce->parent; in zend_update_class_constants()
2986 fcc->called_scope = fcc->object ? fcc->object->ce : ce; in zend_is_callable_check_class()
3758ce->default_properties_table = perealloc(ce->default_properties_table, sizeof(zval) * ce->default_… in zend_declare_typed_property()
3799 property_info->ce = ce; in zend_declare_typed_property()
[all …]
H A Dzend_builtin_functions.c1014 if (ce && ce->parent) { in ZEND_FUNCTION()
1022 ce = Z_OBJ_P(arg)->ce; in ZEND_FUNCTION()
1027 if (ce && ce->parent) { in ZEND_FUNCTION()
1072 if (!ce) { in is_a_impl()
1162 if (!ce) { in ZEND_FUNCTION()
1314 if (!ce) { in ZEND_FUNCTION()
1421 if (!ce) { in ZEND_FUNCTION()
1434 || property_info->ce == ce)) { in ZEND_FUNCTION()
1476 if (ce) { in class_exists_impl()
1556 if (ce) { in ZEND_FUNCTION()
[all …]
H A Dzend_objects.h26 ZEND_API void ZEND_FASTCALL zend_object_std_init(zend_object *object, zend_class_entry *ce);
27 ZEND_API zend_object* ZEND_FASTCALL zend_objects_new(zend_class_entry *ce);
H A Dzend_exceptions.c287 zend_class_entry *ce; in ZEND_METHOD() local
290 ce = Z_OBJCE(EX(This)); in ZEND_METHOD()
292 ce = Z_CE(EX(This)); in ZEND_METHOD()
294 ce = base_ce; in ZEND_METHOD()
353 zend_class_entry *ce; in ZEND_METHOD() local
356 ce = Z_OBJCE(EX(This)); in ZEND_METHOD()
358 ce = Z_CE(EX(This)); in ZEND_METHOD()
360 ce = zend_ce_error_exception; in ZEND_METHOD()
829 zend_class_entry ce; in zend_register_default_exception() local
875 INIT_CLASS_ENTRY(ce, "TypeError", NULL); in zend_register_default_exception()
[all …]
H A Dzend_object_handlers.h201 ZEND_API void zend_class_init_statics(zend_class_entry *ce);
202 ZEND_API zend_function *zend_std_get_static_method(zend_class_entry *ce, zend_string *function_name…
203 ZEND_API zval *zend_std_get_static_property_with_info(zend_class_entry *ce, zend_string *property_n…
204 ZEND_API zval *zend_std_get_static_property(zend_class_entry *ce, zend_string *property_name, int t…
205 ZEND_API ZEND_COLD zend_bool zend_std_unset_static_property(zend_class_entry *ce, zend_string *prop…
207 ZEND_API struct _zend_property_info *zend_get_property_info(zend_class_entry *ce, zend_string *memb…
227 ZEND_API int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope);
231 ZEND_API zend_function *zend_get_call_trampoline_func(zend_class_entry *ce, zend_string *method_nam…
H A Dzend_compile.c1078 if (ce) { in do_bind_class()
1383 if (!ce) { in zend_ensure_valid_class_fetch_type()
1445 zend_class_entry *ce = c->ce; in zend_verify_ct_const_access() local
1454 ce = ce->parent; in zend_verify_ct_const_access()
1456ce = zend_hash_find_ptr_lc(CG(class_table), ZSTR_VAL(ce->parent_name), ZSTR_LEN(ce->parent_name)); in zend_verify_ct_const_access()
1457 if (!ce) { in zend_verify_ct_const_access()
1477 if (ce) { in zend_try_ct_eval_class_const()
4018 if (ce) { in zend_compile_static_call()
6325ce->trait_names[ce->num_traits].lc_name = zend_string_tolower(ce->trait_names[ce->num_traits].name… in zend_compile_use_trait()
6972 if (ce) { in zend_try_ct_eval_magic_const()
[all …]
/PHP-7.4/ext/mysqli/
H A Dphp_mysqli_structs.h199 extern zend_object_iterator *php_mysqli_result_get_iterator(zend_class_entry *ce, zval *object, int…
214 zend_class_entry ce; \
215 INIT_CLASS_ENTRY(ce, name,class_functions); \
216 ce.create_object = mysqli_objects_new; \
217 mysqli_entry = zend_register_internal_class(&ce); \
242 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(intern->zo.ce->name));\
247 …php_error_docref(NULL, E_WARNING, "invalid object or resource %s\n", ZSTR_VAL(intern->zo.ce->name)…
256 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(intern->zo.ce->name));\
261 …php_error_docref(NULL, E_WARNING, "invalid object or resource %s\n", ZSTR_VAL(intern->zo.ce->name)…
271 …php_error_docref(NULL, E_WARNING, "invalid object or resource %s\n", ZSTR_VAL(intern->zo.ce->name)…
[all …]
/PHP-7.4/ext/xsl/
H A Dphp_xsl.h86 #define REGISTER_XSL_CLASS(ce, name, parent_ce, funcs, entry) \ argument
87 INIT_CLASS_ENTRY(ce, name, funcs); \
88 ce.create_object = xsl_objects_new; \
89 entry = zend_register_internal_class_ex(&ce, parent_ce);
/PHP-7.4/ext/intl/dateformat/
H A Ddateformat_class.c60 zend_object *IntlDateFormatter_object_create(zend_class_entry *ce) in IntlDateFormatter_object_create() argument
64 intern = zend_object_alloc(sizeof(IntlDateFormatter_object), ce); in IntlDateFormatter_object_create()
66 zend_object_std_init( &intern->zo, ce ); in IntlDateFormatter_object_create()
67 object_properties_init(&intern->zo, ce); in IntlDateFormatter_object_create()
191 zend_class_entry ce; in dateformat_register_IntlDateFormatter_class() local
194 INIT_CLASS_ENTRY( ce, "IntlDateFormatter", IntlDateFormatter_class_functions ); in dateformat_register_IntlDateFormatter_class()
195 ce.create_object = IntlDateFormatter_object_create; in dateformat_register_IntlDateFormatter_class()
196 IntlDateFormatter_ce_ptr = zend_register_internal_class( &ce ); in dateformat_register_IntlDateFormatter_class()
/PHP-7.4/ext/dom/
H A Dphp_dom.h126 zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
127 …dom_set_doc_classmap(php_libxml_ref_obj *document, zend_class_entry *basece, zend_class_entry *ce);
131 #define REGISTER_DOM_CLASS(ce, name, parent_ce, funcs, entry) \ argument
132 INIT_CLASS_ENTRY(ce, name, funcs); \
133 ce.create_object = dom_objects_new; \
134 entry = zend_register_internal_class_ex(&ce, parent_ce);
139 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(__intern->std.ce->name));\
/PHP-7.4/ext/reflection/tests/
H A Dbug43926.phpt25 $ce = $re->newInstance();
42 print("Is? A ". ($ra->isInstance($ce) ? 'true' : 'false') .", instanceof: ". (($ce instanceof A) ? …
43 print("Is? C ". ($rc->isInstance($ce) ? 'true' : 'false') .", instanceof: ". (($ce instanceof C) ? …
44 print("Is? D ". ($rd->isInstance($ce) ? 'true' : 'false') .", instanceof: ". (($ce instanceof D) ? …
45 print("Is? E ". ($re->isInstance($ce) ? 'true' : 'false') .", instanceof: ". (($ce instanceof E) ? …
/PHP-7.4/
H A D.gdbinit420 set $ce = $arg0
421 if $ce->ce_flags & 0x10 || $ce->ce_flags & 0x20
424 if $ce->ce_flags & 0x40
429 if $ce->parent != 0
443 set $ce = $ce->parent
447 set $ce = $arg0
450 set $ce = $ce->interfaces[0]
453 set $ce = 0
458 set $ce = $arg0
460 while $ce != 0
[all …]
/PHP-7.4/ext/com_dotnet/
H A Dcom_extension.c299 zend_class_entry ce, *tmp; in PHP_MINIT_FUNCTION() local
304 INIT_CLASS_ENTRY(ce, "com_exception", NULL); in PHP_MINIT_FUNCTION()
309 INIT_CLASS_ENTRY(ce, "com_safearray_proxy", NULL); in PHP_MINIT_FUNCTION()
310 php_com_saproxy_class_entry = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION()
315 INIT_CLASS_ENTRY(ce, "variant", NULL); in PHP_MINIT_FUNCTION()
316 ce.create_object = php_com_object_new; in PHP_MINIT_FUNCTION()
317 php_com_variant_class_entry = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION()
322 INIT_CLASS_ENTRY(ce, "com", NULL); in PHP_MINIT_FUNCTION()
323 ce.create_object = php_com_object_new; in PHP_MINIT_FUNCTION()
330 INIT_CLASS_ENTRY(ce, "dotnet", NULL); in PHP_MINIT_FUNCTION()
[all …]
H A Dphp_com_dotnet_internal.h40 zend_class_entry *ce; member
55 zend_class_entry *ce = Z_OBJCE_P(zv); in php_com_is_valid_object() local
56 return strcmp("com", ce->name->val) == 0 || in php_com_is_valid_object()
57 strcmp("dotnet", ce->name->val) == 0 || in php_com_is_valid_object()
58 strcmp("variant", ce->name->val) == 0; in php_com_is_valid_object()
74 zend_object* php_com_object_new(zend_class_entry *ce);
81 zend_object_iterator *php_com_saproxy_iter_get(zend_class_entry *ce, zval *object, int by_ref);
182 zend_object_iterator *php_com_iter_get(zend_class_entry *ce, zval *object, int by_ref);
H A Dcom_misc.c55 obj->ce = php_com_variant_class_entry; in php_com_wrap_dispatch()
56 obj->zo.ce = php_com_variant_class_entry; in php_com_wrap_dispatch()
78 obj->ce = php_com_variant_class_entry; in php_com_wrap_variant()
79 obj->zo.ce = php_com_variant_class_entry; in php_com_wrap_variant()
/PHP-7.4/ext/intl/common/
H A Dcommon_enum.cpp170 zend_class_entry *ce, zval *object, int by_ref) in IntlIterator_get_iterator() argument
191 static zend_object *IntlIterator_object_create(zend_class_entry *ce) in IntlIterator_object_create() argument
195 …intern = (IntlIterator_object*)ecalloc(1, sizeof(IntlIterator_object) + sizeof(zval) * (ce->defaul… in IntlIterator_object_create()
197 zend_object_std_init(&intern->zo, ce); in IntlIterator_object_create()
198 object_properties_init(&intern->zo, ce); in IntlIterator_object_create()
313 zend_class_entry ce; in intl_register_IntlIterator_class() local
316 INIT_CLASS_ENTRY(ce, "IntlIterator", IntlIterator_class_functions); in intl_register_IntlIterator_class()
317 ce.create_object = IntlIterator_object_create; in intl_register_IntlIterator_class()
318 IntlIterator_ce_ptr = zend_register_internal_class(&ce); in intl_register_IntlIterator_class()
/PHP-7.4/ext/intl/transliterator/
H A Dtransliterator_class.c112 static zend_object *Transliterator_object_create( zend_class_entry *ce ) in Transliterator_object_create() argument
116 intern = zend_object_alloc(sizeof(Transliterator_object), ce); in Transliterator_object_create()
118 zend_object_std_init( &intern->zo, ce ); in Transliterator_object_create()
119 object_properties_init( &intern->zo, ce ); in Transliterator_object_create()
334 zend_class_entry ce; in transliterator_register_Transliterator_class() local
337 INIT_CLASS_ENTRY( ce, "Transliterator", Transliterator_class_functions ); in transliterator_register_Transliterator_class()
338 ce.create_object = Transliterator_object_create; in transliterator_register_Transliterator_class()
339 Transliterator_ce_ptr = zend_register_internal_class( &ce ); in transliterator_register_Transliterator_class()
/PHP-7.4/ext/intl/calendar/
H A Dcalendar_class.cpp50 zend_class_entry *ce; in calendar_object_create() local
54 ce = GregorianCalendar_ce_ptr; in calendar_object_create()
56 ce = Calendar_ce_ptr; in calendar_object_create()
59 object_init_ex(object, ce); in calendar_object_create()
252 static zend_object *Calendar_object_create(zend_class_entry *ce) in Calendar_object_create() argument
258 zend_object_std_init(&intern->zo, ce); in Calendar_object_create()
259 object_properties_init(&intern->zo, ce); in Calendar_object_create()
445 zend_class_entry ce; in calendar_register_IntlCalendar_class() local
448 INIT_CLASS_ENTRY(ce, "IntlCalendar", Calendar_class_functions); in calendar_register_IntlCalendar_class()
449 ce.create_object = Calendar_object_create; in calendar_register_IntlCalendar_class()
[all …]
/PHP-7.4/ext/intl/locale/
H A Dlocale_class.c103 zend_class_entry ce; in locale_register_Locale_class() local
106 INIT_CLASS_ENTRY( ce, "Locale", Locale_class_functions ); in locale_register_Locale_class()
107 ce.create_object = NULL; in locale_register_Locale_class()
108 Locale_ce_ptr = zend_register_internal_class( &ce ); in locale_register_Locale_class()
/PHP-7.4/ext/intl/resourcebundle/
H A Dresourcebundle_class.c58 static zend_object *ResourceBundle_object_create( zend_class_entry *ce ) in ResourceBundle_object_create() argument
62 rb = zend_object_alloc(sizeof(ResourceBundle_object), ce); in ResourceBundle_object_create()
64 zend_object_std_init( &rb->zend, ce ); in ResourceBundle_object_create()
65 object_properties_init( &rb->zend, ce); in ResourceBundle_object_create()
442 zend_class_entry ce; in resourcebundle_register_class() local
444 INIT_CLASS_ENTRY( ce, "ResourceBundle", ResourceBundle_class_functions ); in resourcebundle_register_class()
446 ce.create_object = ResourceBundle_object_create; in resourcebundle_register_class()
447 ce.get_iterator = resourcebundle_get_iterator; in resourcebundle_register_class()
449 ResourceBundle_ce_ptr = zend_register_internal_class( &ce ); in resourcebundle_register_class()
/PHP-7.4/ext/readline/
H A Dreadline_cli.c480 zend_class_entry *ce; in cli_completion_generator_class() local
481 char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&ce); in cli_completion_generator_class()
484 retval = strdup(ZSTR_VAL(ce->name)); in cli_completion_generator_class()
528 zend_class_entry *ce = NULL; in cli_completion_generator() local
535 if ((ce = zend_lookup_class(class_name)) == NULL) { in cli_completion_generator()
548 …retval = cli_completion_generator_func(lc_text, textlen, &cli_completion_state, ce ? &ce->function… in cli_completion_generator()
554 …retval = cli_completion_generator_define(text, textlen, &cli_completion_state, ce ? &ce->constants… in cli_completion_generator()
555 if (retval || ce) { in cli_completion_generator()
569 if (ce && retval) { in cli_completion_generator()
570 size_t len = ZSTR_LEN(ce->name) + 2 + strlen(retval) + 1; in cli_completion_generator()
[all …]

Completed in 136 milliseconds

1234567