Home
last modified time | relevance | path

Searched refs:iNew (Results 1 – 16 of 16) sorted by relevance

/sqlite-3.40.0/ext/lsm1/
H A Dlsm_tree.c832 pDb->treehdr.root.iRoot = iNew; in treeUpdatePtr()
873 p->iV2Ptr = iNew; in treeUpdatePtr()
973 u32 iNew = 0; in treeInsert() local
977 pNew = newTreeNode(pDb, &iNew, &rc); in treeInsert()
1010 rc = treeUpdatePtr(pDb, pCsr, iNew); in treeInsert()
1025 u32 iNew; in treeInsertLeaf() local
1033 pNew = newTreeLeaf(pDb, &iNew, &rc); in treeInsertLeaf()
1374 u32 iNew; in treeOverwriteKey() local
1392 treeUpdatePtr(db, pCsr, iNew); in treeOverwriteKey()
1611 u32 iNew; in treeDeleteEntry() local
[all …]
H A Dlsm_file.c2146 int iNew; /* New block number */ in lsmFsSortedAppend() local
2148 rc = lsmBlockAllocate(pFS->pDb, 0, &iNew); in lsmFsSortedAppend()
2151 iApp = fsFirstPageOnBlock(pFS, iNew); in lsmFsSortedAppend()
2153 iNext = fsFirstPageOnBlock(pFS, iNew); in lsmFsSortedAppend()
H A Dlsm_sorted.c1016 int iNew /* Page number of new page */ in segmentPtrLoadPage() argument
1021 rc = lsmFsDbPageGet(pFS, pPtr->pSeg, iNew, &pPg); in segmentPtrLoadPage()
1057 int iNew /* Cell number of new cell */ in segmentPtrLoadCell() argument
1065 assert( iNew<pPtr->nCell ); in segmentPtrLoadCell()
1066 pPtr->iCell = iNew; in segmentPtrLoadCell()
/sqlite-3.40.0/test/
H A Dfuzz3.test136 set iNew [expr int(rand()*5*1024*256)]
137 set iOld [modify_database $iNew]
150 do_test fuzz3-$ii.$iNew.[incr iTest] {
169 do_test fuzz3-$ii.$iNew.[incr iTest] {
/sqlite-3.40.0/src/
H A Dpcache1.c1117 unsigned int iNew in pcache1Rekey() argument
1125 assert( iOld!=iNew ); /* The page number really is changing */ in pcache1Rekey()
1137 assert( pcache1FetchNoMutex(p, iNew, 0)==0 ); /* iNew not in cache */ in pcache1Rekey()
1138 hNew = iNew%pCache->nHash; in pcache1Rekey()
1139 pPage->iKey = iNew; in pcache1Rekey()
1142 if( iNew>pCache->iMaxKey ){ in pcache1Rekey()
1143 pCache->iMaxKey = iNew; in pcache1Rekey()
H A Dtest_vfs.c1335 int iNew = 0; in testvfs_obj_cmd() local
1354 iNew |= aFlag[idx].iValue; in testvfs_obj_cmd()
1357 p->iDevchar = iNew| 0x10000000; in testvfs_obj_cmd()
1379 int iNew = 0; in testvfs_obj_cmd() local
1380 if( Tcl_GetIntFromObj(interp, objv[2], &iNew) ){ in testvfs_obj_cmd()
1383 p->iSectorsize = iNew; in testvfs_obj_cmd()
H A Dbtree.c7508 int iNewEnd = iNew + nNew; in editPage()
7517 if( iOld<iNew ){ in editPage()
7534 if( iNew<iOld ){ in editPage()
7535 int nAdd = MIN(nNew,iOld-iNew); in editPage()
7542 iNew, nAdd, pCArray in editPage()
7559 iCell+iNew, 1, pCArray in editPage()
8396 int iNew = 0; in balance_nonroot() local
8408 if( i==cntNew[iNew] ){ in balance_nonroot()
8409 pNew = apNew[++iNew]; in balance_nonroot()
8523 int iNew; in balance_nonroot() local
[all …]
H A Dtest_malloc.c1456 int iNew; in test_vfs_oom_test() local
1457 if( Tcl_GetIntFromObj(interp, objv[1], &iNew) ) return TCL_ERROR; in test_vfs_oom_test()
1458 sqlite3_memdebug_vfs_oom_test = iNew; in test_vfs_oom_test()
H A Dmain.c3947 int iNew = *(int*)pArg; in sqlite3_file_control() local
3949 if( iNew>=0 && iNew<=255 ){ in sqlite3_file_control()
3950 sqlite3BtreeSetPageSize(pBtree, 0, iNew, 0); in sqlite3_file_control()
H A Dwhere.c1880 tRowcnt iNew; in whereRangeScanEst() local
1884 iNew = a[0] + ((pLower->eOperator & mask) ? a[1] : 0); in whereRangeScanEst()
1885 if( iNew>iLower ) iLower = iNew; in whereRangeScanEst()
1897 tRowcnt iNew; in whereRangeScanEst() local
1901 iNew = a[0] + ((pUpper->eOperator & mask) ? a[1] : 0); in whereRangeScanEst()
1902 if( iNew<iUpper ) iUpper = iNew; in whereRangeScanEst()
H A Dpager.c7214 void sqlite3PagerRekey(DbPage *pPg, Pgno iNew, u16 flags){ in sqlite3PagerRekey() argument
7215 assert( pPg->pgno!=iNew ); in sqlite3PagerRekey()
7217 sqlite3PcacheMove(pPg, iNew); in sqlite3PagerRekey()
/sqlite-3.40.0/ext/misc/
H A Dfileio.c695 int iNew = pCur->iLvl + 1; in fsdirNext() local
697 if( iNew>=pCur->nLvl ){ in fsdirNext()
698 int nNew = iNew+1; in fsdirNext()
706 pCur->iLvl = iNew; in fsdirNext()
707 pLvl = &pCur->aLvl[iNew]; in fsdirNext()
H A Dclosure.c723 sqlite3_int64 iNew = sqlite3_column_int64(pStmt, 0); in closureFilter() local
724 if( closureAvlSearch(pCur->pClosure, iNew)==0 ){ in closureFilter()
725 rc = closureInsertNode(&sQueue, pCur, iNew, pAvl->iGeneration+1); in closureFilter()
/sqlite-3.40.0/ext/fts5/
H A Dfts5_storage.c1161 int iNew = p->pConfig->iCookie + 1; in sqlite3Fts5StorageConfigValue() local
1162 rc = sqlite3Fts5IndexSetCookie(p->pIndex, iNew); in sqlite3Fts5StorageConfigValue()
1164 p->pConfig->iCookie = iNew; in sqlite3Fts5StorageConfigValue()
H A Dfts5_main.c1701 i64 iNew = sqlite3_value_int64(apVal[1]); /* Rowid to delete */ in fts5UpdateMethod() local
1702 rc = sqlite3Fts5StorageDelete(pTab->pStorage, iNew, 0); in fts5UpdateMethod()
1710 i64 iNew = sqlite3_value_int64(apVal[1]); /* New rowid */ in fts5UpdateMethod() local
1711 if( eType1==SQLITE_INTEGER && iOld!=iNew ){ in fts5UpdateMethod()
1715 rc = sqlite3Fts5StorageDelete(pTab->pStorage, iNew, 0); in fts5UpdateMethod()
H A Dfts5_index.c5755 int sqlite3Fts5IndexSetCookie(Fts5Index *p, int iNew){ in sqlite3Fts5IndexSetCookie() argument
5762 sqlite3Fts5Put32(aCookie, iNew); in sqlite3Fts5IndexSetCookie()