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

1234

/PHP_TRUNK/Zend/
H A Dzend_execute.h146 static zend_always_inline zend_execute_data *zend_vm_stack_push_call_frame_ex(uint32_t used_stack, uint32_t call_info, zend_function *func, uint32_t num_args, zend_class_entry *called_scope, zend_object *object, zend_execute_data *prev) argument
151 Z_OBJ(call->This) = object;
169 static zend_always_inline zend_execute_data *zend_vm_stack_push_call_frame(uint32_t call_info, zend_function *func, uint32_t num_args, zend_class_entry *called_scope, zend_object *object, zend_execute_data *prev) argument
174 func, num_args, called_scope, object, prev);
H A Dzend_iterators.c27 static void iter_wrapper_free(zend_object *object);
28 static void iter_wrapper_dtor(zend_object *object);
66 static void iter_wrapper_free(zend_object *object) argument
68 zend_object_iterator *iter = (zend_object_iterator*)object;
72 static void iter_wrapper_dtor(zend_object *object) argument
H A Dzend_objects.c29 ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce) 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);
38 zval *p = object->properties_table;
48 ZEND_API void zend_object_std_dtor(zend_object *object) argument
52 if (object
66 zend_objects_destroy_object(zend_object *object) argument
134 zend_object *object = emalloc(sizeof(zend_object) + sizeof(zval) * (ce->default_properties_count - 1)); local
[all...]
H A Dzend_objects_API.c81 /* Free object properties but don't free object their selves */
113 ZEND_API void zend_objects_store_put(zend_object *object) argument
127 object->handle = handle;
128 EG(objects_store).object_buckets[handle] = object;
135 ZEND_API void zend_objects_store_free(zend_object *object) /* {{{ */ argument
137 uint32_t handle = object->handle;
138 void *ptr = ((char*)object) - object->handlers->offset;
140 GC_REMOVE_FROM_BUFFER(object);
146 zend_objects_store_del(zend_object *object) argument
211 zend_object_store_set_object(zval *zobject, zend_object *object) argument
[all...]
/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!");
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) argument
152 obj = CDNO_FETCH(object);
155 php_error_docref(NULL, E_WARNING, "variant is not an object or array VT=%d", V_VT(&obj->v));
/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);
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) argument
104 bio_orig = Z_INTL_BREAKITERATOR_P(object);
107 ret_val = BreakIterator_ce_ptr->create_object(Z_OBJCE_P(object));
138 static HashTable *BreakIterator_get_debug_info(zval *object, int *is_temp) argument
150 bio = Z_INTL_BREAKITERATOR_P(object);
188 BreakIterator_objects_dtor(zend_object *object) argument
195 BreakIterator_objects_free(zend_object *object) argument
[all...]
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/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) 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) argument
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);
155 IntlIterator_objects_free(zend_object *object) argument
169 IntlIterator_get_iterator( zend_class_entry *ce, zval *object, int by_ref) argument
[all...]
/PHP_TRUNK/ext/intl/dateformat/
H A Ddateformat_class.c38 static void IntlDateFormatter_object_dtor(zend_object *object )
40 zend_objects_destroy_object( object );
45 void IntlDateFormatter_object_free( zend_object *object )
47 IntlDateFormatter_object* dfo = php_intl_dateformatter_fetch_object(object);
81 zend_object *IntlDateFormatter_object_clone(zval *object) argument
88 new_obj = IntlDateFormatter_ce_ptr->create_object(Z_OBJCE_P(object));
92 /* clone formatter object */
98 "Failed to clone IntlDateFormatter object", 0 );
99 zend_throw_exception(NULL, "Failed to clone IntlDateFormatter object", 0);
124 ZEND_ARG_INFO(0, object)
[all...]
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);
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/formatter/
H A Dformatter_class.c37 static void NumberFormatter_object_dtor(zend_object *object) argument
39 zend_objects_destroy_object( object );
44 void NumberFormatter_object_free( zend_object *object )
46 NumberFormatter_object* nfo = php_intl_number_format_fetch_object(object);
71 zend_object *NumberFormatter_object_clone(zval *object) argument
77 new_obj = NumberFormatter_ce_ptr->create_object(Z_OBJCE_P(object));
81 /* clone formatter object. It may fail, the destruction code must handle this case */
88 "Failed to clone NumberFormatter object", 0);
89 zend_throw_exception(NULL, "Failed to clone NumberFormatter object", 0);
/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 );
H A Dmsgformat_class.c37 static void MessageFormatter_object_dtor(zend_object *object )
39 zend_objects_destroy_object( object );
44 void MessageFormatter_object_free( zend_object *object )
46 MessageFormatter_object* mfo = php_intl_messageformatter_fetch_object(object);
71 zend_object *MessageFormatter_object_clone(zval *object) argument
77 new_obj = MessageFormatter_ce_ptr->create_object(Z_OBJCE_P(object));
82 /* clone formatter object */
89 "Failed to clone MessageFormatter object", 0);
90 zend_throw_exception_ex(NULL, 0, "Failed to clone MessageFormatter object");
/PHP_TRUNK/ext/intl/resourcebundle/
H A Dresourcebundle_class.c38 static void ResourceBundle_object_destroy( zend_object *object )
40 ResourceBundle_object *rb = php_intl_resourcebundle_fetch_object(object);
52 //???zend_object_std_dtor( object );
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) argument
223 zval *resourcebundle_array_get(zval *object, zval *offset, int type, zval *rv) 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) 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 ) argument
152 ResourceBundle_object *rb = Z_INTL_RESOURCEBUNDLE_P(object );
160 ZVAL_COPY(&iterator->intern.data, object);
/PHP_TRUNK/ext/intl/spoofchecker/
H A Dspoofchecker_class.c33 static void Spoofchecker_objects_dtor(zend_object *object) argument
35 zend_objects_destroy_object(object);
40 void Spoofchecker_objects_free(zend_object *object) argument
42 Spoofchecker_object* co = php_intl_spoofchecker_fetch_object(object);
110 static zend_object *spoofchecker_clone_obj(zval *object) /* {{{ */ argument
115 sfo = Z_INTL_SPOOFCHECKER_P(object);
118 new_obj_val = Spoofchecker_ce_ptr->create_object(Z_OBJCE_P(object));
122 /* clone internal object */
126 intl_error_set( NULL, SPOOFCHECKER_ERROR_CODE(new_sfo), "Failed to clone SpoofChecker object", 0 );
127 Spoofchecker_objects_dtor(&new_sfo->zo); /* free new object */
[all...]
/PHP_TRUNK/ext/intl/transliterator/
H A Dtransliterator_class.c30 /* {{{ int transliterator_object_construct( zval *object, UTransliterator *utrans, UErrorCode *status )
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 )
103 zend_objects_destroy_object( object );
108 static void Transliterator_objects_free( zend_object *object )
110 Transliterator_object* to = php_intl_transliterator_fetch_object(object);
141 static zend_object *Transliterator_clone_obj( zval *object )
148 to_orig = Z_INTL_TRANSLITERATOR_P( object );
219 Transliterator_get_property_ptr_ptr( zval *object, zval *member, int type, void **cache_slot ) argument
242 Transliterator_read_property( zval *object, zval *member, int type, void **cache_slot, zval *rv ) argument
268 Transliterator_write_property( zval *object, zval *member, zval *value, void **cache_slot ) 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) argument
57 ZVAL_COPY(&iterator->intern.data, object);
59 iterator->result = Z_MYSQLI_P(object);
/PHP_TRUNK/ext/spl/
H A Dspl_engine.c35 PHPAPI void spl_instantiate(zend_class_entry *pce, zval *object) argument
37 object_init_ex(object, pce);
38 Z_SET_REFCOUNT_P(object, 1);
39 // !!!PZ_SET_ISREF_P(object); /* check if this can be hold always */
/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) 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) /* {{{ */ argument
54 incomplete_class_message(object, E_NOTICE);
64 static void incomplete_class_write_property(zval *object, zval *member, zval *value, void **cache_slot) /* {{{ */ argument
66 incomplete_class_message(object, E_NOTICE);
70 static zval *incomplete_class_get_property_ptr_ptr(zval *object, zval *member, int type, void **cache_slot) /* {{{ */ argument
72 incomplete_class_message(object, E_NOTIC
77 incomplete_class_unset_property(zval *object, zval *member, void **cache_slot) argument
83 incomplete_class_has_property(zval *object, zval *member, int check_empty, void **cache_slot) argument
90 incomplete_class_get_method(zend_object **object, zend_string *method, const zval *key) argument
104 zend_object *object; local
135 php_lookup_class_name(zval *object) argument
152 php_store_class_name(zval *object, const char *name, size_t len) argument
[all...]
/PHP_TRUNK/ext/xsl/
H A Dphp_xsl.c75 void xsl_objects_free_storage(zend_object *object)
77 xsl_object *intern = php_xsl_fetch_object(object);
209 xsl_object *object; local
211 object = Z_XSL_P(wrapper);
212 object->ptr = obj;

Completed in 14 milliseconds

1234