Home
last modified time | relevance | path

Searched full:backup (Results 1 – 25 of 650) sorted by relevance

12345678910>>...26

/external/syslinux/gpxe/src/drivers/bus/
Dpcibackup.c27 * PCI configuration space backup and restoration
36 * @v exclude PCI configuration space backup exclusion list, or NULL
58 * @v backup PCI configuration space backup
59 * @v exclude PCI configuration space backup exclusion list, or NULL
61 void pci_backup ( struct pci_device *pci, struct pci_config_backup *backup, in pci_backup() argument
66 for ( offset = 0, dword = backup->dwords ; offset < 0x100 ; in pci_backup()
77 * @v backup PCI configuration space backup
78 * @v exclude PCI configuration space backup exclusion list, or NULL
80 void pci_restore ( struct pci_device *pci, struct pci_config_backup *backup, in pci_restore() argument
85 for ( offset = 0, dword = backup->dwords ; offset < 0x100 ; in pci_restore()
/external/javasqlite/src/main/java/SQLite/
DBackup.java4 * Class wrapping an SQLite backup object.
7 public class Backup { class
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 { in backup() method in Backup
78 * Return the total number of pages in the backup source database.
/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;
36 * with regards to backup/restore of {@link SharedPreferences}:
44 * xml file for given shared preferences would have been empty or missing upon backup. The latter
[all …]
DBackupHelperSimulator.java1 package com.google.android.libraries.backup.shadow;
3 import android.app.backup.BackupHelper;
4 import android.app.backup.FileBackupHelper;
9 * Class which simulates backup & restore functionality of a {@link BackupHelper}.
20 /** Perform backup into an {@link Object}, which is then returned by the method. */
21 public abstract Object backup(Context context); in backup() method in BackupHelperSimulator
25 * returned by {@link #backup}.
/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/syslinux/gpxe/src/include/gpxe/
Dpcibackup.h6 * PCI configuration space backup and restoration
14 /** A PCI configuration space backup */
19 /** PCI configuration space backup exclusion list end marker */
22 /** Define a PCI configuration space backup exclusion list */
27 struct pci_config_backup *backup,
30 struct pci_config_backup *backup,
/external/autotest/client/cros/
Dp2p_utils.py18 P2P_SHARE_BACKUP_PATH = '/var/cache/p2p-backup'
22 """Backup the P2P shared files and create an empty shared directory.
24 p2p-server shall not be running during backup or restore.
35 raise error.TestError("Error on P2P files backup: %s" % (e.message))
39 """Restore the P2P shared files from a backup and *delete* the backup.
41 p2p-server shall not be running during backup or restore.
92 # Backup p2p files.
132 logging.exception('Failed to restore the P2P backup.')
/external/autotest/contrib/
Dmanage_powerunit_info.py11 as host attributes. This tool allows you to add/modify/view/backup
31 * Backup existing attributes for all hosts to a csv file:
32 ./manage_powerunit_info.py backup --csv backup.csv
136 'backup: dump existing rpm attributes to a csv file (for backup).')
138 'action', choices=('upload', 'list', 'backup'), help=action_help)
153 if options.action == 'upload' or options.action =='backup':
161 if options.action == 'backup' and file_exists:
176 if options.action =='backup':
/external/fsck_msdos/
Dboot.c57 u_char backup[DOSBOOTBLOCKSIZE]; local
107 boot->Backup = block[50] + (block[51] << 8);
175 if (lseek(dosfs, boot->Backup * boot->BytesPerSec, SEEK_SET)
176 != boot->Backup * boot->BytesPerSec
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.
192 pwarn("Primary/Backup bootblock miscompare\n");
[all …]
/external/e2fsprogs/tests/m_no_opt/
Dexpect.155 Backup superblock at 8193, Group descriptors at 8194-8194
62 Backup superblock at 16385, Group descriptors at 16386-16386
69 Backup superblock at 24577, Group descriptors at 24578-24578
76 Backup superblock at 32769, Group descriptors at 32770-32770
83 Backup superblock at 40961, Group descriptors at 40962-40962
90 Backup superblock at 49153, Group descriptors at 49154-49154
97 Backup superblock at 57345, Group descriptors at 57346-57346
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl.cc94 void FileInputStream::BackUp(int count) { in BackUp() function in google::protobuf::io::FileInputStream
95 impl_.BackUp(count); in BackUp()
197 void FileOutputStream::BackUp(int count) { in BackUp() function in google::protobuf::io::FileOutputStream
198 impl_.BackUp(count); in BackUp()
284 void IstreamInputStream::BackUp(int count) { in BackUp() function in google::protobuf::io::IstreamInputStream
285 impl_.BackUp(count); in BackUp()
328 void OstreamOutputStream::BackUp(int count) { in BackUp() function in google::protobuf::io::OstreamOutputStream
329 impl_.BackUp(count); in BackUp()
374 void ConcatenatingInputStream::BackUp(int count) { in BackUp() function in google::protobuf::io::ConcatenatingInputStream
376 streams_[0]->BackUp(count); in BackUp()
[all …]
Dzero_copy_stream_impl_lite.cc84 void ArrayInputStream::BackUp(int count) { in BackUp() function in google::protobuf::io::ArrayInputStream
86 << "BackUp() can only be called after a successful Next()."; in BackUp()
137 void ArrayOutputStream::BackUp(int count) { in BackUp() function in google::protobuf::io::ArrayOutputStream
139 << "BackUp() can only be called after a successful Next()."; in BackUp()
190 void StringOutputStream::BackUp(int count) { in BackUp() function in google::protobuf::io::StringOutputStream
275 // We have data left over from a previous BackUp(), so just return that. in Next()
300 void CopyingInputStreamAdaptor::BackUp(int count) { in BackUp() function in google::protobuf::io::CopyingInputStreamAdaptor
302 << " BackUp() can only be called after Next()."; in BackUp()
307 << " Parameter to BackUp() can't be negative."; in BackUp()
320 // First skip any bytes left over from a previous BackUp(). in Skip()
[all …]
/external/autotest/site_utils/
Dserver_manager_unittest.py70 'status': server_models.Server.STATUS.BACKUP,
82 'status': server_models.Server.STATUS.BACKUP,
125 """Test manager can add a role to a backup server successfully.
149 """Test manager fails to add a role to a backup server if server already
165 """Test manager can delete a role from a backup server successfully.
187 """Test manager fails to delete a role from a backup server if the
202 """Test manager can change the status of a backup server to primary.
227 """Test manager can change the status of a primary server to backup.
229 server_models.validate(status=server_models.Server.STATUS.BACKUP)
248 status=server_models.Server.STATUS.BACKUP,
[all …]
Dbackup_mysql_db.py34 _GS_BUCKET = 'gs://chromeos-lab/backup/database'
69 # a host dump is the cheapest form of backup possible. We dump the output of a
77 """Raised for error occurred during backup."""
104 """Get the db name to backup.
108 @returns: The name of the db to backup.
109 Or None for backup all dbs.
304 logging.debug('Start db backup: %s', options.type)
307 logging.debug('Uploading backup: %s', options.type)
310 logging.debug('Db backup completed: %s', options.type)
Dserver_manager.py9 Create a server with given role, with status backup.
13 roles will be replaced by a backup server first.
113 # backup.
116 print ('Server %s has no role, change its status from primary to backup'
118 server.status = server_models.Server.STATUS.BACKUP
147 # For example, a scheduler server is already running, and a backup server
193 The status of new server will always be backup, user need to call
205 hostname=hostname, status=server_models.Server.STATUS.BACKUP,
220 not found in database or server is primary but no backup is found.
/external/python/cpython2/Lib/
Dfileinput.py58 to a backup file and standard output is directed to the input file.
60 in place. If the keyword argument backup=".<some extension>" is also
61 given, it specifies the extension for the backup file, and the backup
85 def input(files=None, inplace=0, backup="", bufsize=0, argument
96 _state = FileInput(files, inplace, backup, bufsize, mode, openhook)
178 """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
[all …]
/external/gptfdisk/
Dgdisk.827 main and backup data, as well as between the GPT headers and the partition
141 Save partition data to a backup file. You can back up your current
144 header, the backup GPT header, and one copy of the partition table, in that
145 order. Note that the backup is of the current in\-memory data structures, so
147 backup will reflect your changes. Note also that the restore option is on
148 the recovery & transformation menu; the backup option is on the main menu
254 incorrect CRCs and mismatched main and backup data. This option does not
284 Rebuild GPT header from backup. You can use the backup GPT header to
291 Load backup partition table. Ordinarily, \fBgdisk\fR
292 uses only the main partition table (although the backup's integrity is
[all …]
/external/python/cpython2/Lib/lib2to3/
Dmain.py43 nobackups: If true no backup '.bak' files will be created for those
88 # Make backup
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)
186 # If we allowed these, the original files would be renamed to backup names
/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/libese/apps/boot/card/src/com/android/verifiedboot/storage/
DJcopBackupImpl.java128 * @param backup interface to feed data to
132 public boolean backup(LSPushModeBackup backup, byte[] buffer) { in backup() method in JcopBackupImpl
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/PC/VS7.1/
Dpython20.wse233 …Text=BACKUP is the variable that holds the path that all backup files will be copied to when overw…
236 Variable=BACKUP
237 Value=%MAINDIR%\BACKUP
241 …Text=DOBACKUP determines if a backup will be performed. The possible values are A (do backup) or …
363 Dialog=Backup Replaced Files
416 Value=%CRLF%Make backups, into %BACKUP%%CRLF%
653 Name=Backup Replaced Files
661 Title Italian=Backup file sostituiti
725backup copies of all files replaced during the installation. These files will be used when the sof…
732backup di tutti i file sostituiti durante l�installazione. Questi file saranno usati quando il sof…
[all …]
/external/python/cpython2/Doc/library/
Dfileinput.rst53 .. function:: input([files[, inplace[, backup[, bufsize[, mode[, openhook]]]]]])
128 .. class:: FileInput([files[, inplace[, backup[,bufsize[, mode[, openhook]]]]]])
154 moved to a backup file and standard output is directed to the input file (if a
155 file of the same name as the backup file already exists, it will be replaced
157 file in place. If the *backup* parameter is given (typically as
158 ``backup='.<some extension>'``), it specifies the extension for the backup file,
159 and the backup file remains around; by default, the extension is ``'.bak'`` and
/external/e2fsprogs/tests/m_extent_journal/
Dexpect.148 Journal backup: inode blocks
65 Backup superblock at 8193, Group descriptors at 8194-8194
79 Backup superblock at 24577, Group descriptors at 24578-24578
93 Backup superblock at 40961, Group descriptors at 40962-40962
107 Backup superblock at 57345, Group descriptors at 57346-57346
/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/vboot_reference/tests/
Dvboot_api_init_tests.c545 TestVbInit(0, 0, "normal mode, no backup"); in VbInitTestBackup()
564 TestVbInit(0, 0, "normal mode, some backup"); in VbInitTestBackup()
585 /* So we should have written the backup */ in VbInitTestBackup()
586 TEST_EQ(backup_write_called, 1, " Backup written once"); in VbInitTestBackup()
587 /* And the backup should reflect the persisent flags. */ in VbInitTestBackup()
589 TEST_EQ(0, RestoreNvFromBackup(&tmp_vnc), "read from backup"); in VbInitTestBackup()
608 * again, we shouldn't need to backup again. in VbInitTestBackup()
615 TestVbInit(0, 0, "normal mode, expect no backup"); in VbInitTestBackup()
618 TEST_EQ(backup_write_called, 1, " Backup still only written once"); in VbInitTestBackup()
631 TEST_EQ(backup_write_called, 1, " Still only one backup"); in VbInitTestBackup()
[all …]

12345678910>>...26