Home
last modified time | relevance | path

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

123456

/external/chromium/chrome/browser/content_settings/
Dcontent_settings_pattern_unittest.cc13 EXPECT_TRUE(ContentSettingsPattern("[*.]example.com").IsValid()); in TEST()
14 EXPECT_TRUE(ContentSettingsPattern("example.com").IsValid()); in TEST()
15 EXPECT_TRUE(ContentSettingsPattern("192.168.0.1").IsValid()); in TEST()
16 EXPECT_TRUE(ContentSettingsPattern("[::1]").IsValid()); in TEST()
17 EXPECT_TRUE(ContentSettingsPattern("file:///tmp/test.html").IsValid()); in TEST()
18 EXPECT_FALSE(ContentSettingsPattern("*example.com").IsValid()); in TEST()
19 EXPECT_FALSE(ContentSettingsPattern("example.*").IsValid()); in TEST()
20 EXPECT_FALSE(ContentSettingsPattern("http://example.com").IsValid()); in TEST()
Dcontent_settings_pattern.cc52 bool ContentSettingsPattern::IsValid() const { in IsValid() function in ContentSettingsPattern
69 if (!IsValid()) in Matches()
86 if (!IsValid()) in CanonicalizePattern()
/external/llvm/include/llvm/Support/
DErrorOr.h181 ErrorOr() : IsValid(false) {} in ErrorOr()
187 : HasError(true), IsValid(true) { in HasError()
193 ErrorOr(llvm::error_code EC) : HasError(true), IsValid(true) { in ErrorOr()
202 : HasError(true), IsValid(true) { in HasError()
208 ErrorOr(T Val) : HasError(false), IsValid(true) { in ErrorOr()
212 ErrorOr(const ErrorOr &Other) : IsValid(false) { in ErrorOr()
217 ErrorOr(const ErrorOr<OtherT> &Other) : IsValid(false) { in ErrorOr()
233 ErrorOr(ErrorOr &&Other) : IsValid(false) { in ErrorOr()
238 ErrorOr(ErrorOr<OtherT> &&Other) : IsValid(false) { in ErrorOr()
255 if (!IsValid) in ~ErrorOr()
[all …]
/external/llvm/lib/Support/Windows/
DWindows.h60 if (HandleTraits::IsValid(Handle)) in ~ScopedHandle()
71 if (HandleTraits::IsValid(Handle))
79 return HandleTraits::IsValid(Handle) ? true : false;
98 static bool IsValid(handle_type h) { in IsValid() function
120 static bool IsValid(handle_type h) { in IsValid() function
/external/chromium/chrome/browser/search_engines/
Dtemplate_url_unittest.cc65 ASSERT_TRUE(ref.IsValid()); in TEST_F()
87 ASSERT_TRUE(ref.IsValid()); in TEST_F()
100 ASSERT_TRUE(ref.IsValid()); in TEST_F()
111 ASSERT_TRUE(ref.IsValid()); in TEST_F()
123 ASSERT_TRUE(ref.IsValid()); in TEST_F()
134 ASSERT_TRUE(ref.IsValid()); in TEST_F()
146 ASSERT_TRUE(ref.IsValid()); in TEST_F()
158 ASSERT_TRUE(ref.IsValid()); in TEST_F()
170 ASSERT_TRUE(ref.IsValid()); in TEST_F()
195 ASSERT_TRUE(ref.IsValid()); in TEST_F()
[all …]
/external/llvm/include/llvm/CodeGen/
DFunctionLoweringInfo.h102 bool IsValid : 1; member
104 LiveOutInfo() : NumSignBits(0), IsValid(true), KnownOne(1, 0), in LiveOutInfo()
153 if (!LOI->IsValid) in GetLiveOutRegInfo()
194 LiveOutRegInfo[Reg].IsValid = false; in InvalidatePHILiveOutRegInfo()
/external/chromium/net/http/
Dpartial_data.cc135 if (!byte_range_.IsValid()) in Init()
157 if (!truncated_ && byte_range_.IsValid()) in RestoreHeaders()
247 if (byte_range_.IsValid()) in UpdateFromStoredHeaders()
269 DCHECK(byte_range_.IsValid()); in UpdateFromStoredHeaders()
298 if (byte_range_.IsValid()) { in IsRequestedRangeOK()
321 if (!byte_range_.IsValid() || truncated_) in ResponseHeadersOK()
360 if (byte_range_.IsValid() && end > byte_range_.last_byte_position()) in ResponseHeadersOK()
378 if (byte_range_.IsValid()) { in FixResponseHeaders()
Durl_security_manager.cc23 return whitelist_default_->IsValid(auth_origin, HttpAuth::AUTH_SERVER); in CanUseDefaultCredentials()
29 return whitelist_delegate_->IsValid(auth_origin, HttpAuth::AUTH_SERVER); in CanDelegate()
Dhttp_auth_filter.h27 virtual bool IsValid(const GURL& url, HttpAuth::Target target) const = 0;
49 virtual bool IsValid(const GURL& url, HttpAuth::Target target) const;
Dhttp_byte_range.cc36 bool HttpByteRange::IsValid() const { in IsValid() function in net::HttpByteRange
59 if (!IsValid()) in ComputeBounds()
Dhttp_auth_filter_unittest.cc83 filter.IsValid(urls[i].url, urls[i].target)) in TEST()
99 EXPECT_EQ(urls[i].matches, filter.IsValid(urls[i].url, urls[i].target)) in TEST()
/external/chromium/chrome/common/
Dservice_process_util_win.cc84 if (!shutdown_event.IsValid()) in ForceServiceProcessShutdown()
94 if (!event.IsValid()) in CheckServiceProcessReady()
121 DCHECK(service_process_ready_event.IsValid()); in TakeSingletonLock()
129 DCHECK(state_->ready_event.IsValid()); in SignalReady()
/external/v8/src/
Dplatform-posix.cc362 if (IsValid()) { in POSIXSocket()
391 bool IsValid() const { return socket_ != -1; } in IsValid() function in v8::internal::POSIXSocket
399 if (!IsValid()) { in Bind()
416 if (!IsValid()) { in Listen()
426 if (!IsValid()) { in Accept()
440 if (!IsValid()) { in Connect()
464 if (IsValid()) { in Shutdown()
Dlithium-allocator.h82 ASSERT(IsValid()); in InstructionIndex()
95 ASSERT(IsValid()); in InstructionStart()
102 ASSERT(IsValid()); in InstructionEnd()
108 ASSERT(IsValid()); in NextInstruction()
115 ASSERT(IsValid()); in PrevInstruction()
126 bool IsValid() const { return value_ != -1; } in IsValid() function
Ddateparser.cc79 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false; in Write()
120 if (!Smi::IsValid(total_seconds)) return false; in Write()
/external/chromium/base/memory/
Dweak_ptr.cc18 bool WeakReference::Flag::IsValid() const { in IsValid() function in base::internal::WeakReference::Flag
38 return flag_ && flag_->IsValid(); in is_valid()
Dscoped_temp_dir_unittest.cc20 EXPECT_TRUE(dir.IsValid()); in TEST()
32 EXPECT_FALSE(dir.IsValid()); in TEST()
Dscoped_temp_dir.h51 bool IsValid() const;
/external/webkit/Source/WebCore/platform/graphics/haiku/
DImageHaiku.cpp100 if (!image || !image->IsValid()) // If the image hasn't fully loaded. in draw()
127 if (!image || !image->IsValid()) // If the image hasn't fully loaded. in drawPattern()
179 if (!image || !image->Bounds().IsValid() in checkForSolidColor()
/external/chromium/base/
Ddir_reader_posix_unittest.cc47 EXPECT_TRUE(reader.IsValid()); in TEST()
49 if (!reader.IsValid()) in TEST()
Ddir_reader_fallback.h18 bool IsValid() const { return false; } in IsValid() function
/external/chromium/third_party/libjingle/source/talk/xmpp/
Djid.cc144 if (!IsValid()) in Str()
162 Jid::IsValid() const { in IsValid() function in buzz::Jid
172 return IsValid() && in IsBare()
178 return IsValid() && in IsFull()
184 if (!IsValid()) in BareJid()
/external/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGSDNodes.h142 bool IsValid() const { return Node != NULL; } in IsValid() function
145 assert(IsValid() && "bad iterator"); in GetValue()
DFunctionLoweringInfo.cpp250 if (!LOI->IsValid) in GetLiveOutRegInfo()
305 DestLOI.IsValid = false; in ComputePHILiveOutRegInfo()
310 DestLOI.IsValid = false; in ComputePHILiveOutRegInfo()
342 DestLOI.IsValid = false; in ComputePHILiveOutRegInfo()
347 DestLOI.IsValid = false; in ComputePHILiveOutRegInfo()
/external/chromium/net/base/
Dcookie_monster_unittest.cc122 EXPECT_TRUE(pc.IsValid()); in TEST()
158 EXPECT_TRUE(pc.IsValid()); in TEST()
174 EXPECT_TRUE(pc.IsValid()); in TEST()
184 EXPECT_TRUE(pc.IsValid()); in TEST()
196 EXPECT_TRUE(pc.IsValid()); in TEST()
207 EXPECT_TRUE(pc.IsValid()); in TEST()
215 EXPECT_TRUE(pc.IsValid()); in TEST()
223 EXPECT_TRUE(pc.IsValid()); in TEST()
233 EXPECT_TRUE(pc.IsValid()); in TEST()
246 EXPECT_TRUE(pc.IsValid()); in TEST()
[all …]

123456