Home | History | Annotate | Download | only in dist

Lines Matching defs:double

813 # define double sqlite3_int64
1593 int (*xCurrentTime)(sqlite3_vfs*, double*);
3738 SQLITE_API int sqlite3_bind_double(sqlite3_stmt*, int, double);
4239 SQLITE_API double sqlite3_column_double(sqlite3_stmt*, int iCol);
4500 SQLITE_API double sqlite3_value_double(sqlite3_value*);
4751 SQLITE_API void sqlite3_result_double(sqlite3_context*, double);
5609 double estimatedCost; /* Estimated cost of using this index */
7486 # undef double
7526 int (*xGeom)(sqlite3_rtree_geometry *, int nCoord, double *aCoord, int *pRes),
7538 double *aParam; /* Parameters passed to SQL geom function */
7827 # define double sqlite_int64
7941 # define LONGDOUBLE_TYPE long double
8474 double *pReal; /* Used when p4type is P4_REAL */
9771 double notUsed1; /* Spacer */
10401 double r; /* Value if eType is SQLITE_FLOAT */
10795 double nRow; /* Estimated number of rows (for EQP) */
10880 double savedNQueryLoop; /* pParse->nQueryLoop outside the WHERE loop */
10881 double nRowOut; /* Estimated number of output rows */
10950 double nSelectRow; /* Estimated number of result rows */
11132 double nQueryLoop; /* Estimated number of iterations of a query */
11533 SQLITE_PRIVATE int sqlite3IsNaN(double);
11818 SQLITE_PRIVATE int sqlite3AtoF(const char *z, double*, int, u8);
12977 double r; /* Real value */
13222 SQLITE_PRIVATE void sqlite3VdbeMemSetDouble(Mem*, double);
13231 SQLITE_PRIVATE double sqlite3VdbeRealValue(Mem*);
13601 double s; /* Seconds */
13711 double ms = 0.0;
13723 double rScale = 1.0;
13865 double r;
14085 double r;
14198 double rRounder;
14490 double s = x.s;
14888 double r;
16059 ** two fields form a double-linked list of chunks of related sizes.
19477 ** "*val" is a double such that 0.1 <= *val < 10.0
19559 double rounder; /* Used for rounding floating point values */
19766 realvalue = va_arg(ap,double);
19790 if( sqlite3IsNaN((double)realvalue) ){
21086 SQLITE_PRIVATE int sqlite3IsNaN(double x){
21115 volatile double y = x;
21116 volatile double z = y;
21287 ** Convert this string to a double and write it into *pResult.
21307 SQLITE_PRIVATE int sqlite3AtoF(const char *z, double *pResult, int length, u8 enc){
21318 double result;
21404 result = (sign<0 && nDigits) ? -(double)0 : (double)0;
21419 double scale = 1.0;
21448 result = (double)s;
24721 static int os2CurrentTime( sqlite3_vfs *pVfs, double *prNow ){
30140 /* Database filenames are double-zero terminated if they are not
30154 /* Generated temporary filenames are always double-zero terminated
30618 static int unixCurrentTime(sqlite3_vfs *NotUsed, double *prNow){
31909 /* Double-check that the aSyscall[] array has been constructed
35229 /* Database filenames are double-zero terminated if they are not
35745 static int winCurrentTime(sqlite3_vfs *pVfs, double *prNow){
35819 /* Double-check that the aSyscall[] array has been constructed
58681 ** Convert a 64-bit IEEE double into a 64-bit signed integer.
58682 ** If the double is too large, return 0x8000000000000000.
58692 static i64 doubleToInt64(double r){
58694 /* When floating-point is omitted, double and int64 are the same thing */
58707 if( r<(double)minInt ){
58709 }else if( r>(double)maxInt ){
58754 ** double. If pMem is already a double or an integer, return its
58755 ** value. If it is a string or blob, try to convert it to a double.
58758 SQLITE_PRIVATE double sqlite3VdbeRealValue(Mem *pMem){
58764 return (double)pMem->u.i;
58766 /* (double)0 In case of SQLITE_OMIT_FLOATING_POINT... */
58767 double val = (double)0;
58771 /* (double)0 In case of SQLITE_OMIT_FLOATING_POINT... */
58772 return (double)0;
58800 if( pMem->r==(double)pMem->u.i
58917 SQLITE_PRIVATE void sqlite3VdbeMemSetDouble(Mem *pMem, double val){
59185 double r1, r2;
59187 r1 = (double)pMem1->u.i;
59192 r2 = (double)pMem2->u.i;
59461 pVal->r = (double)LARGEST_INT64;
60365 ** having to double-check to make sure that the result is non-negative. But
62336 static const double r1 = 1.0;
62932 SQLITE_API double sqlite3_value_double(sqlite3_value *pVal){
62988 SQLITE_API void sqlite3_result_double(sqlite3_context *pCtx, double rVal){
63490 = {0, "", (double)0, {0}, 0, MEM_Null, SQLITE_NULL, 0,
63561 SQLITE_API double sqlite3_column_double(sqlite3_stmt *pStmt, int i){
63562 double val = sqlite3_value_double( columnMem(pStmt,i) );
63850 SQLITE_API int sqlite3_bind_double(sqlite3_stmt *pStmt, int i, double rValue){
64615 double rValue;
65059 double rA; /* Real value of left operand */
65060 double rB; /* Real value of right operand */
66144 double rA; /* Real value of left operand */
66145 double rB; /* Real value of right operand */
66186 /* (double)0 In case of SQLITE_OMIT_FLOATING_POINT... */
66187 if( u.ag.rA==(double)0 ) goto arithmetic_result_is_null;
66196 u.ag.rB = (double)(u.ag.iB % u.ag.iA);
68334 if( u.bb.iKey==SMALLEST_INT64 && (pIn3->r<(double)u.bb.iKey || pIn3->r>0) ){
68355 if( pIn3->r > (double)u.bb.iKey ) u.bb.iKey++;
68359 if( pIn3->r < (double)u.bb.iKey ) u.bb.iKey--;
73539 ** supplied) and the value of Z is enclosed in double-quotes, then
74796 ** appear to be quoted. If the quotes were of the form "..." (double-quotes)
75599 ** For the purposes of this function, a double-quoted string (ex: "abc")
75622 ** For the purposes of this function, a double-quoted string (ex: "abc")
75964 double savedNQueryLoop = pParse->nQueryLoop;
75971 testcase( pParse->nQueryLoop>(double)1 );
75972 pParse->nQueryLoop = (double)1;
76377 double value;
82573 ** it is quoted using double-quotes.
86322 double rVal = sqlite3_value_double(argv[0]);
86430 double r;
86446 r = (double)((sqlite_int64)(r+0.5));
86448 r = -(double)((sqlite_int64)((-r)+0.5));
87393 double rSum; /* Floating point sum */
87448 sqlite3_result_double(context, p->rSum/(double)p->cnt);
87454 /* (double)0 In case of SQLITE_OMIT_FLOATING_POINT... */
87455 sqlite3_result_double(context, p ? p->rSum : (double)0);
91047 int (*bind_double)(sqlite3_stmt*,int,double);
91073 double (*column_double)(sqlite3_stmt*,int iCol);
91133 void (*result_double)(sqlite3_context*,double);
91162 double (*value_double)(sqlite3_value*);
94263 pParse->nQueryLoop = (double)1;
96007 if( p->nSelectRow > (double)n ) p->nSelectRow = (double)n;
96199 && p->nSelectRow > (double)nLimit
96201 p->nSelectRow = (double)nLimit;
98527 p->nSelectRow = (double)LARGEST_INT64;
98643 if( p->nSelectRow>(double)100 ) p->nSelectRow = (double)100;
98645 p->nSelectRow = (double)1;
102778 double rCost; /* Overall cost of pursuing this search strategy */
104305 static double estLog(double N){
104306 double logN = 1;
104307 double x = 10;
104407 double rTotal = 0;
104408 double nRow = 0;
104499 double nTableRow; /* Rows in the input table */
104500 double logN; /* log(nTableRow) */
104501 double costTempIdx; /* per-query cost of the transient index */
104506 if( pParse->nQueryLoop<=(double)1 ){
104527 assert( pParse->nQueryLoop >= (double)1 );
104765 /* (double)0 In case of SQLITE_OMIT_FLOATING_POINT... */
104895 double rCost;
104964 /* ((double)2) In case of SQLITE_OMIT_FLOATING_POINT... */
104965 pIdxInfo->estimatedCost = SQLITE_BIG_DBL / ((double)2);
104995 ** Use "(double)2" instead of "2.0" in case OMIT_FLOATING_POINT
104998 if( (SQLITE_BIG_DBL/((double)2))<rCost ){
104999 pCost->rCost = (SQLITE_BIG_DBL/((double)2));
105039 double r, rS;
105259 double *pRangeDiv /* OUT: Reduce search space by this divisor */
105298 *pRangeDiv = (double)p->aiRowEst[0];
105300 *pRangeDiv = (double)p->aiRowEst[0]/(double)(iUpper - iLower);
105313 *pRangeDiv = (double)1;
105314 if( pLower && (pLower->wtFlags & TERM_VNULL)==0 ) *pRangeDiv *= (double)4;
105315 if( pUpper ) *pRangeDiv *= (double)4;
105341 double *pnRow /* Write the revised row estimate here */
105390 double *pnRow /* Write the revised row estimate here */
105393 double nEst; /* Number of rows for a single term */
105394 double nRowEst = (double)0; /* New estimate of the number of rows */
105513 double cost; /* Cost of using pProbe */
105514 double nRow; /* Estimated number of rows in result set */
105515 double log10N = (double)1; /* base-10 logarithm of nRow (inexact) */
105585 double rangeDiv = (double)1; /* Estimated reduction in search space */
105706 nRow = (double)(aiRowEst[nEq] * nInMul);
105719 if( nRow>(double)1 && nEq==1 && pFirstTerm!=0 && aiRowEst[1]>1 ){
107515 if( bestPlan.plan.nRow>=(double)1 ){
107565 pWInfo->nRowOut = (double)1;
112280 case '"': /* single- and double-quoted strings */
112700 double y;
116747 ** For a sequence of tokens contained in double-quotes (i.e. "one two three")
117403 ** Return a copy of input string zInput enclosed in double-quotes (") and
117404 ** with all double quote characters escaped. For example:
123962 ** Return TRUE if the word ends in a double consonant.
130385 ** formatted as a double. This macro assumes that local variable pRtree points
130390 ((double)coord.f) : \
130391 ((double)coord.i) \
130400 double rValue; /* Constraint value. */
130401 int (*xGeom)(sqlite3_rtree_geometry *, int, double *, int *);
130449 int (*xGeom)(sqlite3_rtree_geometry *, int, double *, int *);
130452 double aParam[1];
130464 int (*xGeom)(sqlite3_rtree_geometry *, int, double *, int *);
131030 double aCoord[RTREE_MAX_DIMENSIONS*2];
131060 double cell_min = DCOORD(cell.aCoord[(p->iCoord>>1)*2]);
131061 double cell_max = DCOORD(cell.aCoord[(p->iCoord>>1)*2+1]);
131113 double coord = DCOORD(cell.aCoord[p->iCoord]);
131360 || ((nBlob-sizeof(RtreeMatchArg))%sizeof(double))!=0
131374 || nBlob!=(int)(sizeof(RtreeMatchArg) + (p->nParam-1)*sizeof(double))
131573 pIdxInfo->estimatedCost = (2000000.0 / (double)(iIdx + 1));
131672 double x1;
131673 double x2;
131701 double before;
131702 double after;
132117 double xleft1 = DCOORD(aCell[aLeft[iLeft]].aCoord[iDim*2]);
132118 double xleft2 = DCOORD(aCell[aLeft[iLeft]].aCoord[iDim*2+1]);
132119 double xright1 = DCOORD(aCell[aRight[iRight]].aCoord[iDim*2]);
132120 double xright2 = DCOORD(aCell[aRight[iRight]].aCoord[iDim*2+1]);
133316 sqlite3_snprintf(512-nCell,&zCell[nCell]," %f",(double)cell.aCoord[jj].f);
133392 nBlob = sizeof(RtreeMatchArg) + (nArg-1)*sizeof(double);
133415 int (*xGeom)(sqlite3_rtree_geometry *, int, double *, int *),