Home
last modified time | relevance | path

Searched refs:IsValid (Results 1 – 25 of 822) sorted by relevance

12345678910>>...33

/external/libchrome/base/memory/
Dplatform_shared_memory_region_unittest.cc30 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 …]
Dshared_memory_region_unittest.cc37 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 …]
Dread_only_shared_memory_region.h84 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/deqp-deps/SPIRV-Tools/test/fuzz/
Dfuzzer_pass_donate_modules_test.cpp190 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
194 ASSERT_TRUE(IsValid(env, donor_context.get())); in TEST()
213 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
268 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
272 ASSERT_TRUE(IsValid(env, donor_context.get())); in TEST()
289 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
396 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
400 ASSERT_TRUE(IsValid(env, donor_context.get())); in TEST()
417 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
488 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
[all …]
Dtransformation_outline_function_test.cpp44 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
57 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
109 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
166 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
179 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
255 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
268 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
333 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
345 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
432 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
[all …]
Dtransformation_add_dead_break_test.cpp101 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
156 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
161 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
166 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
171 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
176 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
181 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
342 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
437 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
442 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
[all …]
Dtransformation_equation_instruction_test.cpp48 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
105 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
112 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
166 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
196 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
203 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
258 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
294 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
301 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
310 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
[all …]
/external/angle/third_party/spirv-tools/src/test/fuzz/
Dfuzzer_pass_donate_modules_test.cpp190 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
194 ASSERT_TRUE(IsValid(env, donor_context.get())); in TEST()
213 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
268 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
272 ASSERT_TRUE(IsValid(env, donor_context.get())); in TEST()
289 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
396 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
400 ASSERT_TRUE(IsValid(env, donor_context.get())); in TEST()
417 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
488 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
[all …]
Dtransformation_outline_function_test.cpp44 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
57 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
109 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
166 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
179 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
255 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
268 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
333 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
345 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
432 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
[all …]
Dtransformation_add_dead_break_test.cpp101 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
156 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
161 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
166 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
171 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
176 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
181 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
342 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
437 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
442 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
[all …]
Dtransformation_equation_instruction_test.cpp48 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
105 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
112 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
166 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
196 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
203 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
258 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
294 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
301 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
310 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
[all …]
Dtransformation_merge_blocks_test.cpp45 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
87 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
128 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
170 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
181 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
244 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
255 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
323 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
334 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
398 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dtransformation_outline_function_test.cpp44 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
53 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
105 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
158 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
167 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
243 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
252 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
317 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
325 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
412 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
[all …]
Dfuzzer_pass_donate_modules_test.cpp190 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
194 ASSERT_TRUE(IsValid(env, donor_context.get())); in TEST()
210 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
265 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
269 ASSERT_TRUE(IsValid(env, donor_context.get())); in TEST()
282 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
389 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
393 ASSERT_TRUE(IsValid(env, donor_context.get())); in TEST()
406 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
477 ASSERT_TRUE(IsValid(env, recipient_context.get())); in TEST()
[all …]
Dtransformation_add_dead_break_test.cpp101 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
152 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
156 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
160 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
164 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
168 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
172 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
333 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
424 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
428 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
[all …]
Dtransformation_merge_blocks_test.cpp45 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
84 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
122 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
161 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
168 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
231 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
238 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
306 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
313 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
377 ASSERT_TRUE(IsValid(env, context.get())); in TEST()
[all …]
/external/libtextclassifier/native/annotator/grammar/dates/utils/
Ddate-match_test.cc101 TEST_F(DateMatchTest, IsValid) { in TEST_F() argument
106 EXPECT_TRUE(d.IsValid()) << d.DebugString(); in TEST_F()
111 EXPECT_TRUE(d.IsValid()) << d.DebugString(); in TEST_F()
116 EXPECT_TRUE(d.IsValid()) << d.DebugString(); in TEST_F()
121 EXPECT_TRUE(d.IsValid()) << d.DebugString(); in TEST_F()
126 EXPECT_TRUE(d.IsValid()) << d.DebugString(); in TEST_F()
131 EXPECT_TRUE(d.IsValid()) << d.DebugString(); in TEST_F()
136 EXPECT_TRUE(d.IsValid()) << d.DebugString(); in TEST_F()
141 EXPECT_TRUE(d.IsValid()) << d.DebugString(); in TEST_F()
146 EXPECT_TRUE(d.IsValid()) << d.DebugString(); in TEST_F()
[all …]
/external/vixl/src/aarch64/
Doperands-aarch64.h58 VIXL_ASSERT(!IsValid()); in CPURegister()
68 VIXL_ASSERT(IsValid()); in GetCode()
81 return IsValid() ? (static_cast<RegList>(1) << code_) : 0; in GetBit()
86 VIXL_ASSERT(IsValid()); in GetSizeInBytes()
95 VIXL_ASSERT(IsValid()); in GetSizeInBits()
106 VIXL_ASSERT(IsValid()); in Is8Bits()
111 VIXL_ASSERT(IsValid()); in Is16Bits()
116 VIXL_ASSERT(IsValid()); in Is32Bits()
121 VIXL_ASSERT(IsValid()); in Is64Bits()
126 VIXL_ASSERT(IsValid()); in Is128Bits()
[all …]
/external/tensorflow/tensorflow/core/util/
Dmatmul_bcast_test.cc26 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()
100 EXPECT_FALSE(bcast1.IsValid()); in TEST()
103 EXPECT_FALSE(bcast2.IsValid()); in TEST()
107 EXPECT_FALSE(bcast3.IsValid()); in TEST()
110 EXPECT_FALSE(bcast4.IsValid()); in TEST()
[all …]
/external/libchrome/base/
Dsequence_token_unittest.cc11 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/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DFieldMaskTest.cs64 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/
Doperands-aarch32.h79 VIXL_ASSERT(rm_.IsValid()); in Operand()
87 VIXL_ASSERT(rm_.IsValid()); in Operand()
97 VIXL_ASSERT(rm_.IsValid()); in Operand()
125 VIXL_ASSERT(rm_.IsValid() && rs_.IsValid()); in Operand()
154 bool IsImmediate() const { return !rm_.IsValid(); } in IsImmediate()
157 return rm_.IsValid() && !shift_.IsRRX() && !rs_.IsValid() && (amount_ == 0); in IsPlainRegister()
161 return rm_.IsValid() && !rs_.IsValid(); in IsImmediateShiftedRegister()
165 return rm_.IsValid() && rs_.IsValid(); in IsRegisterShiftedRegister()
400 VIXL_ASSERT(rm_.IsValid()); in NeonOperand()
403 bool IsImmediate() const { return !rm_.IsValid(); } in IsImmediate()
[all …]
/external/libchrome/base/task/sequence_manager/
Dintrusive_heap_unittest.cc54 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 …]
/external/vixl/test/aarch64/
Dtest-api-aarch64.cc197 VIXL_CHECK(!NoReg.IsValid()); in TEST()
198 VIXL_CHECK(!NoVReg.IsValid()); in TEST()
199 VIXL_CHECK(!NoCPUReg.IsValid()); in TEST()
201 VIXL_CHECK(x0.IsValid()); in TEST()
202 VIXL_CHECK(w0.IsValid()); in TEST()
203 VIXL_CHECK(x30.IsValid()); in TEST()
204 VIXL_CHECK(w30.IsValid()); in TEST()
205 VIXL_CHECK(xzr.IsValid()); in TEST()
206 VIXL_CHECK(wzr.IsValid()); in TEST()
208 VIXL_CHECK(sp.IsValid()); in TEST()
[all …]
/external/tensorflow/tensorflow/lite/testing/
Dtflite_driver_test.cc31 ASSERT_TRUE(runner->IsValid()); in TEST()
39 ASSERT_TRUE(runner->IsValid()); in TEST()
54 ASSERT_TRUE(runner->IsValid()); in TEST()
68 ASSERT_TRUE(runner->IsValid()); in TEST()
76 ASSERT_TRUE(runner->IsValid()); in TEST()
91 ASSERT_TRUE(runner->IsValid()); in TEST()
103 ASSERT_TRUE(runner->IsValid()); in TEST()
109 ASSERT_TRUE(runner->IsValid()); in TEST()
118 ASSERT_TRUE(runner->IsValid()); in TEST()

12345678910>>...33