Home
last modified time | relevance | path

Searched refs:LARGEST_INT64 (Results 1 – 15 of 15) sorted by relevance

/sqlite-3.40.0/ext/misc/
H A Dtotype.c59 #ifndef LARGEST_INT64
60 # define LARGEST_INT64 (0xffffffff|(((sqlite3_int64)0x7fffffff)<<32)) macro
64 # define SMALLEST_INT64 (((sqlite3_int64)-1) - LARGEST_INT64)
148 if( u>LARGEST_INT64 ){ in totypeAtoi64()
161 assert( u<=LARGEST_INT64 ); in totypeAtoi64()
168 assert( u<=LARGEST_INT64 ); in totypeAtoi64()
176 assert( u-1==LARGEST_INT64 ); in totypeAtoi64()
235 while( z<zEnd && totypeIsdigit(*z) && s<((LARGEST_INT64-9)/10) ){ in totypeAtoF()
250 while( z<zEnd && totypeIsdigit(*z) && s<((LARGEST_INT64-9)/10) ){ in totypeAtoF()
302 while( s<(LARGEST_INT64/10) && e>0 ) e--,s*=10; in totypeAtoF()
H A Dunionvtab.c150 #ifndef LARGEST_INT64
151 # define LARGEST_INT64 (0xffffffff|(((sqlite3_int64)0x7fffffff)<<32)) macro
154 # define SMALLEST_INT64 (((sqlite3_int64)-1) - LARGEST_INT64)
1146 sqlite3_int64 iMax = LARGEST_INT64; in unionFilter()
1180 if( iMin==LARGEST_INT64 ){ in unionFilter()
1221 if( iMax!=LARGEST_INT64 && iMax<pSrc->iMax ){ in unionFilter()
/sqlite-3.40.0/src/
H A Dutil.c491 if( s>=((LARGEST_INT64-9)/10) ){ in sqlite3AtoF()
506 if( s<((LARGEST_INT64-9)/10) ){ in sqlite3AtoF()
744 if( u>LARGEST_INT64 ){ in sqlite3Atoi64()
749 *pNum = neg ? SMALLEST_INT64 : LARGEST_INT64; in sqlite3Atoi64()
772 assert( u<=LARGEST_INT64 ); in sqlite3Atoi64()
779 assert( u<=LARGEST_INT64 ); in sqlite3Atoi64()
789 assert( u-1==LARGEST_INT64 ); in sqlite3Atoi64()
1444 testcase( iA>0 && LARGEST_INT64 - iA == iB ); in sqlite3AddInt64()
1477 if( iA>LARGEST_INT64/iB ) return 1; in sqlite3MulInt64()
1485 if( -iA>LARGEST_INT64/-iB ) return 1; in sqlite3MulInt64()
[all …]
H A Dvdbemem.c591 static const i64 maxInt = LARGEST_INT64; in doubleToInt64()
702 if( pMem->u.r==ix && ix>SMALLEST_INT64 && ix<LARGEST_INT64 ){ in sqlite3VdbeIntegerAffinity()
758 if( r>=(double)LARGEST_INT64) return LARGEST_INT64; in sqlite3RealToI64()
1639 pVal->u.r = LARGEST_INT64; in valueFromExpr()
H A Djson.c556 if( i>=LARGEST_INT64/10 ){ in jsonReturn()
557 if( i>LARGEST_INT64/10 ) goto int_as_real; in jsonReturn()
H A DsqliteInt.h940 #define LARGEST_INT64 (0xffffffff|(((i64)0x7fffffff)<<32)) macro
942 #define SMALLEST_INT64 (((i64)-1) - LARGEST_INT64)
H A Dfunc.c537 r = -(r & LARGEST_INT64); in randomFunc()
H A Dos_unix.c3003 mask = (sizeof(long)==8) ? LARGEST_INT64 : 0x7fffffff; in afpLock()
H A Dbtree.c10768 checkTreePage(&sCheck, aRoot[i], &notUsed, LARGEST_INT64); in sqlite3BtreeIntegrityCheck()
/sqlite-3.40.0/ext/fts3/
H A Dfts3Int.h200 #define LARGEST_INT64 (0xffffffff|(((i64)0x7fffffff)<<32)) macro
201 #define SMALLEST_INT64 (((i64)-1) - LARGEST_INT64)
H A Dfts3.c2164 #define POSITION_LIST_END LARGEST_INT64
3341 pCsr->iMaxDocid = fts3DocidRange(pDocidLe, LARGEST_INT64); in fts3FilterMethod()
H A Dfts3_write.c2295 if( pWriter->iFree==LARGEST_INT64 ) return FTS_CORRUPT_VTAB; in fts3SegWriterAdd()
/sqlite-3.40.0/ext/fts5/
H A Dfts5Int.h59 # define LARGEST_INT64 (0xffffffff|(((i64)0x7fffffff)<<32)) macro
60 # define SMALLEST_INT64 (((i64)-1) - LARGEST_INT64)
H A Dfts5_main.c1325 pCsr->iFirstRowid = fts5GetRowidLimit(pRowidLe, LARGEST_INT64); in fts5FilterMethod()
1328 pCsr->iLastRowid = fts5GetRowidLimit(pRowidLe, LARGEST_INT64); in fts5FilterMethod()
1341 assert( pCsr->iLastRowid==LARGEST_INT64 ); in fts5FilterMethod()
2315 pNew->iLastRowid = LARGEST_INT64; in fts5ApiQueryPhrase()
H A Dfts5_index.c2870 pIter->iSwitchRowid = pIter->bRev ? SMALLEST_INT64 : LARGEST_INT64; in fts5MultiIterAdvanceRowid()