/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 source.backup(bck) 51 self.cx.backup(bck) 58 self.cx.backup(bck, 1) 62 self.cx.backup(bck) 72 self.cx.backup(bck, pages=1, progress=progress) 86 self.cx.backup(bck, progress=progress) [all …]
|
/external/rust/crates/rusqlite/src/ |
D | backup.rs | 60 pub fn backup<P: AsRef<Path>>( in backup() method 68 let backup = Backup::new_with_names(self, name, &mut dst, DatabaseName::Main)?; in backup() localVariable 72 r = backup.step(100)?; in backup() 74 f(backup.progress()); in backup() 324 let backup = Backup::new(&src, &mut dst).unwrap(); in test_backup() localVariable 325 backup.step(-1).unwrap(); in test_backup() 336 let backup = Backup::new(&src, &mut dst).unwrap(); in test_backup() localVariable 337 backup in test_backup() 360 let backup = in test_backup_temp() localVariable 363 backup.step(-1).unwrap(); in test_backup_temp() [all …]
|
/external/ltp/testcases/kernel/syscalls/setdomainname/ |
D | setdomainname.h | 28 static char backup[_UTSNAME_DOMAIN_LENGTH]; variable 60 if ((GET_SYSCALL(backup, sizeof(backup))) < 0) in setup() 66 if ((SET_SYSCALL(backup, strlen(backup))) < 0) in cleanup() 67 tst_res(TWARN | TERRNO, "set" SYSCALL_NAME "() failed ('%s')", backup); in cleanup()
|
/external/javassist/sample/duplicate/ |
D | DuplicatedObject.java | 6 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/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
|
D | UnsupportedBackupHelperSimulator.java | 1 package com.google.android.libraries.backup.shadow; 3 import android.app.backup.BackupHelper; 22 public Object backup(Context context) { in backup() method in UnsupportedBackupHelperSimulator
|
/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/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 | 84 def input(files=None, inplace=False, backup="", *, mode="r", openhook=None): argument 94 _state = FileInput(files, inplace, backup, mode=mode, openhook=openhook) 188 def __init__(self, files=None, inplace=False, backup="", *, argument 203 self._backup = backup 419 backup = False 423 if o == '-b': backup = a 424 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/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/libbackup/ |
D | build.gradle | 8 // Most backup classes (e.g. SharedPreferencesBackupHelper) were added 24 java.excludes = ['com/google/android/libraries/backup/shadow/**'] 29 java.includes = ['com/google/android/libraries/backup/shadow/**']
|
/external/python/cpython2/Tools/scripts/ |
D | untabify.py | 37 backup = filename + "~" 39 os.unlink(backup) 43 os.rename(filename, backup)
|
/external/python/cpython3/Tools/scripts/ |
D | untabify.py | 39 backup = filename + "~" 41 os.unlink(backup) 45 os.rename(filename, backup)
|
/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/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/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/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/angle/scripts/ |
D | update_canary_angle.py | 60 backup = os.path.join(source_folder, dll + '.backup') variable 61 if not os.path.exists(backup): 62 shutil.copyfile(src, backup)
|
/external/libtextclassifier/native/utils/strings/ |
D | append.cc | 32 va_list backup; in SStringAppendV() local 33 va_copy(backup, arglist); in SStringAppendV() 34 capacity = vsnprintf(nullptr, 0, fmt, backup); in SStringAppendV()
|
/external/vboot_reference/tests/futility/ |
D | test_main.sh | 21 [ -f ${LOG} ] && mv ${LOG} ${LOG}.backup 26 [ -f ${LOG}.backup ] && mv ${LOG}.backup ${LOG}
|