Lines Matching refs:pArg
1139 int (*xFileControl)(sqlite3_file*, int op, void *pArg);
1168 ** into an integer that the pArg argument points to. This capability
1383 ** pointed to by the pArg argument. This capability is used during testing
6255 ** ^The fourth argument, pArg, is an application data pointer that is passed
6266 ** ^The collating function callback is invoked with a copy of the pArg
6291 ** with the addition that the xDestroy callback is invoked on pArg when
6312 void *pArg,
6319 void *pArg,
6327 void *pArg,
6686 ** ^The pArg argument is passed through to the callback.
8850 ** method is passed a copy of the sqlite3_pcache_methods2.pArg value.)^
8983 void *pArg;
9005 void *pArg;
10597 ** pArg must point to a value of type (int). If the value is initially
10607 SQLITE_API int sqlite3session_object_config(sqlite3_session*, int op, void *pArg);
12198 ** pointed to by pArg is set to the final value of the streaming interface
12205 SQLITE_API int sqlite3session_config(int op, void *pArg);
16891 ** LIKEFUNC(zName, nArg, pArg, flags)
16894 ** function likeFunc. Argument pArg is cast to a (void *) and made
16932 #define STR_FUNCTION(zName, nArg, pArg, bNC, xFunc) \
16935 pArg, 0, xFunc, 0, 0, 0, #zName, }
24042 SQLITE_PRIVATE int sqlite3OsFileControl(sqlite3_file *id, int op, void *pArg){
24068 return id->pMethods->xFileControl(id, op, pArg);
24070 SQLITE_PRIVATE void sqlite3OsFileControlHint(sqlite3_file *id, int op, void *pArg){
24071 if( id->pMethods ) (void)id->pMethods->xFileControl(id, op, pArg);
28154 void(*xCallback)(void *pArg, sqlite3_int64 used,int N),
28155 void *pArg,
28159 (void)pArg;
31335 void *pArg /* IN: Pointer to the SQLiteThread structure */
31337 SQLiteThread *p = (SQLiteThread *)pArg;
38173 ** If *pArg is initially negative then this is a query. Set *pArg to
38176 ** If *pArg is 0 or 1, then clear or set the mask bit of pFile->ctrlFlags.
38178 static void unixModeBit(unixFile *pFile, unsigned char mask, int *pArg){
38179 if( *pArg<0 ){
38180 *pArg = (pFile->ctrlFlags & mask)!=0;
38181 }else if( (*pArg)==0 ){
38197 static int unixFileControl(sqlite3_file *id, int op, void *pArg){
38216 *(int*)pArg = pFile->eFileLock;
38220 *(int*)pArg = pFile->lastErrno;
38224 pFile->szChunk = *(int *)pArg;
38230 rc = fcntlSizeHint(pFile, *(i64 *)pArg);
38235 unixModeBit(pFile, UNIXFILE_PERSIST_WAL, (int*)pArg);
38239 unixModeBit(pFile, UNIXFILE_PSOW, (int*)pArg);
38243 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
38250 *(char**)pArg = zTFile;
38255 *(int*)pArg = fileHasMoved(pFile);
38261 pFile->iBusyTimeout = *(int*)pArg;
38262 *(int*)pArg = iOld;
38268 i64 newLimit = *(i64*)pArg;
38281 *(i64*)pArg = pFile->mmapSizeMax;
38306 return proxyFileControl(id,op,pArg);
38312 return unixFcntlExternalReader((unixFile*)id, (int*)pArg);
38314 *(int*)pArg = 0;
42021 static int proxyFileControl(sqlite3_file *id, int op, void *pArg){
42029 *(const char **)pArg = pCtx->lockProxyPath;
42031 *(const char **)pArg = ":auto: (not held)";
42034 *(const char **)pArg = NULL;
42042 if( pArg==NULL || (const char *)pArg==0 ){
42054 const char *proxyPath = (const char *)pArg;
42058 if( !strcmp(pArg, ":auto:")
45855 ** If *pArg is initially negative then this is a query. Set *pArg to
45858 ** If *pArg is 0 or 1, then clear or set the mask bit of pFile->ctrlFlags.
45860 static void winModeBit(winFile *pFile, unsigned char mask, int *pArg){
45861 if( *pArg<0 ){
45862 *pArg = (pFile->ctrlFlags & mask)!=0;
45863 }else if( (*pArg)==0 ){
45879 static int winFileControl(sqlite3_file *id, int op, void *pArg){
45881 OSTRACE(("FCNTL file=%p, op=%d, pArg=%p\n", pFile->h, op, pArg));
45884 *(int*)pArg = pFile->locktype;
45889 *(int*)pArg = (int)pFile->lastErrno;
45894 pFile->szChunk = *(int *)pArg;
45903 sqlite3_int64 newSz = *(sqlite3_int64*)pArg;
45917 winModeBit(pFile, WINFILE_PERSIST_WAL, (int*)pArg);
45922 winModeBit(pFile, WINFILE_PSOW, (int*)pArg);
45927 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
45932 int *a = (int*)pArg;
45947 LPHANDLE phFile = (LPHANDLE)pArg;
45954 LPHANDLE phFile = (LPHANDLE)pArg;
45967 *(char**)pArg = zTFile;
45974 i64 newLimit = *(i64*)pArg;
45987 *(i64*)pArg = pFile->mmapSizeMax;
48638 static int memdbFileControl(sqlite3_file*, int op, void *pArg);
48946 static int memdbFileControl(sqlite3_file *pFile, int op, void *pArg){
48951 *(char**)pArg = sqlite3_mprintf("memdb(%p,%lld)", p->aData, p->sz);
48955 sqlite3_int64 iLimit = *(sqlite3_int64*)pArg;
48964 *(sqlite3_int64*)pArg = iLimit;
50090 return sqlite3GlobalConfig.pcache2.xInit(sqlite3GlobalConfig.pcache2.pArg);
50095 sqlite3GlobalConfig.pcache2.xShutdown(sqlite3GlobalConfig.pcache2.pArg);
51906 0, /* pArg */
52147 SQLITE_PRIVATE void sqlite3RowSetClear(void *pArg){
52148 RowSet *p = (RowSet*)pArg;
52167 SQLITE_PRIVATE void sqlite3RowSetDelete(void *pArg){
52168 sqlite3RowSetClear(pArg);
52169 sqlite3DbFree(((RowSet*)pArg)->db, pArg);
58975 void *pArg = (void*)zSuper;
58976 rc = sqlite3OsFileControl(pPager->fd, SQLITE_FCNTL_SYNC, pArg);
67905 static int btreeInvokeBusyHandler(void *pArg){
67906 BtShared *pBt = (BtShared*)pArg;
81120 SQLITE_PRIVATE void sqlite3VdbeFrameMemDel(void *pArg){
81121 VdbeFrame *pFrame = (VdbeFrame*)pArg;
106081 Expr *pArg = pFarg->a[0].pExpr;
106082 if( pArg->op==TK_COLUMN ){
106083 sqlite3VdbeAddOp3(v, OP_Offset, pArg->iTable, pArg->iColumn, target);
112834 void *pArg
112841 db->pAuthArg = pArg;
121841 Mem *pArg = (Mem *)argv[0];
121848 if( sqlite3_value_type(pArg)==SQLITE_NULL ){
121863 cmp = sqlite3MemCompare(pBest, pArg, pColl);
121865 sqlite3VdbeMemCopy(pBest, pArg);
121871 sqlite3VdbeMemCopy(pBest, pArg);
127176 ** the xCallback() function is called. pArg becomes the first
127184 void *pArg, /* First argument to xCallback() */
127248 if( xCallback(pArg, nCol, azVals, azCols) ){
140825 static int sqlite3_get_table_cb(void *pArg, int nCol, char **argv, char **colv){
140826 TabResult *p = (TabResult*)pArg; /* Result accumulator */
145015 Token *pArg = &pParse->sArg;
145016 if( pArg->z==0 ){
145017 pArg->z = p->z;
145018 pArg->n = p->n;
145020 assert(pArg->z <= p->z);
145021 pArg->n = (int)(&p->z[p->n] - pArg->z);
145607 void *pArg = 0;
145640 rc = pMod->xFindFunction(pVtab, nArg, pDef->zName, &xSFunc, &pArg);
145656 pNew->pUserData = pArg;
168316 void *pArg
168323 db->busyHandler.pBusyArg = pArg;
168340 void *pArg
168352 db->pProgressArg = pArg;
168549 FuncDestructor *pArg = 0;
168558 pArg = (FuncDestructor *)sqlite3Malloc(sizeof(FuncDestructor));
168559 if( !pArg ){
168564 pArg->nRef = 0;
168565 pArg->xDestroy = xDestroy;
168566 pArg->pUserData = p;
168569 xSFunc, xStep, xFinal, xValue, xInverse, pArg
168571 if( pArg && pArg->nRef==0 ){
168574 sqlite3_free(pArg);
168717 ** Register a trace function. The pArg from the previously registered trace
168725 SQLITE_API void *sqlite3_trace(sqlite3 *db, void(*xTrace)(void*,const char*), void *pArg){
168738 db->pTraceArg = pArg;
168750 void *pArg /* Context */
168762 db->pTraceArg = pArg;
168769 ** Register a profile function. The pArg from the previously registered
168779 void *pArg
168792 db->pProfileArg = pArg;
168809 void *pArg /* Argument to the function */
168822 db->pCommitArg = pArg;
168834 void *pArg /* Argument to the function */
168847 db->pUpdateArg = pArg;
168859 void *pArg /* Argument to the function */
168872 db->pRollbackArg = pArg;
168886 void *pArg /* First callback argument */
168892 db->pPreUpdateArg = pArg;
168905 void *pArg, /* Argument to the function */
168906 void (*xDestructor)(void*) /* Destructor for pArg */
168910 if( xDestructor ) xDestructor(pArg);
168919 db->pAutovacPagesArg = pArg;
168983 void *pArg /* First argument passed to xCallback() */
168996 db->pWalArg = pArg;
170060 void *pArg = sqlite3GlobalConfig.pSqllogArg;
170061 sqlite3GlobalConfig.xSqllog(pArg, db, zFilename, 0);
170473 SQLITE_API int sqlite3_file_control(sqlite3 *db, const char *zDbName, int op, void *pArg){
170491 *(sqlite3_file**)pArg = fd;
170494 *(sqlite3_vfs**)pArg = sqlite3PagerVfs(pPager);
170497 *(sqlite3_file**)pArg = sqlite3PagerJrnlFile(pPager);
170500 *(unsigned int*)pArg = sqlite3PagerDataVersion(pPager);
170503 int iNew = *(int*)pArg;
170504 *(int*)pArg = sqlite3BtreeGetRequestedReserve(pBtree);
170511 rc = sqlite3OsFileControl(fd, op, pArg);
171517 void *pArg
171535 xNotify(&pArg, 1);
171545 db->pUnlockArg = pArg;
200225 static void rtreeMatchArgFree(void *pArg){
200227 RtreeMatchArg *p = (RtreeMatchArg*)pArg;
206585 static int rbuVfsFileControl(sqlite3_file *pFile, int op, void *pArg){
206594 sqlite3rbu *pRbu = (sqlite3rbu*)pArg;
206599 rc = xControl(p->pReal, op, pArg);
206620 sqlite3rbu *pRbu = (sqlite3rbu*)pArg;
206626 rc = xControl(p->pReal, op, pArg);
206629 char *zIn = *(char**)pArg;
206631 *(char**)pArg = zOut;
206969 void *pArg,
206973 return pRealVfs->xDlSym(pRealVfs, pArg, zSym);
211232 SQLITE_API int sqlite3session_object_config(sqlite3_session *pSession, int op, void *pArg){
211236 int iArg = *(int*)pArg;
211244 *(int*)pArg = pSession->bEnableSize;
214239 SQLITE_API int sqlite3session_config(int op, void *pArg){
214243 int *pInt = (int*)pArg;