/external/python/cpython3/Lib/sqlite3/test/ |
D | backup.py | 23 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/ |
D | bkfile.py | 7 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/ |
D | BackupAgentHelperShadow.java | 1 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()
|
D | BackupHelperSimulator.java | 1 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/ |
D | save.c | 151 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/ |
D | rx-switch_if_empty.hpp | 47 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/ |
D | JcopBackupImpl.java | 132 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/ |
D | boot.c | 49 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/ |
D | fileinput.py | 85 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/ |
D | fileinput.py | 83 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/ |
D | avb_vbmeta_image_unittest.cc | 198 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/ |
D | main.py | 89 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/ |
D | main.py | 89 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/ |
D | ramtest.c | 52 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/ |
D | untabify.py | 37 backup = filename + "~" 39 os.unlink(backup) 43 os.rename(filename, backup)
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowBackupManager.java | 5 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/ |
D | untabify.py | 39 backup = filename + "~" 41 os.unlink(backup) 45 os.rename(filename, backup)
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/ |
D | BackupAgentControllerTest.java | 6 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/ |
D | PersistentBackupAgentHelper.java | 1 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/ |
D | test_pindent.py | 47 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/ |
D | test_main.sh | 21 [ -f ${LOG} ] && mv ${LOG} ${LOG}.backup 26 [ -f ${LOG}.backup ] && mv ${LOG}.backup ${LOG}
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
D | SeriesMatcher.java | 45 ParsedNumber backup = new ParsedNumber(); in match() local 46 backup.copyFrom(result); in match() 78 result.copyFrom(backup); in match()
|
/external/e2fsprogs/tests/f_boundscheck/ |
D | expect.1 | 2 ../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.
|
D | expect.2 | 2 ../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/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
D | SeriesMatcher.java | 47 ParsedNumber backup = new ParsedNumber(); in match() local 48 backup.copyFrom(result); in match() 80 result.copyFrom(backup); in match()
|