Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/compiler/
Dtest_build_options.cpp153 cl_int firstResult, secondResult; in test_options_build_macro() local
155 error = get_result_from_program( context, queue, program, &firstResult ); in test_options_build_macro()
158 if( firstResult != 1 ) in test_options_build_macro()
160 …_error( "ERROR: Result from first program did not validate! (Expected 1, got %d)\n", firstResult ); in test_options_build_macro()
173 if( secondResult == firstResult ) in test_options_build_macro()
202 cl_int firstResult, secondResult; in test_options_build_macro_existence() local
204 error = get_result_from_program( context, queue, program, &firstResult ); in test_options_build_macro_existence()
207 if( firstResult != 24 ) in test_options_build_macro_existence()
209 …error( "ERROR: Result from first program did not validate! (Expected 24, got %d)\n", firstResult ); in test_options_build_macro_existence()
222 if( secondResult == firstResult ) in test_options_build_macro_existence()
[all …]
/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.java733 BytesTrie.Result firstResult=trie.first(c); in checkFirst() local
734 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
736 if(firstResult!=trie.reset().next(c) || in checkFirst()
737 firstResult!=trie.current() || in checkFirst()
738 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
747 firstResult=trie.firstForCodePoint(c); in checkFirst()
748 firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
750 if(firstResult!=trie.reset().nextForCodePoint(c) || in checkFirst()
751 firstResult!=trie.current() || in checkFirst()
752 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
DBytesTrieTest.java604 BytesTrie.Result firstResult=trie.first(c); in checkFirst() local
605 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
608 if(firstResult!=trie.reset().next(c) || in checkFirst()
609 firstResult!=trie.current() || in checkFirst()
610 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DCharsTrieTest.java730 BytesTrie.Result firstResult=trie.first(c); in checkFirst() local
731 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
733 if(firstResult!=trie.reset().next(c) || in checkFirst()
734 firstResult!=trie.current() || in checkFirst()
735 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
744 firstResult=trie.firstForCodePoint(c); in checkFirst()
745 firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
747 if(firstResult!=trie.reset().nextForCodePoint(c) || in checkFirst()
748 firstResult!=trie.current() || in checkFirst()
749 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
DBytesTrieTest.java601 BytesTrie.Result firstResult=trie.first(c); in checkFirst() local
602 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
605 if(firstResult!=trie.reset().next(c) || in checkFirst()
606 firstResult!=trie.current() || in checkFirst()
607 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
/external/icu/icu4c/source/test/intltest/
Ducharstrietest.cpp831 UStringTrieResult firstResult=trie.first(c); in checkFirst() local
832 int32_t firstValue=USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1; in checkFirst()
834 if(firstResult!=trie.reset().next(c) || in checkFirst()
835 firstResult!=trie.current() || in checkFirst()
836 firstValue!=(USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1) || in checkFirst()
845 firstResult=trie.firstForCodePoint(c); in checkFirst()
846 firstValue=USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1; in checkFirst()
848 if(firstResult!=trie.reset().nextForCodePoint(c) || in checkFirst()
849 firstResult!=trie.current() || in checkFirst()
850 firstValue!=(USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1) || in checkFirst()
Dbytestrietest.cpp677 UStringTrieResult firstResult=trie.first(c); in checkFirst() local
678 int32_t firstValue=USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1; in checkFirst()
680 if(firstResult!=trie.reset().next(c) || in checkFirst()
681 firstResult!=trie.current() || in checkFirst()
682 firstValue!=(USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1) || in checkFirst()
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/regex/
DRegexTransformerTest.java469 ImmutableList<Result> firstResult = transformPath( in testBaseXpath() local
478 firstResult, "/territoryInfo/CI/territoryF:intvector", "97160000000", "57", "26260600"); in testBaseXpath()
484 assertThat(firstResult).isEqualTo(secondResult); in testBaseXpath()
/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()