Lines Matching refs:pArg

949   int (*xFileControl)(sqlite3_file*, int op, void *pArg);
4924 void *pArg,
4931 void *pArg,
4939 void *pArg,
7097 void *pArg; member
7119 void *pArg; member
9198 void *pArg; /* First arg to busy callback */ member
11316 #define STR_FUNCTION(zName, nArg, pArg, bNC, xFunc) \ argument
11318 pArg, 0, xFunc, 0, 0, #zName, 0, 0}
16574 SQLITE_PRIVATE int sqlite3OsFileControl(sqlite3_file *id, int op, void *pArg){ in sqlite3OsFileControl() argument
16590 return id->pMethods->xFileControl(id, op, pArg); in sqlite3OsFileControl()
16592 SQLITE_PRIVATE void sqlite3OsFileControlHint(sqlite3_file *id, int op, void *pArg){ in sqlite3OsFileControlHint() argument
16593 (void)id->pMethods->xFileControl(id, op, pArg); in sqlite3OsFileControlHint()
20617 void(*xCallback)(void *pArg, sqlite3_int64 used,int N),
20618 void *pArg,
20624 mem0.alarmArg = pArg;
20638 void(*xCallback)(void *pArg, sqlite3_int64 used,int N),
20639 void *pArg,
20642 return sqlite3MemoryAlarm(xCallback, pArg, iThreshold);
20769 void *pArg;
20773 pArg = mem0.alarmArg;
20776 xCallback(pArg, nowUsed, nByte);
20779 mem0.alarmArg = pArg;
22748 void *pArg /* IN: Pointer to the SQLiteThread structure */
22750 SQLiteThread *p = (SQLiteThread *)pArg;
29221 static void unixModeBit(unixFile *pFile, unsigned char mask, int *pArg){
29222 if( *pArg<0 ){
29223 *pArg = (pFile->ctrlFlags & mask)!=0;
29224 }else if( (*pArg)==0 ){
29237 static int unixFileControl(sqlite3_file *id, int op, void *pArg){
29245 *(int*)pArg = pFile->eFileLock;
29249 *(int*)pArg = pFile->lastErrno;
29253 pFile->szChunk = *(int *)pArg;
29259 rc = fcntlSizeHint(pFile, *(i64 *)pArg);
29264 unixModeBit(pFile, UNIXFILE_PERSIST_WAL, (int*)pArg);
29268 unixModeBit(pFile, UNIXFILE_PSOW, (int*)pArg);
29272 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
29279 *(char**)pArg = zTFile;
29284 *(int*)pArg = fileHasMoved(pFile);
29289 i64 newLimit = *(i64*)pArg;
29294 *(i64*)pArg = pFile->mmapSizeMax;
29319 return proxyFileControl(id,op,pArg);
32689 static int proxyFileControl(sqlite3_file *id, int op, void *pArg){
32697 *(const char **)pArg = pCtx->lockProxyPath;
32699 *(const char **)pArg = ":auto: (not held)";
32702 *(const char **)pArg = NULL;
32710 if( pArg==NULL || (const char *)pArg==0 ){
32722 const char *proxyPath = (const char *)pArg;
32726 if( !strcmp(pArg, ":auto:")
36418 static void winModeBit(winFile *pFile, unsigned char mask, int *pArg){
36419 if( *pArg<0 ){
36420 *pArg = (pFile->ctrlFlags & mask)!=0;
36421 }else if( (*pArg)==0 ){
36436 static int winFileControl(sqlite3_file *id, int op, void *pArg){
36438 OSTRACE(("FCNTL file=%p, op=%d, pArg=%p\n", pFile->h, op, pArg));
36441 *(int*)pArg = pFile->locktype;
36446 *(int*)pArg = (int)pFile->lastErrno;
36451 pFile->szChunk = *(int *)pArg;
36460 sqlite3_int64 newSz = *(sqlite3_int64*)pArg;
36474 winModeBit(pFile, WINFILE_PERSIST_WAL, (int*)pArg);
36479 winModeBit(pFile, WINFILE_PSOW, (int*)pArg);
36484 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
36489 int *a = (int*)pArg;
36505 LPHANDLE phFile = (LPHANDLE)pArg;
36518 *(char**)pArg = zTFile;
36525 i64 newLimit = *(i64*)pArg;
36530 *(i64*)pArg = pFile->mmapSizeMax;
39400 return sqlite3GlobalConfig.pcache2.xInit(sqlite3GlobalConfig.pcache2.pArg);
39405 sqlite3GlobalConfig.pcache2.xShutdown(sqlite3GlobalConfig.pcache2.pArg);
47676 void *pArg = (void*)zMaster;
47677 rc = sqlite3OsFileControl(pPager->fd, SQLITE_FCNTL_SYNC, pArg);
54921 static int btreeInvokeBusyHandler(void *pArg){
54922 BtShared *pBt = (BtShared*)pArg;
72405 Mem *pArg;
72419 pArg = &aMem[pOp->p2];
72420 for(i=0; i<n; i++, pArg++){
72421 assert( memIsValid(pArg) );
72422 apVal[i] = pArg;
72423 Deephemeralize(pArg);
72424 REGISTER_TRACE(pOp->p2+i, pArg);
90614 void *pArg
90621 db->pAuthArg = pArg;
97932 Mem *pArg = (Mem *)argv[0];
97954 cmp = sqlite3MemCompare(pBest, pArg, pColl);
97956 sqlite3VdbeMemCopy(pBest, pArg);
97962 sqlite3VdbeMemCopy(pBest, pArg);
101723 void *pArg, /* First argument to xCallback() */
101787 if( xCallback(pArg, nCol, azVals, azCols) ){
112119 static int sqlite3_get_table_cb(void *pArg, int nCol, char **argv, char **colv){
112120 TabResult *p = (TabResult*)pArg; /* Result accumulator */
115018 Token *pArg = &pParse->sArg;
115019 if( pArg->z==0 ){
115020 pArg->z = p->z;
115021 pArg->n = p->n;
115023 assert(pArg->z <= p->z);
115024 pArg->n = (int)(&p->z[p->n] - pArg->z);
115567 void *pArg = 0;
115594 rc = pMod->xFindFunction(pVtab, nArg, zLowerName, &xFunc, &pArg);
115612 pNew->pUserData = pArg;
129411 rc = p->xFunc(p->pArg, p->nBusy);
129427 void *pArg
129434 db->busyHandler.pArg = pArg;
129451 void *pArg
129463 db->pProgressArg = pArg;
129637 FuncDestructor *pArg = 0;
129646 pArg = (FuncDestructor *)sqlite3DbMallocZero(db, sizeof(FuncDestructor));
129647 if( !pArg ){
129651 pArg->xDestroy = xDestroy;
129652 pArg->pUserData = p;
129654 rc = sqlite3CreateFunc(db, zFunc, nArg, enc, p, xFunc, xStep, xFinal, pArg);
129655 if( pArg && pArg->nRef==0 ){
129658 sqlite3DbFree(db, pArg);
129740 …API void *SQLITE_STDCALL sqlite3_trace(sqlite3 *db, void (*xTrace)(void*,const char*), void *pArg){
129752 db->pTraceArg = pArg;
129767 void *pArg
129780 db->pProfileArg = pArg;
129794 void *pArg /* Argument to the function */
129807 db->pCommitArg = pArg;
129819 void *pArg /* Argument to the function */
129832 db->pUpdateArg = pArg;
129844 void *pArg /* Argument to the function */
129857 db->pRollbackArg = pArg;
129919 void *pArg /* First argument passed to xCallback() */
129932 db->pWalArg = pArg;
130914 void *pArg = sqlite3GlobalConfig.pSqllogArg;
130915 sqlite3GlobalConfig.xSqllog(pArg, db, zFilename, 0);
131312 …_API int SQLITE_STDCALL sqlite3_file_control(sqlite3 *db, const char *zDbName, int op, void *pArg){
131330 *(sqlite3_file**)pArg = fd;
131333 rc = sqlite3OsFileControl(fd, op, pArg);
131923 void *pArg
131941 xNotify(&pArg, 1);
131951 db->pUnlockArg = pArg;