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

123456

/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) argument
215 intern = (BreakIterator_object*)ecalloc(1, sizeof(BreakIterator_object) + sizeof(zval) * (ce->default_properties_count - 1));
217 zend_object_std_init(&intern->zo, ce);
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);
/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 );
/PHP_TRUNK/ext/intl/resourcebundle/
H A Dresourcebundle_iterator.h34 zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref );
/PHP_TRUNK/ext/pdo/
H A Dphp_pdo_int.h36 extern zend_object *pdo_dbh_new(zend_class_entry *ce);
41 extern zend_object *pdo_dbstmt_new(zend_class_entry *ce);
45 zend_object_iterator *pdo_stmt_iter_get(zend_class_entry *ce, zval *object, int by_ref);
50 extern zend_object *pdo_row_new(zend_class_entry *ce);
56 zend_object_iterator *php_pdo_dbstmt_iter_get(zend_class_entry *ce, zval *object);
/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);
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);
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);
135 zend_string * spl_gen_private_prop_name(zend_class_entry *ce, cha argument
[all...]
/PHP_TRUNK/Zend/
H A Dzend_interfaces.c131 ZEND_API void zend_user_it_new_iterator(zend_class_entry *ce, zval *object, zval *retval) 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) argument
278 zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, int by_ref) 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) 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) argument
[all...]
H A Dzend_objects.h28 ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce);
30 ZEND_API zend_object *zend_objects_new(zend_class_entry *ce);
H A Dzend_objects_API.h84 static zend_always_inline size_t zend_object_properties_size(zend_class_entry *ce) argument
87 (ce->default_properties_count -
88 ((ce->ce_flags & ZEND_ACC_USE_GUARDS) ? 0 : 1));
H A Dzend_objects.c29 ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce) argument
33 object->ce = ce;
36 if (EXPECTED(ce->default_properties_count != 0)) {
38 zval *end = p + ce->default_properties_count;
45 if (ce->ce_flags & ZEND_ACC_USE_GUARDS) {
47 ZVAL_UNDEF(&object->properties_table[ce->default_properties_count]);
48 Z_PTR(object->properties_table[ce->default_properties_count]) = NULL;
59 count = object->ce->default_properties_count;
74 zend_function *destructor = object ? object->ce
85 zend_class_entry *ce = object->ce; local
98 zend_class_entry *ce = object->ce; local
138 zend_objects_new(zend_class_entry *ce) argument
[all...]
H A Dzend_opcode.c138 ZEND_API void zend_cleanup_user_class_data(zend_class_entry *ce) argument
143 if (ce->ce_flags & ZEND_HAS_STATIC_IN_METHODS) {
146 ZEND_HASH_FOREACH_PTR(&ce->function_table, func) {
152 if (ce->static_members_table) {
153 zval *static_members = ce->static_members_table;
154 int count = ce->default_static_members_count;
157 ce->default_static_members_count = 0;
158 ce->default_static_members_table = ce->static_members_table = NULL;
166 ZEND_API void zend_cleanup_internal_class_data(zend_class_entry *ce) argument
184 _destroy_zend_class_traits_info(zend_class_entry *ce) argument
241 zend_class_entry *ce = Z_PTR_P(zv); local
323 zend_class_entry *ce = Z_PTR_P(zv); local
[all...]
H A Dzend_inheritance.c57 static zend_function *zend_duplicate_function(zend_function *func, zend_class_entry *ce) /* {{{ */ argument
62 if (UNEXPECTED(ce->type & ZEND_INTERNAL_CLASS)) {
91 static void do_inherit_parent_constructor(zend_class_entry *ce) /* {{{ */ argument
93 ZEND_ASSERT(ce->parent != NULL);
96 ce->create_object = ce->parent->create_object;
99 if (EXPECTED(!ce->get_iterator)) {
100 ce->get_iterator = ce->parent->get_iterator;
102 if (EXPECTED(!ce
578 do_inherit_method(zend_string *key, zend_function *parent, zend_class_entry *ce) argument
595 do_inherit_property(zend_property_info *parent_info, zend_string *key, zend_class_entry *ce) argument
648 do_implement_interface(zend_class_entry *ce, zend_class_entry *iface) argument
659 zend_do_inherit_interfaces(zend_class_entry *ce, const zend_class_entry *iface) argument
696 do_inherit_class_constant(zend_string *name, zval *zv, zend_class_entry *ce, zend_class_entry *parent_ce) argument
715 zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce) argument
895 do_inherit_iface_constant(zend_string *name, zval *zv, zend_class_entry *ce, zend_class_entry *iface) argument
908 zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface) argument
962 zend_do_implement_trait(zend_class_entry *ce, zend_class_entry *trait) argument
1003 zend_add_magic_methods(zend_class_entry* ce, zend_string* mname, zend_function* fe) argument
1049 zend_add_trait_method(zend_class_entry *ce, const char *name, zend_string *key, zend_function *fn, HashTable **overriden) argument
1124 zend_fixup_trait_method(zend_function *fn, zend_class_entry *ce) argument
1140 zend_traits_copy_functions(zend_string *fnname, zend_function *fn, zend_class_entry *ce, HashTable **overriden, HashTable *exclude_table) argument
1211 zend_check_trait_usage(zend_class_entry *ce, zend_class_entry *trait) argument
1228 zend_traits_init_trait_structures(zend_class_entry *ce) argument
1354 zend_do_traits_method_binding(zend_class_entry *ce) argument
1409 find_first_definition(zend_class_entry *ce, size_t current_trait, zend_string *prop_name, zend_class_entry *coliding_ce) argument
1425 zend_do_traits_property_binding(zend_class_entry *ce) argument
1528 zend_do_check_for_inconsistent_traits_aliasing(zend_class_entry *ce) argument
1578 zend_do_bind_traits(zend_class_entry *ce) argument
1611 zend_has_deprecated_constructor(const zend_class_entry *ce) argument
1625 zend_check_deprecated_constructor(const zend_class_entry *ce) argument
[all...]
H A Dzend_inheritance.h27 ZEND_API void zend_do_inherit_interfaces(zend_class_entry *ce, const zend_class_entry *iface);
28 ZEND_API void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface);
30 ZEND_API void zend_do_implement_trait(zend_class_entry *ce, zend_class_entry *trait);
31 ZEND_API void zend_do_bind_traits(zend_class_entry *ce);
33 ZEND_API void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce);
36 void zend_check_deprecated_constructor(const zend_class_entry *ce);
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) {
82 ZEND_HASH_FOREACH_PTR(&ce->properties_info, prop_info) {
83 if (/*prop_info->ce == ce &&*/
91 while (ce->parent && ce->parent->default_properties_count) {
92 ce
139 zend_class_entry *ce = Z_OBJCE_P(object); local
181 zend_class_entry *ce = Z_OBJCE_P(object); local
200 zend_class_entry *ce = Z_OBJCE_P(object); local
228 zend_class_entry *ce = Z_OBJCE_P(object); local
244 zend_class_entry *ce = Z_OBJCE_P(object); local
260 zend_verify_property_access(zend_property_info *property_info, zend_class_entry *ce) argument
288 zend_get_property_offset(zend_class_entry *ce, zend_string *member, int silent, void **cache_slot) argument
370 zend_get_property_info(zend_class_entry *ce, zend_string *member, int silent) argument
695 zend_class_entry *ce = Z_OBJCE_P(object); local
726 zend_class_entry *ce = Z_OBJCE_P(object); local
746 zend_class_entry *ce = Z_OBJCE_P(object); local
906 zend_class_entry *ce = Z_OBJCE_P(object); local
923 zend_class_entry *ce = Z_OBJCE_P(getThis()); local
940 zend_call_method_with_2_params(getThis(), ce, &ce->__call, ZEND_CALL_FUNC_NAME, &method_result, &method_name, &method_args); local
963 zend_check_private_int(zend_function *fbc, zend_class_entry *ce, zend_string *function_name) argument
1002 zend_check_private(zend_function *fbc, zend_class_entry *ce, zend_string *function_name) argument
1010 zend_check_protected(zend_class_entry *ce, zend_class_entry *scope) argument
1037 zend_get_user_call_function(zend_class_entry *ce, zend_string *method_name) argument
1149 zend_class_entry *ce = EG(scope); local
1184 zend_get_user_callstatic_function(zend_class_entry *ce, zend_string *method_name) argument
1208 zend_std_get_static_method(zend_class_entry *ce, zend_string *function_name, const zval *key) argument
1297 zend_std_get_static_property(zend_class_entry *ce, zend_string *property_name, zend_bool silent) argument
1333 zend_std_unset_static_property(zend_class_entry *ce, zend_string *property_name) argument
1540 zend_class_entry *ce; local
1600 zend_class_entry *ce; local
[all...]
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_class.c57 zend_object *Collator_object_create(zend_class_entry *ce )
61 intern = ecalloc(1, sizeof(Collator_object) + zend_object_properties_size(ce));
63 zend_object_std_init(&intern->zo, ce );
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 );
/PHP_TRUNK/ext/intl/formatter/
H A Dformatter_class.c55 zend_object *NumberFormatter_object_create(zend_class_entry *ce) argument
59 intern = ecalloc( 1, sizeof(NumberFormatter_object) + zend_object_properties_size(ce));
61 zend_object_std_init( &intern->zo, ce );
62 object_properties_init(&intern->zo, ce);
187 zend_class_entry ce; local
190 INIT_CLASS_ENTRY( ce, "NumberFormatter", NumberFormatter_class_functions );
191 ce.create_object = NumberFormatter_object_create;
192 NumberFormatter_ce_ptr = zend_register_internal_class( &ce );
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat_class.c55 zend_object *MessageFormatter_object_create(zend_class_entry *ce) argument
59 intern = ecalloc( 1, sizeof(MessageFormatter_object) + zend_object_properties_size(ce));
61 zend_object_std_init( &intern->zo, ce );
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 );
/PHP_TRUNK/ext/intl/spoofchecker/
H A Dspoofchecker_class.c52 zend_class_entry *ce)
56 intern = ecalloc(1, sizeof(Spoofchecker_object) + zend_object_properties_size(ce));
58 zend_object_std_init(&intern->zo, ce);
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);
51 Spoofchecker_object_create( zend_class_entry *ce) argument
/PHP_TRUNK/ext/opcache/
H A Dzend_persist.c600 prop->ce = zend_shared_alloc_get_xlat_entry(prop->ce);
617 zend_class_entry *ce = Z_PTR_P(zv); local
619 if (ce->type == ZEND_USER_CLASS) {
622 ce = Z_PTR_P(zv) = ZCG(arena_mem);
624 zend_accel_store_interned_string(ce->name);
625 zend_hash_persist(&ce->function_table, zend_persist_op_array);
626 if (ce->default_properties_table) {
629 zend_accel_store(ce->default_properties_table, sizeof(zval) * ce
738 zend_class_entry *ce = Z_PTR_P(zv); local
[all...]
H A Dzend_persist_calc.c281 zend_class_entry *ce = Z_PTR_P(zv); local
283 if (ce->type == ZEND_USER_CLASS) {
285 ADD_INTERNED_STRING(ce->name, 0);
286 zend_hash_persist_calc(&ce->function_table, zend_persist_op_array_calc);
287 if (ce->default_properties_table) {
290 ADD_SIZE(sizeof(zval) * ce->default_properties_count);
291 for (i = 0; i < ce->default_properties_count; i++) {
292 zend_persist_zval_calc(&ce->default_properties_table[i]);
295 if (ce->default_static_members_table) {
298 ADD_SIZE(sizeof(zval) * ce
[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) == 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/dom/
H A Dphp_dom.c209 int dom_set_doc_classmap(php_libxml_ref_obj *document, zend_class_entry *basece, zend_class_entry *ce) argument
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)) {
340 php_error(E_WARNING, "Couldn't fetch %s. Node no longer exists", obj->std.ce->name->val);
507 dom_object *clone = dom_objects_set_class(intern->std.ce,
595 zend_class_entry ce; local
1177 zend_class_entry *ce; local
1192 zend_class_entry *ce; local
[all...]
/PHP_TRUNK/ext/mysqli/
H A Dmysqli.c499 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", intern->zo.ce->name->val);
570 zend_class_entry *ce,cex; local
621 ce = mysqli_driver_class_entry;
624 zend_declare_property_null(ce, "client_info", sizeof("client_info") - 1, ZEND_ACC_PUBLIC);
625 zend_declare_property_null(ce, "client_version", sizeof("client_version") - 1, ZEND_ACC_PUBLIC);
626 zend_declare_property_null(ce, "driver_version", sizeof("driver_version") - 1, ZEND_ACC_PUBLIC);
627 zend_declare_property_null(ce, "embedded", sizeof("embedded") - 1, ZEND_ACC_PUBLIC);
628 zend_declare_property_null(ce, "reconnect", sizeof("reconnect") - 1, ZEND_ACC_PUBLIC);
629 zend_declare_property_null(ce, "report_mode", sizeof("report_mode") - 1, ZEND_ACC_PUBLIC);
630 ce
1234 zend_class_entry *ce = NULL; 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)) { \
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:__anon41
334 intern->zo.ce = class_type;
353 static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *indent);
358 static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *indent) argument
367 if (ce->type == ZEND_USER_CLASS && ce
974 zend_class_entry *ce = (zend_class_entry*)Z_PTR_P(el); local
1159 zend_reflection_class_factory(zend_class_entry *ce, zval *object) argument
1257 reflection_method_factory(zend_class_entry *ce, zend_function *method, zval *closure_object, zval *object) argument
1281 reflection_property_factory(zend_class_entry *ce, zend_property_info *prop, zval *object) argument
2129 zend_class_entry *ce = NULL; local
2387 zend_class_entry *ce; local
2709 zend_class_entry *ce; local
3331 zend_class_entry *ce; local
3384 add_class_vars(zend_class_entry *ce, int statics, zval *return_value) argument
3429 zend_class_entry *ce; local
3449 zend_class_entry *ce; local
3480 zend_class_entry *ce; local
3507 zend_class_entry *ce; local
3525 zend_class_entry *ce; local
3554 zend_class_entry *ce; local
3569 zend_class_entry *ce; local
3584 zend_class_entry *ce; local
3602 zend_class_entry *ce; local
3620 zend_class_entry *ce; local
3638 zend_class_entry *ce; local
3656 zend_class_entry *ce; local
3676 zend_class_entry *ce; local
3704 zend_class_entry *ce; local
3746 _addmethod(zend_function *mptr, zend_class_entry *ce, zval *retval, zend_long filter, zval *obj) argument
3771 zend_class_entry *ce = *va_arg(args, zend_class_entry**); local
3786 zend_class_entry *ce; local
3820 zend_class_entry *ce; local
3854 zend_class_entry *ce, *ce2; local
3927 zend_class_entry *ce = *va_arg(args, zend_class_entry**); local
3947 zend_class_entry *ce = *va_arg(args, zend_class_entry**); local
3981 zend_class_entry *ce; local
4012 zend_class_entry *ce; local
4034 zend_class_entry *ce; local
4051 zend_class_entry *ce; local
4073 zend_class_entry *ce; local
4088 zend_class_entry *ce; local
4113 zend_class_entry *ce; local
4178 zend_class_entry *ce; local
4194 zend_class_entry *ce; local
4212 zend_class_entry *ce, *old_scope; local
4284 zend_class_entry *ce; local
4303 zend_class_entry *ce, *old_scope; local
4389 zend_class_entry *ce; local
4416 zend_class_entry *ce; local
4438 zend_class_entry *ce; local
4461 zend_class_entry *ce; local
4482 zend_class_entry *ce; local
4514 zend_class_entry *ce; local
4534 zend_class_entry *ce, *class_ce; local
4578 zend_class_entry *ce, *interface_ce; local
4627 zend_class_entry *ce; local
4645 zend_class_entry *ce; local
4665 zend_class_entry *ce; local
4785 zend_class_entry *ce; local
5094 zend_class_entry *tmp_ce, *ce; local
5360 zend_class_entry *ce = Z_PTR_P(zv); local
[all...]
/PHP_TRUNK/ext/xsl/
H A Dphp_xsl.h88 #define REGISTER_XSL_CLASS(ce, name, parent_ce, funcs, entry) \
89 INIT_CLASS_ENTRY(ce, name, funcs); \
90 ce.create_object = xsl_objects_new; \
91 entry = zend_register_internal_class_ex(&ce, parent_ce);

Completed in 53 milliseconds

123456