Home
last modified time | relevance | path

Searched refs:firstResult (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/
DMessagePatternUtilDemo.java128 boolean firstResult, in genCode() argument
132 String operator = firstResult ? "=" : "+="; in genCode()
141 genCode((MessagePatternUtil.ArgNode)contents, depth, firstResult); in genCode() local
147 firstResult = false; in genCode()
153 boolean firstResult) { in genCode() argument
155 String operator = firstResult ? "=" : "+="; in genCode()
169 genCodeForPlural(arg.getComplexStyle(), depth, firstResult, argName); in genCode() local
172 genCodeForSelect(arg.getComplexStyle(), depth, firstResult, argName); in genCode() local
179 boolean firstResult, in genCodeForPlural() argument
191 genCodeForNumericVariants(numericVariants, depth++, firstResult, argName, pluralNumber); in genCodeForPlural()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DCharsTrieTest.java711 BytesTrie.Result firstResult=trie.first(c); in checkFirst() local
712 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
714 if(firstResult!=trie.reset().next(c) || in checkFirst()
715 firstResult!=trie.current() || in checkFirst()
716 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
725 firstResult=trie.firstForCodePoint(c); in checkFirst()
726 firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
728 if(firstResult!=trie.reset().nextForCodePoint(c) || in checkFirst()
729 firstResult!=trie.current() || in checkFirst()
730 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
DBytesTrieTest.java582 BytesTrie.Result firstResult=trie.first(c); in checkFirst() local
583 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
586 if(firstResult!=trie.reset().next(c) || in checkFirst()
587 firstResult!=trie.current() || in checkFirst()
588 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DCharsTrieTest.java708 BytesTrie.Result firstResult=trie.first(c); in checkFirst() local
709 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
711 if(firstResult!=trie.reset().next(c) || in checkFirst()
712 firstResult!=trie.current() || in checkFirst()
713 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
722 firstResult=trie.firstForCodePoint(c); in checkFirst()
723 firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
725 if(firstResult!=trie.reset().nextForCodePoint(c) || in checkFirst()
726 firstResult!=trie.current() || in checkFirst()
727 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
DBytesTrieTest.java579 BytesTrie.Result firstResult=trie.first(c); in checkFirst() local
580 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
583 if(firstResult!=trie.reset().next(c) || in checkFirst()
584 firstResult!=trie.current() || in checkFirst()
585 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
/external/icu/icu4c/source/test/intltest/
Ducharstrietest.cpp829 UStringTrieResult firstResult=trie.first(c); in checkFirst() local
830 int32_t firstValue=USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1; in checkFirst()
832 if(firstResult!=trie.reset().next(c) || in checkFirst()
833 firstResult!=trie.current() || in checkFirst()
834 firstValue!=(USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1) || in checkFirst()
843 firstResult=trie.firstForCodePoint(c); in checkFirst()
844 firstValue=USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1; in checkFirst()
846 if(firstResult!=trie.reset().nextForCodePoint(c) || in checkFirst()
847 firstResult!=trie.current() || in checkFirst()
848 firstValue!=(USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1) || in checkFirst()
Dbytestrietest.cpp675 UStringTrieResult firstResult=trie.first(c); in checkFirst() local
676 int32_t firstValue=USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1; in checkFirst()
678 if(firstResult!=trie.reset().next(c) || in checkFirst()
679 firstResult!=trie.current() || in checkFirst()
680 firstValue!=(USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1) || in checkFirst()
/external/testng/src/main/java/org/testng/reporters/
DEmailableReporter2.java279 ITestResult firstResult = results.iterator().next(); in writeScenarioSummary() local
280 String methodName = Utils.escapeHtml(firstResult in writeScenarioSummary()
282 long start = firstResult.getStartMillis(); in writeScenarioSummary()
283 long duration = firstResult.getEndMillis() - start; in writeScenarioSummary()
/external/syslinux/com32/lua/src/
Dldo.c362 int luaD_poscall (lua_State *L, StkId firstResult) { in luaD_poscall() argument
368 ptrdiff_t fr = savestack(L, firstResult); /* hook may change stack */ in luaD_poscall()
370 firstResult = restorestack(L, fr); in luaD_poscall()
378 for (i = wanted; i != 0 && firstResult < L->top; i--) in luaD_poscall()
379 setobjs2s(L, res++, firstResult++); in luaD_poscall()
Dldo.h37 LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult);