Lines Matching defs:bk
784 hbk *bk;
855 while ((bk = h->backups)) {
856 h->backups = bk->next;
857 bk->next = 0;
858 bk->h = 0;
859 if (bk->bkup) {
860 sqlite3_backup_finish(bk->bkup);
862 bk->bkup = 0;
4642 hbk *bk;
4698 bk = malloc(sizeof (hbk));
4699 if (!bk) {
4704 bk->next = hsrc->backups;
4705 hsrc->backups = bk;
4706 bk->bkup = bkup;
4707 bk->h = hsrc;
4709 vv.l = (jobject) bk;
4721 hbk *bk = gethbk(env, obj);
4725 if (bk) {
4726 if (bk->h) {
4727 handle *h = bk->h;
4733 if (bkc == bk) {
4741 if (bk->bkup) {
4742 ret = sqlite3_backup_finish(bk->bkup);
4743 if (ret != SQLITE_OK && bk->h) {
4744 err = (char *) sqlite3_errmsg((sqlite3 *) bk->h->sqlite);
4747 bk->bkup = 0;
4748 free(bk);
4762 hbk *bk = gethbk(env, obj);
4765 if (bk) {
4766 if (bk->bkup) {
4767 ret = sqlite3_backup_step(bk->bkup, (int) n);
4796 hbk *bk = gethbk(env, obj);
4798 if (bk) {
4799 if (bk->bkup) {
4800 result = sqlite3_backup_remaining(bk->bkup);
4814 hbk *bk = gethbk(env, obj);
4816 if (bk) {
4817 if (bk->bkup) {
4818 result = sqlite3_backup_pagecount(bk->bkup);