Home
last modified time | relevance | path

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

/sqlite-3.40.0/src/
H A Dutil.c644 x = (v==SMALLEST_INT64) ? ((u64)1)<<63 : (u64)-v; in sqlite3Int64ToText()
749 *pNum = neg ? SMALLEST_INT64 : LARGEST_INT64; in sqlite3Atoi64()
782 *pNum = neg ? SMALLEST_INT64 : LARGEST_INT64; in sqlite3Atoi64()
1460 testcase( iB==SMALLEST_INT64+1 ); in sqlite3SubInt64()
1461 if( iB==SMALLEST_INT64 ){ in sqlite3SubInt64()
1478 if( iA<SMALLEST_INT64/iB ) return 1; in sqlite3MulInt64()
1481 if( iB<SMALLEST_INT64/iA ) return 1; in sqlite3MulInt64()
1483 if( iB==SMALLEST_INT64 ) return 1; in sqlite3MulInt64()
1484 if( iA==SMALLEST_INT64 ) return 1; in sqlite3MulInt64()
H A Dvdbemem.c592 static const i64 minInt = SMALLEST_INT64; in doubleToInt64()
702 if( pMem->u.r==ix && ix>SMALLEST_INT64 && ix<LARGEST_INT64 ){ in sqlite3VdbeIntegerAffinity()
757 if( r<=(double)SMALLEST_INT64 ) return SMALLEST_INT64; in sqlite3RealToI64()
1635 }else if( pVal->u.i==SMALLEST_INT64 ){ in valueFromExpr()
1637 pVal->u.r = -(double)SMALLEST_INT64; in valueFromExpr()
H A Dprintf.c436 testcase( v==SMALLEST_INT64 ); in sqlite3_str_vappendf()
H A Dfunc.c165 if( iVal==SMALLEST_INT64 ){ in absFunc()
H A Djson.c562 sqlite3_result_int64(pCtx, SMALLEST_INT64); in jsonReturn()
H A Dexpr.c3704 if( (c==3 && !negFlag) || (c==2) || (negFlag && value==SMALLEST_INT64)){ in codeInteger()
3719 if( negFlag ){ value = c==3 ? SMALLEST_INT64 : -value; } in codeInteger()
H A DsqliteInt.h942 #define SMALLEST_INT64 (((i64)-1) - LARGEST_INT64) macro
H A Dvdbe.c1758 if( iA==-1 && iB==SMALLEST_INT64 ) goto fp_math; in sqlite3VdbeExec()
7408 if( pIn1->u.i>SMALLEST_INT64 ) pIn1->u.i--; in sqlite3VdbeExec()
/sqlite-3.40.0/ext/misc/
H A Dtotype.c63 #ifndef SMALLEST_INT64
64 # define SMALLEST_INT64 (((sqlite3_int64)-1) - LARGEST_INT64) macro
149 *pNum = SMALLEST_INT64; in totypeAtoi64()
177 assert( (*pNum)==SMALLEST_INT64 ); in totypeAtoi64()
H A Dunionvtab.c153 #ifndef SMALLEST_INT64
154 # define SMALLEST_INT64 (((sqlite3_int64)-1) - LARGEST_INT64) macro
1145 sqlite3_int64 iMin = SMALLEST_INT64; in unionFilter()
1168 if( iMax==SMALLEST_INT64 ){ in unionFilter()
1217 if( iMin!=SMALLEST_INT64 && iMin>pSrc->iMin ){ in unionFilter()
/sqlite-3.40.0/ext/fts3/
H A Dfts3Int.h201 #define SMALLEST_INT64 (((i64)-1) - LARGEST_INT64) macro
H A Dfts3.c3340 pCsr->iMinDocid = fts3DocidRange(pDocidGe, SMALLEST_INT64); in fts3FilterMethod()
/sqlite-3.40.0/ext/fts5/
H A Dfts5_main.c1326 pCsr->iLastRowid = fts5GetRowidLimit(pRowidGe, SMALLEST_INT64); in fts5FilterMethod()
1329 pCsr->iFirstRowid = fts5GetRowidLimit(pRowidGe, SMALLEST_INT64); in fts5FilterMethod()
1342 assert( pCsr->iFirstRowid==SMALLEST_INT64 ); in fts5FilterMethod()
2314 pNew->iFirstRowid = SMALLEST_INT64; in fts5ApiQueryPhrase()
H A Dfts5Int.h60 # define SMALLEST_INT64 (((i64)-1) - LARGEST_INT64) macro
H A Dfts5_index.c2870 pIter->iSwitchRowid = pIter->bRev ? SMALLEST_INT64 : LARGEST_INT64; in fts5MultiIterAdvanceRowid()