Lines Matching refs:sqlite3_value
3482 ** KEYWORDS: {protected sqlite3_value} {unprotected sqlite3_value}
3484 ** SQLite uses the sqlite3_value object to represent all values
3486 ** for the values it stores. ^Values stored in sqlite3_value objects
3489 ** An sqlite3_value object may be either "protected" or "unprotected".
3490 ** Some interfaces require a protected sqlite3_value. Other interfaces
3491 ** will accept either a protected or an unprotected sqlite3_value.
3492 ** Every interface that accepts sqlite3_value arguments specifies
3493 ** whether or not it requires a protected sqlite3_value.
3497 ** sqlite3_value object but no mutex is held for an unprotected
3498 ** sqlite3_value object. If SQLite is compiled to be single-threaded
3503 ** sqlite3_value objects and they can be used interchangeably. However,
3506 ** sqlite3_value objects even when not strictly required.
3508 ** ^The sqlite3_value objects that are passed as parameters into the
3510 ** ^The sqlite3_value object returned by
3512 ** Unprotected sqlite3_value objects may only be used with
3515 ** interfaces require protected sqlite3_value objects.
3517 typedef struct Mem sqlite3_value;
3622 SQLITE_API int sqlite3_bind_value(sqlite3_stmt*, int, const sqlite3_value*);
4012 ** [unprotected sqlite3_value] object. An unprotected sqlite3_value object
4014 ** If the [unprotected sqlite3_value] object returned by
4117 SQLITE_API sqlite3_value *sqlite3_column_value(sqlite3_stmt*, int iCol);
4266 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
4267 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
4276 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
4277 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
4286 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
4287 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
4335 ** [protected sqlite3_value] objects. There is one [sqlite3_value] object for
4337 ** extract values from the [sqlite3_value] objects.
4339 ** These routines work only with [protected sqlite3_value] objects.
4340 ** Any attempt to use these routines on an [unprotected sqlite3_value]
4344 ** except that these routines take a single [protected sqlite3_value] object
4367 ** the SQL function that supplied the [sqlite3_value*] parameters.
4369 SQLITE_API const void *sqlite3_value_blob(sqlite3_value*);
4370 SQLITE_API int sqlite3_value_bytes(sqlite3_value*);
4371 SQLITE_API int sqlite3_value_bytes16(sqlite3_value*);
4372 SQLITE_API double sqlite3_value_double(sqlite3_value*);
4373 SQLITE_API int sqlite3_value_int(sqlite3_value*);
4374 SQLITE_API sqlite3_int64 sqlite3_value_int64(sqlite3_value*);
4375 SQLITE_API const unsigned char *sqlite3_value_text(sqlite3_value*);
4376 SQLITE_API const void *sqlite3_value_text16(sqlite3_value*);
4377 SQLITE_API const void *sqlite3_value_text16le(sqlite3_value*);
4378 SQLITE_API const void *sqlite3_value_text16be(sqlite3_value*);
4379 SQLITE_API int sqlite3_value_type(sqlite3_value*);
4380 SQLITE_API int sqlite3_value_numeric_type(sqlite3_value*);
4605 ** [unprotected sqlite3_value] object specified by the 2nd parameter. ^The
4606 ** sqlite3_result_value() interface makes a copy of the [sqlite3_value]
4607 ** so that the [sqlite3_value] specified in the parameter may change or
4609 ** ^A [protected sqlite3_value] object may always be used where an
4610 ** [unprotected sqlite3_value] object is required, so either
4611 ** kind of [sqlite3_value] object can be used with this interface.
4631 SQLITE_API void sqlite3_result_value(sqlite3_context*, sqlite3_value*);
5336 int argc, sqlite3_value **argv);
5341 int (*xUpdate)(sqlite3_vtab *, int, sqlite3_value **, sqlite3_int64 *);
5347 void (**pxFunc)(sqlite3_context*,int,sqlite3_value**),
8563 SQLITE_PRIVATE sqlite3_value *sqlite3VdbeGetValue(Vdbe*, int, u8);
9500 sqlite3_value *pErr; /* Most recent error message */
9631 void (*xFunc)(sqlite3_context*,int,sqlite3_value**); /* Regular function */
9632 void (*xStep)(sqlite3_context*,int,sqlite3_value**); /* Aggregate step */
11608 SQLITE_PRIVATE const void *sqlite3ValueText(sqlite3_value*, u8);
11609 SQLITE_PRIVATE int sqlite3ValueBytes(sqlite3_value*, u8);
11610 SQLITE_PRIVATE void sqlite3ValueSetStr(sqlite3_value*, int, const void *,u8,
11612 SQLITE_PRIVATE void sqlite3ValueFree(sqlite3_value*);
11613 SQLITE_PRIVATE sqlite3_value *sqlite3ValueNew(sqlite3 *);
11618 SQLITE_PRIVATE int sqlite3ValueFromExpr(sqlite3 *, Expr *, u8, u8, sqlite3_value **);
11619 SQLITE_PRIVATE void sqlite3ValueApplyAffinity(sqlite3_value *, u8, u8);
11663 void (*)(sqlite3_context*,int,sqlite3_value **),
11664 void (*)(sqlite3_context*,int,sqlite3_value **), void (*)(sqlite3_context*),
11738 SQLITE_PRIVATE void sqlite3InvalidFunction(sqlite3_context*,int,sqlite3_value**);
13954 sqlite3_value **argv,
13994 sqlite3_value **argv
14011 sqlite3_value **argv
14031 sqlite3_value **argv
14050 sqlite3_value **argv
14083 sqlite3_value **argv
14219 sqlite3_value **NotUsed2
14233 sqlite3_value **NotUsed2
14247 sqlite3_value **NotUsed2
14269 sqlite3_value **argv
58010 v1 = sqlite3ValueText((sqlite3_value*)&c1, pColl->enc);
58012 v2 = sqlite3ValueText((sqlite3_value*)&c2, pColl->enc);
58102 SQLITE_PRIVATE const void *sqlite3ValueText(sqlite3_value* pVal, u8 enc){
58139 ** Create a new sqlite3_value object.
58141 SQLITE_PRIVATE sqlite3_value *sqlite3ValueNew(sqlite3 *db){
58152 ** Create a new sqlite3_value object, containing the value of pExpr.
58166 sqlite3_value **ppVal /* Write the new value here */
58170 sqlite3_value *pVal = 0;
58269 ** Change the string value of an sqlite3_value object
58272 sqlite3_value *v, /* Value to be set */
58282 ** Free an sqlite3_value object
58284 SQLITE_PRIVATE void sqlite3ValueFree(sqlite3_value *v){
58291 ** Return the number of bytes in the sqlite3_value object assuming
58294 SQLITE_PRIVATE int sqlite3ValueBytes(sqlite3_value *pVal, u8 enc){
58933 sqlite3ValueFree((sqlite3_value*)p4);
61507 ** Return a pointer to an sqlite3_value structure containing the value bound
61514 SQLITE_PRIVATE sqlite3_value *sqlite3VdbeGetValue(Vdbe *v, int iVar, u8 aff){
61519 sqlite3_value *pRet = sqlite3ValueNew(v->db);
61681 ** The following routines extract information from a Mem or sqlite3_value
61684 SQLITE_API const void *sqlite3_value_blob(sqlite3_value *pVal){
61695 SQLITE_API int sqlite3_value_bytes(sqlite3_value *pVal){
61698 SQLITE_API int sqlite3_value_bytes16(sqlite3_value *pVal){
61701 SQLITE_API double sqlite3_value_double(sqlite3_value *pVal){
61704 SQLITE_API int sqlite3_value_int(sqlite3_value *pVal){
61707 SQLITE_API sqlite_int64 sqlite3_value_int64(sqlite3_value *pVal){
61710 SQLITE_API const unsigned char *sqlite3_value_text(sqlite3_value *pVal){
61714 SQLITE_API const void *sqlite3_value_text16(sqlite3_value* pVal){
61717 SQLITE_API const void *sqlite3_value_text16be(sqlite3_value *pVal){
61720 SQLITE_API const void *sqlite3_value_text16le(sqlite3_value *pVal){
61724 SQLITE_API int sqlite3_value_type(sqlite3_value* pVal){
61823 SQLITE_API void sqlite3_result_value(sqlite3_context *pCtx, sqlite3_value *pValue){
62096 sqlite3_value **NotUsed2 /* Value of each argument */
62350 SQLITE_API sqlite3_value *sqlite3_column_value(sqlite3_stmt *pStmt, int i){
62357 return (sqlite3_value *)pOut;
62671 SQLITE_API int sqlite3_bind_value(sqlite3_stmt *pStmt, int i, const sqlite3_value *pValue){
63328 SQLITE_API int sqlite3_value_numeric_type(sqlite3_value *pVal){
63338 ** Exported version of applyAffinity(). This one works on sqlite3_value*,
63342 sqlite3_value *pVal,
63713 sqlite3_value **apVal;
64020 sqlite3_value **apVal;
64889 sqlite3_value **apVal;
68949 sqlite3_value **apVal;
76817 sqlite3_value **argv
76882 sqlite3_value **argv
76937 sqlite3_value **argv
77467 sqlite3_value *pVal;
78392 sqlite3_value **argv
78579 sqlite3_value **argv
82973 sqlite3_value *pTmp = sqlite3ValueNew(db);
84088 sqlite3_value **argv
84118 sqlite3_value **argv
84139 sqlite3_value **argv
84176 static void absFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
84229 sqlite3_value **argv
84312 static void roundFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
84374 static void upperFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
84394 static void lowerFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
84431 sqlite3_value **argv
84450 sqlite3_value **NotUsed2
84476 sqlite3_value **argv
84500 sqlite3_value **NotUsed2
84520 sqlite3_value **NotUsed2
84534 sqlite3_value **NotUsed2
84735 sqlite3_value **argv
84788 sqlite3_value **argv
84804 sqlite3_value **NotUsed2
84820 sqlite3_value **NotUsed2
84836 sqlite3_value **argv
84852 sqlite3_value **argv
84876 sqlite3_value **argv
84907 static void quoteFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
84975 sqlite3_value **argv
85003 sqlite3_value **argv
85028 sqlite3_value **argv
85112 sqlite3_value **argv
85204 sqlite3_value **argv
85254 static void loadExt(sqlite3_context *context, int argc, sqlite3_value **argv){
85296 static void sumStep(sqlite3_context *context, int argc, sqlite3_value **argv){
85356 static void countStep(sqlite3_context *context, int argc, sqlite3_value **argv){
85384 sqlite3_value **argv
85416 sqlite3_value *pRes;
85417 pRes = (sqlite3_value *)sqlite3_aggregate_context(context, 0);
85432 sqlite3_value **argv
88939 int (*bind_value)(sqlite3_stmt*,int,const sqlite3_value*);
88966 sqlite3_value* (*column_value)(sqlite3_stmt*,int iCol);
88972 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*));
88973 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*));
89016 void (*result_value)(sqlite3_context*,sqlite3_value*);
89029 const void * (*value_blob)(sqlite3_value*);
89030 int (*value_bytes)(sqlite3_value*);
89031 int (*value_bytes16)(sqlite3_value*);
89032 double (*value_double)(sqlite3_value*);
89033 int (*value_int)(sqlite3_value*);
89034 sqlite_int64 (*value_int64)(sqlite3_value*);
89035 int (*value_numeric_type)(sqlite3_value*);
89036 const unsigned char * (*value_text)(sqlite3_value*);
89037 const void * (*value_text16)(sqlite3_value*);
89038 const void * (*value_text16be)(sqlite3_value*);
89039 const void * (*value_text16le)(sqlite3_value*);
89040 int (*value_type)(sqlite3_value*);
89093 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*));
98313 ** sqlite3_value objects.
98323 sqlite3_value *pValue;
100216 void (*xFunc)(sqlite3_context*,int,sqlite3_value**) = 0;
101008 sqlite3_value *pVal = 0;
102801 sqlite3_value *pVal, /* Value to consider */
102890 ** an sqlite3_value structure containing the same value, with affinity
102897 ** create an sqlite3_value structure containing this value, again with
102909 sqlite3_value **pp
102977 sqlite3_value *pLowerVal = 0;
102978 sqlite3_value *pUpperVal = 0;
103066 sqlite3_value *pRhs = 0; /* VALUE on right-hand side of pTerm */
103123 sqlite3_value *pVal = 0; /* One value from list */
110034 sqlite3_value *pVal;
111180 void (*xFunc)(sqlite3_context*,int,sqlite3_value **),
111181 void (*xStep)(sqlite3_context*,int,sqlite3_value **),
111274 void (*xFunc)(sqlite3_context*,int,sqlite3_value **),
111275 void (*xStep)(sqlite3_context*,int,sqlite3_value **),
111288 void (*xFunc)(sqlite3_context*,int,sqlite3_value **),
111289 void (*xStep)(sqlite3_context*,int,sqlite3_value **),
111325 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
111326 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
112467 sqlite3_value *pVal;
114389 SQLITE_PRIVATE int sqlite3Fts3UpdateMethod(sqlite3_vtab*,int,sqlite3_value**,sqlite3_int64*);
116869 sqlite3_value **apVal /* Arguments for the indexing scheme */
117018 sqlite3_value **apVal, /* Array of arguments */
117109 sqlite3_value *pVal, /* argv[0] passed to function */
117132 sqlite3_value **apVal /* Array of arguments */
117173 sqlite3_value **apVal /* Array of arguments */
117199 sqlite3_value **apVal /* Array of arguments */
117233 sqlite3_value **apVal /* Array of arguments */
117254 void (**pxFunc)(sqlite3_context*,int,sqlite3_value**), /* OUT: Result */
117259 void (*xFunc)(sqlite3_context*,int,sqlite3_value**);
119399 sqlite3_value **apVal /* Arguments for the indexing scheme */
120419 sqlite3_value **argv
121589 sqlite3_value **argv
121772 sqlite3_value **argv
121928 sqlite3_value **argv
122508 sqlite3_value **apVal /* Values to bind to statement */
122641 sqlite3_value **apVal /* Parameters to bind */
123008 static int fts3InsertTerms(Fts3Table *p, sqlite3_value **apVal, u32 *aSz){
123036 sqlite3_value **apVal, /* Array of values to insert */
123119 sqlite3_value *pRowid, /* The docid to be deleted */
124384 static int fts3IsEmpty(Fts3Table *p, sqlite3_value *pRowid, int *pisEmpty){
125181 static int fts3SpecialInsert(Fts3Table *p, sqlite3_value *pVal){
125350 sqlite3_value *pRowid,
125385 sqlite3_value **apVal, /* Array of arguments */
125431 sqlite3_value *pNewRowid = apVal[3+p->nColumn];
128219 static int deserializeGeometry(sqlite3_value *pValue, RtreeConstraint *pCons){
128265 int argc, sqlite3_value **argv
129747 sqlite3_value **azData,
130158 static void rtreenode(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
130197 static void rtreedepth(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
130252 static void geomCallback(sqlite3_context *ctx, int nArg, sqlite3_value **aArg){
130472 sqlite3_value **argv
130554 static void icuRegexpFunc(sqlite3_context *p, int nArg, sqlite3_value **apArg){
130637 static void icuCaseFunc16(sqlite3_context *p, int nArg, sqlite3_value **apArg){
130725 sqlite3_value **apArg
130767 void (*xFunc)(sqlite3_context*,int,sqlite3_value**);