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

12345

/PHP_TRUNK/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_TRUNK/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_TRUNK/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_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.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_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;
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_TRUNK/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_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...]
H A Dzend_object_handlers.c72 zend_class_entry *ce = zobj->ce; local
76 if (ce->default_properties_count) {
77 for (zend_hash_internal_pointer_reset_ex(&ce->properties_info, &pos);
78 zend_hash_get_current_data_ex(&ce->properties_info, (void**)&prop_info, &pos) == SUCCESS;
79 zend_hash_move_forward_ex(&ce->properties_info, &pos)) {
80 if (/*prop_info->ce == ce &&*/
87 while (ce->parent && ce
141 zend_class_entry *ce = Z_OBJCE_P(object); local
181 zend_class_entry *ce = Z_OBJCE_P(object); local
207 zend_class_entry *ce = Z_OBJCE_P(object); local
235 zend_class_entry *ce = Z_OBJCE_P(object); local
252 zend_class_entry *ce = Z_OBJCE_P(object); local
303 zend_get_property_info_quick(zend_class_entry *ce, zval *member, int silent, const zend_literal *key TSRMLS_DC) argument
388 zend_get_property_info(zend_class_entry *ce, zval *member, int silent TSRMLS_DC) argument
669 zend_class_entry *ce = Z_OBJCE_P(object); local
703 zend_class_entry *ce = Z_OBJCE_P(object); local
721 zend_class_entry *ce = Z_OBJCE_P(object); local
891 zend_class_entry *ce = Z_OBJCE_P(object); local
908 zend_class_entry *ce = Z_OBJCE_P(this_ptr); local
949 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
984 zend_check_private(zend_function *fbc, zend_class_entry *ce, char *function_name_strval, int function_name_strlen TSRMLS_DC) argument
992 zend_check_protected(zend_class_entry *ce, zend_class_entry *scope) argument
1019 zend_get_user_call_function(zend_class_entry *ce, const char *method_name, int method_len) argument
1123 zend_class_entry *ce = EG(scope); local
1159 zend_get_user_callstatic_function(zend_class_entry *ce, const char *method_name, int method_len) argument
1177 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
1266 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
1323 zend_std_unset_static_property(zend_class_entry *ce, const char *property_name, int property_name_len, const zend_literal *key TSRMLS_DC) argument
1533 zend_class_entry *ce; local
1554 zend_class_entry *ce; local
1624 zend_class_entry *ce; local
[all...]
/PHP_TRUNK/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...]
/PHP_TRUNK/ext/pdo/
H A Dphp_pdo_int.h36 extern zend_object_value pdo_dbh_new(zend_class_entry *ce TSRMLS_DC);
41 extern zend_object_value 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_value 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, NULL TSRMLS_CC);
136 char * spl_gen_private_prop_name(zend_class_entry *ce, cha argument
[all...]
/PHP_TRUNK/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_TRUNK/sapi/phpdbg/
H A Dphpdbg_info.c252 static inline void phpdbg_print_class_name(zend_class_entry **ce TSRMLS_DC) /* {{{ */
256 ((*ce)->type == ZEND_USER_CLASS) ?
258 ((*ce)->ce_flags & ZEND_ACC_INTERFACE) ?
260 ((*ce)->ce_flags & ZEND_ACC_ABSTRACT) ?
263 (*ce)->name, zend_hash_num_elements(&(*ce)->function_table));
269 zend_class_entry **ce; local
275 zend_hash_get_current_data_ex(EG(class_table), (void**)&ce, &position) == SUCCESS;
278 if ((*ce)->type == ZEND_USER_CLASS) {
280 &classes, ce, sizeo
[all...]
H A Dphpdbg_list.c78 zend_class_entry **ce; local
80 if (zend_lookup_class(param->method.class, strlen(param->method.class), &ce TSRMLS_CC) == SUCCESS) {
84 if (zend_hash_find(&(*ce)->function_table, lcname, strlen(lcname)+1, (void**) &function) == SUCCESS) {
106 zend_class_entry **ce; local
108 if (zend_lookup_class(param->str, param->len, &ce TSRMLS_CC) == SUCCESS) {
109 if ((*ce)->type == ZEND_USER_CLASS) {
110 if ((*ce)->info.user.filename) {
112 (*ce)->info.user.filename,
113 (*ce)->info.user.line_end - (*ce)
[all...]
H A Dphpdbg_print.c142 zend_class_entry **ce; local
146 if (zend_lookup_class(param->str, param->len, &ce TSRMLS_CC) == SUCCESS) {
148 ((*ce)->type == ZEND_USER_CLASS) ?
150 ((*ce)->ce_flags & ZEND_ACC_INTERFACE) ?
152 ((*ce)->ce_flags & ZEND_ACC_ABSTRACT) ?
155 (*ce)->name);
157 phpdbg_writeln("Methods (%d):", zend_hash_num_elements(&(*ce)->function_table));
158 if (zend_hash_num_elements(&(*ce)->function_table)) {
162 for (zend_hash_internal_pointer_reset_ex(&(*ce)->function_table, &position);
163 zend_hash_get_current_data_ex(&(*ce)
183 zend_class_entry **ce; local
[all...]
/PHP_TRUNK/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...]
/PHP_TRUNK/ext/opcache/
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;
449 static void zend_hash_clone_methods(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce TSRMLS_DC)
538 new_entry->scope = ce;
543 zend_error(E_ERROR, ACCELERATOR_PRODUCT_NAME " class loading error, class %s, function %s", ce->name, new_entry->function_name);
552 zend_error(E_ERROR, ACCELERATOR_PRODUCT_NAME " class loading error, class %s, function %s", ce->name, new_entry->function_name);
561 static void zend_hash_clone_prop_info(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce TSRMLS_DC)
649 if (prop_info->ce == old_ce) {
650 prop_info->ce = ce;
694 zend_class_entry *ce = *pce; local
[all...]
H A Dzend_persist.c489 zend_class_entry *ce = *pce; local
491 if (ce->type == ZEND_USER_CLASS) {
492 *pce = zend_accel_store(ce, sizeof(zend_class_entry));
493 zend_accel_store_interned_string(ce->name, ce->name_length + 1);
494 zend_hash_persist(&ce->function_table, (zend_persist_func_t) zend_persist_op_array, sizeof(zend_op_array) TSRMLS_CC);
496 if (ce->default_properties_table) {
499 zend_accel_store(ce->default_properties_table, sizeof(zval*) * ce->default_properties_count);
500 for (i = 0; i < ce
629 zend_class_entry *ce = *pce; local
[all...]
H A Dzend_persist_calc.c264 zend_class_entry *ce = *pce; local
267 if (ce->type == ZEND_USER_CLASS) {
268 ADD_DUP_SIZE(ce, sizeof(zend_class_entry));
269 ADD_INTERNED_STRING(ce->name, ce->name_length + 1);
270 ADD_SIZE(zend_hash_persist_calc(&ce->function_table, (int (*)(void* TSRMLS_DC)) zend_persist_op_array_calc, sizeof(zend_op_array) TSRMLS_CC));
272 if (ce->default_properties_table) {
275 ADD_SIZE(sizeof(zval*) * ce->default_properties_count);
276 for (i = 0; i < ce->default_properties_count; i++) {
277 if (ce
[all...]
/PHP_TRUNK/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:__anon5
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
1191 zend_reflection_class_factory(zend_class_entry *ce, zval *object TSRMLS_DC) argument
1290 reflection_method_factory(zend_class_entry *ce, zend_function *method, zval *closure_object, zval *object TSRMLS_DC) argument
1316 reflection_property_factory(zend_class_entry *ce, zend_property_info *prop, zval *object TSRMLS_DC) argument
2149 zend_class_entry *ce = NULL; local
2386 zend_class_entry **pce, *ce; local
2687 zend_class_entry *ce; local
3317 zend_class_entry **ce; local
3372 add_class_vars(zend_class_entry *ce, int statics, zval *return_value TSRMLS_DC) argument
3427 zend_class_entry *ce; local
3447 zend_class_entry *ce; local
3479 zend_class_entry *ce; local
3515 zend_class_entry *ce; local
3533 zend_class_entry *ce; local
3562 zend_class_entry *ce; local
3577 zend_class_entry *ce; local
3592 zend_class_entry *ce; local
3610 zend_class_entry *ce; local
3628 zend_class_entry *ce; local
3646 zend_class_entry *ce; local
3664 zend_class_entry *ce; local
3684 zend_class_entry *ce; local
3712 zend_class_entry *ce; local
3754 _addmethod(zend_function *mptr, zend_class_entry *ce, zval *retval, long filter, zval *obj TSRMLS_DC) argument
3780 zend_class_entry *ce = *va_arg(args, zend_class_entry**); local
3795 zend_class_entry *ce; local
3829 zend_class_entry *ce; local
3865 zend_class_entry *ce, **pce; local
3934 zend_class_entry *ce = *va_arg(args, zend_class_entry**); local
3955 zend_class_entry *ce = *va_arg(args, zend_class_entry**); local
3985 zend_class_entry *ce; local
4016 zend_class_entry *ce; local
4040 zend_class_entry *ce; local
4057 zend_class_entry *ce; local
4080 zend_class_entry *ce; local
4095 zend_class_entry *ce; local
4120 zend_class_entry *ce; local
4185 zend_class_entry *ce; local
4201 zend_class_entry *ce; local
4219 zend_class_entry *ce, *old_scope; local
4297 zend_class_entry *ce; local
4316 zend_class_entry *ce, *old_scope; local
4402 zend_class_entry *ce; local
4430 zend_class_entry *ce; local
4452 zend_class_entry *ce; local
4476 zend_class_entry *ce; local
4497 zend_class_entry *ce; local
4528 zend_class_entry *ce; local
4548 zend_class_entry *ce, **pce, *class_ce; local
4593 zend_class_entry *ce, *interface_ce, **pce; local
4643 zend_class_entry *ce; local
4661 zend_class_entry *ce; local
4681 zend_class_entry *ce; local
4802 zend_class_entry *ce; local
5114 zend_class_entry *tmp_ce, *ce; local
[all...]

Completed in 23 milliseconds

12345