Home
last modified time | relevance | path

Searched refs:firstValue (Results 1 – 21 of 21) sorted by relevance

/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DStreamRecorder.java45 private final SettableFuture<T> firstValue; field in StreamRecorder
48 firstValue = SettableFuture.create(); in StreamRecorder()
55 if (!firstValue.isDone()) { in onNext()
56 firstValue.set(value); in onNext()
63 if (!firstValue.isDone()) { in onError()
64 firstValue.setException(t); in onError()
72 if (!firstValue.isDone()) { in onCompleted()
73 firstValue.setException(new IllegalStateException("No first value provided")); in onCompleted()
110 public ListenableFuture<T> firstValue() { in firstValue() method in StreamRecorder
111 return firstValue; in firstValue()
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/
DStreamRecorder.java50 private final SettableFuture<T> firstValue; field in StreamRecorder
53 firstValue = SettableFuture.create(); in StreamRecorder()
60 if (!firstValue.isDone()) { in onNext()
61 firstValue.set(value); in onNext()
68 if (!firstValue.isDone()) { in onError()
69 firstValue.setException(t); in onError()
77 if (!firstValue.isDone()) { in onCompleted()
78 firstValue.setException(new IllegalStateException("No first value provided")); in onCompleted()
115 public ListenableFuture<T> firstValue() { in firstValue() method in StreamRecorder
116 return firstValue; in firstValue()
/external/grpc-grpc-java/services/src/test/java/io/grpc/protobuf/services/
DProtoReflectionServiceTest.java188 assertEquals(goldenResponse, responseObserver.firstValue().get()); in fileByFilename()
229 responseObserver.firstValue().get().getMessageResponseCase()); in fileByFilenameConsistentForMutableServices()
230 assertEquals(goldenResponse, responseObserver2.firstValue().get()); in fileByFilenameConsistentForMutableServices()
233 responseObserver3.firstValue().get().getMessageResponseCase()); in fileByFilenameConsistentForMutableServices()
259 .firstValue() in fileContainingSymbol()
291 assertEquals(goldenResponse, responseObserver.firstValue().get()); in fileContainingNestedSymbol()
332 responseObserver.firstValue().get().getMessageResponseCase()); in fileContainingSymbolForMutableServices()
333 assertEquals(goldenResponse, responseObserver2.firstValue().get()); in fileContainingSymbolForMutableServices()
336 responseObserver3.firstValue().get().getMessageResponseCase()); in fileContainingSymbolForMutableServices()
366 .firstValue() in fileContainingExtension()
[all …]
/external/libxml2/test/relaxng/
D302836.rng6 <value>firstValue</value>
/external/icu/icu4c/source/test/intltest/
Dsimpleformattertest.cpp251 UnicodeString firstValue; in TestTooFewArgumentValues() local
252 UnicodeString *params[] = {&firstValue}; in TestTooFewArgumentValues()
255 firstValue, appendTo, status); in TestTooFewArgumentValues()
Ducharstrietest.cpp830 int32_t firstValue=USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1; in checkFirst() local
834 firstValue!=(USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1) || in checkFirst()
844 firstValue=USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1; in checkFirst()
848 firstValue!=(USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1) || in checkFirst()
Dbytestrietest.cpp676 int32_t firstValue=USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1; in checkFirst() local
680 firstValue!=(USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1) || in checkFirst()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DResBundleTest.java174 … TypedResource firstValue = new TypedResource<>("first_value", ResType.CHAR_SEQUENCE, xmlContext); in shouldNotOverwriteValuesWithMatchingQualifiers() local
176 bundle.put(new ResName("org.robolectric", "string", "resource_name"), firstValue); in shouldNotOverwriteValuesWithMatchingQualifiers()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DCharsTrieTest.java709 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst() local
713 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
723 firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
727 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
DBytesTrieTest.java580 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst() local
585 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DCharsTrieTest.java712 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst() local
716 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
726 firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
730 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
DBytesTrieTest.java583 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst() local
588 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
/external/icu/icu4c/source/common/
Duloc_tag.cpp1853 UBool firstValue = TRUE; in _appendKeywords() local
1857 if (firstValue) { in _appendKeywords()
1860 firstValue = FALSE; in _appendKeywords()
1933 UBool firstValue = TRUE; in _appendPrivateuseToLanguageTag() local
1954 if (firstValue) { in _appendPrivateuseToLanguageTag()
1973 if (firstValue) { in _appendPrivateuseToLanguageTag()
1992 firstValue = FALSE; in _appendPrivateuseToLanguageTag()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPNormalizer.java616 String firstValue = dcRightsArray.getChild(1).getValue(); in migrateAudioCopyright() local
618 firstValue, null); in migrateAudioCopyright()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DHttp2OkHttpTest.java129 recorder.firstValue().get(); in receivedDataForFinishedStream()
/external/cldr/tools/java/org/unicode/cldr/tool/
DDiffCldr.java161 String firstValue = null; in main() local
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DAbstractInteropTest.java573 assertEquals(goldenResponse, responseObserver.firstValue().get()); in clientStreaming()
628 assertEquals(goldenResponse, responseObserver.firstValue().get()); in clientCompressedStreaming()
798 assertEquals(goldenResponse, responseObserver.firstValue().get()); in cancelAfterFirstResponse()
1454 assertEquals(goldenStreamingResponse, recorder.firstValue().get()); in customMetadata()
/external/pdfium/fxjs/
Dcfxjse_formcalc_context.h377 CFXJSE_Value* firstValue,
Dcfxjse_formcalc_context.cpp5759 CFXJSE_Value* firstValue, in simpleValueCompare() argument
5761 if (!firstValue) in simpleValueCompare()
5764 if (firstValue->IsString()) { in simpleValueCompare()
5765 ByteString firstString = ValueToUTF8String(firstValue); in simpleValueCompare()
5769 if (firstValue->IsNumber()) { in simpleValueCompare()
5770 float first = ValueToFloat(pThis, firstValue); in simpleValueCompare()
5774 if (firstValue->IsBoolean()) in simpleValueCompare()
5775 return firstValue->ToBoolean() == secondValue->ToBoolean(); in simpleValueCompare()
5777 return firstValue->IsNull() && secondValue && secondValue->IsNull(); in simpleValueCompare()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestSupplementalInfo.java1373 Date firstValue = currencyFirstValid.get(currency); in TestCurrency() local
1374 if (firstValue == null || firstValue.compareTo(start) < 0) { in TestCurrency()
/external/clang/include/clang/AST/
DDecl.h608 static bool classofKind(Kind K) { return K >= firstValue && K <= lastValue; } in classofKind()