Lines Matching refs:sqlite3_vfs

41 sqlite3_vfs* GetWrappedVfs(sqlite3_vfs* wrapped_vfs) {  in GetWrappedVfs()
42 return static_cast<sqlite3_vfs*>(wrapped_vfs->pAppData); in GetWrappedVfs()
174 int Open(sqlite3_vfs* vfs, const char* file_name, sqlite3_file* wrapper_file, in Open()
176 sqlite3_vfs* wrapped_vfs = GetWrappedVfs(vfs); in Open()
327 int Delete(sqlite3_vfs* vfs, const char* file_name, int sync_dir) { in Delete()
328 sqlite3_vfs* wrapped_vfs = GetWrappedVfs(vfs); in Delete()
332 int Access(sqlite3_vfs* vfs, const char* file_name, int flag, int* res) { in Access()
333 sqlite3_vfs* wrapped_vfs = GetWrappedVfs(vfs); in Access()
337 int FullPathname(sqlite3_vfs* vfs, const char* relative_path, in FullPathname()
339 sqlite3_vfs* wrapped_vfs = GetWrappedVfs(vfs); in FullPathname()
344 int Randomness(sqlite3_vfs* vfs, int buf_size, char* buffer) { in Randomness()
345 sqlite3_vfs* wrapped_vfs = GetWrappedVfs(vfs); in Randomness()
349 int Sleep(sqlite3_vfs* vfs, int microseconds) { in Sleep()
350 sqlite3_vfs* wrapped_vfs = GetWrappedVfs(vfs); in Sleep()
354 int GetLastError(sqlite3_vfs* vfs, int e, char* s) { in GetLastError()
355 sqlite3_vfs* wrapped_vfs = GetWrappedVfs(vfs); in GetLastError()
359 int CurrentTimeInt64(sqlite3_vfs* vfs, sqlite3_int64* now) { in CurrentTimeInt64()
360 sqlite3_vfs* wrapped_vfs = GetWrappedVfs(vfs); in CurrentTimeInt64()
366 sqlite3_vfs* VFSWrapper() { in VFSWrapper()
371 sqlite3_vfs* vfs = sqlite3_vfs_find(kVFSName); in VFSWrapper()
381 sqlite3_vfs* wrapped_vfs = sqlite3_vfs_find(base_vfs_name); in VFSWrapper()
389 std::unique_ptr<sqlite3_vfs, std::function<void(sqlite3_vfs*)>> wrapper_vfs( in VFSWrapper()
390 static_cast<sqlite3_vfs*>(sqlite3_malloc(sizeof(sqlite3_vfs))), in VFSWrapper()
391 [](sqlite3_vfs* v) { in VFSWrapper()
394 memset(wrapper_vfs.get(), '\0', sizeof(sqlite3_vfs)); in VFSWrapper()