| /sqlite-3.40.0/src/ |
| H A D | btmutex.c | 27 static void lockBtreeMutex(Btree *p){ in lockBtreeMutex() 41 static void SQLITE_NOINLINE unlockBtreeMutex(Btree *p){ in unlockBtreeMutex() 71 void sqlite3BtreeEnter(Btree *p){ in sqlite3BtreeEnter() 143 void sqlite3BtreeLeave(Btree *p){ in sqlite3BtreeLeave() 161 int sqlite3BtreeHoldsMutex(Btree *p){ in sqlite3BtreeHoldsMutex() 189 Btree *p; in btreeEnterAll() local 205 Btree *p; in btreeLeaveAll() local 229 Btree *p; in sqlite3BtreeHoldsAllMutexes() local 253 Btree *p; in sqlite3SchemaMutexHeld() local 277 void sqlite3BtreeEnter(Btree *p){ in sqlite3BtreeEnter() [all …]
|
| H A D | mutex.c | 69 static int checkMutexHeld(sqlite3_mutex *p){ in checkMutexHeld() 72 static int checkMutexNotheld(sqlite3_mutex *p){ in checkMutexNotheld() 98 CheckMutex *p = 0; in checkMutexAlloc() local 131 static void checkMutexFree(sqlite3_mutex *p){ in checkMutexFree() 170 static int checkMutexTry(sqlite3_mutex *p){ in checkMutexTry() 302 void sqlite3_mutex_free(sqlite3_mutex *p){ in sqlite3_mutex_free() 313 void sqlite3_mutex_enter(sqlite3_mutex *p){ in sqlite3_mutex_enter() 324 int sqlite3_mutex_try(sqlite3_mutex *p){ in sqlite3_mutex_try() 339 void sqlite3_mutex_leave(sqlite3_mutex *p){ in sqlite3_mutex_leave() 351 int sqlite3_mutex_held(sqlite3_mutex *p){ in sqlite3_mutex_held() [all …]
|
| H A D | vdbeaux.c | 27 Vdbe *p; in sqlite3VdbeCreate() local 52 Parse *sqlite3VdbeParser(Vdbe *p){ in sqlite3VdbeParser() 166 Parse *p = v->pParse; in growOpArray() local 577 Parse *p = v->pParse; in sqlite3VdbeResolveLabel() local 1392 Vdbe *p, in vdbeChangeP4Full() 1901 void sqlite3VdbeEnter(Vdbe *p){ in sqlite3VdbeEnter() 1936 void sqlite3VdbeLeave(Vdbe *p){ in sqlite3VdbeLeave() 3026 Vdbe *p; in checkActiveVdbeCnt() local 3150 int sqlite3VdbeHalt(Vdbe *p){ in sqlite3VdbeHalt() 3418 int sqlite3VdbeReset(Vdbe *p){ in sqlite3VdbeReset() [all …]
|
| H A D | test_devsym.c | 88 devsym_file *p = (devsym_file *)pFile; in devsymClose() local 102 devsym_file *p = (devsym_file *)pFile; in devsymRead() local 115 devsym_file *p = (devsym_file *)pFile; in devsymWrite() local 123 devsym_file *p = (devsym_file *)pFile; in devsymTruncate() local 131 devsym_file *p = (devsym_file *)pFile; in devsymSync() local 139 devsym_file *p = (devsym_file *)pFile; in devsymFileSize() local 147 devsym_file *p = (devsym_file *)pFile; in devsymLock() local 155 devsym_file *p = (devsym_file *)pFile; in devsymUnlock() local 163 devsym_file *p = (devsym_file *)pFile; in devsymCheckReservedLock() local 171 devsym_file *p = (devsym_file *)pFile; in devsymFileControl() local [all …]
|
| H A D | test_init.c | 92 static void wrMutexFree(sqlite3_mutex *p){ in wrMutexFree() 95 static void wrMutexEnter(sqlite3_mutex *p){ in wrMutexEnter() 98 static int wrMutexTry(sqlite3_mutex *p){ in wrMutexTry() 101 static void wrMutexLeave(sqlite3_mutex *p){ in wrMutexLeave() 104 static int wrMutexHeld(sqlite3_mutex *p){ in wrMutexHeld() 107 static int wrMutexNotheld(sqlite3_mutex *p){ in wrMutexNotheld() 133 static void wrPCacheCachesize(sqlite3_pcache *p, int n){ in wrPCacheCachesize() 136 static int wrPCachePagecount(sqlite3_pcache *p){ in wrPCachePagecount() 146 sqlite3_pcache *p, in wrPCacheRekey() 153 static void wrPCacheTruncate(sqlite3_pcache *p, unsigned a){ in wrPCacheTruncate() [all …]
|
| H A D | mutex_noop.c | 44 static void noopMutexFree(sqlite3_mutex *p){ UNUSED_PARAMETER(p); return; } in noopMutexFree() 45 static void noopMutexEnter(sqlite3_mutex *p){ UNUSED_PARAMETER(p); return; } in noopMutexEnter() 46 static int noopMutexTry(sqlite3_mutex *p){ in noopMutexTry() 50 static void noopMutexLeave(sqlite3_mutex *p){ UNUSED_PARAMETER(p); return; } in noopMutexLeave() 90 sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX; in debugMutexHeld() local 94 sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX; in debugMutexNotheld() local 141 sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX; in debugMutexFree() local 164 sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX; in debugMutexEnter() local 169 sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX; in debugMutexTry() local 182 sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX; in debugMutexLeave() local
|
| H A D | malloc.c | 229 void *p; in mallocWithAlarm() local 299 void *p; in sqlite3Malloc() local 346 int sqlite3MallocSize(const void *p){ in sqlite3MallocSize() 384 sqlite3_uint64 sqlite3_msize(void *p){ in sqlite3_msize() 393 void sqlite3_free(void *p){ in sqlite3_free() 421 void sqlite3DbFreeNN(sqlite3 *db, void *p){ in sqlite3DbFreeNN() 497 void sqlite3DbFree(sqlite3 *db, void *p){ in sqlite3DbFree() 583 void *p = sqlite3Malloc(n); in sqlite3MallocZero() local 595 void *p; in sqlite3DbMallocZero() local 607 void *p; in dbMallocRawFinish() local [all …]
|
| H A D | memdb.c | 187 static void memdbEnter(MemStore *p){ in memdbEnter() 190 static void memdbLeave(MemStore *p){ in memdbLeave() 194 static void memdbEnter(MemStore *p){ in memdbEnter() 197 static void memdbLeave(MemStore *p){ in memdbLeave() 210 MemStore *p = ((MemFile*)pFile)->pStore; in memdbClose() local 257 MemStore *p = ((MemFile*)pFile)->pStore; in memdbRead() local 369 MemStore *p = pThis->pStore; in memdbLock() local 507 MemStore *p = 0; in memdbOpen() local 692 MemFile *p = 0; in memdbFromDbSchema() local 713 MemFile *p; in sqlite3_serialize() local [all …]
|
| H A D | pcache.c | 109 PgHdr *p; in pageOnDirtyList() local 183 PCache *p = pPage->pCache; in pcacheManageDirtyList() local 252 static void pcacheUnpin(PgHdr *p){ in pcacheUnpin() 553 void sqlite3PcacheRef(PgHdr *p){ in sqlite3PcacheRef() 565 void sqlite3PcacheDrop(PgHdr *p){ in sqlite3PcacheDrop() 617 PgHdr *p; in sqlite3PcacheCleanAll() local 628 PgHdr *p; in sqlite3PcacheClearWritable() local 640 PgHdr *p; in sqlite3PcacheClearSyncFlags() local 684 PgHdr *p; in sqlite3PcacheTruncate() local 770 PgHdr *a[N_SORT_BUCKET], *p; in pcacheSortDirtyList() local [all …]
|
| H A D | window.c | 183 struct CallCount *p; in dense_rankStepFunc() local 190 struct CallCount *p; in dense_rankValueFunc() local 302 struct CallCount *p; in rankStepFunc() local 314 struct CallCount *p; in rankValueFunc() local 333 struct CallCount *p; in percent_rankStepFunc() local 427 struct NtileCtx *p; in ntileStepFunc() local 447 struct NtileCtx *p; in ntileInvFunc() local 454 struct NtileCtx *p; in ntileValueFunc() local 632 Window *p; in windowFind() local 1615 WindowCodeArg *p, in windowReadPeerValues() argument [all …]
|
| H A D | treeview.c | 28 TreeView *p = *pp; in sqlite3TreeViewPush() local 44 TreeView *p = *pp; in sqlite3TreeViewPop() local 57 void sqlite3TreeViewLine(TreeView *p, const char *zFormat, ...){ in sqlite3TreeViewLine() 1268 void sqlite3ShowExpr(const Expr *p){ sqlite3TreeViewExpr(0,p,0); } in sqlite3ShowExpr() 1271 void sqlite3ShowSrcList(const SrcList *p){ sqlite3TreeViewSrcList(0,p); } in sqlite3ShowSrcList() 1272 void sqlite3ShowSelect(const Select *p){ sqlite3TreeViewSelect(0,p,0); } in sqlite3ShowSelect() 1273 void sqlite3ShowWith(const With *p){ sqlite3TreeViewWith(0,p,0); } in sqlite3ShowWith() 1274 void sqlite3ShowUpsert(const Upsert *p){ sqlite3TreeViewUpsert(0,p,0); } in sqlite3ShowUpsert() 1276 void sqlite3ShowTriggerStep(const TriggerStep *p){ in sqlite3ShowTriggerStep() 1279 void sqlite3ShowTriggerStepList(const TriggerStep *p){ in sqlite3ShowTriggerStepList() [all …]
|
| H A D | test_osinst.c | 259 VfslogFile *p = (VfslogFile *)pFile; in vfslogClose() local 281 VfslogFile *p = (VfslogFile *)pFile; in vfslogRead() local 300 VfslogFile *p = (VfslogFile *)pFile; in vfslogWrite() local 314 VfslogFile *p = (VfslogFile *)pFile; in vfslogTruncate() local 328 VfslogFile *p = (VfslogFile *)pFile; in vfslogSync() local 342 VfslogFile *p = (VfslogFile *)pFile; in vfslogFileSize() local 356 VfslogFile *p = (VfslogFile *)pFile; in vfslogLock() local 661 VfslogVfs *p = (VfslogVfs *)pVfs; in vfslog_call() local 677 VfslogVfs *p = (VfslogVfs *)pVfs; in vfslog_string() local 715 VfslogVfs *p; in sqlite3_vfslog_new() local [all …]
|
| H A D | pcache1.c | 277 PgFreeslot *p; in sqlite3PCacheBufferSetup() local 345 void *p = 0; in pcache1Alloc() local 433 PgHdr1 *p = 0; in pcache1AllocPage() local 623 PgHdr1 *p; in pcache1EnforceMaxPage() local 1003 sqlite3_pcache *p, in pcache1FetchNoMutex() 1033 sqlite3_pcache *p, in pcache1FetchWithMutex() 1048 sqlite3_pcache *p, in pcache1Fetch() 1079 sqlite3_pcache *p, in pcache1Unpin() 1114 sqlite3_pcache *p, in pcache1Rekey() 1241 PgHdr1 *p; in sqlite3PcacheReleaseMemory() local [all …]
|
| H A D | mutex_w32.c | 66 static int winMutexHeld(sqlite3_mutex *p){ in winMutexHeld() argument 70 static int winMutexNotheld2(sqlite3_mutex *p, DWORD tid){ in winMutexNotheld2() 74 static int winMutexNotheld(sqlite3_mutex *p){ in winMutexNotheld() 213 sqlite3_mutex *p; in winMutexAlloc() local 260 static void winMutexFree(sqlite3_mutex *p){ in winMutexFree() 284 static void winMutexEnter(sqlite3_mutex *p){ in winMutexEnter() 307 static int winMutexTry(sqlite3_mutex *p){ in winMutexTry() 357 static void winMutexLeave(sqlite3_mutex *p){ in winMutexLeave()
|
| H A D | vdbeapi.c | 29 Vdbe *p = (Vdbe*)pStmt; in sqlite3_expired() local 39 static int vdbeSafety(Vdbe *p){ in vdbeSafety() 152 Vdbe *p = (Vdbe*)pStmt; in sqlite3_clear_bindings() local 175 Mem *p = (Mem*)pVal; in sqlite3_value_blob() local 207 Mem *p = (Mem*)pVal; in sqlite3_value_pointer() local 1303 Vdbe *p; in columnName() local 1563 Vdbe *p = (Vdbe*)pStmt; in sqlite3_bind_null() local 1578 Vdbe *p = (Vdbe*)pStmt; in sqlite3_bind_pointer() local 1688 Vdbe *p = (Vdbe*)pStmt; in sqlite3_bind_parameter_count() local 1699 Vdbe *p = (Vdbe*)pStmt; in sqlite3_bind_parameter_name() local [all …]
|
| H A D | mutex_unix.c | 78 static int pthreadMutexHeld(sqlite3_mutex *p){ in pthreadMutexHeld() 81 static int pthreadMutexNotheld(sqlite3_mutex *p){ in pthreadMutexNotheld() 168 sqlite3_mutex *p; in pthreadMutexAlloc() local 224 static void pthreadMutexFree(sqlite3_mutex *p){ in pthreadMutexFree() 251 static void pthreadMutexEnter(sqlite3_mutex *p){ in pthreadMutexEnter() 293 static int pthreadMutexTry(sqlite3_mutex *p){ in pthreadMutexTry() 350 static void pthreadMutexLeave(sqlite3_mutex *p){ in pthreadMutexLeave()
|
| /sqlite-3.40.0/ext/lsm1/ |
| H A D | lsm_unix.c | 82 PosixFile *p; in lsmPosixOsOpen() local 116 PosixFile *p = (PosixFile *)pFile; in lsmPosixOsWrite() local 134 PosixFile *p = (PosixFile *)pFile; in lsmPosixOsTruncate() local 155 PosixFile *p = (PosixFile *)pFile; in lsmPosixOsRead() local 178 PosixFile *p = (PosixFile *)pFile; in lsmPosixOsSync() local 205 PosixFile *p = (PosixFile *)pFile; in lsmPosixOsRemap() local 294 PosixFile *p = (PosixFile *)pFile; in lsmPosixOsFileid() local 318 PosixFile *p = (PosixFile *)pFile; in lsmPosixOsLock() local 348 PosixFile *p = (PosixFile *)pFile; in lsmPosixOsTestLock() local 374 PosixFile *p = (PosixFile *)pFile; in lsmPosixOsShmMap() local [all …]
|
| H A D | lsm_shared.c | 67 lsm_mutex *p; in enterGlobalMutex() local 73 lsm_mutex *p; in leaveGlobalMutex() local 80 lsm_mutex *p; in holdingGlobalMutex() local 102 Freelist *p; in freelistAppend() local 545 Database *p = db->pDatabase; in lsmDbRecycleFd() local 560 Database *p = pDb->pDatabase; in lsmDbDatabaseRelease() local 775 Snapshot *p = pDb->pWorker; in lsmBlockAllocate() local 875 Snapshot *p = pDb->pWorker; in lsmBlockFree() local 1742 Database *p = db->pDatabase; in lsmShmTestLock() local 1788 Database *p = db->pDatabase; in lsmShmLock() local [all …]
|
| /sqlite-3.40.0/ext/recover/ |
| H A D | sqlite3recover.c | 269 sqlite3_recover *p; member 357 sqlite3_recover *p, in recoverError() 445 sqlite3_recover *p, in recoverPrepare() 470 sqlite3_recover *p, in recoverPreparePrintf() 547 sqlite3_recover *p, in recoverBindValue() 1035 sqlite3_recover *p, in recoverAddTable() 1282 sqlite3_recover *p, in recoverInsertStmt() 1437 sqlite3_recover *p, in recoverLostAndFoundInsert() 1478 sqlite3_recover *p, in recoverLostAndFoundFindRoot() 2352 sqlite3_recover *p = recover_g.p; in recoverVfsRead() local [all …]
|
| /sqlite-3.40.0/tool/ |
| H A D | offsets.c | 39 static void ofstError(GState *p, const char *zFormat, ...){ in ofstError() argument 63 GState *p, /* Global state */ in ofstRootAndColumn() 133 static void ofstPopPage(GState *p){ in ofstPopPage() 145 static void ofstPushPage(GState *p, int pgno){ in ofstPushPage() 171 static int ofst2byte(GState *p, int ofst){ in ofst2byte() 177 static int ofst4byte(GState *p, int ofst){ in ofst4byte() 186 static sqlite3_int64 ofstVarint(GState *p, int *pOfst){ in ofstVarint() 206 static int ofstInFile(GState *p, int ofst){ in ofstInFile() 224 static void ofstWalkInteriorPage(GState *p){ in ofstWalkInteriorPage() 241 static void ofstWalkLeafPage(GState *p){ in ofstWalkLeafPage() [all …]
|
| /sqlite-3.40.0/ext/lsm1/lsm-test/ |
| H A D | lsmtest_tdb4.c | 89 BtFile *p; in btVfsOpen() local 120 BtFile *p = (BtFile*)pFile; in btVfsSize() local 126 BtFile *p = (BtFile*)pFile; in btVfsRead() local 328 BtDb *p = (BtDb*)pTestDb; in bt_close() local 366 BtDb *p = (BtDb*)pTestDb; in bt_write() local 388 BtDb *p = (BtDb*)pTestDb; in bt_delete_range() local 440 BtDb *p = (BtDb*)pTestDb; in bt_fetch() local 490 BtDb *p = (BtDb*)pTestDb; in bt_scan() local 579 const char *p = *pzIn; in testParseOption() local 612 const char *p = z; in testParseInt() local [all …]
|
| /sqlite-3.40.0/ext/fts5/ |
| H A D | fts5_storage.c | 344 int sqlite3Fts5StorageClose(Fts5Storage *p){ in sqlite3Fts5StorageClose() 393 Fts5Storage *p, in fts5StorageDeleteFromIndex() 601 int sqlite3Fts5StorageRebuild(Fts5Storage *p){ in sqlite3Fts5StorageRebuild() 656 int sqlite3Fts5StorageOptimize(Fts5Storage *p){ in sqlite3Fts5StorageOptimize() 664 int sqlite3Fts5StorageReset(Fts5Storage *p){ in sqlite3Fts5StorageReset() 699 Fts5Storage *p, in sqlite3Fts5StorageContentInsert() 734 Fts5Storage *p, in sqlite3Fts5StorageIndexInsert() 997 Fts5Storage *p, in sqlite3Fts5StorageStmt() 1021 Fts5Storage *p, in sqlite3Fts5StorageStmtRelease() 1122 int sqlite3Fts5StorageSync(Fts5Storage *p){ in sqlite3Fts5StorageSync() [all …]
|
| H A D | fts5_index.c | 725 Fts5Index *p, in fts5IndexPrepareStmt() 1240 Fts5Index *p, in fts5StructurePromoteTo() 2915 Fts5Index *p, in fts5MultiIterNext() 2953 Fts5Index *p, in fts5MultiIterNext2() 3170 Fts5Index *p, in fts5SegiterPoslist() 3614 Fts5Index *p, in fts5MultiIterNextFrom() 3728 Fts5Index *p, in fts5WriteDlidxClear() 3754 Fts5Index *p, in fts5WriteDlidxGrow() 4855 Fts5Index *p, in fts5AppendRowid() 4865 Fts5Index *p, in fts5AppendPoslist() [all …]
|
| /sqlite-3.40.0/ext/misc/ |
| H A D | vfsstat.c | 237 VStatFile *p = (VStatFile *)pFile; in vstatClose() local 257 VStatFile *p = (VStatFile *)pFile; in vstatRead() local 277 VStatFile *p = (VStatFile *)pFile; in vstatWrite() local 292 VStatFile *p = (VStatFile *)pFile; in vstatTruncate() local 302 VStatFile *p = (VStatFile *)pFile; in vstatSync() local 313 VStatFile *p = (VStatFile *)pFile; in vstatFileSize() local 323 VStatFile *p = (VStatFile *)pFile; in vstatLock() local 334 VStatFile *p = (VStatFile *)pFile; in vstatUnlock() local 345 VStatFile *p = (VStatFile *)pFile; in vstatCheckReservedLock() local 355 VStatFile *p = (VStatFile *)pFile; in vstatFileControl() local [all …]
|
| /sqlite-3.40.0/ext/rbu/ |
| H A D | sqlite3rbu.c | 1186 sqlite3rbu *p, in rbuTableType() 1796 sqlite3rbu *p, in rbuObjIterGetOldlist() 1837 sqlite3rbu *p, in rbuObjIterGetWhere() 1901 sqlite3rbu *p, in rbuObjIterGetSetlist() 2171 sqlite3rbu *p, in rbuObjIterPrepareTmpInsert() 2319 sqlite3rbu *p, in rbuObjIterPrepareAll() 2654 sqlite3rbu *p, in rbuOpenDbhandle() 3974 sqlite3rbu *p; in openRbuHandle() local 4577 rbu_file *p = (rbu_file*)pFile; in rbuVfsClose() local 4641 rbu_file *p = (rbu_file*)pFile; in rbuVfsRead() local [all …]
|