Searched defs:backup (Results 1 - 25 of 44) sorted by relevance

12

/external/chromium_org/chrome/installer/util/
H A Dmove_tree_work_item.cc42 // attempt to backup dest_path_ and replace it with src_path_. This will
45 // Generate a backup path that can keep the original files under dest_path_.
47 PLOG(ERROR) << "Failed to get backup path in folder "
51 base::FilePath backup = backup_path_.path().Append(dest_path_.BaseName()); local
57 // source files to the temp folder as backup.
58 if (base::Move(source_path_, backup)) {
61 << " to backup path " << backup.value();
64 // We failed to move the source tree to the backup path. This is odd
66 LOG(ERROR) << "Failed to backup sourc
107 base::FilePath backup = backup_path_.path().Append(dest_path_.BaseName()); local
[all...]
H A Dregistry_key_backup_unittest.cc32 // Test that writing an uninitialized backup does nothing.
34 RegistryKeyBackup backup; local
36 EXPECT_TRUE(backup.WriteTo(test_data_.root_key(),
43 // Test that initializing a backup with a non-existent key works, and that
47 RegistryKeyBackup backup; local
49 EXPECT_TRUE(backup.Initialize(test_data_.root_key(),
52 EXPECT_TRUE(backup.WriteTo(test_data_.root_key(),
61 RegistryKeyBackup backup; local
63 EXPECT_TRUE(backup.Initialize(test_data_.root_key(),
66 EXPECT_TRUE(backup
76 RegistryKeyBackup backup; local
[all...]
H A Dcopy_tree_work_item.cc72 // In all cases that reach here, move dest to a backup path.
75 PLOG(ERROR) << "Failed to get backup path in folder "
80 base::FilePath backup = backup_path_.path().Append(dest_path_.BaseName()); local
81 if (base::Move(dest_path_, backup)) {
84 " to backup path " << backup.value();
87 << " to " << backup.value();
116 base::FilePath backup(backup_path_.path().Append(dest_path_.BaseName()));
117 if (!base::Move(backup, dest_path_)) {
118 LOG(ERROR) << "failed move " << backup
[all...]
H A Ddelete_tree_work_item.cc60 base::ScopedTempDir& backup = key_backup_paths_[i]; local
62 if (!backup.CreateUniqueTempDirUnderPath(temp_path_)) {
66 backup.path().Append(key_file.BaseName()))) {
68 << " to directory " << backup.path().value();
70 backup.Delete();
114 PLOG(ERROR) << "Failed to get backup path in folder "
118 base::FilePath backup = local
120 if (!base::CopyDirectory(root_path_, backup, true)) {
122 << " to backup path " << backup
145 base::FilePath backup = backup_path_.path().Append(root_path_.BaseName()); local
[all...]
/external/fsck_msdos/
H A Dboot.c57 u_char backup[DOSBOOTBLOCKSIZE]; local
177 || read(dosfs, backup, sizeof backup) != sizeof backup) {
178 perror("could not read backup bootblock");
181 backup[65] = block[65]; /* XXX */
182 if (memcmp(block + 11, backup + 11, 79)) {
189 * the backup either empty or containing garbage.
207 snprintf(tmp2, sizeof(tmp2), "%.2x ", backup[11 + i]);
212 /* Check backup FSInf
[all...]
/external/javassist/sample/duplicate/
H A DDuplicatedObject.java6 private DuplicatedObject backup; field in class:DuplicatedObject
15 backup = null; // self is a backup object.
21 backup = (DuplicatedObject)m._getMetaobject();
24 backup = null;
33 if (backup != null)
34 backup.trapMethodcall(identifier, args);
/external/javasqlite/src/main/java/SQLite/
H A DBackup.java4 * Class wrapping an SQLite backup object.
16 * Finish a backup.
41 * Perform a backup step.
43 * @param n number of pages to backup
44 * @return true when backup completed
56 * Perform the backup in one step.
59 public void backup() throws SQLite.Exception { method in class:Backup
78 * Return the total number of pages in the backup source database.
H A DDatabase.java597 * Initiate a database backup, SQLite 3.x only.
602 * @return Backup object to perform the backup operation
605 public Backup backup(Database dest, String destName, String srcName) method in class:Database
/external/e2fsprogs/lib/blkid/
H A Dsave.c140 char *backup; local
142 backup = malloc(strlen(filename) + 5);
143 if (backup) {
144 sprintf(backup, "%s.old", filename);
145 unlink(backup);
146 link(filename, backup);
147 free(backup);
/external/chromium_org/sql/
H A Drecovery.cc175 // is necessary for the final backup which rewrites things. It
238 // The documentation for the backup system indicate a relatively
257 // and attempt the backup again.
264 sqlite3_backup* backup = sqlite3_backup_init(db_->db_, kMain, local
266 if (!backup) {
279 int rc = sqlite3_backup_step(backup, -1);
280 int pages = sqlite3_backup_pagecount(backup);
285 sqlite3_backup_finish(backup);
H A Dconnection.cc74 // SQLite error code from running the backup step.
77 sqlite3_backup* backup = sqlite3_backup_init(dst, db_name, src, db_name); local
78 if (!backup) {
86 int rc = sqlite3_backup_step(backup, -1);
87 int pages = sqlite3_backup_pagecount(backup);
88 sqlite3_backup_finish(backup);
380 // size, then backup that database over the existing database.
426 // schema version in the resulting database, as SQLite's backup
/external/chromium_org/third_party/skia/src/images/
H A DSkMovie_gif.cpp302 SkBitmap* backup, SkColor color)
325 bm->swap(*backup);
333 uint32_t* dst = backup->getAddr32(0, 0);
370 // create bitmap for backup
301 disposeFrameIfNeeded(SkBitmap* bm, const SavedImage* cur, const SavedImage* next, SkBitmap* backup, SkColor color) argument
/external/skia/src/images/
H A DSkMovie_gif.cpp302 SkBitmap* backup, SkColor color)
325 bm->swap(*backup);
333 uint32_t* dst = backup->getAddr32(0, 0);
370 // create bitmap for backup
301 disposeFrameIfNeeded(SkBitmap* bm, const SavedImage* cur, const SavedImage* next, SkBitmap* backup, SkColor color) argument
/external/chromium_org/chrome/installer/setup/
H A Duninstall.cc412 base::FilePath backup; local
414 if (!base::CreateTemporaryFile(&backup))
417 base::CopyFile(state_file, backup);
418 return backup;
/external/chromium_org/third_party/icu/source/common/
H A Duniset_props.cpp462 RuleCharacterIterator::Pos backup; local
501 // Prepare to backup if necessary
502 chars.getPos(backup);
508 chars.setPos(backup); // backup
514 chars.getPos(backup); // prepare to backup
520 chars.getPos(backup); // prepare to backup
530 chars.setPos(backup); // backu
[all...]
/external/chromium_org/third_party/icu/source/io/
H A Duprntf_p.c1223 const UChar *backup; local
1275 backup = alias;
1290 alias = backup;
1356 backup = alias;
1371 alias = backup;
1403 backup = alias;
1417 alias = backup;
H A Duscanf_p.c117 const UChar *backup; local
141 backup = s;
156 s = backup;
/external/chromium_org/third_party/icu/source/test/perf/collperf/
H A Dcollperf.cpp349 void * backup; //copy source of base member in struct:CmdQsort
352 :backup(theBase),num(num),width(width),fn(fn){
363 memcpy(base, backup, num * width);
378 memcpy(base, backup, num * width);
/external/icu/icu4c/source/common/
H A Duniset_props.cpp462 RuleCharacterIterator::Pos backup; local
501 // Prepare to backup if necessary
502 chars.getPos(backup);
508 chars.setPos(backup); // backup
514 chars.getPos(backup); // prepare to backup
520 chars.getPos(backup); // prepare to backup
530 chars.setPos(backup); // backu
[all...]
/external/icu/icu4c/source/io/
H A Duprntf_p.c1223 const UChar *backup; local
1275 backup = alias;
1290 alias = backup;
1356 backup = alias;
1371 alias = backup;
1403 backup = alias;
1417 alias = backup;
H A Duscanf_p.c117 const UChar *backup; local
141 backup = s;
156 s = backup;
/external/icu/icu4c/source/test/perf/collperf/
H A Dcollperf.cpp349 void * backup; //copy source of base member in struct:CmdQsort
352 :backup(theBase),num(num),width(width),fn(fn){
363 memcpy(base, backup, num * width);
378 memcpy(base, backup, num * width);
/external/owasp/sanitizer/src/main/org/owasp/html/
H A DCssTokens.java164 public void backup() { method in class:CssTokens.TokenIterator
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20100503.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
H A Dradeon_pair_schedule.c687 struct rc_pair_instruction backup; local
703 memcpy(&backup, rgb, sizeof(struct rc_pair_instruction));
708 memcpy(rgb, &backup, sizeof(struct rc_pair_instruction));

Completed in 1043 milliseconds

12