Lines Matching defs:i64
121 typedef sqlite3_int64 i64;
716 i64 nTrans = strlen(zTrans)+1;
852 i64 len;
853 i64 i;
854 i64 nAppend = strlen30(zAppend);
6896 /* typedef sqlite3_int64 i64; */
7102 i64 iDataOff; /* Offset to data in file (if aData==0) */
7113 i64 iId; /* Cursor ID */
7119 i64 iNextOff; /* Offset of next record in central directory */
7135 i64 iNextCsrid;
7141 i64 szCurrent; /* Current size of zip archive */
7142 i64 szOrig; /* Size of archive at start of transaction */
7368 i64 iOff, /* Offset to read from */
7571 i64 JDsec;
7586 JDsec = (i64)((X1 + X2 + D + B - 1524.5)*86400) + hr*3600 + min*60 + sec;
7587 return (u32)(JDsec - (i64)24405875*(i64)8640);
7597 i64 JD = (i64)2440588 + mUnixTime / (24*60*60);
7648 i64 iOff, /* Offset of CDS record */
7746 i64 iEof = pCsr->eocd.iOffset + pCsr->eocd.nSize;
7991 i64 iOff; /* Offset to read from */
7992 i64 szFile; /* Total size of file in bytes */
7994 szFile = (i64)ftell(pFile);
8069 i64 iOff;
8323 pTab->szCurrent = pTab->szOrig = (i64)ftell(pTab->pWriteFd);
8343 i64 ms;
8345 ret = (u32)((ms/1000) - ((i64)24405875 * 8640));
8396 i64 sz = 0; /* Uncompressed size */
8648 i64 iOffset = pTab->szCurrent;
8678 static ZipfileCsr *zipfileFindCursor(ZipfileTab *pTab, i64 iId){
9034 assert( sizeof(i64)==8 );
9394 /* typedef sqlite3_int64 i64; */
9437 i64 covering; /* Mask of columns required for cov. index */
10850 i64 iVal; /* SQLITE_INTEGER value */
11087 i64 iPrev = -100000;
11138 i64 iRowid = sqlite3_column_int64(pAllIndex, 0);
12646 /* typedef sqlite3_int64 i64; */
12754 i64 nPg; /* Size of bitmap */
12775 i64 iRowid;
12776 i64 iPrevPage;
12788 i64 nPg; /* Size of db in pages */
12941 static void *recoverMalloc(sqlite3_recover *p, i64 nByte){
12995 static RecoverBitmap *recoverBitmapAlloc(sqlite3_recover *p, i64 nPg){
13016 static void recoverBitmapSet(RecoverBitmap *pMap, i64 iPg){
13028 static int recoverBitmapQuery(RecoverBitmap *pMap, i64 iPg){
13208 static i64 recoverPageCount(sqlite3_recover *p){
13209 i64 nPg = 0;
13246 i64 iVal = ((i64)a[0]<<24)
13247 + ((i64)a[1]<<16)
13248 + ((i64)a[2]<< 8)
13249 + ((i64)a[3]<< 0);
13272 i64 pgno = sqlite3_value_int64(apArg[0]);
13297 i64 pgno = sqlite3_value_int64(apArg[0]);
13302 i64 nPg = recoverPageCount(p);
13399 i64 nMax = (nNL > nCR) ? nNL : nCR;
13400 i64 nAlloc = nMax * nText + (nMax+64)*2;
13649 i64 iRoot /* Root page of same table in INPUT db */
13781 i64 iRoot = sqlite3_column_int64(pSelect, 0);
14091 i64 iPg,
14092 i64 *piRoot
14123 static void recoverLostAndFoundOnePage(sqlite3_recover *p, i64 iPage){
14131 i64 iRoot = 0;
14133 i64 iRowid = 0;
14211 i64 iPage = sqlite3_column_int64(pLaf->pAllPage, 0);
14335 i64 iRoot = sqlite3_column_int64(p1->pTbls, 0);
14373 i64 iPage = sqlite3_column_int64(pSel, 0);
14512 i64 iPg = sqlite3_column_int64(pLaf->pUsedPages, 0);
14564 i64 iChild = sqlite3_column_int(pLaf->pAllAndParent, 1);
14664 static int recoverGetVarint(const u8 *a, i64 *pVal){
14730 i64 nPayload = 0;
14739 i64 dummy = 0;
14857 i64 nSz /* Size of database file in bytes */
14911 static int recoverVfsRead(sqlite3_file *pFd, void *aBuf, int nByte, i64 iOff){
14964 i64 dbFileSize = 0;
15043 sqlite3_file *pFd, const void *aBuf, int nByte, i64 iOff
16114 static void output_json_string(FILE *out, const char *z, i64 n){
16419 i64 nText;
16466 i64 n = strlen(p->sGraph.zPrefix);
16473 if( n<(i64)sizeof(p->sGraph.zPrefix)-7 ){
19387 i64 nText = sqlite3_value_bytes(argv[0]);
19388 i64 i;
19393 i64 nCR = 0;
19394 i64 nNL = 0;
19408 i64 iOut = 0;
19409 i64 nMax = (nNL > nCR) ? nNL : nCR;
19410 i64 nAlloc = nMax * nText + (nMax+64)*2;
19649 i64 nLine = strlen(zLine);
19650 i64 i, iStart;
19816 i64 nSql;
25454 i64 nZ = 0;
25488 i64 nLine; /* Length of current line */
25489 i64 nSql = 0; /* Bytes of zSql[] used */
25490 i64 nAlloc = 0; /* Allocated zSql[] space */
25493 i64 startline = 0; /* Line number for start of current input */
25551 i64 i;
25651 i64 n = strlen(home_dir) + 1;
25944 i64 n;