Searched defs:object (Results 1 - 25 of 68) sorted by relevance

123

/PHP_5_4/ext/intl/collator/
H A Dcollator_class.c40 void *object,
43 zend_objects_destroy_object( object, handle TSRMLS_CC );
48 void Collator_objects_free( zend_object *object TSRMLS_DC )
50 Collator_object* co = (Collator_object*)object;
39 Collator_objects_dtor( void *object, zend_object_handle handle TSRMLS_DC ) argument
H A Dcollator_create.c32 zval* object; local
36 object = return_value;
71 * Collator object constructor.
/PHP_5_4/ext/intl/formatter/
H A Dformatter_class.c38 void *object,
41 zend_objects_destroy_object( object, handle TSRMLS_CC );
46 void NumberFormatter_object_free( zend_object *object TSRMLS_DC )
48 NumberFormatter_object* nfo = (NumberFormatter_object*)object;
82 zend_object_value NumberFormatter_object_clone(zval *object TSRMLS_DC)
85 zend_object_handle handle = Z_OBJ_HANDLE_P(object);
89 new_obj_val = NumberFormatter_ce_ptr->create_object(Z_OBJCE_P(object) TSRMLS_CC);
93 /* clone formatter object. It may fail, the destruction code must handle this case */
100 "Failed to clone NumberFormatter object", 0 TSRMLS_CC);
101 zend_throw_exception(NULL, "Failed to clone NumberFormatter object",
37 NumberFormatter_object_dtor( void *object, zend_object_handle handle TSRMLS_DC ) argument
[all...]
/PHP_5_4/ext/intl/msgformat/
H A Dmsgformat_class.c37 static void MessageFormatter_object_dtor(void *object, zend_object_handle handle TSRMLS_DC ) argument
39 zend_objects_destroy_object( object, handle TSRMLS_CC );
44 void MessageFormatter_object_free( zend_object *object TSRMLS_DC )
46 MessageFormatter_object* mfo = (MessageFormatter_object*)object;
80 zend_object_value MessageFormatter_object_clone(zval *object TSRMLS_DC)
83 zend_object_handle handle = Z_OBJ_HANDLE_P(object);
87 new_obj_val = MessageFormatter_ce_ptr->create_object(Z_OBJCE_P(object) TSRMLS_CC);
92 /* clone formatter object */
99 "Failed to clone MessageFormatter object", 0 TSRMLS_CC);
100 zend_throw_exception_ex(NULL, 0 TSRMLS_CC, "Failed to clone MessageFormatter object");
[all...]
H A Dmsgformat.c36 zval* object; local
40 object = return_value;
104 * MessageFormatter object constructor.
120 zval* object = NULL; local
125 &object, MessageFormatter_ce_ptr ) == FAILURE )
133 mfo = (MessageFormatter_object *) zend_object_store_get_object( object TSRMLS_CC );
148 zval* object = NULL; local
153 &object, MessageFormatter_ce_ptr ) == FAILURE )
161 mfo = (MessageFormatter_object *) zend_object_store_get_object( object TSRMLS_CC );
/PHP_5_4/ext/intl/spoofchecker/
H A Dspoofchecker_class.c34 void *object,
37 zend_objects_destroy_object(object, handle TSRMLS_CC);
42 void Spoofchecker_objects_free(zend_object *object TSRMLS_DC)
44 Spoofchecker_object* co = (Spoofchecker_object*)object;
121 static zend_object_value spoofchecker_clone_obj(zval *object TSRMLS_DC) /* {{{ */
124 zend_object_handle handle = Z_OBJ_HANDLE_P(object);
127 sfo = (Spoofchecker_object *) zend_object_store_get_object(object TSRMLS_CC);
130 new_obj_val = Spoofchecker_ce_ptr->create_object(Z_OBJCE_P(object) TSRMLS_CC);
134 /* clone internal object */
138 intl_error_set( NULL, SPOOFCHECKER_ERROR_CODE(new_sfo), "Failed to clone SpoofChecker object",
33 Spoofchecker_objects_dtor( void *object, zend_object_handle handle TSRMLS_DC) argument
[all...]
/PHP_5_4/ext/intl/dateformat/
H A Ddateformat.c75 zval* object; local
91 object = return_value;
124 /* object construction -> only set global error */
210 * IntlDateFormatter object constructor.
232 &object, IntlDateFormatter_ce_ptr ) == FAILURE )
239 dfo = (IntlDateFormatter_object *) zend_object_store_get_object( object TSRMLS_CC );
258 &object, IntlDateFormatter_ce_ptr ) == FAILURE )
266 dfo = (IntlDateFormatter_object *) zend_object_store_get_object( object TSRMLS_CC );
H A Ddateformat_class.c36 static void IntlDateFormatter_object_dtor(void *object, zend_object_handle handle TSRMLS_DC ) argument
38 zend_objects_destroy_object( object, handle TSRMLS_CC );
43 void IntlDateFormatter_object_free( zend_object *object TSRMLS_DC )
45 IntlDateFormatter_object* dfo = (IntlDateFormatter_object*)object;
87 zend_object_value IntlDateFormatter_object_clone(zval *object TSRMLS_DC)
90 zend_object_handle handle = Z_OBJ_HANDLE_P(object);
95 new_obj_val = IntlDateFormatter_ce_ptr->create_object(Z_OBJCE_P(object) TSRMLS_CC);
99 /* clone formatter object */
105 "Failed to clone IntlDateFormatter object", 0 TSRMLS_CC );
106 zend_throw_exception(NULL, "Failed to clone IntlDateFormatter object",
[all...]
/PHP_5_4/ext/intl/resourcebundle/
H A Dresourcebundle_class.c38 static void ResourceBundle_object_destroy( void *object, zend_object_handle handle TSRMLS_DC ) argument
40 ResourceBundle_object *rb = (ResourceBundle_object *) object;
52 zend_object_std_dtor( object TSRMLS_CC );
53 efree(object);
90 zval *object = return_value; local
91 ResourceBundle_object *rb = (ResourceBundle_object *) zend_object_store_get_object( object TSRMLS_CC);
143 * ResourceBundle object constructor
163 static void resourcebundle_array_fetch(zval *object, zval *offset, zval *return_value, int fallback TSRMLS_DC) argument
219 zval *resourcebundle_array_get(zval *object, zval *offset, int type TSRMLS_DC) argument
224 php_error( E_ERROR, "Cannot apply [] to ResourceBundle object" );
249 zval * object; local
262 resourcebundle_array_count(zval *object, long *count TSRMLS_DC) argument
[all...]
H A Dresourcebundle_iterator.c74 zval *object = (zval *)iterator->intern.data; local
78 Z_DELREF_P(object);
156 zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref TSRMLS_DC ) argument
158 ResourceBundle_object *rb = (ResourceBundle_object *) zend_object_store_get_object( object TSRMLS_CC );
165 Z_ADDREF_P(object);
166 iterator->intern.data = (void *) object;
/PHP_5_4/ext/intl/transliterator/
H A Dtransliterator_class.c30 /* {{{ int transliterator_object_construct( zval *object, UTransliterator *utrans, UErrorCode *status TSRMLS_DC )
33 int transliterator_object_construct( zval *object, argument
47 * caller relies on it always being made (so it can just destroy the object
58 zend_update_property_stringl( Transliterator_ce_ptr, object,
101 void *object,
104 zend_objects_destroy_object( object, handle TSRMLS_CC );
109 static void Transliterator_objects_free( zend_object *object TSRMLS_DC )
111 Transliterator_object* to = (Transliterator_object*) object;
156 static zend_object_value Transliterator_clone_obj( zval *object TSRMLS_DC )
163 to_orig = zend_object_store_get_object( object TSRMLS_C
100 Transliterator_objects_dtor( void *object, zend_object_handle handle TSRMLS_DC ) argument
248 Transliterator_get_property_ptr_ptr( zval *object, zval *member TSRMLS_DC ) argument
280 Transliterator_read_property( zval *object, zval *member, int type TSRMLS_DC ) argument
315 Transliterator_write_property( zval *object, zval *member, zval *value TSRMLS_DC ) argument
[all...]
/PHP_5_4/ext/spl/
H A Dspl_directory.h45 typedef void (*spl_foreign_dtor_t)(spl_filesystem_object *object TSRMLS_DC);
59 spl_filesystem_object *object; member in struct:__anon212
H A Dspl_engine.c35 PHPAPI void spl_instantiate(zend_class_entry *pce, zval **object, int alloc TSRMLS_DC) argument
38 ALLOC_ZVAL(*object);
40 object_init_ex(*object, pce);
41 Z_SET_REFCOUNT_PP(object, 1);
42 Z_SET_ISREF_PP(object); /* check if this can be hold always */
/PHP_5_4/ext/standard/
H A Dincomplete_class.c27 "access a property of an incomplete object. " \
28 "Please ensure that the class definition \"%s\" of the object " \
37 static void incomplete_class_message(zval *object, int error_type TSRMLS_DC) argument
42 class_name = php_lookup_class_name(object, NULL);
57 static zval *incomplete_class_get_property(zval *object, zval *member, int type, const zend_literal *key TSRMLS_DC) /* {{{ */ argument
59 incomplete_class_message(object, E_NOTICE TSRMLS_CC);
69 static void incomplete_class_write_property(zval *object, zval *member, zval *value, const zend_literal *key TSRMLS_DC) /* {{{ */ argument
71 incomplete_class_message(object, E_NOTICE TSRMLS_CC);
75 static zval **incomplete_class_get_property_ptr_ptr(zval *object, zval *member, const zend_literal *key TSRMLS_DC) /* {{{ */ argument
77 incomplete_class_message(object, E_NOTIC
82 incomplete_class_unset_property(zval *object, zval *member, const zend_literal *key TSRMLS_DC) argument
88 incomplete_class_has_property(zval *object, zval *member, int check_empty, const zend_literal *key TSRMLS_DC) argument
95 incomplete_class_get_method(zval **object, char *method, int method_len, const zend_literal *key TSRMLS_DC) argument
106 zend_object *object; local
138 php_lookup_class_name(zval *object, zend_uint *nlen) argument
161 php_store_class_name(zval *object, const char *name, zend_uint len) argument
[all...]
/PHP_5_4/ext/xml/
H A Dphp_xml.h76 zval *object; member in struct:__anon284
/PHP_5_4/ext/xsl/
H A Dphp_xsl.c75 void xsl_objects_free_storage(void *object TSRMLS_DC)
77 xsl_object *intern = (xsl_object *)object;
109 efree(object);
219 xsl_object *object; local
221 object = (xsl_object *)zend_objects_get_address(wrapper TSRMLS_CC);
222 object->ptr = obj;
/PHP_5_4/Zend/
H A Dzend_interfaces.c48 /*fci.function_table = NULL; will be read form zend_class_entry of object if needed */
121 ZEND_API zval *zend_user_it_new_iterator(zend_class_entry *ce, zval *object TSRMLS_DC)
125 return zend_call_method_with_0_params(&object, ce, &ce->iterator_funcs.zf_new_iterator, "getiterator", &retval);
146 zval *object = (zval*)iter->it.data; local
149 zval_ptr_dtor(&object);
159 zval *object = (zval*)iter->it.data; local
163 zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_valid, "valid", &more);
178 zval *object = (zval*)iter->it.data; local
181 zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_current, "current", &iter->value);
201 zval *object local
247 zval *object = (zval*)iter->it.data; local
258 zval *object = (zval*)iter->it.data; local
276 zend_user_it_get_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) argument
296 zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) argument
426 zend_user_serialize(zval *object, unsigned char **buffer, zend_uint *buf_len, zend_serialize_data *data TSRMLS_DC) argument
463 zend_user_unserialize(zval **object, zend_class_entry *ce, const unsigned char *buf, zend_uint buf_len, zend_unserialize_data *data TSRMLS_DC) argument
484 zend_class_serialize_deny(zval *object, unsigned char **buffer, zend_uint *buf_len, zend_serialize_data *data TSRMLS_DC) argument
492 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_iterators.c58 static void iter_wrapper_dtor(void *object, zend_object_handle handle TSRMLS_DC) argument
60 zend_object_iterator *iter = (zend_object_iterator*)object;
H A Dzend_objects.c29 ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC) argument
31 object->ce = ce;
32 object->properties = NULL;
33 object->properties_table = NULL;
34 object->guards = NULL;
37 ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC)
39 if (object->guards) {
40 zend_hash_destroy(object->guards);
41 FREE_HASHTABLE(object->guards);
43 if (object
61 zend_objects_destroy_object(zend_object *object, zend_object_handle handle TSRMLS_DC) argument
141 zend_objects_new(zend_object **object, zend_class_entry *class_type TSRMLS_DC) argument
[all...]
H A Dzend_objects_API.c55 if (obj->dtor && obj->object) {
57 obj->dtor(obj->object, i TSRMLS_CC);
97 obj->free_storage(obj->object TSRMLS_CC);
107 ZEND_API zend_object_handle zend_objects_store_put(void *object, zend_objects_store_dtor_t dtor, zend_objects_free_object_storage_t free_storage, zend_objects_store_clone_t clone TSRMLS_DC) argument
129 obj->object = object;
136 fprintf(stderr, "Allocated object id #%d\n", handle);
141 ZEND_API zend_uint zend_objects_store_get_refcount(zval *object TSRMLS_DC)
143 zend_object_handle handle = Z_OBJ_HANDLE_P(object);
148 ZEND_API void zend_objects_store_add_ref(zval *object TSRMLS_D
317 zval *object; member in struct:_zend_proxy_object
323 zend_objects_proxy_destroy(zend_object *object, zend_object_handle handle TSRMLS_DC) argument
334 zend_objects_proxy_clone(zend_proxy_object *object, zend_proxy_object **object_clone TSRMLS_DC) argument
343 zend_object_create_proxy(zval *object, zval *member TSRMLS_DC) argument
[all...]
H A Dzend_objects_API.h27 typedef void (*zend_objects_store_dtor_t)(void *object, zend_object_handle handle TSRMLS_DC);
28 typedef void (*zend_objects_free_object_storage_t)(void *object TSRMLS_DC);
29 typedef void (*zend_objects_store_clone_t)(void *object, void **object_clone TSRMLS_DC);
37 void *object; member in struct:_zend_object_store_bucket::_store_bucket::_store_object
66 ZEND_API zend_object_handle zend_objects_store_put(void *object, zend_objects_store_dtor_t dtor, zend_objects_free_object_storage_t storage, zend_objects_store_clone_t clone TSRMLS_DC);
68 ZEND_API void zend_objects_store_add_ref(zval *object TSRMLS_DC);
69 ZEND_API void zend_objects_store_del_ref(zval *object TSRMLS_DC);
75 ZEND_API zend_uint zend_objects_store_get_refcount(zval *object TSRMLS_DC);
76 ZEND_API zend_object_value zend_objects_store_clone_obj(zval *object TSRMLS_DC);
77 ZEND_API void *zend_object_store_get_object(const zval *object TSRMLS_D
[all...]
/PHP_5_4/ext/com_dotnet/
H A Dcom_iterator.c142 zend_object_iterator *php_com_iter_get(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) argument
156 obj = CDNO_FETCH(object);
159 php_error_docref(NULL TSRMLS_CC, E_WARNING, "variant is not an object or array VT=%d", V_VT(&obj->v));
H A Dcom_dotnet.c144 /* fire up the host and get the domain object */
188 zval *object = getThis(); local
211 ZVAL_NULL(object);
226 ZVAL_NULL(object);
239 ZVAL_NULL(object);
244 obj = CDNO_FETCH(object);
250 php_com_throw_exception(E_INVALIDARG, "Could not create .Net object - invalid arguments!" TSRMLS_CC);
251 ZVAL_NULL(object);
312 snprintf(buf, sizeof(buf), "Failed to instantiate .Net object [%s] [0x%08x] %s", where, hr, err);
317 ZVAL_NULL(object);
[all...]
/PHP_5_4/ext/dom/
H A Ddom_iterators.c165 zval *object; local
170 object = (zval *)iterator->intern.data;
172 if (instanceof_function(Z_OBJCE_P(object), dom_nodelist_class_entry TSRMLS_CC)) {
196 zval *object; local
207 object = (zval *)iterator->intern.data;
208 nnmap = (dom_object *)zend_object_store_get_object(object TSRMLS_CC);
270 zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) /* {{{ */ argument
286 Z_ADDREF_P(object);
287 iterator->intern.data = (void*)object;
290 intern = (dom_object *)zend_object_store_get_object(object TSRMLS_C
[all...]
/PHP_5_4/ext/mysqli/
H A Dmysqli_result_iterator.c47 zend_object_iterator *php_mysqli_result_get_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) argument
56 Z_ADDREF_P(object);
57 iterator->intern.data = (void*)object;
59 iterator->result = (mysqli_object *) zend_object_store_get_object(object TSRMLS_CC);

Completed in 69 milliseconds

123