Lines Matching refs:pValue
16563 SQLITE_PRIVATE void sqlite3BtreeGetMeta(Btree *pBtree, int idx, u32 *pValue);
36446 SQLITE_PRIVATE int sqlite3GetInt32(const char *zNum, int *pValue){ in sqlite3GetInt32() argument
36468 memcpy(pValue, &u, 4); in sqlite3GetInt32()
36497 *pValue = (int)v; in sqlite3GetInt32()
92088 SQLITE_API void sqlite3_result_value(sqlite3_context *pCtx, sqlite3_value *pValue){
92093 if( pValue==0 ){
92100 sqlite3VdbeMemCopy(pOut, pValue);
93286 SQLITE_API int sqlite3_bind_value(sqlite3_stmt *pStmt, int i, const sqlite3_value *pValue){
93288 switch( sqlite3_value_type((sqlite3_value*)pValue) ){
93290 rc = sqlite3_bind_int64(pStmt, i, pValue->u.i);
93294 assert( pValue->flags & (MEM_Real|MEM_IntReal) );
93296 (pValue->flags & MEM_Real) ? pValue->u.r : (double)pValue->u.i
93301 if( pValue->flags & MEM_Zero ){
93302 rc = sqlite3_bind_zeroblob(pStmt, i, pValue->u.nZero);
93304 rc = sqlite3_bind_blob(pStmt, i, pValue->z, pValue->n,SQLITE_TRANSIENT);
93309 rc = bindText(pStmt,i, pValue->z, pValue->n, SQLITE_TRANSIENT,
93310 pValue->enc);
113154 SQLITE_PRIVATE int sqlite3ExprIsInteger(const Expr *p, int *pValue, Parse *pParse){
113164 *pValue = p->u.iValue;
113169 rc = sqlite3ExprIsInteger(p->pLeft, pValue, 0);
113176 *pValue = -v;
113193 *pValue = (int)vv;
131472 SQLITE_PRIVATE void sqlite3QuoteValue(StrAccum *pStr, sqlite3_value *pValue, int bEscape){
131478 switch( sqlite3_value_type(pValue) ){
131482 r1 = sqlite3_value_double(pValue);
131495 sqlite3_str_appendf(pStr, "%lld", sqlite3_value_int64(pValue));
131499 char const *zBlob = sqlite3_value_blob(pValue);
131500 i64 nBlob = sqlite3_value_bytes(pValue);
131501 assert( zBlob==sqlite3_value_blob(pValue) ); /* No encoding change */
131519 const unsigned char *zArg = sqlite3_value_text(pValue);
131524 assert( sqlite3_value_type(pValue)==SQLITE_NULL );
141081 Token *pValue, /* Token for <value>, or NULL */
141116 zRight = sqlite3MPrintf(db, "-%T", pValue);
141118 zRight = sqlite3NameFromToken(db, pValue);
142372 if( sqlite3GetInt32(pValue->z, &mxErr) ){
149684 Expr *pValue, /* The VALUE part of the constraint */
149689 assert( sqlite3ExprIsConstant(pConst->pParse, pValue) );
149692 if( sqlite3ExprAffinity(pValue)!=0 ) return;
149720 pConst->apExpr[pConst->nConst*2-1] = pValue;
155502 sqlite3_value *pValue = 0;
155509 pCol->affinity, &pValue);
155510 if( pValue ){
155511 sqlite3VdbeAppendP4(v, pValue, P4_MEM);
172362 sqlite3_value *pValue;
172390 p->pValue = sqlite3_value_dup(apArg[0]);
172391 if( !p->pValue ){
172408 if( p && p->pValue ){
172409 sqlite3_result_value(pCtx, p->pValue);
172410 sqlite3_value_free(p->pValue);
172411 p->pValue = 0;
172424 if( p && p->pValue==0 ){
172425 p->pValue = sqlite3_value_dup(apArg[0]);
172426 if( !p->pValue ){
172436 if( p && p->pValue ){
172437 sqlite3_result_value(pCtx, p->pValue);
172438 sqlite3_value_free(p->pValue);
172439 p->pValue = 0;
208637 sqlite3_value *pValue /* Value to append */
208639 switch( sqlite3_value_type(pValue) ){
208645 jsonPrintf(100, p, "%!0.15g", sqlite3_value_double(pValue));
208649 const char *z = (const char*)sqlite3_value_text(pValue);
208650 u32 n = (u32)sqlite3_value_bytes(pValue);
208655 const char *z = (const char*)sqlite3_value_text(pValue);
208656 u32 n = (u32)sqlite3_value_bytes(pValue);
208657 if( sqlite3_value_subtype(pValue)==JSON_SUBTYPE ){
208667 if( jsonArgIsJsonb(pValue, &px) ){
215286 static int deserializeGeometry(sqlite3_value *pValue, RtreeConstraint *pCons){
215290 pSrc = sqlite3_value_pointer(pValue, "RtreeMatchArg");
228530 sqlite3_value *pValue, /* Value to serialize */
228535 if( pValue ){
228538 eType = sqlite3_value_type(pValue);
228554 i = (u64)sqlite3_value_int64(pValue);
228558 r = sqlite3_value_double(pValue);
228573 z = (u8 *)sqlite3_value_text(pValue);
228575 z = (u8 *)sqlite3_value_blob(pValue);
228577 n = sqlite3_value_bytes(pValue);