Home
last modified time | relevance | path

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

12

/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/ms-tpm-20-ref/Samples/Nucleo-TPM/Shared/Platform/src/
DEntropy.c60 extern int firstValue;
83 firstValue = 1; in _plat__GetEntropy()
87 if(firstValue) in _plat__GetEntropy()
89 firstValue = 0; in _plat__GetEntropy()
95 (~firstValue && (lastEntropy == random32bit))) in _plat__GetEntropy()
DPlatformData.c67 int firstValue; variable
/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/llvm-project/mlir/unittests/Dialect/Quant/
DQuantizationUtilsTest.cpp116 auto firstValue = returnedValue.cast<ElementsAttr>().getValue({0, 0}); in TEST() local
117 EXPECT_EQ(firstValue.cast<IntegerAttr>().getInt(), 5); in TEST()
141 auto firstValue = returnedValue.cast<ElementsAttr>().getValue({0, 0}); in TEST() local
142 EXPECT_EQ(firstValue.cast<IntegerAttr>().getInt(), 5); in TEST()
165 auto firstValue = returnedValue.cast<ElementsAttr>().getValue({0, 0}); in TEST() local
166 EXPECT_EQ(firstValue.cast<IntegerAttr>().getInt(), 5); in TEST()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/Shared/Platform/include/
DPlatformData.h123 extern int firstValue;
/external/libxml2/test/relaxng/
D302836.rng6 <value>firstValue</value>
/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/icu4c/source/test/intltest/
Dsimpleformattertest.cpp251 UnicodeString firstValue; in TestTooFewArgumentValues() local
252 UnicodeString *params[] = {&firstValue}; in TestTooFewArgumentValues()
255 firstValue, appendTo, status); in TestTooFewArgumentValues()
Ducharstrietest.cpp832 int32_t firstValue=USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1; in checkFirst() local
836 firstValue!=(USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1) || in checkFirst()
846 firstValue=USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1; in checkFirst()
850 firstValue!=(USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1) || in checkFirst()
Dbytestrietest.cpp678 int32_t firstValue=USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1; in checkFirst() local
682 firstValue!=(USTRINGTRIE_HAS_VALUE(firstResult) ? trie.getValue() : -1) || in checkFirst()
/external/angle/third_party/vulkan-deps/spirv-headers/src/tools/buildHeaders/
DjsonToSpirv.cpp413 bool firstValue = true; in jsonToSpirv() local
420 if (firstValue) { in jsonToSpirv()
422 firstValue = false; in jsonToSpirv()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DCharsTrieTest.java734 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst() local
738 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
748 firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
752 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
DBytesTrieTest.java605 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst() local
610 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DCharsTrieTest.java731 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst() local
735 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
745 firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst()
749 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
DBytesTrieTest.java602 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst() local
607 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst()
/external/icu/icu4c/source/common/
Duloc_tag.cpp1835 UBool firstValue = TRUE; in _appendKeywords() local
1838 if (firstValue) { in _appendKeywords()
1840 firstValue = FALSE; in _appendKeywords()
1884 UBool firstValue = TRUE; in _appendPrivateuseToLanguageTag() local
1905 if (firstValue) { in _appendPrivateuseToLanguageTag()
1924 if (firstValue) { in _appendPrivateuseToLanguageTag()
1943 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/pdfium/fxjs/xfa/
Dcfxjse_formcalc_context.h345 CFXJSE_Value* firstValue,
Dcfxjse_formcalc_context.cpp5286 CFXJSE_Value* firstValue, in simpleValueCompare() argument
5288 if (!firstValue) in simpleValueCompare()
5291 if (firstValue->IsString()) { in simpleValueCompare()
5292 ByteString bsFirst = ValueToUTF8String(firstValue); in simpleValueCompare()
5296 if (firstValue->IsNumber()) { in simpleValueCompare()
5297 float first = ValueToFloat(pThis, firstValue); in simpleValueCompare()
5301 if (firstValue->IsBoolean()) in simpleValueCompare()
5302 return firstValue->ToBoolean() == secondValue->ToBoolean(); in simpleValueCompare()
5304 return firstValue->IsNull() && secondValue && secondValue->IsNull(); in simpleValueCompare()
/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/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestSupplementalInfo.java1415 Date firstValue = currencyFirstValid.get(currency); in TestCurrency() local
1416 if (firstValue == null || firstValue.compareTo(start) < 0) { in TestCurrency()

12