Home
last modified time | relevance | path

Searched refs:aMeta (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/lib/libsqlite/src/
H A Dbtree.h142 #define sqliteBtreeGetMeta(pBt, aMeta) (btOps(pBt)->GetMeta(pBt, aMeta)) argument
143 #define sqliteBtreeUpdateMeta(pBt, aMeta) (btOps(pBt)->UpdateMeta(pBt, aMeta)) argument
H A Dtest3.c296 int aMeta[SQLITE_N_BTREE_META]; in btree_get_meta() local
303 rc = sqliteBtreeGetMeta(pBt, aMeta); in btree_get_meta()
310 sprintf(zBuf,"%d",aMeta[i]); in btree_get_meta()
330 int aMeta[SQLITE_N_BTREE_META]; in btree_update_meta() local
341 if( Tcl_GetInt(interp, argv[i+2], &aMeta[i]) ) return TCL_ERROR; in btree_update_meta()
343 rc = sqliteBtreeUpdateMeta(pBt, aMeta); in btree_update_meta()
H A Dbtree.c155 int aMeta[SQLITE_N_BTREE_META-1]; /* User defined integers */ member
2999 static int fileBtreeGetMeta(Btree *pBt, int *aMeta){ in fileBtreeGetMeta() argument
3006 aMeta[0] = SWAB32(pBt, pP1->nFree); in fileBtreeGetMeta()
3007 for(i=0; i<sizeof(pP1->aMeta)/sizeof(pP1->aMeta[0]); i++){ in fileBtreeGetMeta()
3008 aMeta[i+1] = SWAB32(pBt, pP1->aMeta[i]); in fileBtreeGetMeta()
3017 static int fileBtreeUpdateMeta(Btree *pBt, int *aMeta){ in fileBtreeUpdateMeta() argument
3026 for(i=0; i<sizeof(pP1->aMeta)/sizeof(pP1->aMeta[0]); i++){ in fileBtreeUpdateMeta()
3027 pP1->aMeta[i] = SWAB32(pBt, aMeta[i+1]); in fileBtreeUpdateMeta()
H A Dbtree_rb.c1228 static int memRbtreeGetMeta(Rbtree* tree, int* aMeta) in memRbtreeGetMeta() argument
1230 memcpy( aMeta, tree->aMetaData, sizeof(int) * SQLITE_N_BTREE_META ); in memRbtreeGetMeta()
1234 static int memRbtreeUpdateMeta(Rbtree* tree, int* aMeta) in memRbtreeUpdateMeta() argument
1236 memcpy( tree->aMetaData, aMeta, sizeof(int) * SQLITE_N_BTREE_META ); in memRbtreeUpdateMeta()
H A Dvdbe.c2283 int aMeta[SQLITE_N_BTREE_META]; in sqliteVdbeExec() local
2287 rc = sqliteBtreeGetMeta(db->aDb[pOp->p1].pBt, aMeta); in sqliteVdbeExec()
2289 pTos->i = aMeta[1+pOp->p2]; in sqliteVdbeExec()
2305 int aMeta[SQLITE_N_BTREE_META]; in sqliteVdbeExec() local
2311 rc = sqliteBtreeGetMeta(db->aDb[pOp->p1].pBt, aMeta); in sqliteVdbeExec()
2313 aMeta[1+pOp->p2] = pTos->i; in sqliteVdbeExec()
2314 rc = sqliteBtreeUpdateMeta(db->aDb[pOp->p1].pBt, aMeta); in sqliteVdbeExec()
2338 int aMeta[SQLITE_N_BTREE_META]; in sqliteVdbeExec() local
2340 rc = sqliteBtreeGetMeta(db->aDb[pOp->p1].pBt, aMeta); in sqliteVdbeExec()
2341 if( rc==SQLITE_OK && aMeta[1]!=pOp->p2 ){ in sqliteVdbeExec()