Lines Matching refs:sqlite3_value
3761 ** KEYWORDS: {protected sqlite3_value} {unprotected sqlite3_value}
3763 ** SQLite uses the sqlite3_value object to represent all values
3765 ** for the values it stores. ^Values stored in sqlite3_value objects
3768 ** An sqlite3_value object may be either "protected" or "unprotected".
3769 ** Some interfaces require a protected sqlite3_value. Other interfaces
3770 ** will accept either a protected or an unprotected sqlite3_value.
3771 ** Every interface that accepts sqlite3_value arguments specifies
3772 ** whether or not it requires a protected sqlite3_value.
3776 ** sqlite3_value object but no mutex is held for an unprotected
3777 ** sqlite3_value object. If SQLite is compiled to be single-threaded
3782 ** sqlite3_value objects and they can be used interchangeably. However,
3785 ** sqlite3_value objects even when not strictly required.
3787 ** ^The sqlite3_value objects that are passed as parameters into the
3789 ** ^The sqlite3_value object returned by
3791 ** Unprotected sqlite3_value objects may only be used with
3794 ** interfaces require protected sqlite3_value objects.
3796 typedef struct Mem sqlite3_value;
3914 SQLITE_API int sqlite3_bind_value(sqlite3_stmt*, int, const sqlite3_value*);
4310 ** [unprotected sqlite3_value] object. An unprotected sqlite3_value object
4312 ** If the [unprotected sqlite3_value] object returned by
4415 SQLITE_API sqlite3_value *sqlite3_column_value(sqlite3_stmt*, int iCol);
4564 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
4565 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
4574 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
4575 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
4584 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
4585 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
4634 ** [protected sqlite3_value] objects. There is one [sqlite3_value] object for
4636 ** extract values from the [sqlite3_value] objects.
4638 ** These routines work only with [protected sqlite3_value] objects.
4639 ** Any attempt to use these routines on an [unprotected sqlite3_value]
4643 ** except that these routines take a single [protected sqlite3_value] object
4666 ** the SQL function that supplied the [sqlite3_value*] parameters.
4668 SQLITE_API const void *sqlite3_value_blob(sqlite3_value*);
4669 SQLITE_API int sqlite3_value_bytes(sqlite3_value*);
4670 SQLITE_API int sqlite3_value_bytes16(sqlite3_value*);
4671 SQLITE_API double sqlite3_value_double(sqlite3_value*);
4672 SQLITE_API int sqlite3_value_int(sqlite3_value*);
4673 SQLITE_API sqlite3_int64 sqlite3_value_int64(sqlite3_value*);
4674 SQLITE_API const unsigned char *sqlite3_value_text(sqlite3_value*);
4675 SQLITE_API const void *sqlite3_value_text16(sqlite3_value*);
4676 SQLITE_API const void *sqlite3_value_text16le(sqlite3_value*);
4677 SQLITE_API const void *sqlite3_value_text16be(sqlite3_value*);
4678 SQLITE_API int sqlite3_value_type(sqlite3_value*);
4679 SQLITE_API int sqlite3_value_numeric_type(sqlite3_value*);
4912 ** [unprotected sqlite3_value] object specified by the 2nd parameter. ^The
4913 ** sqlite3_result_value() interface makes a copy of the [sqlite3_value]
4914 ** so that the [sqlite3_value] specified in the parameter may change or
4916 ** ^A [protected sqlite3_value] object may always be used where an
4917 ** [unprotected sqlite3_value] object is required, so either
4918 ** kind of [sqlite3_value] object can be used with this interface.
4938 SQLITE_API void sqlite3_result_value(sqlite3_context*, sqlite3_value*);
5749 int argc, sqlite3_value **argv);
5754 int (*xUpdate)(sqlite3_vtab *, int, sqlite3_value **, sqlite3_int64 *);
5760 void (**pxFunc)(sqlite3_context*,int,sqlite3_value**),
9148 SQLITE_PRIVATE sqlite3_value *sqlite3VdbeGetValue(Vdbe*, int, u8);
10088 sqlite3_value *pErr; /* Most recent error message */
10230 void (*xFunc)(sqlite3_context*,int,sqlite3_value**); /* Regular function */
10231 void (*xStep)(sqlite3_context*,int,sqlite3_value**); /* Aggregate step */
12284 SQLITE_PRIVATE const void *sqlite3ValueText(sqlite3_value*, u8);
12285 SQLITE_PRIVATE int sqlite3ValueBytes(sqlite3_value*, u8);
12286 SQLITE_PRIVATE void sqlite3ValueSetStr(sqlite3_value*, int, const void *,u8,
12288 SQLITE_PRIVATE void sqlite3ValueFree(sqlite3_value*);
12289 SQLITE_PRIVATE sqlite3_value *sqlite3ValueNew(sqlite3 *);
12294 SQLITE_PRIVATE int sqlite3ValueFromExpr(sqlite3 *, Expr *, u8, u8, sqlite3_value **);
12295 SQLITE_PRIVATE void sqlite3ValueApplyAffinity(sqlite3_value *, u8, u8);
12340 void (*)(sqlite3_context*,int,sqlite3_value **),
12341 void (*)(sqlite3_context*,int,sqlite3_value **), void (*)(sqlite3_context*),
12419 SQLITE_PRIVATE void sqlite3InvalidFunction(sqlite3_context*,int,sqlite3_value**);
14716 sqlite3_value **argv,
14757 sqlite3_value **argv
14774 sqlite3_value **argv
14794 sqlite3_value **argv
14813 sqlite3_value **argv
14846 sqlite3_value **argv
14982 sqlite3_value **NotUsed2
14996 sqlite3_value **NotUsed2
15010 sqlite3_value **NotUsed2
15032 sqlite3_value **argv
59653 v1 = sqlite3ValueText((sqlite3_value*)&c1, pColl->enc);
59655 v2 = sqlite3ValueText((sqlite3_value*)&c2, pColl->enc);
59745 SQLITE_PRIVATE const void *sqlite3ValueText(sqlite3_value* pVal, u8 enc){
59782 ** Create a new sqlite3_value object.
59784 SQLITE_PRIVATE sqlite3_value *sqlite3ValueNew(sqlite3 *db){
59795 ** Create a new sqlite3_value object, containing the value of pExpr.
59809 sqlite3_value **ppVal /* Write the new value here */
59813 sqlite3_value *pVal = 0;
59912 ** Change the string value of an sqlite3_value object
59915 sqlite3_value *v, /* Value to be set */
59925 ** Free an sqlite3_value object
59927 SQLITE_PRIVATE void sqlite3ValueFree(sqlite3_value *v){
59934 ** Return the number of bytes in the sqlite3_value object assuming
59937 SQLITE_PRIVATE int sqlite3ValueBytes(sqlite3_value *pVal, u8 enc){
60564 sqlite3ValueFree((sqlite3_value*)p4);
63163 ** Return a pointer to an sqlite3_value structure containing the value bound
63170 SQLITE_PRIVATE sqlite3_value *sqlite3VdbeGetValue(Vdbe *v, int iVar, u8 aff){
63175 sqlite3_value *pRet = sqlite3ValueNew(v->db);
63331 ** The following routines extract information from a Mem or sqlite3_value
63334 SQLITE_API const void *sqlite3_value_blob(sqlite3_value *pVal){
63345 SQLITE_API int sqlite3_value_bytes(sqlite3_value *pVal){
63348 SQLITE_API int sqlite3_value_bytes16(sqlite3_value *pVal){
63351 SQLITE_API double sqlite3_value_double(sqlite3_value *pVal){
63354 SQLITE_API int sqlite3_value_int(sqlite3_value *pVal){
63357 SQLITE_API sqlite_int64 sqlite3_value_int64(sqlite3_value *pVal){
63360 SQLITE_API const unsigned char *sqlite3_value_text(sqlite3_value *pVal){
63364 SQLITE_API const void *sqlite3_value_text16(sqlite3_value* pVal){
63367 SQLITE_API const void *sqlite3_value_text16be(sqlite3_value *pVal){
63370 SQLITE_API const void *sqlite3_value_text16le(sqlite3_value *pVal){
63374 SQLITE_API int sqlite3_value_type(sqlite3_value* pVal){
63473 SQLITE_API void sqlite3_result_value(sqlite3_context *pCtx, sqlite3_value *pValue){
63740 sqlite3_value **NotUsed2 /* Value of each argument */
63994 SQLITE_API sqlite3_value *sqlite3_column_value(sqlite3_stmt *pStmt, int i){
64001 return (sqlite3_value *)pOut;
64315 SQLITE_API int sqlite3_bind_value(sqlite3_stmt *pStmt, int i, const sqlite3_value *pValue){
65111 SQLITE_API int sqlite3_value_numeric_type(sqlite3_value *pVal){
65121 ** Exported version of applyAffinity(). This one works on sqlite3_value*,
65125 sqlite3_value *pVal,
65506 sqlite3_value **apVal;
65813 sqlite3_value **apVal;
66728 sqlite3_value **apVal;
70828 sqlite3_value **apVal;
79455 sqlite3_value **argv
79520 sqlite3_value **argv
79575 sqlite3_value **argv
80105 sqlite3_value *pVal;
80491 sqlite3_value **argv
80540 sqlite3_value **argv
80635 sqlite3_value **argv
81435 sqlite3_value **argv
81622 sqlite3_value **argv
86053 sqlite3_value *pTmp = sqlite3ValueNew(db);
87197 sqlite3_value **argv
87227 sqlite3_value **argv
87248 sqlite3_value **argv
87285 static void absFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
87337 sqlite3_value **argv
87388 sqlite3_value **argv
87471 static void roundFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
87533 static void upperFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
87552 static void lowerFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
87588 sqlite3_value **NotUsed2
87614 sqlite3_value **argv
87638 sqlite3_value **NotUsed2
87658 sqlite3_value **NotUsed2
87672 sqlite3_value **NotUsed2
87880 sqlite3_value **argv
87933 sqlite3_value **argv
87949 sqlite3_value **NotUsed2
87965 sqlite3_value **NotUsed2
87981 sqlite3_value **argv
87997 sqlite3_value **argv
88021 sqlite3_value **argv
88052 static void quoteFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
88131 sqlite3_value **argv
88146 sqlite3_value **argv
88187 sqlite3_value **argv
88215 sqlite3_value **argv
88240 sqlite3_value **argv
88324 sqlite3_value **argv
88416 sqlite3_value **argv
88466 static void loadExt(sqlite3_context *context, int argc, sqlite3_value **argv){
88508 static void sumStep(sqlite3_context *context, int argc, sqlite3_value **argv){
88568 static void countStep(sqlite3_context *context, int argc, sqlite3_value **argv){
88596 sqlite3_value **argv
88631 sqlite3_value *pRes;
88632 pRes = (sqlite3_value *)sqlite3_aggregate_context(context, 0);
88647 sqlite3_value **argv
92224 int (*bind_value)(sqlite3_stmt*,int,const sqlite3_value*);
92253 sqlite3_value* (*column_value)(sqlite3_stmt*,int iCol);
92262 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
92263 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
92266 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
92267 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
92311 void (*result_value)(sqlite3_context*,sqlite3_value*);
92327 const void * (*value_blob)(sqlite3_value*);
92328 int (*value_bytes)(sqlite3_value*);
92329 int (*value_bytes16)(sqlite3_value*);
92330 double (*value_double)(sqlite3_value*);
92331 int (*value_int)(sqlite3_value*);
92332 sqlite_int64 (*value_int64)(sqlite3_value*);
92333 int (*value_numeric_type)(sqlite3_value*);
92334 const unsigned char * (*value_text)(sqlite3_value*);
92335 const void * (*value_text16)(sqlite3_value*);
92336 const void * (*value_text16be)(sqlite3_value*);
92337 const void * (*value_text16le)(sqlite3_value*);
92338 int (*value_type)(sqlite3_value*);
92396 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
92397 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
102298 ** sqlite3_value objects.
102308 sqlite3_value *pValue;
104243 void (*xFunc)(sqlite3_context*,int,sqlite3_value**) = 0;
105153 sqlite3_value *pVal = 0;
106838 sqlite3_value *pVal, /* Value to consider */
106987 ** an sqlite3_value structure containing the same value, with affinity
106994 ** create an sqlite3_value structure containing this value, again with
107006 sqlite3_value **pp
107072 sqlite3_value *pRangeVal;
107149 sqlite3_value *pRhs = 0; /* VALUE on right-hand side of pTerm */
114671 sqlite3_value *pVal;
116127 void (*xFunc)(sqlite3_context*,int,sqlite3_value **),
116128 void (*xStep)(sqlite3_context*,int,sqlite3_value **),
116221 void (*xFunc)(sqlite3_context*,int,sqlite3_value **),
116222 void (*xStep)(sqlite3_context*,int,sqlite3_value **),
116235 void (*xFunc)(sqlite3_context*,int,sqlite3_value **),
116236 void (*xStep)(sqlite3_context*,int,sqlite3_value **),
116272 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
116273 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
117430 sqlite3_value *pVal;
119437 SQLITE_PRIVATE int sqlite3Fts3UpdateMethod(sqlite3_vtab*,int,sqlite3_value**,sqlite3_int64*);
122235 sqlite3_value **apVal /* Arguments for the indexing scheme */
122405 sqlite3_value **apVal, /* Array of arguments */
122531 sqlite3_value *pVal, /* argv[0] passed to function */
122554 sqlite3_value **apVal /* Array of arguments */
122595 sqlite3_value **apVal /* Array of arguments */
122621 sqlite3_value **apVal /* Array of arguments */
122655 sqlite3_value **apVal /* Array of arguments */
122676 void (**pxFunc)(sqlite3_context*,int,sqlite3_value**), /* OUT: Result */
122681 void (*xFunc)(sqlite3_context*,int,sqlite3_value**);
125000 sqlite3_value **apVal /* Arguments for the indexing scheme */
126317 sqlite3_value **argv
127505 sqlite3_value **argv
127687 sqlite3_value **argv
127846 sqlite3_value **argv
128512 sqlite3_value **apVal /* Arguments for the indexing scheme */
128917 sqlite3_value **apVal /* Values to bind to statement */
129108 sqlite3_value **apVal /* Parameters to bind */
129536 sqlite3_value **apVal,
129567 sqlite3_value **apVal, /* Array of values to insert */
129574 sqlite3_value *pRowid = apVal[p->nColumn+3];
129677 sqlite3_value *pRowid, /* The docid to be deleted */
130987 static int fts3IsEmpty(Fts3Table *p, sqlite3_value *pRowid, int *pisEmpty){
133659 static int fts3SpecialInsert(Fts3Table *p, sqlite3_value *pVal){
133838 sqlite3_value *pRowid,
133888 sqlite3_value **apVal, /* Array of arguments */
133942 sqlite3_value *pNewRowid = apVal[3+p->nColumn];
137538 static int deserializeGeometry(sqlite3_value *pValue, RtreeConstraint *pCons){
137584 int argc, sqlite3_value **argv
139077 ** Convert an sqlite3_value into an RtreeValue (presumably a float)
139080 static RtreeValue rtreeValueDown(sqlite3_value *v){
139088 static RtreeValue rtreeValueUp(sqlite3_value *v){
139105 sqlite3_value **azData,
139525 static void rtreenode(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
139570 static void rtreedepth(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
139629 static void geomCallback(sqlite3_context *ctx, int nArg, sqlite3_value **aArg){
139853 sqlite3_value **argv
139935 static void icuRegexpFunc(sqlite3_context *p, int nArg, sqlite3_value **apArg){
140018 static void icuCaseFunc16(sqlite3_context *p, int nArg, sqlite3_value **apArg){
140106 sqlite3_value **apArg
140148 void (*xFunc)(sqlite3_context*,int,sqlite3_value**);