Searched defs:exists (Results 1 - 25 of 155) sorted by path

1234567

/external/bzip2/
H A Dbzip2.c696 /* Check whether input file still exists. Delete output file
697 only if input exists to avoid loss of data. Joerg Prante, 5
705 "%s: Deleting output file %s, if it exists.\n",
720 "%s: since input file no longer exists. Output file\n",
943 Bool exists = (tmp != NULL); local
945 return exists;
1205 fprintf ( stderr, "%s: Output file %s already exists.\n",
1391 fprintf ( stderr, "%s: Output file %s already exists.\n",
/external/chromium_org/cc/resources/
H A Dpicture_layer_tiling_unittest.cc1241 static void TileExists(bool exists, Tile* tile, argument
1243 EXPECT_EQ(exists, tile != NULL) << geometry_rect.ToString();
/external/chromium_org/chrome/browser/chromeos/
H A Dcustomization_document.cc144 void CheckWallpaperCacheExists(const base::FilePath& path, bool* exists) { argument
146 DCHECK(exists);
147 *exists = base::PathExists(path);
743 // If version exists, profile has cached version of customization.
858 scoped_ptr<bool> exists(new bool(false));
863 base::Unretained(exists.get()));
867 base::Passed(exists.Pass()),
871 LOG(WARNING) << "Failed to start check Wallpaper cache exists.";
876 scoped_ptr<bool> exists,
879 DCHECK(exists);
875 OnCheckedWallpaperCacheExists( scoped_ptr<bool> exists, scoped_ptr<ServicesCustomizationDocument::ApplyingTask> applying) argument
[all...]
/external/chromium_org/chrome/browser/chromeos/login/supervised/
H A Dsupervised_user_creation_screen.cc45 // Key for (boolean) value that indicates that user already exists on device.
46 const char kUserExists[] = "exists";
253 bool exists; local
262 user_info->GetBoolean(kUserExists, &exists);
265 if (exists) {
317 bool exists; local
322 user_info->GetBoolean(kUserExists, &exists);
325 if (exists) {
/external/chromium_org/chrome/browser/chromeos/system/
H A Ddevice_change_handler.cc28 void DeviceChangeHandler::TouchpadExists(bool exists) { argument
29 if (!exists)
36 void DeviceChangeHandler::MouseExists(bool exists) { argument
37 if (!exists)
H A Dinput_device_settings.cc47 // Executes the input control script asynchronously, if it exists.
97 scoped_refptr<RefCountedBool> exists) {
99 exists->data = false;
109 exists->data = base::GetAppOutput(CommandLine(argv), &output) &&
111 DVLOG(1) << "DeviceExistsBlockingPool:" << device_type << "=" << exists->data;
115 scoped_refptr<RefCountedBool> exists,
118 DVLOG(1) << "RunCallbackUIThread " << exists->data;
119 callback.Run(exists->data);
129 scoped_refptr<RefCountedBool> exists(new RefCountedBool(false));
135 base::Bind(&DeviceExistsBlockingPool, script, exists),
96 DeviceExistsBlockingPool(const char* device_type, scoped_refptr<RefCountedBool> exists) argument
114 RunCallbackUIThread( scoped_refptr<RefCountedBool> exists, const InputDeviceSettings::DeviceExistsCallback& callback) argument
[all...]
H A Dpointer_device_observer.cc69 void PointerDeviceObserver::OnTouchpadExists(bool exists) { argument
70 FOR_EACH_OBSERVER(Observer, observers_, TouchpadExists(exists));
73 void PointerDeviceObserver::OnMouseExists(bool exists) { argument
74 FOR_EACH_OBSERVER(Observer, observers_, MouseExists(exists));
/external/chromium_org/chrome/browser/extensions/updater/
H A Dlocal_extension_cache.cc194 const bool exists = local
198 if (first_check && !exists && !base::SysInfo::IsRunningOnChromeOS()) {
201 << " exists.";
210 exists,
264 // Start by verifying that the cache_dir exists.
379 LOG(ERROR) << "File already exists " << file_path.value();
/external/chromium_org/chrome/browser/prerender/
H A Dprerender_tracker.cc183 bool exists = (prerender_cookie_store_map_.find(process_id) != local
185 DCHECK(!exists);
186 if (exists)
/external/chromium_org/chrome/browser/supervised_user/experimental/
H A Dsupervised_user_blacklist_downloader.cc72 void SupervisedUserBlacklistDownloader::OnFileExistsCheckDone(bool exists) { argument
73 if (exists) {
/external/chromium_org/chrome/browser/ui/webui/extensions/
H A Dextension_icon_source.cc80 bool* exists) {
81 if (exists) {
82 *exists =
76 GetIconURL(const Extension* extension, int icon_size, ExtensionIconSet::MatchType match, bool grayscale, bool* exists) argument
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dbrowser_options_handler.cc1450 void BrowserOptionsHandler::TouchpadExists(bool exists) { argument
1451 base::FundamentalValue val(exists);
1455 void BrowserOptionsHandler::MouseExists(bool exists) { argument
1456 base::FundamentalValue val(exists);
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
H A Dpointer_handler.cc58 void PointerHandler::TouchpadExists(bool exists) { argument
59 has_touchpad_ = exists;
60 base::FundamentalValue val(exists);
65 void PointerHandler::MouseExists(bool exists) { argument
66 has_mouse_ = exists;
67 base::FundamentalValue val(exists);
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dfile_system_test.py103 def exists(path): function in function:FileSystemTest.testExists
107 self.assertTrue(exists(''))
110 self.assertFalse(exists('templates'))
111 self.assertTrue(exists('templates/'))
112 self.assertFalse(exists('templates/public'))
113 self.assertTrue(exists('templates/public/'))
114 self.assertFalse(exists('templates/public/apps'))
115 self.assertTrue(exists('templates/public/apps/'))
118 self.assertTrue(exists('file.txt'))
119 self.assertFalse(exists('fil
[all...]
/external/chromium_org/content/browser/dom_storage/
H A Dsession_storage_database.cc123 bool exists; local
124 if (GetMapForArea(namespace_id, origin.spec(), options, &exists, &map_id) &&
125 exists)
149 bool exists; local
151 &exists, &map_id))
153 if (exists) {
374 // The directory exists but a valid leveldb database might not exist inside it
483 bool exists; local
484 if (!GetMapForArea(namespace_id, origin, leveldb::ReadOptions(), &exists,
487 if (!exists)
515 GetMapForArea(const std::string& namespace_id, const std::string& origin, const leveldb::ReadOptions& options, bool* exists, std::string* map_id) argument
[all...]
H A Dsession_storage_database_unittest.cc227 // Check that the corresponding "namespace-<namespaceid>-" key exists. It
369 bool exists; local
372 leveldb::ReadOptions(), &exists, &map_id));
373 EXPECT_TRUE(exists);
/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_backing_store.cc375 // If a blob directory already exists for this database, blow it away. It's
2882 bool* exists) {
2887 leveldb::Status s = transaction->Get(key, &data, exists);
2892 if (!*exists)
2899 *exists = (decoded == version);
2942 bool exists = false; local
2948 &exists);
2951 if (!exists) {
3007 bool* exists) {
3012 *exists
2877 VersionExists(LevelDBTransaction* transaction, int64 database_id, int64 object_store_id, int64 version, const std::string& encoded_primary_key, bool* exists) argument
3000 KeyExistsInIndex( IndexedDBBackingStore::Transaction* transaction, int64 database_id, int64 object_store_id, int64 index_id, const IndexedDBKey& index_key, scoped_ptr<IndexedDBKey>* found_primary_key, bool* exists) argument
[all...]
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
H A DMediaResourceGetterTest.java60 public FakeFile(String path, boolean exists) { argument
62 mExists = exists;
88 public boolean exists() { method in class:MediaResourceGetterTest.FakeFile
173 // File.exists() on arbitrary paths.
/external/chromium_org/net/http/
H A Dhttp_auth_cache_unittest.cc276 // Calling Add when the realm entry already exists, should append that
555 void CheckRealmExistence(int realm_i, bool exists) { argument
559 if (exists) {
567 void CheckPathExistence(int realm_i, int path_i, bool exists) { argument
570 if (exists) {
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/lib/
H A Ddojo-1.6.1.js57 // 'dojo' variable exists.
467 dojo.exists = function(/*String*/name, /*Object?*/obj){
485 // | dojo.exists("foo.bar"); // true
486 // | dojo.exists("foo.bar.baz"); // false
489 // | dojo.exists("bar", foo); // true
490 // | dojo.exists("bar.baz", foo); // false
1004 // object for the module exists. For example,
1008 // javascript object exists, so that calls like
5088 // only works if kp exists and is a dispatcher
5318 // Check if a node exists, an
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DCollapsedBorderValue.h56 bool exists() const { return m_precedence != BOFF; } function in class:blink::CollapsedBorderValue
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/
H A Dbaselineoptimizer_unittest.py42 def exists(self, path): member in class:ExcludingMockSCM
45 return MockSCM.exists(self, path)
124 self.assertTrue(not fs.exists(path) or path in baseline_optimizer._files_to_delete)
132 self.assertTrue(not fs.exists(path) or path in baseline_optimizer._files_to_delete)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/
H A Dgit.py100 return self._filesystem.exists(self.absolute_path(self._filesystem.join('.git', 'rebase-apply')))
129 def exists(self, path): member in class:Git
226 if self._filesystem.exists(order_file):
263 # Use references so that we can avoid collisions, e.g. we don't want to operate on refs/heads/trunk if it exists.
H A Dscm.py104 def exists(self, path): member in class:SCM
H A Dscm_mock.py71 def exists(self, path): member in class:MockSCM
104 if self._filesystem.exists(path):

Completed in 602 milliseconds

1234567