Lines Matching defs:sqlite3_value
4818 ** KEYWORDS: {protected sqlite3_value} {unprotected sqlite3_value}
4820 ** SQLite uses the sqlite3_value object to represent all values
4822 ** for the values it stores. ^Values stored in sqlite3_value objects
4825 ** An sqlite3_value object may be either "protected" or "unprotected".
4826 ** Some interfaces require a protected sqlite3_value. Other interfaces
4827 ** will accept either a protected or an unprotected sqlite3_value.
4828 ** Every interface that accepts sqlite3_value arguments specifies
4829 ** whether or not it requires a protected sqlite3_value. The
4831 ** protected sqlite3_value from an unprotected sqlite3_value.
4835 ** sqlite3_value object but no mutex is held for an unprotected
4836 ** sqlite3_value object. If SQLite is compiled to be single-threaded
4841 ** sqlite3_value objects and they can be used interchangeably. However,
4844 ** sqlite3_value objects even when not strictly required.
4846 ** ^The sqlite3_value objects that are passed as parameters into the
4848 ** ^The sqlite3_value objects returned by [sqlite3_vtab_rhs_value()]
4850 ** ^The sqlite3_value object returned by
4852 ** Unprotected sqlite3_value objects may only be used as arguments
4856 ** interfaces require protected sqlite3_value objects.
4858 typedef struct sqlite3_value sqlite3_value;
5025 SQLITE_API int sqlite3_bind_value(sqlite3_stmt*, int, const sqlite3_value*);
5386 ** [sqlite3_value|unprotected sqlite3_value] object.
5476 ** [unprotected sqlite3_value] object. In a multithreaded environment,
5477 ** an unprotected sqlite3_value object may only be used safely with
5479 ** If the [unprotected sqlite3_value] object returned by
5591 SQLITE_API sqlite3_value *sqlite3_column_value(sqlite3_stmt*, int iCol);
5793 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
5794 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
5803 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
5804 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
5813 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
5814 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
5824 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
5827 void (*xInverse)(sqlite3_context*,int,sqlite3_value**),
5962 ** METHOD: sqlite3_value
5996 ** [protected sqlite3_value] objects. Protected sqlite3_value objects
6000 ** These routines work only with [protected sqlite3_value] objects.
6001 ** Any attempt to use these routines on an [unprotected sqlite3_value]
6005 ** except that these routines take a single [protected sqlite3_value] object
6013 ** ^If [sqlite3_value] object V was initialized
6022 ** [sqlite3_value] object V. The returned value is one of [SQLITE_INTEGER],
6024 ** Other interfaces might change the datatype for an sqlite3_value object.
6064 ** the SQL function that supplied the [sqlite3_value*] parameters.
6088 SQLITE_API const void *sqlite3_value_blob(sqlite3_value*);
6089 SQLITE_API double sqlite3_value_double(sqlite3_value*);
6090 SQLITE_API int sqlite3_value_int(sqlite3_value*);
6091 SQLITE_API sqlite3_int64 sqlite3_value_int64(sqlite3_value*);
6092 SQLITE_API void *sqlite3_value_pointer(sqlite3_value*, const char*);
6093 SQLITE_API const unsigned char *sqlite3_value_text(sqlite3_value*);
6094 SQLITE_API const void *sqlite3_value_text16(sqlite3_value*);
6095 SQLITE_API const void *sqlite3_value_text16le(sqlite3_value*);
6096 SQLITE_API const void *sqlite3_value_text16be(sqlite3_value*);
6097 SQLITE_API int sqlite3_value_bytes(sqlite3_value*);
6098 SQLITE_API int sqlite3_value_bytes16(sqlite3_value*);
6099 SQLITE_API int sqlite3_value_type(sqlite3_value*);
6100 SQLITE_API int sqlite3_value_numeric_type(sqlite3_value*);
6101 SQLITE_API int sqlite3_value_nochange(sqlite3_value*);
6102 SQLITE_API int sqlite3_value_frombind(sqlite3_value*);
6105 ** CAPI3REF: Report the internal text encoding state of an sqlite3_value object
6106 ** METHOD: sqlite3_value
6120 ** internal state of an [sqlite3_value] object. Ordinary applications should
6121 ** not need to know what the internal state of an sqlite3_value object is and
6124 SQLITE_API int sqlite3_value_encoding(sqlite3_value*);
6128 ** METHOD: sqlite3_value
6142 SQLITE_API unsigned int sqlite3_value_subtype(sqlite3_value*);
6146 ** METHOD: sqlite3_value
6148 ** ^The sqlite3_value_dup(V) interface makes a copy of the [sqlite3_value]
6149 ** object D and returns a pointer to that copy. ^The [sqlite3_value] returned
6150 ** is a [protected sqlite3_value] object even if the input is not.
6155 ** ^The sqlite3_value_free(V) interface frees an [sqlite3_value] object
6159 SQLITE_API sqlite3_value *sqlite3_value_dup(const sqlite3_value*);
6160 SQLITE_API void sqlite3_value_free(sqlite3_value*);
6502 ** [unprotected sqlite3_value] object specified by the 2nd parameter. ^The
6503 ** sqlite3_result_value() interface makes a copy of the [sqlite3_value]
6504 ** so that the [sqlite3_value] specified in the parameter may change or
6506 ** ^A [protected sqlite3_value] object may always be used where an
6507 ** [unprotected sqlite3_value] object is required, so either
6508 ** kind of [sqlite3_value] object can be used with this interface.
6543 SQLITE_API void sqlite3_result_value(sqlite3_context*, sqlite3_value*);
7640 int argc, sqlite3_value **argv);
7645 int (*xUpdate)(sqlite3_vtab *, int, sqlite3_value **, sqlite3_int64 *);
7651 void (**pxFunc)(sqlite3_context*,int,sqlite3_value**),
10386 ** xFilter method will be an [sqlite3_value] that appears to be NULL,
10436 ** copies. The *ppOut values are [protected sqlite3_value|protected].
10438 SQLITE_API int sqlite3_vtab_in_first(sqlite3_value *pVal, sqlite3_value **ppOut);
10439 SQLITE_API int sqlite3_vtab_in_next(sqlite3_value *pVal, sqlite3_value **ppOut);
10473 ** ^The [sqlite3_value] object returned in *V is a protected sqlite3_value
10475 ** ^When xBestIndex returns, the sqlite3_value object returned by
10481 SQLITE_API int sqlite3_vtab_rhs_value(sqlite3_index_info*, int, sqlite3_value **ppVal);
10736 ** a [protected sqlite3_value] that contains the value of the Nth column of
10741 ** behavior is undefined. The [sqlite3_value] that P points to
10745 ** a [protected sqlite3_value] that contains the value of the Nth column of
10750 ** behavior is undefined. The [sqlite3_value] that P points to
10784 SQLITE_API int sqlite3_preupdate_old(sqlite3 *, int, sqlite3_value **);
10787 SQLITE_API int sqlite3_preupdate_new(sqlite3 *, int, sqlite3_value **);
11264 sqlite3_value **apSqlParam; /* Original SQL values of parameters */
11974 ** sqlite3_value object containing the iVal'th value from the vector of
11985 sqlite3_value **ppValue /* OUT: Old value (or NULL pointer) */
12005 ** sqlite3_value object containing the iVal'th value from the vector of
12019 sqlite3_value **ppValue /* OUT: New value (or NULL pointer) */
12037 ** sqlite3_value object containing the iVal'th value from the
12047 sqlite3_value **ppValue /* OUT: Value from conflicting row */
13157 sqlite3_value **apVal /* Array of trailing arguments */
16327 sqlite3_value *aMem; /* First of nMem value in the unpacked pKey */
16353 sqlite3_value *aCnt, /* OUT: entry counts for each btree in aRoot[] */
16478 typedef struct sqlite3_value Mem;
16967 SQLITE_PRIVATE sqlite3_value *sqlite3VdbeGetBoundValue(Vdbe*, int, u8);
16986 SQLITE_PRIVATE void sqlite3MemSetArrayInt64(sqlite3_value *aMem, int iIdx, i64 val);
17602 SQLITE_PRIVATE void sqlite3CryptFunc(sqlite3_context*,int,sqlite3_value**);
17724 sqlite3_value *pErr; /* Most recent error message */
17940 void (*xSFunc)(sqlite3_context*,int,sqlite3_value**); /* func or agg-step */
17943 void (*xInverse)(sqlite3_context*,int,sqlite3_value**); /* inverse agg-step */
20720 sqlite3_value **apArg; /* The argument values */
21028 SQLITE_PRIVATE int sqlite3RunVacuum(char**, sqlite3*, int, sqlite3_value*);
21097 SQLITE_PRIVATE void sqlite3QuoteValue(StrAccum*,sqlite3_value*);
21289 SQLITE_PRIVATE const void *sqlite3ValueText(sqlite3_value*, u8);
21290 SQLITE_PRIVATE int sqlite3ValueIsOfClass(const sqlite3_value*, void(*)(void*));
21291 SQLITE_PRIVATE int sqlite3ValueBytes(sqlite3_value*, u8);
21292 SQLITE_PRIVATE void sqlite3ValueSetStr(sqlite3_value*, int, const void *,u8,
21294 SQLITE_PRIVATE void sqlite3ValueSetNull(sqlite3_value*);
21295 SQLITE_PRIVATE void sqlite3ValueFree(sqlite3_value*);
21299 SQLITE_PRIVATE sqlite3_value *sqlite3ValueNew(sqlite3 *);
21303 SQLITE_PRIVATE int sqlite3ValueFromExpr(sqlite3 *, const Expr *, u8, u8, sqlite3_value **);
21304 SQLITE_PRIVATE void sqlite3ValueApplyAffinity(sqlite3_value *, u8, u8);
21386 void (*)(sqlite3_context*,int,sqlite3_value **),
21387 void (*)(sqlite3_context*,int,sqlite3_value **),
21390 void (*)(sqlite3_context*,int,sqlite3_value **),
21426 SQLITE_PRIVATE int sqlite3Stat4ValueFromExpr(Parse*, Expr*, u8, sqlite3_value**);
21428 SQLITE_PRIVATE int sqlite3Stat4Column(sqlite3*, const void*, int, int, sqlite3_value**);
23326 struct sqlite3_value {
23498 sqlite3_value *argv[1]; /* Argument set */
23654 ** The value as passed into xFilter is an sqlite3_value with a "pointer"
23664 sqlite3_value *pOut; /* Register to hold each decoded output value */
25316 sqlite3_value **argv,
25366 sqlite3_value **argv
25384 sqlite3_value **argv
25405 sqlite3_value **argv
25465 sqlite3_value **argv
25507 sqlite3_value **argv
25619 sqlite3_value **argv
25787 sqlite3_value **NotUsed2
25801 sqlite3_value **NotUsed2
25827 sqlite3_value **argv
25924 sqlite3_value **NotUsed2
25946 sqlite3_value **argv
25986 sqlite3_value **argv
83670 SQLITE_PRIVATE void sqlite3ValueSetNull(sqlite3_value *p){
83731 SQLITE_PRIVATE void sqlite3MemSetArrayInt64(sqlite3_value *aMem, int iIdx, i64 val){
84105 static SQLITE_NOINLINE const void *valueToText(sqlite3_value* pVal, u8 enc){
84148 SQLITE_PRIVATE const void *sqlite3ValueText(sqlite3_value* pVal, u8 enc){
84169 SQLITE_PRIVATE int sqlite3ValueIsOfClass(const sqlite3_value *pVal, void(*xFree)(void*)){
84182 ** Create a new sqlite3_value object.
84184 SQLITE_PRIVATE sqlite3_value *sqlite3ValueNew(sqlite3 *db){
84205 ** Allocate and return a pointer to a new sqlite3_value object. If
84213 ** an sqlite3_value within the UnpackedRecord.a[] array.
84215 static sqlite3_value *valueNew(sqlite3 *db, struct ValueNewStat4Ctx *p){
84270 ** If the result is a text value, the sqlite3_value object uses encoding
84283 sqlite3_value **ppVal, /* Write the new value here */
84287 sqlite3_value **apVal = 0; /* Function arguments */
84290 sqlite3_value *pVal = 0; /* New value */
84313 apVal = (sqlite3_value**)sqlite3DbMallocZero(db, sizeof(apVal[0]) * nVal);
84369 ** above sqlite3ValueFromExpr(). Allocate the sqlite3_value object
84372 ** If pCtx is NULL and an error occurs after the sqlite3_value object
84382 sqlite3_value **ppVal, /* Write the new value here */
84387 sqlite3_value *pVal = 0;
84551 ** Create a new sqlite3_value object, containing the value of pExpr.
84565 sqlite3_value **ppVal /* Write the new value here */
84594 sqlite3_value **ppVal /* OUT: New value object (or NULL) */
84597 sqlite3_value *pVal = 0;
84685 sqlite3_value *pVal = 0;
84713 sqlite3_value **ppVal /* OUT: New value object (or NULL) */
84721 ** sqlite3_value object is allocated.
84731 sqlite3_value **ppVal /* OUT: Extracted value */
84787 ** Change the string value of an sqlite3_value object
84790 sqlite3_value *v, /* Value to be set */
84800 ** Free an sqlite3_value object
84802 SQLITE_PRIVATE void sqlite3ValueFree(sqlite3_value *v){
84810 ** sqlite3_value object assuming that it uses the encoding "enc".
84813 static SQLITE_NOINLINE int valueBytes(sqlite3_value *pVal, u8 enc){
84816 SQLITE_PRIVATE int sqlite3ValueBytes(sqlite3_value *pVal, u8 enc){
85289 nByte = sizeof(*pCtx) + (nArg-1)*sizeof(sqlite3_value*);
86239 sqlite3ValueFree((sqlite3_value*)p4);
87055 ** This is a destructor on a Mem object (which is really an sqlite3_value)
89277 v1 = sqlite3ValueText((sqlite3_value*)&c1, pColl->enc);
89278 v2 = sqlite3ValueText((sqlite3_value*)&c2, pColl->enc);
90165 ** Return a pointer to an sqlite3_value structure containing the value bound
90172 SQLITE_PRIVATE sqlite3_value *sqlite3VdbeGetBoundValue(Vdbe *v, int iVar, u8 aff){
90179 sqlite3_value *pRet = sqlite3ValueNew(v->db);
90556 ** The following routines extract information from a Mem or sqlite3_value
90559 SQLITE_API const void *sqlite3_value_blob(sqlite3_value *pVal){
90572 SQLITE_API int sqlite3_value_bytes(sqlite3_value *pVal){
90575 SQLITE_API int sqlite3_value_bytes16(sqlite3_value *pVal){
90578 SQLITE_API double sqlite3_value_double(sqlite3_value *pVal){
90581 SQLITE_API int sqlite3_value_int(sqlite3_value *pVal){
90584 SQLITE_API sqlite_int64 sqlite3_value_int64(sqlite3_value *pVal){
90587 SQLITE_API unsigned int sqlite3_value_subtype(sqlite3_value *pVal){
90591 SQLITE_API void *sqlite3_value_pointer(sqlite3_value *pVal, const char *zPType){
90604 SQLITE_API const unsigned char *sqlite3_value_text(sqlite3_value *pVal){
90608 SQLITE_API const void *sqlite3_value_text16(sqlite3_value* pVal){
90611 SQLITE_API const void *sqlite3_value_text16be(sqlite3_value *pVal){
90614 SQLITE_API const void *sqlite3_value_text16le(sqlite3_value *pVal){
90622 SQLITE_API int sqlite3_value_type(sqlite3_value* pVal){
90706 SQLITE_API int sqlite3_value_encoding(sqlite3_value *pVal){
90711 SQLITE_API int sqlite3_value_nochange(sqlite3_value *pVal){
90716 SQLITE_API int sqlite3_value_frombind(sqlite3_value *pVal){
90720 /* Make a copy of an sqlite3_value object
90722 SQLITE_API sqlite3_value *sqlite3_value_dup(const sqlite3_value *pOrig){
90723 sqlite3_value *pNew;
90745 /* Destroy an sqlite3_value object previously obtained from
90748 SQLITE_API void sqlite3_value_free(sqlite3_value *pOld){
91005 SQLITE_API void sqlite3_result_value(sqlite3_context *pCtx, sqlite3_value *pValue){
91392 sqlite3_value *pVal, /* Pointer to the ValueList object */
91393 sqlite3_value **ppOut, /* Store the next value from the list here */
91427 sqlite3_value *pOut = pRhs->pOut;
91446 SQLITE_API int sqlite3_vtab_in_first(sqlite3_value *pVal, sqlite3_value **ppOut){
91454 SQLITE_API int sqlite3_vtab_in_next(sqlite3_value *pVal, sqlite3_value **ppOut){
91779 SQLITE_API sqlite3_value *sqlite3_column_value(sqlite3_stmt *pStmt, int i){
91786 return (sqlite3_value *)pOut;
91884 ret = sqlite3_value_text16((sqlite3_value*)&p->aColName[N]);
91888 ret = sqlite3_value_text((sqlite3_value*)&p->aColName[N]);
92186 SQLITE_API int sqlite3_bind_value(sqlite3_stmt *pStmt, int i, const sqlite3_value *pValue){
92188 switch( sqlite3_value_type((sqlite3_value*)pValue) ){
92534 SQLITE_API int sqlite3_preupdate_old(sqlite3 *db, int iIdx, sqlite3_value **ppValue){
92584 *ppValue = (sqlite3_value *)columnNullValue();
92659 SQLITE_API int sqlite3_preupdate_new(sqlite3 *db, int iIdx, sqlite3_value **ppValue){
92701 pMem = (sqlite3_value *)columnNullValue();
93541 SQLITE_API int sqlite3_value_numeric_type(sqlite3_value *pVal){
93552 ** Exported version of applyAffinity(). This one works on sqlite3_value*,
93556 sqlite3_value *pVal,
95895 typeMask = 1 << (sqlite3_value_type((sqlite3_value*)&aMem[pOp->p3])-1);
100780 pCtx = sqlite3DbMallocRawNN(db, n*sizeof(sqlite3_value*) +
100781 (sizeof(pCtx[0]) + sizeof(Mem) - sizeof(sqlite3_value*)));
105906 int argc, sqlite3_value **argv
115004 sqlite3_value *pL, *pR = 0;
116529 sqlite3_value *pVal = 0;
117206 sqlite3_value *pType,
117207 sqlite3_value *pObject,
117635 sqlite3_value **argv
117860 sqlite3_value **argv
118046 sqlite3_value **argv
118159 sqlite3_value **argv
118234 sqlite3_value **argv
118859 sqlite3_value **argv
119160 sqlite3_value **argv
119276 sqlite3_value **argv
120553 sqlite3_value **argv
120759 sqlite3_value **argv
127108 sqlite3_value *pTmp = sqlite3ValueNew(db);
128700 sqlite3_value **argv
128730 sqlite3_value **argv
128742 ** the datatype code for the initial datatype of the sqlite3_value object
128755 sqlite3_value **argv
128767 sqlite3_value **argv
128806 sqlite3_value **argv
128842 static void absFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
128894 sqlite3_value **argv
128904 sqlite3_value *pC1 = 0;
128905 sqlite3_value *pC2 = 0;
128962 sqlite3_value **argv
128998 sqlite3_value **argv
129090 static void roundFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
129152 static void upperFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
129171 static void lowerFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
129207 sqlite3_value **NotUsed2
129233 sqlite3_value **argv
129257 sqlite3_value **NotUsed2
129277 sqlite3_value **NotUsed2
129291 sqlite3_value **NotUsed2
129558 sqlite3_value **argv
129629 sqlite3_value **argv
129645 sqlite3_value **NotUsed2
129661 sqlite3_value **NotUsed2
129677 sqlite3_value **argv
129693 sqlite3_value **argv
129717 sqlite3_value **argv
129741 SQLITE_PRIVATE void sqlite3QuoteValue(StrAccum *pStr, sqlite3_value *pValue){
129810 static void quoteFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
129832 sqlite3_value **argv
129847 sqlite3_value **argv
129889 sqlite3_value **argv
129951 sqlite3_value **argv
130008 sqlite3_value **argv
130031 sqlite3_value **argv
130124 sqlite3_value **argv
130211 sqlite3_value **argv,
130254 sqlite3_value **argv
130269 sqlite3_value **argv
130291 sqlite3_value **argv
130315 sqlite3_value **argv
130365 static void loadExt(sqlite3_context *context, int argc, sqlite3_value **argv){
130470 static void sumStep(sqlite3_context *context, int argc, sqlite3_value **argv){
130506 static void sumInverse(sqlite3_context *context, int argc, sqlite3_value**argv){
130597 static void countStep(sqlite3_context *context, int argc, sqlite3_value **argv){
130619 static void countInverse(sqlite3_context *ctx, int argc, sqlite3_value **argv){
130640 sqlite3_value **argv
130676 sqlite3_value *pRes;
130677 pRes = (sqlite3_value *)sqlite3_aggregate_context(context, 0);
130723 sqlite3_value **argv
130794 sqlite3_value **argv
130999 sqlite3_value **argv
131049 sqlite3_value **argv
131105 sqlite3_value **argv
131127 sqlite3_value **argv
131150 sqlite3_value **argv
131165 sqlite3_value **argv
131187 sqlite3_value **argv
136478 int (*bind_value)(sqlite3_stmt*,int,const sqlite3_value*);
136507 sqlite3_value* (*column_value)(sqlite3_stmt*,int iCol);
136516 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
136517 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
136520 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
136521 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
136565 void (*result_value)(sqlite3_context*,sqlite3_value*);
136581 const void * (*value_blob)(sqlite3_value*);
136582 int (*value_bytes)(sqlite3_value*);
136583 int (*value_bytes16)(sqlite3_value*);
136584 double (*value_double)(sqlite3_value*);
136585 int (*value_int)(sqlite3_value*);
136586 sqlite_int64 (*value_int64)(sqlite3_value*);
136587 int (*value_numeric_type)(sqlite3_value*);
136588 const unsigned char * (*value_text)(sqlite3_value*);
136589 const void * (*value_text16)(sqlite3_value*);
136590 const void * (*value_text16be)(sqlite3_value*);
136591 const void * (*value_text16le)(sqlite3_value*);
136592 int (*value_type)(sqlite3_value*);
136650 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
136651 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
136702 sqlite3_value *(*value_dup)(const sqlite3_value*);
136703 void (*value_free)(sqlite3_value*);
136707 unsigned int (*value_subtype)(sqlite3_value*);
136727 void *(*value_pointer)(sqlite3_value*,const char*);
136729 int (*value_nochange)(sqlite3_value*);
136748 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
136751 void (*xInv)(sqlite3_context*,int,sqlite3_value**),
136757 int (*value_frombind)(sqlite3_value*);
136782 int (*vtab_rhs_value)(sqlite3_index_info*,int,sqlite3_value**);
136785 int (*vtab_in_first)(sqlite3_value*,sqlite3_value**);
136786 int (*vtab_in_next)(sqlite3_value*,sqlite3_value**);
136794 int (*value_encoding)(sqlite3_value*);
137547 (sqlite3_value*(*)(const sqlite3_value*))sqlite3_value_dup,
140645 sqlite3_value *pDfltValue = 0;
141675 int argc, sqlite3_value **argv
153327 ** sqlite3_value objects.
153340 sqlite3_value *pValue = 0;
155123 sqlite3_value *pOut /* Write results here, if not NULL. VACUUM INTO */
156550 void (*xSFunc)(sqlite3_context*,int,sqlite3_value**) = 0;
160427 sqlite3_value *pVal = 0;
160656 void (*xNotUsed)(sqlite3_context*,int,sqlite3_value**);
162155 sqlite3_value *aRhs[1]; /* RHS values for constraints. MUST BE LAST
163549 + sizeof(sqlite3_value*)*nTerm );
163981 sqlite3_value *p1 = 0; /* Value extracted from pLower */
163982 sqlite3_value *p2 = 0; /* Value extracted from pUpper */
163983 sqlite3_value *pVal = 0; /* Value extracted from record */
166457 sqlite3_value **ppVal /* Write value extracted here */
166460 sqlite3_value *pVal = 0;
169497 sqlite3_value **apArg
169528 sqlite3_value **apArg
169555 sqlite3_value *pValue;
169560 sqlite3_value **apArg
169613 sqlite3_value **apArg
169647 sqlite3_value **apArg
169678 sqlite3_value **apArg
169691 sqlite3_value **apArg
169723 sqlite3_value **apArg
169736 sqlite3_value **apArg
169772 sqlite3_value **apArg
169792 sqlite3_value **apArg
169828 sqlite3_value *pVal;
169838 sqlite3_value **apArg
169856 sqlite3_value **apArg
169919 sqlite3_value **a /*NO_TEST*/
171783 sqlite3_value *pVal = 0;
179638 sqlite3_value *pVal;
181659 void (*xSFunc)(sqlite3_context*,int,sqlite3_value **),
181660 void (*xStep)(sqlite3_context*,int,sqlite3_value **),
181663 void (*xInverse)(sqlite3_context*,int,sqlite3_value **),
181793 void (*xSFunc)(sqlite3_context*,int,sqlite3_value**),
181794 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
181797 void (*xInverse)(sqlite3_context*,int,sqlite3_value**),
181844 void (*xSFunc)(sqlite3_context*,int,sqlite3_value **),
181845 void (*xStep)(sqlite3_context*,int,sqlite3_value **),
181857 void (*xSFunc)(sqlite3_context*,int,sqlite3_value **),
181858 void (*xStep)(sqlite3_context*,int,sqlite3_value **),
181871 void (*xStep)(sqlite3_context*,int,sqlite3_value **),
181874 void (*xInverse)(sqlite3_context*,int,sqlite3_value **),
181888 void (*xSFunc)(sqlite3_context*,int,sqlite3_value**),
181889 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
181921 sqlite3_value **NotUsed2 /* Value of each argument */
183390 sqlite3_value *pVal;
186275 SQLITE_PRIVATE int sqlite3Fts3UpdateMethod(sqlite3_vtab*,int,sqlite3_value**,sqlite3_int64*);
189423 static sqlite3_int64 fts3DocidRange(sqlite3_value *pVal, i64 iDefault){
189454 sqlite3_value **apVal /* Arguments for the indexing scheme */
189462 sqlite3_value *pCons = 0; /* The MATCH or rowid constraint, if any */
189463 sqlite3_value *pLangid = 0; /* The "langid = ?" constraint, if any */
189464 sqlite3_value *pDocidGe = 0; /* The "docid >= ?" constraint, if any */
189465 sqlite3_value *pDocidLe = 0; /* The "docid <= ?" constraint, if any */
189659 sqlite3_value **apVal, /* Array of arguments */
189838 sqlite3_value *pVal, /* argv[0] passed to function */
189860 sqlite3_value **apVal /* Array of arguments */
189907 sqlite3_value **apVal /* Array of arguments */
189933 sqlite3_value **apVal /* Array of arguments */
189967 sqlite3_value **apVal /* Array of arguments */
189988 void (**pxFunc)(sqlite3_context*,int,sqlite3_value**), /* OUT: Result */
189993 void (*xFunc)(sqlite3_context*,int,sqlite3_value**);
192712 sqlite3_value **apVal /* Arguments for the indexing scheme */
194085 sqlite3_value **argv
194166 sqlite3_value **argv
194173 sqlite3_value **argv
195316 sqlite3_value **argv
195513 sqlite3_value **argv
195675 sqlite3_value **argv
196347 sqlite3_value **apVal /* Arguments for the indexing scheme */
196762 sqlite3_value **apVal /* Values to bind to statement */
196969 sqlite3_value **apVal /* Parameters to bind */
197394 sqlite3_value **apVal,
197428 sqlite3_value **apVal, /* Array of values to insert */
197435 sqlite3_value *pRowid = apVal[p->nColumn+3];
197538 sqlite3_value *pRowid, /* The docid to be deleted */
198911 static int fts3IsEmpty(Fts3Table *p, sqlite3_value *pRowid, int *pisEmpty){
201904 static int fts3SpecialInsert(Fts3Table *p, sqlite3_value *pVal){
202097 sqlite3_value *pRowid,
202147 sqlite3_value **apVal, /* Array of arguments */
202207 sqlite3_value *pNewRowid = apVal[3+p->nColumn];
205200 static int jsonFuncArgMightBeBinary(sqlite3_value *pJson);
205203 static JsonParse *jsonParseFuncArg(sqlite3_context*,sqlite3_value*,u32);
205279 sqlite3_value *pArg /* Function argument containing SQL text */
205585 ** Append an sqlite3_value (such as a function parameter) to the JSON
205590 sqlite3_value *pValue /* Value to append */
207302 static int jsonFuncArgMightBeBinary(sqlite3_value *pJson){
208050 sqlite3_value *pArg,
208157 sqlite3_value **argv,
208224 static int jsonArgIsJsonb(sqlite3_value *pArg, JsonParse *p){
208265 sqlite3_value *pArg,
208535 sqlite3_value **argv
208568 sqlite3_value **argv
208587 sqlite3_value **argv
208613 sqlite3_value **argv
208680 sqlite3_value **argv
208991 sqlite3_value **argv
209025 sqlite3_value **argv
209067 sqlite3_value **argv
209124 sqlite3_value **argv
209150 sqlite3_value **argv
209174 sqlite3_value **argv
209221 sqlite3_value **argv
209302 sqlite3_value **argv
209388 sqlite3_value **argv
209438 sqlite3_value **argv
209504 sqlite3_value **argv
209552 sqlite3_value **argv
210071 int argc, sqlite3_value **argv
210729 sqlite3_value **apSqlParam; /* Original SQL parameter values */
212130 static int deserializeGeometry(sqlite3_value *pValue, RtreeConstraint *pCons){
212165 int argc, sqlite3_value **argv
213323 ** Convert an sqlite3_value into an RtreeValue (presumably a float)
213326 static RtreeValue rtreeValueDown(sqlite3_value *v){
213334 static RtreeValue rtreeValueUp(sqlite3_value *v){
213398 sqlite3_value **aData,
214052 static void rtreenode(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
214104 static void rtreedepth(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
214571 sqlite3_value **apArg
214901 sqlite3_value *pVal, /* The value to decode */
214963 sqlite3_value **argv
214983 sqlite3_value **argv
215010 sqlite3_value **argv
215057 sqlite3_value **argv
215116 sqlite3_value **argv
215142 sqlite3_value **argv
215192 sqlite3_value **argv
215235 sqlite3_value *pPoly, /* The polygon */
215307 sqlite3_value **argv
215334 sqlite3_value **argv
215419 sqlite3_value **argv
215464 sqlite3_value **argv
215795 sqlite3_value **argv
215818 sqlite3_value **argv
215967 int argc, sqlite3_value **argv /* Parameters to the query plan */
216207 sqlite3_value **aData,
216344 void (**pxFunc)(sqlite3_context*,int,sqlite3_value**),
216394 void (*xFunc)(sqlite3_context*,int,sqlite3_value**);
216413 void (*xStep)(sqlite3_context*,int,sqlite3_value**);
216522 static void geomCallback(sqlite3_context *ctx, int nArg, sqlite3_value **aArg){
216529 + nArg*sizeof(sqlite3_value*);
216537 pBlob->apSqlParam = (sqlite3_value**)&pBlob->aParam[nArg];
216838 sqlite3_value **argv
216902 static void icuRegexpFunc(sqlite3_context *p, int nArg, sqlite3_value **apArg){
216986 static void icuCaseFunc16(sqlite3_context *p, int nArg, sqlite3_value **apArg){
217090 sqlite3_value **apArg
217166 void (*xFunc)(sqlite3_context*,int,sqlite3_value**);
218798 sqlite3_value **argv
219067 sqlite3_value **argv
220311 sqlite3_value **apVal
221478 sqlite3_value *pVal;
221585 sqlite3_value *pVal;
222018 sqlite3_value **apVal
224276 int argc, sqlite3_value **argv
224672 int argc, sqlite3_value **argv
224763 sqlite3_value **argv,
224920 int (*xOld)(void*,int,sqlite3_value**);
224921 int (*xNew)(void*,int,sqlite3_value**);
224942 sqlite3_value *pZeroBlob; /* Value containing X'' */
224992 sqlite3_value **apValue; /* old.* and new.* values */
225274 sqlite3_value *pValue, /* Value to serialize */
225440 sqlite3_value *pVal;
225779 sqlite3_value *pVal; /* Value returned by preupdate_new/old */
226421 static int sessionStat1Old(void *pCtx, int iCol, sqlite3_value **ppVal){
226423 sqlite3_value *pVal = 0;
226431 static int sessionStat1New(void *pCtx, int iCol, sqlite3_value **ppVal){
226433 sqlite3_value *pVal = 0;
226462 sqlite3_value *p = 0;
226483 sqlite3_value *p = 0;
226605 sqlite3_value *p = sqlite3ValueNew(0);
226643 sqlite3_value *p = 0;
226682 sqlite3_value *p = 0;
226809 static int sessionPreupdateOld(void *pCtx, int iVal, sqlite3_value **ppVal){
226812 static int sessionPreupdateNew(void *pCtx, int iVal, sqlite3_value **ppVal){
226846 static int sessionDiffOld(void *pCtx, int iVal, sqlite3_value **ppVal){
226851 static int sessionDiffNew(void *pCtx, int iVal, sqlite3_value **ppVal){
227315 static void sessionAppendValue(SessionBuffer *p, sqlite3_value *pVal, int *pRc){
228280 ** This function sets the value of the sqlite3_value object passed as the
228286 sqlite3_value *pVal, /* Set the value of this object */
228314 ** is set to point to an sqlite3_value object containing the value read
228330 sqlite3_value **apOut, /* Write values to this array */
228506 nByte = p->nCol * sizeof(sqlite3_value*) * 2 + nCopy;
228515 size_t iPK = sizeof(sqlite3_value*)*p->nCol*2;
228521 p->apValue = (sqlite3_value**)p->tblhdr.aBuf;
228563 memset(p->apValue, 0, sizeof(sqlite3_value*)*p->nCol*2);
228620 sqlite3_value **apOld = (p->bInvert ? &p->apValue[p->nCol] : p->apValue);
228621 sqlite3_value **apNew = (p->bInvert ? p->apValue : &p->apValue[p->nCol]);
228758 ** It sets *ppValue to point to an sqlite3_value structure containing the
228769 sqlite3_value **ppValue /* OUT: Old value (or NULL pointer) */
228786 ** It sets *ppValue to point to an sqlite3_value structure containing the
228797 sqlite3_value **ppValue /* OUT: New value (or NULL pointer) */
228822 ** If successful, *ppValue is set to point to an sqlite3_value structure
228831 sqlite3_value **ppValue /* OUT: Value from conflicting row */
228895 sqlite3_value **apVal = 0; /* Space for values for UPDATE inversion */
228964 apVal = (sqlite3_value **)sqlite3_malloc64(sizeof(apVal[0])*nCol*2);
228987 sqlite3_value *pVal = apVal[iCol + (abPK[iCol] ? 0 : nCol)];
228995 sqlite3_value *pVal = (abPK[iCol] ? 0 : apVal[iCol]);
229440 sqlite3_value *pVal /* Value to bind */
229472 int(*xValue)(sqlite3_changeset_iter *, int, sqlite3_value **),
229488 sqlite3_value *pVal = 0;
229540 sqlite3_value *pVal = 0;
229593 sqlite3_value *pVal = 0;
229804 sqlite3_value *pOld = sessionChangesetOld(pIter, i);
229805 sqlite3_value *pNew = sessionChangesetNew(pIter, i);
229953 size_t nByte = 2*pApply->nCol*sizeof(sqlite3_value*);
229960 pIter2->apValue = (sqlite3_value**)pIter2->tblhdr.aBuf;
231466 sqlite3_value **apVal /* Array of trailing arguments */
232313 static int sqlite3Fts5ConfigSetValue(Fts5Config*, const char*, sqlite3_value*, int*);
232737 static int sqlite3Fts5StorageDelete(Fts5Storage *p, i64, sqlite3_value**);
232738 static int sqlite3Fts5StorageContentInsert(Fts5Storage *p, sqlite3_value**, i64*);
232739 static int sqlite3Fts5StorageIndexInsert(Fts5Storage *p, sqlite3_value**, i64);
232754 Fts5Storage *p, const char*, sqlite3_value*, int
234700 sqlite3_value **apVal /* Array of trailing arguments */
234865 static const char *fts5ValueToText(sqlite3_value *pVal){
234878 sqlite3_value **apVal /* Array of trailing arguments */
235141 sqlite3_value **apVal /* Array of trailing arguments */
236498 sqlite3_value *pVal,
236638 sqlite3_value *pVal = sqlite3_column_value(p, 1);
239405 sqlite3_value **apVal, /* Function arguments */
239490 sqlite3_value **apVal /* Function arguments */
239497 sqlite3_value **apVal /* Function arguments */
239510 sqlite3_value **apVal /* Function arguments */
239531 sqlite3_value **apVal /* Function arguments */
239555 void (*x)(sqlite3_context*,int,sqlite3_value**);
249030 sqlite3_value **apVal /* Function arguments */
249265 sqlite3_value **apVal /* Function arguments */
249495 int argc, sqlite3_value **argv
249785 sqlite3_value **apRankArg; /* Array of trailing arguments */
250732 nByte = sizeof(sqlite3_value*)*pCsr->nRankArg;
250733 pCsr->apRankArg = (sqlite3_value**)sqlite3Fts5MallocZero(&rc, nByte);
250766 sqlite3_value *pRank
250800 static i64 fts5GetRowidLimit(sqlite3_value *pVal, i64 iDefault){
250826 sqlite3_value **apVal /* Arguments for the indexing scheme */
250834 sqlite3_value *pRank = 0; /* rank MATCH ? expression (or NULL) */
250835 sqlite3_value *pRowidEq = 0; /* rowid = ? expression (or NULL) */
250836 sqlite3_value *pRowidLe = 0; /* rowid <= ? expression (or NULL) */
250837 sqlite3_value *pRowidGe = 0; /* rowid >= ? expression (or NULL) */
251140 sqlite3_value *pVal /* Value inserted into rank column */
251209 sqlite3_value **apVal
251223 sqlite3_value **apVal,
251253 sqlite3_value **apVal, /* Array of arguments */
252059 sqlite3_value **argv
252078 sqlite3_value **argv
252251 void (**pxFunc)(sqlite3_context*,int,sqlite3_value**), /* OUT: Result */
252520 sqlite3_value **apArg /* Function arguments */
252536 sqlite3_value **apUnused /* Function arguments */
253122 sqlite3_value **apVal
253293 static int sqlite3Fts5StorageDelete(Fts5Storage *p, i64 iDel, sqlite3_value **apVal){
253472 sqlite3_value **apVal,
253507 sqlite3_value **apVal,
253918 sqlite3_value *pVal,
257134 sqlite3_value **apVal /* Arguments for the indexing scheme */
257146 sqlite3_value *pEq = 0;
257147 sqlite3_value *pGe = 0;
257148 sqlite3_value *pLe = 0;
257543 int argc, sqlite3_value **argv