Lines Matching refs:sqlite3_backup
6622 ** The sqlite3_backup object records state information about an ongoing
6623 ** online backup operation. ^The sqlite3_backup object is created by
6629 typedef struct sqlite3_backup sqlite3_backup;
6682 ** [sqlite3_backup] object.
6683 ** ^The [sqlite3_backup] object may be used with the sqlite3_backup_step() and
6690 ** the source and destination databases specified by [sqlite3_backup] object B.
6748 ** should destroy the [sqlite3_backup] by passing it to sqlite3_backup_finish().
6750 ** resources associated with the [sqlite3_backup] object.
6753 ** The [sqlite3_backup] object is invalid
6760 ** sqlite3_backup_step() call on the same [sqlite3_backup] object, then
6771 ** the [sqlite3_backup] object: the number of pages still to be backed
6806 ** The [sqlite3_backup] object itself is partially threadsafe. Multiple
6813 SQLITE_API sqlite3_backup *sqlite3_backup_init(
6819 SQLITE_API int sqlite3_backup_step(sqlite3_backup *p, int nPage);
6820 SQLITE_API int sqlite3_backup_finish(sqlite3_backup *p);
6821 SQLITE_API int sqlite3_backup_remaining(sqlite3_backup *p);
6822 SQLITE_API int sqlite3_backup_pagecount(sqlite3_backup *p);
8705 SQLITE_PRIVATE sqlite3_backup **sqlite3PagerBackupPtr(Pager*);
11677 SQLITE_PRIVATE void sqlite3BackupRestart(sqlite3_backup *);
11678 SQLITE_PRIVATE void sqlite3BackupUpdate(sqlite3_backup *, Pgno, const u8 *);
38190 sqlite3_backup *pBackup; /* Pointer to list of ongoing backup processes */
44170 SQLITE_PRIVATE sqlite3_backup **sqlite3PagerBackupPtr(Pager *pPager){
56472 struct sqlite3_backup {
56491 sqlite3_backup *pNext; /* Next backup associated with source pager */
56497 ** Once it has been created using backup_init(), a single sqlite3_backup
56569 static int setDestPgsz(sqlite3_backup *p){
56576 ** Create an sqlite3_backup process to copy the contents of zSrcDb from
56578 ** a pointer to the new sqlite3_backup object.
56583 SQLITE_API sqlite3_backup *sqlite3_backup_init(
56589 sqlite3_backup *p; /* Value to return */
56608 /* Allocate space for a new sqlite3_backup object...
56609 ** EVIDENCE-OF: R-64852-21591 The sqlite3_backup object is created by a
56612 p = (sqlite3_backup *)sqlite3_malloc(sizeof(sqlite3_backup));
56620 memset(p, 0, sizeof(sqlite3_backup));
56632 ** sqlite3_backup structure.
56661 static int backupOnePage(sqlite3_backup *p, Pgno iSrcPg, const u8 *zSrcData){
56759 static void attachBackupObject(sqlite3_backup *p){
56760 sqlite3_backup **pp;
56771 SQLITE_API int sqlite3_backup_step(sqlite3_backup *p, int nPage){
56987 ** Release all resources associated with an sqlite3_backup* handle.
56989 SQLITE_API int sqlite3_backup_finish(sqlite3_backup *p){
56990 sqlite3_backup **pp; /* Ptr to head of pagers backup list */
57028 /* EVIDENCE-OF: R-64852-21591 The sqlite3_backup object is created by a
57041 SQLITE_API int sqlite3_backup_remaining(sqlite3_backup *p){
57049 SQLITE_API int sqlite3_backup_pagecount(sqlite3_backup *p){
57065 SQLITE_PRIVATE void sqlite3BackupUpdate(sqlite3_backup *pBackup, Pgno iPage, const u8 *aData){
57066 sqlite3_backup *p; /* Iterator variable */
57098 SQLITE_PRIVATE void sqlite3BackupRestart(sqlite3_backup *pBackup){
57099 sqlite3_backup *p; /* Iterator variable */
57117 sqlite3_backup b;
57121 /* Set up an sqlite3_backup object. sqlite3_backup.pDestDb must be set
89086 int (*backup_finish)(sqlite3_backup*);
89087 sqlite3_backup *(*backup_init)(sqlite3*,const char*,sqlite3*,const char*);
89088 int (*backup_pagecount)(sqlite3_backup*);
89089 int (*backup_remaining)(sqlite3_backup*);
89090 int (*backup_step)(sqlite3_backup*,int);