Searched refs:iPage (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | test3.c | 360 int iPage; in btree_page_dump() local 369 if( Tcl_GetInt(interp, argv[2], &iPage) ) return TCL_ERROR; in btree_page_dump() 370 rc = sqliteBtreePageDump(pBt, iPage, 0); in btree_page_dump() 390 int iPage; in btree_tree_dump() local 399 if( Tcl_GetInt(interp, argv[2], &iPage) ) return TCL_ERROR; in btree_tree_dump() 400 rc = sqliteBtreePageDump(pBt, iPage, 1); in btree_tree_dump()
|
H A D | btree.c | 3198 static int checkRef(IntegrityCk *pCheck, int iPage, char *zContext){ in checkRef() argument 3199 if( iPage==0 ) return 1; in checkRef() 3200 if( iPage>pCheck->nPage || iPage<0 ){ in checkRef() 3202 sprintf(zBuf, "invalid page number %d", iPage); in checkRef() 3206 if( pCheck->anRef[iPage]==1 ){ in checkRef() 3208 sprintf(zBuf, "2nd reference to page %d", iPage); in checkRef() 3212 return (pCheck->anRef[iPage]++)>1; in checkRef() 3222 int iPage, /* Page number for first page in the list */ in checkList() argument 3230 if( iPage<1 ){ in checkList() 3235 if( checkRef(pCheck, iPage, zContext) ) break; in checkList() [all …]
|