Lines Matching refs:pArg
1161 int (*xFileControl)(sqlite3_file*, int op, void *pArg);
1190 ** into an integer that the pArg argument points to.
1404 ** pointed to by the pArg argument. This capability is used during testing
6605 ** ^The fourth argument, pArg, is an application data pointer that is passed
6616 ** ^The collating function callback is invoked with a copy of the pArg
6641 ** with the addition that the xDestroy callback is invoked on pArg when
6662 void *pArg,
6669 void *pArg,
6677 void *pArg,
7065 ** ^The pArg argument is passed through to the callback.
9275 ** method is passed a copy of the sqlite3_pcache_methods2.pArg value.)^
9408 void *pArg;
9430 void *pArg;
11372 SQLITE_API int sqlite3session_object_config(sqlite3_session*, int op, void *pArg);
11384 ** pArg must point to a value of type (int). If the value is initially
13088 ** pointed to by pArg is set to the final value of the streaming interface
13095 SQLITE_API int sqlite3session_config(int op, void *pArg);
18089 ** LIKEFUNC(zName, nArg, pArg, flags)
18092 ** function likeFunc. Argument pArg is cast to a (void *) and made
18135 #define STR_FUNCTION(zName, nArg, pArg, bNC, xFunc) \
18138 pArg, 0, xFunc, 0, 0, 0, #zName, }
26166 SQLITE_PRIVATE int sqlite3OsFileControl(sqlite3_file *id, int op, void *pArg){
26192 return id->pMethods->xFileControl(id, op, pArg);
26194 SQLITE_PRIVATE void sqlite3OsFileControlHint(sqlite3_file *id, int op, void *pArg){
26195 if( id->pMethods ) (void)id->pMethods->xFileControl(id, op, pArg);
30288 void(*xCallback)(void *pArg, sqlite3_int64 used,int N),
30289 void *pArg,
30293 (void)pArg;
34187 void *pArg /* IN: Pointer to the SQLiteThread structure */
34189 SQLiteThread *p = (SQLiteThread *)pArg;
37452 static int kvvfsFileControlDb(sqlite3_file*, int op, void *pArg);
37453 static int kvvfsFileControlJrnl(sqlite3_file*, int op, void *pArg);
38150 static int kvvfsFileControlJrnl(sqlite3_file *pProtoFile, int op, void *pArg){
38154 static int kvvfsFileControlDb(sqlite3_file *pProtoFile, int op, void *pArg){
42331 ** If *pArg is initially negative then this is a query. Set *pArg to
42334 ** If *pArg is 0 or 1, then clear or set the mask bit of pFile->ctrlFlags.
42336 static void unixModeBit(unixFile *pFile, unsigned char mask, int *pArg){
42337 if( *pArg<0 ){
42338 *pArg = (pFile->ctrlFlags & mask)!=0;
42339 }else if( (*pArg)==0 ){
42355 static int unixFileControl(sqlite3_file *id, int op, void *pArg){
42374 *(int*)pArg = pFile->eFileLock;
42378 *(int*)pArg = pFile->lastErrno;
42382 pFile->szChunk = *(int *)pArg;
42388 rc = fcntlSizeHint(pFile, *(i64 *)pArg);
42393 unixModeBit(pFile, UNIXFILE_PERSIST_WAL, (int*)pArg);
42397 unixModeBit(pFile, UNIXFILE_PSOW, (int*)pArg);
42401 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
42408 *(char**)pArg = zTFile;
42413 *(int*)pArg = fileHasMoved(pFile);
42420 pFile->iBusyTimeout = *(int*)pArg;
42422 pFile->iBusyTimeout = !!(*(int*)pArg);
42426 *(int*)pArg = iOld;
42432 i64 newLimit = *(i64*)pArg;
42445 *(i64*)pArg = pFile->mmapSizeMax;
42470 return proxyFileControl(id,op,pArg);
42476 return unixFcntlExternalReader((unixFile*)id, (int*)pArg);
42478 *(int*)pArg = 0;
46296 static int proxyFileControl(sqlite3_file *id, int op, void *pArg){
46304 *(const char **)pArg = pCtx->lockProxyPath;
46306 *(const char **)pArg = ":auto: (not held)";
46309 *(const char **)pArg = NULL;
46317 if( pArg==NULL || (const char *)pArg==0 ){
46329 const char *proxyPath = (const char *)pArg;
46333 if( !strcmp(pArg, ":auto:")
50145 ** If *pArg is initially negative then this is a query. Set *pArg to
50148 ** If *pArg is 0 or 1, then clear or set the mask bit of pFile->ctrlFlags.
50150 static void winModeBit(winFile *pFile, unsigned char mask, int *pArg){
50151 if( *pArg<0 ){
50152 *pArg = (pFile->ctrlFlags & mask)!=0;
50153 }else if( (*pArg)==0 ){
50169 static int winFileControl(sqlite3_file *id, int op, void *pArg){
50171 OSTRACE(("FCNTL file=%p, op=%d, pArg=%p\n", pFile->h, op, pArg));
50174 *(int*)pArg = pFile->locktype;
50179 *(int*)pArg = (int)pFile->lastErrno;
50184 pFile->szChunk = *(int *)pArg;
50193 sqlite3_int64 newSz = *(sqlite3_int64*)pArg;
50207 winModeBit(pFile, WINFILE_PERSIST_WAL, (int*)pArg);
50212 winModeBit(pFile, WINFILE_PSOW, (int*)pArg);
50217 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
50222 int *a = (int*)pArg;
50237 LPHANDLE phFile = (LPHANDLE)pArg;
50244 LPHANDLE phFile = (LPHANDLE)pArg;
50257 *(char**)pArg = zTFile;
50264 i64 newLimit = *(i64*)pArg;
50277 *(i64*)pArg = pFile->mmapSizeMax;
52979 static int memdbFileControl(sqlite3_file*, int op, void *pArg);
53329 static int memdbFileControl(sqlite3_file *pFile, int op, void *pArg){
53334 *(char**)pArg = sqlite3_mprintf("memdb(%p,%lld)", p->aData, p->sz);
53338 sqlite3_int64 iLimit = *(sqlite3_int64*)pArg;
53347 *(sqlite3_int64*)pArg = iLimit;
54525 return sqlite3GlobalConfig.pcache2.xInit(sqlite3GlobalConfig.pcache2.pArg);
54530 sqlite3GlobalConfig.pcache2.xShutdown(sqlite3GlobalConfig.pcache2.pArg);
56353 0, /* pArg */
56591 SQLITE_PRIVATE void sqlite3RowSetClear(void *pArg){
56592 RowSet *p = (RowSet*)pArg;
56611 SQLITE_PRIVATE void sqlite3RowSetDelete(void *pArg){
56612 sqlite3RowSetClear(pArg);
56613 sqlite3DbFree(((RowSet*)pArg)->db, pArg);
63482 void *pArg = (void*)zSuper;
63483 rc = sqlite3OsFileControl(pPager->fd, SQLITE_FCNTL_SYNC, pArg);
73037 static int btreeInvokeBusyHandler(void *pArg){
73038 BtShared *pBt = (BtShared*)pArg;
87061 SQLITE_PRIVATE void sqlite3VdbeFrameMemDel(void *pArg){
87062 VdbeFrame *pFrame = (VdbeFrame*)pArg;
113356 Expr *pArg = pFarg->a[0].pExpr;
113357 if( pArg->op==TK_COLUMN && pArg->iTable>=0 ){
113358 sqlite3VdbeAddOp3(v, OP_Offset, pArg->iTable, pArg->iColumn, target);
121169 void *pArg
121176 db->pAuthArg = pArg;
122783 static void sqlite3DeleteReturning(sqlite3 *db, void *pArg){
122784 Returning *pRet = (Returning*)pArg;
130642 Mem *pArg = (Mem *)argv[0];
130649 if( sqlite3_value_type(pArg)==SQLITE_NULL ){
130664 cmp = sqlite3MemCompare(pBest, pArg, pColl);
130666 sqlite3VdbeMemCopy(pBest, pArg);
130672 sqlite3VdbeMemCopy(pBest, pArg);
136295 ** the xCallback() function is called. pArg becomes the first
136303 void *pArg, /* First argument to xCallback() */
136367 if( xCallback(pArg, nCol, azVals, azCols) ){
149993 static void agginfoFree(sqlite3 *db, void *pArg){
149994 AggInfo *p = (AggInfo*)pArg;
151553 static int sqlite3_get_table_cb(void *pArg, int nCol, char **argv, char **colv){
151554 TabResult *p = (TabResult*)pArg; /* Result accumulator */
155933 Token *pArg = &pParse->sArg;
155934 if( pArg->z==0 ){
155935 pArg->z = p->z;
155936 pArg->n = p->n;
155938 assert(pArg->z <= p->z);
155939 pArg->n = (int)(&p->z[p->n] - pArg->z);
156551 void *pArg = 0;
156584 rc = pMod->xFindFunction(pVtab, nArg, pDef->zName, &xSFunc, &pArg);
156600 pNew->pUserData = pArg;
165825 void *pArg = (void*)&pParse->pIdxPartExpr;
165826 sqlite3ParserAddCleanup(pParse, whereIndexedExprCleanup, pArg);
168228 void *pArg = (void*)&pParse->pIdxEpr;
168229 sqlite3ParserAddCleanup(pParse, whereIndexedExprCleanup, pArg);
181551 void *pArg
181558 db->busyHandler.pBusyArg = pArg;
181575 void *pArg
181587 db->pProgressArg = pArg;
181801 FuncDestructor *pArg = 0;
181810 pArg = (FuncDestructor *)sqlite3Malloc(sizeof(FuncDestructor));
181811 if( !pArg ){
181816 pArg->nRef = 0;
181817 pArg->xDestroy = xDestroy;
181818 pArg->pUserData = p;
181821 xSFunc, xStep, xFinal, xValue, xInverse, pArg
181823 if( pArg && pArg->nRef==0 ){
181826 sqlite3_free(pArg);
181969 ** Register a trace function. The pArg from the previously registered trace
181977 SQLITE_API void *sqlite3_trace(sqlite3 *db, void(*xTrace)(void*,const char*), void *pArg){
181990 db->pTraceArg = pArg;
182002 void *pArg /* Context */
182014 db->pTraceArg = pArg;
182021 ** Register a profile function. The pArg from the previously registered
182031 void *pArg
182044 db->pProfileArg = pArg;
182061 void *pArg /* Argument to the function */
182074 db->pCommitArg = pArg;
182086 void *pArg /* Argument to the function */
182099 db->pUpdateArg = pArg;
182111 void *pArg /* Argument to the function */
182124 db->pRollbackArg = pArg;
182138 void *pArg /* First callback argument */
182150 db->pPreUpdateArg = pArg;
182163 void *pArg, /* Argument to the function */
182164 void (*xDestructor)(void*) /* Destructor for pArg */
182168 if( xDestructor ) xDestructor(pArg);
182177 db->pAutovacPagesArg = pArg;
182241 void *pArg /* First argument passed to xCallback() */
182254 db->pWalArg = pArg;
183353 void *pArg = sqlite3GlobalConfig.pSqllogArg;
183354 sqlite3GlobalConfig.xSqllog(pArg, db, zFilename, 0);
183829 SQLITE_API int sqlite3_file_control(sqlite3 *db, const char *zDbName, int op, void *pArg){
183847 *(sqlite3_file**)pArg = fd;
183850 *(sqlite3_vfs**)pArg = sqlite3PagerVfs(pPager);
183853 *(sqlite3_file**)pArg = sqlite3PagerJrnlFile(pPager);
183856 *(unsigned int*)pArg = sqlite3PagerDataVersion(pPager);
183859 int iNew = *(int*)pArg;
183860 *(int*)pArg = sqlite3BtreeGetRequestedReserve(pBtree);
183870 rc = sqlite3OsFileControl(fd, op, pArg);
185019 void *pArg
185040 xNotify(&pArg, 1);
185050 db->pUnlockArg = pArg;
205267 ** Search for a cached translation the json text supplied by pArg. Return
205279 sqlite3_value *pArg /* Function argument containing SQL text */
205286 if( sqlite3_value_type(pArg)!=SQLITE_TEXT ){
205289 zJson = (const char*)sqlite3_value_text(pArg);
205291 nJson = sqlite3_value_bytes(pArg);
208032 ** pArg is a function argument that might be an SQL value or a JSON
208042 ** or a value obtained from sqlite3_value_blob(pArg).
208050 sqlite3_value *pArg,
208053 int eType = sqlite3_value_type(pArg);
208064 if( jsonFuncArgMightBeBinary(pArg) ){
208065 pParse->aBlob = (u8*)sqlite3_value_blob(pArg);
208066 pParse->nBlob = sqlite3_value_bytes(pArg);
208074 const char *zJson = (const char*)sqlite3_value_text(pArg);
208075 int nJson = sqlite3_value_bytes(pArg);
208077 if( sqlite3_value_subtype(pArg)==JSON_SUBTYPE ){
208092 double r = sqlite3_value_double(pArg);
208096 int n = sqlite3_value_bytes(pArg);
208097 const char *z = (const char*)sqlite3_value_text(pArg);
208110 int n = sqlite3_value_bytes(pArg);
208111 const char *z = (const char*)sqlite3_value_text(pArg);
208216 ** If pArg is a blob that seems like a JSONB blob, then initialize
208217 ** p to point to that JSONB and return TRUE. If pArg does not seem like
208220 ** This routine is only called if it is already known that pArg is a
208224 static int jsonArgIsJsonb(sqlite3_value *pArg, JsonParse *p){
208226 p->aBlob = (u8*)sqlite3_value_blob(pArg);
208227 p->nBlob = (u32)sqlite3_value_bytes(pArg);
208249 ** from the SQL function argument pArg. Return a pointer to the new
208258 ** returns NULL. This routine also returns NULL if the pArg argument
208265 sqlite3_value *pArg,
208268 int eType; /* Datatype of pArg */
208274 eType = sqlite3_value_type(pArg);
208278 pFromCache = jsonCacheSearch(ctx, pArg);
208303 if( jsonArgIsJsonb(pArg,p) ){
208322 p->zJson = (char*)sqlite3_value_text(pArg);
208323 p->nJson = sqlite3_value_bytes(pArg);
208336 int isRCStr = sqlite3ValueIsOfClass(pArg, sqlite3RCStrUnref);
216499 static void rtreeMatchArgFree(void *pArg){
216501 RtreeMatchArg *p = (RtreeMatchArg*)pArg;
218130 ** argument (pArg) passed to this function. The second is the full path
218142 void *pArg,
218143 int (*xRename)(void *pArg, const char *zOld, const char *zNew)
222517 static int xDefaultRename(void *pArg, const char *zOld, const char *zNew){
222550 void *pArg,
222551 int (*xRename)(void *pArg, const char *zOld, const char *zNew)
222555 pRbu->pRenameArg = pArg;
222969 static int rbuVfsFileControl(sqlite3_file *pFile, int op, void *pArg){
222978 sqlite3rbu *pRbu = (sqlite3rbu*)pArg;
222983 rc = xControl(p->pReal, op, pArg);
223004 sqlite3rbu *pRbu = (sqlite3rbu*)pArg;
223010 rc = xControl(p->pReal, op, pArg);
223013 char *zIn = *(char**)pArg;
223015 *(char**)pArg = zOut;
223377 void *pArg,
223381 return pRealVfs->xDlSym(pRealVfs, pArg, zSym);
228086 SQLITE_API int sqlite3session_object_config(sqlite3_session *pSession, int op, void *pArg){
228090 int iArg = *(int*)pArg;
228098 *(int*)pArg = pSession->bEnableSize;
228103 int iArg = *(int*)pArg;
228111 *(int*)pArg = pSession->bImplicitPK;
231388 SQLITE_API int sqlite3session_config(int op, void *pArg){
231392 int *pInt = (int*)pArg;