Home | History | Annotate | Download | only in orig

Lines Matching defs:sqlite3_value

3381 ** KEYWORDS: {protected sqlite3_value} {unprotected sqlite3_value}
3383 ** SQLite uses the sqlite3_value object to represent all values
3385 ** for the values it stores. ^Values stored in sqlite3_value objects
3388 ** An sqlite3_value object may be either "protected" or "unprotected".
3389 ** Some interfaces require a protected sqlite3_value. Other interfaces
3390 ** will accept either a protected or an unprotected sqlite3_value.
3391 ** Every interface that accepts sqlite3_value arguments specifies
3392 ** whether or not it requires a protected sqlite3_value.
3396 ** sqlite3_value object but no mutex is held for an unprotected
3397 ** sqlite3_value object. If SQLite is compiled to be single-threaded
3402 ** sqlite3_value objects and they can be used interchangeably. However,
3405 ** sqlite3_value objects even when not strictly required.
3407 ** ^The sqlite3_value objects that are passed as parameters into the
3409 ** ^The sqlite3_value object returned by
3411 ** Unprotected sqlite3_value objects may only be used with
3414 ** interfaces require protected sqlite3_value objects.
3416 typedef struct Mem sqlite3_value;
3534 SQLITE_API int sqlite3_bind_value(sqlite3_stmt*, int, const sqlite3_value*);
3930 ** [unprotected sqlite3_value] object. An unprotected sqlite3_value object
3932 ** If the [unprotected sqlite3_value] object returned by
4035 SQLITE_API sqlite3_value *sqlite3_column_value(sqlite3_stmt*, int iCol);
4193 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
4194 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
4203 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
4204 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
4213 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
4214 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
4273 ** [protected sqlite3_value] objects. There is one [sqlite3_value] object for
4275 ** extract values from the [sqlite3_value] objects.
4277 ** These routines work only with [protected sqlite3_value] objects.
4278 ** Any attempt to use these routines on an [unprotected sqlite3_value]
4282 ** except that these routines take a single [protected sqlite3_value] object
4305 ** the SQL function that supplied the [sqlite3_value*] parameters.
4307 SQLITE_API const void *sqlite3_value_blob(sqlite3_value*);
4308 SQLITE_API int sqlite3_value_bytes(sqlite3_value*);
4309 SQLITE_API int sqlite3_value_bytes16(sqlite3_value*);
4310 SQLITE_API double sqlite3_value_double(sqlite3_value*);
4311 SQLITE_API int sqlite3_value_int(sqlite3_value*);
4312 SQLITE_API sqlite3_int64 sqlite3_value_int64(sqlite3_value*);
4313 SQLITE_API const unsigned char *sqlite3_value_text(sqlite3_value*);
4314 SQLITE_API const void *sqlite3_value_text16(sqlite3_value*);
4315 SQLITE_API const void *sqlite3_value_text16le(sqlite3_value*);
4316 sqlite3_value*);
4317 SQLITE_API int sqlite3_value_type(sqlite3_value*);
4318 SQLITE_API int sqlite3_value_numeric_type(sqlite3_value*);
4559 ** [unprotected sqlite3_value] object specified by the 2nd parameter. ^The
4560 ** sqlite3_result_value() interface makes a copy of the [sqlite3_value]
4561 ** so that the [sqlite3_value] specified in the parameter may change or
4563 ** ^A [protected sqlite3_value] object may always be used where an
4564 ** [unprotected sqlite3_value] object is required, so either
4565 ** kind of [sqlite3_value] object can be used with this interface.
4585 SQLITE_API void sqlite3_result_value(sqlite3_context*, sqlite3_value*);
5433 int argc, sqlite3_value **argv);
5438 int (*xUpdate)(sqlite3_vtab *, int, sqlite3_value **, sqlite3_int64 *);
5444 void (**pxFunc)(sqlite3_context*,int,sqlite3_value**),
9496 SQLITE_PRIVATE sqlite3_value *sqlite3VdbeGetBoundValue(Vdbe*, int, u8);
10490 sqlite3_value *pErr; /* Most recent error message */
10644 void (*xFunc)(sqlite3_context*,int,sqlite3_value**); /* Regular function */
10645 void (*xStep)(sqlite3_context*,int,sqlite3_value**); /* Aggregate step */
12445 sqlite3_value **apArg; /* The argument values */
12846 SQLITE_PRIVATE const void *sqlite3ValueText(sqlite3_value*, u8);
12847 SQLITE_PRIVATE int sqlite3ValueBytes(sqlite3_value*, u8);
12848 SQLITE_PRIVATE void sqlite3ValueSetStr(sqlite3_value*, int, const void *,u8,
12850 SQLITE_PRIVATE void sqlite3ValueSetNull(sqlite3_value*);
12851 SQLITE_PRIVATE void sqlite3ValueFree(sqlite3_value*);
12852 SQLITE_PRIVATE sqlite3_value *sqlite3ValueNew(sqlite3 *);
12854 SQLITE_PRIVATE int sqlite3ValueFromExpr(sqlite3 *, Expr *, u8, u8, sqlite3_value **);
12855 SQLITE_PRIVATE void sqlite3ValueApplyAffinity(sqlite3_value *, u8, u8);
12907 void (*)(sqlite3_context*,int,sqlite3_value **),
12908 void (*)(sqlite3_context*,int,sqlite3_value **), void (*)(sqlite3_context*),
12929 SQLITE_PRIVATE int sqlite3Stat4ValueFromExpr(Parse*, Expr*, u8, sqlite3_value**);
12931 SQLITE_PRIVATE int sqlite3Stat4Column(sqlite3*, const void*, int, int, sqlite3_value**);
12996 SQLITE_PRIVATE void sqlite3InvalidFunction(sqlite3_context*,int,sqlite3_value**);
15355 sqlite3_value **argv,
15396 sqlite3_value **argv
15413 sqlite3_value **argv
15433 sqlite3_value **argv
15452 sqlite3_value **argv
15485 sqlite3_value **argv
15621 sqlite3_value **NotUsed2
15635 sqlite3_value **NotUsed2
15649 sqlite3_value **NotUsed2
15671 sqlite3_value **argv
61336 SQLITE_PRIVATE void sqlite3ValueSetNull(sqlite3_value *p){
61675 SQLITE_PRIVATE const void *sqlite3ValueText(sqlite3_value* pVal, u8 enc){
61712 ** Create a new sqlite3_value object.
61714 SQLITE_PRIVATE sqlite3_value *sqlite3ValueNew(sqlite3 *db){
61735 ** Allocate and return a pointer to a new sqlite3_value object. If
61743 ** an sqlite3_value within the UnpackedRecord.a[] array.
61745 static sqlite3_value *valueNew(sqlite3 *db, struct ValueNewStat4Ctx *p){
61788 ** above sqlite3ValueFromExpr(). Allocate the sqlite3_value object
61791 ** If pCtx is NULL and an error occurs after the sqlite3_value object
61801 sqlite3_value **ppVal, /* Write the new value here */
61806 sqlite3_value *pVal = 0;
61899 ** Create a new sqlite3_value object, containing the value of pExpr.
61913 sqlite3_value **ppVal /* Write the new value here */
61930 sqlite3_value **argv
61997 sqlite3_value **ppVal /* OUT: New value object (or NULL) */
62000 sqlite3_value *pVal = 0;
62076 sqlite3_value *pVal = 0;
62104 sqlite3_value **ppVal /* OUT: New value object (or NULL) */
62112 ** sqlite3_value object is allocated.
62122 sqlite3_value **ppVal /* OUT: Extracted value */
62178 ** Change the string value of an sqlite3_value object
62181 sqlite3_value *v, /* Value to be set */
62191 ** Free an sqlite3_value object
62193 SQLITE_PRIVATE void sqlite3ValueFree(sqlite3_value *v){
62200 ** Return the number of bytes in the sqlite3_value object assuming
62203 SQLITE_PRIVATE int sqlite3ValueBytes(sqlite3_value *pVal, u8 enc){
62912 sqlite3ValueFree((sqlite3_value*)p4);
65476 v1 = sqlite3ValueText((sqlite3_value*)&c1, pColl->enc);
65478 v2 = sqlite3ValueText((sqlite3_value*)&c2, pColl->enc);
66194 ** Return a pointer to an sqlite3_value structure containing the value bound
66201 SQLITE_PRIVATE sqlite3_value *sqlite3VdbeGetBoundValue(Vdbe *v, int iVar, u8 aff){
66206 sqlite3_value *pRet = sqlite3ValueNew(v->db);
66376 ** The following routines extract information from a Mem or sqlite3_value
66379 SQLITE_API const void *sqlite3_value_blob(sqlite3_value *pVal){
66389 SQLITE_API int sqlite3_value_bytes(sqlite3_value *pVal){
66392 SQLITE_API int sqlite3_value_bytes16(sqlite3_value *pVal){
66395 SQLITE_API double sqlite3_value_double(sqlite3_value *pVal){
66398 SQLITE_API int sqlite3_value_int(sqlite3_value *pVal){
66401 SQLITE_API sqlite_int64 sqlite3_value_int64(sqlite3_value *pVal){
66404 SQLITE_API const unsigned char *sqlite3_value_text(sqlite3_value *pVal){
66408 SQLITE_API const void *sqlite3_value_text16(sqlite3_value* pVal){
66411 SQLITE_API const void *sqlite3_value_text16be(sqlite3_value *pVal){
66414 SQLITE_API const void *sqlite3_value_text16le(sqlite3_value *pVal){
66418 SQLITE_API int sqlite3_value_type(sqlite3_value* pVal){
66553 SQLITE_API void sqlite3_result_value(sqlite3_context *pCtx, sqlite3_value *pValue){
66841 sqlite3_value **NotUsed2 /* Value of each argument */
67099 SQLITE_API sqlite3_value *sqlite3_column_value(sqlite3_stmt *pStmt, int i){
67106 return (sqlite3_value *)pOut;
67413 SQLITE_API int sqlite3_bind_value(sqlite3_stmt *pStmt, int i, const sqlite3_value *pValue){
67415 switch( sqlite3_value_type((sqlite3_value*)pValue) ){
68199 SQLITE_API int sqlite3_value_numeric_type(sqlite3_value *pVal){
68210 ** Exported version of applyAffinity(). This one works on sqlite3_value*,
68214 sqlite3_value *pVal,
69510 sqlite3_value **apVal;
73651 sqlite3_value **apVal;
82620 sqlite3_value **argv
82685 sqlite3_value **argv
82741 sqlite3_value **argv
83272 sqlite3_value *pVal = 0;
83806 sqlite3_value **argv
84117 sqlite3_value **argv
84218 sqlite3_value **argv
85326 sqlite3_value **argv
85516 sqlite3_value **argv
90387 sqlite3_value *pTmp = sqlite3ValueNew(db);
91712 sqlite3_value **argv
91742 sqlite3_value **argv
91763 sqlite3_value **argv
91800 static void absFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
91852 sqlite3_value **argv
91894 sqlite3_value **argv
91929 sqlite3_value **argv
92012 static void roundFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
92074 static void upperFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
92093 static void lowerFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
92129 sqlite3_value **NotUsed2
92155 sqlite3_value **argv
92179 sqlite3_value **NotUsed2
92199 sqlite3_value **NotUsed2
92213 sqlite3_value **NotUsed2
92421 sqlite3_value **argv
92474 sqlite3_value **argv
92490 sqlite3_value **NotUsed2
92506 sqlite3_value **NotUsed2
92522 sqlite3_value **argv
92538 sqlite3_value **argv
92562 sqlite3_value **argv
92589 static void quoteFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
92668 sqlite3_value **argv
92683 sqlite3_value **argv
92724 sqlite3_value **argv
92752 sqlite3_value **argv
92777 sqlite3_value **argv
92861 sqlite3_value **argv
92953 sqlite3_value **argv
93003 static void loadExt(sqlite3_context *context, int argc, sqlite3_value **argv){
93045 static void sumStep(sqlite3_context *context, int argc, sqlite3_value **argv){
93105 static void countStep(sqlite3_context *context, int argc, sqlite3_value **argv){
93133 sqlite3_value **argv
93168 sqlite3_value *pRes;
93169 pRes = (sqlite3_value *)sqlite3_aggregate_context(context, 0);
93184 sqlite3_value **argv
97018 int (*bind_value)(sqlite3_stmt*,int,const sqlite3_value*);
97047 sqlite3_value* (*column_value)(sqlite3_stmt*,int iCol);
97056 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
97057 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
97060 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
97061 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
97105 void (*result_value)(sqlite3_context*,sqlite3_value*);
97121 const void * (*value_blob)(sqlite3_value*);
97122 int (*value_bytes)(sqlite3_value*);
97123 int (*value_bytes16)(sqlite3_value*);
97124 double (*value_double)(sqlite3_value*);
97125 int (*value_int)(sqlite3_value*);
97126 sqlite_int64 (*value_int64)(sqlite3_value*);
97127 int (*value_numeric_type)(sqlite3_value*);
97128 const unsigned char * (*value_text)(sqlite3_value*);
97129 const void * (*value_text16)(sqlite3_value*);
97130 const void * (*value_text16be)(sqlite3_value*);
97131 const void * (*value_text16le)(sqlite3_value*);
97132 int (*value_type)(sqlite3_value*);
97190 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
97191 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
108238 ** sqlite3_value objects.
108248 sqlite3_value *pValue = 0;
110300 void (*xFunc)(sqlite3_context*,int,sqlite3_value**) = 0;
111544 sqlite3_value *pVal = 0;
112948 sqlite3_value *p1 = 0; /* Value extracted from pLower */
112949 sqlite3_value *p2 = 0; /* Value extracted from pUpper */
112950 sqlite3_value *pVal = 0; /* Value extracted from record */
122052 sqlite3_value *pVal;
123522 void (*xFunc)(sqlite3_context*,int,sqlite3_value **),
123523 void (*xStep)(sqlite3_context*,int,sqlite3_value **),
123622 void (*xFunc)(sqlite3_context*,int,sqlite3_value **),
123623 void (*xStep)(sqlite3_context*,int,sqlite3_value **),
123636 void (*xFunc)(sqlite3_context*,int,sqlite3_value **),
123637 void (*xStep)(sqlite3_context*,int,sqlite3_value **),
123673 void (*xFunc)(sqlite3_context*,int,sqlite3_value**),
123674 void (*xStep)(sqlite3_context*,int,sqlite3_value**),
124861 sqlite3_value *pVal;
126971 SQLITE_PRIVATE int sqlite3Fts3UpdateMethod(sqlite3_vtab*,int,sqlite3_value**,sqlite3_int64*);
129889 static sqlite3_int64 fts3DocidRange(sqlite3_value *pVal, i64 iDefault){
129920 sqlite3_value **apVal /* Arguments for the indexing scheme */
129928 sqlite3_value *pCons = 0; /* The MATCH or rowid constraint, if any */
129929 sqlite3_value *pLangid = 0; /* The "langid = ?" constraint, if any */
129930 sqlite3_value *pDocidGe = 0; /* The "docid >= ?" constraint, if any */
129931 sqlite3_value *pDocidLe = 0; /* The "docid <= ?" constraint, if any */
130104 sqlite3_value **apVal, /* Array of arguments */
130260 sqlite3_value *pVal, /* argv[0] passed to function */
130283 sqlite3_value **apVal /* Array of arguments */
130324 sqlite3_value **apVal /* Array of arguments */
130350 sqlite3_value **apVal /* Array of arguments */
130384 sqlite3_value **apVal /* Array of arguments */
130405 void (**pxFunc)(sqlite3_context*,int,sqlite3_value**), /* OUT: Result */
130410 void (*xFunc)(sqlite3_context*,int,sqlite3_value**);
133000 sqlite3_value **apVal /* Arguments for the indexing scheme */
134369 sqlite3_value **argv
135573 sqlite3_value **argv
135755 sqlite3_value **argv
135914 sqlite3_value **argv
136580 sqlite3_value **apVal /* Arguments for the indexing scheme */
136990 sqlite3_value **apVal /* Values to bind to statement */
137192 sqlite3_value **apVal /* Parameters to bind */
137613 sqlite3_value **apVal,
137647 sqlite3_value **apVal, /* Array of values to insert */
137654 sqlite3_value *pRowid = apVal[p->nColumn+3];
137757 sqlite3_value *pRowid, /* The docid to be deleted */
139080 static int fts3IsEmpty(Fts3Table *p, sqlite3_value *pRowid, int *pisEmpty){
141965 static int fts3SpecialInsert(Fts3Table *p, sqlite3_value *pVal){
142149 sqlite3_value *pRowid,
142199 sqlite3_value **apVal, /* Array of arguments */
142260 sqlite3_value *pNewRowid = apVal[3+p->nColumn];
146121 static int deserializeGeometry(sqlite3_value *pValue, RtreeConstraint *pCons){
146170 int argc, sqlite3_value **argv
147415 ** Convert an sqlite3_value into an RtreeValue (presumably a float)
147418 static RtreeValue rtreeValueDown(sqlite3_value *v){
147426 static RtreeValue rtreeValueUp(sqlite3_value *v){
147443 sqlite3_value **azData,
147904 static void rtreenode(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
147958 static void rtreedepth(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
148026 static void geomCallback(sqlite3_context *ctx, int nArg, sqlite3_value **aArg){
148276 sqlite3_value **argv
148358 static void icuRegexpFunc(sqlite3_context *p, int nArg, sqlite3_value **apArg){
148441 static void icuCaseFunc16(sqlite3_context *p, int nArg, sqlite3_value **apArg){
148529 sqlite3_value **apArg
148571 void (*xFunc)(sqlite3_context*,int,sqlite3_value**);