Lines Matching refs:pArg
1154 int (*xFileControl)(sqlite3_file*, int op, void *pArg);
1183 ** into an integer that the pArg argument points to.
1397 ** pointed to by the pArg argument. This capability is used during testing
6338 ** ^The fourth argument, pArg, is an application data pointer that is passed
6349 ** ^The collating function callback is invoked with a copy of the pArg
6374 ** with the addition that the xDestroy callback is invoked on pArg when
6395 void *pArg,
6402 void *pArg,
6410 void *pArg,
6829 ** ^The pArg argument is passed through to the callback.
9043 ** method is passed a copy of the sqlite3_pcache_methods2.pArg value.)^
9176 void *pArg;
9198 void *pArg;
11068 ** pArg must point to a value of type (int). If the value is initially
11078 SQLITE_API int sqlite3session_object_config(sqlite3_session*, int op, void *pArg);
12669 ** pointed to by pArg is set to the final value of the streaming interface
12676 SQLITE_API int sqlite3session_config(int op, void *pArg);
17452 ** LIKEFUNC(zName, nArg, pArg, flags)
17455 ** function likeFunc. Argument pArg is cast to a (void *) and made
17497 #define STR_FUNCTION(zName, nArg, pArg, bNC, xFunc) \
17500 pArg, 0, xFunc, 0, 0, 0, #zName, }
24992 SQLITE_PRIVATE int sqlite3OsFileControl(sqlite3_file *id, int op, void *pArg){
25018 return id->pMethods->xFileControl(id, op, pArg);
25020 SQLITE_PRIVATE void sqlite3OsFileControlHint(sqlite3_file *id, int op, void *pArg){
25021 if( id->pMethods ) (void)id->pMethods->xFileControl(id, op, pArg);
29114 void(*xCallback)(void *pArg, sqlite3_int64 used,int N),
29115 void *pArg,
29119 (void)pArg;
32908 void *pArg /* IN: Pointer to the SQLiteThread structure */
32910 SQLiteThread *p = (SQLiteThread *)pArg;
35869 static int kvvfsFileControlDb(sqlite3_file*, int op, void *pArg);
35870 static int kvvfsFileControlJrnl(sqlite3_file*, int op, void *pArg);
36566 static int kvvfsFileControlJrnl(sqlite3_file *pProtoFile, int op, void *pArg){
36570 static int kvvfsFileControlDb(sqlite3_file *pProtoFile, int op, void *pArg){
40812 ** If *pArg is initially negative then this is a query. Set *pArg to
40815 ** If *pArg is 0 or 1, then clear or set the mask bit of pFile->ctrlFlags.
40817 static void unixModeBit(unixFile *pFile, unsigned char mask, int *pArg){
40818 if( *pArg<0 ){
40819 *pArg = (pFile->ctrlFlags & mask)!=0;
40820 }else if( (*pArg)==0 ){
40836 static int unixFileControl(sqlite3_file *id, int op, void *pArg){
40870 *(int*)pArg = pFile->eFileLock;
40874 *(int*)pArg = pFile->lastErrno;
40878 pFile->szChunk = *(int *)pArg;
40884 rc = fcntlSizeHint(pFile, *(i64 *)pArg);
40889 unixModeBit(pFile, UNIXFILE_PERSIST_WAL, (int*)pArg);
40893 unixModeBit(pFile, UNIXFILE_PSOW, (int*)pArg);
40897 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
40904 *(char**)pArg = zTFile;
40909 *(int*)pArg = fileHasMoved(pFile);
40915 pFile->iBusyTimeout = *(int*)pArg;
40916 *(int*)pArg = iOld;
40922 i64 newLimit = *(i64*)pArg;
40935 *(i64*)pArg = pFile->mmapSizeMax;
40960 return proxyFileControl(id,op,pArg);
40966 return unixFcntlExternalReader((unixFile*)id, (int*)pArg);
40968 *(int*)pArg = 0;
44718 static int proxyFileControl(sqlite3_file *id, int op, void *pArg){
44726 *(const char **)pArg = pCtx->lockProxyPath;
44728 *(const char **)pArg = ":auto: (not held)";
44731 *(const char **)pArg = NULL;
44739 if( pArg==NULL || (const char *)pArg==0 ){
44751 const char *proxyPath = (const char *)pArg;
44755 if( !strcmp(pArg, ":auto:")
48567 ** If *pArg is initially negative then this is a query. Set *pArg to
48570 ** If *pArg is 0 or 1, then clear or set the mask bit of pFile->ctrlFlags.
48572 static void winModeBit(winFile *pFile, unsigned char mask, int *pArg){
48573 if( *pArg<0 ){
48574 *pArg = (pFile->ctrlFlags & mask)!=0;
48575 }else if( (*pArg)==0 ){
48591 static int winFileControl(sqlite3_file *id, int op, void *pArg){
48593 OSTRACE(("FCNTL file=%p, op=%d, pArg=%p\n", pFile->h, op, pArg));
48596 *(int*)pArg = pFile->locktype;
48601 *(int*)pArg = (int)pFile->lastErrno;
48606 pFile->szChunk = *(int *)pArg;
48615 sqlite3_int64 newSz = *(sqlite3_int64*)pArg;
48629 winModeBit(pFile, WINFILE_PERSIST_WAL, (int*)pArg);
48634 winModeBit(pFile, WINFILE_PSOW, (int*)pArg);
48639 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
48644 int *a = (int*)pArg;
48659 LPHANDLE phFile = (LPHANDLE)pArg;
48666 LPHANDLE phFile = (LPHANDLE)pArg;
48679 *(char**)pArg = zTFile;
48686 i64 newLimit = *(i64*)pArg;
48699 *(i64*)pArg = pFile->mmapSizeMax;
51385 static int memdbFileControl(sqlite3_file*, int op, void *pArg);
51735 static int memdbFileControl(sqlite3_file *pFile, int op, void *pArg){
51740 *(char**)pArg = sqlite3_mprintf("memdb(%p,%lld)", p->aData, p->sz);
51744 sqlite3_int64 iLimit = *(sqlite3_int64*)pArg;
51753 *(sqlite3_int64*)pArg = iLimit;
52903 return sqlite3GlobalConfig.pcache2.xInit(sqlite3GlobalConfig.pcache2.pArg);
52908 sqlite3GlobalConfig.pcache2.xShutdown(sqlite3GlobalConfig.pcache2.pArg);
54731 0, /* pArg */
54969 SQLITE_PRIVATE void sqlite3RowSetClear(void *pArg){
54970 RowSet *p = (RowSet*)pArg;
54989 SQLITE_PRIVATE void sqlite3RowSetDelete(void *pArg){
54990 sqlite3RowSetClear(pArg);
54991 sqlite3DbFree(((RowSet*)pArg)->db, pArg);
61909 void *pArg = (void*)zSuper;
61910 rc = sqlite3OsFileControl(pPager->fd, SQLITE_FCNTL_SYNC, pArg);
71039 static int btreeInvokeBusyHandler(void *pArg){
71040 BtShared *pBt = (BtShared*)pArg;
84613 SQLITE_PRIVATE void sqlite3VdbeFrameMemDel(void *pArg){
84614 VdbeFrame *pFrame = (VdbeFrame*)pArg;
109778 Expr *pArg = pFarg->a[0].pExpr;
109779 if( pArg->op==TK_COLUMN && pArg->iTable>=0 ){
109780 sqlite3VdbeAddOp3(v, OP_Offset, pArg->iTable, pArg->iColumn, target);
117259 void *pArg
117266 db->pAuthArg = pArg;
126411 Mem *pArg = (Mem *)argv[0];
126418 if( sqlite3_value_type(pArg)==SQLITE_NULL ){
126433 cmp = sqlite3MemCompare(pBest, pArg, pColl);
126435 sqlite3VdbeMemCopy(pBest, pArg);
126441 sqlite3VdbeMemCopy(pBest, pArg);
131789 ** the xCallback() function is called. pArg becomes the first
131797 void *pArg, /* First argument to xCallback() */
131861 if( xCallback(pArg, nCol, azVals, azCols) ){
146203 static int sqlite3_get_table_cb(void *pArg, int nCol, char **argv, char **colv){
146204 TabResult *p = (TabResult*)pArg; /* Result accumulator */
150478 Token *pArg = &pParse->sArg;
150479 if( pArg->z==0 ){
150480 pArg->z = p->z;
150481 pArg->n = p->n;
150483 assert(pArg->z <= p->z);
150484 pArg->n = (int)(&p->z[p->n] - pArg->z);
151071 void *pArg = 0;
151104 rc = pMod->xFindFunction(pVtab, nArg, pDef->zName, &xSFunc, &pArg);
151120 pNew->pUserData = pArg;
175158 void *pArg
175165 db->busyHandler.pBusyArg = pArg;
175182 void *pArg
175194 db->pProgressArg = pArg;
175391 FuncDestructor *pArg = 0;
175400 pArg = (FuncDestructor *)sqlite3Malloc(sizeof(FuncDestructor));
175401 if( !pArg ){
175406 pArg->nRef = 0;
175407 pArg->xDestroy = xDestroy;
175408 pArg->pUserData = p;
175411 xSFunc, xStep, xFinal, xValue, xInverse, pArg
175413 if( pArg && pArg->nRef==0 ){
175416 sqlite3_free(pArg);
175559 ** Register a trace function. The pArg from the previously registered trace
175567 SQLITE_API void *sqlite3_trace(sqlite3 *db, void(*xTrace)(void*,const char*), void *pArg){
175580 db->pTraceArg = pArg;
175592 void *pArg /* Context */
175604 db->pTraceArg = pArg;
175611 ** Register a profile function. The pArg from the previously registered
175621 void *pArg
175634 db->pProfileArg = pArg;
175651 void *pArg /* Argument to the function */
175664 db->pCommitArg = pArg;
175676 void *pArg /* Argument to the function */
175689 db->pUpdateArg = pArg;
175701 void *pArg /* Argument to the function */
175714 db->pRollbackArg = pArg;
175728 void *pArg /* First callback argument */
175734 db->pPreUpdateArg = pArg;
175747 void *pArg, /* Argument to the function */
175748 void (*xDestructor)(void*) /* Destructor for pArg */
175752 if( xDestructor ) xDestructor(pArg);
175761 db->pAutovacPagesArg = pArg;
175825 void *pArg /* First argument passed to xCallback() */
175838 db->pWalArg = pArg;
176975 void *pArg = sqlite3GlobalConfig.pSqllogArg;
176976 sqlite3GlobalConfig.xSqllog(pArg, db, zFilename, 0);
177391 SQLITE_API int sqlite3_file_control(sqlite3 *db, const char *zDbName, int op, void *pArg){
177409 *(sqlite3_file**)pArg = fd;
177412 *(sqlite3_vfs**)pArg = sqlite3PagerVfs(pPager);
177415 *(sqlite3_file**)pArg = sqlite3PagerJrnlFile(pPager);
177418 *(unsigned int*)pArg = sqlite3PagerDataVersion(pPager);
177421 int iNew = *(int*)pArg;
177422 *(int*)pArg = sqlite3BtreeGetRequestedReserve(pBtree);
177432 rc = sqlite3OsFileControl(fd, op, pArg);
178518 void *pArg
178536 xNotify(&pArg, 1);
178546 db->pUnlockArg = pArg;
207223 static void rtreeMatchArgFree(void *pArg){
207225 RtreeMatchArg *p = (RtreeMatchArg*)pArg;
208821 ** argument (pArg) passed to this function. The second is the full path
208833 void *pArg,
208834 int (*xRename)(void *pArg, const char *zOld, const char *zNew)
213189 static int xDefaultRename(void *pArg, const char *zOld, const char *zNew){
213222 void *pArg,
213223 int (*xRename)(void *pArg, const char *zOld, const char *zNew)
213227 pRbu->pRenameArg = pArg;
213638 static int rbuVfsFileControl(sqlite3_file *pFile, int op, void *pArg){
213647 sqlite3rbu *pRbu = (sqlite3rbu*)pArg;
213652 rc = xControl(p->pReal, op, pArg);
213673 sqlite3rbu *pRbu = (sqlite3rbu*)pArg;
213679 rc = xControl(p->pReal, op, pArg);
213682 char *zIn = *(char**)pArg;
213684 *(char**)pArg = zOut;
214022 void *pArg,
214026 return pRealVfs->xDlSym(pRealVfs, pArg, zSym);
218294 SQLITE_API int sqlite3session_object_config(sqlite3_session *pSession, int op, void *pArg){
218298 int iArg = *(int*)pArg;
218306 *(int*)pArg = pSession->bEnableSize;
221321 SQLITE_API int sqlite3session_config(int op, void *pArg){
221325 int *pInt = (int*)pArg;