Lines Matching defs:pValue
15552 SQLITE_PRIVATE void sqlite3BtreeGetMeta(Btree *pBtree, int idx, u32 *pValue);
34429 ** *pValue to that integer and return true. Otherwise return false.
34437 SQLITE_PRIVATE int sqlite3GetInt32(const char *zNum, int *pValue){
34459 memcpy(pValue, &u, 4);
34488 *pValue = (int)v;
88406 SQLITE_API void sqlite3_result_value(sqlite3_context *pCtx, sqlite3_value *pValue){
88409 sqlite3VdbeMemCopy(pOut, pValue);
89521 SQLITE_API int sqlite3_bind_value(sqlite3_stmt *pStmt, int i, const sqlite3_value *pValue){
89523 switch( sqlite3_value_type((sqlite3_value*)pValue) ){
89525 rc = sqlite3_bind_int64(pStmt, i, pValue->u.i);
89529 assert( pValue->flags & (MEM_Real|MEM_IntReal) );
89531 (pValue->flags & MEM_Real) ? pValue->u.r : (double)pValue->u.i
89536 if( pValue->flags & MEM_Zero ){
89537 rc = sqlite3_bind_zeroblob(pStmt, i, pValue->u.nZero);
89539 rc = sqlite3_bind_blob(pStmt, i, pValue->z, pValue->n,SQLITE_TRANSIENT);
89544 rc = bindText(pStmt,i, pValue->z, pValue->n, SQLITE_TRANSIENT,
89545 pValue->enc);
108258 ** in *pValue. If the expression is not an integer or if it is too big
108259 ** to fit in a signed 32-bit integer, return 0 and leave *pValue unchanged.
108261 SQLITE_PRIVATE int sqlite3ExprIsInteger(const Expr *p, int *pValue){
108271 *pValue = p->u.iValue;
108276 rc = sqlite3ExprIsInteger(p->pLeft, pValue);
108283 *pValue = -v;
125771 ** value contained in pValue.
125773 SQLITE_PRIVATE void sqlite3QuoteValue(StrAccum *pStr, sqlite3_value *pValue){
125779 switch( sqlite3_value_type(pValue) ){
125783 r1 = sqlite3_value_double(pValue);
125796 sqlite3_str_appendf(pStr, "%lld", sqlite3_value_int64(pValue));
125800 char const *zBlob = sqlite3_value_blob(pValue);
125801 int nBlob = sqlite3_value_bytes(pValue);
125802 assert( zBlob==sqlite3_value_blob(pValue) ); /* No encoding change */
125820 const unsigned char *zArg = sqlite3_value_text(pValue);
125825 assert( sqlite3_value_type(pValue)==SQLITE_NULL );
134623 Token *pValue, /* Token for <value>, or NULL */
134664 zRight = sqlite3MPrintf(db, "-%T", pValue);
134666 zRight = sqlite3NameFromToken(db, pValue);
142937 ** The caller guarantees the pColumn is a column and pValue is a constant.
142944 Expr *pValue, /* The VALUE part of the constraint */
142949 assert( sqlite3ExprIsConstant(pValue) );
142952 if( sqlite3ExprAffinity(pValue)!=0 ) return;
142979 pConst->apExpr[pConst->nConst*2-1] = pValue;
147907 sqlite3_value *pValue = 0;
147914 pCol->affinity, &pValue);
147915 if( pValue ){
147916 sqlite3VdbeAppendP4(v, pValue, P4_MEM);
163334 sqlite3_value *pValue;
163362 p->pValue = sqlite3_value_dup(apArg[0]);
163363 if( !p->pValue ){
163380 if( p && p->pValue ){
163381 sqlite3_result_value(pCtx, p->pValue);
163382 sqlite3_value_free(p->pValue);
163383 p->pValue = 0;
163396 if( p && p->pValue==0 ){
163397 p->pValue = sqlite3_value_dup(apArg[0]);
163398 if( !p->pValue ){
163408 if( p && p->pValue ){
163409 sqlite3_result_value(pCtx, p->pValue);
163410 sqlite3_value_free(p->pValue);
163411 p->pValue = 0;
198547 sqlite3_value *pValue /* Value to append */
198549 switch( sqlite3_value_type(pValue) ){
198556 const char *z = (const char*)sqlite3_value_text(pValue);
198557 u32 n = (u32)sqlite3_value_bytes(pValue);
198562 const char *z = (const char*)sqlite3_value_text(pValue);
198563 u32 n = (u32)sqlite3_value_bytes(pValue);
198564 if( sqlite3_value_subtype(pValue)==JSON_SUBTYPE ){
202748 static int deserializeGeometry(sqlite3_value *pValue, RtreeConstraint *pCons){
202752 pSrc = sqlite3_value_pointer(pValue, "RtreeMatchArg");
215871 ** This function is used to serialize the contents of value pValue (see
215885 sqlite3_value *pValue, /* Value to serialize */
215890 if( pValue ){
215893 eType = sqlite3_value_type(pValue);
215909 i = (u64)sqlite3_value_int64(pValue);
215913 r = sqlite3_value_double(pValue);
215928 z = (u8 *)sqlite3_value_text(pValue);
215930 z = (u8 *)sqlite3_value_blob(pValue);
215932 n = sqlite3_value_bytes(pValue);