Lines Matching refs:rc
102 int rc; in PHP_METHOD() local
132 rc = sqlite3_open_v2(fullpath, &(db_obj->db), flags, NULL); in PHP_METHOD()
133 if (rc != SQLITE_OK) { in PHP_METHOD()
136 db_obj->db ? sqlite3_errmsg(db_obj->db) : sqlite3_errstr(rc)); in PHP_METHOD()
1341 int rc; // Return code in PHP_METHOD() local
1358 rc = sqlite3_backup_step(dbBackup, -1); in PHP_METHOD()
1359 } while (rc == SQLITE_OK); in PHP_METHOD()
1362 rc = sqlite3_backup_finish(dbBackup); in PHP_METHOD()
1365 rc = sqlite3_errcode(source_obj->db); in PHP_METHOD()
1368 if (rc != SQLITE_OK) { in PHP_METHOD()
1369 if (rc == SQLITE_BUSY) { in PHP_METHOD()
1372 else if (rc == SQLITE_LOCKED) { in PHP_METHOD()
1376 php_sqlite3_error(source_obj, "Backup failed: %d, %s", rc, sqlite3_errmsg(source_obj->db)); in PHP_METHOD()