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

12345

/PHP_5_5/ext/intl/collator/
H A Dcollator_class.c62 zend_class_entry *ce TSRMLS_DC )
69 zend_object_std_init( &intern->zo, ce TSRMLS_CC );
70 object_properties_init(&intern->zo, ce);
140 zend_class_entry ce; local
143 INIT_CLASS_ENTRY( ce, "Collator", Collator_class_functions );
144 ce.create_object = Collator_object_create;
145 Collator_ce_ptr = zend_register_internal_class( &ce TSRMLS_CC );
/PHP_5_5/ext/intl/formatter/
H A Dformatter_class.c59 zend_object_value NumberFormatter_object_create(zend_class_entry *ce TSRMLS_DC)
66 zend_object_std_init( &intern->zo, ce TSRMLS_CC );
67 object_properties_init(&intern->zo, ce);
199 zend_class_entry ce; local
202 INIT_CLASS_ENTRY( ce, "NumberFormatter", NumberFormatter_class_functions );
203 ce.create_object = NumberFormatter_object_create;
204 NumberFormatter_ce_ptr = zend_register_internal_class( &ce TSRMLS_CC );
/PHP_5_5/ext/intl/locale/
H A Dlocale_class.c97 zend_class_entry ce; local
100 INIT_CLASS_ENTRY( ce, "Locale", Locale_class_functions );
101 ce.create_object = NULL;
102 Locale_ce_ptr = zend_register_internal_class( &ce TSRMLS_CC );
/PHP_5_5/ext/intl/msgformat/
H A Dmsgformat_class.c57 zend_object_value MessageFormatter_object_create(zend_class_entry *ce TSRMLS_DC)
64 zend_object_std_init( &intern->zo, ce TSRMLS_CC );
65 object_properties_init(&intern->zo, ce);
165 zend_class_entry ce; local
168 INIT_CLASS_ENTRY( ce, "MessageFormatter", MessageFormatter_class_functions );
169 ce.create_object = MessageFormatter_object_create;
170 MessageFormatter_ce_ptr = zend_register_internal_class( &ce TSRMLS_CC );
/PHP_5_5/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_5_5/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_5_5/ext/intl/spoofchecker/
H A Dspoofchecker_class.c56 zend_class_entry *ce TSRMLS_DC)
63 zend_object_std_init(&intern->zo, ce TSRMLS_CC);
64 object_properties_init(&intern->zo, ce);
151 zend_class_entry ce; local
154 INIT_CLASS_ENTRY(ce, "Spoofchecker", Spoofchecker_class_functions);
155 ce.create_object = Spoofchecker_object_create;
156 Spoofchecker_ce_ptr = zend_register_internal_class(&ce TSRMLS_CC);
/PHP_5_5/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;
63 object_init_ex(object, ce);
214 static zend_object_value BreakIterator_object_create(zend_class_entry *ce TSRMLS_DC)
221 zend_object_std_init(&intern->zo, ce TSRMLS_CC);
223 zend_hash_copy(intern->zo.properties, &(ce->default_properties),
226 object_properties_init((zend_object*) intern, ce);
336 zend_class_entry ce; local
[all...]
H A Dbreakiterator_iterators.h39 zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC);
/PHP_5_5/ext/opcache/
H A Dzend_persist.c458 zend_class_entry *ce = *pce; local
460 if (ce->type == ZEND_USER_CLASS) {
461 *pce = zend_accel_store(ce, sizeof(zend_class_entry));
462 zend_accel_store_interned_string(ce->name, ce->name_length + 1);
463 zend_hash_persist(&ce->function_table, (zend_persist_func_t) zend_persist_op_array, sizeof(zend_op_array) TSRMLS_CC);
465 if (ce->default_properties_table) {
468 zend_accel_store(ce->default_properties_table, sizeof(zval*) * ce->default_properties_count);
469 for (i = 0; i < ce
598 zend_class_entry *ce = *pce; local
[all...]
H A Dzend_persist_calc.c235 zend_class_entry *ce = *pce; local
238 if (ce->type == ZEND_USER_CLASS) {
239 ADD_DUP_SIZE(ce, sizeof(zend_class_entry));
240 ADD_INTERNED_STRING(ce->name, ce->name_length + 1);
241 ADD_SIZE(zend_hash_persist_calc(&ce->function_table, (int (*)(void* TSRMLS_DC)) zend_persist_op_array_calc, sizeof(zend_op_array) TSRMLS_CC));
243 if (ce->default_properties_table) {
246 ADD_SIZE(sizeof(zval*) * ce->default_properties_count);
247 for (i = 0; i < ce->default_properties_count; i++) {
248 if (ce
[all...]
H A Dzend_accelerator_util_funcs.c68 zend_class_entry *ce = *pce; local
70 ce->function_table.pDestructor = (dtor_func_t) zend_accel_destroy_zend_function;
387 static void zend_hash_clone_methods(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce TSRMLS_DC)
476 new_entry->scope = ce;
481 zend_error(E_ERROR, ACCELERATOR_PRODUCT_NAME " class loading error, class %s, function %s", ce->name, new_entry->function_name);
490 zend_error(E_ERROR, ACCELERATOR_PRODUCT_NAME " class loading error, class %s, function %s", ce->name, new_entry->function_name);
499 static void zend_hash_clone_prop_info(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce TSRMLS_DC)
587 if (prop_info->ce == old_ce) {
588 prop_info->ce = ce;
632 zend_class_entry *ce = *pce; local
[all...]
/PHP_5_5/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_5/ext/reflection/
H A Dphp_reflection.c86 #define METHOD_NOTSTATIC(ce) \
87 if (!this_ptr || !instanceof_function(Z_OBJCE_P(this_ptr), ce TSRMLS_CC)) { \
185 zend_class_entry *ce; member in struct:_property_reference
211 zend_class_entry *ce; member in struct:__anon195
326 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->info.user.doc_comment) {
367 string_printf(str, "%s%s", indent, ce
1188 zend_reflection_class_factory(zend_class_entry *ce, zval *object TSRMLS_DC) argument
1287 reflection_method_factory(zend_class_entry *ce, zend_function *method, zval *closure_object, zval *object TSRMLS_DC) argument
1313 reflection_property_factory(zend_class_entry *ce, zend_property_info *prop, zval *object TSRMLS_DC) argument
2146 zend_class_entry *ce = NULL; local
2383 zend_class_entry **pce, *ce; local
2669 zend_class_entry *ce; local
3291 zend_class_entry **ce; local
3346 add_class_vars(zend_class_entry *ce, int statics, zval *return_value TSRMLS_DC) argument
3401 zend_class_entry *ce; local
3421 zend_class_entry *ce; local
3453 zend_class_entry *ce; local
3489 zend_class_entry *ce; local
3507 zend_class_entry *ce; local
3536 zend_class_entry *ce; local
3551 zend_class_entry *ce; local
3566 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
3658 zend_class_entry *ce; local
3686 zend_class_entry *ce; local
3728 _addmethod(zend_function *mptr, zend_class_entry *ce, zval *retval, long filter, zval *obj TSRMLS_DC) argument
3754 zend_class_entry *ce = *va_arg(args, zend_class_entry**); local
3769 zend_class_entry *ce; local
3803 zend_class_entry *ce; local
3839 zend_class_entry *ce, **pce; local
3908 zend_class_entry *ce = *va_arg(args, zend_class_entry**); local
3929 zend_class_entry *ce = *va_arg(args, zend_class_entry**); local
3959 zend_class_entry *ce; local
3990 zend_class_entry *ce; local
4014 zend_class_entry *ce; local
4031 zend_class_entry *ce; local
4054 zend_class_entry *ce; local
4069 zend_class_entry *ce; local
4094 zend_class_entry *ce; local
4159 zend_class_entry *ce; local
4175 zend_class_entry *ce; local
4193 zend_class_entry *ce, *old_scope; local
4271 zend_class_entry *ce; local
4290 zend_class_entry *ce, *old_scope; local
4376 zend_class_entry *ce; local
4404 zend_class_entry *ce; local
4426 zend_class_entry *ce; local
4450 zend_class_entry *ce; local
4471 zend_class_entry *ce; local
4502 zend_class_entry *ce; local
4522 zend_class_entry *ce, **pce, *class_ce; local
4567 zend_class_entry *ce, *interface_ce, **pce; local
4617 zend_class_entry *ce; local
4635 zend_class_entry *ce; local
4655 zend_class_entry *ce; local
4776 zend_class_entry *ce; local
5088 zend_class_entry *tmp_ce, *ce; local
[all...]
/PHP_5_5/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, NULL TSRMLS_CC);
136 char * spl_gen_private_prop_name(zend_class_entry *ce, cha argument
[all...]
/PHP_5_5/ext/xsl/
H A Dphp_xsl.h79 #define REGISTER_XSL_CLASS(ce, name, parent_ce, funcs, entry) \
80 INIT_CLASS_ENTRY(ce, name, funcs); \
81 ce.create_object = xsl_objects_new; \
82 entry = zend_register_internal_class_ex(&ce, parent_ce, NULL TSRMLS_CC);
/PHP_5_5/Zend/
H A Dzend_interfaces.c121 ZEND_API zval *zend_user_it_new_iterator(zend_class_entry *ce, zval *object TSRMLS_DC) argument
125 return zend_call_method_with_0_params(&object, ce, &ce->iterator_funcs.zf_new_iterator, "getiterator", &retval);
163 zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_valid, "valid", &more);
181 zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_current, "current", &iter->value);
204 zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_key, "key", &retval);
210 zend_error(E_WARNING, "Nothing returned from %s::key()", iter->ce
250 zend_user_it_get_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) argument
270 zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) argument
402 zend_class_entry * ce = Z_OBJCE_P(object); local
437 zend_user_unserialize(zval **object, zend_class_entry *ce, const unsigned char *buf, zend_uint buf_len, zend_unserialize_data *data TSRMLS_DC) argument
460 zend_class_entry *ce = Z_OBJCE_P(object); local
466 zend_class_unserialize_deny(zval **object, zend_class_entry *ce, const unsigned char *buf, zend_uint buf_len, zend_unserialize_data *data TSRMLS_DC) argument
[all...]
H A Dzend_interfaces.h37 zend_class_entry *ce; member in struct:_zend_user_iterator
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, int by_ref TSRMLS_DC);
65 ZEND_API int zend_user_unserialize(zval **object, zend_class_entry *ce, const unsigned char *buf, zend_uint buf_len, zend_unserialize_data *data TSRMLS_DC);
68 ZEND_API int zend_class_unserialize_deny(zval **object, zend_class_entry *ce, const unsigned char *buf, zend_uint buf_len, zend_unserialize_data *data TSRMLS_DC);
H A Dzend_objects.c29 ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC)
31 object->ce = ce;
52 for (i = 0; i < object->ce->default_properties_count; i++) {
63 zend_function *destructor = object ? object->ce->destructor : NULL;
74 if (object->ce != EG(scope)) {
75 zend_class_entry *ce = object->ce; local
79 ce->name,
88 zend_class_entry *ce local
[all...]
H A Dzend_object_handlers.c71 zend_class_entry *ce = zobj->ce; local
75 if (ce->default_properties_count) {
76 for (zend_hash_internal_pointer_reset_ex(&ce->properties_info, &pos);
77 zend_hash_get_current_data_ex(&ce->properties_info, (void**)&prop_info, &pos) == SUCCESS;
78 zend_hash_move_forward_ex(&ce->properties_info, &pos)) {
79 if (/*prop_info->ce == ce &&*/
86 while (ce->parent && ce
148 zend_class_entry *ce = Z_OBJCE_P(object); local
174 zend_class_entry *ce = Z_OBJCE_P(object); local
202 zend_class_entry *ce = Z_OBJCE_P(object); local
219 zend_class_entry *ce = Z_OBJCE_P(object); local
270 zend_get_property_info_quick(zend_class_entry *ce, zval *member, int silent, const zend_literal *key TSRMLS_DC) argument
355 zend_get_property_info(zend_class_entry *ce, zval *member, int silent TSRMLS_DC) argument
636 zend_class_entry *ce = Z_OBJCE_P(object); local
670 zend_class_entry *ce = Z_OBJCE_P(object); local
688 zend_class_entry *ce = Z_OBJCE_P(object); local
858 zend_class_entry *ce = Z_OBJCE_P(object); local
875 zend_class_entry *ce = Z_OBJCE_P(this_ptr); local
919 zend_check_private_int(zend_function *fbc, zend_class_entry *ce, char *function_name_strval, int function_name_strlen, ulong hash_value TSRMLS_DC) argument
954 zend_check_private(zend_function *fbc, zend_class_entry *ce, char *function_name_strval, int function_name_strlen TSRMLS_DC) argument
962 zend_check_protected(zend_class_entry *ce, zend_class_entry *scope) argument
989 zend_get_user_call_function(zend_class_entry *ce, const char *method_name, int method_len) argument
1093 zend_class_entry *ce = EG(scope); local
1132 zend_get_user_callstatic_function(zend_class_entry *ce, const char *method_name, int method_len) argument
1150 zend_std_get_static_method(zend_class_entry *ce, const char *function_name_strval, int function_name_strlen, const zend_literal *key TSRMLS_DC) argument
1239 zend_std_get_static_property(zend_class_entry *ce, const char *property_name, int property_name_len, zend_bool silent, const zend_literal *key TSRMLS_DC) argument
1296 zend_std_unset_static_property(zend_class_entry *ce, const char *property_name, int property_name_len, const zend_literal *key TSRMLS_DC) argument
1506 zend_class_entry *ce; local
1527 zend_class_entry *ce; local
1597 zend_class_entry *ce; local
[all...]
H A Dzend_compile.c2992 static void do_inherit_parent_constructor(zend_class_entry *ce) /* {{{ */ argument
2996 if (!ce->parent) {
3001 ce->create_object = ce->parent->create_object;
3004 if (!ce->get_iterator) {
3005 ce->get_iterator = ce->parent->get_iterator;
3007 if (!ce->iterator_funcs.funcs) {
3008 ce->iterator_funcs.funcs = ce
3491 do_inherit_property_access_check(HashTable *target_ht, zend_property_info *parent_info, const zend_hash_key *hash_key, zend_class_entry *ce) argument
3539 do_implement_interface(zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC) argument
3550 zend_do_inherit_interfaces(zend_class_entry *ce, const zend_class_entry *iface TSRMLS_DC) argument
3604 zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce TSRMLS_DC) argument
3753 zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC) argument
3793 zend_do_implement_trait(zend_class_entry *ce, zend_class_entry *trait TSRMLS_DC) argument
3834 zend_add_magic_methods(zend_class_entry* ce, const char* mname, uint mname_len, zend_function* fe TSRMLS_DC) argument
3875 zend_add_trait_method(zend_class_entry *ce, const char *name, const char *arKey, uint nKeyLength, zend_function *fn, HashTable **overriden TSRMLS_DC) argument
3967 zend_class_entry *ce; local
4049 zend_check_trait_usage(zend_class_entry *ce, zend_class_entry *trait TSRMLS_DC) argument
4225 find_first_definition(zend_class_entry *ce, size_t current_trait, const char* prop_name, int prop_name_length, ulong prop_hash, zend_class_entry *coliding_ce) argument
4484 zend_class_entry *ce = CG(active_class_entry); local
4513 zend_class_entry *ce = CG(active_class_entry); local
4525 zend_class_entry *ce, **pce; local
4564 zend_class_entry *ce, **pce; local
5083 zend_class_entry *ce = CG(active_class_entry); local
6780 zend_initialize_class_data(zend_class_entry *ce, zend_bool nullify_handlers TSRMLS_DC) argument
[all...]
H A Dzend_opcode.c156 static inline void cleanup_user_class_data(zend_class_entry *ce TSRMLS_DC)
161 if (ce->ce_flags & ZEND_HAS_STATIC_IN_METHODS) {
162 zend_hash_apply(&ce->function_table, (apply_func_t) zend_cleanup_function_data_full TSRMLS_CC);
164 if (ce->static_members_table) {
167 for (i = 0; i < ce->default_static_members_count; i++) {
168 if (ce->static_members_table[i]) {
169 zval *p = ce->static_members_table[i];
170 ce->static_members_table[i] = NULL;
174 ce->static_members_table = NULL;
178 static inline void cleanup_internal_class_data(zend_class_entry *ce TSRMLS_D
220 _destroy_zend_class_traits_info(zend_class_entry *ce) argument
271 zend_class_entry *ce = *pce; local
344 zend_class_add_ref(zend_class_entry **ce) argument
[all...]
/PHP_5_5/ext/dom/
H A Dphp_dom.c201 int dom_set_doc_classmap(php_libxml_ref_obj *document, zend_class_entry *basece, zend_class_entry *ce TSRMLS_DC)
208 if (ce == NULL) {
214 if (ce) {
215 return zend_hash_update(doc_props->classmap, basece->name, basece->name_length + 1, &ce, sizeof(zend_class_entry *), NULL);
226 zend_class_entry **ce = NULL; local
231 if (zend_hash_find(doc_props->classmap, basece->name, basece->name_length + 1, (void**) &ce) == SUCCESS) {
232 return *ce;
361 } else if (instanceof_function(obj->std.ce, dom_node_class_entry TSRMLS_CC)) {
362 php_error(E_WARNING, "Couldn't fetch %s. Node no longer exists", obj->std.ce->name);
661 zend_class_entry ce; local
1308 zend_class_entry *ce; local
1324 zend_class_entry *ce; local
[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 int dom_set_doc_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) \
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_5/ext/mysqli/
H A Dphp_mysqli_structs.h210 extern zend_object_iterator *php_mysqli_result_get_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC);
229 zend_class_entry ce; \
230 INIT_CLASS_ENTRY(ce, name,class_functions); \
231 ce.create_object = mysqli_objects_new; \
232 mysqli_entry = zend_register_internal_class(&ce TSRMLS_CC); \
259 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Couldn't fetch %s", intern->zo.ce->name);\
264 php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid object or resource %s\n", intern->zo.ce->name); \
273 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Couldn't fetch %s", intern->zo.ce->name);\
278 php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid object or resource %s\n", intern->zo.ce->name); \
289 php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid object or resource %s\n", intern->zo.ce
[all...]

Completed in 51 milliseconds

12345