Home | History | Annotate | Download | only in intltest

Lines Matching refs:next

236     // with next() and current().
338 // The first string (before next()) will be empty.
342 void next() {
374 gen.next();
401 UStringTrieResult result=trie->next(x.getBuffer(), x.length());
403 errln("next(%d chars U+%04X U+%04X)!=hasValue or "
404 "next()!=current() or getValue() wrong "
408 gen.next();
472 trie->next(u_j);
473 trie->next(u_a);
474 trie->next(u_n);
475 // hasUniqueValue() directly after next()
480 trie->next(u_u);
484 if(trie->next(u_n)!=USTRINGTRIE_INTERMEDIATE_VALUE || 6!=trie->getValue()) {
493 trie->next(u_u);
510 trie->next(u_j);
511 trie->next(u_a);
512 trie->next(u_n);
513 // getNextUChars() directly after next()
520 trie->getValue(); // next() had returned USTRINGTRIE_INTERMEDIATE_VALUE.
527 trie->next(u_u);
533 trie->next(u_a);
539 trie->next(u_r);
540 trie->next(u_y);
555 trie->next(u_j);
556 trie->next(u_a);
557 trie->next(u_n);
604 trie->next(u_j);
605 trie->next(u_a);
606 trie->next(u_n);
607 trie->next(u_u);
608 trie->next(u_a);
683 trie->next(u_a);
684 trie->next(u_b);
711 trie->next(u_a);
712 trie->next(u_b);
713 trie->next(u_c);
829 UStringTrieResult nextResult=trie.next(nextCp);
830 if(firstResult!=trie.reset().next(c) ||
833 nextResult!=trie.next(nextCp)
835 errln("trie.first(U+%04X)!=trie.reset().next(same) for %s",
864 result=trie.next(expectedString.getTerminatedBuffer(), stringLength)) ||
891 result=trie.next(expectedString[j]);
893 errln("trie.next()=USTRINGTRIE_NO_MATCH before end of %s (at index %d)", data[i].s, j);
897 errln("trie.next()!=following current() before end of %s (at index %d)", data[i].s, j);
902 errln("trie.next()!=hasValue at the end of %s", data[i].s);
910 // Compare the final current() with whether next() can actually continue.
917 if(trie.resetToState(state).next(c)) {
924 "(trie.next(some UChar)!=USTRINGTRIE_NO_MATCH) after end of %s", data[i].s);
942 if(!USTRINGTRIE_MATCHES(trie.next(expectedString[j]))) {
943 errln("trie.next()=USTRINGTRIE_NO_MATCH for a prefix of %s", data[i].s);
954 result=trie.next(0); // mismatch
956 errln("trie.next(0) matched after part of %s", data[i].s);
961 errln("trie.next(part of %s) changes current()/getValue() after "
962 "saveState/next(0)/resetToState",
965 result=trie.next(expectedString.getTerminatedBuffer()+partialLength,
968 errln("trie.next(rest of %s) does not seem to contain %s after "
969 "saveState/next(0)/resetToState",
973 next(expectedString.getTerminatedBuffer()+partialLength,
976 errln("trie does not seem to contain %s after saveState/next(rest)/resetToState",
988 // next(string) is also tested in other functions,
995 if(!trie.next(expectedString.getTerminatedBuffer(), stringLength/2)) {
996 errln("trie.next(up to middle of string)=USTRINGTRIE_NO_MATCH for %s", data[i].s);
1000 if(trie.next(expectedString.getTerminatedBuffer()+stringLength/2,
1002 errln("trie.next(string+NUL)!=USTRINGTRIE_NO_MATCH for %s", data[i].s);
1026 UBool hasNext=iter.next(errorCode);
1027 if(errorCode.logIfFailureAndReset("trie iterator next() for item %d: %s", (int)i, data[i].s)) {
1031 errln("trie iterator next()=FALSE for item %d: %s", (int)i, data[i].s);
1039 errln("trie iterator next().getString()=%s but expected %s for item %d",
1043 errln("trie iterator next().getValue()=%ld=0x%lx but expected %ld=0x%lx for item %d: %s",
1052 UBool hasNext=iter.next(errorCode);
1053 errorCode.logIfFailureAndReset("trie iterator next() after all items");
1055 errln("trie iterator next()=TRUE after all items");