Home | History | Annotate | Download | only in unicode

Lines Matching refs:UCharIterator

26  * @see UCharIterator
42 struct UCharIterator;
43 typedef struct UCharIterator UCharIterator; /**< C typedef for struct UCharIterator. @stable ICU 2.1 */
46 * Origin constants for UCharIterator.getIndex() and UCharIterator.move().
48 * @see UCharIterator
55 /** Constants for UCharIterator. @stable ICU 2.6 */
76 * Constant for UCharIterator getState() indicating an error or
80 * Also, some UCharIterator implementations may not be able to return
89 * Function type declaration for UCharIterator.getIndex().
98 * @param iter the UCharIterator structure ("this pointer")
103 * @see UCharIterator
107 UCharIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin);
110 * Function type declaration for UCharIterator.move().
132 * @param iter the UCharIterator structure ("this pointer")
139 * @see UCharIterator
144 UCharIteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin);
147 * Function type declaration for UCharIterator.hasNext().
152 * @param iter the UCharIterator structure ("this pointer")
155 * @see UCharIterator
159 UCharIteratorHasNext(UCharIterator *iter);
162 * Function type declaration for UCharIterator.hasPrevious().
166 * @param iter the UCharIterator structure ("this pointer")
169 * @see UCharIterator
173 UCharIteratorHasPrevious(UCharIterator *iter);
176 * Function type declaration for UCharIterator.current().
181 * @param iter the UCharIterator structure ("this pointer")
184 * @see UCharIterator
188 UCharIteratorCurrent(UCharIterator *iter);
191 * Function type declaration for UCharIterator.next().
197 * @param iter the UCharIterator structure ("this pointer")
200 * @see UCharIterator
204 UCharIteratorNext(UCharIterator *iter);
207 * Function type declaration for UCharIterator.previous().
213 * @param iter the UCharIterator structure ("this pointer")
216 * @see UCharIterator
220 UCharIteratorPrevious(UCharIterator *iter);
223 * Function type declaration for UCharIterator.reservedFn().
226 * @param iter the UCharIterator structure ("this pointer")
230 * @see UCharIterator
234 UCharIteratorReserved(UCharIterator *iter, int32_t something);
237 * Function type declaration for UCharIterator.getState().
252 * With some UCharIterator implementations (e.g., UTF-8),
268 * Some UCharIterator implementations may not be able to return
272 * @param iter the UCharIterator structure ("this pointer")
275 * @see UCharIterator
281 UCharIteratorGetState(const UCharIterator *iter);
284 * Function type declaration for UCharIterator.setState().
298 * @param iter the UCharIterator structure ("this pointer")
304 * @see UCharIterator
309 UCharIteratorSetState(UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode);
317 * There are two roles for using UCharIterator:
320 * fields of the UCharIterator structure. A "provider" passes a UCharIterator
321 * into C APIs that need a UCharIterator as an abstract, flexible string interface.
323 * Implementations of such C APIs are "callers" of UCharIterator functions;
336 * UCharIterator functions return code unit values 0..0xffff,
341 struct UCharIterator {
478 * Helper function for UCharIterator to get the code point
487 * @param iter the UCharIterator structure ("this pointer")
490 * @see UCharIterator
496 uiter_current32(UCharIterator *iter);
499 * Helper function for UCharIterator to get the next code point.
505 * @param iter the UCharIterator structure ("this pointer")
508 * @see UCharIterator
513 uiter_next32(UCharIterator *iter);
516 * Helper function for UCharIterator to get the previous code point.
522 * @param iter the UCharIterator structure ("this pointer")
525 * @see UCharIterator
530 uiter_previous32(UCharIterator *iter);
538 * Some UCharIterator implementations may not be able to return
542 * @param iter the UCharIterator structure ("this pointer")
545 * @see UCharIterator
551 uiter_getState(const UCharIterator *iter);
558 * @param iter the UCharIterator structure ("this pointer")
564 * @see UCharIterator
569 uiter_setState(UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode);
572 * Set up a UCharIterator to iterate over a string.
574 * Sets the UCharIterator function pointers for iteration over the string s
580 * The string pointer s is set into UCharIterator.context without copying
586 * @param iter UCharIterator structure to be set for iteration
590 * @see UCharIterator
594 uiter_setString(UCharIterator *iter, const UChar *s, int32_t length);
597 * Set up a UCharIterator to iterate over a UTF-16BE string
607 * @param iter UCharIterator structure to be set for iteration
612 * @see UCharIterator
617 uiter_setUTF16BE(UCharIterator *iter, const char *s, int32_t length);
620 * Set up a UCharIterator to iterate over a UTF-8 string.
622 * Sets the UCharIterator function pointers for iteration over the UTF-8 string s
632 * The UTF-8 string pointer s is set into UCharIterator.context without copying
645 * @param iter UCharIterator structure to be set for iteration
649 * @see UCharIterator
653 uiter_setUTF8(UCharIterator *iter, const char *s, int32_t length);
658 * Set up a UCharIterator to wrap around a C++ CharacterIterator.
660 * Sets the UCharIterator function pointers for iteration using the
663 * The CharacterIterator pointer charIter is set into UCharIterator.context
665 * The other "protected" UCharIterator fields are set to 0 and will be ignored.
671 * @param iter UCharIterator structure to be set for iteration
674 * @see UCharIterator
678 uiter_setCharacterIterator(UCharIterator *iter, icu::CharacterIterator *charIter);
681 * Set up a UCharIterator to iterate over a C++ Replaceable.
683 * Sets the UCharIterator function pointers for iteration over the
690 * The Replaceable pointer rep is set into UCharIterator.context without copying
696 * @param iter UCharIterator structure to be set for iteration
699 * @see UCharIterator
703 uiter_setReplaceable(UCharIterator *iter, const icu::Replaceable *rep);