Home
last modified time | relevance | path

Searched refs:backup (Results 1 – 25 of 160) sorted by relevance

1234567

/external/chromium_org/third_party/sqlite/src/test/
Dbackup.test14 # $Id: backup.test,v 1.11 2009/06/05 17:09:12 drh Exp $
24 # backup-1.*: Warm-body tests.
26 # backup-2.*: Test backup under various conditions. To and from in-memory
29 # backup-3.*: Verify that the locking-page (pending byte page) is handled.
31 # backup-4.*: Test various error conditions.
33 # backup-5.*: Test the source database being modified during a backup.
35 # backup-6.*: Test the backup_remaining() and backup_pagecount() APIs.
37 # backup-7.*: Test SQLITE_BUSY and SQLITE_LOCKED errors.
39 # backup-8.*: Test multiple simultaneous backup operations.
41 # backup-9.*: Test that passing a negative argument to backup_step() is
[all …]
Dbackup2.test12 # focus of this file is testing the "backup" and "restore" methods
60 # Make a backup of the test data. Verify that the backup copy
65 db backup bu1.db
70 # Delete the original. Restore from backup. Verify the content is
100 db backup temp bu2.db
105 # Try to backup to a readonly file.
111 set rc [catch {db backup temp bu2.db} res]
113 } {1 {backup failed: attempt to write a readonly database}}
115 # Try to backup to something that is not a database file.
123 set rc [catch {db backup temp bu2.db} res]
[all …]
Dbackup_ioerr.test82 # 2) Open a backup process. Set the cache-size for the destination
85 # 3) Step the backup process N times to partially backup the database
86 # file. If an IO error is reported, then the backup process is
106 # write operation should report an IO error. The backup should
109 # * If an IO error occurs while updating the backup, the write
114 # 5) Step the backup process to finish the backup. If an IO error is
115 # reported, then the backup process is concluded with a call to
119 # the backup database during step 4, then the conditions listed
122 # 6) Finish the backup process.
124 # * If the backup succeeds (backup_finish() returns SQLITE_OK), then
[all …]
Dbackup_malloc.test42 # Create a backup object.
49 # Run the backup process some.
60 # Finish doing the backup.
67 # Finalize the backup.
Dautovacuum_ioerr2.test78 file delete -force backup.db
81 if {![file exists backup.db]} {
82 sqlite3 dbb backup.db
104 copy_file backup.db test.db
Dwalbak.test30 # walback-2.*: Test backups when the source db is modified mid-backup.
36 # Make sure a simple backup from a WAL database works.
52 db backup bak.db
100 # Backups when the source db is modified mid-backup.
127 db backup abc.db
192 # Run some backup operations to copy back and forth between WAL and:
/external/chromium_org/chrome/installer/util/
Dmove_tree_work_item.cc51 base::FilePath backup = backup_path_.path().Append(dest_path_.BaseName()); in Do() local
58 if (base::Move(source_path_, backup)) { in Do()
61 << " to backup path " << backup.value(); in Do()
67 << " to backup path " << backup.value() in Do()
77 if (base::Move(dest_path_, backup)) { in Do()
80 << " to backup path " << backup.value(); in Do()
83 << " to " << backup.value(); in Do()
107 base::FilePath backup = backup_path_.path().Append(dest_path_.BaseName()); in Rollback() local
108 if (moved_to_backup_ && !base::Move(backup, dest_path_)) { in Rollback()
109 LOG(ERROR) << "failed move " << backup.value() in Rollback()
[all …]
Dregistry_key_backup_unittest.cc34 RegistryKeyBackup backup; in TEST_F() local
36 EXPECT_TRUE(backup.WriteTo(test_data_.root_key(), in TEST_F()
47 RegistryKeyBackup backup; in TEST_F() local
49 EXPECT_TRUE(backup.Initialize(test_data_.root_key(), in TEST_F()
52 EXPECT_TRUE(backup.WriteTo(test_data_.root_key(), in TEST_F()
61 RegistryKeyBackup backup; in TEST_F() local
63 EXPECT_TRUE(backup.Initialize(test_data_.root_key(), in TEST_F()
66 EXPECT_TRUE(backup.WriteTo(test_data_.root_key(), in TEST_F()
76 RegistryKeyBackup backup; in TEST_F() local
79 EXPECT_TRUE(backup.Initialize(test_data_.root_key(), in TEST_F()
[all …]
Ddelete_tree_work_item.cc60 base::ScopedTempDir& backup = key_backup_paths_[i]; in Do() local
62 if (!backup.CreateUniqueTempDirUnderPath(temp_path_)) { in Do()
66 backup.path().Append(key_file.BaseName()))) { in Do()
68 << " to directory " << backup.path().value(); in Do()
70 backup.Delete(); in Do()
118 base::FilePath backup = in Do() local
120 if (!base::CopyDirectory(root_path_, backup, true)) { in Do()
122 << " to backup path " << backup.value(); in Do()
145 base::FilePath backup = backup_path_.path().Append(root_path_.BaseName()); in Rollback() local
146 if (base::PathExists(backup)) in Rollback()
[all …]
Dcopy_tree_work_item.cc80 base::FilePath backup = backup_path_.path().Append(dest_path_.BaseName()); in Do() local
81 if (base::Move(dest_path_, backup)) { in Do()
84 " to backup path " << backup.value(); in Do()
87 << " to " << backup.value(); in Do()
116 base::FilePath backup(backup_path_.path().Append(dest_path_.BaseName())); in Rollback() local
117 if (!base::Move(backup, dest_path_)) { in Rollback()
118 LOG(ERROR) << "failed move " << backup.value() in Rollback()
Ddelete_reg_key_work_item.cc36 RegistryKeyBackup backup; in Do() local
40 if (!backup.Initialize(predefined_root_, path_.c_str(), wow64_access_)) { in Do()
53 backup_.swap(backup); in Do()
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DWebSocketExtensionParser.cpp72 ParserStateBackup backup(this); in consumeToken() local
79 backup.dispose(); in consumeToken()
87 ParserStateBackup backup(this); in consumeQuotedString() local
108 backup.dispose(); in consumeQuotedString()
121 ParserStateBackup backup(this); in consumeCharacter() local
125 backup.dispose(); in consumeCharacter()
133 ParserStateBackup backup(this); in parseExtension() local
159 backup.dispose(); in parseExtension()
/external/javassist/sample/duplicate/
DDuplicatedObject.java6 private DuplicatedObject backup; field in DuplicatedObject
15 backup = null; // self is a backup object. in DuplicatedObject()
21 backup = (DuplicatedObject)m._getMetaobject(); in DuplicatedObject()
24 backup = null; in DuplicatedObject()
33 if (backup != null) in trapMethodcall()
34 backup.trapMethodcall(identifier, args); in trapMethodcall()
/external/e2fsprogs/lib/blkid/
Dsave.c140 char *backup; in blkid_flush_cache() local
142 backup = malloc(strlen(filename) + 5); in blkid_flush_cache()
143 if (backup) { in blkid_flush_cache()
144 sprintf(backup, "%s.old", filename); in blkid_flush_cache()
145 unlink(backup); in blkid_flush_cache()
146 link(filename, backup); in blkid_flush_cache()
147 free(backup); in blkid_flush_cache()
/external/chromium_org/v8/test/mjsunit/regress/
Dregress-351624.js8 var backup = new Float64Array(1); variable
12 backup[0] = prod;
14 assertEquals(prod, backup[0]);
/external/fsck_msdos/
Dboot.c57 u_char backup[DOSBOOTBLOCKSIZE]; local
177 || read(dosfs, backup, sizeof backup) != sizeof backup) {
181 backup[65] = block[65]; /* XXX */
182 if (memcmp(block + 11, backup + 11, 79)) {
207 snprintf(tmp2, sizeof(tmp2), "%.2x ", backup[11 + i]);
/external/chromium_org/sql/
Drecovery.cc264 sqlite3_backup* backup = sqlite3_backup_init(db_->db_, kMain, in Backup() local
266 if (!backup) { in Backup()
279 int rc = sqlite3_backup_step(backup, -1); in Backup()
280 int pages = sqlite3_backup_pagecount(backup); in Backup()
285 sqlite3_backup_finish(backup); in Backup()
/external/e2fsprogs/doc/
DMakefile.in64 clean-all:: clean-tex clean-backup clean-final clean-tarfiles clean-html
74 .PHONY: clean-backup
75 clean-backup::
/external/libcxx/test/re/re.alg/re.alg.search/
DAndroid.mk51 test_name := re/re.alg/re.alg.search/backup
52 test_src := backup.pass.cpp
/external/e2fsprogs/tests/f_preen/
Dname1 preen shouldn't destroy backup superblocks
/external/e2fsprogs/tests/f_badjourblks/
Dname1 Illegal blocks in journal inode (and backup in superblock)
/external/antlr/antlr-3.4/runtime/Perl5/
DMANIFEST.SKIP8 # temporary and backup files
/external/chromium_org/ui/views/ime/
DOWNERS4 # backup reviewers.
/external/chromium_org/chrome/browser/extensions/api/input_ime/
DOWNERS4 # backup reviewer
/external/chromium_org/ash/ime/
DOWNERS4 # backup reviewers

1234567