Lines Matching refs:pArg
1805 int (*xFileControl)(sqlite3_file*, int op, void *pArg);
6341 void *pArg,
6348 void *pArg,
6356 void *pArg,
8623 void *pArg; member
8645 void *pArg; member
13137 void *pArg; /* First arg to busy callback */ member
15573 #define STR_FUNCTION(zName, nArg, pArg, bNC, xFunc) \ argument
15575 pArg, 0, xFunc, 0, #zName, }
20937 SQLITE_PRIVATE int sqlite3OsFileControl(sqlite3_file *id, int op, void *pArg){ in sqlite3OsFileControl() argument
20953 return id->pMethods->xFileControl(id, op, pArg); in sqlite3OsFileControl()
20955 SQLITE_PRIVATE void sqlite3OsFileControlHint(sqlite3_file *id, int op, void *pArg){ in sqlite3OsFileControlHint() argument
20956 (void)id->pMethods->xFileControl(id, op, pArg); in sqlite3OsFileControlHint()
25205 void(*xCallback)(void *pArg, sqlite3_int64 used,int N),
25206 void *pArg,
25210 (void)pArg;
27780 void *pArg /* IN: Pointer to the SQLiteThread structure */
27782 SQLiteThread *p = (SQLiteThread *)pArg;
34546 static void unixModeBit(unixFile *pFile, unsigned char mask, int *pArg){
34547 if( *pArg<0 ){
34548 *pArg = (pFile->ctrlFlags & mask)!=0;
34549 }else if( (*pArg)==0 ){
34562 static int unixFileControl(sqlite3_file *id, int op, void *pArg){
34581 *(int*)pArg = pFile->eFileLock;
34585 *(int*)pArg = pFile->lastErrno;
34589 pFile->szChunk = *(int *)pArg;
34595 rc = fcntlSizeHint(pFile, *(i64 *)pArg);
34600 unixModeBit(pFile, UNIXFILE_PERSIST_WAL, (int*)pArg);
34604 unixModeBit(pFile, UNIXFILE_PSOW, (int*)pArg);
34608 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
34615 *(char**)pArg = zTFile;
34620 *(int*)pArg = fileHasMoved(pFile);
34625 i64 newLimit = *(i64*)pArg;
34638 *(i64*)pArg = pFile->mmapSizeMax;
34663 return proxyFileControl(id,op,pArg);
38178 static int proxyFileControl(sqlite3_file *id, int op, void *pArg){
38186 *(const char **)pArg = pCtx->lockProxyPath;
38188 *(const char **)pArg = ":auto: (not held)";
38191 *(const char **)pArg = NULL;
38199 if( pArg==NULL || (const char *)pArg==0 ){
38211 const char *proxyPath = (const char *)pArg;
38215 if( !strcmp(pArg, ":auto:")
42143 static void winModeBit(winFile *pFile, unsigned char mask, int *pArg){
42144 if( *pArg<0 ){
42145 *pArg = (pFile->ctrlFlags & mask)!=0;
42146 }else if( (*pArg)==0 ){
42161 static int winFileControl(sqlite3_file *id, int op, void *pArg){
42163 OSTRACE(("FCNTL file=%p, op=%d, pArg=%p\n", pFile->h, op, pArg));
42166 *(int*)pArg = pFile->locktype;
42171 *(int*)pArg = (int)pFile->lastErrno;
42176 pFile->szChunk = *(int *)pArg;
42185 sqlite3_int64 newSz = *(sqlite3_int64*)pArg;
42199 winModeBit(pFile, WINFILE_PERSIST_WAL, (int*)pArg);
42204 winModeBit(pFile, WINFILE_PSOW, (int*)pArg);
42209 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
42214 int *a = (int*)pArg;
42229 LPHANDLE phFile = (LPHANDLE)pArg;
42236 LPHANDLE phFile = (LPHANDLE)pArg;
42249 *(char**)pArg = zTFile;
42256 i64 newLimit = *(i64*)pArg;
42269 *(i64*)pArg = pFile->mmapSizeMax;
45459 return sqlite3GlobalConfig.pcache2.xInit(sqlite3GlobalConfig.pcache2.pArg);
45464 sqlite3GlobalConfig.pcache2.xShutdown(sqlite3GlobalConfig.pcache2.pArg);
54260 void *pArg = (void*)zMaster;
54261 rc = sqlite3OsFileControl(pPager->fd, SQLITE_FCNTL_SYNC, pArg);
62649 static int btreeInvokeBusyHandler(void *pArg){
62650 BtShared *pBt = (BtShared*)pArg;
96577 Expr *pArg = pFarg->a[0].pExpr;
96578 if( pArg->op==TK_COLUMN ){
96579 sqlite3VdbeAddOp3(v, OP_Offset, pArg->iTable, pArg->iColumn, target);
101433 void *pArg
101440 db->pAuthArg = pArg;
109101 Mem *pArg = (Mem *)argv[0];
109123 cmp = sqlite3MemCompare(pBest, pArg, pColl);
109125 sqlite3VdbeMemCopy(pBest, pArg);
109131 sqlite3VdbeMemCopy(pBest, pArg);
113150 void *pArg, /* First argument to xCallback() */
113215 if( xCallback(pArg, nCol, azVals, azCols) ){
124795 static int sqlite3_get_table_cb(void *pArg, int nCol, char **argv, char **colv){
124796 TabResult *p = (TabResult*)pArg; /* Result accumulator */
127856 Token *pArg = &pParse->sArg;
127857 if( pArg->z==0 ){
127858 pArg->z = p->z;
127859 pArg->n = p->n;
127861 assert(pArg->z <= p->z);
127862 pArg->n = (int)(&p->z[p->n] - pArg->z);
128424 void *pArg = 0;
128451 rc = pMod->xFindFunction(pVtab, nArg, zLowerName, &xSFunc, &pArg);
128469 pNew->pUserData = pArg;
144895 rc = p->xFunc(p->pArg, p->nBusy);
144911 void *pArg
144918 db->busyHandler.pArg = pArg;
144935 void *pArg
144947 db->pProgressArg = pArg;
145120 FuncDestructor *pArg = 0;
145129 pArg = (FuncDestructor *)sqlite3DbMallocZero(db, sizeof(FuncDestructor));
145130 if( !pArg ){
145134 pArg->xDestroy = xDestroy;
145135 pArg->pUserData = p;
145137 rc = sqlite3CreateFunc(db, zFunc, nArg, enc, p, xSFunc, xStep, xFinal, pArg);
145138 if( pArg && pArg->nRef==0 ){
145141 sqlite3DbFree(db, pArg);
145223 SQLITE_API void *sqlite3_trace(sqlite3 *db, void(*xTrace)(void*,const char*), void *pArg){
145236 db->pTraceArg = pArg;
145248 void *pArg /* Context */
145260 db->pTraceArg = pArg;
145277 void *pArg
145290 db->pProfileArg = pArg;
145305 void *pArg /* Argument to the function */
145318 db->pCommitArg = pArg;
145330 void *pArg /* Argument to the function */
145343 db->pUpdateArg = pArg;
145355 void *pArg /* Argument to the function */
145368 db->pRollbackArg = pArg;
145382 void *pArg /* First callback argument */
145388 db->pPreUpdateArg = pArg;
145451 void *pArg /* First argument passed to xCallback() */
145464 db->pWalArg = pArg;
146508 void *pArg = sqlite3GlobalConfig.pSqllogArg;
146509 sqlite3GlobalConfig.xSqllog(pArg, db, zFilename, 0);
146935 SQLITE_API int sqlite3_file_control(sqlite3 *db, const char *zDbName, int op, void *pArg){
146953 *(sqlite3_file**)pArg = fd;
146956 *(sqlite3_vfs**)pArg = sqlite3PagerVfs(pPager);
146959 *(sqlite3_file**)pArg = sqlite3PagerJrnlFile(pPager);
146962 rc = sqlite3OsFileControl(fd, op, pArg);
147725 void *pArg
147743 xNotify(&pArg, 1);
147753 db->pUnlockArg = pArg;
171199 static void rtreeMatchArgFree(void *pArg){
171201 RtreeMatchArg *p = (RtreeMatchArg*)pArg;
177088 static int rbuVfsFileControl(sqlite3_file *pFile, int op, void *pArg){
177097 sqlite3rbu *pRbu = (sqlite3rbu*)pArg;
177102 rc = xControl(p->pReal, op, pArg);
177125 sqlite3rbu *pRbu = (sqlite3rbu*)pArg;
177131 rc = xControl(p->pReal, op, pArg);
177134 char *zIn = *(char**)pArg;
177136 *(char**)pArg = zOut;
177511 void *pArg,
177515 return pRealVfs->xDlSym(pRealVfs, pArg, zSym);