Searched refs:ce (Results 1 - 25 of 133) sorted by relevance

123456

/PHP_TRUNK/Zend/
H A Dzend_objects.h28 ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC);
30 ZEND_API zend_object *zend_objects_new(zend_class_entry *ce TSRMLS_DC);
H A Dzend_inheritance.h27 ZEND_API void zend_do_inherit_interfaces(zend_class_entry *ce, const zend_class_entry *iface TSRMLS_DC);
28 ZEND_API void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC);
30 ZEND_API void zend_do_implement_trait(zend_class_entry *ce, zend_class_entry *trait TSRMLS_DC);
31 ZEND_API void zend_do_bind_traits(zend_class_entry *ce TSRMLS_DC);
33 ZEND_API void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce TSRMLS_DC);
H A Dzend_opcode.c139 ZEND_API void zend_cleanup_user_class_data(zend_class_entry *ce TSRMLS_DC)
144 if (ce->ce_flags & ZEND_HAS_STATIC_IN_METHODS) {
147 ZEND_HASH_FOREACH_PTR(&ce->function_table, func) {
153 if (ce->static_members_table) {
156 for (i = 0; i < ce->default_static_members_count; i++) {
157 if (Z_TYPE(ce->static_members_table[i]) != IS_UNDEF) {
160 ZVAL_COPY_VALUE(&tmp, &ce->static_members_table[i]);
161 ZVAL_UNDEF(&ce->static_members_table[i]);
165 ce->static_members_table = NULL;
169 ZEND_API void zend_cleanup_internal_class_data(zend_class_entry *ce TSRMLS_D
186 _destroy_zend_class_traits_info(zend_class_entry *ce) argument
237 zend_class_entry *ce = Z_PTR_P(zv); local
311 zend_class_entry *ce = Z_PTR_P(zv); local
[all...]
H A Dzend_objects.c29 ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC)
33 object->ce = ce;
37 if (EXPECTED(ce->default_properties_count != 0)) {
39 zval *end = p + ce->default_properties_count;
60 for (i = 0; i < object->ce->default_properties_count; i++) {
67 zend_function *destructor = object ? object->ce->destructor : NULL;
77 if (object->ce != EG(scope)) {
78 zend_class_entry *ce = object->ce; local
91 zend_class_entry *ce = object->ce; local
[all...]
H A Dzend_interfaces.c131 ZEND_API void zend_user_it_new_iterator(zend_class_entry *ce, zval *object, zval *retval TSRMLS_DC) argument
133 zend_call_method_with_0_params(object, ce, &ce->iterator_funcs.zf_new_iterator, "getiterator", retval);
169 zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs.zf_valid, "valid", &more);
187 zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs.zf_current, "current", &iter->value);
210 zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs.zf_key, "key", &retval);
216 zend_error(E_WARNING, "Nothing returned from %s::key()", iter->ce
257 zend_user_it_get_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) argument
278 zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) argument
411 zend_class_entry * ce = Z_OBJCE_P(object); local
446 zend_user_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, zend_unserialize_data *data TSRMLS_DC) argument
468 zend_class_entry *ce = Z_OBJCE_P(object); local
474 zend_class_unserialize_deny(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, zend_unserialize_data *data TSRMLS_DC) argument
[all...]
H A Dzend_object_handlers.c75 zend_class_entry *ce = zobj->ce; local
78 zend_hash_init(zobj->properties, ce->default_properties_count, NULL, ZVAL_PTR_DTOR, 0);
79 if (ce->default_properties_count) {
80 ZEND_HASH_FOREACH_PTR(&ce->properties_info, prop_info) {
81 if (/*prop_info->ce == ce &&*/
90 while (ce->parent && ce->parent->default_properties_count) {
91 ce
138 zend_class_entry *ce = Z_OBJCE_P(object); local
182 zend_class_entry *ce = Z_OBJCE_P(object); local
201 zend_class_entry *ce = Z_OBJCE_P(object); local
229 zend_class_entry *ce = Z_OBJCE_P(object); local
245 zend_class_entry *ce = Z_OBJCE_P(object); local
289 zend_get_property_info_quick(zend_class_entry *ce, zend_string *member, int silent, int allow_static, void **cache_slot TSRMLS_DC) argument
373 zend_get_property_info(zend_class_entry *ce, zend_string *member, int silent TSRMLS_DC) argument
657 zend_class_entry *ce = Z_OBJCE_P(object); local
688 zend_class_entry *ce = Z_OBJCE_P(object); local
708 zend_class_entry *ce = Z_OBJCE_P(object); local
864 zend_class_entry *ce = Z_OBJCE_P(object); local
881 zend_class_entry *ce = Z_OBJCE_P(getThis()); local
898 zend_call_method_with_2_params(getThis(), ce, &ce->__call, ZEND_CALL_FUNC_NAME, &method_result, &method_name, &method_args); local
918 zend_check_private_int(zend_function *fbc, zend_class_entry *ce, zend_string *function_name TSRMLS_DC) argument
957 zend_check_private(zend_function *fbc, zend_class_entry *ce, zend_string *function_name TSRMLS_DC) argument
965 zend_check_protected(zend_class_entry *ce, zend_class_entry *scope) argument
992 zend_get_user_call_function(zend_class_entry *ce, zend_string *method_name) argument
1099 zend_class_entry *ce = EG(scope); local
1131 zend_get_user_callstatic_function(zend_class_entry *ce, zend_string *method_name) argument
1155 zend_std_get_static_method(zend_class_entry *ce, zend_string *function_name, const zval *key TSRMLS_DC) argument
1243 zend_std_get_static_property(zend_class_entry *ce, zend_string *property_name, zend_bool silent, void **cache_slot TSRMLS_DC) argument
1290 zend_std_unset_static_property(zend_class_entry *ce, zend_string *property_name, void **cache_slot TSRMLS_DC) argument
1492 zend_class_entry *ce; local
1552 zend_class_entry *ce; local
[all...]
H A Dzend_inheritance.c55 static void do_inherit_parent_constructor(zend_class_entry *ce TSRMLS_DC) /* {{{ */
59 if (!ce->parent) {
64 ce->create_object = ce->parent->create_object;
67 if (!ce->get_iterator) {
68 ce->get_iterator = ce->parent->get_iterator;
70 if (!ce->iterator_funcs.funcs) {
71 ce->iterator_funcs.funcs = ce
620 do_implement_interface(zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC) argument
631 zend_do_inherit_interfaces(zend_class_entry *ce, const zend_class_entry *iface TSRMLS_DC) argument
676 do_inherit_class_constant(zend_string *name, zval *zv, zend_class_entry *ce, zend_class_entry *parent_ce TSRMLS_DC) argument
694 zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce TSRMLS_DC) argument
858 do_inherit_iface_constant(zend_string *name, zval *zv, zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC) argument
871 zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC) argument
924 zend_do_implement_trait(zend_class_entry *ce, zend_class_entry *trait TSRMLS_DC) argument
965 zend_add_magic_methods(zend_class_entry* ce, zend_string* mname, zend_function* fe TSRMLS_DC) argument
1008 zend_add_trait_method(zend_class_entry *ce, const char *name, zend_string *key, zend_function *fn, HashTable **overriden TSRMLS_DC) argument
1083 zend_fixup_trait_method(zend_function *fn, zend_class_entry *ce) argument
1099 zend_traits_copy_functions(zend_string *fnname, zend_function *fn, zend_class_entry *ce, HashTable **overriden, HashTable *exclude_table TSRMLS_DC) argument
1171 zend_check_trait_usage(zend_class_entry *ce, zend_class_entry *trait TSRMLS_DC) argument
1359 find_first_definition(zend_class_entry *ce, size_t current_trait, zend_string *prop_name, zend_class_entry *coliding_ce) argument
[all...]
/PHP_TRUNK/ext/intl/breakiterator/
H A Dbreakiterator_class.cpp53 zend_class_entry *ce; local
56 ce = RuleBasedBreakIterator_ce_ptr;
58 ce = CodePointBreakIterator_ce_ptr;
60 ce = BreakIterator_ce_ptr;
64 object_init_ex(object, ce);
211 static zend_object *BreakIterator_object_create(zend_class_entry *ce TSRMLS_DC)
215 intern = (BreakIterator_object*)ecalloc(1, sizeof(BreakIterator_object) + sizeof(zval) * (ce->default_properties_count - 1));
217 zend_object_std_init(&intern->zo, ce TSRMLS_CC);
218 object_properties_init((zend_object*) intern, ce);
321 zend_class_entry ce; local
[all...]
H A Dbreakiterator_iterators.h39 zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC);
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_class.c57 zend_object *Collator_object_create(zend_class_entry *ce TSRMLS_DC )
61 intern = ecalloc(1, sizeof(Collator_object) + sizeof(zval) * (ce->default_properties_count - 1));
63 zend_object_std_init(&intern->zo, ce TSRMLS_CC );
64 object_properties_init(&intern->zo, ce);
128 zend_class_entry ce; local
131 INIT_CLASS_ENTRY( ce, "Collator", Collator_class_functions );
132 ce.create_object = Collator_object_create;
133 Collator_ce_ptr = zend_register_internal_class( &ce TSRMLS_CC );
/PHP_TRUNK/ext/intl/formatter/
H A Dformatter_class.c57 zend_object *NumberFormatter_object_create(zend_class_entry *ce TSRMLS_DC)
61 intern = ecalloc( 1, sizeof(NumberFormatter_object) + sizeof(zval) * (ce->default_properties_count - 1) );
63 zend_object_std_init( &intern->zo, ce TSRMLS_CC );
64 object_properties_init(&intern->zo, ce);
189 zend_class_entry ce; local
192 INIT_CLASS_ENTRY( ce, "NumberFormatter", NumberFormatter_class_functions );
193 ce.create_object = NumberFormatter_object_create;
194 NumberFormatter_ce_ptr = zend_register_internal_class( &ce TSRMLS_CC );
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat_class.c55 zend_object *MessageFormatter_object_create(zend_class_entry *ce TSRMLS_DC)
59 intern = ecalloc( 1, sizeof(MessageFormatter_object) + sizeof(zval) * (ce->default_properties_count - 1));
61 zend_object_std_init( &intern->zo, ce TSRMLS_CC );
62 object_properties_init(&intern->zo, ce);
155 zend_class_entry ce; local
158 INIT_CLASS_ENTRY( ce, "MessageFormatter", MessageFormatter_class_functions );
159 ce.create_object = MessageFormatter_object_create;
160 MessageFormatter_ce_ptr = zend_register_internal_class( &ce TSRMLS_CC );
/PHP_TRUNK/ext/intl/normalizer/
H A Dnormalizer_class.c56 zend_class_entry ce; local
59 INIT_CLASS_ENTRY( ce, "Normalizer", Normalizer_class_functions );
60 ce.create_object = NULL;
61 Normalizer_ce_ptr = zend_register_internal_class( &ce TSRMLS_CC );
/PHP_TRUNK/ext/intl/resourcebundle/
H A Dresourcebundle_iterator.h34 zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref TSRMLS_DC );
/PHP_TRUNK/ext/intl/spoofchecker/
H A Dspoofchecker_class.c52 zend_class_entry *ce TSRMLS_DC)
56 intern = ecalloc(1, sizeof(Spoofchecker_object) + sizeof(zval) * (ce->default_properties_count - 1));
58 zend_object_std_init(&intern->zo, ce TSRMLS_CC);
59 object_properties_init(&intern->zo, ce);
139 zend_class_entry ce; local
142 INIT_CLASS_ENTRY(ce, "Spoofchecker", Spoofchecker_class_functions);
143 ce.create_object = Spoofchecker_object_create;
144 Spoofchecker_ce_ptr = zend_register_internal_class(&ce TSRMLS_CC);
/PHP_TRUNK/ext/mysqli/
H A Dmysqli.c500 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Couldn't fetch %s", intern->zo.ce->name->val);
568 zend_class_entry *ce,cex; local
619 ce = mysqli_driver_class_entry;
622 zend_declare_property_null(ce, "client_info", sizeof("client_info") - 1, ZEND_ACC_PUBLIC TSRMLS_CC);
623 zend_declare_property_null(ce, "client_version", sizeof("client_version") - 1, ZEND_ACC_PUBLIC TSRMLS_CC);
624 zend_declare_property_null(ce, "driver_version", sizeof("driver_version") - 1, ZEND_ACC_PUBLIC TSRMLS_CC);
625 zend_declare_property_null(ce, "embedded", sizeof("embedded") - 1, ZEND_ACC_PUBLIC TSRMLS_CC);
626 zend_declare_property_null(ce, "reconnect", sizeof("reconnect") - 1, ZEND_ACC_PUBLIC TSRMLS_CC);
627 zend_declare_property_null(ce, "report_mode", sizeof("report_mode") - 1, ZEND_ACC_PUBLIC TSRMLS_CC);
628 ce
1243 zend_class_entry *ce = NULL; local
[all...]
/PHP_TRUNK/ext/pdo/
H A Dphp_pdo_int.h36 extern zend_object *pdo_dbh_new(zend_class_entry *ce TSRMLS_DC);
41 extern zend_object *pdo_dbstmt_new(zend_class_entry *ce TSRMLS_DC);
45 zend_object_iterator *pdo_stmt_iter_get(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC);
50 extern zend_object *pdo_row_new(zend_class_entry *ce TSRMLS_DC);
56 zend_object_iterator *php_pdo_dbstmt_iter_get(zend_class_entry *ce, zval *object TSRMLS_DC);
/PHP_TRUNK/ext/spl/
H A Dspl_functions.c33 zend_class_entry ce; local
35 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), functions);
36 *ppce = zend_register_internal_interface(&ce TSRMLS_CC);
43 zend_class_entry ce; local
45 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), function_list);
46 *ppce = zend_register_internal_class(&ce TSRMLS_CC);
58 zend_class_entry ce; local
60 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), function_list);
61 *ppce = zend_register_internal_class_ex(&ce, parent_ce TSRMLS_CC);
135 zend_string * spl_gen_private_prop_name(zend_class_entry *ce, cha argument
[all...]
/PHP_TRUNK/ext/xsl/
H A Dphp_xsl.h85 #define REGISTER_XSL_CLASS(ce, name, parent_ce, funcs, entry) \
86 INIT_CLASS_ENTRY(ce, name, funcs); \
87 ce.create_object = xsl_objects_new; \
88 entry = zend_register_internal_class_ex(&ce, parent_ce TSRMLS_CC);
/PHP_TRUNK/ext/opcache/
H A Dzend_persist.c520 zend_class_entry *ce = Z_PTR_P(zv); local
522 if (ce->type == ZEND_USER_CLASS) {
525 ce = Z_PTR_P(zv) = ZCG(arena_mem);
527 zend_accel_store_interned_string(ce->name);
528 zend_hash_persist(&ce->function_table, zend_persist_op_array TSRMLS_CC);
529 if (ce->default_properties_table) {
532 zend_accel_store(ce->default_properties_table, sizeof(zval) * ce->default_properties_count);
533 for (i = 0; i < ce->default_properties_count; i++) {
534 zend_persist_zval(&ce
641 zend_class_entry *ce = Z_PTR_P(zv); local
[all...]
H A Dzend_persist_calc.c254 zend_class_entry *ce = Z_PTR_P(zv); local
256 if (ce->type == ZEND_USER_CLASS) {
258 ADD_INTERNED_STRING(ce->name, 0);
259 zend_hash_persist_calc(&ce->function_table, zend_persist_op_array_calc TSRMLS_CC);
260 if (ce->default_properties_table) {
263 ADD_SIZE(sizeof(zval) * ce->default_properties_count);
264 for (i = 0; i < ce->default_properties_count; i++) {
265 zend_persist_zval_calc(&ce->default_properties_table[i] TSRMLS_CC);
268 if (ce->default_static_members_table) {
271 ADD_SIZE(sizeof(zval) * ce
[all...]
H A Dzend_accelerator_util_funcs.c71 zend_class_entry *ce = Z_PTR_P(zv); local
72 ce->function_table.pDestructor = zend_accel_destroy_zend_function;
372 static void zend_hash_clone_methods(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce TSRMLS_DC)
429 new_entry->scope = ce;
434 zend_error(E_ERROR, ACCELERATOR_PRODUCT_NAME " class loading error, class %s, function %s", ce->name->val, new_entry->function_name->val);
443 zend_error(E_ERROR, ACCELERATOR_PRODUCT_NAME " class loading error, class %s, function %s", ce->name->val, new_entry->function_name->val);
449 static void zend_hash_clone_prop_info(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce TSRMLS_DC)
505 if (prop_info->ce == old_ce) {
506 prop_info->ce = ce;
547 zend_class_entry *ce = *pce; local
[all...]
/PHP_TRUNK/ext/dom/
H A Dphp_dom.c209 int dom_set_doc_classmap(php_libxml_ref_obj *document, zend_class_entry *basece, zend_class_entry *ce TSRMLS_DC)
216 if (ce == NULL) {
222 if (ce) {
223 zend_hash_update_ptr(doc_props->classmap, basece->name, ce);
238 zend_class_entry *ce = zend_hash_find_ptr(doc_props->classmap, basece->name); local
239 if (ce) {
240 return ce;
339 } else if (instanceof_function(obj->std.ce, dom_node_class_entry TSRMLS_CC)) {
340 php_error(E_WARNING, "Couldn't fetch %s. Node no longer exists", obj->std.ce->name->val);
518 dom_object *clone = dom_objects_set_class(intern->std.ce,
606 zend_class_entry ce; local
1188 zend_class_entry *ce; local
1203 zend_class_entry *ce; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_print.c155 zend_class_entry *ce; local
157 if (phpdbg_safe_class_lookup(param->str, param->len, &ce TSRMLS_CC) == SUCCESS) {
159 (ce->type == ZEND_USER_CLASS) ?
161 (ce->ce_flags & ZEND_ACC_INTERFACE) ?
163 (ce->ce_flags & ZEND_ACC_ABSTRACT) ?
166 ce->name->val,
167 zend_hash_num_elements(&ce->function_table));
171 if (zend_hash_num_elements(&ce->function_table)) {
174 ZEND_HASH_FOREACH_PTR(&ce->function_table, method) {
189 zend_class_entry *ce; local
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c85 #define METHOD_NOTSTATIC(ce) \
86 if (!Z_OBJ(EX(This)) || !instanceof_function(Z_OBJCE(EX(This)), ce TSRMLS_CC)) { \
97 if (EG(exception) && EG(exception)->ce == reflection_exception_ptr) { \
189 zend_class_entry *ce; member in struct:_property_reference
214 zend_class_entry *ce; member in struct:__anon2
333 intern->zo.ce = class_type;
352 static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *indent TSRMLS_DC);
357 static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *indent TSRMLS_DC) argument
366 if (ce->type == ZEND_USER_CLASS && ce
991 zend_class_entry *ce = (zend_class_entry*)Z_PTR_P(el); local
1179 zend_reflection_class_factory(zend_class_entry *ce, zval *object TSRMLS_DC) argument
1273 reflection_method_factory(zend_class_entry *ce, zend_function *method, zval *closure_object, zval *object TSRMLS_DC) argument
1297 reflection_property_factory(zend_class_entry *ce, zend_property_info *prop, zval *object TSRMLS_DC) argument
2128 zend_class_entry *ce = NULL; local
2362 zend_class_entry *ce; local
2670 zend_class_entry *ce; local
3292 zend_class_entry *ce; local
3345 add_class_vars(zend_class_entry *ce, int statics, zval *return_value TSRMLS_DC) argument
3391 zend_class_entry *ce; local
3411 zend_class_entry *ce; local
3442 zend_class_entry *ce; local
3469 zend_class_entry *ce; local
3487 zend_class_entry *ce; local
3516 zend_class_entry *ce; local
3531 zend_class_entry *ce; local
3546 zend_class_entry *ce; local
3564 zend_class_entry *ce; local
3582 zend_class_entry *ce; local
3600 zend_class_entry *ce; local
3618 zend_class_entry *ce; local
3638 zend_class_entry *ce; local
3666 zend_class_entry *ce; local
3708 _addmethod(zend_function *mptr, zend_class_entry *ce, zval *retval, zend_long filter, zval *obj TSRMLS_DC) argument
3733 zend_class_entry *ce = *va_arg(args, zend_class_entry**); local
3748 zend_class_entry *ce; local
3782 zend_class_entry *ce; local
3816 zend_class_entry *ce, *ce2; local
3889 zend_class_entry *ce = *va_arg(args, zend_class_entry**); local
3909 zend_class_entry *ce = *va_arg(args, zend_class_entry**); local
3942 zend_class_entry *ce; local
3973 zend_class_entry *ce; local
3995 zend_class_entry *ce; local
4012 zend_class_entry *ce; local
4034 zend_class_entry *ce; local
4049 zend_class_entry *ce; local
4074 zend_class_entry *ce; local
4139 zend_class_entry *ce; local
4155 zend_class_entry *ce; local
4173 zend_class_entry *ce, *old_scope; local
4245 zend_class_entry *ce; local
4264 zend_class_entry *ce, *old_scope; local
4350 zend_class_entry *ce; local
4377 zend_class_entry *ce; local
4399 zend_class_entry *ce; local
4422 zend_class_entry *ce; local
4443 zend_class_entry *ce; local
4475 zend_class_entry *ce; local
4495 zend_class_entry *ce, *class_ce; local
4539 zend_class_entry *ce, *interface_ce; local
4588 zend_class_entry *ce; local
4606 zend_class_entry *ce; local
4626 zend_class_entry *ce; local
4746 zend_class_entry *ce; local
5054 zend_class_entry *tmp_ce, *ce; local
5323 zend_class_entry *ce = Z_PTR_P(zv); local
[all...]

Completed in 36 milliseconds

123456