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

123

/PHP_TRUNK/ext/com_dotnet/
H A Dcom_dotnet.c144 /* fire up the host and get the domain object */
188 zval *object = getThis(); local
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);
312 snprintf(buf, sizeof(buf), "Failed to instantiate .Net object [%s] [0x%08x] %s", where, hr, err);
H A Dcom_iterator.c138 zend_object_iterator *php_com_iter_get(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) argument
152 obj = CDNO_FETCH(object);
155 php_error_docref(NULL TSRMLS_CC, E_WARNING, "variant is not an object or array VT=%d", V_VT(&obj->v));
/PHP_TRUNK/ext/dom/
H A Ddom_iterators.c158 zval *object = &iterator->intern.data; local
160 if (instanceof_function(Z_OBJCE_P(object), dom_nodelist_class_entry TSRMLS_CC)) {
177 zval *object; local
188 object = &iterator->intern.data;
189 nnmap = Z_DOMOBJ_P(object);
249 zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) /* {{{ */ argument
265 ZVAL_COPY(&iterator->intern.data, object);
270 intern = Z_DOMOBJ_P(object);
/PHP_TRUNK/ext/intl/breakiterator/
H A Dbreakiterator_class.cpp49 U_CFUNC void breakiterator_object_create(zval *object, argument
64 object_init_ex(object, ce);
66 breakiterator_object_construct(object, biter TSRMLS_CC);
69 U_CFUNC void breakiterator_object_construct(zval *object, argument
74 BREAKITER_METHOD_FETCH_OBJECT_NO_CHECK; //populate to from object
98 static zend_object *BreakIterator_clone_obj(zval *object TSRMLS_DC)
104 bio_orig = Z_INTL_BREAKITERATOR_P(object);
107 ret_val = BreakIterator_ce_ptr->create_object(Z_OBJCE_P(object) TSRMLS_CC);
138 static HashTable *BreakIterator_get_debug_info(zval *object, int *is_temp TSRMLS_DC) argument
150 bio = Z_INTL_BREAKITERATOR_P(object);
[all...]
H A Dbreakiterator_iterators.cpp46 "The BreakIterator object backing the PHP iterator is not "
94 zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC)
103 bio = Z_INTL_BREAKITERATOR_P(object);
114 ZVAL_COPY(&zoi_iter->zoi.data, object);
118 ZVAL_UNDEF(&zoi_iter->wrapping_obj); /* not used; object is in zoi.data */
211 zval *object,
216 object_init_ex(object, IntlPartsIterator_ce_ptr);
217 ii = Z_INTL_ITERATOR_P(object);
227 ZVAL_COPY_VALUE(&((zoi_with_current*)ii->iterator)->wrapping_obj, object);
93 _breakiterator_get_iterator( zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) argument
210 IntlIterator_from_BreakIterator_parts(zval *break_iter_zv, zval *object, parts_iter_key_type key_type TSRMLS_DC) argument
H A Drulebasedbreakiterator_methods.cpp34 zval *object = getThis(); local
49 // instantiation of ICU object
115 object = getThis();
144 object = getThis();
160 object = getThis();
201 object = getThis();
/PHP_TRUNK/ext/intl/calendar/
H A Dcalendar_class.cpp43 U_CFUNC void calendar_object_create(zval *object, argument
56 object_init_ex(object, ce);
57 calendar_object_construct(object, calendar TSRMLS_CC);
60 U_CFUNC Calendar *calendar_fetch_native_calendar(zval *object TSRMLS_DC)
62 Calendar_object *co = Z_INTL_CALENDAR_P(object);
67 U_CFUNC void calendar_object_construct(zval *object, argument
72 CALENDAR_METHOD_FETCH_OBJECT_NO_CHECK; //populate to from object
78 static zend_object *Calendar_clone_obj(zval *object TSRMLS_DC)
85 co_orig = Z_INTL_CALENDAR_P(object);
88 ret_val = Calendar_ce_ptr->create_object(Z_OBJCE_P(object) TSRMLS_C
147 Calendar_get_debug_info(zval *object, int *is_temp TSRMLS_DC) argument
[all...]
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_create.c32 zval* object; local
36 object = return_value;
71 * Collator object constructor.
/PHP_TRUNK/ext/intl/common/
H A Dcommon_date.cpp39 void *object,
53 ? ((php_date_obj*)object)->time->tz_info->name
54 : ((php_timezone_obj*)object)->tzi.tz->name;
59 ? -((php_date_obj*)object)->time->z
60 : -(int)((php_timezone_obj*)object)->tzi.utc_offset,
66 spprintf(&message, 0, "%s: object has an time zone offset "
81 ? ((php_date_obj*)object)->time->tz_abbr
82 : ((php_timezone_obj*)object)->tzi.z.abbr;
132 "object", func);
148 spprintf(&message, 0, "%s: the DateTime object i
38 timezone_convert_datetimezone(int type, void *object, int is_datetime, intl_error *outside_error, const char *func TSRMLS_DC) argument
[all...]
H A Dcommon_enum.cpp45 /* object is still here, we can rely on it to call this again and
46 * destroy this object */
49 /* Object not here anymore (we've been called by the object free handler)
52 * precedes the object free phase. Therefore there's no risk on this
86 object = &zoi_iter->wrapping_obj;
111 object = &zoi_iter->wrapping_obj;
140 U_CFUNC void IntlIterator_from_StringEnumeration(StringEnumeration *se, zval *object TSRMLS_DC)
143 object_init_ex(object, IntlIterator_ce_ptr);
144 ii = Z_INTL_ITERATOR_P(object);
151 ZVAL_COPY_VALUE(&((zoi_with_current*)ii->iterator)->wrapping_obj, object);
169 IntlIterator_get_iterator( zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) argument
[all...]
/PHP_TRUNK/ext/intl/dateformat/
H A Ddateformat_create.cpp41 zval *object; local
62 object = return_value;
99 //we have an explicit time zone or a non-object calendar
112 /* object construction -> only set global error */
186 * IntlDateFormatter object constructor.
H A Ddateformat_format_object.cpp63 zval *object, local
77 &object, &format, &locale_str, &locale_len) == FAILURE) {
138 zend_class_entry *instance_ce = Z_OBJCE_P(object);
140 Calendar *obj_cal = calendar_fetch_native_calendar(object TSRMLS_CC);
158 if (intl_datetime_decompose(object, &date, &timeZone, NULL,
171 intl_error_set(NULL, status, "datefmt_format_object: the passed object "
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat.c36 zval* object; local
40 object = return_value;
107 * MessageFormatter object constructor.
131 zval* object = NULL; local
136 &object, MessageFormatter_ce_ptr ) == FAILURE )
144 mfo = Z_INTL_MESSAGEFORMATTER_P( object );
159 zval* object = NULL; local
164 &object, MessageFormatter_ce_ptr ) == FAILURE )
172 mfo = Z_INTL_MESSAGEFORMATTER_P( object );
/PHP_TRUNK/ext/intl/resourcebundle/
H A Dresourcebundle_class.c38 static void ResourceBundle_object_destroy( zend_object *object TSRMLS_DC )
40 ResourceBundle_object *rb = php_intl_resourcebundle_fetch_object(object);
52 //???zend_object_std_dtor( object TSRMLS_CC );
85 zval *object = return_value; local
86 ResourceBundle_object *rb = Z_INTL_RESOURCEBUNDLE_P( object );
138 * ResourceBundle object constructor
169 static void resourcebundle_array_fetch(zval *object, zval *offset, zval *return_value, int fallback TSRMLS_DC) argument
223 zval *resourcebundle_array_get(zval *object, zval *offset, int type, zval *rv TSRMLS_DC) argument
226 php_error( E_ERROR, "Cannot apply [] to ResourceBundle object" );
229 resourcebundle_array_fetch(object, offse
249 zval * object; local
262 resourcebundle_array_count(zval *object, zend_long *count TSRMLS_DC) argument
[all...]
H A Dresourcebundle_iterator.c73 zval *object = &iterator->intern.data; local
77 zval_ptr_dtor(object);
150 zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref TSRMLS_DC ) argument
152 ResourceBundle_object *rb = Z_INTL_RESOURCEBUNDLE_P(object );
160 ZVAL_COPY(&iterator->intern.data, object);
/PHP_TRUNK/ext/intl/timezone/
H A Dtimezone_class.cpp48 U_CFUNC void timezone_object_construct(const TimeZone *zone, zval *object, int owned TSRMLS_DC) argument
52 object_init_ex(object, TimeZone_ce_ptr);
53 TIMEZONE_METHOD_FETCH_OBJECT_NO_CHECK; /* fetch zend object from zval "object" into "to" */
60 * Convert from TimeZone to DateTimeZone object */
224 static zend_object *TimeZone_clone_obj(zval *object TSRMLS_DC)
231 to_orig = Z_INTL_TIMEZONE_P(object);
234 ret_val = TimeZone_ce_ptr->create_object(Z_OBJCE_P(object) TSRMLS_CC);
288 static HashTable *TimeZone_get_debug_info(zval *object, int *is_temp TSRMLS_DC) argument
304 to = Z_INTL_TIMEZONE_P(object);
[all...]
/PHP_TRUNK/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 zend_object *object TSRMLS_DC )
103 zend_objects_destroy_object( object TSRMLS_CC );
108 static void Transliterator_objects_free( zend_object *object TSRMLS_DC )
110 Transliterator_object* to = php_intl_transliterator_fetch_object(object);
141 static zend_object *Transliterator_clone_obj( zval *object TSRMLS_DC )
148 to_orig = Z_INTL_TRANSLITERATOR_P( object );
219 Transliterator_get_property_ptr_ptr( zval *object, zval *member, int type, void **cache_slot TSRMLS_DC ) argument
242 Transliterator_read_property( zval *object, zval *member, int type, void **cache_slot, zval *rv TSRMLS_DC ) argument
268 Transliterator_write_property( zval *object, zval *member, zval *value, void **cache_slot TSRMLS_DC ) argument
[all...]
/PHP_TRUNK/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
57 ZVAL_COPY(&iterator->intern.data, object);
59 iterator->result = Z_MYSQLI_P(object);
/PHP_TRUNK/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
41 class_name = php_lookup_class_name(object);
52 static zval *incomplete_class_get_property(zval *object, zval *member, int type, void **cache_slot, zval *rv TSRMLS_DC) /* {{{ */ argument
54 incomplete_class_message(object, E_NOTICE TSRMLS_CC);
64 static void incomplete_class_write_property(zval *object, zval *member, zval *value, void **cache_slot TSRMLS_DC) /* {{{ */ argument
66 incomplete_class_message(object, E_NOTICE TSRMLS_CC);
70 static zval *incomplete_class_get_property_ptr_ptr(zval *object, zval *member, int type, void **cache_slot TSRMLS_DC) /* {{{ */ argument
72 incomplete_class_message(object, E_NOTIC
77 incomplete_class_unset_property(zval *object, zval *member, void **cache_slot TSRMLS_DC) argument
83 incomplete_class_has_property(zval *object, zval *member, int check_empty, void **cache_slot TSRMLS_DC) argument
90 incomplete_class_get_method(zend_object **object, zend_string *method, const zval *key TSRMLS_DC) argument
104 zend_object *object; local
135 php_lookup_class_name(zval *object) argument
153 php_store_class_name(zval *object, const char *name, uint32_t len) argument
[all...]
/PHP_TRUNK/ext/xsl/
H A Dphp_xsl.c75 void xsl_objects_free_storage(zend_object *object TSRMLS_DC)
77 xsl_object *intern = php_xsl_fetch_object(object);
209 xsl_object *object; local
211 object = Z_XSL_P(wrapper);
212 object->ptr = obj;
/PHP_TRUNK/ext/libxml/
H A Dphp_libxml.h47 zval object; member in struct:_php_libxml_entity_resolver
91 typedef void * (*php_libxml_export_node) (zval *object TSRMLS_DC);
93 PHP_LIBXML_API int php_libxml_increment_node_ptr(php_libxml_node_object *object, xmlNodePtr node, void *private_data TSRMLS_DC);
94 PHP_LIBXML_API int php_libxml_decrement_node_ptr(php_libxml_node_object *object TSRMLS_DC);
95 PHP_LIBXML_API int php_libxml_increment_doc_ref(php_libxml_node_object *object, xmlDocPtr docp TSRMLS_DC);
96 PHP_LIBXML_API int php_libxml_decrement_doc_ref(php_libxml_node_object *object TSRMLS_DC);
97 PHP_LIBXML_API xmlNodePtr php_libxml_import_node(zval *object TSRMLS_DC);
101 /* When object dtor is called as node may still be referenced */
102 PHP_LIBXML_API void php_libxml_node_decrement_resource(php_libxml_node_object *object TSRMLS_DC);
/PHP_TRUNK/Zend/
H A Dzend_interfaces.c34 ZEND_API zval* zend_call_method(zval *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, int function_name_len, zval *retval_ptr, int param_count, zval* arg1, zval* arg2 TSRMLS_DC) argument
51 /*fci.function_table = NULL; will be read form zend_class_entry of object if needed */
52 fci.object = (object && Z_TYPE_P(object) == IS_OBJECT) ? Z_OBJ_P(object) : NULL;
63 fci.function_table = !object ? EG(function_table) : NULL;
71 obj_ce = object ? Z_OBJCE_P(object) : NULL;
90 if (object) {
131 zend_user_it_new_iterator(zend_class_entry *ce, zval *object, zval *retval TSRMLS_DC) argument
153 zval *object = &iter->it.data; local
165 zval *object = &iter->it.data; local
184 zval *object = &iter->it.data; local
207 zval *object = &iter->it.data; local
228 zval *object = &iter->it.data; local
239 zval *object = &iter->it.data; local
257 zend_user_it_get_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) argument
278 zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) argument
409 zend_user_serialize(zval *object, unsigned char **buffer, size_t *buf_len, zend_serialize_data *data TSRMLS_DC) argument
446 zend_user_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, zend_unserialize_data *data TSRMLS_DC) argument
466 zend_class_serialize_deny(zval *object, unsigned char **buffer, size_t *buf_len, zend_serialize_data *data TSRMLS_DC) argument
474 zend_class_unserialize_deny(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, zend_unserialize_data *data TSRMLS_DC) argument
[all...]
H A Dzend_generators.c132 static void zend_generator_dtor_storage(zend_object *object TSRMLS_DC) /* {{{ */
134 zend_generator *generator = (zend_generator*) object;
172 static void zend_generator_free_storage(zend_object *object TSRMLS_DC) /* {{{ */
174 zend_generator *generator = (zend_generator*) object;
259 /* Save execution context in generator object. */
274 static zend_function *zend_generator_get_constructor(zend_object *object TSRMLS_DC) /* {{{ */
614 zend_object_iterator *zend_generator_get_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) /* {{{ */ argument
617 zend_generator *generator = (zend_generator*)Z_OBJ_P(object);
634 ZVAL_COPY(&iterator->data, object);
H A Dzend_objects.c29 ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC) argument
31 GC_REFCOUNT(object) = 1;
32 GC_TYPE_INFO(object) = IS_OBJECT;
33 object->ce = ce;
34 object->properties = NULL;
35 object->guards = NULL;
36 zend_objects_store_put(object TSRMLS_CC);
38 zval *p = object->properties_table;
48 ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC)
52 if (object
133 zend_object *object = emalloc(sizeof(zend_object) + sizeof(zval) * (ce->default_properties_count - 1)); local
[all...]
H A Dzend_execute.h165 static zend_always_inline zend_execute_data *zend_vm_stack_push_call_frame(uint32_t frame_info, zend_function *func, uint32_t num_args, zend_class_entry *called_scope, zend_object *object, zend_execute_data *prev TSRMLS_DC) argument
175 ZVAL_OBJ(&call->This, object);

Completed in 37 milliseconds

123