Home
last modified time | relevance | path

Searched refs:ce (Results 1 – 25 of 122) sorted by relevance

12345

/PHP-5.3/Zend/
H A Dzend_object_handlers.c257 EG(std_property_info).ce = ce; in zend_get_property_info()
754 if (!ce) { in zend_check_private_int()
764 if (fbc->common.scope == ce && EG(scope) == ce) { in zend_check_private_int()
771 ce = ce->parent; in zend_check_private_int()
772 while (ce) { in zend_check_private_int()
781 ce = ce->parent; in zend_check_private_int()
1066 std_property_info.ce = ce; in zend_std_get_static_property()
1150 if (zobj1->ce != zobj2->ce) { in zend_std_compare_objects()
1262 ce = zobj->ce->parent; in zend_std_object_get_class_name()
1264 ce = zobj->ce; in zend_std_object_get_class_name()
[all …]
H A Dzend_objects.c34 object->ce = ce; in zend_object_std_init()
52 zend_function *destructor = object ? object->ce->destructor : NULL; in zend_objects_destroy_object()
63 if (object->ce != EG(scope)) { in zend_objects_destroy_object()
64 zend_class_entry *ce = object->ce; in zend_objects_destroy_object() local
68 ce->name, in zend_objects_destroy_object()
77 zend_class_entry *ce = object->ce; in zend_objects_destroy_object() local
81 ce->name, in zend_objects_destroy_object()
135 (*object)->ce = class_type; in zend_objects_new()
151 if (old_object->ce->clone) { in zend_objects_clone_members()
159 …zend_call_method_with_0_params(&new_obj, old_object->ce, &old_object->ce->clone, ZEND_CLONE_FUNC_N… in zend_objects_clone_members()
[all …]
H A Dzend_opcode.c182 if (--ce->refcount > 0) { in destroy_zend_class()
185 switch (ce->type) { in destroy_zend_class()
190 efree(ce->name); in destroy_zend_class()
193 if (ce->num_interfaces > 0 && ce->interfaces) { in destroy_zend_class()
196 if (ce->doc_comment) { in destroy_zend_class()
199 efree(ce); in destroy_zend_class()
205 free(ce->name); in destroy_zend_class()
209 free(ce->interfaces); in destroy_zend_class()
211 if (ce->doc_comment) { in destroy_zend_class()
214 free(ce); in destroy_zend_class()
[all …]
H A Dzend_interfaces.c125 …return zend_call_method_with_0_params(&object, ce, &ce->iterator_funcs.zf_new_iterator, "getiterat… in zend_user_it_new_iterator()
163 …zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_valid, "valid", &mo… in zend_user_it_valid()
181 …zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_current, "current",… in zend_user_it_get_current_data()
204 …zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_key, "key", &retval… in zend_user_it_get_current_key()
250 zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_next, "next", NULL); in zend_user_it_move_forward()
261 …zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_rewind, "rewind", N… in zend_user_it_rewind()
289 iterator->ce = Z_OBJCE_P(object); in zend_user_it_get_iterator()
432 zend_call_method_with_0_params(&object, ce, &ce->serialize_func, "serialize", &retval); in zend_user_serialize()
467 object_init_ex(*object, ce); in zend_user_unserialize()
472 zend_call_method_with_1_params(object, ce, &ce->unserialize_func, "unserialize", NULL, zdata); in zend_user_unserialize()
[all …]
H A Dzend_compile.c2437 ce->__get = ce->parent->__get; in do_inherit_parent_constructor()
2440 ce->__set = ce->parent->__set; in do_inherit_parent_constructor()
2443 ce->__unset = ce->parent->__unset; in do_inherit_parent_constructor()
2446 ce->__isset = ce->parent->__isset; in do_inherit_parent_constructor()
2449 ce->__call = ce->parent->__call; in do_inherit_parent_constructor()
2455 ce->__tostring = ce->parent->__tostring; in do_inherit_parent_constructor()
2458 ce->clone = ce->parent->clone; in do_inherit_parent_constructor()
2461 ce->serialize = ce->parent->serialize; in do_inherit_parent_constructor()
2464 ce->unserialize = ce->parent->unserialize; in do_inherit_parent_constructor()
2467 ce->destructor = ce->parent->destructor; in do_inherit_parent_constructor()
[all …]
H A Dzend_interfaces.h37 zend_class_entry *ce; member
59 ZEND_API zval *zend_user_it_new_iterator(zend_class_entry *ce, zval *object TSRMLS_DC);
60 ZEND_API zend_object_iterator *zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, in…
65 ZEND_API int zend_user_unserialize(zval **object, zend_class_entry *ce, const unsigned char *buf, z…
68 ZEND_API int zend_class_unserialize_deny(zval **object, zend_class_entry *ce, const unsigned char *…
H A Dzend_builtin_functions.c780 ce = EG(scope); in ZEND_FUNCTION()
781 if (ce && ce->parent) { in ZEND_FUNCTION()
782 RETURN_STRINGL(ce->parent->name, ce->parent->name_length, 1); in ZEND_FUNCTION()
799 ce = *pce; in ZEND_FUNCTION()
803 if (ce && ce->parent) { in ZEND_FUNCTION()
804 RETURN_STRINGL(ce->parent->name, ce->parent->name_length, 1); in ZEND_FUNCTION()
1018 ce = *pce; in ZEND_FUNCTION()
1022 if (!ce) { in ZEND_FUNCTION()
1077 ce = *pce; in ZEND_FUNCTION()
1139 ce = *pce; in ZEND_FUNCTION()
[all …]
H A Dzend_API.c534 (!ce || instanceof_function(Z_OBJCE_PP(arg), ce TSRMLS_CC))) { in zend_parse_arg_impl()
537 if (ce) { in zend_parse_arg_impl()
538 return ce->name; in zend_parse_arg_impl()
887 zend_class_entry *ce; in zend_parse_method_parameters() local
905 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce TSRMLS_CC)) { in zend_parse_method_parameters()
923 zend_class_entry *ce; in zend_parse_method_parameters_ex() local
942 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce TSRMLS_CC)) { in zend_parse_method_parameters_ex()
2278 ce->refcount++; in zend_register_class_alias_ex()
2869 memcpy(*callable_name, ce->name, ce->name_length); in zend_is_callable_ex()
3148 if (ce->parent) { in zend_declare_property_ex()
[all …]
/PHP-5.3/ext/spl/
H A Dspl_functions.c33 zend_class_entry ce; in spl_register_interface() local
35 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), functions); in spl_register_interface()
36 *ppce = zend_register_internal_interface(&ce TSRMLS_CC); in spl_register_interface()
43 zend_class_entry ce; in spl_register_std_class() local
45 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), function_list); in spl_register_std_class()
46 *ppce = zend_register_internal_class(&ce TSRMLS_CC); in spl_register_std_class()
58 zend_class_entry ce; in spl_register_sub_class() local
60 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), function_list); in spl_register_sub_class()
61 *ppce = zend_register_internal_class_ex(&ce, parent_ce, NULL TSRMLS_CC); in spl_register_sub_class()
124 char * spl_gen_private_prop_name(zend_class_entry *ce, char *prop_name, int prop_len, int *name_len… in spl_gen_private_prop_name() argument
[all …]
/PHP-5.3/ext/reflection/
H A Dphp_reflection.c1153 intern->ce = ce; in zend_reflection_class_factory()
1258 intern->ce = ce; in reflection_method_factory()
1301 reference->ce = ce; in reflection_property_factory()
1305 intern->ce = ce; in reflection_property_factory()
2154 intern->ce = ce; in ZEND_METHOD()
2529 intern->ce = ce; in ZEND_METHOD()
3605 property_info_tmp.ce = ce; in ZEND_METHOD()
4447 reference->prop.ce = ce; in ZEND_METHOD()
4451 reference->ce = ce; in ZEND_METHOD()
4454 intern->ce = ce; in ZEND_METHOD()
[all …]
/PHP-5.3/ext/dom/
H A Dphp_dom.c208 if (ce == NULL) { in dom_set_doc_classmap()
214 if (ce) { in dom_set_doc_classmap()
226 zend_class_entry **ce = NULL; in dom_get_doc_classmap() local
232 return *ce; in dom_get_doc_classmap()
662 zend_class_entry ce; in PHP_MINIT_FUNCTION() local
1306 zend_class_entry *ce; in php_dom_create_interator() local
1322 zend_class_entry *ce; in php_dom_create_object() local
1365 ce = dom_attr_class_entry; in php_dom_create_object()
1370 ce = dom_text_class_entry; in php_dom_create_object()
1421 ce = dom_get_doc_classmap(domobj->document, ce TSRMLS_CC); in php_dom_create_object()
[all …]
H A Dphp_dom.h124 zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC…
125 …c_classmap(php_libxml_ref_obj *document, zend_class_entry *basece, zend_class_entry *ce TSRMLS_DC);
127 #define REGISTER_DOM_CLASS(ce, name, parent_ce, funcs, entry) \ argument
128 INIT_CLASS_ENTRY(ce, name, funcs); \
129 ce.create_object = dom_objects_new; \
130 entry = zend_register_internal_class_ex(&ce, parent_ce, NULL TSRMLS_CC);
135 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Couldn't fetch %s", __intern->std.ce->name);\
/PHP-5.3/ext/intl/normalizer/
H A Dnormalizer_class.c56 zend_class_entry ce; in normalizer_register_Normalizer_class() local
59 INIT_CLASS_ENTRY( ce, "Normalizer", Normalizer_class_functions ); in normalizer_register_Normalizer_class()
60 ce.create_object = NULL; in normalizer_register_Normalizer_class()
61 Normalizer_ce_ptr = zend_register_internal_class( &ce TSRMLS_CC ); in normalizer_register_Normalizer_class()
/PHP-5.3/ext/pdo/
H A Dphp_pdo_int.h34 extern zend_object_value pdo_dbh_new(zend_class_entry *ce TSRMLS_DC);
39 extern zend_object_value pdo_dbstmt_new(zend_class_entry *ce TSRMLS_DC);
43 zend_object_iterator *pdo_stmt_iter_get(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC);
48 extern zend_object_value pdo_row_new(zend_class_entry *ce TSRMLS_DC);
54 zend_object_iterator *php_pdo_dbstmt_iter_get(zend_class_entry *ce, zval *object TSRMLS_DC);
/PHP-5.3/ext/standard/tests/strings/
H A Dstrrchr_variation5.phpt42 ce"
44 ce"
48 ce"
50 ce"
56 ce"
/PHP-5.3/ext/intl/collator/
H A Dcollator_class.c62 zend_class_entry *ce TSRMLS_DC ) in Collator_object_create()
69 zend_object_std_init( &intern->zo, ce TSRMLS_CC ); in Collator_object_create()
139 zend_class_entry ce; in collator_register_Collator_class() local
142 INIT_CLASS_ENTRY( ce, "Collator", Collator_class_functions ); in collator_register_Collator_class()
143 ce.create_object = Collator_object_create; in collator_register_Collator_class()
144 Collator_ce_ptr = zend_register_internal_class( &ce TSRMLS_CC ); in collator_register_Collator_class()
/PHP-5.3/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-5.3/ext/xsl/
H A Dphp_xsl.h77 #define REGISTER_XSL_CLASS(ce, name, parent_ce, funcs, entry) \ argument
78 INIT_CLASS_ENTRY(ce, name, funcs); \
79 ce.create_object = xsl_objects_new; \
80 entry = zend_register_internal_class_ex(&ce, parent_ce, NULL TSRMLS_CC);
/PHP-5.3/
H A D.gdbinit319 set $ce = $arg0
320 if $ce->ce_flags & 0x10 || $ce->ce_flags & 0x20
323 if $ce->ce_flags & 0x40
328 if $ce->parent != 0
342 set $ce = $ce->parent
346 set $ce = $arg0
349 set $ce = $ce->interfaces[0]
352 set $ce = 0
357 set $ce = $arg0
359 while $ce != 0
[all …]
/PHP-5.3/ext/com_dotnet/
H A Dcom_extension.c347 zend_class_entry ce, *tmp; in PHP_MINIT_FUNCTION() local
352 INIT_CLASS_ENTRY(ce, "com_exception", NULL); in PHP_MINIT_FUNCTION()
357 INIT_CLASS_ENTRY(ce, "com_safearray_proxy", NULL); in PHP_MINIT_FUNCTION()
358 php_com_saproxy_class_entry = zend_register_internal_class(&ce TSRMLS_CC); in PHP_MINIT_FUNCTION()
363 INIT_CLASS_ENTRY(ce, "variant", NULL); in PHP_MINIT_FUNCTION()
364 ce.create_object = php_com_object_new; in PHP_MINIT_FUNCTION()
365 php_com_variant_class_entry = zend_register_internal_class(&ce TSRMLS_CC); in PHP_MINIT_FUNCTION()
368 INIT_CLASS_ENTRY(ce, "com", NULL); in PHP_MINIT_FUNCTION()
369 ce.create_object = php_com_object_new; in PHP_MINIT_FUNCTION()
376 INIT_CLASS_ENTRY(ce, "dotnet", NULL); in PHP_MINIT_FUNCTION()
[all …]
H A Dphp_com_dotnet_internal.h44 zend_class_entry *ce; member
59 zend_class_entry *ce = Z_OBJCE_P(zv); in php_com_is_valid_object() local
60 return strcmp("com", ce->name) == 0 || in php_com_is_valid_object()
61 strcmp("dotnet", ce->name) == 0 || in php_com_is_valid_object()
62 strcmp("variant", ce->name) == 0; in php_com_is_valid_object()
79 zend_object_value php_com_object_new(zend_class_entry *ce TSRMLS_DC);
86 zend_object_iterator *php_com_saproxy_iter_get(zend_class_entry *ce, zval *object, int by_ref TSRML…
182 zend_object_iterator *php_com_iter_get(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC);
/PHP-5.3/ext/intl/msgformat/
H A Dmsgformat_class.c57 zend_object_value MessageFormatter_object_create(zend_class_entry *ce TSRMLS_DC) in MessageFormatter_object_create()
64 zend_object_std_init( &intern->zo, ce TSRMLS_CC ); in MessageFormatter_object_create()
164 zend_class_entry ce; in msgformat_register_class() local
167 INIT_CLASS_ENTRY( ce, "MessageFormatter", MessageFormatter_class_functions ); in msgformat_register_class()
168 ce.create_object = MessageFormatter_object_create; in msgformat_register_class()
169 MessageFormatter_ce_ptr = zend_register_internal_class( &ce TSRMLS_CC ); in msgformat_register_class()
/PHP-5.3/ext/intl/locale/
H A Dlocale_class.c97 zend_class_entry ce; in locale_register_Locale_class() local
100 INIT_CLASS_ENTRY( ce, "Locale", Locale_class_functions ); in locale_register_Locale_class()
101 ce.create_object = NULL; in locale_register_Locale_class()
102 Locale_ce_ptr = zend_register_internal_class( &ce TSRMLS_CC ); in locale_register_Locale_class()
/PHP-5.3/ext/intl/dateformat/
H A Ddateformat_class.c60 zend_object_value IntlDateFormatter_object_create(zend_class_entry *ce TSRMLS_DC) in IntlDateFormatter_object_create()
67 zend_object_std_init( &intern->zo, ce TSRMLS_CC ); in IntlDateFormatter_object_create()
189 zend_class_entry ce; in dateformat_register_IntlDateFormatter_class() local
192 INIT_CLASS_ENTRY( ce, "IntlDateFormatter", IntlDateFormatter_class_functions ); in dateformat_register_IntlDateFormatter_class()
193 ce.create_object = IntlDateFormatter_object_create; in dateformat_register_IntlDateFormatter_class()
194 IntlDateFormatter_ce_ptr = zend_register_internal_class( &ce TSRMLS_CC ); in dateformat_register_IntlDateFormatter_class()
/PHP-5.3/ext/intl/formatter/
H A Dformatter_class.c59 zend_object_value NumberFormatter_object_create(zend_class_entry *ce TSRMLS_DC) in NumberFormatter_object_create()
66 zend_object_std_init( &intern->zo, ce TSRMLS_CC ); in NumberFormatter_object_create()
198 zend_class_entry ce; in formatter_register_class() local
201 INIT_CLASS_ENTRY( ce, "NumberFormatter", NumberFormatter_class_functions ); in formatter_register_class()
202 ce.create_object = NumberFormatter_object_create; in formatter_register_class()
203 NumberFormatter_ce_ptr = zend_register_internal_class( &ce TSRMLS_CC ); in formatter_register_class()

Completed in 141 milliseconds

12345