Lines Matching refs:pArg

1830   int (*xFileControl)(sqlite3_file*, int op, void *pArg);
1859 ** into an integer that the pArg argument points to. This capability
2074 ** pointed to by the pArg argument. This capability is used during testing
6874 ** ^The fourth argument, pArg, is an application data pointer that is passed
6885 ** ^The collating function callback is invoked with a copy of the pArg
6910 ** with the addition that the xDestroy callback is invoked on pArg when
6931 void *pArg,
6938 void *pArg,
6946 void *pArg,
7254 ** ^The pArg argument is passed through to the callback.
9345 ** method is passed a copy of the sqlite3_pcache_methods2.pArg value.)^
9478 void *pArg;
9500 void *pArg;
12607 ** pointed to by pArg is set to the final value of the streaming interface
12614 SQLITE_API int sqlite3session_config(int op, void *pArg);
17203 ** LIKEFUNC(zName, nArg, pArg, flags)
17206 ** function likeFunc. Argument pArg is cast to a (void *) and made
17236 #define STR_FUNCTION(zName, nArg, pArg, bNC, xFunc) \
17238 pArg, 0, xFunc, 0, 0, 0, #zName, }
23036 SQLITE_PRIVATE int sqlite3OsFileControl(sqlite3_file *id, int op, void *pArg){
23055 return id->pMethods->xFileControl(id, op, pArg);
23057 SQLITE_PRIVATE void sqlite3OsFileControlHint(sqlite3_file *id, int op, void *pArg){
23058 if( id->pMethods ) (void)id->pMethods->xFileControl(id, op, pArg);
27333 void(*xCallback)(void *pArg, sqlite3_int64 used,int N),
27334 void *pArg,
27338 (void)pArg;
30439 void *pArg /* IN: Pointer to the SQLiteThread structure */
30441 SQLiteThread *p = (SQLiteThread *)pArg;
37366 ** If *pArg is initially negative then this is a query. Set *pArg to
37369 ** If *pArg is 0 or 1, then clear or set the mask bit of pFile->ctrlFlags.
37371 static void unixModeBit(unixFile *pFile, unsigned char mask, int *pArg){
37372 if( *pArg<0 ){
37373 *pArg = (pFile->ctrlFlags & mask)!=0;
37374 }else if( (*pArg)==0 ){
37387 static int unixFileControl(sqlite3_file *id, int op, void *pArg){
37406 *(int*)pArg = pFile->eFileLock;
37410 *(int*)pArg = pFile->lastErrno;
37414 pFile->szChunk = *(int *)pArg;
37420 rc = fcntlSizeHint(pFile, *(i64 *)pArg);
37425 unixModeBit(pFile, UNIXFILE_PERSIST_WAL, (int*)pArg);
37429 unixModeBit(pFile, UNIXFILE_PSOW, (int*)pArg);
37433 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
37440 *(char**)pArg = zTFile;
37445 *(int*)pArg = fileHasMoved(pFile);
37451 pFile->iBusyTimeout = *(int*)pArg;
37452 *(int*)pArg = iOld;
37458 i64 newLimit = *(i64*)pArg;
37471 *(i64*)pArg = pFile->mmapSizeMax;
37496 return proxyFileControl(id,op,pArg);
41062 static int proxyFileControl(sqlite3_file *id, int op, void *pArg){
41070 *(const char **)pArg = pCtx->lockProxyPath;
41072 *(const char **)pArg = ":auto: (not held)";
41075 *(const char **)pArg = NULL;
41083 if( pArg==NULL || (const char *)pArg==0 ){
41095 const char *proxyPath = (const char *)pArg;
41099 if( !strcmp(pArg, ":auto:")
45072 ** If *pArg is initially negative then this is a query. Set *pArg to
45075 ** If *pArg is 0 or 1, then clear or set the mask bit of pFile->ctrlFlags.
45077 static void winModeBit(winFile *pFile, unsigned char mask, int *pArg){
45078 if( *pArg<0 ){
45079 *pArg = (pFile->ctrlFlags & mask)!=0;
45080 }else if( (*pArg)==0 ){
45096 static int winFileControl(sqlite3_file *id, int op, void *pArg){
45098 OSTRACE(("FCNTL file=%p, op=%d, pArg=%p\n", pFile->h, op, pArg));
45101 *(int*)pArg = pFile->locktype;
45106 *(int*)pArg = (int)pFile->lastErrno;
45111 pFile->szChunk = *(int *)pArg;
45120 sqlite3_int64 newSz = *(sqlite3_int64*)pArg;
45134 winModeBit(pFile, WINFILE_PERSIST_WAL, (int*)pArg);
45139 winModeBit(pFile, WINFILE_PSOW, (int*)pArg);
45144 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
45149 int *a = (int*)pArg;
45164 LPHANDLE phFile = (LPHANDLE)pArg;
45171 LPHANDLE phFile = (LPHANDLE)pArg;
45184 *(char**)pArg = zTFile;
45191 i64 newLimit = *(i64*)pArg;
45204 *(i64*)pArg = pFile->mmapSizeMax;
47794 static int memdbFileControl(sqlite3_file*, int op, void *pArg);
47996 static int memdbFileControl(sqlite3_file *pFile, int op, void *pArg){
48000 *(char**)pArg = sqlite3_mprintf("memdb(%p,%lld)", p->aData, p->sz);
48004 sqlite3_int64 iLimit = *(sqlite3_int64*)pArg;
48013 *(sqlite3_int64*)pArg = iLimit;
49046 return sqlite3GlobalConfig.pcache2.xInit(sqlite3GlobalConfig.pcache2.pArg);
49051 sqlite3GlobalConfig.pcache2.xShutdown(sqlite3GlobalConfig.pcache2.pArg);
50855 0, /* pArg */
51096 SQLITE_PRIVATE void sqlite3RowSetClear(void *pArg){
51097 RowSet *p = (RowSet*)pArg;
51116 SQLITE_PRIVATE void sqlite3RowSetDelete(void *pArg){
51117 sqlite3RowSetClear(pArg);
51118 sqlite3DbFree(((RowSet*)pArg)->db, pArg);
57911 void *pArg = (void*)zMaster;
57912 rc = sqlite3OsFileControl(pPager->fd, SQLITE_FCNTL_SYNC, pArg);
66629 static int btreeInvokeBusyHandler(void *pArg){
66630 BtShared *pBt = (BtShared*)pArg;
79477 SQLITE_PRIVATE void sqlite3VdbeFrameMemDel(void *pArg){
79478 VdbeFrame *pFrame = (VdbeFrame*)pArg;
103725 Expr *pArg = pFarg->a[0].pExpr;
103726 if( pArg->op==TK_COLUMN ){
103727 sqlite3VdbeAddOp3(v, OP_Offset, pArg->iTable, pArg->iColumn, target);
109845 void *pArg
109852 db->pAuthArg = pArg;
118307 Mem *pArg = (Mem *)argv[0];
118314 if( sqlite3_value_type(pArg)==SQLITE_NULL ){
118329 cmp = sqlite3MemCompare(pBest, pArg, pColl);
118331 sqlite3VdbeMemCopy(pBest, pArg);
118337 sqlite3VdbeMemCopy(pBest, pArg);
123053 ** the xCallback() function is called. pArg becomes the first
123061 void *pArg, /* First argument to xCallback() */
123125 if( xCallback(pArg, nCol, azVals, azCols) ){
135684 static int sqlite3_get_table_cb(void *pArg, int nCol, char **argv, char **colv){
135685 TabResult *p = (TabResult*)pArg; /* Result accumulator */
139324 Token *pArg = &pParse->sArg;
139325 if( pArg->z==0 ){
139326 pArg->z = p->z;
139327 pArg->n = p->n;
139329 assert(pArg->z <= p->z);
139330 pArg->n = (int)(&p->z[p->n] - pArg->z);
139900 void *pArg = 0;
139932 rc = pMod->xFindFunction(pVtab, nArg, pDef->zName, &xSFunc, &pArg);
139948 pNew->pUserData = pArg;
161853 void *pArg
161860 db->busyHandler.pBusyArg = pArg;
161877 void *pArg
161889 db->pProgressArg = pArg;
162072 FuncDestructor *pArg = 0;
162081 pArg = (FuncDestructor *)sqlite3Malloc(sizeof(FuncDestructor));
162082 if( !pArg ){
162087 pArg->nRef = 0;
162088 pArg->xDestroy = xDestroy;
162089 pArg->pUserData = p;
162092 xSFunc, xStep, xFinal, xValue, xInverse, pArg
162094 if( pArg && pArg->nRef==0 ){
162097 sqlite3_free(pArg);
162240 ** Register a trace function. The pArg from the previously registered trace
162248 SQLITE_API void *sqlite3_trace(sqlite3 *db, void(*xTrace)(void*,const char*), void *pArg){
162261 db->pTraceArg = pArg;
162273 void *pArg /* Context */
162285 db->pTraceArg = pArg;
162292 ** Register a profile function. The pArg from the previously registered
162302 void *pArg
162315 db->pProfileArg = pArg;
162332 void *pArg /* Argument to the function */
162345 db->pCommitArg = pArg;
162357 void *pArg /* Argument to the function */
162370 db->pUpdateArg = pArg;
162382 void *pArg /* Argument to the function */
162395 db->pRollbackArg = pArg;
162409 void *pArg /* First callback argument */
162415 db->pPreUpdateArg = pArg;
162478 void *pArg /* First argument passed to xCallback() */
162491 db->pWalArg = pArg;
163541 void *pArg = sqlite3GlobalConfig.pSqllogArg;
163542 sqlite3GlobalConfig.xSqllog(pArg, db, zFilename, 0);
163954 SQLITE_API int sqlite3_file_control(sqlite3 *db, const char *zDbName, int op, void *pArg){
163972 *(sqlite3_file**)pArg = fd;
163975 *(sqlite3_vfs**)pArg = sqlite3PagerVfs(pPager);
163978 *(sqlite3_file**)pArg = sqlite3PagerJrnlFile(pPager);
163981 *(unsigned int*)pArg = sqlite3PagerDataVersion(pPager);
163984 int iNew = *(int*)pArg;
163985 *(int*)pArg = sqlite3BtreeGetRequestedReserve(pBtree);
163991 rc = sqlite3OsFileControl(fd, op, pArg);
164916 void *pArg
164934 xNotify(&pArg, 1);
164944 db->pUnlockArg = pArg;
193406 static void rtreeMatchArgFree(void *pArg){
193408 RtreeMatchArg *p = (RtreeMatchArg*)pArg;
199709 static int rbuVfsFileControl(sqlite3_file *pFile, int op, void *pArg){
199718 sqlite3rbu *pRbu = (sqlite3rbu*)pArg;
199723 rc = xControl(p->pReal, op, pArg);
199744 sqlite3rbu *pRbu = (sqlite3rbu*)pArg;
199750 rc = xControl(p->pReal, op, pArg);
199753 char *zIn = *(char**)pArg;
199755 *(char**)pArg = zOut;
200105 void *pArg,
200109 return pRealVfs->xDlSym(pRealVfs, pArg, zSym);
206994 SQLITE_API int sqlite3session_config(int op, void *pArg){
206998 int *pInt = (int*)pArg;