Home | History | Annotate | Download | only in common

Lines Matching refs:UCharIterator

34 /* No-Op UCharIterator implementation for illegal input --------------------- */
37 noopGetIndex(UCharIterator * /*iter*/, UCharIteratorOrigin /*origin*/) {
42 noopMove(UCharIterator * /*iter*/, int32_t /*delta*/, UCharIteratorOrigin /*origin*/) {
47 noopHasNext(UCharIterator * /*iter*/) {
52 noopCurrent(UCharIterator * /*iter*/) {
57 noopGetState(const UCharIterator * /*iter*/) {
62 noopSetState(UCharIterator * /*iter*/, uint32_t /*state*/, UErrorCode *pErrorCode) {
66 static const UCharIterator noopIterator={
80 /* UCharIterator implementation for simple strings -------------------------- */
86 * The UCharIterator.context field holds a pointer to the string.
90 stringIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) {
110 stringIteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin) {
143 stringIteratorHasNext(UCharIterator *iter) {
148 stringIteratorHasPrevious(UCharIterator *iter) {
153 stringIteratorCurrent(UCharIterator *iter) {
162 stringIteratorNext(UCharIterator *iter) {
171 stringIteratorPrevious(UCharIterator *iter) {
180 stringIteratorGetState(const UCharIterator *iter) {
185 stringIteratorSetState(UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode) {
197 static const UCharIterator stringIterator={
212 uiter_setString(UCharIterator *iter, const UChar *s, int32_t length) {
229 /* UCharIterator implementation for UTF-16BE strings ------------------------ */
236 * The UCharIterator.context field holds a pointer to the string.
243 utf16BEIteratorGet(UCharIterator *iter, int32_t index) {
249 utf16BEIteratorCurrent(UCharIterator *iter) {
260 utf16BEIteratorNext(UCharIterator *iter) {
272 utf16BEIteratorPrevious(UCharIterator *iter) {
283 static const UCharIterator utf16BEIterator={
323 uiter_setUTF16BE(UCharIterator *iter, const char *s, int32_t length) {
350 /* UCharIterator wrapper around CharacterIterator --------------------------- */
354 * look like a C UCharIterator.
356 * The UCharIterator.context field holds a pointer to the CharacterIterator.
360 characterIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) {
380 characterIteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin) {
400 characterIteratorHasNext(UCharIterator *iter) {
405 characterIteratorHasPrevious(UCharIterator *iter) {
410 characterIteratorCurrent(UCharIterator *iter) {
422 characterIteratorNext(UCharIterator *iter) {
431 characterIteratorPrevious(UCharIterator *iter) {
440 characterIteratorGetState(const UCharIterator *iter) {
445 characterIteratorSetState(UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode) {
457 static const UCharIterator characterIteratorWrapper={
472 uiter_setCharacterIterator(UCharIterator *iter, CharacterIterator *charIter) {
483 /* UCharIterator wrapper around Replaceable --------------------------------- */
489 * The UCharIterator.context field holds a pointer to the Replaceable.
490 * UCharIterator.length and UCharIterator.index hold Replaceable.length()
495 replaceableIteratorCurrent(UCharIterator *iter) {
504 replaceableIteratorNext(UCharIterator *iter) {
513 replaceableIteratorPrevious(UCharIterator *iter) {
521 static const UCharIterator replaceableIterator={
536 uiter_setReplaceable(UCharIterator *iter, const Replaceable *rep) {
548 /* UCharIterator implementation for UTF-8 strings --------------------------- */
565 * Use UCharIterator fields as follows:
573 * Since UCharIterator delivers 16-bit code units, the iteration can be
587 utf8IteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin) {
667 utf8IteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin) {
840 utf8IteratorHasNext(UCharIterator *iter) {
845 utf8IteratorHasPrevious(UCharIterator *iter) {
850 utf8IteratorCurrent(UCharIterator *iter) {
870 utf8IteratorNext(UCharIterator *iter) {
905 utf8IteratorPrevious(UCharIterator *iter) {
939 utf8IteratorGetState(const UCharIterator *iter) {
948 utf8IteratorSetState(UCharIterator *iter,
987 static const UCharIterator utf8Iterator={
1002 uiter_setUTF8(UCharIterator *iter, const char *s, int32_t length) {
1022 uiter_current32(UCharIterator *iter) {
1053 uiter_next32(UCharIterator *iter) {
1069 uiter_previous32(UCharIterator *iter) {
1085 uiter_getState(const UCharIterator *iter) {
1094 uiter_setState(UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode) {