Home
last modified time | relevance | path

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

12345678910>>...52

/external/chromium_org/gpu/command_buffer/service/
Dfeature_info_unittest.cc169 EXPECT_TRUE(validator.IsValid(info.types[jj])); in TEST_F()
222 EXPECT_FALSE(validator.IsValid(info.types[jj])); in TEST_F()
255 EXPECT_FALSE(info_->validators()->compressed_texture_format.IsValid( in TEST_F()
257 EXPECT_FALSE(info_->validators()->compressed_texture_format.IsValid( in TEST_F()
259 EXPECT_FALSE(info_->validators()->compressed_texture_format.IsValid( in TEST_F()
261 EXPECT_FALSE(info_->validators()->compressed_texture_format.IsValid( in TEST_F()
263 EXPECT_FALSE(info_->validators()->compressed_texture_format.IsValid( in TEST_F()
265 EXPECT_FALSE(info_->validators()->compressed_texture_format.IsValid( in TEST_F()
267 EXPECT_FALSE(info_->validators()->compressed_texture_format.IsValid( in TEST_F()
269 EXPECT_FALSE(info_->validators()->compressed_texture_format.IsValid( in TEST_F()
[all …]
/external/chromium_org/components/content_settings/core/common/
Dcontent_settings_pattern_unittest.cc57 EXPECT_TRUE(pattern.IsValid()); in TEST()
82 EXPECT_TRUE(pattern.IsValid()); in TEST()
86 EXPECT_TRUE(pattern.IsValid()); in TEST()
89 EXPECT_TRUE(pattern.IsValid()); in TEST()
147 EXPECT_TRUE(pattern.IsValid()); in TEST()
155 EXPECT_TRUE(pattern.IsValid()); in TEST()
165 EXPECT_TRUE(pattern.IsValid()); in TEST()
179 EXPECT_TRUE(ContentSettingsPattern::Wildcard().IsValid()); in TEST()
198 EXPECT_TRUE(Pattern("www.example.com").IsValid()); in TEST()
204 EXPECT_TRUE(Pattern("www.example.com.").IsValid()); in TEST()
[all …]
/external/chromium_org/chrome/browser/services/gcm/
Dpush_messaging_application_id_unittest.cc10 1).IsValid()); in TEST()
12 1).IsValid()); in TEST()
13 EXPECT_FALSE(gcm::PushMessagingApplicationId(GURL(""), 1).IsValid()); in TEST()
14 EXPECT_FALSE(gcm::PushMessagingApplicationId(GURL("foo"), 1).IsValid()); in TEST()
16 GURL("https://www.example.com/foo"), 1).IsValid()); in TEST()
18 GURL("https://www.example.com/#foo"), 1).IsValid()); in TEST()
20 -1).IsValid()); in TEST()
21 EXPECT_FALSE(gcm::PushMessagingApplicationId().IsValid()); in TEST()
35 "push#https://www.example.com/#1").IsValid()); in TEST()
36 EXPECT_FALSE(gcm::PushMessagingApplicationId::Parse("").IsValid()); in TEST()
[all …]
/external/chromium_org/net/cookies/
Dparsed_cookie_unittest.cc15 EXPECT_TRUE(pc.IsValid()); in TEST()
23 EXPECT_FALSE(pc1.IsValid()); in TEST()
25 EXPECT_FALSE(pc2.IsValid()); in TEST()
27 EXPECT_FALSE(pc3.IsValid()); in TEST()
29 EXPECT_FALSE(pc4.IsValid()); in TEST()
31 EXPECT_FALSE(pc5.IsValid()); in TEST()
33 EXPECT_FALSE(pc6.IsValid()); in TEST()
65 EXPECT_TRUE(pc.IsValid()); in TEST()
81 EXPECT_TRUE(pc.IsValid()); in TEST()
92 EXPECT_TRUE(pc.IsValid()); in TEST()
[all …]
/external/lldb/source/API/
DSBType.cpp69 if (IsValid() == false) in operator ==()
70 return !rhs.IsValid(); in operator ==()
79 if (IsValid() == false) in operator !=()
80 return rhs.IsValid(); in operator !=()
131 SBType::IsValid() const in IsValid() function in SBType
136 return m_opaque_sp->IsValid(); in IsValid()
142 if (!IsValid()) in GetByteSize()
152 if (!IsValid()) in IsPointerType()
160 if (!IsValid()) in IsReferenceType()
168 if (!IsValid()) in GetPointerType()
[all …]
DSBTypeCategory.cpp52 SBTypeCategory::IsValid() const in IsValid() function in SBTypeCategory
60 if (!IsValid()) in GetEnabled()
68 if (!IsValid()) in SetEnabled()
79 if (!IsValid()) in GetName()
96 if (!IsValid()) in GetNumSummaries()
104 if (!IsValid()) in GetNumFilters()
113 if (!IsValid()) in GetNumSynthetics()
122 if (!IsValid()) in GetTypeNameSpecifierForFilterAtIndex()
138 if (!IsValid()) in GetTypeNameSpecifierForSummaryAtIndex()
147 if (!IsValid()) in GetTypeNameSpecifierForSyntheticAtIndex()
[all …]
DSBTypeNameSpecifier.cpp38 if (type.IsValid()) in SBTypeNameSpecifier()
51 SBTypeNameSpecifier::IsValid() const in IsValid() function in SBTypeNameSpecifier
59 if (!IsValid()) in GetName()
68 if (!IsValid()) in GetType()
71 if (c_type.IsValid()) in GetType()
79 if (!IsValid()) in IsRegex()
89 if (!IsValid()) in GetDescription()
108 if (IsValid() == false) in operator ==()
109 return !rhs.IsValid(); in operator ==()
116 if (IsValid() == false) in IsEqualTo()
[all …]
DSBTypeSynthetic.cpp54 SBTypeSynthetic::IsValid() const in IsValid() function in SBTypeSynthetic
62 if (!IsValid()) in IsClassCode()
71 if (!IsValid()) in IsClassName()
79 if (!IsValid()) in GetData()
90 if (IsValid() && data && *data) in SetClassName()
97 if (IsValid() && data && *data) in SetClassCode()
104 if (!IsValid()) in GetOptions()
143 if (IsValid() == false) in operator ==()
144 return !rhs.IsValid(); in operator ==()
151 if (IsValid() == false) in IsEqualTo()
[all …]
DSBTypeFormat.cpp42 SBTypeFormat::IsValid() const in IsValid() function in SBTypeFormat
50 if (IsValid()) in GetFormat()
58 if (IsValid()) in GetOptions()
81 if (!IsValid()) in GetDescription()
103 if (IsValid() == false) in operator ==()
104 return !rhs.IsValid(); in operator ==()
111 if (IsValid() == false) in IsEqualTo()
112 return !rhs.IsValid(); in IsEqualTo()
123 if (IsValid() == false) in operator !=()
124 return !rhs.IsValid(); in operator !=()
[all …]
DSBTypeFilter.cpp41 SBTypeFilter::IsValid() const in IsValid() function in SBTypeFilter
49 if (IsValid()) in GetOptions()
65 if (!IsValid()) in GetDescription()
84 if (IsValid()) in GetNumberOfExpressionPaths()
92 if (IsValid()) in GetExpressionPathAtIndex()
131 if (IsValid() == false) in operator ==()
132 return !rhs.IsValid(); in operator ==()
140 if (IsValid() == false) in IsEqualTo()
141 return !rhs.IsValid(); in IsEqualTo()
158 if (IsValid() == false) in operator !=()
[all …]
DSBStringList.cpp32 if (rhs.IsValid()) in SBStringList()
42 if (rhs.IsValid()) in operator =()
67 SBStringList::IsValid() const in IsValid() function in SBStringList
77 if (IsValid()) in AppendString()
91 if (IsValid()) in AppendList()
101 if (strings.IsValid()) in AppendList()
103 if (! IsValid()) in AppendList()
112 if (IsValid()) in GetSize()
122 if (IsValid()) in GetStringAtIndex()
132 if (IsValid()) in Clear()
DSBTypeSummary.cpp65 SBTypeSummary::IsValid() const in IsValid() function in SBTypeSummary
73 if (!IsValid()) in IsFunctionCode()
87 if (!IsValid()) in IsFunctionName()
101 if (!IsValid()) in IsSummaryString()
113 if (!IsValid()) in GetData()
136 if (!IsValid()) in GetOptions()
152 if (!IsValid()) in SetSummaryString()
162 if (!IsValid()) in SetFunctionName()
172 if (!IsValid()) in SetFunctionCode()
205 if (IsValid() == false) in operator ==()
[all …]
DSBListener.cpp77 SBListener::IsValid() const in IsValid() function in SBListener
135 if (m_opaque_ptr && broadcaster.IsValid()) in StartListeningForEvents()
181 if (m_opaque_ptr && broadcaster.IsValid()) in StopListeningForEvents()
217 if (m_opaque_ptr->WaitForEvent (time_value.IsValid() ? &time_value : NULL, event_sp)) in WaitForEvent()
250 if (m_opaque_ptr && broadcaster.IsValid()) in WaitForEventForBroadcaster()
259 if (m_opaque_ptr->WaitForEventForBroadcaster (time_value.IsValid() ? &time_value : NULL, in WaitForEventForBroadcaster()
281 if (m_opaque_ptr && broadcaster.IsValid()) in WaitForEventForBroadcasterWithType()
290 … if (m_opaque_ptr->WaitForEventForBroadcasterWithType (time_value.IsValid() ? &time_value : NULL, in WaitForEventForBroadcasterWithType()
309 return event.IsValid(); in PeekAtNextEvent()
318 if (m_opaque_ptr && broadcaster.IsValid()) in PeekAtNextEventForBroadcaster()
[all …]
/external/chromium_org/chrome/browser/content_settings/
Dcontent_settings_utils_unittest.cc15 EXPECT_FALSE(pattern_pair.first.IsValid()); in TEST()
16 EXPECT_FALSE(pattern_pair.second.IsValid()); in TEST()
19 EXPECT_FALSE(pattern_pair.first.IsValid()); in TEST()
20 EXPECT_FALSE(pattern_pair.second.IsValid()); in TEST()
23 EXPECT_TRUE(pattern_pair.first.IsValid()); in TEST()
28 EXPECT_TRUE(pattern_pair.first.IsValid()); in TEST()
29 EXPECT_FALSE(pattern_pair.second.IsValid()); in TEST()
33 EXPECT_TRUE(pattern_pair.first.IsValid()); in TEST()
34 EXPECT_TRUE(pattern_pair.second.IsValid()); in TEST()
38 EXPECT_FALSE(pattern_pair.first.IsValid()); in TEST()
[all …]
/external/chromium_org/content/browser/indexed_db/leveldb/
Dleveldb_transaction.cc134 bool LevelDBTransaction::DataIterator::IsValid() const { in IsValid() function in content::LevelDBTransaction::DataIterator
152 DCHECK(IsValid()); in Next()
158 DCHECK(IsValid()); in Prev()
167 DCHECK(IsValid()); in Key()
172 DCHECK(IsValid()); in Value()
178 DCHECK(IsValid()); in IsDeleted()
210 bool LevelDBTransaction::TransactionIterator::IsValid() const { in IsValid() function in content::LevelDBTransaction::TransactionIterator
242 DCHECK(IsValid()); in Next()
255 if (non_current->IsValid() && in Next()
263 DCHECK(!non_current->IsValid() || in Next()
[all …]
/external/chromium_org/components/domain_reliability/
Dconfig_unittest.cc58 EXPECT_TRUE(config->IsValid()); in MakeSampleConfig()
75 EXPECT_TRUE(config->IsValid()); in MakeConfigWithResource()
85 TEST_F(DomainReliabilityConfigTest, IsValid) { in TEST_F() argument
89 EXPECT_TRUE(config->IsValid()); in TEST_F()
93 EXPECT_FALSE(config->IsValid()); in TEST_F()
97 EXPECT_FALSE(config->IsValid()); in TEST_F()
102 EXPECT_TRUE(config->IsValid()); in TEST_F()
106 EXPECT_FALSE(config->IsValid()); in TEST_F()
110 EXPECT_FALSE(config->IsValid()); in TEST_F()
114 EXPECT_FALSE(config->IsValid()); in TEST_F()
[all …]
/external/chromium_org/base/files/
Dfile_win.cc23 DCHECK(!IsValid()); in InitializeUnsafe()
92 if (file_.IsValid()) { in InitializeUnsafe()
105 bool File::IsValid() const { in IsValid() function in base::File
106 return file_.IsValid(); in IsValid()
118 if (file_.IsValid()) { in Close()
126 DCHECK(IsValid()); in Seek()
138 DCHECK(IsValid()); in Read()
161 DCHECK(IsValid()); in ReadAtCurrentPos()
185 DCHECK(IsValid()); in Write()
204 DCHECK(IsValid()); in WriteAtCurrentPos()
[all …]
Dfile_unittest.cc22 EXPECT_FALSE(file.IsValid()); in TEST()
26 EXPECT_FALSE(file2.IsValid()); in TEST()
33 EXPECT_FALSE(file.IsValid()); in TEST()
40 EXPECT_TRUE(file.IsValid()); in TEST()
48 EXPECT_TRUE(file.IsValid()); in TEST()
54 EXPECT_FALSE(file.IsValid()); in TEST()
61 EXPECT_TRUE(file.IsValid()); in TEST()
67 EXPECT_FALSE(file.IsValid()); in TEST()
73 EXPECT_FALSE(file.IsValid()); in TEST()
82 EXPECT_TRUE(file.IsValid()); in TEST()
[all …]
Dfile_proxy.cc37 else if (file_.IsValid()) in PassFile()
97 error_ = file_.IsValid() ? File::FILE_OK : file_.error_details(); in RunWork()
132 if (file_.IsValid()) { in RunWork()
237 if (file_.IsValid()) in ~FileProxy()
244 DCHECK(!file_.IsValid()); in CreateOrOpen()
255 DCHECK(!file_.IsValid()); in CreateTemporary()
264 bool FileProxy::IsValid() const { in IsValid() function in base::FileProxy
265 return file_.IsValid(); in IsValid()
269 DCHECK(!file_.IsValid()); in SetFile()
282 DCHECK(file_.IsValid()); in Close()
[all …]
/external/chromium_org/components/cloud_devices/common/
Ddescription_items_inl.h29 bool ListCapability<Option, Traits>::IsValid() const { in IsValid() function
33 if (!Traits::IsValid(options_[i])) in IsValid()
56 return IsValid(); in LoadFrom()
62 DCHECK(IsValid()); in SaveTo()
82 bool SelectionCapability<Option, Traits>::IsValid() const { in IsValid() function
86 if (!Traits::IsValid(options_[i])) in IsValid()
117 return IsValid(); in LoadFrom()
123 DCHECK(IsValid()); in SaveTo()
189 bool ValueCapability<Option, Traits>::IsValid() const { in IsValid() function
190 return Traits::IsValid(value()); in IsValid()
[all …]
/external/chromium_org/base/
Dversion.cc96 bool Version::IsValid() const { in IsValid() function in base::Version
107 return version.IsValid(); in IsValidWildcardString()
112 if (!proposed_ver.IsValid()) in IsOlderThan()
118 DCHECK(IsValid()); in CompareToWildcardString()
124 DCHECK(version.IsValid()); in CompareToWildcardString()
155 DCHECK(IsValid()); in Equals()
156 DCHECK(that.IsValid()); in Equals()
161 DCHECK(IsValid()); in CompareTo()
162 DCHECK(other.IsValid()); in CompareTo()
167 DCHECK(IsValid()); in GetString()
/external/chromium_org/net/disk_cache/blockfile/
Dfile_posix.cc44 if (base_file_.IsValid()) in Init()
50 return base_file_.IsValid(); in Init()
53 bool File::IsValid() const { in IsValid() function in disk_cache::File
54 return base_file_.IsValid(); in IsValid()
58 DCHECK(base_file_.IsValid()); in Read()
69 DCHECK(base_file_.IsValid()); in Write()
82 DCHECK(base_file_.IsValid()); in Read()
105 DCHECK(base_file_.IsValid()); in Write()
127 DCHECK(base_file_.IsValid()); in SetLength()
135 DCHECK(base_file_.IsValid()); in GetLength()
/external/chromium_org/gpu/config/
Dgpu_test_config_unittest.cc49 TEST_F(GPUTestConfigTest, IsValid) { in TEST_F() argument
53 EXPECT_FALSE(config.IsValid()); in TEST_F()
55 EXPECT_TRUE(config.IsValid()); in TEST_F()
63 EXPECT_FALSE(config.IsValid()); in TEST_F()
65 EXPECT_TRUE(config.IsValid()); in TEST_F()
68 EXPECT_FALSE(config.IsValid()); in TEST_F()
70 EXPECT_TRUE(config.IsValid()); in TEST_F()
73 EXPECT_FALSE(config.IsValid()); in TEST_F()
75 EXPECT_FALSE(config.IsValid()); in TEST_F()
77 EXPECT_TRUE(config.IsValid()); in TEST_F()
[all …]
/external/chromium_org/sync/internal_api/public/base/
Dordinal.h91 bool IsValid() const;
245 bool Ordinal<Traits>::IsValid() const { in IsValid() function
252 if (!IsValid() && !other.IsValid()) in EqualsOrBothInvalid()
255 if (!IsValid() || !other.IsValid()) in EqualsOrBothInvalid()
273 CHECK(IsValid()); in LessThan()
274 CHECK(other.IsValid()); in LessThan()
280 CHECK(IsValid()); in GreaterThan()
281 CHECK(other.IsValid()); in GreaterThan()
287 CHECK(IsValid()); in Equals()
288 CHECK(other.IsValid()); in Equals()
[all …]
/external/chromium_org/device/bluetooth/
Dbluetooth_uuid_unittest.cc22 EXPECT_TRUE(uuid0.IsValid()); in TEST()
28 EXPECT_TRUE(uuid1.IsValid()); in TEST()
36 EXPECT_FALSE(uuid2.IsValid()); in TEST()
43 EXPECT_FALSE(uuid3.IsValid()); in TEST()
50 EXPECT_FALSE(uuid4.IsValid()); in TEST()
57 EXPECT_TRUE(uuid5.IsValid()); in TEST()
65 EXPECT_TRUE(uuid6.IsValid()); in TEST()
101 EXPECT_TRUE(uuid.IsValid()); in TEST()

12345678910>>...52