Home
last modified time | relevance | path

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

12345678910>>...21

/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()
Dread_only_shared_memory_region.cc18 if (!handle.IsValid()) in Create()
35 if (!region.IsValid() || !mapping.IsValid()) in Create()
72 if (!IsValid()) in MapAt()
84 bool ReadOnlySharedMemoryRegion::IsValid() const { in IsValid() function in base::ReadOnlySharedMemoryRegion
85 return handle_.IsValid(); in IsValid()
91 if (handle_.IsValid()) { in ReadOnlySharedMemoryRegion()
/external/vixl/src/aarch64/
Doperands-aarch64.h59 VIXL_ASSERT(!IsValid()); in CPURegister()
69 VIXL_ASSERT(IsValid()); in GetCode()
82 return IsValid() ? (static_cast<RegList>(1) << code_) : 0; in GetBit()
87 VIXL_ASSERT(IsValid()); in GetSizeInBytes()
96 VIXL_ASSERT(IsValid()); in GetSizeInBits()
107 VIXL_ASSERT(IsValid()); in Is8Bits()
112 VIXL_ASSERT(IsValid()); in Is16Bits()
117 VIXL_ASSERT(IsValid()); in Is32Bits()
122 VIXL_ASSERT(IsValid()); in Is64Bits()
127 VIXL_ASSERT(IsValid()); in Is128Bits()
[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/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 …]
Dassembler-aarch32.cc1935 if (!size.IsNarrow() && immediate_t32.IsValid() && in adc()
1947 if (immediate_a32.IsValid() && cond.IsNotNever()) { in adc()
2023 if (!size.IsNarrow() && immediate_t32.IsValid() && in adcs()
2035 if (immediate_a32.IsValid() && cond.IsNotNever()) { in adcs()
2157 if (!size.IsNarrow() && immediate_t32.IsValid() && !rn.Is(sp) && in add()
2175 if (!size.IsNarrow() && rn.Is(sp) && immediate_t32.IsValid() && in add()
2195 if (rn.Is(pc) && immediate_a32.IsValid() && cond.IsNotNever()) { in add()
2201 if (immediate_a32.IsValid() && cond.IsNotNever() && in add()
2209 if (rn.Is(sp) && immediate_a32.IsValid() && cond.IsNotNever()) { in add()
2374 if (!size.IsNarrow() && immediate_t32.IsValid() && !rn.Is(sp) && in adds()
[all …]
/external/vixl/test/aarch64/
Dtest-api-aarch64.cc137 VIXL_CHECK(!NoReg.IsValid()); in TEST()
138 VIXL_CHECK(!NoFPReg.IsValid()); in TEST()
139 VIXL_CHECK(!NoVReg.IsValid()); in TEST()
140 VIXL_CHECK(!NoCPUReg.IsValid()); in TEST()
142 VIXL_CHECK(x0.IsValid()); in TEST()
143 VIXL_CHECK(w0.IsValid()); in TEST()
144 VIXL_CHECK(x30.IsValid()); in TEST()
145 VIXL_CHECK(w30.IsValid()); in TEST()
146 VIXL_CHECK(xzr.IsValid()); in TEST()
147 VIXL_CHECK(wzr.IsValid()); in TEST()
[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/libchrome/base/files/
Dfile_unittest.cc29 EXPECT_FALSE(file.IsValid()); in TEST()
33 EXPECT_FALSE(file2.IsValid()); in TEST()
40 EXPECT_FALSE(file.IsValid()); in TEST()
48 EXPECT_TRUE(file.IsValid()); in TEST()
56 EXPECT_TRUE(file.IsValid()); in TEST()
62 EXPECT_FALSE(file.IsValid()); in TEST()
69 EXPECT_TRUE(file.IsValid()); in TEST()
75 EXPECT_FALSE(file.IsValid()); in TEST()
81 EXPECT_FALSE(file.IsValid()); in TEST()
91 EXPECT_TRUE(file.IsValid()); in TEST()
[all …]
Dfile_posix.cc165 bool File::IsValid() const { in IsValid() function in base::File
178 if (!IsValid()) in Close()
188 DCHECK(IsValid()); in Seek()
207 DCHECK(IsValid()); in Read()
229 DCHECK(IsValid()); in ReadAtCurrentPos()
250 DCHECK(IsValid()); in ReadNoBestEffort()
257 DCHECK(IsValid()); in ReadAtCurrentPosNoBestEffort()
271 DCHECK(IsValid()); in Write()
302 DCHECK(IsValid()); in WriteAtCurrentPos()
324 DCHECK(IsValid()); in WriteAtCurrentPosNoBestEffort()
[all …]
/external/google-breakpad/src/common/linux/
Delf_core_dump_unittest.cc54 EXPECT_FALSE(core.IsValid()); in TEST()
59 EXPECT_FALSE(core.GetFirstNote().IsValid()); in TEST()
75 EXPECT_FALSE(core.IsValid()); in TEST()
80 EXPECT_FALSE(core.GetFirstNote().IsValid()); in TEST()
85 EXPECT_FALSE(core.IsValid()); in TEST()
91 EXPECT_FALSE(core.IsValid()); in TEST()
97 EXPECT_FALSE(core.IsValid()); in TEST()
103 EXPECT_FALSE(core.IsValid()); in TEST()
109 EXPECT_FALSE(core.IsValid()); in TEST()
115 EXPECT_FALSE(core.IsValid()); in TEST()
[all …]
/external/v8/src/compiler/
Dcompilation-dependencies.cc19 virtual bool IsValid() const = 0;
33 bool IsValid() const override { in IsValid() function in v8::internal::compiler::InitialMapDependency
40 SLOW_DCHECK(IsValid()); in Install()
64 bool IsValid() const override { in IsValid() function in v8::internal::compiler::PrototypePropertyDependency
72 SLOW_DCHECK(IsValid()); in Install()
91 bool IsValid() const override { return map_.object<Map>()->is_stable(); } in IsValid() function in v8::internal::compiler::StableMapDependency
94 SLOW_DCHECK(IsValid()); in Install()
109 bool IsValid() const override { return !map_.object<Map>()->is_deprecated(); } in IsValid() function in v8::internal::compiler::TransitionDependency
112 SLOW_DCHECK(IsValid()); in Install()
131 bool IsValid() const override { in IsValid() function in v8::internal::compiler::PretenureModeDependency
[all …]
/external/webrtc/webrtc/libjingle/xmpp/
Djid_unittest.cc23 EXPECT_TRUE(jid.IsValid()); in TEST()
35 EXPECT_TRUE(jid.IsValid()); in TEST()
47 EXPECT_TRUE(jid.IsValid()); in TEST()
59 EXPECT_TRUE(jid.IsValid()); in TEST()
71 EXPECT_FALSE(jid.IsValid()); in TEST()
83 EXPECT_FALSE(jid.IsValid()); in TEST()
95 EXPECT_FALSE(jid.IsValid()); in TEST()
107 EXPECT_TRUE(jid.IsValid()); in TEST()
119 EXPECT_TRUE(jid.IsValid()); in TEST()
/external/dng_sdk/source/
Ddng_date_time.h70 bool IsValid () const;
77 return !IsValid (); in NotValid()
166 bool IsValid () const in IsValid() function
174 return !IsValid (); in NotValid()
184 return IsValid () && ((fOffsetMinutes % 60) == 0); in IsExactHourOffset()
225 bool IsValid () const;
229 return !IsValid (); in NotValid()
356 bool IsValid () const;
Ddng_date_time.cpp83 bool dng_date_time::IsValid () const in IsValid() function in dng_date_time
136 return IsValid (); in Parse()
147 if (IsValid ()) in Encode_ISO_8601()
205 bool dng_date_time_info::IsValid () const in IsValid() function in dng_date_time_info
208 return fDateTime.IsValid (); in IsValid()
388 if (IsValid ()) in Encode_ISO_8601()
463 if (fTimeZone.IsValid ()) in Encode_ISO_8601()
514 if (IsValid ()) in Encode_IPTC_Date()
574 if (zone.IsValid ()) in Decode_IPTC_Time()
642 if (IsValid () && !fDateOnly) in Encode_IPTC_Time()
[all …]
/external/pdfium/core/fpdfapi/parser/
Dcpdf_read_validator.cpp23 if (safe_result.IsValid()) in AlignUp()
65 if (!end_offset.IsValid() || end_offset.ValueOrDie() > file_size_) in ReadBlock()
93 if (!end_segment_offset.IsValid()) { in ScheduleDownload()
102 if (!segment_size.IsValid()) { in ScheduleDownload()
119 (safe_size.IsValid() ? IsDataRangeAvailable(0, safe_size.ValueOrDie()) in IsWholeFileAvailable()
135 if (!end_segment_offset.IsValid()) { in CheckDataRangeAndRequestIfUnavailable()
143 if (!segment_size.IsValid()) { in CheckDataRangeAndRequestIfUnavailable()
160 if (safe_size.IsValid()) in CheckWholeFileAndRequestIfUnavailable()
/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()
67 ASSERT_TRUE(runner->IsValid()); in TEST()
75 ASSERT_TRUE(runner->IsValid()); in TEST()
90 ASSERT_TRUE(runner->IsValid()); in TEST()
/external/google-breakpad/src/processor/
Dstatic_map_iterator-inl.h60 if (!IsValid()) {
71 if (!IsValid()) {
83 if (!IsValid()) {
95 if (!IsValid()) {
107 if (!IsValid()) { in GetKeyPtr()
116 if (!IsValid()) { in GetValueRawPtr()
138 bool StaticMapIterator<Key, Value, Compare>::IsValid() const { in IsValid() function
/external/libtextclassifier/utils/i18n/
Dlocale_test.cc26 EXPECT_FALSE(locale.IsValid()); in TEST()
31 EXPECT_TRUE(locale.IsValid()); in TEST()
39 EXPECT_TRUE(locale.IsValid()); in TEST()
47 EXPECT_TRUE(locale.IsValid()); in TEST()
55 EXPECT_TRUE(locale.IsValid()); in TEST()
63 EXPECT_TRUE(locale.IsValid()); in TEST()
/external/pdfium/core/fxge/
Dfx_ge_text.cpp58 if (!char_left.IsValid()) in FXGE_GetGlyphsBBox()
65 if (!char_width.IsValid()) in FXGE_GetGlyphsBBox()
69 if (!char_right.IsValid()) in FXGE_GetGlyphsBBox()
74 if (!char_top.IsValid()) in FXGE_GetGlyphsBBox()
79 if (!char_height.IsValid()) in FXGE_GetGlyphsBBox()
83 if (!char_bottom.IsValid()) in FXGE_GetGlyphsBBox()
/external/libchrome/mojo/public/cpp/base/
Dshared_memory_mojom_traits.cc16 return !region.IsValid(); in IsNull()
40 return out->IsValid(); in Read()
47 return !region.IsValid(); in IsNull()
71 return out->IsValid(); in Read()
78 return !region.IsValid(); in IsNull()
102 return out->IsValid(); in Read()
/external/vixl/src/
Dinvalset-vixl.h126 static bool IsValid(const ElementType& element);
282 static bool IsValid(const ElementType& element);
351 VIXL_ASSERT(IsValid(element)); in insert()
383 VIXL_ASSERT(IsValid(element)); in erase()
458 bool InvalSet<TEMPLATE_INVALSET_P_DEF>::IsValid(const ElementType& element) { in IsValid() function
512 while (!IsValid(elements[low]) && (low < high)) ++low; in BinarySearch()
513 while (!IsValid(elements[high]) && (low < high)) --high; in BinarySearch()
520 while ((middle < high - 1) && !IsValid(elements[middle])) ++middle; in BinarySearch()
521 while ((low + 1 < middle) && !IsValid(elements[middle])) --middle; in BinarySearch()
522 if (!IsValid(elements[middle])) { in BinarySearch()
[all …]
/external/syzkaller/vendor/github.com/google/go-cmp/cmp/
Dcompare.go186 if !vx.IsValid() || !vy.IsValid() {
187 s.report(vx.IsValid() == vy.IsValid(), vx, vy)
301 if !vx.IsValid() || !vy.IsValid() {
359 if got := <-c; !got.IsValid() || got.Bool() != want {
435 case vvx.IsValid() && vvy.IsValid():
437 case vvx.IsValid() && !vvy.IsValid():
439 case !vvx.IsValid() && vvy.IsValid():
467 if !vax.IsValid() || !vay.IsValid() {

12345678910>>...21