/external/chromium_org/third_party/sqlite/src/src/ |
pcache.c | 65 ** Remove page pPage from the list of dirty pages. 67 static void pcacheRemoveFromDirtyList(PgHdr *pPage){ 68 PCache *p = pPage->pCache; 70 assert( pPage->pDirtyNext || pPage==p->pDirtyTail ); 71 assert( pPage->pDirtyPrev || pPage==p->pDirty ); 74 if( p->pSynced==pPage ){ 75 PgHdr *pSynced = pPage->pDirtyPrev; 82 if( pPage->pDirtyNext ) [all...] |
pcache1.c | 391 PgHdr1 *pPage; 393 while( (pPage = pNext)!=0 ){ 394 unsigned int h = pPage->iKey % nNew; 395 pNext = pPage->pNext; 396 pPage->pNext = apNew[h]; 397 apNew[h] = pPage; 409 ** This function is used internally to remove the page pPage from the 410 ** PGroup LRU list, if is part of it. If pPage is not part of the PGroup 415 ** If pPage is NULL then this routine is a no-op. 417 static void pcache1PinPage(PgHdr1 *pPage){ [all...] |
btree.c | 419 static void releasePage(MemPage *pPage); /* Forward reference */ 859 static u8 *findOverflowCell(MemPage *pPage, int iCell){ 861 assert( sqlite3_mutex_held(pPage->pBt->mutex) ); 862 for(i=pPage->nOverflow-1; i>=0; i--){ 865 pOvfl = &pPage->aOvfl[i]; 874 return findCell(pPage, iCell); 887 MemPage *pPage, /* Page containing the cell */ 894 assert( sqlite3_mutex_held(pPage->pBt->mutex) ); 897 assert( pPage->leaf==0 || pPage->leaf==1 ) [all...] |
recover.c | 373 static const unsigned char *PageData(DbPage *pPage, unsigned iOffset){ 374 assert( iOffset<=pPage->nPageSize ); 375 return (unsigned char *)pPage->pData + iOffset; 383 static const unsigned char *PageHeader(DbPage *pPage){ 384 if( pPage->pgno==1 ){ 386 return PageData(pPage, nDatabaseHeader); 388 return PageData(pPage, 0); 621 DbPage *pPage; /* Reference to leaf page. */ 633 if( p->pPage ){ 634 sqlite3PagerUnref(p->pPage); [all...] |
test_btree.c | 53 MemPage *pPage = pCur->apPage[pCur->iPage]; 57 pPage ? pPage->pgno : 0, pCur->aiIdx[pCur->iPage],
|
test2.c | 341 DbPage *pPage; 353 rc = sqlite3PagerGet(pPager, pgno, &pPage); 359 sqlite3_snprintf(sizeof(zBuf),zBuf,"%p",pPage); 378 DbPage *pPage; 387 pPage = sqlite3PagerLookup(pPager, pgno); 388 if( pPage ){ 389 sqlite3_snprintf(sizeof(zBuf),zBuf,"%p",pPage); 429 DbPage *pPage; 435 pPage = (DbPage *)sqlite3TestTextToPtr(argv[1]); 436 sqlite3PagerUnref(pPage); [all...] |
pager.c | [all...] |
malloc.c | 186 if( sqlite3GlobalConfig.pPage==0 || sqlite3GlobalConfig.szPage<512 188 sqlite3GlobalConfig.pPage = 0;
|
main.c | 198 sqlite3PCacheBufferSetup( sqlite3GlobalConfig.pPage, 351 sqlite3GlobalConfig.pPage = va_arg(ap, void*); [all...] |
sqliteInt.h | [all...] |
/external/chromium_org/third_party/sqlite/amalgamation/ |
sqlite3.c | [all...] |
/external/sqlite/dist/orig/ |
sqlite3.c | [all...] |
/external/sqlite/dist/ |
sqlite3.c | [all...] |