Home
last modified time | relevance | path

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

12345678910>>...23

/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/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/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/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/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':
Drun-stable-update13 # this script may be installed and enabled on both a primary and backup
14 # server. We skip running on the backup, but really, the backup
29 # must be backup
/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 …]
Dgpt.cc176 << "be corrupt. Consider loading the backup GPT header to rebuild the main GPT\n" in Verify()
183 << "corrupt. Consider loading the backup partition table ('c' on the recovery &\n" in Verify()
189 cout << "\nProblem: The CRC for the backup GPT header is invalid. The backup GPT header\n" in Verify()
190 << "may be corrupt. Consider using the main GPT header to rebuild the backup GPT\n" in Verify()
196 cout << "\nCaution: The CRC for the backup partition table is invalid. This table may\n" in Verify()
197 << "be corrupt. This program will automatically create a new backup partition\n" in Verify()
201 // Now check that the main and backup headers both point to themselves.... in Verify()
217 // Now check that critical main and backup GPT entries match each other in Verify()
221 << ") doesn't\nmatch the backup GPT header's alternate LBA pointer(" in Verify()
226 cout << "\nProblem: main GPT header's backup LBA pointer (" << mainHeader.backupLBA in Verify()
[all …]
Dsgdisk.823 main and backup data, as well as between the GPT headers and the partition
172 .B \-b, \-\-backup=file
173 Save partition data to a backup file. You can back up your current
176 header, the backup GPT header, and one copy of the partition table, in that
177 order. Note that the backup is of the current in\-memory data structures, so
179 backup will reflect your changes. If the GPT data structures are damaged,
180 the backup may not accurately reflect the damaged state; instead, they
221 Move backup GPT data structures to the end of the disk. Use this option if
223 that follows the backup GPT data structures. This command moves the backup
282 .B \-l, \-\-load\-backup=file
[all …]
Dcgdisk.8192 .B Backup
193 Save partition data to a backup file. You can back up your current
196 header, the backup GPT header, and one copy of the partition table, in that
197 order. Note that the backup is of the current in\-memory data structures, so
199 backup will reflect your changes.
222 Load partition data from a backup file. This option is the reverse of the
223 Backup option. Note that restoring partition data from anything but the
268 incorrect CRCs and mismatched main and backup data. This option does not
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl.cc93 void FileInputStream::BackUp(int count) { in BackUp() function in google::protobuf::io::FileInputStream
94 impl_.BackUp(count); in BackUp()
196 void FileOutputStream::BackUp(int count) { in BackUp() function in google::protobuf::io::FileOutputStream
197 impl_.BackUp(count); in BackUp()
283 void IstreamInputStream::BackUp(int count) { in BackUp() function in google::protobuf::io::IstreamInputStream
284 impl_.BackUp(count); in BackUp()
327 void OstreamOutputStream::BackUp(int count) { in BackUp() function in google::protobuf::io::OstreamOutputStream
328 impl_.BackUp(count); in BackUp()
373 void ConcatenatingInputStream::BackUp(int count) { in BackUp() function in google::protobuf::io::ConcatenatingInputStream
375 streams_[0]->BackUp(count); in BackUp()
[all …]
Dzero_copy_stream_impl_lite.cc82 void ArrayInputStream::BackUp(int count) { in BackUp() function in google::protobuf::io::ArrayInputStream
84 << "BackUp() can only be called after a successful Next()."; in BackUp()
135 void ArrayOutputStream::BackUp(int count) { in BackUp() function in google::protobuf::io::ArrayOutputStream
137 << "BackUp() can only be called after a successful Next()."; in BackUp()
187 void StringOutputStream::BackUp(int count) { in BackUp() function in google::protobuf::io::StringOutputStream
242 // We have data left over from a previous BackUp(), so just return that. in Next()
267 void CopyingInputStreamAdaptor::BackUp(int count) { in BackUp() function in google::protobuf::io::CopyingInputStreamAdaptor
269 << " BackUp() can only be called after Next()."; in BackUp()
274 << " Parameter to BackUp() can't be negative."; in BackUp()
287 // 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/e2fsprogs/tests/m_no_opt/
Dexpect.165 Backup superblock at 8193, Group descriptors at 8194-8194
72 Backup superblock at 16385, Group descriptors at 16386-16386
79 Backup superblock at 24577, Group descriptors at 24578-24578
86 Backup superblock at 32769, Group descriptors at 32770-32770
93 Backup superblock at 40961, Group descriptors at 40962-40962
100 Backup superblock at 49153, Group descriptors at 49154-49154
107 Backup superblock at 57345, Group descriptors at 57346-57346
/external/e2fsprogs/lib/blkid/
Dsave.c140 char *backup; in blkid_flush_cache() local
142 backup = malloc(strlen(filename) + 5); in blkid_flush_cache()
143 if (backup) { in blkid_flush_cache()
144 sprintf(backup, "%s.old", filename); in blkid_flush_cache()
145 unlink(backup); in blkid_flush_cache()
146 link(filename, backup); in blkid_flush_cache()
147 free(backup); in blkid_flush_cache()
/external/tcpdump/tests/
Dospf3_ah-vv.out39 Designated Router 2.2.2.2, Backup Designated Router 2.2.2.2
58 Designated Router 2.2.2.2, Backup Designated Router 2.2.2.2
104 Designated Router 2.2.2.2, Backup Designated Router 1.1.1.1
364 Designated Router 2.2.2.2, Backup Designated Router 1.1.1.1
471 Designated Router 2.2.2.2, Backup Designated Router 1.1.1.1
489 Designated Router 2.2.2.2, Backup Designated Router 1.1.1.1
496 Designated Router 2.2.2.2, Backup Designated Router 1.1.1.1
503 Designated Router 2.2.2.2, Backup Designated Router 1.1.1.1
510 Designated Router 2.2.2.2, Backup Designated Router 1.1.1.1
517 Designated Router 2.2.2.2, Backup Designated Router 1.1.1.1
[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 …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/pyami/installers/ubuntu/
Debs.py54 # Backup EBS volume
59 class Backup(ScriptBase):
68 self.notify(subject="${instance_id} Backup Failed", body=traceback.format_exc())
71 self.notify(subject="${instance_id} Backup Failed", body=traceback.format_exc())
76 b = Backup()
211 # create the backup script
214 # Set up the backup script
219 # Set up the backup cleanup script
/external/e2fsprogs/tests/m_extent_journal/
Dexpect.159 Journal backup: inode blocks
76 Backup superblock at 8193, Group descriptors at 8194-8194
90 Backup superblock at 24577, Group descriptors at 24578-24578
104 Backup superblock at 40961, Group descriptors at 40962-40962
118 Backup superblock at 57345, Group descriptors at 57346-57346
/external/curl/packages/vms/
Dcurl_gnv_build_steps.txt28 The source kits are provided in backup savesets inside of the PCSI install kit.
30 Backup save sets are currently the only distribution medium that I can be
41 These backup savesets should be restored to different directory trees on
246 8. Prepare to backup the files for building the kit.
261 This compares the reference project source with the backup
266 This compares the VMS specific source with the backup
272 separate directory for staging the sources for backup make sure
/external/autotest/client/common_lib/
Dsmogcheck_ttci.py29 INA219_BPWR_SLV = 0x40 # Backup Power
45 ina_backup_obj: an instance of InaController (for Backup Power port
77 """Gets voltage and current measurements from INA219 Backup Power.
94 """De/activated TPM Backup Power.
144 """Checks bit value of Backup Power.
/external/vboot_reference/firmware/lib/
Dvboot_nvstorage_rollback.c41 VBDEBUG(("TPM: Oops, backup is no good.\n")); in RestoreNvFromBackup()
67 VBDEBUG(("TPM: existing backup is %s\n", in SaveNvToBackup()
78 VBDEBUG(("TPM: Nothing's changed, not writing backup\n")); in SaveNvToBackup()
90 VBDEBUG(("TPM: Sorry, couldn't write backup.\n")); in SaveNvToBackup()
/external/kernel-headers/original/uapi/linux/
Dip_vs.h41 #define IP_VS_STATE_BACKUP 0x0002 /* started as backup */
79 * Only flags 0..15 are sent to backup server
98 /* Initial bits allowed in backup server */
107 /* Bits allowed to update in backup server */
111 /* Flags that are not sent to backup server start from bit 16 */
267 /* sync daemon state (master/backup) */
406 IPVS_DAEMON_ATTR_STATE, /* sync daemon state (master/backup) */

12345678910>>...23