Lines Matching defs:i64

122 typedef sqlite3_int64 i64;
1935 i64 len;
1936 i64 i;
1937 i64 nAppend = strlen30(zAppend);
5737 /* Get ix into signed i64 range. */
9430 /* typedef sqlite3_int64 i64; */
9636 i64 iDataOff; /* Offset to data in file (if aData==0) */
9647 i64 iId; /* Cursor ID */
9653 i64 iNextOff; /* Offset of next record in central directory */
9669 i64 iNextCsrid;
9675 i64 szCurrent; /* Current size of zip archive */
9676 i64 szOrig; /* Size of archive at start of transaction */
9903 i64 iOff, /* Offset to read from */
10106 i64 JDsec;
10121 JDsec = (i64)((X1 + X2 + D + B - 1524.5)*86400) + hr*3600 + min*60 + sec;
10122 return (u32)(JDsec - (i64)24405875*(i64)8640);
10132 i64 JD = (i64)2440588 + mUnixTime / (24*60*60);
10183 i64 iOff, /* Offset of CDS record */
10282 i64 iEof = pCsr->eocd.iOffset + pCsr->eocd.nSize;
10530 i64 iOff; /* Offset to read from */
10531 i64 szFile; /* Total size of file in bytes */
10533 szFile = (i64)ftell(pFile);
10608 i64 iOff;
10866 pTab->szCurrent = pTab->szOrig = (i64)ftell(pTab->pWriteFd);
10886 i64 ms;
10888 ret = (u32)((ms/1000) - ((i64)24405875 * 8640));
10949 i64 sz = 0; /* Uncompressed size */
11203 i64 iOffset = pTab->szCurrent;
11233 static ZipfileCsr *zipfileFindCursor(ZipfileTab *pTab, i64 iId){
11591 assert( sizeof(i64)==8 );
11953 /* typedef sqlite3_int64 i64; */
11996 i64 covering; /* Mask of columns required for cov. index */
13410 i64 iVal; /* SQLITE_INTEGER value */
13648 i64 iPrev = -100000;
13699 i64 iRowid = sqlite3_column_int64(pAllIndex, 0);
16506 /* typedef sqlite3_int64 i64; */
16614 i64 nPg; /* Size of bitmap */
16635 i64 iRowid;
16636 i64 iPrevPage;
16648 i64 nPg; /* Size of db in pages */
16801 static void *recoverMalloc(sqlite3_recover *p, i64 nByte){
16855 static RecoverBitmap *recoverBitmapAlloc(sqlite3_recover *p, i64 nPg){
16876 static void recoverBitmapSet(RecoverBitmap *pMap, i64 iPg){
16888 static int recoverBitmapQuery(RecoverBitmap *pMap, i64 iPg){
17068 static i64 recoverPageCount(sqlite3_recover *p){
17069 i64 nPg = 0;
17106 i64 iVal = ((i64)a[0]<<24)
17107 + ((i64)a[1]<<16)
17108 + ((i64)a[2]<< 8)
17109 + ((i64)a[3]<< 0);
17132 i64 pgno = sqlite3_value_int64(apArg[0]);
17157 i64 pgno = sqlite3_value_int64(apArg[0]);
17162 i64 nPg = recoverPageCount(p);
17260 i64 nMax = (nNL > nCR) ? nNL : nCR;
17261 i64 nAlloc = nMax * nText + (nMax+64)*2;
17512 i64 iRoot /* Root page of same table in INPUT db */
17644 i64 iRoot = sqlite3_column_int64(pSelect, 0);
17954 i64 iPg,
17955 i64 *piRoot
17986 static void recoverLostAndFoundOnePage(sqlite3_recover *p, i64 iPage){
17994 i64 iRoot = 0;
17996 i64 iRowid = 0;
18074 i64 iPage = sqlite3_column_int64(pLaf->pAllPage, 0);
18198 i64 iRoot = sqlite3_column_int64(p1->pTbls, 0);
18236 i64 iPage = sqlite3_column_int64(pSel, 0);
18375 i64 iPg = sqlite3_column_int64(pLaf->pUsedPages, 0);
18427 i64 iChild = sqlite3_column_int(pLaf->pAllAndParent, 1);
18527 static int recoverGetVarint(const u8 *a, i64 *pVal){
18593 i64 nPayload = 0;
18602 i64 dummy = 0;
18720 i64 nSz /* Size of database file in bytes */
18774 static int recoverVfsRead(sqlite3_file *pFd, void *aBuf, int nByte, i64 iOff){
18827 i64 dbFileSize = 0;
18906 sqlite3_file *pFd, const void *aBuf, int nByte, i64 iOff
20033 static void output_json_string(const char *z, i64 n){
20352 i64 nText;
20399 i64 n = strlen(p->sGraph.zPrefix);
20405 if( n<(i64)sizeof(p->sGraph.zPrefix)-7 ){
20416 static void eqp_render(ShellState *p, i64 nCycle){
21348 i64 nTotal = 0;
21365 i64 nLoop = 0;
21366 i64 nRow = 0;
21367 i64 nCycle = 0;
23630 i64 nLine = strlen(zLine);
23631 i64 i, iStart;
23636 if( nLine>(i64)sizeof(zBuf)-30 ) return;
23652 if( iStart+nCompletion < (i64)sizeof(zBuf)-1 && zCompletion ){
23806 i64 nSql;
25767 static int intckDatabaseCmd(ShellState *pState, i64 nStepPerUnlock){
25773 i64 nStep = 0;
25774 i64 nError = 0;
26899 i64 nByte; /* Number of bytes in an SQL string */
27313 i64 iArg = 0;
29858 i64 nZ = 0;
29892 i64 nLine; /* Length of current line */
29893 i64 nSql = 0; /* Bytes of zSql[] used */
29894 i64 nAlloc = 0; /* Allocated zSql[] space */
29897 i64 startline = 0; /* Line number for start of current input */
29957 i64 i;
30059 i64 n = strlen(home_dir) + 1;
30410 i64 n;