Lines Matching full:pctx
880 sqlite3_context *pCtx,
885 char *zFake = shellFakeSchema(sqlite3_context_db_handle(pCtx), 0, zName);
888 sqlite3_result_text(pCtx, sqlite3_mprintf("/* %s */", zFake),
914 sqlite3_context *pCtx,
930 sqlite3 *db = sqlite3_context_db_handle(pCtx);
958 sqlite3_result_text(pCtx, z, -1, sqlite3_free);
964 sqlite3_result_value(pCtx, apVal[0]);
2260 sqlite3_context *pCtx, /* Context to return bytes written in */
2307 sqlite3_result_int64(pCtx, nWrite);
4688 sqlite3_context *pCtx, /* Store error here, if any */
4695 sqlite3_result_error_nomem(pCtx);
4708 zipfileCtxErrorMsg(pCtx, "inflateInit2() failed (%d)", err);
4712 zipfileCtxErrorMsg(pCtx, "inflate() failed (%d)", err);
4714 sqlite3_result_blob(pCtx, aRes, nOut, SQLITE_TRANSIENT);
7100 void *pCtx,
7112 sqlite3expert *p = (sqlite3expert*)pCtx;
7305 sqlite3_context *pCtx,
7309 struct IdxSampleCtx *p = (struct IdxSampleCtx*)sqlite3_user_data(pCtx);
7325 sqlite3_result_int(pCtx, bRet);
7346 sqlite3_context *pCtx,
7350 struct IdxRemCtx *p = (struct IdxRemCtx*)sqlite3_user_data(pCtx);
7365 sqlite3_result_int64(pCtx, pSlot->iVal);
7369 sqlite3_result_double(pCtx, pSlot->rVal);
7373 sqlite3_result_blob(pCtx, pSlot->z, pSlot->n, SQLITE_TRANSIENT);
7377 sqlite3_result_text(pCtx, pSlot->z, pSlot->n, SQLITE_TRANSIENT);
7401 sqlite3_result_error_nomem(pCtx);
7565 struct IdxRemCtx *pCtx = 0;
7592 pCtx = (struct IdxRemCtx*)idxMalloc(&rc, nByte);
7598 dbrem, "rem", 2, SQLITE_UTF8, (void*)pCtx, idxRemFunc, 0, 0
7608 pCtx->nSlot = nMax+1;
7643 for(i=0; i<pCtx->nSlot; i++){
7644 sqlite3_free(pCtx->aSlot[i].z);
7646 sqlite3_free(pCtx);
8061 sqlite3_context *pCtx,
8065 ShellState *p = (ShellState*)sqlite3_user_data(pCtx);
8068 sqlite3_result_value(pCtx, apVal[0]);
10303 static int session_filter(void *pCtx, const char *zTab){
10304 OpenSession *pSession = (OpenSession*)pCtx;
11334 sqlite3_context *pCtx,
11338 sqlite3 *db = sqlite3_context_db_handle(pCtx);
11353 sqlite3_result_text(pCtx, "", -1, SQLITE_STATIC);
11365 sqlite3_result_text(pCtx, z, -1, SQLITE_TRANSIENT);