Lines Matching refs:pArg
1046 int (*xFileControl)(sqlite3_file*, int op, void *pArg);
6498 void *pArg; /* First arg to busy callback */ member
10601 SQLITE_PRIVATE int sqlite3OsFileControl(sqlite3_file *id, int op, void *pArg){ in sqlite3OsFileControl() argument
10602 return id->pMethods->xFileControl(id,op,pArg); in sqlite3OsFileControl()
11062 void(*xCallback)(void *pArg, sqlite3_int64 used,int N), in sqlite3_memory_alarm() argument
11063 void *pArg, in sqlite3_memory_alarm()
11068 mem.alarmArg = pArg; in sqlite3_memory_alarm()
11080 void *pArg; in sqlite3MemsysAlarm() local
11085 pArg = mem.alarmArg; in sqlite3MemsysAlarm()
11087 xCallback(pArg, nowUsed, nByte); in sqlite3MemsysAlarm()
11374 void(*xCallback)(void *pArg, sqlite3_int64 used, int N), in sqlite3_memory_alarm() argument
11375 void *pArg, in sqlite3_memory_alarm()
11380 mem.alarmArg = pArg; in sqlite3_memory_alarm()
11392 void *pArg; in sqlite3MemsysAlarm() local
11397 pArg = mem.alarmArg; in sqlite3MemsysAlarm()
11399 xCallback(pArg, nowUsed, nByte); in sqlite3MemsysAlarm()
11946 void(*xCallback)(void *pArg, sqlite3_int64 used,int N), in sqlite3_memory_alarm() argument
11947 void *pArg, in sqlite3_memory_alarm()
12575 void *pArg; in memsys5Alarm() local
12580 pArg = mem.alarmArg; in memsys5Alarm()
12582 xCallback(pArg, nowUsed, nByte); in memsys5Alarm()
12596 void(*xCallback)(void *pArg, sqlite3_int64 used,int N), in sqlite3_memory_alarm() argument
12597 void *pArg, in sqlite3_memory_alarm()
12602 mem.alarmArg = pArg; in sqlite3_memory_alarm()
18196 static int os2FileControl(sqlite3_file *id, int op, void *pArg){ in os2FileControl() argument
18199 *(int*)pArg = ((os2File*)id)->locktype; in os2FileControl()
19350 static void *threadLockingTest(void *pArg){ in threadLockingTest() argument
19351 struct threadTestData *pData = (struct threadTestData*)pArg; in threadLockingTest()
19353 return pArg; in threadLockingTest()
20901 static int unixFileControl(sqlite3_file *id, int op, void *pArg){ in unixFileControl() argument
20904 *(int*)pArg = ((unixFile*)id)->locktype; in unixFileControl()
22790 static int winFileControl(sqlite3_file *id, int op, void *pArg){ in winFileControl() argument
22793 *(int*)pArg = ((winFile*)id)->locktype; in winFileControl()
31156 static int sqlite3BtreeInvokeBusyHandler(void *pArg, int n){ in sqlite3BtreeInvokeBusyHandler() argument
31157 BtShared *pBt = (BtShared*)pArg; in sqlite3BtreeInvokeBusyHandler()
31277 pBt->busyHdr.pArg = pBt; in sqlite3BtreeOpen()
43397 Mem *pArg; in sqlite3VdbeExec() local
43407 pArg = &p->aMem[pOp->p2]; in sqlite3VdbeExec()
43408 for(i=0; i<n; i++, pArg++){ in sqlite3VdbeExec()
43409 apVal[i] = pArg; in sqlite3VdbeExec()
43410 storeTypeInfo(pArg, encoding); in sqlite3VdbeExec()
43411 REGISTER_TRACE(pOp->p2, pArg); in sqlite3VdbeExec()
48522 static int walkExprTree(Expr *pExpr, int (*xFunc)(void*,Expr*), void *pArg){ in walkExprTree() argument
48525 rc = (*xFunc)(pArg, pExpr); in walkExprTree()
48527 if( walkExprTree(pExpr->pLeft, xFunc, pArg) ) return 1; in walkExprTree()
48528 if( walkExprTree(pExpr->pRight, xFunc, pArg) ) return 1; in walkExprTree()
48529 if( walkExprList(pExpr->pList, xFunc, pArg) ) return 1; in walkExprTree()
48537 static int walkExprList(ExprList *p, int (*xFunc)(void *, Expr*), void *pArg){ in walkExprList() argument
48542 if( walkExprTree(pItem->pExpr, xFunc, pArg) ) return 1; in walkExprList()
48552 static int walkSelectExpr(Select *p, int (*xFunc)(void *, Expr*), void *pArg){ in walkSelectExpr() argument
48553 walkExprList(p->pEList, xFunc, pArg); in walkSelectExpr()
48554 walkExprTree(p->pWhere, xFunc, pArg); in walkSelectExpr()
48555 walkExprList(p->pGroupBy, xFunc, pArg); in walkSelectExpr()
48556 walkExprTree(p->pHaving, xFunc, pArg); in walkSelectExpr()
48557 walkExprList(p->pOrderBy, xFunc, pArg); in walkSelectExpr()
48559 walkSelectExpr(p->pPrior, xFunc, pArg); in walkSelectExpr()
48578 static int exprNodeIsConstant(void *pArg, Expr *pExpr){ in exprNodeIsConstant() argument
48579 int *pN = (int*)pArg; in exprNodeIsConstant()
49028 static int nameResolverStep(void *pArg, Expr *pExpr){ in nameResolverStep() argument
49029 NameContext *pNC = (NameContext*)pArg; in nameResolverStep()
50490 static int evalConstExpr(void *pArg, Expr *pExpr){ in evalConstExpr() argument
50491 Parse *pParse = (Parse*)pArg; in evalConstExpr()
50939 static int analyzeAggregate(void *pArg, Expr *pExpr){ in analyzeAggregate() argument
50941 NameContext *pNC = (NameContext *)pArg; in analyzeAggregate()
52810 void *pArg in sqlite3_set_authorizer() argument
52814 db->pAuthArg = pArg; in sqlite3_set_authorizer()
58502 Mem *pArg = (Mem *)argv[0]; in minmaxStep() local
58522 cmp = sqlite3MemCompare(pBest, pArg, pColl); in minmaxStep()
58524 sqlite3VdbeMemCopy(pBest, pArg); in minmaxStep()
58527 sqlite3VdbeMemCopy(pBest, pArg); in minmaxStep()
58738 void *pArg; in sqlite3RegisterBuiltinFunctions() local
58740 pArg = (void*)(int)argType; in sqlite3RegisterBuiltinFunctions()
58742 aFuncs[i].eTextRep, pArg, aFuncs[i].xFunc, 0, 0); in sqlite3RegisterBuiltinFunctions()
58758 void *pArg = (void*)(int)aAggs[i].argType; in sqlite3RegisterBuiltinFunctions() local
58760 pArg, 0, aAggs[i].xStep, aAggs[i].xFinalize); in sqlite3RegisterBuiltinFunctions()
60561 void *pArg, /* First argument to xCallback() */ in sqlite3_exec() argument
60627 if( xCallback(pArg, nCol, azVals, azCols) ){ in sqlite3_exec()
67455 static int sqlite3_get_table_cb(void *pArg, int nCol, char **argv, char **colv){ in sqlite3_get_table_cb() argument
67456 TabResult *p = (TabResult*)pArg; in sqlite3_get_table_cb()
69744 Token *pArg = &pParse->sArg; in sqlite3VtabArgExtend() local
69745 if( pArg->z==0 ){ in sqlite3VtabArgExtend()
69746 pArg->z = p->z; in sqlite3VtabArgExtend()
69747 pArg->n = p->n; in sqlite3VtabArgExtend()
69749 assert(pArg->z < p->z); in sqlite3VtabArgExtend()
69750 pArg->n = (p->z + p->n - pArg->z); in sqlite3VtabArgExtend()
70178 void *pArg; in sqlite3VtabOverloadFunction() local
70205 rc = pMod->xFindFunction(pVtab, nArg, zLowerName, &xFunc, &pArg); in sqlite3VtabOverloadFunction()
70221 pNew->pUserData = pArg; in sqlite3VtabOverloadFunction()
77664 rc = p->xFunc(p->pArg, p->nBusy); in sqlite3InvokeBusyHandler()
77680 void *pArg in sqlite3_busy_handler() argument
77684 db->busyHandler.pArg = pArg; in sqlite3_busy_handler()
77700 void *pArg in sqlite3_progress_handler() argument
77707 db->pProgressArg = pArg; in sqlite3_progress_handler()
77915 SQLITE_API void *sqlite3_trace(sqlite3 *db, void (*xTrace)(void*,const char*), void *pArg){ in sqlite3_trace() argument
77920 db->pTraceArg = pArg; in sqlite3_trace()
77935 void *pArg in sqlite3_profile() argument
77941 db->pProfileArg = pArg; in sqlite3_profile()
77956 void *pArg /* Argument to the function */ in sqlite3_commit_hook() argument
77962 db->pCommitArg = pArg; in sqlite3_commit_hook()
77974 void *pArg /* Argument to the function */ in sqlite3_update_hook() argument
77980 db->pUpdateArg = pArg; in sqlite3_update_hook()
77992 void *pArg /* Argument to the function */ in sqlite3_rollback_hook() argument
77998 db->pRollbackArg = pArg; in sqlite3_rollback_hook()
78854 SQLITE_API int sqlite3_file_control(sqlite3 *db, const char *zDbName, int op, void *pArg){ in sqlite3_file_control() argument
78876 rc = sqlite3OsFileControl(fd, op, pArg); in sqlite3_file_control()