Lines Matching refs:sqlite3_backup
848 ** statements or unfinished sqlite3_backup objects then sqlite3_close()
853 ** last prepared statement is finalized or the last sqlite3_backup is
860 ** [sqlite3_backup_finish | finish] all [sqlite3_backup] objects associated
864 ** [sqlite3_backup] objects then it returns SQLITE_OK but the deallocation
866 ** and [sqlite3_backup] objects are also destroyed.
7108 ** The sqlite3_backup object records state information about an ongoing
7109 ** online backup operation. ^The sqlite3_backup object is created by
7115 typedef struct sqlite3_backup sqlite3_backup;
7168 ** [sqlite3_backup] object.
7169 ** ^The [sqlite3_backup] object may be used with the sqlite3_backup_step() and
7176 ** the source and destination databases specified by [sqlite3_backup] object B.
7234 ** should destroy the [sqlite3_backup] by passing it to sqlite3_backup_finish().
7236 ** resources associated with the [sqlite3_backup] object.
7239 ** The [sqlite3_backup] object is invalid
7246 ** sqlite3_backup_step() call on the same [sqlite3_backup] object, then
7257 ** the [sqlite3_backup] object: the number of pages still to be backed
7292 ** The [sqlite3_backup] object itself is partially threadsafe. Multiple
7299 SQLITE_API sqlite3_backup *sqlite3_backup_init(
7305 SQLITE_API int sqlite3_backup_step(sqlite3_backup *p, int nPage);
7306 SQLITE_API int sqlite3_backup_finish(sqlite3_backup *p);
7307 SQLITE_API int sqlite3_backup_remaining(sqlite3_backup *p);
7308 SQLITE_API int sqlite3_backup_pagecount(sqlite3_backup *p);
9297 SQLITE_PRIVATE sqlite3_backup **sqlite3PagerBackupPtr(Pager*);
12355 SQLITE_PRIVATE void sqlite3BackupRestart(sqlite3_backup *);
12356 SQLITE_PRIVATE void sqlite3BackupUpdate(sqlite3_backup *, Pgno, const u8 *);
38986 sqlite3_backup *pBackup; /* Pointer to list of ongoing backup processes */
45272 SQLITE_PRIVATE sqlite3_backup **sqlite3PagerBackupPtr(Pager *pPager){
58059 struct sqlite3_backup {
58078 sqlite3_backup *pNext; /* Next backup associated with source pager */
58084 ** Once it has been created using backup_init(), a single sqlite3_backup
58156 static int setDestPgsz(sqlite3_backup *p){
58163 ** Create an sqlite3_backup process to copy the contents of zSrcDb from
58165 ** a pointer to the new sqlite3_backup object.
58170 SQLITE_API sqlite3_backup *sqlite3_backup_init(
58176 sqlite3_backup *p; /* Value to return */
58195 /* Allocate space for a new sqlite3_backup object...
58196 ** EVIDENCE-OF: R-64852-21591 The sqlite3_backup object is created by a
58199 p = (sqlite3_backup *)sqlite3MallocZero(sizeof(sqlite3_backup));
58218 ** sqlite3_backup structure.
58248 sqlite3_backup *p, /* Backup handle */
58356 static void attachBackupObject(sqlite3_backup *p){
58357 sqlite3_backup **pp;
58368 SQLITE_API int sqlite3_backup_step(sqlite3_backup *p, int nPage){
58608 ** Release all resources associated with an sqlite3_backup* handle.
58610 SQLITE_API int sqlite3_backup_finish(sqlite3_backup *p){
58611 sqlite3_backup **pp; /* Ptr to head of pagers backup list */
58649 /* EVIDENCE-OF: R-64852-21591 The sqlite3_backup object is created by a
58662 SQLITE_API int sqlite3_backup_remaining(sqlite3_backup *p){
58670 SQLITE_API int sqlite3_backup_pagecount(sqlite3_backup *p){
58686 SQLITE_PRIVATE void sqlite3BackupUpdate(sqlite3_backup *pBackup, Pgno iPage, const u8 *aData){
58687 sqlite3_backup *p; /* Iterator variable */
58719 SQLITE_PRIVATE void sqlite3BackupRestart(sqlite3_backup *pBackup){
58720 sqlite3_backup *p; /* Iterator variable */
58739 sqlite3_backup b;
58752 /* Set up an sqlite3_backup object. sqlite3_backup.pDestDb must be set
92388 int (*backup_finish)(sqlite3_backup*);
92389 sqlite3_backup *(*backup_init)(sqlite3*,const char*,sqlite3*,const char*);
92390 int (*backup_pagecount)(sqlite3_backup*);
92391 int (*backup_remaining)(sqlite3_backup*);
92392 int (*backup_step)(sqlite3_backup*,int);
115585 ** statements or unfinished sqlite3_backup objects.
115653 ** prepare statement or sqlite3_backup closes.
115664 ** every sqlite3_stmt has now been finalized and every sqlite3_backup has
115671 /* If there are outstanding sqlite3_stmt or sqlite3_backup objects
115681 ** closed all sqlite3_stmt and sqlite3_backup objects and has been