Home | History | Annotate | Download | only in intltest

Lines Matching full:next

227     // with next() and current().
315 trie->next('j');
316 trie->next('a');
317 trie->next('n');
318 // hasUniqueValue() directly after next()
323 trie->next('u');
327 if(trie->next('n')!=USTRINGTRIE_INTERMEDIATE_VALUE || 6!=trie->getValue()) {
336 trie->next('u');
353 trie->next('j');
354 trie->next('a');
355 trie->next('n');
356 // getNextBytes() directly after next()
363 trie->getValue(); // next() had returned USTRINGTRIE_INTERMEDIATE_VALUE.
370 trie->next('u');
376 trie->next('a');
382 trie->next('r');
383 trie->next('y');
397 trie->next('j');
398 trie->next('a');
399 trie->next('n');
446 trie->next('j');
447 trie->next('a');
448 trie->next('n');
449 trie->next('u');
450 trie->next('a');
525 trie->next('a');
526 trie->next('b');
553 trie->next('a');
554 trie->next('b');
555 trie->next('c');
665 UStringTrieResult nextResult=trie.next(data[i].s[1]);
666 if(firstResult!=trie.reset().next(c) ||
669 nextResult!=trie.next(data[i].s[1])
671 errln("trie.first(%c)!=trie.reset().next(same) for %s",
684 if( !USTRINGTRIE_HAS_VALUE(result=trie.next(data[i].s, stringLength)) ||
711 result=trie.next(data[i].s[j]);
713 errln("trie.next()=USTRINGTRIE_NO_MATCH before end of %s (at index %d)", data[i].s, j);
717 errln("trie.next()!=following current() before end of %s (at index %d)", data[i].s, j);
722 errln("trie.next()!=hasValue at the end of %s", data[i].s);
730 // Compare the final current() with whether next() can actually continue.
745 if(trie.resetToState(state).next(c)) {
752 "(trie.next(some byte)!=USTRINGTRIE_NO_MATCH) after end of %s", data[i].s);
770 if(!USTRINGTRIE_MATCHES(trie.next(expectedString[j]))) {
771 errln("trie.next()=USTRINGTRIE_NO_MATCH for a prefix of %s", data[i].s);
782 result=trie.next(0); // mismatch
784 errln("trie.next(0) matched after part of %s", data[i].s);
789 errln("trie.next(part of %s) changes current()/getValue() after "
790 "saveState/next(0)/resetToState",
793 result=trie.next(expectedString+partialLength,
796 errln("trie.next(rest of %s) does not seem to contain %s after "
797 "saveState/next(0)/resetToState",
801 next(expectedString+partialLength,
804 errln("trie does not seem to contain %s after saveState/next(rest)/resetToState",
816 // next(string) is also tested in other functions,
823 if(!trie.next(expectedString, stringLength/2)) {
824 errln("trie.next(up to middle of string)=USTRINGTRIE_NO_MATCH for %s", data[i].s);
828 if(trie.next(expectedString+stringLength/2, stringLength+1-stringLength/2)) {
829 errln("trie.next(string+NUL)!=USTRINGTRIE_NO_MATCH for %s", data[i].s);
853 UBool hasNext=iter.next(errorCode);
854 if(errorCode.logIfFailureAndReset("trie iterator next() for item %d: %s", (int)i, data[i].s)) {
858 errln("trie iterator next()=FALSE for item %d: %s", (int)i, data[i].s);
862 errln("trie iterator next().getString()=%s but expected %s for item %d",
866 errln("trie iterator next().getValue()=%ld=0x%lx but expected %ld=0x%lx for item %d: %s",
875 UBool hasNext=iter.next(errorCode);
876 errorCode.logIfFailureAndReset("trie iterator next() after all items");
878 errln("trie iterator next()=TRUE after all items");