Lines Matching refs:pArg
956 int (*xFileControl)(sqlite3_file*, int op, void *pArg);
985 ** into an integer that the pArg argument points to. This capability
1170 ** pointed to by the pArg argument. This capability is used during testing
4899 ** ^The fourth argument, pArg, is an application data pointer that is passed
4910 ** ^The collating function callback is invoked with a copy of the pArg
4934 ** with the addition that the xDestroy callback is invoked on pArg when
4955 void *pArg,
4962 void *pArg,
4970 void *pArg,
5273 ** ^The pArg argument is passed through to the callback.
6998 ** method is passed a copy of the sqlite3_pcache_methods2.pArg value.)^
7131 void *pArg;
7153 void *pArg;
9260 void *pArg; /* First arg to busy callback */
11371 ** LIKEFUNC(zName, nArg, pArg, flags)
11374 ** function likeFunc. Argument pArg is cast to a (void *) and made
11388 #define STR_FUNCTION(zName, nArg, pArg, bNC, xFunc) \
11390 pArg, 0, xFunc, 0, 0, #zName, 0, 0}
16684 SQLITE_PRIVATE int sqlite3OsFileControl(sqlite3_file *id, int op, void *pArg){
16700 return id->pMethods->xFileControl(id, op, pArg);
16702 SQLITE_PRIVATE void sqlite3OsFileControlHint(sqlite3_file *id, int op, void *pArg){
16703 (void)id->pMethods->xFileControl(id, op, pArg);
20755 void(*xCallback)(void *pArg, sqlite3_int64 used,int N),
20756 void *pArg,
20762 mem0.alarmArg = pArg;
20776 void(*xCallback)(void *pArg, sqlite3_int64 used,int N),
20777 void *pArg,
20780 return sqlite3MemoryAlarm(xCallback, pArg, iThreshold);
20902 void *pArg;
20906 pArg = mem0.alarmArg;
20909 xCallback(pArg, nowUsed, nByte);
20912 mem0.alarmArg = pArg;
23233 void *pArg /* IN: Pointer to the SQLiteThread structure */
23235 SQLiteThread *p = (SQLiteThread *)pArg;
29731 ** If *pArg is initially negative then this is a query. Set *pArg to
29734 ** If *pArg is 0 or 1, then clear or set the mask bit of pFile->ctrlFlags.
29736 static void unixModeBit(unixFile *pFile, unsigned char mask, int *pArg){
29737 if( *pArg<0 ){
29738 *pArg = (pFile->ctrlFlags & mask)!=0;
29739 }else if( (*pArg)==0 ){
29752 static int unixFileControl(sqlite3_file *id, int op, void *pArg){
29760 *(int*)pArg = pFile->eFileLock;
29764 *(int*)pArg = pFile->lastErrno;
29768 pFile->szChunk = *(int *)pArg;
29774 rc = fcntlSizeHint(pFile, *(i64 *)pArg);
29779 unixModeBit(pFile, UNIXFILE_PERSIST_WAL, (int*)pArg);
29783 unixModeBit(pFile, UNIXFILE_PSOW, (int*)pArg);
29787 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
29794 *(char**)pArg = zTFile;
29799 *(int*)pArg = fileHasMoved(pFile);
29804 i64 newLimit = *(i64*)pArg;
29809 *(i64*)pArg = pFile->mmapSizeMax;
29834 return proxyFileControl(id,op,pArg);
33204 static int proxyFileControl(sqlite3_file *id, int op, void *pArg){
33212 *(const char **)pArg = pCtx->lockProxyPath;
33214 *(const char **)pArg = ":auto: (not held)";
33217 *(const char **)pArg = NULL;
33225 if( pArg==NULL || (const char *)pArg==0 ){
33237 const char *proxyPath = (const char *)pArg;
33241 if( !strcmp(pArg, ":auto:")
36936 ** If *pArg is initially negative then this is a query. Set *pArg to
36939 ** If *pArg is 0 or 1, then clear or set the mask bit of pFile->ctrlFlags.
36941 static void winModeBit(winFile *pFile, unsigned char mask, int *pArg){
36942 if( *pArg<0 ){
36943 *pArg = (pFile->ctrlFlags & mask)!=0;
36944 }else if( (*pArg)==0 ){
36959 static int winFileControl(sqlite3_file *id, int op, void *pArg){
36961 OSTRACE(("FCNTL file=%p, op=%d, pArg=%p\n", pFile->h, op, pArg));
36964 *(int*)pArg = pFile->locktype;
36969 *(int*)pArg = (int)pFile->lastErrno;
36974 pFile->szChunk = *(int *)pArg;
36983 sqlite3_int64 newSz = *(sqlite3_int64*)pArg;
36997 winModeBit(pFile, WINFILE_PERSIST_WAL, (int*)pArg);
37002 winModeBit(pFile, WINFILE_PSOW, (int*)pArg);
37007 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
37012 int *a = (int*)pArg;
37028 LPHANDLE phFile = (LPHANDLE)pArg;
37041 *(char**)pArg = zTFile;
37048 i64 newLimit = *(i64*)pArg;
37053 *(i64*)pArg = pFile->mmapSizeMax;
39924 return sqlite3GlobalConfig.pcache2.xInit(sqlite3GlobalConfig.pcache2.pArg);
39929 sqlite3GlobalConfig.pcache2.xShutdown(sqlite3GlobalConfig.pcache2.pArg);
41601 0, /* pArg */
48376 void *pArg = (void*)zMaster;
48377 rc = sqlite3OsFileControl(pPager->fd, SQLITE_FCNTL_SYNC, pArg);
55860 static int btreeInvokeBusyHandler(void *pArg){
55861 BtShared *pBt = (BtShared*)pArg;
91712 void *pArg
91719 db->pAuthArg = pArg;
99056 Mem *pArg = (Mem *)argv[0];
99078 cmp = sqlite3MemCompare(pBest, pArg, pColl);
99080 sqlite3VdbeMemCopy(pBest, pArg);
99086 sqlite3VdbeMemCopy(pBest, pArg);
102845 ** the xCallback() function is called. pArg becomes the first
102853 void *pArg, /* First argument to xCallback() */
102917 if( xCallback(pArg, nCol, azVals, azCols) ){
113280 static int sqlite3_get_table_cb(void *pArg, int nCol, char **argv, char **colv){
113281 TabResult *p = (TabResult*)pArg; /* Result accumulator */
116182 Token *pArg = &pParse->sArg;
116183 if( pArg->z==0 ){
116184 pArg->z = p->z;
116185 pArg->n = p->n;
116187 assert(pArg->z <= p->z);
116188 pArg->n = (int)(&p->z[p->n] - pArg->z);
116732 void *pArg = 0;
116759 rc = pMod->xFindFunction(pVtab, nArg, zLowerName, &xFunc, &pArg);
116777 pNew->pUserData = pArg;
130862 rc = p->xFunc(p->pArg, p->nBusy);
130878 void *pArg
130885 db->busyHandler.pArg = pArg;
130902 void *pArg
130914 db->pProgressArg = pArg;
131088 FuncDestructor *pArg = 0;
131097 pArg = (FuncDestructor *)sqlite3DbMallocZero(db, sizeof(FuncDestructor));
131098 if( !pArg ){
131102 pArg->xDestroy = xDestroy;
131103 pArg->pUserData = p;
131105 rc = sqlite3CreateFunc(db, zFunc, nArg, enc, p, xFunc, xStep, xFinal, pArg);
131106 if( pArg && pArg->nRef==0 ){
131109 sqlite3DbFree(db, pArg);
131184 ** Register a trace function. The pArg from the previously registered trace
131191 SQLITE_API void *SQLITE_STDCALL sqlite3_trace(sqlite3 *db, void (*xTrace)(void*,const char*), void *pArg){
131203 db->pTraceArg = pArg;
131208 ** Register a profile function. The pArg from the previously registered
131218 void *pArg
131231 db->pProfileArg = pArg;
131245 void *pArg /* Argument to the function */
131258 db->pCommitArg = pArg;
131270 void *pArg /* Argument to the function */
131283 db->pUpdateArg = pArg;
131295 void *pArg /* Argument to the function */
131308 db->pRollbackArg = pArg;
131370 void *pArg /* First argument passed to xCallback() */
131383 db->pWalArg = pArg;
132369 void *pArg = sqlite3GlobalConfig.pSqllogArg;
132370 sqlite3GlobalConfig.xSqllog(pArg, db, zFilename, 0);
132767 SQLITE_API int SQLITE_STDCALL sqlite3_file_control(sqlite3 *db, const char *zDbName, int op, void *pArg){
132785 *(sqlite3_file**)pArg = fd;
132788 rc = sqlite3OsFileControl(fd, op, pArg);
133382 void *pArg
133400 xNotify(&pArg, 1);
133410 db->pUnlockArg = pArg;
155985 static void rtreeMatchArgFree(void *pArg){
155987 RtreeMatchArg *p = (RtreeMatchArg*)pArg;
160424 static int rbuVfsFileControl(sqlite3_file *pFile, int op, void *pArg){
160433 sqlite3rbu *pRbu = (sqlite3rbu*)pArg;
160438 rc = xControl(p->pReal, op, pArg);
160458 rc = xControl(p->pReal, op, pArg);
160461 char *zIn = *(char**)pArg;
160463 *(char**)pArg = zOut;
160822 void *pArg,
160826 return pRealVfs->xDlSym(pRealVfs, pArg, zSym);