/external/cronet/base/task/ |
D | delayed_task_handle_unittest.cc | 24 bool IsValid() const override { return is_valid_; } in IsValid() function in base::__anonaadcde040111::TestDelegate 45 EXPECT_FALSE(delayed_task_handle.IsValid()); in TEST() 51 EXPECT_TRUE(delegate->IsValid()); in TEST() 55 EXPECT_FALSE(delegate->IsValid()); in TEST() 67 EXPECT_TRUE(delegate->IsValid()); in TEST() 72 EXPECT_TRUE(delegate_ptr->IsValid()); in TEST() 73 EXPECT_TRUE(delayed_task_handle.IsValid()); in TEST() 78 EXPECT_FALSE(delayed_task_handle.IsValid()); in TEST() 84 EXPECT_FALSE(delayed_task_handle.IsValid()); in TEST() 87 EXPECT_FALSE(delayed_task_handle.IsValid()); in TEST() [all …]
|
D | default_delayed_task_handle_delegate_unittest.cc | 17 EXPECT_FALSE(delegate->IsValid()); in TEST() 20 EXPECT_TRUE(delegate->IsValid()); in TEST() 23 EXPECT_TRUE(delayed_task_handle.IsValid()); in TEST() 26 EXPECT_FALSE(delayed_task_handle.IsValid()); in TEST() 32 EXPECT_FALSE(delegate->IsValid()); in TEST() 35 EXPECT_TRUE(delegate->IsValid()); in TEST() 38 EXPECT_TRUE(delayed_task_handle.IsValid()); in TEST() 41 EXPECT_FALSE(delayed_task_handle.IsValid()); in TEST() 48 EXPECT_FALSE(delegate->IsValid()); in TEST() 51 EXPECT_TRUE(delegate->IsValid()); in TEST() [all …]
|
/external/cronet/net/cookies/ |
D | parsed_cookie_unittest.cc | 18 EXPECT_TRUE(pc1.IsValid()); in TEST() 35 EXPECT_TRUE(pc2.IsValid()); in TEST() 60 EXPECT_FALSE(pc.IsValid()); in TEST() 66 EXPECT_FALSE(empty.IsValid()); in TEST() 69 EXPECT_FALSE(empty.IsValid()); in TEST() 72 EXPECT_TRUE(empty_value.IsValid()); in TEST() 76 EXPECT_TRUE(empty_value.IsValid()); in TEST() 79 EXPECT_TRUE(empty_name.IsValid()); in TEST() 83 EXPECT_TRUE(empty_name.IsValid()); in TEST() 185 EXPECT_TRUE(pc.IsValid()); in TEST() [all …]
|
/external/libchrome/base/memory/ |
D | platform_shared_memory_region_unittest.cc | 30 EXPECT_FALSE(region.IsValid()); in TEST_F() 32 EXPECT_FALSE(mapping.IsValid()); in TEST_F() 34 EXPECT_FALSE(duplicate.IsValid()); in TEST_F() 42 EXPECT_FALSE(region.IsValid()); in TEST_F() 46 EXPECT_FALSE(region2.IsValid()); in TEST_F() 56 EXPECT_FALSE(region.IsValid()); in TEST_F() 60 EXPECT_FALSE(region2.IsValid()); in TEST_F() 82 ASSERT_TRUE(region.IsValid()); in TEST_F() 92 ASSERT_TRUE(region.IsValid()); in TEST_F() 103 ASSERT_TRUE(region.IsValid()); in TEST_F() [all …]
|
D | shared_memory_region_unittest.cc | 37 ASSERT_TRUE(region_.IsValid()); in SetUp() 38 ASSERT_TRUE(rw_mapping_.IsValid()); in SetUp() 56 EXPECT_FALSE(region.IsValid()); in TYPED_TEST() 59 EXPECT_FALSE(mapping.IsValid()); in TYPED_TEST() 64 EXPECT_FALSE(this->region_.IsValid()); in TYPED_TEST() 65 ASSERT_TRUE(moved_region.IsValid()); in TYPED_TEST() 69 ASSERT_TRUE(mapping.IsValid()); in TYPED_TEST() 83 EXPECT_FALSE(this->region_.IsValid()); in TYPED_TEST() 84 ASSERT_TRUE(this->rw_mapping_.IsValid()); in TYPED_TEST() 92 ASSERT_TRUE(mapping.IsValid()); in TYPED_TEST() [all …]
|
D | read_only_shared_memory_region.h | 84 bool IsValid() const; 88 DCHECK(IsValid()); in GetSize() 94 DCHECK(IsValid()); in GetGUID() 114 bool IsValid() { in IsValid() function 115 DCHECK_EQ(region.IsValid(), mapping.IsValid()); in IsValid() 116 return region.IsValid() && mapping.IsValid(); in IsValid()
|
/external/vixl/src/aarch64/ |
D | registers-aarch64.cc | 120 bool CPURegister::IsValid() const { in IsValid() function in vixl::aarch64::CPURegister 232 VIXL_ASSERT(reg1.IsValid()); in AreSameSizeAndType() 234 match &= !reg2.IsValid() || reg2.IsSameSizeAndType(reg1); in AreSameSizeAndType() 235 match &= !reg3.IsValid() || reg3.IsSameSizeAndType(reg1); in AreSameSizeAndType() 236 match &= !reg4.IsValid() || reg4.IsSameSizeAndType(reg1); in AreSameSizeAndType() 237 match &= !reg5.IsValid() || reg5.IsSameSizeAndType(reg1); in AreSameSizeAndType() 238 match &= !reg6.IsValid() || reg6.IsSameSizeAndType(reg1); in AreSameSizeAndType() 239 match &= !reg7.IsValid() || reg7.IsSameSizeAndType(reg1); in AreSameSizeAndType() 240 match &= !reg8.IsValid() || reg8.IsSameSizeAndType(reg1); in AreSameSizeAndType() 252 VIXL_ASSERT(reg1.IsValid()); in AreEven() [all …]
|
D | operands-aarch64.h | 50 VIXL_ASSERT(IsValid()); 55 VIXL_ASSERT(IsValid()); in CPURegList() 70 VIXL_ASSERT(IsValid()); in CPURegList() 96 VIXL_ASSERT(IsValid()); in GetType() 111 VIXL_ASSERT(IsValid()); in Combine() 121 VIXL_ASSERT(IsValid()); in Remove() 143 VIXL_ASSERT(IsValid()); in Combine() 144 VIXL_ASSERT(CPURegister(code, size_, type_).IsValid()); in Combine() 149 VIXL_ASSERT(IsValid()); in Remove() 150 VIXL_ASSERT(CPURegister(code, size_, type_).IsValid()); in Remove() [all …]
|
/external/cronet/base/memory/ |
D | platform_shared_memory_region_unittest.cc | 45 EXPECT_FALSE(region.IsValid()); in TEST_F() 47 EXPECT_FALSE(mapping.IsValid()); in TEST_F() 49 EXPECT_FALSE(duplicate.IsValid()); in TEST_F() 57 EXPECT_FALSE(region.IsValid()); in TEST_F() 61 EXPECT_FALSE(region2.IsValid()); in TEST_F() 71 EXPECT_FALSE(region.IsValid()); in TEST_F() 75 EXPECT_FALSE(region2.IsValid()); in TEST_F() 84 EXPECT_FALSE(region.IsValid()); in TEST_F() 88 EXPECT_FALSE(region2.IsValid()); in TEST_F() 110 ASSERT_TRUE(region.IsValid()); in TEST_F() [all …]
|
D | shared_memory_region_unittest.cc | 37 ASSERT_TRUE(region_.IsValid()); in SetUp() 38 ASSERT_TRUE(rw_mapping_.IsValid()); in SetUp() 56 EXPECT_FALSE(region.IsValid()); in TYPED_TEST() 59 EXPECT_FALSE(mapping.IsValid()); in TYPED_TEST() 64 EXPECT_FALSE(this->region_.IsValid()); in TYPED_TEST() 65 ASSERT_TRUE(moved_region.IsValid()); in TYPED_TEST() 69 ASSERT_TRUE(mapping.IsValid()); in TYPED_TEST() 83 EXPECT_FALSE(this->region_.IsValid()); in TYPED_TEST() 84 ASSERT_TRUE(this->rw_mapping_.IsValid()); in TYPED_TEST() 92 ASSERT_TRUE(mapping.IsValid()); in TYPED_TEST() [all …]
|
D | read_only_shared_memory_region.h | 101 bool IsValid() const; 105 DCHECK(IsValid()); in GetSize() 111 DCHECK(IsValid()); in GetGUID() 118 DCHECK(IsValid()); in GetPlatformHandle() 142 bool IsValid() const { in IsValid() function 143 DCHECK_EQ(region.IsValid(), mapping.IsValid()); in IsValid() 144 return region.IsValid() && mapping.IsValid(); in IsValid()
|
D | safe_ref.h | 55 CHECK(ref_.IsValid()); in SafeRef() 61 CHECK(ref_.IsValid()); 69 CHECK(ref_.IsValid()); in SafeRef() 75 CHECK(ref_.IsValid()); 88 CHECK(ref_.IsValid()); in SafeRef() 95 CHECK(ref_.IsValid()); 107 CHECK(ref_.IsValid()); in SafeRef() 114 CHECK(ref_.IsValid()); 121 CHECK(ref_.IsValid()); 128 CHECK(ref_.IsValid()); [all …]
|
/external/libchrome/base/process/ |
D | process_unittest.cc | 46 ASSERT_TRUE(process.IsValid()); in TEST_F() 50 ASSERT_FALSE(process.IsValid()); in TEST_F() 55 ASSERT_TRUE(process.IsValid()); in TEST_F() 59 ASSERT_FALSE(process.IsValid()); in TEST_F() 64 EXPECT_TRUE(process1.IsValid()); in TEST_F() 67 EXPECT_FALSE(process2.IsValid()); in TEST_F() 70 EXPECT_TRUE(process2.IsValid()); in TEST_F() 71 EXPECT_FALSE(process1.IsValid()); in TEST_F() 77 EXPECT_TRUE(process2.IsValid()); in TEST_F() 78 EXPECT_FALSE(process3.IsValid()); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/lite/testing/ |
D | tflite_driver_test.cc | 31 ASSERT_TRUE(runner->IsValid()); in TEST() 38 ASSERT_TRUE(runner->IsValid()); in TEST() 47 ASSERT_TRUE(runner->IsValid()); in TEST() 64 ASSERT_TRUE(runner->IsValid()); in TEST() 69 ASSERT_TRUE(runner->IsValid()); in TEST() 77 ASSERT_TRUE(runner->IsValid()); in TEST() 93 ASSERT_TRUE(runner->IsValid()); in TEST() 99 ASSERT_TRUE(runner->IsValid()); in TEST() 107 ASSERT_TRUE(runner->IsValid()); in TEST() 123 ASSERT_TRUE(runner->IsValid()); in TEST() [all …]
|
/external/openscreen/cast/streaming/ |
D | answer_messages_unittest.cc | 160 EXPECT_FALSE(answer.IsValid()); in ExpectFailureOnParse() 172 EXPECT_TRUE(answer.IsValid()); in ExpectSuccessOnParse() 181 ASSERT_TRUE(kValidAnswer.IsValid()); in TEST() 256 ASSERT_TRUE(missing_event_log.IsValid()); in TEST() 262 ASSERT_TRUE(missing_rtcp_dscp.IsValid()); in TEST() 268 ASSERT_TRUE(missing_extensions.IsValid()); in TEST() 276 EXPECT_FALSE(invalid_dimensions.IsValid()); in TEST() 283 EXPECT_FALSE(invalid_audio.IsValid()); in TEST() 289 EXPECT_FALSE(invalid_video.IsValid()); in TEST() 295 EXPECT_FALSE(invalid_display.IsValid()); in TEST() [all …]
|
D | answer_messages.cc | 183 return out->IsValid(); in TryParse() 186 bool AspectRatio::IsValid() const { in IsValid() function in openscreen::cast::AspectRatio 207 return out->IsValid(); in TryParse() 211 OSP_DCHECK(IsValid()); in ToJson() 223 bool AudioConstraints::IsValid() const { in IsValid() function in openscreen::cast::AudioConstraints 251 return out->IsValid(); in TryParse() 254 bool VideoConstraints::IsValid() const { in IsValid() function in openscreen::cast::VideoConstraints 258 max_dimensions.IsValid() && in IsValid() 259 (!min_resolution.has_value() || min_resolution->IsValid()) && in IsValid() 264 OSP_DCHECK(IsValid()); in ToJson() [all …]
|
/external/tensorflow/tensorflow/core/util/ |
D | matmul_bcast_test.cc | 26 if (!b.IsValid()) { in MatMulBCastToStr() 40 EXPECT_TRUE(bcast.IsValid()); in TEST() 53 EXPECT_TRUE(bcast.IsValid()); in TEST() 66 EXPECT_TRUE(bcast.IsValid()); in TEST() 79 EXPECT_TRUE(bcast1.IsValid()); in TEST() 88 EXPECT_TRUE(bcast2.IsValid()); in TEST() 99 EXPECT_TRUE(bcast1.IsValid()); in TEST() 102 EXPECT_TRUE(bcast2.IsValid()); in TEST() 105 EXPECT_TRUE(bcast3.IsValid()); in TEST() 111 EXPECT_FALSE(bcast3.IsValid()); in TEST() [all …]
|
/external/libchrome/base/ |
D | sequence_token_unittest.cc | 11 TEST(SequenceTokenTest, IsValid) { in TEST() argument 12 EXPECT_FALSE(SequenceToken().IsValid()); in TEST() 13 EXPECT_TRUE(SequenceToken::Create().IsValid()); in TEST() 53 EXPECT_FALSE(SequenceToken::GetForCurrentThread().IsValid()); in TEST() 58 EXPECT_TRUE(SequenceToken::GetForCurrentThread().IsValid()); in TEST() 62 EXPECT_FALSE(SequenceToken::GetForCurrentThread().IsValid()); in TEST() 76 EXPECT_FALSE(TaskToken().IsValid()); in TEST() 83 EXPECT_FALSE(TaskToken::GetForCurrentThread().IsValid()); in TEST() 105 EXPECT_TRUE(token_a.IsValid()); in TEST() 106 EXPECT_TRUE(token_b.IsValid()); in TEST() [all …]
|
/external/cronet/base/ |
D | sequence_token_unittest.cc | 11 TEST(SequenceTokenTest, IsValid) { in TEST() argument 12 EXPECT_FALSE(SequenceToken().IsValid()); in TEST() 13 EXPECT_TRUE(SequenceToken::Create().IsValid()); in TEST() 53 EXPECT_FALSE(SequenceToken::GetForCurrentThread().IsValid()); in TEST() 58 EXPECT_TRUE(SequenceToken::GetForCurrentThread().IsValid()); in TEST() 62 EXPECT_FALSE(SequenceToken::GetForCurrentThread().IsValid()); in TEST() 76 EXPECT_FALSE(TaskToken().IsValid()); in TEST() 83 EXPECT_FALSE(TaskToken::GetForCurrentThread().IsValid()); in TEST() 105 EXPECT_TRUE(token_a.IsValid()); in TEST() 106 EXPECT_TRUE(token_b.IsValid()); in TEST() [all …]
|
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
D | FieldMaskTest.cs | 64 public void IsValid() in IsValid() method in Google.Protobuf.WellKnownTypes.FieldMaskTest 66 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>("payload")); in IsValid() 67 Assert.IsFalse(FieldMask.IsValid<NestedTestAllTypes>("nonexist")); 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() 72 Assert.IsFalse(FieldMask.IsValid<NestedTestAllTypes>("payload.nonexist")); in IsValid() 74 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>(FieldMask.FromString("payload"))); in IsValid() 75 Assert.IsFalse(FieldMask.IsValid<NestedTestAllTypes>(FieldMask.FromString("nonexist"))); in IsValid() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
D | FieldMaskTest.cs | 64 public void IsValid() in IsValid() method in Google.Protobuf.WellKnownTypes.FieldMaskTest 66 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>("payload")); in IsValid() 67 Assert.IsFalse(FieldMask.IsValid<NestedTestAllTypes>("nonexist")); 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() 72 Assert.IsFalse(FieldMask.IsValid<NestedTestAllTypes>("payload.nonexist")); in IsValid() 74 Assert.IsTrue(FieldMask.IsValid<NestedTestAllTypes>(FieldMask.FromString("payload"))); in IsValid() 75 Assert.IsFalse(FieldMask.IsValid<NestedTestAllTypes>(FieldMask.FromString("nonexist"))); in IsValid() [all …]
|
/external/vixl/src/aarch32/ |
D | operands-aarch32.h | 67 VIXL_ASSERT(rm_.IsValid()); in Operand() 75 VIXL_ASSERT(rm_.IsValid()); in Operand() 85 VIXL_ASSERT(rm_.IsValid()); in Operand() 113 VIXL_ASSERT(rm_.IsValid() && rs_.IsValid()); in Operand() 142 bool IsImmediate() const { return !rm_.IsValid(); } in IsImmediate() 145 return rm_.IsValid() && !shift_.IsRRX() && !rs_.IsValid() && (amount_ == 0); in IsPlainRegister() 149 return rm_.IsValid() && !rs_.IsValid(); in IsImmediateShiftedRegister() 153 return rm_.IsValid() && rs_.IsValid(); in IsRegisterShiftedRegister() 374 VIXL_ASSERT(rm_.IsValid()); in NeonOperand() 377 bool IsImmediate() const { return !rm_.IsValid(); } in IsImmediate() [all …]
|
/external/zucchini/ |
D | disassembler_ztf_unittest.cc | 126 EXPECT_FALSE(translator.IsValid(lc)); in TestTranslation() 129 EXPECT_TRUE(translator.IsValid(lc)); in TestTranslation() 190 EXPECT_TRUE(translator.IsValid(0, ztf::DeltaLineCol{0, 0})); in TEST() 191 EXPECT_TRUE(translator.IsValid(0, ztf::DeltaLineCol{0, 1})); in TEST() 192 EXPECT_TRUE(translator.IsValid(0, ztf::DeltaLineCol{1, 0})); in TEST() 193 EXPECT_FALSE(translator.IsValid(0, ztf::DeltaLineCol{-1, -1})); in TEST() 194 EXPECT_FALSE(translator.IsValid(0, ztf::DeltaLineCol{-1, 0})); in TEST() 195 EXPECT_FALSE(translator.IsValid(0, ztf::DeltaLineCol{0, -1})); in TEST() 196 EXPECT_FALSE(translator.IsValid(0, ztf::DeltaLineCol{0, -1})); in TEST() 197 EXPECT_FALSE(translator.IsValid(0, ztf::DeltaLineCol{0, kMaxVal})); in TEST() [all …]
|
/external/pigweed/pw_tokenizer/ |
D | token_database_test.cc | 92 EXPECT_TRUE(TokenDatabase::IsValid(basic_data)); in TEST() 94 static_assert(TokenDatabase::IsValid(kBasicData)); in TEST() 95 static_assert(TokenDatabase::IsValid(kEmptyData)); in TEST() 96 static_assert(TokenDatabase::IsValid(kSignedWithTopBit)); in TEST() 98 static_assert(!TokenDatabase::IsValid(kBadMagic)); in TEST() 99 static_assert(!TokenDatabase::IsValid(kBadVersion)); in TEST() 100 static_assert(!TokenDatabase::IsValid(kBadEntryCount)); in TEST() 102 static_assert(!TokenDatabase::IsValid("TOKENS\0\0\0\0")); // too short in TEST() 103 static_assert(!TokenDatabase::IsValid("TOKENS\0\1\0\0\0\0\0\0\0\0")); in TEST() 104 static_assert(!TokenDatabase::IsValid("TOKENSv0\0\0\0\0\0\0\0\0")); in TEST() [all …]
|
/external/libchrome/base/task/sequence_manager/ |
D | intrusive_heap_unittest.cc | 54 EXPECT_TRUE(index1.IsValid()); in TEST_F() 58 EXPECT_FALSE(index1.IsValid()); in TEST_F() 69 EXPECT_TRUE(index1.IsValid()); in TEST_F() 72 EXPECT_FALSE(index1.IsValid()); in TEST_F() 121 EXPECT_FALSE(index1.IsValid()); in TEST_F() 122 EXPECT_FALSE(index2.IsValid()); in TEST_F() 123 EXPECT_FALSE(index3.IsValid()); in TEST_F() 124 EXPECT_FALSE(index4.IsValid()); in TEST_F() 125 EXPECT_FALSE(index5.IsValid()); in TEST_F() 133 EXPECT_TRUE(index1.IsValid()); in TEST_F() [all …]
|