Lines Matching refs:pArg

1241   int (*xFileControl)(sqlite3_file*, int op, void *pArg);
1264 ** into an integer that the pArg argument points to. This capability
4661 ** ^The fourth argument, pArg, is an application data pointer that is passed
4672 ** ^The collating function callback is invoked with a copy of the pArg
4696 ** with the addition that the xDestroy callback is invoked on pArg when
4717 void *pArg,
4724 void *pArg,
4732 void *pArg,
4929 ** ^The pArg argument is passed through to the callback.
6483 ** method is passed a copy of the sqlite3_pcache_methods.pArg value.)^
6606 void *pArg;
7787 void *pArg; /* First arg to busy callback */
9687 ** LIKEFUNC(zName, nArg, pArg, flags)
9690 ** function likeFunc. Argument pArg is cast to a (void *) and made
9698 #define STR_FUNCTION(zName, nArg, pArg, bNC, xFunc) \
9700 pArg, 0, xFunc, 0, 0, #zName, 0, 0}
14427 SQLITE_PRIVATE int sqlite3OsFileControl(sqlite3_file *id, int op, void *pArg){
14428 return id->pMethods->xFileControl(id, op, pArg);
18193 void(*xCallback)(void *pArg, sqlite3_int64 used,int N),
18194 void *pArg,
18200 mem0.alarmArg = pArg;
18214 void(*xCallback)(void *pArg, sqlite3_int64 used,int N),
18215 void *pArg,
18218 return sqlite3MemoryAlarm(xCallback, pArg, iThreshold);
18341 void *pArg;
18345 pArg = mem0.alarmArg;
18348 xCallback(pArg, nowUsed, nByte);
18351 mem0.alarmArg = pArg;
23002 static int os2FileControl(sqlite3_file *id, int op, void *pArg){
23005 *(int*)pArg = ((os2File*)id)->locktype;
23011 ((os2File*)id)->szChunk = *(int*)pArg;
23015 sqlite3_int64 sz = *(sqlite3_int64*)pArg;
28076 static int unixFileControl(sqlite3_file *id, int op, void *pArg){
28080 *(int*)pArg = pFile->eFileLock;
28084 *(int*)pArg = pFile->lastErrno;
28088 pFile->szChunk = *(int *)pArg;
28094 rc = fcntlSizeHint(pFile, *(i64 *)pArg);
28099 int bPersist = *(int*)pArg;
28101 *(int*)pArg = (pFile->ctrlFlags & UNIXFILE_PERSIST_WAL)!=0;
28123 return proxyFileControl(id,op,pArg);
31035 static int proxyFileControl(sqlite3_file *id, int op, void *pArg){
31043 *(const char **)pArg = pCtx->lockProxyPath;
31045 *(const char **)pArg = ":auto: (not held)";
31048 *(const char **)pArg = NULL;
31056 if( pArg==NULL || (const char *)pArg==0 ){
31065 const char *proxyPath = (const char *)pArg;
31069 if( !strcmp(pArg, ":auto:")
33160 static int winFileControl(sqlite3_file *id, int op, void *pArg){
33164 *(int*)pArg = pFile->locktype;
33168 *(int*)pArg = (int)pFile->lastErrno;
33172 pFile->szChunk = *(int *)pArg;
33180 sqlite3_int64 newSz = *(sqlite3_int64*)pArg;
33192 int bPersist = *(int*)pArg;
33194 *(int*)pArg = pFile->bPersistWal;
33204 int *a = (int*)pArg;
35325 return sqlite3GlobalConfig.pcache.xInit(sqlite3GlobalConfig.pcache.pArg);
35330 sqlite3GlobalConfig.pcache.xShutdown(sqlite3GlobalConfig.pcache.pArg);
36917 0, /* pArg */
49929 static int btreeInvokeBusyHandler(void *pArg){
49930 BtShared *pBt = (BtShared*)pArg;
63711 Mem *pArg;
64887 Mem *pArg;
64902 u.ag.pArg = &aMem[pOp->p2];
64903 for(u.ag.i=0; u.ag.i<u.ag.n; u.ag.i++, u.ag.pArg++){
64904 assert( memIsValid(u.ag.pArg) );
64905 u.ag.apVal[u.ag.i] = u.ag.pArg;
64906 Deephemeralize(u.ag.pArg);
64907 sqlite3VdbeMemStoreType(u.ag.pArg);
64908 REGISTER_TRACE(pOp->p2+u.ag.i, u.ag.pArg);
78958 void *pArg
78962 db->pAuthArg = pArg;
85386 Mem *pArg = (Mem *)argv[0];
85407 cmp = sqlite3MemCompare(pBest, pArg, pColl);
85409 sqlite3VdbeMemCopy(pBest, pArg);
85412 sqlite3VdbeMemCopy(pBest, pArg);
88751 ** the xCallback() function is called. pArg becomes the first
88759 void *pArg, /* First argument to xCallback() */
88824 if( xCallback(pArg, nCol, azVals, azCols) ){
96979 static int sqlite3_get_table_cb(void *pArg, int nCol, char **argv, char **colv){
96980 TabResult *p = (TabResult*)pArg; /* Result accumulator */
99704 Token *pArg = &pParse->sArg;
99705 if( pArg->z==0 ){
99706 pArg->z = p->z;
99707 pArg->n = p->n;
99709 assert(pArg->z < p->z);
99710 pArg->n = (int)(&p->z[p->n] - pArg->z);
100217 void *pArg = 0;
100244 rc = pMod->xFindFunction(pVtab, nArg, zLowerName, &xFunc, &pArg);
100262 pNew->pUserData = pArg;
111093 rc = p->xFunc(p->pArg, p->nBusy);
111109 void *pArg
111113 db->busyHandler.pArg = pArg;
111129 void *pArg
111135 db->pProgressArg = pArg;
111294 FuncDestructor *pArg = 0;
111297 pArg = (FuncDestructor *)sqlite3DbMallocZero(db, sizeof(FuncDestructor));
111298 if( !pArg ){
111302 pArg->xDestroy = xDestroy;
111303 pArg->pUserData = p;
111305 rc = sqlite3CreateFunc(db, zFunc, nArg, enc, p, xFunc, xStep, xFinal, pArg);
111306 if( pArg && pArg->nRef==0 ){
111309 sqlite3DbFree(db, pArg);
111374 ** Register a trace function. The pArg from the previously registered trace
111381 SQLITE_API void *sqlite3_trace(sqlite3 *db, void (*xTrace)(void*,const char*), void *pArg){
111386 db->pTraceArg = pArg;
111391 ** Register a profile function. The pArg from the previously registered
111401 void *pArg
111407 db->pProfileArg = pArg;
111422 void *pArg /* Argument to the function */
111428 db->pCommitArg = pArg;
111440 void *pArg /* Argument to the function */
111446 db->pUpdateArg = pArg;
111458 void *pArg /* Argument to the function */
111464 db->pRollbackArg = pArg;
111523 void *pArg /* First argument passed to xCallback() */
111530 db->pWalArg = pArg;
112807 SQLITE_API int sqlite3_file_control(sqlite3 *db, const char *zDbName, int op, void *pArg){
112829 *(sqlite3_file**)pArg = fd;
112832 rc = sqlite3OsFileControl(fd, op, pArg);
113249 void *pArg
113267 xNotify(&pArg, 1);
113277 db->pUnlockArg = pArg;