Lines Matching defs:sqlite3_value
3288 ** KEYWORDS: {protected sqlite3_value} {unprotected sqlite3_value}
3290 ** SQLite uses the sqlite3_value object to represent all values
3292 ** for the values it stores. ^Values stored in sqlite3_value objects
3295 ** An sqlite3_value object may be either "protected" or "unprotected".
3296 ** Some interfaces require a protected sqlite3_value. Other interfaces
3297 ** will accept either a protected or an unprotected sqlite3_value.
3298 ** Every interface that accepts sqlite3_value arguments specifies
3299 ** whether or not it requires a protected sqlite3_value.
3303 ** sqlite3_value object but no mutex is held for an unprotected
3304 ** sqlite3_value object. If SQLite is compiled to be single-threaded
3309 ** sqlite3_value objects and they can be used interchangeably. However,
3312 ** sqlite3_value objects even when not strictly required.
3314 ** ^The sqlite3_value objects that are passed as parameters into the
3316 ** ^The sqlite3_value object returned by
3318 ** Unprotected sqlite3_value objects may only be used with
3321 ** interfaces require protected sqlite3_value objects.
3323 typedef struct Mem sqlite3_value;
3428 SQLITE_API int sqlite3_bind_value(sqlite3_stmt*, int, const sqlite3_value*);
3818 ** [unprotected sqlite3_value] object. An unprotected sqlite3_value object
3820 ** If the [unprotected sqlite3_value] object returned by
3923 SQLITE_API sqlite3_value *sqlite3_column_value(sqlite3_stmt*, int iCol);
4072 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
4073 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
4082 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
4083 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
4092 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
4093 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
4141 ** [protected sqlite3_value] objects. There is one [sqlite3_value] object for
4143 ** extract values from the [sqlite3_value] objects.
4145 ** These routines work only with [protected sqlite3_value] objects.
4146 ** Any attempt to use these routines on an [unprotected sqlite3_value]
4150 ** except that these routines take a single [protected sqlite3_value] object
4173 ** the SQL function that supplied the [sqlite3_value*] parameters.
4175 SQLITE_API const void *sqlite3_value_blob(sqlite3_value*);
4176 SQLITE_API int sqlite3_value_bytes(sqlite3_value*);
4177 SQLITE_API int sqlite3_value_bytes16(sqlite3_value*);
4178 SQLITE_API double sqlite3_value_double(sqlite3_value*);
4179 SQLITE_API int sqlite3_value_int(sqlite3_value*);
4180 SQLITE_API sqlite3_int64 sqlite3_value_int64(sqlite3_value*);
4181 SQLITE_API const unsigned char *sqlite3_value_text(sqlite3_value*);
4182 SQLITE_API const void *sqlite3_value_text16(sqlite3_value*);
4183 SQLITE_API const void *sqlite3_value_text16le(sqlite3_value*);
4184 SQLITE_API const void *sqlite3_value_text16be(sqlite3_value*);
4185 SQLITE_API int sqlite3_value_type(sqlite3_value*);
4186 SQLITE_API int sqlite3_value_numeric_type(sqlite3_value*);
4411 ** [unprotected sqlite3_value] object specified by the 2nd parameter. ^The
4412 ** sqlite3_result_value() interface makes a copy of the [sqlite3_value]
4413 ** so that the [sqlite3_value] specified in the parameter may change or
4415 ** ^A [protected sqlite3_value] object may always be used where an
4416 ** [unprotected sqlite3_value] object is required, so either
4417 ** kind of [sqlite3_value] object can be used with this interface.
4437 SQLITE_API void sqlite3_result_value(sqlite3_context*, sqlite3_value*);
5142 int argc, sqlite3_value **argv);
5147 int (*xUpdate)(sqlite3_vtab *, int, sqlite3_value **, sqlite3_int64 *);
5153 void (**pxFunc)(sqlite3_context*,int,sqlite3_value**),
8261 SQLITE_PRIVATE sqlite3_value *sqlite3VdbeGetValue(Vdbe*, int, u8);
9197 sqlite3_value *pErr; /* Most recent error message */
9326 void (*xFunc)(sqlite3_context*,int,sqlite3_value**); /* Regular function */
9327 void (*xStep)(sqlite3_context*,int,sqlite3_value**); /* Aggregate step */
11293 SQLITE_PRIVATE const void *sqlite3ValueText(sqlite3_value*, u8);
11294 SQLITE_PRIVATE int sqlite3ValueBytes(sqlite3_value*, u8);
11295 SQLITE_PRIVATE void sqlite3ValueSetStr(sqlite3_value*, int, const void *,u8,
11297 SQLITE_PRIVATE void sqlite3ValueFree(sqlite3_value*);
11298 SQLITE_PRIVATE sqlite3_value *sqlite3ValueNew(sqlite3 *);
11303 SQLITE_PRIVATE int sqlite3ValueFromExpr(sqlite3 *, Expr *, u8, u8, sqlite3_value **);
11304 SQLITE_PRIVATE void sqlite3ValueApplyAffinity(sqlite3_value *, u8, u8);
11348 void (*)(sqlite3_context*,int,sqlite3_value **),
11349 void (*)(sqlite3_context*,int,sqlite3_value **), void (*)(sqlite3_context*),
11421 SQLITE_PRIVATE void sqlite3InvalidFunction(sqlite3_context*,int,sqlite3_value**);
13563 sqlite3_value **argv,
13604 sqlite3_value **argv
13621 sqlite3_value **argv
13641 sqlite3_value **argv
13660 sqlite3_value **argv
13693 sqlite3_value **argv
13829 sqlite3_value **NotUsed2
13843 sqlite3_value **NotUsed2
13857 sqlite3_value **NotUsed2
13879 sqlite3_value **argv
56830 v1 = sqlite3ValueText((sqlite3_value*)&c1, pColl->enc);
56832 v2 = sqlite3ValueText((sqlite3_value*)&c2, pColl->enc);
56922 SQLITE_PRIVATE const void *sqlite3ValueText(sqlite3_value* pVal, u8 enc){
56959 ** Create a new sqlite3_value object.
56961 SQLITE_PRIVATE sqlite3_value *sqlite3ValueNew(sqlite3 *db){
56972 ** Create a new sqlite3_value object, containing the value of pExpr.
56986 sqlite3_value **ppVal /* Write the new value here */
56990 sqlite3_value *pVal = 0;
57089 ** Change the string value of an sqlite3_value object
57092 sqlite3_value *v, /* Value to be set */
57102 ** Free an sqlite3_value object
57104 SQLITE_PRIVATE void sqlite3ValueFree(sqlite3_value *v){
57111 ** Return the number of bytes in the sqlite3_value object assuming
57114 SQLITE_PRIVATE int sqlite3ValueBytes(sqlite3_value *pVal, u8 enc){
57743 sqlite3ValueFree((sqlite3_value*)p4);
60297 ** Return a pointer to an sqlite3_value structure containing the value bound
60304 SQLITE_PRIVATE sqlite3_value *sqlite3VdbeGetValue(Vdbe *v, int iVar, u8 aff){
60309 sqlite3_value *pRet = sqlite3ValueNew(v->db);
60471 ** The following routines extract information from a Mem or sqlite3_value
60474 SQLITE_API const void *sqlite3_value_blob(sqlite3_value *pVal){
60485 SQLITE_API int sqlite3_value_bytes(sqlite3_value *pVal){
60488 SQLITE_API int sqlite3_value_bytes16(sqlite3_value *pVal){
60491 SQLITE_API double sqlite3_value_double(sqlite3_value *pVal){
60494 SQLITE_API int sqlite3_value_int(sqlite3_value *pVal){
60497 SQLITE_API sqlite_int64 sqlite3_value_int64(sqlite3_value *pVal){
60500 SQLITE_API const unsigned char *sqlite3_value_text(sqlite3_value *pVal){
60504 SQLITE_API const void *sqlite3_value_text16(sqlite3_value* pVal){
60507 SQLITE_API const void *sqlite3_value_text16be(sqlite3_value *pVal){
60510 SQLITE_API const void *sqlite3_value_text16le(sqlite3_value *pVal){
60514 SQLITE_API int sqlite3_value_type(sqlite3_value* pVal){
60613 SQLITE_API void sqlite3_result_value(sqlite3_context *pCtx, sqlite3_value *pValue){
60878 sqlite3_value **NotUsed2 /* Value of each argument */
61132 SQLITE_API sqlite3_value *sqlite3_column_value(sqlite3_stmt *pStmt, int i){
61139 return (sqlite3_value *)pOut;
61453 SQLITE_API int sqlite3_bind_value(sqlite3_stmt *pStmt, int i, const sqlite3_value *pValue){
62131 SQLITE_API int sqlite3_value_numeric_type(sqlite3_value *pVal){
62141 ** Exported version of applyAffinity(). This one works on sqlite3_value*,
62145 sqlite3_value *pVal,
62515 sqlite3_value **apVal;
62811 sqlite3_value **apVal;
63672 sqlite3_value **apVal;
67585 sqlite3_value **apVal;
74534 sqlite3_value **argv
74599 sqlite3_value **argv
74654 sqlite3_value **argv
75184 sqlite3_value *pVal;
76109 sqlite3_value **argv
76282 sqlite3_value **argv
80632 sqlite3_value *pTmp = sqlite3ValueNew(db);
81736 sqlite3_value **argv
81766 sqlite3_value **argv
81787 sqlite3_value **argv
81824 static void absFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
81877 sqlite3_value **argv
81960 static void roundFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
82022 static void upperFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
82042 static void lowerFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
82079 sqlite3_value **argv
82098 sqlite3_value **NotUsed2
82124 sqlite3_value **argv
82148 sqlite3_value **NotUsed2
82168 sqlite3_value **NotUsed2
82182 sqlite3_value **NotUsed2
82383 sqlite3_value **argv
82436 sqlite3_value **argv
82452 sqlite3_value **NotUsed2
82468 sqlite3_value **NotUsed2
82485 sqlite3_value **argv
82509 sqlite3_value **argv
82540 static void quoteFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
82608 sqlite3_value **argv
82636 sqlite3_value **argv
82661 sqlite3_value **argv
82745 sqlite3_value **argv
82837 sqlite3_value **argv
82887 static void loadExt(sqlite3_context *context, int argc, sqlite3_value **argv){
82929 static void sumStep(sqlite3_context *context, int argc, sqlite3_value **argv){
82989 static void countStep(sqlite3_context *context, int argc, sqlite3_value **argv){
83017 sqlite3_value **argv
83049 sqlite3_value *pRes;
83050 pRes = (sqlite3_value *)sqlite3_aggregate_context(context, 0);
83065 sqlite3_value **argv
86529 int (*bind_value)(sqlite3_stmt*,int,const sqlite3_value*);
86556 sqlite3_value* (*column_value)(sqlite3_stmt*,int iCol);
86562 int (*create_function)(sqlite3*,const char*,int,int,void*,void (*xFunc)(sqlite3_context*,int,sqlite3_value**),void (*xStep)(sqlite3_context*,int,sqlite3_value**),void (*xFinal)(sqlite3_context*));
86563 int (*create_function16)(sqlite3*,const void*,int,int,void*,void (*xFunc)(sqlite3_context*,int,sqlite3_value**),void (*xStep)(sqlite3_context*,int,sqlite3_value**),void (*xFinal)(sqlite3_context*));
86606 void (*result_value)(sqlite3_context*,sqlite3_value*);
86619 const void * (*value_blob)(sqlite3_value*);
86620 int (*value_bytes)(sqlite3_value*);
86621 int (*value_bytes16)(sqlite3_value*);
86622 double (*value_double)(sqlite3_value*);
86623 int (*value_int)(sqlite3_value*);
86624 sqlite_int64 (*value_int64)(sqlite3_value*);
86625 int (*value_numeric_type)(sqlite3_value*);
86626 const unsigned char * (*value_text)(sqlite3_value*);
86627 const void * (*value_text16)(sqlite3_value*);
86628 const void * (*value_text16be)(sqlite3_value*);
86629 const void * (*value_text16le)(sqlite3_value*);
86630 int (*value_type)(sqlite3_value*);
86683 int (*create_function_v2)(sqlite3*,const char*,int,int,void*,void (*xFunc)(sqlite3_context*,int,sqlite3_value**),void (*xStep)(sqlite3_context*,int,sqlite3_value**),void (*xFinal)(sqlite3_context*),void(*xDestroy)(void*));
95752 ** sqlite3_value objects.
95762 sqlite3_value *pValue;
97576 void (*xFunc)(sqlite3_context*,int,sqlite3_value**) = 0;
98308 sqlite3_value *pVal = 0;
99933 sqlite3_value *pVal, /* Value to consider */
100022 ** an sqlite3_value structure containing the same value, with affinity
100029 ** create an sqlite3_value structure containing this value, again with
100041 sqlite3_value **pp
100109 sqlite3_value *pLowerVal = 0;
100110 sqlite3_value *pUpperVal = 0;
100198 sqlite3_value *pRhs = 0; /* VALUE on right-hand side of pTerm */
100255 sqlite3_value *pVal = 0; /* One value from list */
107135 sqlite3_value *pVal;
108266 void (*xFunc)(sqlite3_context*,int,sqlite3_value **),
108267 void (*xStep)(sqlite3_context*,int,sqlite3_value **),
108360 void (*xFunc)(sqlite3_context*,int,sqlite3_value **),
108361 void (*xStep)(sqlite3_context*,int,sqlite3_value **),
108374 void (*xFunc)(sqlite3_context*,int,sqlite3_value **),
108375 void (*xStep)(sqlite3_context*,int,sqlite3_value **),
108411 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
108412 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
109318 sqlite3_value *pVal;
111967 int argc, sqlite3_value **argv
113252 SQLITE_PRIVATE int sqlite3Fts3UpdateMethod(sqlite3_vtab*,int,sqlite3_value**,sqlite3_int64*);
116094 sqlite3_value **apVal /* Arguments for the indexing scheme */
116245 sqlite3_value **apVal, /* Array of arguments */
116388 sqlite3_value *pVal, /* argv[0] passed to function */
116411 sqlite3_value **apVal /* Array of arguments */
116452 sqlite3_value **apVal /* Array of arguments */
116478 sqlite3_value **apVal /* Array of arguments */
116512 sqlite3_value **apVal /* Array of arguments */
116533 void (**pxFunc)(sqlite3_context*,int,sqlite3_value**), /* OUT: Result */
116538 void (*xFunc)(sqlite3_context*,int,sqlite3_value**);
117092 sqlite3_value **apVal /* Arguments for the indexing scheme */
118078 sqlite3_value **argv
119244 sqlite3_value **argv
119425 sqlite3_value **argv
119581 sqlite3_value **argv
120111 sqlite3_value **apVal /* Values to bind to statement */
120238 sqlite3_value **apVal /* Parameters to bind */
120537 static int fts3InsertTerms(Fts3Table *p, sqlite3_value **apVal, u32 *aSz){
120567 sqlite3_value **apVal, /* Array of values to insert */
120650 sqlite3_value **apVal, /* apVal[] contains the docid to be deleted */
121803 static int fts3IsEmpty(Fts3Table *p, sqlite3_value **apVal, int *pisEmpty){
122352 static int fts3SpecialInsert(Fts3Table *p, sqlite3_value *pVal){
122538 sqlite3_value **apVal, /* Array of arguments */
125447 static int deserializeGeometry(sqlite3_value *pValue, RtreeConstraint *pCons){
125493 int argc, sqlite3_value **argv
126891 sqlite3_value **azData,
127344 static void rtreenode(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
127383 static void rtreedepth(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
127438 static void geomCallback(sqlite3_context *ctx, int nArg, sqlite3_value **aArg){
127657 sqlite3_value **argv
127739 static void icuRegexpFunc(sqlite3_context *p, int nArg, sqlite3_value **apArg){
127822 static void icuCaseFunc16(sqlite3_context *p, int nArg, sqlite3_value **apArg){
127910 sqlite3_value **apArg
127952 void (*xFunc)(sqlite3_context*,int,sqlite3_value**);