Lines Matching refs:pVal

1064     sqlite3_value *pVal;  in test_create_function()  local
1066 pVal = sqlite3ValueNew(db); in test_create_function()
1067 sqlite3ValueSetStr(pVal, -1, "x_sqlite_exec", SQLITE_UTF8, SQLITE_STATIC); in test_create_function()
1068 zUtf16 = sqlite3ValueText(pVal, SQLITE_UTF16NATIVE); in test_create_function()
1075 sqlite3ValueFree(pVal); in test_create_function()
2987 sqlite3_value *pVal; in test_collate_func() local
3008 pVal = sqlite3ValueNew(0); in test_collate_func()
3009 if( pVal ){ in test_collate_func()
3010 sqlite3ValueSetStr(pVal, nA, zA, encin, SQLITE_STATIC); in test_collate_func()
3011 n = sqlite3_value_bytes(pVal); in test_collate_func()
3013 Tcl_NewStringObj((char*)sqlite3_value_text(pVal),n)); in test_collate_func()
3014 sqlite3ValueSetStr(pVal, nB, zB, encin, SQLITE_STATIC); in test_collate_func()
3015 n = sqlite3_value_bytes(pVal); in test_collate_func()
3017 Tcl_NewStringObj((char*)sqlite3_value_text(pVal),n)); in test_collate_func()
3018 sqlite3ValueFree(pVal); in test_collate_func()
3035 sqlite3_value *pVal; in test_collate() local
3058 pVal = sqlite3ValueNew(db); in test_collate()
3059 sqlite3ValueSetStr(pVal, -1, "test_collate", SQLITE_UTF8, SQLITE_STATIC); in test_collate()
3060 zUtf16 = sqlite3ValueText(pVal, SQLITE_UTF16NATIVE); in test_collate()
3067 sqlite3ValueFree(pVal); in test_collate()
3260 sqlite3_value *pVal; in test_function_utf8() local
3270 pVal = sqlite3ValueNew(0); in test_function_utf8()
3271 sqlite3ValueSetStr(pVal, -1, Tcl_GetStringResult(interp), in test_function_utf8()
3273 sqlite3_result_text16be(pCtx, sqlite3_value_text16be(pVal), in test_function_utf8()
3275 sqlite3ValueFree(pVal); in test_function_utf8()
3284 sqlite3_value *pVal; in test_function_utf16le() local
3293 pVal = sqlite3ValueNew(0); in test_function_utf16le()
3294 sqlite3ValueSetStr(pVal, -1, Tcl_GetStringResult(interp), in test_function_utf16le()
3296 sqlite3_result_text(pCtx,(char*)sqlite3_value_text(pVal),-1,SQLITE_TRANSIENT); in test_function_utf16le()
3297 sqlite3ValueFree(pVal); in test_function_utf16le()
3306 sqlite3_value *pVal; in test_function_utf16be() local
3315 pVal = sqlite3ValueNew(0); in test_function_utf16be()
3316 sqlite3ValueSetStr(pVal, -1, Tcl_GetStringResult(interp), in test_function_utf16be()
3318 sqlite3_result_text16(pCtx, sqlite3_value_text16le(pVal), in test_function_utf16be()
3320 sqlite3_result_text16be(pCtx, sqlite3_value_text16le(pVal), in test_function_utf16be()
3322 sqlite3_result_text16le(pCtx, sqlite3_value_text16le(pVal), in test_function_utf16be()
3324 sqlite3ValueFree(pVal); in test_function_utf16be()
4000 sqlite3_value *pVal = 0; in test_bind_value_from_preupdate() local
4015 sqlite3_preupdate_new(db, bidx, &pVal); in test_bind_value_from_preupdate()
4017 sqlite3_preupdate_old(db, bidx, &pVal); in test_bind_value_from_preupdate()
4022 sqlite3_bind_value(pStmt, idx, pVal); in test_bind_value_from_preupdate()
4063 sqlite3_value *pVal = sqlite3_column_value(pStmt2, 0); in test_bind_value_from_select() local
4064 sqlite3_bind_value(pStmt, idx, pVal); in test_bind_value_from_select()