Home
last modified time | relevance | path

Searched refs:is_valid (Results 1 – 25 of 951) sorted by relevance

12345678910>>...39

/external/chromium_org/chrome/installer/util/
Dinstallation_validator.cc174 bool* is_valid) { in ValidateAppCommandFlags() argument
196 *is_valid = false; in ValidateAppCommandFlags()
208 bool* is_valid) { in ValidateOnOsUpgradeCommand() argument
209 DCHECK(is_valid); in ValidateOnOsUpgradeCommand()
214 ValidateSetupPath(ctx, cmd_line.GetProgram(), name, is_valid); in ValidateOnOsUpgradeCommand()
226 ValidateCommandExpectations(ctx, cmd_line, expected, name, is_valid); in ValidateOnOsUpgradeCommand()
230 ValidateAppCommandFlags(ctx, app_cmd, flags_exp, name, is_valid); in ValidateOnOsUpgradeCommand()
237 bool* is_valid) { in ValidateQueryEULAAcceptanceCommand() argument
238 DCHECK(is_valid); in ValidateQueryEULAAcceptanceCommand()
243 ValidateSetupPath(ctx, cmd_line.GetProgram(), name, is_valid); in ValidateQueryEULAAcceptanceCommand()
[all …]
Dinstallation_validator.h96 bool* is_valid);
194 bool* is_valid);
197 bool* is_valid);
200 bool* is_valid);
204 bool* is_valid);
209 bool* is_valid);
211 bool* is_valid);
215 bool* is_valid);
219 bool* is_valid);
224 bool* is_valid);
[all …]
/external/chromium_org/storage/browser/fileapi/
Dfile_system_usage_cache.cc51 bool is_valid = true; in GetUsage() local
54 if (!Read(usage_file_path, &is_valid, &dirty, &usage)) in GetUsage()
65 bool is_valid = true; in GetDirty() local
68 if (!Read(usage_file_path, &is_valid, &dirty, &usage)) in GetDirty()
78 bool is_valid = true; in IncrementDirty() local
82 if (!Read(usage_file_path, &is_valid, &dirty, &usage)) in IncrementDirty()
85 bool success = Write(usage_file_path, is_valid, dirty + 1, usage); in IncrementDirty()
95 bool is_valid = true; in DecrementDirty() local
98 if (!Read(usage_file_path, &is_valid, &dirty, &usage) || dirty <= 0) in DecrementDirty()
104 return Write(usage_file_path, is_valid, dirty - 1, usage); in DecrementDirty()
[all …]
/external/chromium_org/mojo/public/cpp/system/tests/
Dcore_unittest.cc33 EXPECT_FALSE(h0.is_valid()); in TEST()
38 EXPECT_TRUE(h1.is_valid()); in TEST()
41 EXPECT_TRUE(h1.is_valid()); in TEST()
45 EXPECT_TRUE(h0.is_valid()); in TEST()
46 EXPECT_FALSE(h1.is_valid()); in TEST()
51 EXPECT_TRUE(h0.is_valid()); in TEST()
53 EXPECT_TRUE(h1.is_valid()); in TEST()
114 EXPECT_FALSE(MakeScopedHandle(Handle()).is_valid()); in TEST()
115 EXPECT_FALSE(MakeScopedHandle(MessagePipeHandle()).is_valid()); in TEST()
116 EXPECT_FALSE(MakeScopedHandle(DataPipeProducerHandle()).is_valid()); in TEST()
[all …]
/external/chromium_org/mojo/common/test/
Dmultiprocess_test_helper_unittest.cc47 EXPECT_TRUE(helper.server_platform_handle.is_valid()); in TEST_F()
54 CHECK(MultiprocessTestHelper::client_platform_handle.is_valid()); in MOJO_MULTIPROCESS_TEST_CHILD_MAIN()
67 EXPECT_TRUE(helper.server_platform_handle.is_valid()); in TEST_F()
90 CHECK(MultiprocessTestHelper::client_platform_handle.is_valid()); in MOJO_MULTIPROCESS_TEST_CHILD_MAIN()
114 EXPECT_TRUE(helper.server_platform_handle.is_valid()); in TEST_F()
120 ASSERT_TRUE(MultiprocessTestHelper::client_platform_handle.is_valid()); in MOJO_MULTIPROCESS_TEST_CHILD_TEST()
127 EXPECT_TRUE(helper.server_platform_handle.is_valid()); in TEST_F()
133 ASSERT_FALSE(MultiprocessTestHelper::client_platform_handle.is_valid()) in MOJO_MULTIPROCESS_TEST_CHILD_TEST()
142 EXPECT_TRUE(helper.server_platform_handle.is_valid()); in TEST_F()
148 EXPECT_FALSE(MultiprocessTestHelper::client_platform_handle.is_valid()) in MOJO_MULTIPROCESS_TEST_CHILD_TEST()
/external/chromium_org/net/quic/crypto/
Dlocal_strike_register_client_test.cc93 bool is_valid = false; in TEST_F() local
99 new RecordResultCallback(&called, &is_valid, &nonce_error)); in TEST_F()
101 EXPECT_FALSE(is_valid); in TEST_F()
108 bool is_valid = false; in TEST_F() local
115 new RecordResultCallback(&called, &is_valid, &nonce_error)); in TEST_F()
117 EXPECT_FALSE(is_valid); in TEST_F()
124 bool is_valid = false; in TEST_F() local
129 new RecordResultCallback(&called, &is_valid, &nonce_error)); in TEST_F()
131 EXPECT_TRUE(is_valid); in TEST_F()
/external/chromium_org/chrome/browser/autocomplete/
Dautocomplete_browsertest.cc82 EXPECT_FALSE(location_bar->GetDestinationURL().is_valid()); in IN_PROC_BROWSER_TEST_F()
89 EXPECT_FALSE(location_bar->GetDestinationURL().is_valid()); in IN_PROC_BROWSER_TEST_F()
95 EXPECT_FALSE(location_bar->GetDestinationURL().is_valid()); in IN_PROC_BROWSER_TEST_F()
101 EXPECT_FALSE(location_bar->GetDestinationURL().is_valid()); in IN_PROC_BROWSER_TEST_F()
108 EXPECT_FALSE(location_bar->GetDestinationURL().is_valid()); in IN_PROC_BROWSER_TEST_F()
147 EXPECT_FALSE(location_bar->GetDestinationURL().is_valid()); in IN_PROC_BROWSER_TEST_F()
159 EXPECT_FALSE(location_bar->GetDestinationURL().is_valid()); in IN_PROC_BROWSER_TEST_F()
208 EXPECT_FALSE(location_bar->GetDestinationURL().is_valid()); in IN_PROC_BROWSER_TEST_F()
212 EXPECT_FALSE(location_bar->GetDestinationURL().is_valid()); in IN_PROC_BROWSER_TEST_F()
224 EXPECT_FALSE(location_bar->GetDestinationURL().is_valid()); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/common/
Dchrome_version_info.cc19 if (!is_valid()) in ProductNameAndVersionForUserAgent()
37 bool VersionInfo::is_valid() const { in is_valid() function in chrome::VersionInfo
42 if (!is_valid()) in Name()
48 if (!is_valid()) in Version()
54 if (!is_valid()) in LastChange()
60 if (!is_valid()) in IsOfficialBuild()
77 bool VersionInfo::is_valid() const { in is_valid() function in chrome::VersionInfo
101 if (is_valid()) { in CreateVersionString()
/external/chromium_org/storage/browser/fileapi/quota/
Dquota_reservation_manager.cc28 DCHECK(origin.is_valid()); in ReserveQuota()
36 DCHECK(origin.is_valid()); in ReleaseReservedQuota()
44 DCHECK(origin.is_valid()); in CommitQuotaUsage()
50 DCHECK(origin.is_valid()); in IncrementDirtyCount()
56 DCHECK(origin.is_valid()); in DecrementDirtyCount()
65 DCHECK(origin.is_valid()); in GetReservationBuffer()
87 DCHECK(origin.is_valid()); in CreateReservation()
Dquota_backend_impl.cc41 DCHECK(origin.is_valid()); in ReserveQuota()
61 DCHECK(origin.is_valid()); in ReleaseReservedQuota()
72 DCHECK(origin.is_valid()); in CommitQuotaUsage()
86 DCHECK(origin.is_valid()); in IncrementDirtyCount()
97 DCHECK(origin.is_valid()); in DecrementDirtyCount()
112 DCHECK(info.origin.is_valid()); in DidGetUsageAndQuotaForReserveQuota()
141 DCHECK(info.origin.is_valid()); in ReserveQuotaInternal()
155 DCHECK(origin.is_valid()); in GetUsageCachePath()
/external/chromium_org/content/browser/fileapi/
Dfile_system_url_unittest.cc48 ASSERT_TRUE(url.is_valid()); in TEST()
58 ASSERT_TRUE(url.is_valid()); in TEST()
68 ASSERT_TRUE(url.is_valid()); in TEST()
77 EXPECT_FALSE(CreateFileSystemURL("http://chromium.org/").is_valid()); in TEST()
78 EXPECT_FALSE(CreateFileSystemURL("https://chromium.org/").is_valid()); in TEST()
79 EXPECT_FALSE(CreateFileSystemURL("file:///foo/bar").is_valid()); in TEST()
80 EXPECT_FALSE(CreateFileSystemURL("foobar:///foo/bar").is_valid()); in TEST()
86 ASSERT_TRUE(url.is_valid()); in TEST()
93 "filesystem:http://c.org/foobar/file").is_valid()); in TEST()
95 "filesystem:http://c.org/temporaryfoo/file").is_valid()); in TEST()
[all …]
/external/lldb/examples/summaries/cocoa/
Dobjc_runtime.py96 if class_data.is_valid() == 0:
101 if class_data.is_valid() == 0:
149 def is_valid(self): member in RoT_Data
154 if self.is_valid() == 0:
198 def is_valid(self): member in RwT_Data
201 return self.data.is_valid()
271 if self.is_valid():
282 if self.is_valid():
287 if self.is_valid():
297 if self.is_valid():
[all …]
/external/chromium_org/sql/
Dstatement.cc51 return is_valid(); in CheckValid()
75 if (is_valid()) { in Reset()
89 if (!is_valid()) in Succeeded()
97 if (!is_valid()) in BindNull()
109 if (!is_valid()) in BindInt()
117 if (!is_valid()) in BindInt64()
125 if (!is_valid()) in BindDouble()
133 if (!is_valid()) in BindCString()
142 if (!is_valid()) in BindString()
158 if (!is_valid()) in BindBlob()
[all …]
/external/chromium_org/chrome/browser/chromeos/
Dproxy_cros_settings_parser.cc59 return proxy.server.is_valid() ? in CreateServerHostValue()
65 return proxy.server.is_valid() in CreateServerPortValue()
79 if (url.is_valid()) // See if host is URL. in CreateProxyServer()
95 if (proxy.server.is_valid()) in CreateProxyServerFromHost()
105 if (proxy.server.is_valid()) in CreateProxyServerFromPort()
134 if (url.is_valid()) in SetProxyPrefValue()
183 if (config.automatic_proxy.pac_url.is_valid()) in SetProxyPrefValue()
188 if (config.single_proxy.server.is_valid()) { in SetProxyPrefValue()
192 if (config.http_proxy.server.is_valid()) { in SetProxyPrefValue()
196 if (config.https_proxy.server.is_valid()) { in SetProxyPrefValue()
[all …]
/external/chromium_org/mojo/system/
Dplatform_handle_dispatcher_unittest.cc37 ASSERT_TRUE(h.is_valid()); in TEST()
41 EXPECT_FALSE(h.is_valid()); in TEST()
45 EXPECT_TRUE(h.is_valid()); in TEST()
48 EXPECT_FALSE(h.is_valid()); in TEST()
59 EXPECT_FALSE(h.is_valid()); in TEST()
81 EXPECT_TRUE(transport.is_valid()); in TEST()
Doptions_validation_unittest.cc36 EXPECT_TRUE(reader.is_valid()); in TEST()
45 EXPECT_TRUE(reader.is_valid()); in TEST()
55 EXPECT_TRUE(reader.is_valid()); in TEST()
65 EXPECT_TRUE(reader.is_valid()); in TEST()
75 EXPECT_TRUE(reader.is_valid()); in TEST()
87 EXPECT_FALSE(reader.is_valid()) << i; in TEST()
/external/chromium_org/url/
Durl_canon_stdurl.cc28 if (parsed.username.is_valid() || parsed.password.is_valid() || in DoCanonicalizeStandardURL()
29 parsed.host.is_nonempty() || parsed.port.is_valid()) { in DoCanonicalizeStandardURL()
33 if (parsed.scheme.is_valid()) { in DoCanonicalizeStandardURL()
68 if (parsed.path.is_valid()) { in DoCanonicalizeStandardURL()
72 parsed.query.is_valid() || parsed.ref.is_valid()) { in DoCanonicalizeStandardURL()
/external/chromium_org/chrome/browser/ui/aura/tab_contents/
Dweb_drag_bookmark_handler_aura.cc37 if (bookmark_drag_data_.is_valid()) in OnDragOver()
54 if (bookmark_drag_data_.is_valid()) in OnDragEnter()
63 if (bookmark_drag_data_.is_valid()) { in OnDrop()
80 if (bookmark_drag_data_.is_valid()) in OnDragLeave()
/external/chromium_org/third_party/skia/src/core/
DSkMallocPixelRef.cpp18 static bool is_valid(const SkImageInfo& info, SkColorTable* ctable) { in is_valid() function
44 if (!is_valid(info, ctable)) { in NewDirect()
55 if (!is_valid(info, ctable)) { in NewAllocate()
97 if (!is_valid(info, ctable)) { in NewWithProc()
113 if (!is_valid(info, ctable)) { in NewWithData()
141 SkASSERT(is_valid(info, ctable)); in SkMallocPixelRef()
164 SkASSERT(is_valid(info, ctable)); in SkMallocPixelRef()
/external/chromium_org/components/url_fixer/
Durl_fixer.cc182 if (file_url.is_valid()) { in FixupPath()
238 if (!part.is_valid()) in FixupUsername()
250 if (!part.is_valid()) in FixupPassword()
263 if (!part.is_valid()) in FixupHost()
290 if (!part.is_valid()) in FixupPort()
301 if (!part.is_valid() || part.len == 0) { in FixupPath()
314 if (!part.is_valid()) in FixupQuery()
325 if (!part.is_valid()) in FixupRef()
460 if (parts->scheme.is_valid()) { in SegmentURLInternal()
539 return GURL(parts.scheme.is_valid() ? text : FixupPath(text)); in FixupURL()
[all …]
/external/chromium_org/v8/test/cctest/
Dtest-conversions.cc319 CHECK(!OneBit1::is_valid(static_cast<uint32_t>(-1))); in TEST()
320 CHECK(!OneBit2::is_valid(static_cast<uint32_t>(-1))); in TEST()
322 CHECK(OneBit1::is_valid(i)); in TEST()
326 CHECK(OneBit2::is_valid(i)); in TEST()
330 CHECK(!OneBit1::is_valid(2)); in TEST()
331 CHECK(!OneBit2::is_valid(2)); in TEST()
334 CHECK(!EightBit1::is_valid(static_cast<uint32_t>(-1))); in TEST()
335 CHECK(!EightBit2::is_valid(static_cast<uint32_t>(-1))); in TEST()
337 CHECK(EightBit1::is_valid(i)); in TEST()
340 CHECK(EightBit2::is_valid(i)); in TEST()
[all …]
/external/chromium_org/remoting/protocol/
Dnegotiating_host_authenticator.cc76 if (current_method_.is_valid() && method != current_method_) { in ProcessMessage()
86 if (!method.is_valid() || in ProcessMessage()
108 if (list_value.is_valid() && in ProcessMessage()
117 if (!method.is_valid()) { in ProcessMessage()
136 if (!current_method_.is_valid()) { in ProcessMessage()
158 DCHECK(current_method_.is_valid()); in CreateAuthenticator()
/external/skia/src/core/
DSkMallocPixelRef.cpp18 static bool is_valid(const SkImageInfo& info, SkColorTable* ctable) { in is_valid() function
45 if (!is_valid(info, ctable)) { in NewDirect()
56 if (!is_valid(info, ctable)) { in NewAllocate()
98 if (!is_valid(info, ctable)) { in NewWithProc()
114 if (!is_valid(info, ctable)) { in NewWithData()
142 SkASSERT(is_valid(info, ctable)); in SkMallocPixelRef()
165 SkASSERT(is_valid(info, ctable)); in SkMallocPixelRef()
/external/chromium_org/google_apis/gcm/engine/
Dconnection_factory_impl_unittest.cc325 EXPECT_FALSE(connected_server().is_valid()); in TEST_F()
335 EXPECT_TRUE(connected_server().is_valid()); in TEST_F()
346 EXPECT_FALSE(connected_server().is_valid()); in TEST_F()
356 EXPECT_FALSE(connected_server().is_valid()); in TEST_F()
364 EXPECT_TRUE(connected_server().is_valid()); in TEST_F()
378 EXPECT_FALSE(connected_server().is_valid()); in TEST_F()
388 EXPECT_TRUE(connected_server().is_valid()); in TEST_F()
422 EXPECT_TRUE(connected_server().is_valid()); in TEST_F()
427 EXPECT_FALSE(connected_server().is_valid()); in TEST_F()
430 EXPECT_TRUE(connected_server().is_valid()); in TEST_F()
[all …]
/external/chromium_org/v8/src/
Dsafepoint-table.h23 DCHECK(is_valid()); in SafepointEntry()
26 bool is_valid() const { return bits_ != NULL; } in is_valid() function
38 DCHECK(is_valid()); in deoptimization_index()
58 DCHECK(is_valid()); in argument_count()
63 DCHECK(is_valid()); in has_doubles()
68 DCHECK(is_valid()); in bits()

12345678910>>...39