Home
last modified time | relevance | path

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

12345678910>>...12

/external/python/cpython3/Lib/sqlite3/test/
Dbackup.py23 self.cx.backup(None)
27 self.cx.backup('some_file_name.db')
31 self.cx.backup(self.cx)
37 self.cx.backup(bck)
44 self.cx.backup(bck)
51 self.cx.backup(bck, 1)
55 self.cx.backup(bck)
65 self.cx.backup(bck, pages=1, progress=progress)
79 self.cx.backup(bck, progress=progress)
92 self.cx.backup(bck, pages=-1, progress=progress)
[all …]
/external/python/cpython3/Tools/freeze/
Dbkfile.py7 backup = file + '~'
9 os.unlink(backup)
13 os.rename(file, backup)
21 if filecmp.cmp(backup, file, shallow=False):
24 os.rename(backup, file)
/external/libbackup/src/com/google/android/libraries/backup/shadow/
DBackupAgentHelperShadow.java1 package com.google.android.libraries.backup.shadow;
6 import android.app.backup.BackupAgent;
7 import android.app.backup.BackupAgentHelper;
8 import android.app.backup.BackupDataInput;
9 import android.app.backup.BackupDataOutput;
10 import android.app.backup.BackupHelper;
11 import android.app.backup.FileBackupHelper;
12 import android.app.backup.SharedPreferencesBackupHelper;
158 backupDataMapBuilder.put(keyPrefix, simulator.backup(realHelper)); in onBackup()
DBackupHelperSimulator.java1 package com.google.android.libraries.backup.shadow;
3 import android.app.backup.BackupHelper;
4 import android.app.backup.FileBackupHelper;
21 public abstract Object backup(Context context); in backup() method in BackupHelperSimulator
/external/e2fsprogs/lib/blkid/
Dsave.c151 char *backup; in blkid_flush_cache() local
153 backup = malloc(strlen(filename) + 5); in blkid_flush_cache()
154 if (backup) { in blkid_flush_cache()
155 sprintf(backup, "%s.old", filename); in blkid_flush_cache()
156 unlink(backup); in blkid_flush_cache()
157 (void) link(filename, backup); in blkid_flush_cache()
158 free(backup); in blkid_flush_cache()
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/
Drx-switch_if_empty.hpp47 backup_source_type backup; member
50 : backup(std::move(b)) in switch_if_empty()
64 backup_source_type backup; member
70 , backup(std::move(b)) in switch_if_empty_observer()
86 backup.subscribe(dest); in on_completed()
98 … -> decltype(switch_if_empty_observer<Subscriber>::make(std::move(dest), std::move(backup))) { in operator ()()
99 return switch_if_empty_observer<Subscriber>::make(std::move(dest), std::move(backup)); in operator ()()
/external/libese/apps/boot/card/src/com/android/verifiedboot/storage/
DJcopBackupImpl.java132 public boolean backup(LSPushModeBackup backup, byte[] buffer) { in backup() argument
146 if (backup.start(length) == false) { in backup()
166 offset += objects[i].backup(buffer, offset); in backup()
170 if (backup.pushData(buffer, (short)0, length) == false) { in backup()
173 return backup.end(); in backup()
/external/fsck_msdos/
Dboot.c49 u_char backup[DOSBOOTBLOCKSIZE]; in readboot() local
180 || read(dosfs, backup, sizeof backup) != sizeof backup) { in readboot()
184 backup[65] = block[65]; /* XXX */ in readboot()
185 if (memcmp(block + 11, backup + 11, 79)) { in readboot()
198 if (block[i] != backup[i]) in readboot()
200 i, block[i], backup[i]); in readboot()
/external/python/cpython2/Lib/
Dfileinput.py85 def input(files=None, inplace=0, backup="", bufsize=0, argument
96 _state = FileInput(files, inplace, backup, bufsize, mode, openhook)
190 def __init__(self, files=None, inplace=0, backup="", bufsize=0, argument
203 self._backup = backup
392 backup = 0
396 if o == '-b': backup = a
397 for line in input(args, inplace=inplace, backup=backup):
/external/python/cpython3/Lib/
Dfileinput.py83 def input(files=None, inplace=False, backup="", bufsize=0, argument
94 _state = FileInput(files, inplace, backup, bufsize, mode, openhook)
188 def __init__(self, files=None, inplace=False, backup="", bufsize=0, argument
203 self._backup = backup
414 backup = False
418 if o == '-b': backup = a
419 for line in input(args, inplace=inplace, backup=backup):
/external/avb/test/
Davb_vbmeta_image_unittest.cc198 AvbVBMetaImageHeader backup = *h; in TEST_F() local
209 *h = backup; in TEST_F()
215 *h = backup; in TEST_F()
225 *h = backup; in TEST_F()
231 *h = backup; in TEST_F()
246 AvbVBMetaImageHeader backup = *h; in TEST_F() local
253 *h = backup; in TEST_F()
260 *h = backup; in TEST_F()
371 AvbVBMetaImageHeader backup = *h; in TEST_F() local
378 *h = backup; in TEST_F()
[all …]
/external/python/cpython3/Lib/lib2to3/
Dmain.py89 backup = filename + ".bak"
90 if os.path.lexists(backup):
92 os.remove(backup)
94 self.log_message("Can't remove backup %s", backup)
96 os.rename(filename, backup)
98 self.log_message("Can't rename %s to %s", filename, backup)
103 shutil.copymode(backup, filename)
/external/python/cpython2/Lib/lib2to3/
Dmain.py89 backup = filename + ".bak"
90 if os.path.lexists(backup):
92 os.remove(backup)
94 self.log_message("Can't remove backup %s", backup)
96 os.rename(filename, backup)
98 self.log_message("Can't rename %s to %s", filename, backup)
103 shutil.copymode(backup, filename)
/external/u-boot/arch/x86/lib/
Dramtest.c52 u32 backup; in quick_ram_check() local
54 backup = read_phys(CONFIG_RAMBASE); in quick_ram_check()
72 write_phys(CONFIG_RAMBASE, backup); in quick_ram_check()
/external/python/cpython2/Tools/scripts/
Duntabify.py37 backup = filename + "~"
39 os.unlink(backup)
43 os.rename(filename, backup)
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBackupManager.java5 import android.app.backup.BackupManager;
6 import android.app.backup.IBackupManagerMonitor;
7 import android.app.backup.IRestoreObserver;
8 import android.app.backup.IRestoreSession;
9 import android.app.backup.RestoreSession;
10 import android.app.backup.RestoreSet;
/external/python/cpython3/Tools/scripts/
Duntabify.py39 backup = filename + "~"
41 os.unlink(backup)
45 os.rename(filename, backup)
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/
DBackupAgentControllerTest.java6 import android.app.backup.BackupAgent;
7 import android.app.backup.BackupDataInput;
8 import android.app.backup.BackupDataOutput;
/external/libbackup/src/com/google/android/libraries/backup/
DPersistentBackupAgentHelper.java1 package com.google.android.libraries.backup;
3 import android.app.backup.BackupAgentHelper;
4 import android.app.backup.BackupDataInput;
5 import android.app.backup.BackupDataOutput;
6 import android.app.backup.SharedPreferencesBackupHelper;
/external/python/cpython3/Lib/test/test_tools/
Dtest_pindent.py47 backup = data_path + '~'
48 self.assertTrue(os.path.exists(backup))
49 with open(backup) as f:
60 with open(backup) as f:
71 with open(backup) as f:
/external/vboot_reference/tests/futility/
Dtest_main.sh21 [ -f ${LOG} ] && mv ${LOG} ${LOG}.backup
26 [ -f ${LOG}.backup ] && mv ${LOG}.backup ${LOG}
/external/e2fsprogs/tests/f_boundscheck/
Dexpect.22 ../e2fsck/e2fsck: Group descriptors look bad... trying backup blocks...
3 ../e2fsck/e2fsck: Bad magic number in super-block while using the backup blocks../e2fsck/e2fsck: go…
8 the backup block group descriptors may be OK.
Dexpect.12 ../e2fsck/e2fsck: Group descriptors look bad... trying backup blocks...
3 ../e2fsck/e2fsck: Bad magic number in super-block while using the backup blocks../e2fsck/e2fsck: go…
8 the backup block group descriptors may be OK.
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DSeriesMatcher.java45 ParsedNumber backup = new ParsedNumber(); in match() local
46 backup.copyFrom(result); in match()
78 result.copyFrom(backup); in match()
/external/jacoco/jacoco-maven-plugin/src/org/jacoco/maven/
DInstrumentMojo.java76 final File backup = new File(originalClassesDir, fileName); in executeMojo() local
80 FileUtils.copyFile(source, backup); in executeMojo()
81 input = new FileInputStream(backup); in executeMojo()

12345678910>>...12