Home
last modified time | relevance | path

Searched refs:iPage (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/lib/libsqlite/src/
H A Dtest3.c363 int iPage; in btree_page_dump() local
372 if( Tcl_GetInt(interp, argv[2], &iPage) ) return TCL_ERROR; in btree_page_dump()
373 rc = sqliteBtreePageDump(pBt, iPage, 0); in btree_page_dump()
393 int iPage; in btree_tree_dump() local
402 if( Tcl_GetInt(interp, argv[2], &iPage) ) return TCL_ERROR; in btree_tree_dump()
403 rc = sqliteBtreePageDump(pBt, iPage, 1); in btree_tree_dump()
H A Dbtree.c3200 static int checkRef(IntegrityCk *pCheck, int iPage, char *zContext){ in checkRef() argument
3201 if( iPage==0 ) return 1; in checkRef()
3202 if( iPage>pCheck->nPage || iPage<0 ){ in checkRef()
3204 sprintf(zBuf, "invalid page number %d", iPage); in checkRef()
3208 if( pCheck->anRef[iPage]==1 ){ in checkRef()
3210 sprintf(zBuf, "2nd reference to page %d", iPage); in checkRef()
3214 return (pCheck->anRef[iPage]++)>1; in checkRef()
3224 int iPage, /* Page number for first page in the list */ in checkList() argument
3232 if( iPage<1 ){ in checkList()
3237 if( checkRef(pCheck, iPage, zContext) ) break; in checkList()
[all …]