HomeSort by relevance Sort by last modified time
    Searched refs:iPage (Results 1 - 13 of 13) sorted by null

  /external/chromium_org/third_party/sqlite/src/src/
test_btree.c 53 MemPage *pPage = pCur->apPage[pCur->iPage];
57 pPage ? pPage->pgno : 0, pCur->aiIdx[pCur->iPage],
btree.c 601 for(i=0; i<=pCur->iPage; i++){
605 pCur->iPage = -1;
    [all...]
test_stat.c 116 int iPage; /* Current entry in aPage[] */
240 pCsr->iPage = 0;
390 pCsr->iPage = 0;
398 StatPage *p = &pCsr->aPage[pCsr->iPage];
428 if( pCsr->iPage==0 ) return statNext(pCursor);
429 pCsr->iPage--;
430 p = &pCsr->aPage[pCsr->iPage];
432 pCsr->iPage++;
433 assert( p==&pCsr->aPage[pCsr->iPage-1] );
452 StatPage *p = &pCsr->aPage[pCsr->iPage];
    [all...]
wal.c 496 ** Obtain a pointer to the iPage'th page of the wal-index. The wal-index
504 static int walIndexPage(Wal *pWal, int iPage, volatile u32 **ppPage){
508 if( pWal->nWiData<=iPage ){
509 int nByte = sizeof(u32*)*(iPage+1);
517 sizeof(u32*)*(iPage+1-pWal->nWiData));
519 pWal->nWiData = iPage+1;
523 if( pWal->apWiData[iPage]==0 ){
525 pWal->apWiData[iPage] = (u32 volatile *)sqlite3MallocZero(WALINDEX_PGSZ);
526 if( !pWal->apWiData[iPage] ) rc = SQLITE_NOMEM;
528 rc = sqlite3OsShmMap(pWal->pDbFd, iPage, WALINDEX_PGSZ,
    [all...]
test_vfs.c 772 static void tvfsAllocPage(TestvfsBuffer *p, int iPage, int pgsz){
773 assert( iPage<TESTVFS_MAX_PAGES );
774 if( p->aPage[iPage]==0 ){
775 p->aPage[iPage] = (u8 *)ckalloc(pgsz);
776 memset(p->aPage[iPage], 0, pgsz);
783 int iPage, /* Page to retrieve */
802 Tcl_ListObjAppendElement(p->interp, pArg, Tcl_NewIntObj(iPage));
815 if( rc==SQLITE_OK && isWrite && !pFd->pShm->aPage[iPage] ){
816 tvfsAllocPage(pFd->pShm, iPage, pgsz);
818 *pp = (void volatile *)pFd->pShm->aPage[iPage];
    [all...]
btreeInt.h 503 i16 iPage; /* Index of current page in apPage */
os.c 114 int iPage,
119 return id->pMethods->xShmMap(id, iPage, pgsz, bExtend, pp);
recover.c 723 /* Internal helper. Used to detect if iPage would cause a loop. */
725 unsigned iPage){
727 while( pCursor && pCursor->pPage->pgno!=iPage ){
758 const unsigned iPage = interiorCursorChildPage(pCursor);
760 if( interiorCursorPageInUse(pCursor, iPage) ){
761 fprintf(stderr, "Loop detected at %d\n", iPage);
763 int rc = sqlite3PagerAcquire(pCursor->pPage->pPager, iPage, ppPage, 0);
836 /* Internal helper. Used to detect if iPage would cause a loop. */
837 static int overflowPageInUse(RecoverOverflow *pOverflow, unsigned iPage){
838 while( pOverflow && pOverflow->pPage->pgno!=iPage ){
    [all...]
backup.c 605 ** This function is called after the contents of page iPage of the
606 ** source database have been modified. If page iPage has already been
608 ** destination is now invalidated. The destination copy of iPage needs
616 void sqlite3BackupUpdate(sqlite3_backup *pBackup, Pgno iPage, const u8 *aData){
620 if( !isFatalError(p->rc) && iPage<p->iNext ){
621 /* The backup process p has already copied page iPage. But now it
628 rc = backupOnePage(p, iPage, aData);
test3.c 414 if( pCur->apPage[pCur->iPage]->intKey ){
  /external/chromium_org/third_party/sqlite/amalgamation/
sqlite3.c     [all...]
  /external/sqlite/dist/orig/
sqlite3.c     [all...]
  /external/sqlite/dist/
sqlite3.c     [all...]

Completed in 935 milliseconds