Home | History | Annotate | Download | only in dist

Lines Matching defs:pArg

1186   int (*xFileControl)(sqlite3_file*, int op, void *pArg);
1215 ** into an integer that the pArg argument points to.
1429 ** pointed to by the pArg argument. This capability is used during testing
6982 ** ^The fourth argument, pArg, is an application data pointer that is passed
6993 ** ^The collating function callback is invoked with a copy of the pArg
7018 ** with the addition that the xDestroy callback is invoked on pArg when
7039 void *pArg,
7046 void *pArg,
7054 void *pArg,
7442 ** ^The pArg argument is passed through to the callback.
9691 ** method is passed a copy of the sqlite3_pcache_methods2.pArg value.)^
9824 void *pArg;
9846 void *pArg;
11899 SQLITE_API int sqlite3session_object_config(sqlite3_session*, int op, void *pArg);
11911 ** pArg must point to a value of type (int). If the value is initially
13650 ** pointed to by pArg is set to the final value of the streaming interface
13657 SQLITE_API int sqlite3session_config(int op, void *pArg);
13671 SQLITE_API int sqlite3changegroup_config(sqlite3_changegroup*, int, void *pArg);
13687 ** When this option is invoked, parameter pArg must point to a value of
19145 ** LIKEFUNC(zName, nArg, pArg, flags)
19148 ** function likeFunc. Argument pArg is cast to a (void *) and made
19191 #define STR_FUNCTION(zName, nArg, pArg, bNC, xFunc) \
19194 pArg, 0, xFunc, 0, 0, 0, #zName, {0} }
27418 SQLITE_PRIVATE int sqlite3OsFileControl(sqlite3_file *id, int op, void *pArg){
27444 return id->pMethods->xFileControl(id, op, pArg);
27446 SQLITE_PRIVATE void sqlite3OsFileControlHint(sqlite3_file *id, int op, void *pArg){
27447 if( id->pMethods ) (void)id->pMethods->xFileControl(id, op, pArg);
31548 void(*xCallback)(void *pArg, sqlite3_int64 used,int N),
31549 void *pArg,
31553 (void)pArg;
35608 void *pArg /* IN: Pointer to the SQLiteThread structure */
35610 SQLiteThread *p = (SQLiteThread *)pArg;
39180 static int kvvfsFileControlDb(sqlite3_file*, int op, void *pArg);
39181 static int kvvfsFileControlJrnl(sqlite3_file*, int op, void *pArg);
39932 static int kvvfsFileControlJrnl(sqlite3_file *pProtoFile, int op, void *pArg){
39936 static int kvvfsFileControlDb(sqlite3_file *pProtoFile, int op, void *pArg){
44277 ** If *pArg is initially negative then this is a query. Set *pArg to
44280 ** If *pArg is 0 or 1, then clear or set the mask bit of pFile->ctrlFlags.
44282 static void unixModeBit(unixFile *pFile, unsigned char mask, int *pArg){
44283 if( *pArg<0 ){
44284 *pArg = (pFile->ctrlFlags & mask)!=0;
44285 }else if( (*pArg)==0 ){
44305 static int unixFileControl(sqlite3_file *id, int op, void *pArg){
44329 *(int*)pArg = pFile->eFileLock;
44333 *(int*)pArg = pFile->lastErrno;
44337 pFile->szChunk = *(int *)pArg;
44343 rc = fcntlSizeHint(pFile, *(i64 *)pArg);
44348 unixModeBit(pFile, UNIXFILE_PERSIST_WAL, (int*)pArg);
44352 unixModeBit(pFile, UNIXFILE_PSOW, (int*)pArg);
44356 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
44363 *(char**)pArg = zTFile;
44368 *(int*)pArg = fileHasMoved(pFile);
44374 int iNew = *(int*)pArg;
44378 pFile->iBusyTimeout = !!(*(int*)pArg);
44382 *(int*)pArg = iOld;
44386 int iNew = *(int*)pArg;
44393 i64 newLimit = *(i64*)pArg;
44406 *(i64*)pArg = pFile->mmapSizeMax;
44431 return proxyFileControl(id,op,pArg);
44437 return unixFcntlExternalReader((unixFile*)id, (int*)pArg);
44439 *(int*)pArg = 0;
44446 sqlite3_str *pStr = (sqlite3_str*)pArg;
48395 static int proxyFileControl(sqlite3_file *id, int op, void *pArg){
48403 *(const char **)pArg = pCtx->lockProxyPath;
48405 *(const char **)pArg = ":auto: (not held)";
48408 *(const char **)pArg = NULL;
48416 if( pArg==NULL || (const char *)pArg==0 ){
48428 const char *proxyPath = (const char *)pArg;
48432 if( !strcmp(pArg, ":auto:")
52344 ** If *pArg is initially negative then this is a query. Set *pArg to
52347 ** If *pArg is 0 or 1, then clear or set the mask bit of pFile->ctrlFlags.
52349 static void winModeBit(winFile *pFile, unsigned char mask, int *pArg){
52350 if( *pArg<0 ){
52351 *pArg = (pFile->ctrlFlags & mask)!=0;
52352 }else if( (*pArg)==0 ){
52368 static int winFileControl(sqlite3_file *id, int op, void *pArg){
52370 OSTRACE(("FCNTL file=%p, op=%d, pArg=%p\n", pFile->h, op, pArg));
52373 *(int*)pArg = pFile->locktype;
52378 *(int*)pArg = (int)pFile->lastErrno;
52383 pFile->szChunk = *(int *)pArg;
52392 sqlite3_int64 newSz = *(sqlite3_int64*)pArg;
52406 winModeBit(pFile, WINFILE_PERSIST_WAL, (int*)pArg);
52411 winModeBit(pFile, WINFILE_PSOW, (int*)pArg);
52416 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
52421 int *a = (int*)pArg;
52436 LPHANDLE phFile = (LPHANDLE)pArg;
52443 LPHANDLE phFile = (LPHANDLE)pArg;
52461 *(char**)pArg = zTFile;
52468 i64 newLimit = *(i64*)pArg;
52481 *(i64*)pArg = pFile->mmapSizeMax;
52497 int iNew = *(int*)pArg;
52505 *(int*)pArg = iOld;
52509 int iNew = *(int*)pArg;
52517 sqlite3_str *pStr = (sqlite3_str*)pArg;
55372 static int memdbFileControl(sqlite3_file*, int op, void *pArg);
55722 static int memdbFileControl(sqlite3_file *pFile, int op, void *pArg){
55727 *(char**)pArg = sqlite3_mprintf("memdb(%p,%lld)", p->aData, p->sz);
55731 sqlite3_int64 iLimit = *(sqlite3_int64*)pArg;
55740 *(sqlite3_int64*)pArg = iLimit;
57002 return sqlite3GlobalConfig.pcache2.xInit(sqlite3GlobalConfig.pcache2.pArg);
57007 sqlite3GlobalConfig.pcache2.xShutdown(sqlite3GlobalConfig.pcache2.pArg);
58829 0, /* pArg */
59067 SQLITE_PRIVATE void sqlite3RowSetClear(void *pArg){
59068 RowSet *p = (RowSet*)pArg;
59087 SQLITE_PRIVATE void sqlite3RowSetDelete(void *pArg){
59088 sqlite3RowSetClear(pArg);
59089 sqlite3DbFree(((RowSet*)pArg)->db, pArg);
65986 void *pArg = (void*)zSuper;
65987 rc = sqlite3OsFileControl(pPager->fd, SQLITE_FCNTL_SYNC, pArg);
75619 static int btreeInvokeBusyHandler(void *pArg){
75620 BtShared *pBt = (BtShared*)pArg;
89967 SQLITE_PRIVATE void sqlite3VdbeFrameMemDel(void *pArg){
89968 VdbeFrame *pFrame = (VdbeFrame*)pArg;
117255 Expr *pArg = pFarg->a[0].pExpr;
117256 if( pArg->op==TK_COLUMN && pArg->iTable>=0 ){
117257 sqlite3VdbeAddOp3(v, OP_Offset, pArg->iTable, pArg->iColumn, target);
126122 void *pArg
126129 db->pAuthArg = pArg;
127726 static void sqlite3DeleteReturning(sqlite3 *db, void *pArg){
127727 Returning *pRet = (Returning*)pArg;
135805 Mem *pArg = (Mem *)argv[0];
135812 if( sqlite3_value_type(pArg)==SQLITE_NULL ){
135827 cmp = sqlite3MemCompare(pBest, pArg, pColl);
135829 sqlite3VdbeMemCopy(pBest, pArg);
135835 sqlite3VdbeMemCopy(pBest, pArg);
142082 ** the xCallback() function is called. pArg becomes the first
142090 void *pArg, /* First argument to xCallback() */
142154 if( xCallback(pArg, nCol, azVals, azCols) ){
155860 static void agginfoFree(sqlite3 *db, void *pArg){
155861 AggInfo *p = (AggInfo*)pArg;
157768 static int sqlite3_get_table_cb(void *pArg, int nCol, char **argv, char **colv){
157769 TabResult *p = (TabResult*)pArg; /* Result accumulator */
162162 Token *pArg = &pParse->sArg;
162163 if( pArg->z==0 ){
162164 pArg->z = p->z;
162165 pArg->n = p->n;
162167 assert(pArg->z <= p->z);
162168 pArg->n = (int)(&p->z[p->n] - pArg->z);
162783 void *pArg = 0;
162816 rc = pMod->xFindFunction(pVtab, nArg, pDef->zName, &xSFunc, &pArg);
162832 pNew->pUserData = pArg;
172525 void *pArg = (void*)&pParse->pIdxPartExpr;
172526 sqlite3ParserAddCleanup(pParse, whereIndexedExprCleanup, pArg);
175282 void *pArg = (void*)&pParse->pIdxEpr;
175283 sqlite3ParserAddCleanup(pParse, whereIndexedExprCleanup, pArg);
188891 void *pArg
188898 db->busyHandler.pBusyArg = pArg;
188918 void *pArg
188930 db->pProgressArg = pArg;
189182 FuncDestructor *pArg = 0;
189191 pArg = (FuncDestructor *)sqlite3Malloc(sizeof(FuncDestructor));
189192 if( !pArg ){
189197 pArg->nRef = 0;
189198 pArg->xDestroy = xDestroy;
189199 pArg->pUserData = p;
189202 xSFunc, xStep, xFinal, xValue, xInverse, pArg
189204 if( pArg && pArg->nRef==0 ){
189207 sqlite3_free(pArg);
189350 ** Register a trace function. The pArg from the previously registered trace
189358 SQLITE_API void *sqlite3_trace(sqlite3 *db, void(*xTrace)(void*,const char*), void *pArg){
189371 db->pTraceArg = pArg;
189383 void *pArg /* Context */
189395 db->pTraceArg = pArg;
189402 ** Register a profile function. The pArg from the previously registered
189412 void *pArg
189425 db->pProfileArg = pArg;
189442 void *pArg /* Argument to the function */
189455 db->pCommitArg = pArg;
189467 void *pArg /* Argument to the function */
189480 db->pUpdateArg = pArg;
189492 void *pArg /* Argument to the function */
189505 db->pRollbackArg = pArg;
189519 void *pArg /* First callback argument */
189531 db->pPreUpdateArg = pArg;
189544 void *pArg, /* Argument to the function */
189545 void (*xDestructor)(void*) /* Destructor for pArg */
189549 if( xDestructor ) xDestructor(pArg);
189558 db->pAutovacPagesArg = pArg;
189622 void *pArg /* First argument passed to xCallback() */
189635 db->pWalArg = pArg;
189641 UNUSED_PARAMETER(pArg);
190776 void *pArg = sqlite3GlobalConfig.pSqllogArg;
190777 sqlite3GlobalConfig.xSqllog(pArg, db, zFilename, 0);
191255 SQLITE_API int sqlite3_file_control(sqlite3 *db, const char *zDbName, int op, void *pArg){
191273 *(sqlite3_file**)pArg = fd;
191276 *(sqlite3_vfs**)pArg = sqlite3PagerVfs(pPager);
191279 *(sqlite3_file**)pArg = sqlite3PagerJrnlFile(pPager);
191282 *(unsigned int*)pArg = sqlite3PagerDataVersion(pPager);
191285 int iNew = *(int*)pArg;
191286 *(int*)pArg = sqlite3BtreeGetRequestedReserve(pBtree);
191296 rc = sqlite3OsFileControl(fd, op, pArg);
192456 void *pArg
192477 xNotify(&pArg, 1);
192487 db->pUnlockArg = pArg;
212879 ** Search for a cached translation the json text supplied by pArg. Return
212891 sqlite3_value *pArg /* Function argument containing SQL text */
212898 if( sqlite3_value_type(pArg)!=SQLITE_TEXT ){
212901 zJson = (const char*)sqlite3_value_text(pArg);
212903 nJson = sqlite3_value_bytes(pArg);
215801 ** pArg is a function argument that might be an SQL value or a JSON
215811 ** or a value obtained from sqlite3_value_blob(pArg).
215819 sqlite3_value *pArg,
215822 int eType = sqlite3_value_type(pArg);
215833 if( !jsonArgIsJsonb(pArg, pParse) ){
215840 const char *zJson = (const char*)sqlite3_value_text(pArg);
215841 int nJson = sqlite3_value_bytes(pArg);
215843 if( sqlite3_value_subtype(pArg)==JSON_SUBTYPE ){
215858 double r = sqlite3_value_double(pArg);
215862 int n = sqlite3_value_bytes(pArg);
215863 const char *z = (const char*)sqlite3_value_text(pArg);
215876 int n = sqlite3_value_bytes(pArg);
215877 const char *z = (const char*)sqlite3_value_text(pArg);
215998 ** If pArg is a blob that seems like a JSONB blob, then initialize
215999 ** p to point to that JSONB and return TRUE. If pArg does not seem like
216025 static int jsonArgIsJsonb(sqlite3_value *pArg, JsonParse *p){
216028 if( sqlite3_value_type(pArg)!=SQLITE_BLOB ) return 0;
216029 p->aBlob = (u8*)sqlite3_value_blob(pArg);
216030 p->nBlob = (u32)sqlite3_value_bytes(pArg);
216050 ** from the SQL function argument pArg. Return a pointer to the new
216059 ** returns NULL. This routine also returns NULL if the pArg argument
216066 sqlite3_value *pArg,
216069 int eType; /* Datatype of pArg */
216075 eType = sqlite3_value_type(pArg);
216079 pFromCache = jsonCacheSearch(ctx, pArg);
216104 if( jsonArgIsJsonb(pArg,p) ){
216123 p->zJson = (char*)sqlite3_value_text(pArg);
216124 p->nJson = sqlite3_value_bytes(pArg);
216137 int isRCStr = sqlite3ValueIsOfClass(pArg, sqlite3RCStrUnref);
224296 static void rtreeMatchArgFree(void *pArg){
224298 RtreeMatchArg *p = (RtreeMatchArg*)pArg;
225926 ** argument (pArg) passed to this function. The second is the full path
225938 void *pArg,
225939 int (*xRename)(void *pArg, const char *zOld, const char *zNew)
230338 static int xDefaultRename(void *pArg, const char *zOld, const char *zNew){
230340 UNUSED_PARAMETER(pArg);
230372 void *pArg,
230373 int (*xRename)(void *pArg, const char *zOld, const char *zNew)
230377 pRbu->pRenameArg = pArg;
230791 static int rbuVfsFileControl(sqlite3_file *pFile, int op, void *pArg){
230800 sqlite3rbu *pRbu = (sqlite3rbu*)pArg;
230805 rc = xControl(p->pReal, op, pArg);
230826 sqlite3rbu *pRbu = (sqlite3rbu*)pArg;
230832 rc = xControl(p->pReal, op, pArg);
230835 char *zIn = *(char**)pArg;
230837 *(char**)pArg = zOut;
231199 void *pArg,
231203 return pRealVfs->xDlSym(pRealVfs, pArg, zSym);
236650 SQLITE_API int sqlite3session_object_config(sqlite3_session *pSession, int op, void *pArg){
236654 int iArg = *(int*)pArg;
236662 *(int*)pArg = pSession->bEnableSize;
236667 int iArg = *(int*)pArg;
236675 *(int*)pArg = pSession->bImplicitPK;
239658 void *pArg
239664 int arg = *(int*)pArg;
239668 *(int*)pArg = pGrp->bPatch;
240207 SQLITE_API int sqlite3session_config(int op, void *pArg){
240211 int *pInt = (int*)pArg;