Home
last modified time | relevance | path

Searched refs:IsTrue (Results 1 – 25 of 116) sorted by relevance

12345

/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DTimestampTest.cs125 …Assert.IsTrue(b.CompareTo(a) > 0); // null is always first (according to default behavior of Array… in Comparability()
126 Assert.IsTrue(b.CompareTo(b) == 0); in Comparability()
127 Assert.IsTrue(b.CompareTo(b.Clone()) == 0); in Comparability()
128 Assert.IsTrue(b.CompareTo(c) < 0); in Comparability()
129 Assert.IsTrue(b.CompareTo(d) < 0); in Comparability()
130 Assert.IsTrue(b.CompareTo(e) < 0); in Comparability()
132 Assert.IsTrue(c.CompareTo(a) > 0); in Comparability()
133 Assert.IsTrue(c.CompareTo(b) > 0); in Comparability()
134 Assert.IsTrue(c.CompareTo(c) == 0); in Comparability()
135 Assert.IsTrue(c.CompareTo(c.Clone()) == 0); in Comparability()
[all …]
DFieldMaskTest.cs66 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>("payload")); in IsValid()
68 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>("payload.single_int32")); in IsValid()
69 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>("payload.repeated_int32")); in IsValid()
70 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>("payload.single_nested_message")); in IsValid()
71 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>("payload.repeated_nested_message")); in IsValid()
74 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>(FieldMask.FromString("payload"))); in IsValid()
78 Assert.IsTrue(FieldMask.IsValid(NestedTestAllTypes.Descriptor, "payload")); in IsValid()
81 … Assert.IsTrue(FieldMask.IsValid(NestedTestAllTypes.Descriptor, FieldMask.FromString("payload"))); in IsValid()
84 … Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>("payload.single_nested_message.bb")); in IsValid()
/external/llvm-project/flang/unittests/Evaluate/
Dlogical.cpp13 TEST(!Value{}.IsTrue()); in testKind()
14 TEST(!Value{false}.IsTrue()); in testKind()
15 TEST(Value{true}.IsTrue()); in testKind()
16 TEST(Value{false}.NOT().IsTrue()); in testKind()
17 TEST(!Value{true}.NOT().IsTrue()); in testKind()
18 TEST(!Value{false}.AND(Value{false}).IsTrue()); in testKind()
19 TEST(!Value{false}.AND(Value{true}).IsTrue()); in testKind()
20 TEST(!Value{true}.AND(Value{false}).IsTrue()); in testKind()
21 TEST(Value{true}.AND(Value{true}).IsTrue()); in testKind()
22 TEST(!Value{false}.OR(Value{false}).IsTrue()); in testKind()
[all …]
/external/llvm-project/flang/include/flang/Evaluate/
Dlogical.h27 constexpr Logical(Logical<B, C> x) : word_{Represent(x.IsTrue())} {} in Logical()
31 word_ = Represent(x.IsTrue());
41 return !IsTrue() && that.IsTrue();
45 return !IsTrue();
49 return IsTrue() == that.IsTrue();
53 return IsTrue() != that.IsTrue();
57 return IsTrue();
61 return IsTrue() && !that.IsTrue();
64 constexpr bool IsTrue() const { in IsTrue() function
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
DRewriteRuleXxxxStreamFixture.cs105 Assert.IsTrue(true, "Reset() shouldn't make any problems here."); in CheckRRTokenStreamBehaviourWhileEmpty1()
124 Assert.IsTrue(true, "Reset() shouldn't make any problems here."); in CheckRRSubtreeStreamBehaviourWhileEmpty1()
142 Assert.IsTrue(true, "Reset() shouldn't make any problems here."); in CheckRRNodeStreamBehaviourWhileEmpty1()
199 Assert.IsTrue(tokenTest.HasNext, "HasNext should be true here (1)."); in CheckRRTokenStreamBehaviourWithElements()
209 Assert.IsTrue(tokenTest.HasNext, "HasNext should be true here (2)."); in CheckRRTokenStreamBehaviourWithElements()
219 Assert.IsTrue(tokenTest.HasNext, "HasNext should be true here (3)."); in CheckRRTokenStreamBehaviourWithElements()
229 Assert.IsTrue(tokenTest.HasNext, "HasNext should be true here (3)."); in CheckRRTokenStreamBehaviourWithElements()
236 Assert.IsTrue(tokenTest.HasNext, "HasNext should be true here (4)."); in CheckRRTokenStreamBehaviourWithElements()
241 Assert.IsTrue(tokenTest.HasNext, "HasNext should be true here (5)."); in CheckRRTokenStreamBehaviourWithElements()
265 Assert.IsTrue(subtreeTest.HasNext, "HasNext should be true here (1)."); in CheckRRSubtreeStreamBehaviourWithElements()
[all …]
/external/icing/icing/index/hit/
Dhit_test.cc30 using ::testing::IsTrue;
44 EXPECT_THAT(h2.has_term_frequency(), IsTrue()); in TEST()
58 EXPECT_THAT(h3.is_prefix_hit(), IsTrue()); in TEST()
71 EXPECT_THAT(h3.is_in_prefix_section(), IsTrue()); in TEST()
89 EXPECT_THAT(explicit_valid.is_valid(), IsTrue()); in TEST()
93 EXPECT_THAT(maximum_document_id_hit.is_valid(), IsTrue()); in TEST()
97 EXPECT_THAT(maximum_section_id_hit.is_valid(), IsTrue()); in TEST()
100 EXPECT_THAT(minimum_document_id_hit.is_valid(), IsTrue()); in TEST()
103 EXPECT_THAT(minimum_section_id_hit.is_valid(), IsTrue()); in TEST()
Ddoc-hit-info_test.cc28 using ::testing::IsTrue;
78 EXPECT_THAT(info.hit_section_ids_mask() & 1U << 3, IsTrue()); in TEST()
82 EXPECT_THAT(info.hit_section_ids_mask() & 1U << 3, IsTrue()); in TEST()
86 EXPECT_THAT(info.hit_section_ids_mask() & 1U << 3, IsTrue()); in TEST()
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/Internal/
DAsyncCallTest.cs115 Assert.IsTrue(fakeCall.IsDisposed); in AsyncUnary_RequestSerializationExceptionDoesntLeakResources()
124 Assert.IsTrue(fakeCall.IsDisposed); in AsyncUnary_StartCallFailureDoesntLeakResources()
133 Assert.IsTrue(fakeCall.IsDisposed); in SyncUnary_RequestSerializationExceptionDoesntLeakResources()
142 Assert.IsTrue(fakeCall.IsDisposed); in SyncUnary_StartCallFailureDoesntLeakResources()
353 Assert.IsTrue(fakeCall.IsCancelled); in ClientStreaming_WriteAfterCancellationRequestThrowsTaskCanceledException()
372 Assert.IsTrue(fakeCall.IsDisposed); in ClientStreaming_StartCallFailureDoesntLeakResources()
434 Assert.IsTrue(readTask1.Result); in ServerStreaming_MoreResponses_Success()
439 Assert.IsTrue(readTask2.Result); in ServerStreaming_MoreResponses_Success()
455 Assert.IsTrue(fakeCall.IsDisposed); in ServerStreaming_RequestSerializationExceptionDoesntLeakResources()
467 Assert.IsTrue(fakeCall.IsDisposed); in ServerStreaming_StartCallFailureDoesntLeakResources()
[all …]
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DByteStringTest.cs54 Assert.IsTrue(b1 == b1); in Equality()
55 Assert.IsTrue(b1 == b2); in Equality()
59 Assert.IsTrue((ByteString) null == null); in Equality()
63 Assert.IsTrue(b1 != b3); in Equality()
64 Assert.IsTrue(b1 != b4); in Equality()
65 Assert.IsTrue(b1 != null); in Equality()
89 Assert.IsTrue(ByteString.CopyFromUtf8("").IsEmpty); in IsEmptyWhenEmpty()
DCodedInputStreamTest.cs67 Assert.IsTrue(input.IsAtEnd); in AssertReadVarint()
77 Assert.IsTrue(input.IsAtEnd); in AssertReadVarint()
157 Assert.IsTrue(input.IsAtEnd); in AssertReadLittleEndian32()
165 Assert.IsTrue(input.IsAtEnd); in AssertReadLittleEndian32()
177 Assert.IsTrue(input.IsAtEnd); in AssertReadLittleEndian64()
185 Assert.IsTrue(input.IsAtEnd); in AssertReadLittleEndian64()
389 Assert.IsTrue(input.IsAtEnd); in TestNegativeEnum()
580 Assert.IsTrue(memoryStream.CanRead); in Dispose_DisposesUnderlyingStream()
591 Assert.IsTrue(memoryStream.CanRead); in Dispose_WithLeaveOpen()
595 Assert.IsTrue(memoryStream.CanRead); // We left the stream open in Dispose_WithLeaveOpen()
/external/icing/icing/index/main/
Dflash-index-storage_test.cc43 using ::testing::IsTrue;
117 EXPECT_THAT(flash_index_storage.empty(), IsTrue()); in TEST_F()
131 EXPECT_THAT(flash_index_storage.empty(), IsTrue()); in TEST_F()
157 EXPECT_THAT(id1.is_valid(), IsTrue()); in TEST_F()
180 EXPECT_THAT(posting_list_holder2.id.is_valid(), IsTrue()); in TEST_F()
206 EXPECT_THAT(posting_list_holder3.id.is_valid(), IsTrue()); in TEST_F()
253 EXPECT_THAT(id1.is_valid(), IsTrue()); in TEST_F()
276 EXPECT_THAT(posting_list_holder2.id.is_valid(), IsTrue()); in TEST_F()
302 EXPECT_THAT(posting_list_holder3.id.is_valid(), IsTrue()); in TEST_F()
351 EXPECT_THAT(id1.is_valid(), IsTrue()); in TEST_F()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/
DByteStringTest.cs58 Assert.IsTrue(b1 == b1); in Equality()
59 Assert.IsTrue(b1 == b2); in Equality()
63 Assert.IsTrue((ByteString) null == null); in Equality()
67 Assert.IsTrue(b1 != b3); in Equality()
68 Assert.IsTrue(b1 != b4); in Equality()
69 Assert.IsTrue(b1 != null); in Equality()
93 Assert.IsTrue(ByteString.CopyFromUtf8("").IsEmpty); in IsEmptyWhenEmpty()
DCodedInputStreamTest.cs67 Assert.IsTrue(input.IsAtEnd); in AssertReadVarint()
77 Assert.IsTrue(input.IsAtEnd); in AssertReadVarint()
157 Assert.IsTrue(input.IsAtEnd); in AssertReadLittleEndian32()
165 Assert.IsTrue(input.IsAtEnd); in AssertReadLittleEndian32()
177 Assert.IsTrue(input.IsAtEnd); in AssertReadLittleEndian64()
185 Assert.IsTrue(input.IsAtEnd); in AssertReadLittleEndian64()
439 Assert.IsTrue(input.IsAtEnd); in TestNegativeEnum()
630 Assert.IsTrue(memoryStream.CanRead); in Dispose_DisposesUnderlyingStream()
641 Assert.IsTrue(memoryStream.CanRead); in Dispose_WithLeaveOpen()
645 Assert.IsTrue(memoryStream.CanRead); // We left the stream open in Dispose_WithLeaveOpen()
DEqualityTester.cs47 Assert.IsTrue(first.Equals(second));
48 Assert.IsTrue(first.Equals((object) second));
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs220 Assert.IsTrue(list.Equals(list)); in Equals_RepeatedField()
223 Assert.IsTrue(list.Equals(new RepeatedField<string> { "first", "second" })); in Equals_RepeatedField()
231 Assert.IsTrue(list.Equals((object) list)); in Equals_Object()
234 Assert.IsTrue(list.Equals((object) new RepeatedField<string> { "first", "second" })); in Equals_Object()
297 Assert.IsTrue(enumerator.MoveNext()); in Enumerator()
299 Assert.IsTrue(enumerator.MoveNext()); in Enumerator()
331 Assert.IsTrue(input.IsAtEnd); in AddEntriesFrom_PackedInt32()
357 Assert.IsTrue(input.IsAtEnd); in AddEntriesFrom_NonPackedInt32()
380 Assert.IsTrue(input.IsAtEnd); in AddEntriesFrom_String()
404 Assert.IsTrue(input.IsAtEnd); in AddEntriesFrom_Message()
[all …]
DMapFieldTest.cs205 Assert.IsTrue(collection.Contains(NewKeyValuePair("x", "y"))); in Contains_Pair()
218 Assert.IsTrue(map.Remove("foo")); in Remove_Key()
234 Assert.IsTrue(collection.Remove(NewKeyValuePair("foo", "bar"))); in Remove_Pair()
298 Assert.IsTrue(enumerator.MoveNext()); in IDictionary_GetEnumerator()
307 Assert.IsTrue(enumerator.MoveNext()); in IDictionary_GetEnumerator()
333 Assert.IsTrue(dictionary.Contains("x")); in IDictionary_Contains()
456 Assert.IsTrue(keys.IsReadOnly); in ViewsAreReadOnly()
494 Assert.IsTrue(keys.Contains("foo")); in KeysContains()
506 Assert.IsTrue(values.Contains("bar")); in ValuesContains()
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs220 Assert.IsTrue(list.Equals(list)); in Equals_RepeatedField()
223 Assert.IsTrue(list.Equals(new RepeatedField<string> { "first", "second" })); in Equals_RepeatedField()
231 Assert.IsTrue(list.Equals((object) list)); in Equals_Object()
234 Assert.IsTrue(list.Equals((object) new RepeatedField<string> { "first", "second" })); in Equals_Object()
297 Assert.IsTrue(enumerator.MoveNext()); in Enumerator()
299 Assert.IsTrue(enumerator.MoveNext()); in Enumerator()
331 Assert.IsTrue(input.IsAtEnd); in AddEntriesFrom_PackedInt32()
357 Assert.IsTrue(input.IsAtEnd); in AddEntriesFrom_NonPackedInt32()
380 Assert.IsTrue(input.IsAtEnd); in AddEntriesFrom_String()
404 Assert.IsTrue(input.IsAtEnd); in AddEntriesFrom_Message()
[all …]
DMapFieldTest.cs205 Assert.IsTrue(collection.Contains(NewKeyValuePair("x", "y"))); in Contains_Pair()
218 Assert.IsTrue(map.Remove("foo")); in Remove_Key()
234 Assert.IsTrue(collection.Remove(NewKeyValuePair("foo", "bar"))); in Remove_Pair()
298 Assert.IsTrue(enumerator.MoveNext()); in IDictionary_GetEnumerator()
307 Assert.IsTrue(enumerator.MoveNext()); in IDictionary_GetEnumerator()
333 Assert.IsTrue(dictionary.Contains("x")); in IDictionary_Contains()
456 Assert.IsTrue(keys.IsReadOnly); in ViewsAreReadOnly()
494 Assert.IsTrue(keys.Contains("foo")); in KeysContains()
514 Assert.IsTrue(values.Contains("bar")); in ValuesContains()
/external/abseil-cpp/absl/base/
Dlog_severity_test.cc34 using ::testing::IsTrue;
81 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
105 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
121 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
154 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
184 IsTrue()); in TEST_P()
201 IsTrue()); in TEST_P()
/external/webrtc/third_party/abseil-cpp/absl/base/
Dlog_severity_test.cc34 using ::testing::IsTrue;
81 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
105 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
121 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
154 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
184 IsTrue()); in TEST_P()
201 IsTrue()); in TEST_P()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/
Dlog_severity_test.cc34 using ::testing::IsTrue;
81 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
105 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
121 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
154 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
184 IsTrue()); in TEST_P()
201 IsTrue()); in TEST_P()
/external/libtextclassifier/abseil-cpp/absl/base/
Dlog_severity_test.cc34 using ::testing::IsTrue;
81 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
105 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
121 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
154 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
184 IsTrue()); in TEST_P()
201 IsTrue()); in TEST_P()
/external/openscreen/third_party/abseil/src/absl/base/
Dlog_severity_test.cc34 using ::testing::IsTrue;
81 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
105 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
121 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
154 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
184 IsTrue()); in TEST_P()
201 IsTrue()); in TEST_P()
/external/angle/third_party/abseil-cpp/absl/base/
Dlog_severity_test.cc34 using ::testing::IsTrue;
81 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
105 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
121 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
154 ASSERT_THAT(absl::ParseFlag(to_parse, &value, &error), IsTrue()) << error; in TEST_P()
184 IsTrue()); in TEST_P()
201 IsTrue()); in TEST_P()
/external/llvm-project/flang/lib/Evaluate/
Dfold-logical.cpp28 if (!element.IsTrue()) { in FoldIntrinsicFunction()
41 if (element.IsTrue()) { in FoldIntrinsicFunction()
168 return Expr<Ty>{Constant<Ty>{!value->IsTrue()}}; in FoldOperation()
186 bool xt{folded->first.IsTrue()}, yt{folded->second.IsTrue()}, result{}; in FoldOperation()

12345