Lines Matching refs:ii

90 		&result_length, INTLITERATOR_ERROR_CODE(ii));  in string_enum_current_move_forward()
92 intl_error_set_code(NULL, INTLITERATOR_ERROR_CODE(ii)); in string_enum_current_move_forward()
93 if (U_FAILURE(INTLITERATOR_ERROR_CODE(ii))) { in string_enum_current_move_forward()
94 intl_errors_set_custom_msg(INTL_DATA_ERROR_P(ii), in string_enum_current_move_forward()
113 ((StringEnumeration*)Z_PTR(iter->data))->reset(INTLITERATOR_ERROR_CODE(ii)); in string_enum_rewind()
115 intl_error_set_code(NULL, INTLITERATOR_ERROR_CODE(ii)); in string_enum_rewind()
116 if (U_FAILURE(INTLITERATOR_ERROR_CODE(ii))) { in string_enum_rewind()
117 intl_errors_set_custom_msg(INTL_DATA_ERROR_P(ii), in string_enum_rewind()
141 IntlIterator_object *ii; in IntlIterator_from_StringEnumeration() local
143 ii = Z_INTL_ITERATOR_P(object); in IntlIterator_from_StringEnumeration()
144 ii->iterator = (zend_object_iterator*)emalloc(sizeof(zoi_with_current)); in IntlIterator_from_StringEnumeration()
145 zend_iterator_init(ii->iterator); in IntlIterator_from_StringEnumeration()
146 ZVAL_PTR(&ii->iterator->data, se); in IntlIterator_from_StringEnumeration()
147 ii->iterator->funcs = &string_enum_object_iterator_funcs; in IntlIterator_from_StringEnumeration()
148 ii->iterator->index = 0; in IntlIterator_from_StringEnumeration()
149 ((zoi_with_current*)ii->iterator)->destroy_it = string_enum_destroy_it; in IntlIterator_from_StringEnumeration()
150 ZVAL_OBJ(&((zoi_with_current*)ii->iterator)->wrapping_obj, Z_OBJ_P(object)); in IntlIterator_from_StringEnumeration()
151 ZVAL_UNDEF(&((zoi_with_current*)ii->iterator)->current); in IntlIterator_from_StringEnumeration()
156 IntlIterator_object *ii = php_intl_iterator_fetch_object(object); in IntlIterator_objects_free() local
158 if (ii->iterator) { in IntlIterator_objects_free()
159 zval *wrapping_objp = &((zoi_with_current*)ii->iterator)->wrapping_obj; in IntlIterator_objects_free()
161 zend_iterator_dtor(ii->iterator); in IntlIterator_objects_free()
163 intl_error_reset(INTLITERATOR_ERROR_P(ii)); in IntlIterator_objects_free()
165 zend_object_std_dtor(&ii->zo); in IntlIterator_objects_free()
177 IntlIterator_object *ii = Z_INTL_ITERATOR_P(object); in IntlIterator_get_iterator() local
179 if (ii->iterator == NULL) { in IntlIterator_get_iterator()
185 GC_ADDREF(&ii->iterator->std); in IntlIterator_get_iterator()
187 return ii->iterator; in IntlIterator_get_iterator()
217 data = ii->iterator->funcs->get_current_data(ii->iterator); in PHP_METHOD()
233 if (ii->iterator->funcs->get_current_key) { in PHP_METHOD()
234 ii->iterator->funcs->get_current_key(ii->iterator, return_value); in PHP_METHOD()
236 RETURN_LONG(ii->iterator->index); in PHP_METHOD()
249 ii->iterator->funcs->move_forward(ii->iterator); in PHP_METHOD()
252 ii->iterator->index++; in PHP_METHOD()
264 if (ii->iterator->funcs->rewind) { in PHP_METHOD()
265 ii->iterator->funcs->rewind(ii->iterator); in PHP_METHOD()
267 intl_errors_set(INTLITERATOR_ERROR_P(ii), U_UNSUPPORTED_ERROR, in PHP_METHOD()
281 RETURN_BOOL(ii->iterator->funcs->valid(ii->iterator) == SUCCESS); in PHP_METHOD()