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

123456

/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/Zend/
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_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_interfaces.h37 zend_class_entry *ce; member in struct:_zend_user_iterator
54 zend_class_entry ce;\
55 INIT_CLASS_ENTRY(ce, # class_name_str, zend_funcs_ ## class_name) \
56 zend_ce_ ## class_name = zend_register_internal_interface(&ce);\
70 ZEND_API void zend_user_it_new_iterator(zend_class_entry *ce, zval *object, zval *iterator);
71 ZEND_API zend_object_iterator *zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, int by_ref);
76 ZEND_API int zend_user_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, zend_unserialize_data *data);
79 ZEND_API int zend_class_unserialize_deny(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, zend_unserialize_data *data);
H A Dzend_interfaces.c134 ZEND_API void zend_user_it_new_iterator(zend_class_entry *ce, zval *object, zval *retval) argument
136 zend_call_method_with_0_params(object, ce, &ce->iterator_funcs.zf_new_iterator, "getiterator", retval);
172 zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs.zf_valid, "valid", &more);
190 zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs.zf_current, "current", &iter->value);
213 zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs.zf_key, "key", &retval);
219 zend_error(E_WARNING, "Nothing returned from %s::key()", ZSTR_VAL(iter->ce
260 zend_user_it_get_iterator(zend_class_entry *ce, zval *object, int by_ref) argument
282 zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, int by_ref) argument
415 zend_class_entry * ce = Z_OBJCE_P(object); local
450 zend_user_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, zend_unserialize_data *data) argument
474 zend_class_entry *ce = Z_OBJCE_P(object); local
480 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_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
587 do_inherit_method(zend_string *key, zend_function *parent, zend_class_entry *ce) argument
604 do_inherit_property(zend_property_info *parent_info, zend_string *key, zend_class_entry *ce) argument
657 do_implement_interface(zend_class_entry *ce, zend_class_entry *iface) argument
668 zend_do_inherit_interfaces(zend_class_entry *ce, const zend_class_entry *iface) argument
705 do_inherit_class_constant(zend_string *name, zval *zv, zend_class_entry *ce, zend_class_entry *parent_ce) argument
724 zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce) argument
917 do_inherit_iface_constant(zend_string *name, zval *zv, zend_class_entry *ce, zend_class_entry *iface) argument
936 zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface) argument
990 zend_do_implement_trait(zend_class_entry *ce, zend_class_entry *trait) argument
1031 zend_add_magic_methods(zend_class_entry* ce, zend_string* mname, zend_function* fe) argument
1077 zend_add_trait_method(zend_class_entry *ce, const char *name, zend_string *key, zend_function *fn, HashTable **overriden) argument
1154 zend_fixup_trait_method(zend_function *fn, zend_class_entry *ce) argument
1170 zend_traits_copy_functions(zend_string *fnname, zend_function *fn, zend_class_entry *ce, HashTable **overriden, HashTable *exclude_table) argument
1242 zend_check_trait_usage(zend_class_entry *ce, zend_class_entry *trait) argument
1259 zend_traits_init_trait_structures(zend_class_entry *ce) argument
1385 zend_do_traits_method_binding(zend_class_entry *ce) argument
1440 find_first_definition(zend_class_entry *ce, size_t current_trait, zend_string *prop_name, zend_class_entry *coliding_ce) argument
1456 zend_do_traits_property_binding(zend_class_entry *ce) argument
1553 zend_do_check_for_inconsistent_traits_aliasing(zend_class_entry *ce) argument
1603 zend_do_bind_traits(zend_class_entry *ce) argument
1636 zend_has_deprecated_constructor(const zend_class_entry *ce) argument
1650 zend_check_deprecated_constructor(const zend_class_entry *ce) argument
[all...]
H A Dzend_object_handlers.c76 zend_class_entry *ce = zobj->ce; local
79 zend_hash_init(zobj->properties, ce->default_properties_count, NULL, ZVAL_PTR_DTOR, 0);
80 if (ce->default_properties_count) {
83 ZEND_HASH_FOREACH_PTR(&ce->properties_info, prop_info) {
84 if (/*prop_info->ce == ce &&*/
95 while (ce->parent && ce->parent->default_properties_count) {
96 ce
152 zend_class_entry *ce = Z_OBJCE_P(object); local
194 zend_class_entry *ce = Z_OBJCE_P(object); local
213 zend_class_entry *ce = Z_OBJCE_P(object); local
241 zend_class_entry *ce = Z_OBJCE_P(object); local
257 zend_class_entry *ce = Z_OBJCE_P(object); local
273 zend_verify_property_access(zend_property_info *property_info, zend_class_entry *ce) argument
300 zend_get_property_offset(zend_class_entry *ce, zend_string *member, int silent, void **cache_slot) argument
382 zend_get_property_info(zend_class_entry *ce, zend_string *member, int silent) argument
713 zend_class_entry *ce = Z_OBJCE_P(object); local
744 zend_class_entry *ce = Z_OBJCE_P(object); local
764 zend_class_entry *ce = Z_OBJCE_P(object); local
945 zend_class_entry *ce = Z_OBJCE_P(object); local
961 zend_check_private_int(zend_function *fbc, zend_class_entry *ce, zend_string *function_name) argument
1000 zend_check_private(zend_function *fbc, zend_class_entry *ce, zend_string *function_name) argument
1008 zend_check_protected(zend_class_entry *ce, zend_class_entry *scope) argument
1035 zend_get_call_trampoline_func(zend_class_entry *ce, zend_string *method_name, int is_static) argument
1077 zend_get_user_call_function(zend_class_entry *ce, zend_string *method_name) argument
1168 zend_get_user_callstatic_function(zend_class_entry *ce, zend_string *method_name) argument
1174 zend_std_get_static_method(zend_class_entry *ce, zend_string *function_name, const zval *key) argument
1272 zend_std_get_static_property(zend_class_entry *ce, zend_string *property_name, zend_bool silent) argument
1312 zend_std_unset_static_property(zend_class_entry *ce, zend_string *property_name) argument
1525 zend_class_entry *ce; local
1585 zend_class_entry *ce; local
[all...]
H A Dzend_objects.c29 ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce) argument
35 object->ce = ce;
39 if (EXPECTED(ce->default_properties_count != 0)) {
40 end = p + ce->default_properties_count;
46 if (UNEXPECTED(ce->ce_flags & ZEND_ACC_USE_GUARDS)) {
65 if (EXPECTED(object->ce->default_properties_count)) {
66 end = p + object->ce->default_properties_count;
83 zend_function *destructor = object ? object->ce->destructor : NULL;
93 if (object->ce !
94 zend_class_entry *ce = object->ce; local
113 zend_class_entry *ce = object->ce; local
159 zend_objects_new(zend_class_entry *ce) argument
[all...]
H A Dzend_opcode.c141 ZEND_API void zend_cleanup_user_class_data(zend_class_entry *ce) argument
146 if (ce->ce_flags & ZEND_HAS_STATIC_IN_METHODS) {
149 ZEND_HASH_FOREACH_PTR(&ce->function_table, func) {
155 if (ce->static_members_table) {
156 zval *static_members = ce->static_members_table;
158 zval *end = p + ce->default_static_members_count;
161 ce->default_static_members_count = 0;
162 ce->default_static_members_table = ce->static_members_table = NULL;
171 ZEND_API void zend_cleanup_internal_class_data(zend_class_entry *ce) argument
192 _destroy_zend_class_traits_info(zend_class_entry *ce) argument
249 zend_class_entry *ce = Z_PTR_P(zv); local
333 zend_class_entry *ce = Z_PTR_P(zv); 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/intl/dateformat/
H A Ddateformat_class.c60 zend_object *IntlDateFormatter_object_create(zend_class_entry *ce) argument
64 intern = ecalloc( 1, sizeof(IntlDateFormatter_object) + zend_object_properties_size(ce));
66 zend_object_std_init( &intern->zo, ce );
67 object_properties_init(&intern->zo, ce);
192 zend_class_entry ce; local
195 INIT_CLASS_ENTRY( ce, "IntlDateFormatter", IntlDateFormatter_class_functions );
196 ce.create_object = IntlDateFormatter_object_create;
197 IntlDateFormatter_ce_ptr = zend_register_internal_class( &ce );
/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...]
/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/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", ZSTR_VAL(obj->std.ce->name));
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.c494 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(intern->zo.ce->name));
565 zend_class_entry *ce,cex; local
616 ce = mysqli_driver_class_entry;
619 zend_declare_property_null(ce, "client_info", sizeof("client_info") - 1, ZEND_ACC_PUBLIC);
620 zend_declare_property_null(ce, "client_version", sizeof("client_version") - 1, ZEND_ACC_PUBLIC);
621 zend_declare_property_null(ce, "driver_version", sizeof("driver_version") - 1, ZEND_ACC_PUBLIC);
622 zend_declare_property_null(ce, "embedded", sizeof("embedded") - 1, ZEND_ACC_PUBLIC);
623 zend_declare_property_null(ce, "reconnect", sizeof("reconnect") - 1, ZEND_ACC_PUBLIC);
624 zend_declare_property_null(ce, "report_mode", sizeof("report_mode") - 1, ZEND_ACC_PUBLIC);
625 ce
1229 zend_class_entry *ce = NULL; local
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_persist_calc.c290 zend_class_entry *ce = Z_PTR_P(zv); local
292 if (ce->type == ZEND_USER_CLASS) {
294 ADD_INTERNED_STRING(ce->name, 0);
295 zend_hash_persist_calc(&ce->function_table, zend_persist_op_array_calc);
296 if (ce->default_properties_table) {
299 ADD_SIZE(sizeof(zval) * ce->default_properties_count);
300 for (i = 0; i < ce->default_properties_count; i++) {
301 zend_persist_zval_calc(&ce->default_properties_table[i]);
304 if (ce->default_static_members_table) {
307 ADD_SIZE(sizeof(zval) * ce
[all...]
H A Dzend_persist.c674 prop->ce = zend_shared_alloc_get_xlat_entry(prop->ce);
691 zend_class_entry *ce = Z_PTR_P(zv); local
693 if (ce->type == ZEND_USER_CLASS) {
696 ce = Z_PTR_P(zv) = ZCG(arena_mem);
698 zend_accel_store_interned_string(ce->name);
699 zend_hash_persist(&ce->function_table, zend_persist_op_array);
700 if (ce->default_properties_table) {
703 zend_accel_store(ce->default_properties_table, sizeof(zval) * ce
812 zend_class_entry *ce = Z_PTR_P(zv); local
[all...]
H A Dzend_file_cache.c494 if (prop->ce && !IS_SERIALIZED(prop->ce)) {
495 SERIALIZE_PTR(prop->ce);
511 zend_class_entry *ce; local
514 ce = Z_PTR_P(zv);
515 UNSERIALIZE_PTR(ce);
517 SERIALIZE_STR(ce->name);
518 zend_file_cache_serialize_hash(&ce->function_table, script, info, buf, zend_file_cache_serialize_func);
519 if (ce->default_properties_table) {
522 SERIALIZE_PTR(ce
1053 zend_class_entry *ce; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_print.c151 zend_class_entry *ce; local
153 if (phpdbg_safe_class_lookup(param->str, param->len, &ce) == SUCCESS) {
155 (ce->type == ZEND_USER_CLASS) ?
157 (ce->ce_flags & ZEND_ACC_INTERFACE) ?
159 (ce->ce_flags & ZEND_ACC_ABSTRACT) ?
162 ZSTR_VAL(ce->name),
163 zend_hash_num_elements(&ce->function_table));
167 if (zend_hash_num_elements(&ce->function_table)) {
170 ZEND_HASH_FOREACH_PTR(&ce->function_table, method) {
185 zend_class_entry *ce; local
285 phpdbg_print_opcodes_method_ce(zend_class_entry *ce, const char *function) argument
302 zend_class_entry *ce; local
320 phpdbg_print_opcodes_ce(zend_class_entry *ce) argument
360 zend_class_entry *ce; local
386 zend_class_entry *ce; local
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c89 #define METHOD_NOTSTATIC(ce) \
90 if (!Z_OBJ(EX(This)) || !instanceof_function(Z_OBJCE(EX(This)), ce)) { \
101 if (EG(exception) && EG(exception)->ce == reflection_exception_ptr) { \
193 zend_class_entry *ce; member in struct:_property_reference
226 zend_class_entry *ce; member in struct:__anon12
352 intern->zo.ce = class_type;
371 static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *indent);
376 static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *indent) argument
385 if (ce->type == ZEND_USER_CLASS && ce
995 zend_class_entry *ce = (zend_class_entry*)Z_PTR_P(el); local
1180 zend_reflection_class_factory(zend_class_entry *ce, zval *object) argument
1300 reflection_method_factory(zend_class_entry *ce, zend_function *method, zval *closure_object, zval *object) argument
1324 reflection_property_factory(zend_class_entry *ce, zend_property_info *prop, zval *object) argument
2345 zend_class_entry *ce = NULL; local
2604 zend_class_entry *ce; local
3029 zend_class_entry *ce; local
3691 zend_class_entry *ce; local
3744 add_class_vars(zend_class_entry *ce, int statics, zval *return_value) argument
3791 zend_class_entry *ce; local
3813 zend_class_entry *ce; local
3847 zend_class_entry *ce; local
3876 zend_class_entry *ce; local
3896 zend_class_entry *ce; local
3925 zend_class_entry *ce; local
3940 zend_class_entry *ce; local
3955 zend_class_entry *ce; local
3970 zend_class_entry *ce; local
3988 zend_class_entry *ce; local
4006 zend_class_entry *ce; local
4024 zend_class_entry *ce; local
4042 zend_class_entry *ce; local
4062 zend_class_entry *ce; local
4090 zend_class_entry *ce; local
4132 _addmethod(zend_function *mptr, zend_class_entry *ce, zval *retval, zend_long filter, zval *obj) argument
4157 zend_class_entry *ce = *va_arg(args, zend_class_entry**); local
4172 zend_class_entry *ce; local
4206 zend_class_entry *ce; local
4240 zend_class_entry *ce, *ce2; local
4313 zend_class_entry *ce = *va_arg(args, zend_class_entry**); local
4333 zend_class_entry *ce = *va_arg(args, zend_class_entry**); local
4367 zend_class_entry *ce; local
4398 zend_class_entry *ce; local
4420 zend_class_entry *ce; local
4442 zend_class_entry *ce; local
4468 zend_class_entry *ce; local
4483 zend_class_entry *ce; local
4508 zend_class_entry *ce; local
4575 zend_class_entry *ce; local
4591 zend_class_entry *ce; local
4609 zend_class_entry *ce, *old_scope; local
4683 zend_class_entry *ce; local
4703 zend_class_entry *ce, *old_scope; local
4791 zend_class_entry *ce; local
4818 zend_class_entry *ce; local
4840 zend_class_entry *ce; local
4863 zend_class_entry *ce; local
4884 zend_class_entry *ce; local
4916 zend_class_entry *ce; local
4936 zend_class_entry *ce, *class_ce; local
4980 zend_class_entry *ce, *interface_ce; local
5029 zend_class_entry *ce; local
5047 zend_class_entry *ce; local
5067 zend_class_entry *ce; local
5188 zend_class_entry *ce; local
5501 zend_class_entry *tmp_ce, *ce; local
5767 zend_class_entry *ce = Z_PTR_P(zv); local
[all...]

Completed in 149 milliseconds

123456