Lines Matching refs:object

189 static void spl_fixedarray_object_free_storage(zend_object *object) /* {{{ */  in spl_fixedarray_object_free_storage()  argument
191 spl_fixedarray_object *intern = spl_fixed_array_from_obj(object); in spl_fixedarray_object_free_storage()
208 zend_object_iterator *spl_fixedarray_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
345 static int spl_fixedarray_object_has_dimension(zval *object, zval *offset, int check_empty);
347 static zval *spl_fixedarray_object_read_dimension(zval *object, zval *offset, int type, zval *rv) /… in spl_fixedarray_object_read_dimension() argument
351 intern = Z_SPLFIXEDARRAY_P(object); in spl_fixedarray_object_read_dimension()
353 if (type == BP_VAR_IS && !spl_fixedarray_object_has_dimension(object, offset, 0)) { in spl_fixedarray_object_read_dimension()
365 …zend_call_method_with_1_params(object, intern->std.ce, &intern->fptr_offset_get, "offsetGet", rv, … in spl_fixedarray_object_read_dimension()
407 static void spl_fixedarray_object_write_dimension(zval *object, zval *offset, zval *value) /* {{{ */ in spl_fixedarray_object_write_dimension() argument
412 intern = Z_SPLFIXEDARRAY_P(object); in spl_fixedarray_object_write_dimension()
422 …zend_call_method_with_2_params(object, intern->std.ce, &intern->fptr_offset_set, "offsetSet", NULL… in spl_fixedarray_object_write_dimension()
452 static void spl_fixedarray_object_unset_dimension(zval *object, zval *offset) /* {{{ */ in spl_fixedarray_object_unset_dimension() argument
456 intern = Z_SPLFIXEDARRAY_P(object); in spl_fixedarray_object_unset_dimension()
460 …zend_call_method_with_1_params(object, intern->std.ce, &intern->fptr_offset_del, "offsetUnset", NU… in spl_fixedarray_object_unset_dimension()
501 static int spl_fixedarray_object_has_dimension(zval *object, zval *offset, int check_empty) /* {{{ … in spl_fixedarray_object_has_dimension() argument
505 intern = Z_SPLFIXEDARRAY_P(object); in spl_fixedarray_object_has_dimension()
512 …zend_call_method_with_1_params(object, intern->std.ce, &intern->fptr_offset_has, "offsetExists", &… in spl_fixedarray_object_has_dimension()
523 static int spl_fixedarray_object_count_elements(zval *object, zend_long *count) /* {{{ */ in spl_fixedarray_object_count_elements() argument
527 intern = Z_SPLFIXEDARRAY_P(object); in spl_fixedarray_object_count_elements()
530 zend_call_method_with_0_params(object, intern->std.ce, &intern->fptr_count, "count", &rv); in spl_fixedarray_object_count_elements()
548 zval *object = ZEND_THIS; in SPL_METHOD() local
561 intern = Z_SPLFIXEDARRAY_P(object); in SPL_METHOD()
606 zval *object = ZEND_THIS; in SPL_METHOD() local
613 intern = Z_SPLFIXEDARRAY_P(object); in SPL_METHOD()
717 zval *object = ZEND_THIS; in SPL_METHOD() local
724 intern = Z_SPLFIXEDARRAY_P(object); in SPL_METHOD()
733 zval *object = ZEND_THIS; in SPL_METHOD() local
746 intern = Z_SPLFIXEDARRAY_P(object); in SPL_METHOD()
833 spl_fixedarray_object *object = Z_SPLFIXEDARRAY_P(&iter->data); in spl_fixedarray_it_rewind() local
835 if (object->flags & SPL_FIXEDARRAY_OVERLOADED_REWIND) { in spl_fixedarray_it_rewind()
838 object->current = 0; in spl_fixedarray_it_rewind()
845 spl_fixedarray_object *object = Z_SPLFIXEDARRAY_P(&iter->data); in spl_fixedarray_it_valid() local
847 if (object->flags & SPL_FIXEDARRAY_OVERLOADED_VALID) { in spl_fixedarray_it_valid()
851 if (object->current >= 0 && object->current < object->array.size) { in spl_fixedarray_it_valid()
862 spl_fixedarray_object *object = Z_SPLFIXEDARRAY_P(&iter->data); in spl_fixedarray_it_get_current_data() local
864 if (object->flags & SPL_FIXEDARRAY_OVERLOADED_CURRENT) { in spl_fixedarray_it_get_current_data()
869 ZVAL_LONG(&zindex, object->current); in spl_fixedarray_it_get_current_data()
871 data = spl_fixedarray_object_read_dimension_helper(object, &zindex); in spl_fixedarray_it_get_current_data()
883 spl_fixedarray_object *object = Z_SPLFIXEDARRAY_P(&iter->data); in spl_fixedarray_it_get_current_key() local
885 if (object->flags & SPL_FIXEDARRAY_OVERLOADED_KEY) { in spl_fixedarray_it_get_current_key()
888 ZVAL_LONG(key, object->current); in spl_fixedarray_it_get_current_key()
895 spl_fixedarray_object *object = Z_SPLFIXEDARRAY_P(&iter->data); in spl_fixedarray_it_move_forward() local
897 if (object->flags & SPL_FIXEDARRAY_OVERLOADED_NEXT) { in spl_fixedarray_it_move_forward()
901 object->current++; in spl_fixedarray_it_move_forward()
996 zend_object_iterator *spl_fixedarray_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /… in spl_fixedarray_get_iterator() argument
1009 Z_ADDREF_P(object); in spl_fixedarray_get_iterator()
1010 ZVAL_OBJ(&iterator->intern.it.data, Z_OBJ_P(object)); in spl_fixedarray_get_iterator()