Searched refs:SMALLEST_INT64 (Results 1 – 15 of 15) sorted by relevance
644 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()
592 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()
436 testcase( v==SMALLEST_INT64 ); in sqlite3_str_vappendf()
165 if( iVal==SMALLEST_INT64 ){ in absFunc()
562 sqlite3_result_int64(pCtx, SMALLEST_INT64); in jsonReturn()
3704 if( (c==3 && !negFlag) || (c==2) || (negFlag && value==SMALLEST_INT64)){ in codeInteger()3719 if( negFlag ){ value = c==3 ? SMALLEST_INT64 : -value; } in codeInteger()
942 #define SMALLEST_INT64 (((i64)-1) - LARGEST_INT64) macro
1758 if( iA==-1 && iB==SMALLEST_INT64 ) goto fp_math; in sqlite3VdbeExec()7408 if( pIn1->u.i>SMALLEST_INT64 ) pIn1->u.i--; in sqlite3VdbeExec()
63 #ifndef SMALLEST_INT6464 # define SMALLEST_INT64 (((sqlite3_int64)-1) - LARGEST_INT64) macro149 *pNum = SMALLEST_INT64; in totypeAtoi64()177 assert( (*pNum)==SMALLEST_INT64 ); in totypeAtoi64()
153 #ifndef SMALLEST_INT64154 # define SMALLEST_INT64 (((sqlite3_int64)-1) - LARGEST_INT64) macro1145 sqlite3_int64 iMin = SMALLEST_INT64; in unionFilter()1168 if( iMax==SMALLEST_INT64 ){ in unionFilter()1217 if( iMin!=SMALLEST_INT64 && iMin>pSrc->iMin ){ in unionFilter()
201 #define SMALLEST_INT64 (((i64)-1) - LARGEST_INT64) macro
3340 pCsr->iMinDocid = fts3DocidRange(pDocidGe, SMALLEST_INT64); in fts3FilterMethod()
1326 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()
60 # define SMALLEST_INT64 (((i64)-1) - LARGEST_INT64) macro
2870 pIter->iSwitchRowid = pIter->bRev ? SMALLEST_INT64 : LARGEST_INT64; in fts5MultiIterAdvanceRowid()