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

123

/PHP_5_3/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_3/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;
86 zend_object_value IntlDateFormatter_object_clone(zval *object TSRMLS_DC)
89 zend_object_handle handle = Z_OBJ_HANDLE_P(object);
94 new_obj_val = IntlDateFormatter_ce_ptr->create_object(Z_OBJCE_P(object) TSRMLS_CC);
98 /* clone formatter object */
104 "Failed to clone IntlDateFormatter object", 0 TSRMLS_CC );
105 zend_throw_exception(NULL, "Failed to clone IntlDateFormatter object",
[all...]
/PHP_5_3/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;
81 zend_object_value NumberFormatter_object_clone(zval *object TSRMLS_DC)
84 zend_object_handle handle = Z_OBJ_HANDLE_P(object);
88 new_obj_val = NumberFormatter_ce_ptr->create_object(Z_OBJCE_P(object) TSRMLS_CC);
92 /* clone formatter object. It may fail, the destruction code must handle this case */
99 "Failed to clone NumberFormatter object", 0 TSRMLS_CC);
100 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_3/ext/intl/msgformat/
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 );
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;
79 zend_object_value MessageFormatter_object_clone(zval *object TSRMLS_DC)
82 zend_object_handle handle = Z_OBJ_HANDLE_P(object);
86 new_obj_val = MessageFormatter_ce_ptr->create_object(Z_OBJCE_P(object) TSRMLS_CC);
91 /* clone formatter object */
98 "Failed to clone MessageFormatter object", 0 TSRMLS_CC);
99 zend_throw_exception_ex(NULL, 0 TSRMLS_CC, "Failed to clone MessageFormatter object");
[all...]
/PHP_5_3/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);
89 zval *object = return_value; local
90 ResourceBundle_object *rb = (ResourceBundle_object *) zend_object_store_get_object( object TSRMLS_CC);
134 * ResourceBundle object constructor
154 static void resourcebundle_array_fetch(zval *object, zval *offset, zval *return_value, int fallback TSRMLS_DC) argument
210 zval *resourcebundle_array_get(zval *object, zval *offset, int type TSRMLS_DC) argument
215 php_error( E_ERROR, "Cannot apply [] to ResourceBundle object" );
240 zval * object; local
253 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_3/ext/com_dotnet/
H A Dcom_dotnet.c144 /* fire up the host and get the domain object */
188 zval *object = getThis(); local
210 ZVAL_NULL(object);
217 obj = CDNO_FETCH(object);
223 php_com_throw_exception(E_INVALIDARG, "Could not create .Net object - invalid arguments!" TSRMLS_CC);
224 ZVAL_NULL(object);
285 snprintf(buf, sizeof(buf), "Failed to instantiate .Net object [%s] [0x%08x] %s", where, hr, err);
290 ZVAL_NULL(object);
H A Dcom_handlers.c32 static zval *com_property_read(zval *object, zval *member, int type TSRMLS_DC) argument
44 obj = CDNO_FETCH(object);
58 php_com_saproxy_create(object, return_value, member TSRMLS_CC);
67 static void com_property_write(zval *object, zval *member, zval *value TSRMLS_DC) argument
72 obj = CDNO_FETCH(object);
87 static zval *com_read_dimension(zval *object, zval *offset, int type TSRMLS_DC) argument
98 obj = CDNO_FETCH(object);
117 php_com_saproxy_create(object, return_value, offset TSRMLS_CC);
127 static void com_write_dimension(zval *object, zval *offset, zval *value TSRMLS_DC) argument
134 obj = CDNO_FETCH(object);
199 com_property_exists(zval *object, zval *member, int check_empty TSRMLS_DC) argument
219 com_dimension_exists(zval *object, zval *member, int check_empty TSRMLS_DC) argument
225 com_property_delete(zval *object, zval *member TSRMLS_DC) argument
230 com_dimension_delete(zval *object, zval *offset TSRMLS_DC) argument
268 zval *object = *object_ptr; local
445 com_class_name_get(const zval *object, char **class_name, zend_uint *class_name_len, int parent TSRMLS_DC) argument
543 com_object_count(zval *object, long *count TSRMLS_DC) argument
638 php_com_object_clone(void *object, void **clone_ptr TSRMLS_DC) argument
[all...]
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_saproxy.c40 /* the object we a proxying for; we hold a refcount to it */
74 static zval *saproxy_property_read(zval *object, zval *member, int type TSRMLS_DC) argument
86 static void saproxy_property_write(zval *object, zval *member, zval *value TSRMLS_DC) argument
91 static zval *saproxy_read_dimension(zval *object, zval *offset, int type TSRMLS_DC) argument
93 php_com_saproxy *proxy = SA_FETCH(object);
129 php_com_saproxy_create(object, return_value, offset TSRMLS_CC);
135 php_com_throw_exception(E_INVALIDARG, "invalid read from com proxy object" TSRMLS_CC);
205 php_com_saproxy_create(object, return_value, offset TSRMLS_CC);
211 static void saproxy_write_dimension(zval *object, zval *offset, zval *value TSRMLS_DC) argument
213 php_com_saproxy *proxy = SA_FETCH(object);
296 saproxy_property_exists(zval *object, zval *member, int check_empty TSRMLS_DC) argument
302 saproxy_dimension_exists(zval *object, zval *member, int check_empty TSRMLS_DC) argument
308 saproxy_property_delete(zval *object, zval *member TSRMLS_DC) argument
313 saproxy_dimension_delete(zval *object, zval *offset TSRMLS_DC) argument
324 saproxy_method_get(zval **object, char *name, int len TSRMLS_DC) argument
346 saproxy_class_name_get(const zval *object, char **class_name, zend_uint *class_name_len, int parent TSRMLS_DC) argument
363 saproxy_count_elements(zval *object, long *count TSRMLS_DC) argument
420 saproxy_clone(void *object, void **clone_ptr TSRMLS_DC) argument
555 php_com_saproxy_iter_get(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) argument
[all...]
H A Dcom_variant.c120 /* pass the underlying object */
132 /* export the PHP object using our COM wrapper */
399 zval *object = getThis(); local
409 obj = CDNO_FETCH(object);
466 /* {{{ proto void variant_set(object variant, mixed value)
467 Assigns a new value for a variant object */
907 /* {{{ proto int variant_date_to_timestamp(object variant)
946 /* {{{ proto object variant_date_from_timestamp(int timestamp)
988 /* {{{ proto int variant_get_type(object variant)
1005 /* {{{ proto void variant_set_type(object varian
[all...]
/PHP_5_3/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_3/ext/mysqli/
H A Dmysqli_nonapi.c63 zval *object = getThis(); local
96 if (object && instanceof_function(Z_OBJCE_P(object), mysqli_link_class_entry TSRMLS_CC)) {
97 mysqli_resource = ((mysqli_object *) zend_object_store_get_object(object TSRMLS_CC))->ptr;
109 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O|sssslsl", &object, mysqli_link_class_entry,
115 mysqli_resource = ((mysqli_object *) zend_object_store_get_object(object TSRMLS_CC))->ptr;
116 MYSQLI_FETCH_RESOURCE_CONN(mysql, &object, MYSQLI_STATUS_INITIALIZED);
285 if (!object || !instanceof_function(Z_OBJCE_P(object), mysqli_link_class_entry TSRMLS_CC)) {
288 ((mysqli_object *) zend_object_store_get_object(object TSRMLS_C
[all...]
/PHP_5_3/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:__anon180
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_3/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 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 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 TSRMLS_DC) /* {{{ */ argument
77 incomplete_class_message(object, E_NOTIC
82 incomplete_class_unset_property(zval *object, zval *member TSRMLS_DC) argument
88 incomplete_class_has_property(zval *object, zval *member, int check_empty TSRMLS_DC) argument
95 incomplete_class_get_method(zval **object, char *method, int method_len 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_3/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);
218 xsl_object *object; local
220 object = (xsl_object *)zend_objects_get_address(wrapper TSRMLS_CC);
221 object->ptr = obj;
/PHP_5_3/Zend/
H A Dzend_closures.c32 #define ZEND_CLOSURE_PRINT_NAME "Closure object"
35 zend_error(E_RECOVERABLE_ERROR, "Closure object cannot have properties")
78 static zend_function *zend_closure_get_constructor(zval *object TSRMLS_DC) /* {{{ */
132 static zval *zend_closure_read_property(zval *object, zval *member, int type TSRMLS_DC) /* {{{ */ argument
140 static void zend_closure_write_property(zval *object, zval *member, zval *value TSRMLS_DC) /* {{{ */ argument
146 static zval **zend_closure_get_property_ptr_ptr(zval *object, zval *member TSRMLS_DC) /* {{{ */ argument
153 static int zend_closure_has_property(zval *object, zval *member, int has_set_exists TSRMLS_DC) /* {{{ */ argument
162 static void zend_closure_unset_property(zval *object, zval *member TSRMLS_DC) /* {{{ */ argument
168 static void zend_closure_free_storage(void *object TSRMLS_DC) /* {{{ */
170 zend_closure *closure = (zend_closure *)object;
197 zend_object_value object; local
230 zend_closure_get_debug_info(zval *object, int *is_temp 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 ALLOC_HASHTABLE(object->properties);
32 zend_hash_init(object->properties, 0, NULL, ZVAL_PTR_DTOR, 0);
34 object->ce = ce;
35 object->guards = NULL;
38 ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC)
40 if (object->guards) {
41 zend_hash_destroy(object->guards);
42 FREE_HASHTABLE(object->guards);
44 if (object
50 zend_objects_destroy_object(zend_object *object, zend_object_handle handle TSRMLS_DC) argument
130 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);
92 obj->free_storage(obj->object TSRMLS_CC);
102 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
123 obj->object = object;
130 fprintf(stderr, "Allocated object id #%d\n", handle);
135 ZEND_API zend_uint zend_objects_store_get_refcount(zval *object TSRMLS_DC)
137 zend_object_handle handle = Z_OBJ_HANDLE_P(object);
142 ZEND_API void zend_objects_store_add_ref(zval *object TSRMLS_D
311 zval *object; member in struct:_zend_proxy_object
324 zend_objects_proxy_clone(zend_proxy_object *object, zend_proxy_object **object_clone TSRMLS_DC) argument
333 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);
36 void *object; member in struct:_zend_object_store_bucket::_store_bucket::_store_object
65 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);
67 ZEND_API void zend_objects_store_add_ref(zval *object TSRMLS_DC);
68 ZEND_API void zend_objects_store_del_ref(zval *object TSRMLS_DC);
74 ZEND_API zend_uint zend_objects_store_get_refcount(zval *object TSRMLS_DC);
75 ZEND_API zend_object_value zend_objects_store_clone_obj(zval *object TSRMLS_DC);
76 ZEND_API void *zend_object_store_get_object(const zval *object TSRMLS_D
[all...]

Completed in 19 milliseconds

123