Home
last modified time | relevance | path

Searched refs:firstResult (Results 1 – 12 of 12) 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.java706 BytesTrie.Result firstResult=trie.first(c); in checkFirst() local
707 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
709 if(firstResult!=trie.reset().next(c) || in checkFirst()
710 firstResult!=trie.current() || in checkFirst()
711 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
720 firstResult=trie.firstForCodePoint(c); in checkFirst()
721 firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
723 if(firstResult!=trie.reset().nextForCodePoint(c) || in checkFirst()
724 firstResult!=trie.current() || in checkFirst()
725 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
DBytesTrieTest.java577 BytesTrie.Result firstResult=trie.first(c); in checkFirst() local
578 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
581 if(firstResult!=trie.reset().next(c) || in checkFirst()
582 firstResult!=trie.current() || in checkFirst()
583 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DCharsTrieTest.java705 BytesTrie.Result firstResult=trie.first(c); in checkFirst() local
706 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
708 if(firstResult!=trie.reset().next(c) || in checkFirst()
709 firstResult!=trie.current() || in checkFirst()
710 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
719 firstResult=trie.firstForCodePoint(c); in checkFirst()
720 firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
722 if(firstResult!=trie.reset().nextForCodePoint(c) || in checkFirst()
723 firstResult!=trie.current() || in checkFirst()
724 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
DBytesTrieTest.java576 BytesTrie.Result firstResult=trie.first(c); in checkFirst() local
577 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
580 if(firstResult!=trie.reset().next(c) || in checkFirst()
581 firstResult!=trie.current() || in checkFirst()
582 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
/external/icu/icu4c/source/test/intltest/
Ducharstrietest.cpp828 UStringTrieResult firstResult=trie.first(c); in checkFirst() local
829 int32_t firstValue=USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1; in checkFirst()
831 if(firstResult!=trie.reset().next(c) || in checkFirst()
832 firstResult!=trie.current() || in checkFirst()
833 firstValue!=(USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1) || in checkFirst()
842 firstResult=trie.firstForCodePoint(c); in checkFirst()
843 firstValue=USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1; in checkFirst()
845 if(firstResult!=trie.reset().nextForCodePoint(c) || in checkFirst()
846 firstResult!=trie.current() || in checkFirst()
847 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/skia/third_party/lua/src/
Dldo.h37 LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult);
Dldo.c355 int luaD_poscall (lua_State *L, StkId firstResult) { in luaD_poscall() argument
361 ptrdiff_t fr = savestack(L, firstResult); /* hook may change stack */ in luaD_poscall()
363 firstResult = restorestack(L, fr); in luaD_poscall()
371 for (i = wanted; i != 0 && firstResult < L->top; i--) in luaD_poscall()
372 setobjs2s(L, res++, firstResult++); in luaD_poscall()
/external/syslinux/com32/lua/src/
Dldo.h37 LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult);
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()
/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()