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 ){
30123 /* Database filenames are double-zero terminated if they are not
30137 /* Generated temporary filenames are always double-zero terminated
30601 static int unixCurrentTime(sqlite3_vfs *NotUsed, double *prNow){
31892 /* Double-check that the aSyscall[] array has been constructed
35212 /* Database filenames are double-zero terminated if they are not
35728 static int winCurrentTime(sqlite3_vfs *pVfs, double *prNow){
35802 /* Double-check that the aSyscall[] array has been constructed
58664 ** Convert a 64-bit IEEE double into a 64-bit signed integer.
58665 ** If the double is too large, return 0x8000000000000000.
58675 static i64 doubleToInt64(double r){
58677 /* When floating-point is omitted, double and int64 are the same thing */
58690 if( r<(double)minInt ){
58692 }else if( r>(double)maxInt ){
58737 ** double. If pMem is already a double or an integer, return its
58738 double.
58741 SQLITE_PRIVATE double sqlite3VdbeRealValue(Mem *pMem){
58747 return (double)pMem->u.i;
58749 /* (double)0 In case of SQLITE_OMIT_FLOATING_POINT... */
58750 double val = (double)0;
58754 /* (double)0 In case of SQLITE_OMIT_FLOATING_POINT... */
58755 return (double)0;
58783 if( pMem->r==(double)pMem->u.i
58900 SQLITE_PRIVATE void sqlite3VdbeMemSetDouble(Mem *pMem, double val){
59168 double r1, r2;
59170 r1 = (double)pMem1->u.i;
59175 r2 = (double)pMem2->u.i;
59444 pVal->r = (double)LARGEST_INT64;
60348 ** having to double-check to make sure that the result is non-negative. But
62319 static const double r1 = 1.0;
62915 SQLITE_API double sqlite3_value_double(sqlite3_value *pVal){
62971 SQLITE_API void sqlite3_result_double(sqlite3_context *pCtx, double rVal){
63473 = {0, "", (double)0, {0}, 0, MEM_Null, SQLITE_NULL, 0,
63544 SQLITE_API double sqlite3_column_double(sqlite3_stmt *pStmt, int i){
63545 double val = sqlite3_value_double( columnMem(pStmt,i) );
63833 SQLITE_API int sqlite3_bind_double(sqlite3_stmt *pStmt, int i, double rValue){
64598 double rValue;
65042 double rA; /* Real value of left operand */
65043 double rB; /* Real value of right operand */
66127 double rA; /* Real value of left operand */
66128 double rB; /* Real value of right operand */
66169 /* (double)0 In case of SQLITE_OMIT_FLOATING_POINT... */
66170 if( u.ag.rA==(double)0 ) goto arithmetic_result_is_null;
66179 u.ag.rB = (double)(u.ag.iB % u.ag.iA);
68317 if( u.bb.iKey==SMALLEST_INT64 && (pIn3->r<(double)u.bb.iKey || pIn3->r>0) ){
68338 if( pIn3->r > (double)u.bb.iKey ) u.bb.iKey++;
68342 if( pIn3->r < (double)u.bb.iKey ) u.bb.iKey--;
73514 ** supplied) and the value of Z is enclosed in double-quotes, then
74771 ** appear to be quoted. If the quotes were of the form "..." (double-quotes)
75574 ** For the purposes of this function, a double-quoted string (ex: "abc")
75597 ** For the purposes of this function, a double-quoted string (ex: "abc")
75939 double savedNQueryLoop = pParse->nQueryLoop;
75946 testcase( pParse->nQueryLoop>(double)1 );
75947 pParse->nQueryLoop = (double)1;
76352 double value;
82548 ** it is quoted using double-quotes.
86297 double rVal = sqlite3_value_double(argv[0]);
86405 double r;
86421 r = (double)((sqlite_int64)(r+0.5));
86423 r = -(double)((sqlite_int64)((-r)+0.5));
87368 double rSum; /* Floating point sum */
87423 sqlite3_result_double(context, p->rSum/(double)p->cnt);
87429 /* (double)0 In case of SQLITE_OMIT_FLOATING_POINT... */
87430 sqlite3_result_double(context, p ? p->rSum : (double)0);
91022 int (*bind_double)(sqlite3_stmt*,int,double);
91048 double (*column_double)(sqlite3_stmt*,int iCol);
91108 void (*result_double)(sqlite3_context*,double);
91137 double (*value_double)(sqlite3_value*);
94238 pParse->nQueryLoop = (double)1;
95982 if( p->nSelectRow > (double)n ) p->nSelectRow = (double)n;
96174 && p->nSelectRow > (double)nLimit
96176 p->nSelectRow = (double)nLimit;
98502 p->nSelectRow = (double)LARGEST_INT64;
98618 if( p->nSelectRow>(double)100 ) p->nSelectRow = (double)100;
98620 p->nSelectRow = (double)1;
102753 double rCost; /* Overall cost of pursuing this search strategy */
104280 static double estLog(double N){
104281 double logN = 1;
104282 double x = 10;
104382 double rTotal = 0;
104383 double nRow = 0;
104474 double nTableRow; /* Rows in the input table */
104475 double logN; /* log(nTableRow) */
104476 double costTempIdx; /* per-query cost of the transient index */
104481 if( pParse->nQueryLoop<=(double)1 ){
104502 assert( pParse->nQueryLoop >= (double)1 );
104740 /* (double)0 In case of SQLITE_OMIT_FLOATING_POINT... */
104870 double rCost;
104939 /* ((double)2) In case of SQLITE_OMIT_FLOATING_POINT... */
104940 pIdxInfo->estimatedCost = SQLITE_BIG_DBL / ((double)2);
104970 ** Use "(double
104973 if( (SQLITE_BIG_DBL/((double)2))<rCost ){
104974 pCost->rCost = (SQLITE_BIG_DBL/((double)2));
105014 double r, rS;
105234 double *pRangeDiv /* OUT: Reduce search space by this divisor */
105273 *pRangeDiv = (double)p->aiRowEst[0];
105275 *pRangeDiv = (double)p->aiRowEst[0]/(double)(iUpper - iLower);
105288 *pRangeDiv = (double)1;
105289 if( pLower && (pLower->wtFlags & TERM_VNULL)==0 ) *pRangeDiv *= (double)4;
105290 if( pUpper ) *pRangeDiv *= (double)4;
105316 double *pnRow /* Write the revised row estimate here */
105365 double *pnRow /* Write the revised row estimate here */
105368 double nEst; /* Number of rows for a single term */
105369 double nRowEst = (double)0; /* New estimate of the number of rows */
105488 double cost; /* Cost of using pProbe */
105489 double nRow; /* Estimated number of rows in result set */
105490 double log10N = (double)1; /* base-10 logarithm of nRow (inexact) */
105560 double rangeDiv = (double)1; /* Estimated reduction in search space */
105681 nRow = (double)(aiRowEst[nEq] * nInMul);
105694 if( nRow>(double)1 && nEq==1 && pFirstTerm!=0 && aiRowEst[1]>1 ){
107490 if( bestPlan.plan.nRow>=(double)1 ){
107540 pWInfo->nRowOut = (double)1;
112255 case '"': /* single- and double-quoted strings */
112675 double y;
116737 ** For a sequence of tokens contained in double-quotes (i.e. "one two three")
117393 ** Return a copy of input string zInput enclosed in double-quotes (") and
117394 ** with all double quote characters escaped. For example:
123945 ** Return TRUE if the word ends in a double consonant.
130368 ** formatted as a double. This macro assumes that local variable pRtree points
130373 ((double)coord.f) : \
130374 ((double)coord.i) \
130383 double rValue; /* Constraint value. */
130384 int (*xGeom)(sqlite3_rtree_geometry *, int, double *, int *);
130432 int (*xGeom)(sqlite3_rtree_geometry *, int, double *, int *);
130435 double aParam[1];
130447 int (*xGeom)(sqlite3_rtree_geometry *, int, double *, int *);
131013 double aCoord[RTREE_MAX_DIMENSIONS*2];
131043 double cell_min = DCOORD(cell.aCoord[(p->iCoord>>1)*2]);
131044 double cell_max = DCOORD(cell.aCoord[(p->iCoord>>1)*2+1]);
131096 double coord = DCOORD(cell.aCoord[p->iCoord]);
131343 || ((nBlob-sizeof(RtreeMatchArg))%sizeof(double))!=0
131357 || nBlob!=(int)(sizeof(RtreeMatchArg) + (p->nParam-1)*sizeof(double))
131556 pIdxInfo->estimatedCost = (2000000.0 / (double)(iIdx + 1));
131655 double x1;
131656 double x2;
131684 double before;
131685 double after;
132100 double xleft1 = DCOORD(aCell[aLeft[iLeft]].aCoord[iDim*2]);
132101 double xleft2 = DCOORD(aCell[aLeft[iLeft]].aCoord[iDim*2+1]);
132102 double xright1 = DCOORD(aCell[aRight[iRight]].aCoord[iDim*2]);
132103 double xright2 = DCOORD(aCell[aRight[iRight]].aCoord[iDim*2+1]);
133299 sqlite3_snprintf(512-nCell,&zCell[nCell]," %f",(double)cell.aCoord[jj].f);
133375 nBlob = sizeof(RtreeMatchArg) + (nArg-1)*sizeof(double);
133398 int (*xGeom)(sqlite3_rtree_geometry *, int, double *, int *),