Lines Matching refs:pArg

1827   int (*xFileControl)(sqlite3_file*, int op, void *pArg);
6564 void *pArg,
6571 void *pArg,
6579 void *pArg,
9091 void *pArg; member
9113 void *pArg; member
12199 SQLITE_API int sqlite3session_config(int op, void *pArg);
16682 #define STR_FUNCTION(zName, nArg, pArg, bNC, xFunc) \ argument
16684 pArg, 0, xFunc, 0, 0, 0, #zName, }
22296 SQLITE_PRIVATE int sqlite3OsFileControl(sqlite3_file *id, int op, void *pArg){ in sqlite3OsFileControl() argument
22315 return id->pMethods->xFileControl(id, op, pArg); in sqlite3OsFileControl()
22317 SQLITE_PRIVATE void sqlite3OsFileControlHint(sqlite3_file *id, int op, void *pArg){ in sqlite3OsFileControlHint() argument
22318 if( id->pMethods ) (void)id->pMethods->xFileControl(id, op, pArg); in sqlite3OsFileControlHint()
26576 void(*xCallback)(void *pArg, sqlite3_int64 used,int N),
26577 void *pArg,
26581 (void)pArg;
29507 void *pArg /* IN: Pointer to the SQLiteThread structure */
29509 SQLiteThread *p = (SQLiteThread *)pArg;
36412 static void unixModeBit(unixFile *pFile, unsigned char mask, int *pArg){
36413 if( *pArg<0 ){
36414 *pArg = (pFile->ctrlFlags & mask)!=0;
36415 }else if( (*pArg)==0 ){
36428 static int unixFileControl(sqlite3_file *id, int op, void *pArg){
36447 *(int*)pArg = pFile->eFileLock;
36451 *(int*)pArg = pFile->lastErrno;
36455 pFile->szChunk = *(int *)pArg;
36461 rc = fcntlSizeHint(pFile, *(i64 *)pArg);
36466 unixModeBit(pFile, UNIXFILE_PERSIST_WAL, (int*)pArg);
36470 unixModeBit(pFile, UNIXFILE_PSOW, (int*)pArg);
36474 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
36481 *(char**)pArg = zTFile;
36486 *(int*)pArg = fileHasMoved(pFile);
36491 pFile->iBusyTimeout = *(int*)pArg;
36497 i64 newLimit = *(i64*)pArg;
36510 *(i64*)pArg = pFile->mmapSizeMax;
36535 return proxyFileControl(id,op,pArg);
40060 static int proxyFileControl(sqlite3_file *id, int op, void *pArg){
40068 *(const char **)pArg = pCtx->lockProxyPath;
40070 *(const char **)pArg = ":auto: (not held)";
40073 *(const char **)pArg = NULL;
40081 if( pArg==NULL || (const char *)pArg==0 ){
40093 const char *proxyPath = (const char *)pArg;
40097 if( !strcmp(pArg, ":auto:")
44075 static void winModeBit(winFile *pFile, unsigned char mask, int *pArg){
44076 if( *pArg<0 ){
44077 *pArg = (pFile->ctrlFlags & mask)!=0;
44078 }else if( (*pArg)==0 ){
44093 static int winFileControl(sqlite3_file *id, int op, void *pArg){
44095 OSTRACE(("FCNTL file=%p, op=%d, pArg=%p\n", pFile->h, op, pArg));
44098 *(int*)pArg = pFile->locktype;
44103 *(int*)pArg = (int)pFile->lastErrno;
44108 pFile->szChunk = *(int *)pArg;
44117 sqlite3_int64 newSz = *(sqlite3_int64*)pArg;
44131 winModeBit(pFile, WINFILE_PERSIST_WAL, (int*)pArg);
44136 winModeBit(pFile, WINFILE_PSOW, (int*)pArg);
44141 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
44146 int *a = (int*)pArg;
44161 LPHANDLE phFile = (LPHANDLE)pArg;
44168 LPHANDLE phFile = (LPHANDLE)pArg;
44181 *(char**)pArg = zTFile;
44188 i64 newLimit = *(i64*)pArg;
44201 *(i64*)pArg = pFile->mmapSizeMax;
46775 static int memdbFileControl(sqlite3_file*, int op, void *pArg);
46977 static int memdbFileControl(sqlite3_file *pFile, int op, void *pArg){
46981 *(char**)pArg = sqlite3_mprintf("memdb(%p,%lld)", p->aData, p->sz);
46985 sqlite3_int64 iLimit = *(sqlite3_int64*)pArg;
46994 *(sqlite3_int64*)pArg = iLimit;
48024 return sqlite3GlobalConfig.pcache2.xInit(sqlite3GlobalConfig.pcache2.pArg);
48029 sqlite3GlobalConfig.pcache2.xShutdown(sqlite3GlobalConfig.pcache2.pArg);
50071 SQLITE_PRIVATE void sqlite3RowSetClear(void *pArg){
50072 RowSet *p = (RowSet*)pArg;
50091 SQLITE_PRIVATE void sqlite3RowSetDelete(void *pArg){
50092 sqlite3RowSetClear(pArg);
50093 sqlite3DbFree(((RowSet*)pArg)->db, pArg);
56892 void *pArg = (void*)zMaster;
56893 rc = sqlite3OsFileControl(pPager->fd, SQLITE_FCNTL_SYNC, pArg);
65482 static int btreeInvokeBusyHandler(void *pArg){
65483 BtShared *pBt = (BtShared*)pArg;
78097 SQLITE_PRIVATE void sqlite3VdbeFrameMemDel(void *pArg){
78098 VdbeFrame *pFrame = (VdbeFrame*)pArg;
100743 Expr *pArg = pFarg->a[0].pExpr;
100744 if( pArg->op==TK_COLUMN ){
100745 sqlite3VdbeAddOp3(v, OP_Offset, pArg->iTable, pArg->iColumn, target);
106638 void *pArg
106645 db->pAuthArg = pArg;
114623 Mem *pArg = (Mem *)argv[0];
114630 if( sqlite3_value_type(pArg)==SQLITE_NULL ){
114645 cmp = sqlite3MemCompare(pBest, pArg, pColl);
114647 sqlite3VdbeMemCopy(pBest, pArg);
114653 sqlite3VdbeMemCopy(pBest, pArg);
118938 void *pArg, /* First argument to xCallback() */
119002 if( xCallback(pArg, nCol, azVals, azCols) ){
131285 static int sqlite3_get_table_cb(void *pArg, int nCol, char **argv, char **colv){
131286 TabResult *p = (TabResult*)pArg; /* Result accumulator */
134781 Token *pArg = &pParse->sArg;
134782 if( pArg->z==0 ){
134783 pArg->z = p->z;
134784 pArg->n = p->n;
134786 assert(pArg->z <= p->z);
134787 pArg->n = (int)(&p->z[p->n] - pArg->z);
135352 void *pArg = 0;
135384 rc = pMod->xFindFunction(pVtab, nArg, pDef->zName, &xSFunc, &pArg);
135400 pNew->pUserData = pArg;
156225 void *pArg
156232 db->busyHandler.pBusyArg = pArg;
156250 void *pArg
156262 db->pProgressArg = pArg;
156435 FuncDestructor *pArg = 0;
156444 pArg = (FuncDestructor *)sqlite3Malloc(sizeof(FuncDestructor));
156445 if( !pArg ){
156450 pArg->nRef = 0;
156451 pArg->xDestroy = xDestroy;
156452 pArg->pUserData = p;
156455 xSFunc, xStep, xFinal, xValue, xInverse, pArg
156457 if( pArg && pArg->nRef==0 ){
156460 sqlite3_free(pArg);
156611 SQLITE_API void *sqlite3_trace(sqlite3 *db, void(*xTrace)(void*,const char*), void *pArg){
156624 db->pTraceArg = pArg;
156636 void *pArg /* Context */
156648 db->pTraceArg = pArg;
156665 void *pArg
156678 db->pProfileArg = pArg;
156695 void *pArg /* Argument to the function */
156708 db->pCommitArg = pArg;
156720 void *pArg /* Argument to the function */
156733 db->pUpdateArg = pArg;
156745 void *pArg /* Argument to the function */
156758 db->pRollbackArg = pArg;
156772 void *pArg /* First callback argument */
156778 db->pPreUpdateArg = pArg;
156841 void *pArg /* First argument passed to xCallback() */
156854 db->pWalArg = pArg;
157936 void *pArg = sqlite3GlobalConfig.pSqllogArg;
157937 sqlite3GlobalConfig.xSqllog(pArg, db, zFilename, 0);
158350 SQLITE_API int sqlite3_file_control(sqlite3 *db, const char *zDbName, int op, void *pArg){
158368 *(sqlite3_file**)pArg = fd;
158371 *(sqlite3_vfs**)pArg = sqlite3PagerVfs(pPager);
158374 *(sqlite3_file**)pArg = sqlite3PagerJrnlFile(pPager);
158377 *(unsigned int*)pArg = sqlite3PagerDataVersion(pPager);
158380 rc = sqlite3OsFileControl(fd, op, pArg);
159153 void *pArg
159171 xNotify(&pArg, 1);
159181 db->pUnlockArg = pArg;
187309 static void rtreeMatchArgFree(void *pArg){
187311 RtreeMatchArg *p = (RtreeMatchArg*)pArg;
193296 static int rbuVfsFileControl(sqlite3_file *pFile, int op, void *pArg){
193305 sqlite3rbu *pRbu = (sqlite3rbu*)pArg;
193310 rc = xControl(p->pReal, op, pArg);
193333 sqlite3rbu *pRbu = (sqlite3rbu*)pArg;
193339 rc = xControl(p->pReal, op, pArg);
193342 char *zIn = *(char**)pArg;
193344 *(char**)pArg = zOut;
193719 void *pArg,
193723 return pRealVfs->xDlSym(pRealVfs, pArg, zSym);
200482 SQLITE_API int sqlite3session_config(int op, void *pArg){
200486 int *pInt = (int*)pArg;