| /PHP_TRUNK/ext/intl/breakiterator/ |
| H A D | breakiterator_iterators.h | 39 zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC);
|
| H A D | breakiterator_class.cpp | 53 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...] |
| /PHP_TRUNK/ext/intl/collator/ |
| H A D | collator_class.c | 62 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 D | formatter_class.c | 59 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/locale/ |
| H A D | locale_class.c | 97 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_TRUNK/ext/intl/msgformat/ |
| H A D | msgformat_class.c | 57 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 D | normalizer_class.c | 56 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 D | resourcebundle_iterator.h | 34 zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref TSRMLS_DC );
|
| /PHP_TRUNK/ext/intl/spoofchecker/ |
| H A D | spoofchecker_class.c | 56 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/Zend/ |
| H A D | zend_objects.c | 29 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 D | zend_opcode.c | 156 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_ptr_dtor(&ce->static_members_table[i]); 170 ce->static_members_table[i] = NULL; 173 ce->static_members_table = NULL; 177 static inline void cleanup_internal_class_data(zend_class_entry *ce TSRMLS_D 219 _destroy_zend_class_traits_info(zend_class_entry *ce) argument 270 zend_class_entry *ce = *pce; local 343 zend_class_add_ref(zend_class_entry **ce) argument [all...] |
| H A D | zend_interfaces.c | 121 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 D | zend_interfaces.h | 37 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 D | zend_object_handlers.c | 71 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 1288 zend_std_unset_static_property(zend_class_entry *ce, const char *property_name, int property_name_len, const zend_literal *key TSRMLS_DC) argument 1502 zend_class_entry *ce; local 1523 zend_class_entry *ce; local 1593 zend_class_entry *ce; local [all...] |
| H A D | zend_compile.c | 3002 static void do_inherit_parent_constructor(zend_class_entry *ce) /* {{{ */ argument 3006 if (!ce->parent) { 3011 ce->create_object = ce->parent->create_object; 3014 if (!ce->get_iterator) { 3015 ce->get_iterator = ce->parent->get_iterator; 3017 if (!ce->iterator_funcs.funcs) { 3018 ce->iterator_funcs.funcs = ce 3498 do_inherit_property_access_check(HashTable *target_ht, zend_property_info *parent_info, const zend_hash_key *hash_key, zend_class_entry *ce) argument 3546 do_implement_interface(zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC) argument 3557 zend_do_inherit_interfaces(zend_class_entry *ce, const zend_class_entry *iface TSRMLS_DC) argument 3611 zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce TSRMLS_DC) argument 3760 zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC) argument 3800 zend_do_implement_trait(zend_class_entry *ce, zend_class_entry *trait TSRMLS_DC) argument 3841 zend_add_magic_methods(zend_class_entry* ce, const char* mname, uint mname_len, zend_function* fe TSRMLS_DC) argument 3882 zend_add_trait_method(zend_class_entry *ce, const char *name, const char *arKey, uint nKeyLength, zend_function *fn, HashTable **overriden TSRMLS_DC) argument 3974 zend_class_entry *ce; local 4056 zend_check_trait_usage(zend_class_entry *ce, zend_class_entry *trait TSRMLS_DC) argument 4232 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 4491 zend_class_entry *ce = CG(active_class_entry); local 4520 zend_class_entry *ce = CG(active_class_entry); local 4532 zend_class_entry *ce, **pce; local 4571 zend_class_entry *ce, **pce; local 5090 zend_class_entry *ce = CG(active_class_entry); local 6805 zend_initialize_class_data(zend_class_entry *ce, zend_bool nullify_handlers TSRMLS_DC) argument [all...] |
| /PHP_TRUNK/ext/dom/ |
| H A D | php_dom.h | 124 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);\
|
| H A D | php_dom.c | 201 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 1304 zend_class_entry *ce; local 1320 zend_class_entry *ce; local [all...] |
| /PHP_TRUNK/ext/mysqli/ |
| H A D | php_mysqli_structs.h | 206 extern zend_object_iterator *php_mysqli_result_get_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC); 225 zend_class_entry ce; \ 226 INIT_CLASS_ENTRY(ce, name,class_functions); \ 227 ce.create_object = mysqli_objects_new; \ 228 mysqli_entry = zend_register_internal_class(&ce TSRMLS_CC); \ 255 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Couldn't fetch %s", intern->zo.ce->name);\ 260 php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid object or resource %s\n", intern->zo.ce->name); \ 269 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Couldn't fetch %s", intern->zo.ce->name);\ 274 php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid object or resource %s\n", intern->zo.ce->name); \ 285 php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid object or resource %s\n", intern->zo.ce [all...] |
| /PHP_TRUNK/ext/pdo/ |
| H A D | php_pdo_int.h | 34 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_TRUNK/ext/spl/ |
| H A D | spl_functions.c | 33 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 D | php_xsl.h | 79 #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/ext/opcache/ |
| H A D | zend_persist.c | 454 zend_class_entry *ce = *pce; local 456 if (ce->type == ZEND_USER_CLASS) { 457 *pce = zend_accel_store(ce, sizeof(zend_class_entry)); 458 zend_accel_store_interned_string(ce->name, ce->name_length + 1); 459 zend_hash_persist(&ce->function_table, (zend_persist_func_t) zend_persist_op_array, sizeof(zend_op_array) TSRMLS_CC); 461 if (ce->default_properties_table) { 464 zend_accel_store(ce->default_properties_table, sizeof(zval*) * ce->default_properties_count); 465 for (i = 0; i < ce 594 zend_class_entry *ce = *pce; local [all...] |
| H A D | zend_persist_calc.c | 233 zend_class_entry *ce = *pce; local 236 if (ce->type == ZEND_USER_CLASS) { 237 ADD_DUP_SIZE(ce, sizeof(zend_class_entry)); 238 ADD_INTERNED_STRING(ce->name, ce->name_length + 1); 239 ADD_SIZE(zend_hash_persist_calc(&ce->function_table, (int (*)(void* TSRMLS_DC)) zend_persist_op_array_calc, sizeof(zend_op_array) TSRMLS_CC)); 241 if (ce->default_properties_table) { 244 ADD_SIZE(sizeof(zval*) * ce->default_properties_count); 245 for (i = 0; i < ce->default_properties_count; i++) { 246 if (ce [all...] |
| H A D | zend_accelerator_util_funcs.c | 68 zend_class_entry *ce = *pce; local 70 ce->function_table.pDestructor = (dtor_func_t) zend_accel_destroy_zend_function; 340 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. Please call Zend Support", ce->name, new_entry->function_name); 443 zend_error(E_ERROR, ACCELERATOR_PRODUCT_NAME " class loading error, class %s, function %s. Please call Zend Support", ce->name, new_entry->function_name); 452 static void zend_hash_clone_prop_info(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce TSRMLS_DC) 540 if (prop_info->ce == old_ce) { 541 prop_info->ce = ce; 585 zend_class_entry *ce = *pce; local [all...] |
| /PHP_TRUNK/ext/reflection/ |
| H A D | php_reflection.c | 86 #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:__anon2 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 2672 zend_class_entry *ce; local 3294 zend_class_entry **ce; local 3349 add_class_vars(zend_class_entry *ce, int statics, zval *return_value TSRMLS_DC) argument 3404 zend_class_entry *ce; local 3424 zend_class_entry *ce; local 3456 zend_class_entry *ce; local 3492 zend_class_entry *ce; local 3510 zend_class_entry *ce; local 3539 zend_class_entry *ce; local 3554 zend_class_entry *ce; local 3569 zend_class_entry *ce; local 3587 zend_class_entry *ce; local 3605 zend_class_entry *ce; local 3623 zend_class_entry *ce; local 3641 zend_class_entry *ce; local 3661 zend_class_entry *ce; local 3689 zend_class_entry *ce; local 3731 _addmethod(zend_function *mptr, zend_class_entry *ce, zval *retval, long filter, zval *obj TSRMLS_DC) argument 3757 zend_class_entry *ce = *va_arg(args, zend_class_entry**); local 3772 zend_class_entry *ce; local 3806 zend_class_entry *ce; local 3842 zend_class_entry *ce, **pce; local 3911 zend_class_entry *ce = *va_arg(args, zend_class_entry**); local 3932 zend_class_entry *ce = *va_arg(args, zend_class_entry**); local 3962 zend_class_entry *ce; local 3993 zend_class_entry *ce; local 4017 zend_class_entry *ce; local 4034 zend_class_entry *ce; local 4057 zend_class_entry *ce; local 4072 zend_class_entry *ce; local 4097 zend_class_entry *ce; local 4162 zend_class_entry *ce; local 4178 zend_class_entry *ce; local 4196 zend_class_entry *ce, *old_scope; local 4274 zend_class_entry *ce; local 4293 zend_class_entry *ce, *old_scope; local 4379 zend_class_entry *ce; local 4407 zend_class_entry *ce; local 4429 zend_class_entry *ce; local 4453 zend_class_entry *ce; local 4474 zend_class_entry *ce; local 4505 zend_class_entry *ce; local 4525 zend_class_entry *ce, **pce, *class_ce; local 4570 zend_class_entry *ce, *interface_ce, **pce; local 4620 zend_class_entry *ce; local 4638 zend_class_entry *ce; local 4658 zend_class_entry *ce; local 4779 zend_class_entry *ce; local 5091 zend_class_entry *tmp_ce, *ce; local [all...] |