Lines Matching refs:sqlite3_int64
102 typedef sqlite3_int64 i64;
255 static sqlite3_int64 timeOfDay(void){ in timeOfDay()
257 sqlite3_int64 t; in timeOfDay()
265 t = (sqlite3_int64)(r*86400000.0); in timeOfDay()
285 static sqlite3_int64 iBegin; /* Wall-clock time at start */
308 sqlite3_int64 iEnd = timeOfDay(); in endTimer()
328 static sqlite3_int64 ftWallBegin;
388 sqlite3_int64 ftWallEnd = timeOfDay(); in endTimer()
792 static sqlite3_int64 integerValue(const char *zArg){ in integerValue()
793 sqlite3_int64 v = 0; in integerValue()
2071 sqlite3_int64 v = sqlite3_column_int64(pStmt,i); in sha3QueryFunc()
2291 sqlite3_int64 nIn; in readFileContents()
2317 if( nIn==(sqlite3_int64)fread(pBuf, 1, (size_t)nIn, in) ){ in readFileContents()
2520 sqlite3_int64 mtime /* MTIME parameter (or -1 to not set time) */ in writeFile()
2545 sqlite3_int64 nWrite = 0; in writeFile()
2552 sqlite3_int64 n = fwrite(z, 1, sqlite3_value_bytes(pData), out); in writeFile()
2637 sqlite3_int64 mtime = -1; in writefileFunc()
2733 sqlite3_int64 iRowid; /* Current rowid */
2849 sqlite3_int64 nByte = nNew*sizeof(FsdirLevel); in fsdirNext()
2930 sqlite3_int64 nBuf = 64; in fsdirColumn()
3250 sqlite3_int64 iRowid; /* The rowid */
3766 #define APND_ALIGN_MASK ((sqlite3_int64)(APND_ROUNDUP-1))
3817 sqlite3_int64 iPgOne; /* Offset to the start of the database */
3818 sqlite3_int64 iMark; /* Offset of the append mark. -1 if unwritten */
3826 static int apndRead(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
3827 static int apndWrite(sqlite3_file*,const void*,int iAmt, sqlite3_int64 iOfst);
3828 static int apndTruncate(sqlite3_file*, sqlite3_int64 size);
3830 static int apndFileSize(sqlite3_file*, sqlite3_int64 *pSize);
3841 static int apndFetch(sqlite3_file*, sqlite3_int64 iOfst, int iAmt, void **pp);
3842 static int apndUnfetch(sqlite3_file*, sqlite3_int64 iOfst, void *p);
3859 static int apndCurrentTimeInt64(sqlite3_vfs*, sqlite3_int64*);
4043 if( op==SQLITE_FCNTL_SIZE_HINT ) *(sqlite3_int64*)pArg += paf->iPgOne; in apndFileControl()
4100 sqlite3_int64 iOfst, in apndFetch()
4113 static int apndUnfetch(sqlite3_file *pFile, sqlite3_int64 iOfst, void *pPage){ in apndUnfetch()
4128 static sqlite3_int64 apndReadMark(sqlite3_int64 sz, sqlite3_file *pFile){ in apndReadMark()
4130 sqlite3_int64 iMark; in apndReadMark()
4138 iMark = ((sqlite3_int64)(a[APND_MARK_PREFIX_SZ] & 0x7f)) << msbs; in apndReadMark()
4141 iMark |= (sqlite3_int64)a[APND_MARK_PREFIX_SZ+i]<<msbs; in apndReadMark()
4153 static int apndIsAppendvfsDatabase(sqlite3_int64 sz, sqlite3_file *pFile){ in apndIsAppendvfsDatabase()
4156 sqlite3_int64 iMark = apndReadMark(sz, pFile); in apndIsAppendvfsDatabase()
4178 static int apndIsOrdinaryDatabaseFile(sqlite3_int64 sz, sqlite3_file *pFile){ in apndIsOrdinaryDatabaseFile()
4205 sqlite3_int64 sz = 0; in apndOpen()
4308 static int apndCurrentTimeInt64(sqlite3_vfs *pVfs, sqlite3_int64 *p){ in apndCurrentTimeInt64()
5314 sqlite3_int64 m, a; in ieee754func()
5345 m = a & ((((sqlite3_int64)1)<<52)-1); in ieee754func()
5349 m |= ((sqlite3_int64)1)<<52; in ieee754func()
5371 sqlite3_int64 m, e, a; in ieee754func()
5412 a = m & ((((sqlite3_int64)1)<<52)-1); in ieee754func()
5589 sqlite3_int64 iRowid; /* The rowid */
5590 sqlite3_int64 iValue; /* Current value ("value") */
5591 sqlite3_int64 mnValue; /* Mimimum value ("start") */
5592 sqlite3_int64 mxValue; /* Maximum value ("stop") */
5593 sqlite3_int64 iStep; /* Increment ("step") */
5694 sqlite3_int64 x = 0; in seriesColumn()
7117 pNew = (ZipfileTab*)sqlite3_malloc64((sqlite3_int64)nByte+nFile); in zipfileConnect()
7559 sqlite3_int64 nAlloc; in zipfileGetEntry()
7735 sqlite3_int64 nAlloc; in zipfileDeflate()
8660 sqlite3_int64 nNew = pBuf->n ? pBuf->n*2 : 512; in zipfileBufferGrow()
8858 sqlite3_int64 nZip; in zipfileFinal()
11377 sqlite3_int64 iRowid;
11387 sqlite3_int64 iIntkey; /* Integer key value */
11636 static int dbdataGetVarint(const u8 *z, sqlite3_int64 *pVal){ in dbdataGetVarint()
11637 sqlite3_int64 v = 0; in dbdataGetVarint()
11720 sqlite3_result_int64(pCtx, (sqlite3_int64)v); in dbdataValue()
11780 sqlite3_int64 nPayload = 0; in dbdataNext()
11781 sqlite3_int64 nHdr = 0; in dbdataNext()
11865 sqlite3_int64 nRem = nPayload - nLocal; in dbdataNext()
11896 sqlite3_int64 iType; in dbdataNext()
12056 sqlite3_int64 iType; in dbdataColumn()
12208 sqlite3_int64 szMax; /* --maxsize argument to .open */
12426 sqlite3_int64 sz; in editFunc()
12427 sqlite3_int64 x; in editFunc()
12513 sqlite3_int64 i, j; in editFunc()
13722 sqlite3_int64 iCur = -1; in displayStatLine()
13723 sqlite3_int64 iHiwtr = -1; in displayStatLine()
13895 sqlite3_int64 nLoop, nVisit; in display_scanstats()
13917 nLoop, nVisit, (sqlite3_int64)(rEstLoop+0.5), rEst in display_scanstats()
14208 sqlite3_int64 nRow = 0; in exec_prepared_stmt_columnar()
14211 sqlite3_int64 nAlloc = 0; in exec_prepared_stmt_columnar()
14214 sqlite3_int64 i, nData; in exec_prepared_stmt_columnar()
15579 sqlite3_int64 iVal = ((sqlite3_int64)a[0]<<24) in shellInt32()
15580 + ((sqlite3_int64)a[1]<<16) in shellInt32()
15581 + ((sqlite3_int64)a[2]<< 8) in shellInt32()
15582 + ((sqlite3_int64)a[3]<< 0); in shellInt32()
16097 sqlite3_int64 nNanosec = *(sqlite3_int64*)pX; in sql_trace_callback()
17975 static void *shellMalloc(int *pRc, sqlite3_int64 nByte){ in shellMalloc()
19187 sqlite3_int64 iRes = 0; /* Integer result to display if rc2==1 */ in do_meta_command()
20813 int i; sqlite3_int64 v; in do_meta_command()
22440 sqlite3_int64 szHeap;
22450 sqlite3_int64 n, sz;
22494 sqlite3_int64 sz = integerValue(cmdline_option_value(argc,argv,++i));
22498 sqlite3_int64 sz = integerValue(cmdline_option_value(argc,argv,++i));