Lines Matching refs:sqlite3_int64

1302 typedef sqlite_int64 sqlite3_int64;  typedef
1310 # define double sqlite3_int64
1797 int (*xRead)(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
1798 int (*xWrite)(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst);
1799 int (*xTruncate)(sqlite3_file*, sqlite3_int64 size);
1801 int (*xFileSize)(sqlite3_file*, sqlite3_int64 *pSize);
1814 int (*xFetch)(sqlite3_file*, sqlite3_int64 iOfst, int iAmt, void **pp);
1815 int (*xUnfetch)(sqlite3_file*, sqlite3_int64 iOfst, void *p);
2343 int (*xCurrentTimeInt64)(sqlite3_vfs*, sqlite3_int64*);
3189 SQLITE_API sqlite3_int64 sqlite3_last_insert_rowid(sqlite3*);
3199 SQLITE_API void sqlite3_set_last_insert_rowid(sqlite3*,sqlite3_int64);
3745 SQLITE_API sqlite3_int64 sqlite3_memory_used(void);
3746 SQLITE_API sqlite3_int64 sqlite3_memory_highwater(int resetFlag);
4383 SQLITE_API sqlite3_int64 sqlite3_uri_int64(const char*, const char*, sqlite3_int64);
5008 SQLITE_API int sqlite3_bind_int64(sqlite3_stmt*, int, sqlite3_int64);
5563 SQLITE_API sqlite3_int64 sqlite3_column_int64(sqlite3_stmt*, int iCol);
5795 SQLITE_API SQLITE_DEPRECATED int sqlite3_memory_alarm(void(*)(void*,sqlite3_int64,int),
5796 void*,sqlite3_int64);
5901 SQLITE_API sqlite3_int64 sqlite3_value_int64(sqlite3_value*);
6229 SQLITE_API void sqlite3_result_int64(sqlite3_context*, sqlite3_int64);
6748 void(*)(void *,int ,char const *,char const *,sqlite3_int64),
6870 SQLITE_API sqlite3_int64 sqlite3_soft_heap_limit64(sqlite3_int64 N);
7152 int (*xRowid)(sqlite3_vtab_cursor*, sqlite3_int64 *pRowid);
7153 int (*xUpdate)(sqlite3_vtab *, int, sqlite3_value **, sqlite3_int64 *);
7290 sqlite3_int64 estimatedRows; /* Estimated number of rows returned */
7553 sqlite3_int64 iRow,
7581 SQLITE_API int sqlite3_blob_reopen(sqlite3_blob *, sqlite3_int64);
8117 sqlite3_int64 *pCurrent,
8118 sqlite3_int64 *pHighwater,
9618 sqlite3_int64 iKey1, /* Rowid of row about to be deleted/updated */
9619 sqlite3_int64 iKey2 /* New rowid value (for a rowid UPDATE) */
9862 typedef sqlite3_int64 sqlite3_rtree_dbl;
9928 sqlite3_int64 iRowid; /* Rowid for current entry */
11545 int (*xRowCount)(Fts5Context*, sqlite3_int64 *pnRow);
11546 int (*xColumnTotalSize)(Fts5Context*, int iCol, sqlite3_int64 *pnToken);
11560 sqlite3_int64 (*xRowid)(Fts5Context*);
12730 # define SQLITE_BIG_DBL (((sqlite3_int64)1)<<50)
13358 SQLITE_PRIVATE int sqlite3BtreeSetMmapLimit(Btree*,sqlite3_int64);
13567 sqlite3_int64 nKey; /* Size of pKey for indexes. PRIMARY KEY for tabs */
14354 SQLITE_PRIVATE void sqlite3PagerSetMmapLimit(Pager *, sqlite3_int64);
14917 SQLITE_PRIVATE int sqlite3OsCurrentTimeInt64(sqlite3_vfs *, sqlite3_int64*);
15274 void*,sqlite3*,int,char const*,char const*,sqlite3_int64,sqlite3_int64
17167 sqlite3_int64 szMmap; /* mmap() space per open file */
17168 sqlite3_int64 mxMmap; /* Maximum value for szMmap */
17461 SQLITE_PRIVATE sqlite3_int64 sqlite3StatusValue(int);
18106 SQLITE_PRIVATE sqlite3_int64 sqlite3StmtCurrentTime(sqlite3_context*);
19201 typedef sqlite3_int64 sqlite3StatValueType;
19247 SQLITE_PRIVATE sqlite3_int64 sqlite3StatusValue(int op){ in sqlite3StatusValue()
19314 sqlite3_int64 *pCurrent, in sqlite3_status64()
19315 sqlite3_int64 *pHighwater, in sqlite3_status64()
19338 sqlite3_int64 iCur = 0, iHwtr = 0; in sqlite3_status()
19626 sqlite3_int64 iJD; /* The julian day number times 86400000 */
19834 p->iJD = (sqlite3_int64)((X1 + X2 + D + B - 1524.5 ) * 86400000); in computeJD()
19837 p->iJD += p->h*3600000 + p->m*60000 + (sqlite3_int64)(p->s*1000); in computeJD()
19916 p->iJD = (sqlite3_int64)(r*86400000.0 + 0.5); in setRawDateNumber()
19970 static int validJulianDay(sqlite3_int64 iJD){ in validJulianDay()
20110 static sqlite3_int64 localtimeOffset( in localtimeOffset()
20249 p->iJD = (sqlite3_int64)r; in parseModifier()
20258 sqlite3_int64 c1; in parseModifier()
20285 sqlite3_int64 Z; in parseModifier()
20354 sqlite3_int64 day; in parseModifier()
20407 p->iJD += (sqlite3_int64)(r*aXformType[i].rXform + rRounder); in parseModifier()
20758 sqlite3_int64 iT; in currentTimeFunc()
20768 t = iT/1000 - 10000*(sqlite3_int64)21086676; in currentTimeFunc()
21076 SQLITE_PRIVATE int sqlite3OsCurrentTimeInt64(sqlite3_vfs *pVfs, sqlite3_int64 *pTimeOut){ in sqlite3OsCurrentTimeInt64()
21089 *pTimeOut = (sqlite3_int64)(r*86400000.0); in sqlite3OsCurrentTimeInt64()
21521 sqlite3_int64 *p; in sqlite3MemMalloc()
21548 sqlite3_int64 *p = (sqlite3_int64*)pPrior; in sqlite3MemFree()
21564 sqlite3_int64 *p; in sqlite3MemSize()
21566 p = (sqlite3_int64*)pPrior; in sqlite3MemSize()
21593 sqlite3_int64 *p = (sqlite3_int64*)pPrior; in sqlite3MemRealloc()
22707 sqlite3_int64 *p; in memsys3Malloc()
23254 sqlite3_int64 *p = 0; in memsys5Malloc()
25180 sqlite3_int64 alarmThreshold; /* The soft heap limit */
25205 void(*xCallback)(void *pArg, sqlite3_int64 used,int N),
25207 sqlite3_int64 iThreshold
25220 SQLITE_API sqlite3_int64 sqlite3_soft_heap_limit64(sqlite3_int64 n){
25221 sqlite3_int64 priorLimit;
25222 sqlite3_int64 excess;
25223 sqlite3_int64 nUsed;
25289 SQLITE_API sqlite3_int64 sqlite3_memory_used(void){
25290 sqlite3_int64 res, mx;
25300 SQLITE_API sqlite3_int64 sqlite3_memory_highwater(int resetFlag){
25301 sqlite3_int64 res, mx;
25342 sqlite3_int64 nUsed = sqlite3StatusValue(SQLITE_STATUS_MEMORY_USED);
26003 static sqlite3_int64 getIntArg(PrintfArguments *p){
30769 sqlite3_int64 mmapSize; /* Usable size of mapping at pMapRegion */
30770 sqlite3_int64 mmapSizeActual; /* Actual size of mapping at pMapRegion */
30771 sqlite3_int64 mmapSizeMax; /* Configured FCNTL_MMAP_SIZE value */
31551 static int robust_ftruncate(int h, sqlite3_int64 sz){
31558 if( sz>(sqlite3_int64)0x7FFFFFFF ){
33908 static int seekAndRead(unixFile *id, sqlite3_int64 offset, void *pBuf, int cnt){
33961 sqlite3_int64 offset
34075 sqlite3_int64 offset
37140 static int unixCurrentTimeInt64(sqlite3_vfs *NotUsed, sqlite3_int64 *piNow){
37141 static const sqlite3_int64 unixEpoch = 24405875*(sqlite3_int64)8640000;
37146 *piNow = ((sqlite3_int64)t)*1000 + unixEpoch;
37150 *piNow = unixEpoch + 1000*(sqlite3_int64)sNow.tv_sec + sNow.tv_nsec/1000000;
37154 *piNow = unixEpoch + 1000*(sqlite3_int64)sNow.tv_sec + sNow.tv_usec/1000;
37159 *piNow = 1000*(sqlite3_int64)sqlite3_current_time + unixEpoch;
37173 sqlite3_int64 i = 0;
38986 sqlite3_int64 mmapSize; /* Usable size of mapped region */
38987 sqlite3_int64 mmapSizeActual; /* Actual size of mapped region */
38988 sqlite3_int64 mmapSizeMax; /* Configured FCNTL_MMAP_SIZE value */
40885 sqlite3_int64 t64;
41267 static int winSeekFile(winFile *pFile, sqlite3_int64 iOffset){
41325 static int winMapfile(winFile*, sqlite3_int64);
41400 sqlite3_int64 offset /* Begin reading at this offset */
41480 sqlite3_int64 offset /* Offset into the file to begin writing at */
41585 static int winTruncate(sqlite3_file *id, sqlite3_int64 nByte){
41727 static int winFileSize(sqlite3_file *id, sqlite3_int64 *pSize){
41755 *pSize = (((sqlite3_int64)upperBits)<<32) + lowerBits;
42182 sqlite3_int64 oldSz;
42185 sqlite3_int64 newSz = *(sqlite3_int64*)pArg;
42882 sqlite3_int64 sz; /* Current size of wal-index file */
43053 static int winMapfile(winFile *pFd, sqlite3_int64 nByte){
43054 sqlite3_int64 nMap = nByte;
43074 nMap &= ~(sqlite3_int64)(winSysInfo.dwPageSize - 1);
43112 assert( sizeof(SIZE_T)==sizeof(sqlite3_int64) || nMap<=0xffffffff );
44543 static int winCurrentTimeInt64(sqlite3_vfs *pVfs, sqlite3_int64 *piNow){
44548 static const sqlite3_int64 winFiletimeEpoch = 23058135*(sqlite3_int64)8640000;
44550 static const sqlite3_int64 unixEpoch = 24405875*(sqlite3_int64)8640000;
44553 static const sqlite3_int64 max32BitValue =
44554 (sqlite3_int64)2000000000 + (sqlite3_int64)2000000000 +
44555 (sqlite3_int64)294967296;
44569 ((((sqlite3_int64)ft.dwHighDateTime)*max32BitValue) +
44570 (sqlite3_int64)ft.dwLowDateTime)/(sqlite3_int64)10000;
44574 *piNow = 1000*(sqlite3_int64)sqlite3_current_time + unixEpoch;
44588 sqlite3_int64 i;
47767 SQLITE_PRIVATE int sqlite3RowSetTest(RowSet *pRowSet, int iBatch, sqlite3_int64 iRowid){
48667 sqlite3_int64 szMmap; /* Desired maximum mmap size */
51513 sqlite3_int64 sz;
51525 SQLITE_PRIVATE void sqlite3PagerSetMmapLimit(Pager *pPager, sqlite3_int64 szMmap){
52379 sqlite3_int64 szFile = pPager->pageSize * (sqlite3_int64)pPager->dbSize;
58782 sqlite3_int64 iSyncPoint; /* Fsync at this offset */
58799 sqlite3_int64 iOffset /* Start writing at this offset */
58824 sqlite3_int64 iOffset /* Byte offset at which to write */
63146 SQLITE_PRIVATE int sqlite3BtreeSetMmapLimit(Btree *p, sqlite3_int64 szMmap){
77783 sqlite3_int64 iNow;
77784 sqlite3_int64 iElapse;
78500 SQLITE_PRIVATE sqlite3_int64 sqlite3StmtCurrentTime(sqlite3_context *p){
78503 sqlite3_int64 *piTime = &p->pVdbe->iCurrentTime;
78506 sqlite3_int64 iTime = 0;
78507 sqlite3_int64 *piTime = p->pVdbe!=0 ? &p->pVdbe->iCurrentTime : &iTime;
79656 *(sqlite3_int64*)pOut = p->anExec[pScan->addrLoop];
79660 *(sqlite3_int64*)pOut = p->anExec[pScan->addrVisit];
87361 static int blobSeekToRow(Incrblob *p, sqlite3_int64 iRow, char **pzErr){
87696 if( n<0 || iOffset<0 || ((sqlite3_int64)iOffset+n)>p->nByte ){
87726 sqlite3_int64 iKey;
87784 SQLITE_API int sqlite3_blob_reopen(sqlite3_blob *pBlob, sqlite3_int64 iRow){
90630 sqlite3_int64 iOffset; /* Offset from the beginning of the file */
90679 sqlite3_int64 iOff = 0;
108633 sqlite3_int64 x;
113455 int (*blob_open)(sqlite3*,const char*,const char*,const char*,sqlite3_int64,
113463 sqlite3_int64 (*memory_highwater)(int);
113464 sqlite3_int64 (*memory_used)(void);
113507 sqlite3_int64 (*soft_heap_limit64)(sqlite3_int64);
113515 int (*blob_reopen)(sqlite3_blob*,sqlite3_int64);
113528 sqlite3_int64 (*uri_int64)(const char*,const char*,sqlite3_int64);
113558 int (*status64)(int,sqlite3_int64*,sqlite3_int64*,int);
113567 void (*set_last_insert_rowid)(sqlite3*,sqlite3_int64);
116150 sqlite3_int64 sz;
117373 sqlite3_int64 N;
117389 sqlite3_int64 N;
136002 pIdxInfo->colUsed = (sqlite3_int64)pSrc->colUsed;
143981 sqlite3_int64 szMmap = va_arg(ap, sqlite3_int64);
143982 sqlite3_int64 mxMmap = va_arg(ap, sqlite3_int64);
144316 SQLITE_API void sqlite3_set_last_insert_rowid(sqlite3 *db, sqlite3_int64 iRowid){
145381 void*,sqlite3*,int,char const*,char const*,sqlite3_int64,sqlite3_int64),
147353 SQLITE_API sqlite3_int64 sqlite3_uri_int64(
147356 sqlite3_int64 bDflt /* return if parameter is missing */
147359 sqlite3_int64 v;
148642 typedef sqlite3_int64 i64; /* 8-byte signed integer */
148791 sqlite3_int64 iPrevId; /* Previous id read from aDoclist */
148798 sqlite3_int64 nDoc; /* Documents in table */
148843 sqlite3_int64 iDocid; /* Current docid (if pList!=0) */
148917 sqlite3_int64 iDocid; /* Current docid */
148946 SQLITE_PRIVATE int sqlite3Fts3UpdateMethod(sqlite3_vtab*,int,sqlite3_value**,sqlite3_int64*);
148950 SQLITE_PRIVATE int sqlite3Fts3SegReaderNew(int, int, sqlite3_int64,
148951 sqlite3_int64, sqlite3_int64, const char *, int, Fts3SegReader**);
148956 SQLITE_PRIVATE int sqlite3Fts3ReadBlock(Fts3Table*, sqlite3_int64, char **, int*, int*);
148959 SQLITE_PRIVATE int sqlite3Fts3SelectDocsize(Fts3Table *, sqlite3_int64, sqlite3_stmt **);
149036 SQLITE_PRIVATE int sqlite3Fts3PutVarint(char *, sqlite3_int64);
149041 SQLITE_PRIVATE void sqlite3Fts3DoclistPrev(int,char*,int,char**,sqlite3_int64*,int*,u8*);
149043 SQLITE_PRIVATE int sqlite3Fts3FirstFilter(sqlite3_int64, char *, int, char *);
149085 Fts3Table *, Fts3MultiSegReader *, sqlite3_int64 *, char **, int *);
149266 static void fts3GetDeltaVarint(char **pp, sqlite3_int64 *pVal){
149267 sqlite3_int64 iVal;
149284 sqlite3_int64 *pVal
149286 sqlite3_int64 iVal;
150389 fts3SetEstimatedRows(pInfo, ((sqlite3_int64)1) << 50);
150630 sqlite3_int64 *piFirst, /* OUT: Selected child node */
150631 sqlite3_int64 *piLast /* OUT: Selected child node */
150639 sqlite3_int64 iChild; /* Block id of child node to descend to */
150753 sqlite3_int64 *piLeaf, /* Selected leaf node */
150754 sqlite3_int64 *piLeaf2 /* Selected leaf node */
150797 sqlite3_int64 *piPrev, /* IN/OUT: Previous value written to list */
150798 sqlite3_int64 iVal /* Write this value to the list */
150913 sqlite3_int64 *pi /* IN/OUT: Value read from position-list */
150972 sqlite3_int64 i1 = 0; /* Last position from pp1 */
150973 sqlite3_int64 i2 = 0; /* Last position from pp2 */
150974 sqlite3_int64 iPrev = 0;
151070 sqlite3_int64 iPrev = 0;
151071 sqlite3_int64 iPos1 = 0;
151072 sqlite3_int64 iPos2 = 0;
151088 sqlite3_int64 iSave;
151226 sqlite3_int64 *pVal /* IN/OUT: Integer value */
151231 sqlite3_int64 iVal;
151259 sqlite3_int64 *piPrev, /* IN/OUT: Previous value written to list */
151261 sqlite3_int64 iVal /* Write this value to the list */
151263 sqlite3_int64 iWrite;
151308 sqlite3_int64 i1 = 0;
151309 sqlite3_int64 i2 = 0;
151310 sqlite3_int64 iPrev = 0;
151358 sqlite3_int64 iDiff = DOCID_CMP(i1, i2);
151400 sqlite3_int64 i1 = 0;
151401 sqlite3_int64 i2 = 0;
151402 sqlite3_int64 iPrev = 0;
151425 sqlite3_int64 iDiff = DOCID_CMP(i1, i2);
151428 sqlite3_int64 iPrevSave = iPrev;
151466 sqlite3_int64 iDelta, /* Varint that may be written to pOut */
151486 sqlite3_int64 iCol;
151706 sqlite3_int64 iStartBlock = sqlite3_column_int64(pStmt, 1);
151707 sqlite3_int64 iLeavesEndBlock = sqlite3_column_int64(pStmt, 2);
151708 sqlite3_int64 iEndBlock = sqlite3_column_int64(pStmt, 3);
151715 sqlite3_int64 *pi = (isPrefix ? &iLeavesEndBlock : 0);
151974 # define LARGEST_INT64 (0xffffffff|(((sqlite3_int64)0x7fffffff)<<32))
151975 # define SMALLEST_INT64 (((sqlite3_int64)-1) - LARGEST_INT64)
151983 static sqlite3_int64 fts3DocidRange(sqlite3_value *pVal, i64 iDefault){
153162 sqlite3_int64 *piDocid, /* IN/OUT: Docid pointer */
153174 sqlite3_int64 iDocid = 0;
153181 sqlite3_int64 iDelta;
153195 sqlite3_int64 iDelta;
153218 sqlite3_int64 *piDocid, /* IN/OUT: Docid pointer */
153237 sqlite3_int64 iVar;
153268 sqlite3_int64 iDelta;
153299 sqlite3_int64 iDocid;
153394 sqlite3_int64 iMax = 0; /* Largest docid for all iterators */
153627 sqlite3_int64 nDoc = 0;
153628 sqlite3_int64 nByte = 0;
153993 sqlite3_int64 iDiff = DOCID_CMP(pLeft->iDocid, pRight->iDocid);
154027 sqlite3_int64 iCmp = DOCID_CMP(pLeft->iDocid, pRight->iDocid);
154463 sqlite3_int64 iPrevId = pCsr->iPrevId;
154464 sqlite3_int64 iDocid;
154620 sqlite3_int64 iDocid;
154823 sqlite3_int64 iRowid; /* Current rowid */
154828 sqlite3_int64 nDoc; /* 'documents' values for current csr row */
154829 sqlite3_int64 nOcc; /* 'occurrences' values for current csr row */
155089 sqlite3_int64 v = 0;
158873 *pRowid = (sqlite3_int64)pCsr->iRowid;
159000 static void fts3LogMerge(int nMerge, sqlite3_int64 iAbsLevel){
159020 sqlite3_int64 iLastDocid;
159021 sqlite3_int64 iLastCol;
159022 sqlite3_int64 iLastPos;
159058 sqlite3_int64 iStartBlock; /* Rowid of first leaf block to traverse */
159059 sqlite3_int64 iLeafEndBlock; /* Rowid of final leaf block to traverse */
159060 sqlite3_int64 iEndBlock; /* Rowid of final block in segment (or 0) */
159061 sqlite3_int64 iCurrentBlock; /* Current leaf block (or 0) */
159086 sqlite3_int64 iDocid;
159103 sqlite3_int64 iFirst; /* First slot in %_segments written */
159104 sqlite3_int64 iFree; /* Next free slot in %_segments */
159347 sqlite3_int64 iDocid, /* Docid to bind for SQL_SELECT_DOCSIZE */
159393 sqlite3_int64 iDocid, /* Docid to read size data for */
159478 static sqlite3_int64 getAbsoluteLevel(
159484 sqlite3_int64 iBase; /* First absolute level for iLangid/iIndex */
159489 iBase = ((sqlite3_int64)iLangid * p->nIndex + iIndex) * FTS3_SEGDIR_MAXLEVEL;
159559 sqlite3_int64 i /* Value to append to data */
159603 sqlite3_int64 iDocid, /* Docid for entry to add */
159604 sqlite3_int64 iCol, /* Column for entry to add */
159605 sqlite3_int64 iPos, /* Position of term for entry to add */
159614 sqlite3_int64 iDelta = iDocid - (p ? p->iLastDocid : 0);
159871 sqlite3_int64 *piDocid /* OUT: Docid for row just inserted */
160112 sqlite3_int64 iBlockid, /* Access the row with blockid=$iBlockid */
160445 sqlite3_int64 iDelta;
160479 sqlite3_int64 jj;
160517 sqlite3_int64 iStartLeaf, /* First leaf to traverse */
160518 sqlite3_int64 iEndLeaf, /* Final leaf to traverse */
160519 sqlite3_int64 iEndBlock, /* Final block of segment */
160820 sqlite3_int64 iBlock, /* Block id for new block */
160861 sqlite3_int64 iLevel, /* Value for "level" field (absolute level) */
160863 sqlite3_int64 iStartBlock, /* Value for "start_block" field */
160864 sqlite3_int64 iLeafEndBlock, /* Value for "leaves_end_block" field */
160865 sqlite3_int64 iEndBlock, /* Value for "end_block" field */
160866 sqlite3_int64 nLeafData, /* Bytes of leaf data in segment */
161029 sqlite3_int64 iLeftChild
161056 sqlite3_int64 iLeaf, /* Block id of first leaf node */
161057 sqlite3_int64 iFree, /* Block id of next free slot in %_segments */
161058 sqlite3_int64 *piLast, /* OUT: Block id of last entry written */
161072 sqlite3_int64 iNextFree = iFree;
161073 sqlite3_int64 iNextLeaf = iLeaf;
161266 sqlite3_int64 iLevel, /* Value for 'level' column of %_segdir */
161271 sqlite3_int64 iLast = 0; /* Largest block id written to database */
161272 sqlite3_int64 iLastLeaf; /* Largest leaf block id written to db */
161349 sqlite3_int64 *pnMax
161563 sqlite3_int64 *piDocid, /* OUT: Docid value */
161590 sqlite3_int64 iDocid = apSegment[0]->iDocid;
161833 sqlite3_int64 iPrev = 0; /* Previous docid stored in doclist */
161848 sqlite3_int64 iDocid = apSegment[0]->iDocid;
161867 sqlite3_int64 iDelta;
161984 sqlite3_int64 iAbsLevel, /* Absolute level just updated */
161985 sqlite3_int64 nByte /* Size of new segment at iAbsLevel */
162092 sqlite3_int64 iNewLevel = 0; /* Level/index to create new segment at */
162225 j += sqlite3Fts3PutVarint(&zBuf[j], (sqlite3_int64)a[i]);
162242 sqlite3_int64 x;
162496 sqlite3_int64 iAbsLevel, /* Absolute level to open */
162560 sqlite3_int64 iBlock; /* Current block id */
162572 sqlite3_int64 iAbsLevel; /* Absolute level of input segments */
162574 sqlite3_int64 iStart; /* Block number of first allocated block */
162575 sqlite3_int64 iEnd; /* Block number of last allocated block */
162576 sqlite3_int64 nLeafData; /* Bytes of leaf page data so far */
162595 sqlite3_int64 iChild; /* Pointer to child node */
162719 sqlite3_int64 iPtr = pWriter->aNodeWriter[0].iBlock;
162724 sqlite3_int64 iNextPtr = 0;
163065 static int fts3IsAppendable(Fts3Table *p, sqlite3_int64 iEnd, int *pbRes){
163098 sqlite3_int64 iAbsLevel, /* Absolute level of input segments */
163109 sqlite3_int64 iStart = 0; /* Value of %_segdir.start_block */
163110 sqlite3_int64 iLeafEnd = 0; /* Value of %_segdir.leaves_end_block */
163111 sqlite3_int64 iEnd = 0; /* Value of %_segdir.end_block */
163230 sqlite3_int64 iAbsLevel, /* Absolute index of input segments */
163275 sqlite3_int64 iAbsLevel, /* Absolute level of input segments */
163340 sqlite3_int64 iAbsLevel, /* Absolute level to delete from */
163364 sqlite3_int64 iAbsLevel /* Absolute level to repack */
163418 static void fts3StartNode(Blob *pNode, int iHeight, sqlite3_int64 iChild){
163443 sqlite3_int64 *piBlock /* OUT: Block number in next layer down */
163494 sqlite3_int64 iAbsLevel, /* Absolute level of segment to modify */
163502 sqlite3_int64 iBlock = 0; /* Block id */
163503 sqlite3_int64 iNewStart = 0; /* New value for iStartBlock */
163504 sqlite3_int64 iOldStart = 0; /* Old value for iStartBlock */
163579 sqlite3_int64 iAbsLevel, /* Absolute level containing segments */
163741 sqlite3_int64 iAbsLevel = 0; /* Absolute level number to work on */
163783 sqlite3_int64 iHintAbsLevel = 0; /* Hint level */
164288 sqlite3_int64 iDocid; /* Docid of the row pCsr points to */
164344 sqlite3_int64 dummy;
164702 sqlite3_int64 nDoc; /* Number of docs in database */
165639 sqlite3_int64 *pnDoc,
165644 sqlite3_int64 nDoc;
165699 sqlite3_int64 iRead;
165833 sqlite3_int64 nDoc = 0;
165841 sqlite3_int64 nDoc; /* Number of rows in table */
165849 sqlite3_int64 nToken;
165865 sqlite3_int64 nToken;
166118 sqlite3_int64 iDocid;
167153 typedef sqlite3_int64 i64;
167252 typedef sqlite3_int64 RtreeDValue; /* High accuracy coordinate */
167272 sqlite3_int64 id; /* Node ID */
168403 sqlite3_int64 id;
168704 sqlite3_int64 *piNode /* Write the node-id here */
169112 sqlite3_int64 iBest = 0;
169188 static int rowidWrite(Rtree *pRtree, sqlite3_int64 iRowid, sqlite3_int64 iNode){
169198 static int parentWrite(Rtree *pRtree, sqlite3_int64 iNode, sqlite3_int64 iPar){
169454 int (*xSetMapping)(Rtree *, sqlite3_int64, sqlite3_int64);
169935 static int rtreeDeleteRowid(Rtree *pRtree, sqlite3_int64 iDelete){
172603 SQLITE_API sqlite3_int64 sqlite3rbu_temp_size_limit(sqlite3rbu*, sqlite3_int64);
172609 SQLITE_API sqlite3_int64 sqlite3rbu_temp_size(sqlite3rbu*);
172695 SQLITE_API sqlite3_int64 sqlite3rbu_progress(sqlite3rbu *pRbu);
172936 typedef sqlite3_int64 i64;
176582 SQLITE_API sqlite3_int64 sqlite3rbu_progress(sqlite3rbu *pRbu){
176759 static int rbuUpdateTempSize(rbu_file *pFd, sqlite3_int64 nNew){
177462 sqlite3_int64 sz = 0;
177656 SQLITE_API sqlite3_int64 sqlite3rbu_temp_size_limit(sqlite3rbu *pRbu, sqlite3_int64 n){
177663 SQLITE_API sqlite3_int64 sqlite3rbu_temp_size(sqlite3rbu *pRbu){
178089 sqlite3_int64 x[2];
179085 static sqlite3_int64 sessionGetI64(u8 *aRec){
179089 return (sqlite3_int64)x;
179095 static void sessionPutI64(u8 *aBuf, sqlite3_int64 i){
180091 sqlite3_int64 iKey1, /* Rowid of row about to be deleted/updated */
180092 sqlite3_int64 iKey2 /* New rowid value (for a rowid UPDATE) */
180757 sqlite3_int64 i;
180841 sqlite3_int64 iVal = sessionGetI64(&pCsr[1]);
181540 sqlite3_int64 v = sessionGetI64(aVal);
183652 # define LARGEST_INT64 (0xffffffff|(((sqlite3_int64)0x7fffffff)<<32))
183653 # define SMALLEST_INT64 (((sqlite3_int64)-1) - LARGEST_INT64)
184158 sqlite3_int64 i = 0;
184996 sqlite3_int64 n = 0;
185688 sqlite3_result_int64(ctx, (sqlite3_int64)iKey);
185710 (sqlite3_int64)p->i + ((pThis->jnFlags & JNODE_LABEL)!=0));
185715 sqlite3_result_int64(ctx, (sqlite3_int64)p->sParse.aUp[p->i]);
185824 sqlite3_int64 n;
186327 int (*xRowCount)(Fts5Context*, sqlite3_int64 *pnRow);
186328 int (*xColumnTotalSize)(Fts5Context*, int iCol, sqlite3_int64 *pnToken);
186342 sqlite3_int64 (*xRowid)(Fts5Context*);
186662 typedef sqlite3_int64 i64;
189381 sqlite3_int64 *pn = (sqlite3_int64*)pUserData;
189403 sqlite3_int64 nRow = 0; /* Number of rows in table */
189404 sqlite3_int64 nToken = 0; /* Number of tokens in table */
189428 sqlite3_int64 nHit = 0;
202224 sqlite3_int64 iDel = sqlite3_value_int64(apVal[1]);
202439 sqlite3_int64 *pnToken
202654 static sqlite3_int64 fts5ApiRowid(Fts5Context *pCtx){
207439 sqlite3_int64 iRowid; /* The rowid */