HomeSort by relevance Sort by last modified time
    Searched full:sqlite3_file (Results 1 - 25 of 45) sorted by null

1 2

  /external/chromium_org/third_party/sqlite/src/src/
test_devsym.c 34 sqlite3_file base;
35 sqlite3_file *pReal;
41 static int devsymClose(sqlite3_file*);
42 static int devsymRead(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
43 static int devsymWrite(sqlite3_file*,const void*,int iAmt, sqlite3_int64 iOfst);
44 static int devsymTruncate(sqlite3_file*, sqlite3_int64 size);
45 static int devsymSync(sqlite3_file*, int flags);
46 static int devsymFileSize(sqlite3_file*, sqlite3_int64 *pSize);
47 static int devsymLock(sqlite3_file*, int);
48 static int devsymUnlock(sqlite3_file*, int)
    [all...]
os.c 51 ** of the sqlite3_file object. This is mostly just syntactic sugar. All
55 int sqlite3OsClose(sqlite3_file *pId){
63 int sqlite3OsRead(sqlite3_file *id, void *pBuf, int amt, i64 offset){
67 int sqlite3OsWrite(sqlite3_file *id, const void *pBuf, int amt, i64 offset){
71 int sqlite3OsTruncate(sqlite3_file *id, i64 size){
74 int sqlite3OsSync(sqlite3_file *id, int flags){
78 int sqlite3OsFileSize(sqlite3_file *id, i64 *pSize){
82 int sqlite3OsLock(sqlite3_file *id, int lockType){
86 int sqlite3OsUnlock(sqlite3_file *id, int lockType){
89 int sqlite3OsCheckReservedLock(sqlite3_file *id, int *pResOut)
    [all...]
journal.c 13 ** This file implements a special kind of sqlite3_file object used
17 ** The distinctive characteristic of this sqlite3_file is that the
32 ** A JournalFile object is a subclass of sqlite3_file used by
42 sqlite3_file *pReal; /* The "real" underlying file descriptor */
54 sqlite3_file *pReal = (sqlite3_file *)&p[1];
70 static int jrnlClose(sqlite3_file *pJfd){
83 sqlite3_file *pJfd, /* The journal file from which to read */
104 sqlite3_file *pJfd, /* The journal file into which to write */
130 static int jrnlTruncate(sqlite3_file *pJfd, sqlite_int64 size)
    [all...]
test_onefile.c 99 sqlite3_file *pFile;
111 sqlite3_file base;
118 sqlite3_file base;
131 static int fsClose(sqlite3_file*);
132 static int fsRead(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
133 static int fsWrite(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst);
134 static int fsTruncate(sqlite3_file*, sqlite3_int64 size);
135 static int fsSync(sqlite3_file*, int flags);
136 static int fsFileSize(sqlite3_file*, sqlite3_int64 *pSize);
137 static int fsLock(sqlite3_file*, int)
    [all...]
os.h 235 ** Functions for accessing sqlite3_file methods
237 int sqlite3OsClose(sqlite3_file*);
238 int sqlite3OsRead(sqlite3_file*, void*, int amt, i64 offset);
239 int sqlite3OsWrite(sqlite3_file*, const void*, int amt, i64 offset);
240 int sqlite3OsTruncate(sqlite3_file*, i64 size);
241 int sqlite3OsSync(sqlite3_file*, int);
242 int sqlite3OsFileSize(sqlite3_file*, i64 *pSize);
243 int sqlite3OsLock(sqlite3_file*, int);
244 int sqlite3OsUnlock(sqlite3_file*, int);
245 int sqlite3OsCheckReservedLock(sqlite3_file *id, int *pResOut)
    [all...]
test_multiplex.c 99 sqlite3_file **pReal; /* Handles to each chunk */
113 ** subclass of sqlite3_file. The sqlite3_file object for the underlying
117 sqlite3_file base; /* Base class - must be first */
139 /* The sIoMethods defines the methods used by sqlite3_file objects
144 ** either a version 1 or a version 2 sqlite3_file object. This shim
145 ** has to create a wrapper sqlite3_file of the same version. Hence
195 /* Translate an sqlite3_file* that is really a multiplexGroup* into
196 ** the sqlite3_file* for the underlying original VFS.
198 static sqlite3_file *multiplexSubOpen(multiplexConn *pConn, int iChunk, int *rc, int *pOutFlags)
    [all...]
test_vfstrace.c 34 ** The sqlite3_file object for the trace VFS
38 sqlite3_file base; /* Base class. Must be first */
41 sqlite3_file *pReal; /* The real underlying file */
47 static int vfstraceClose(sqlite3_file*);
48 static int vfstraceRead(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
49 static int vfstraceWrite(sqlite3_file*,const void*,int iAmt, sqlite3_int64);
50 static int vfstraceTruncate(sqlite3_file*, sqlite3_int64 size);
51 static int vfstraceSync(sqlite3_file*, int flags);
52 static int vfstraceFileSize(sqlite3_file*, sqlite3_int64 *pSize);
53 static int vfstraceLock(sqlite3_file*, int)
    [all...]
test_quota.c 104 ** subclass of sqlite3_file. The sqlite3_file object for the underlying
108 sqlite3_file base; /* Base class - must be first */
110 /* The underlying VFS sqlite3_file is appended to this object */
131 /* The sIoMethods defines the methods used by sqlite3_file objects
136 ** either a version 1 or a version 2 sqlite3_file object. This shim
137 ** has to create a wrapper sqlite3_file of the same version. Hence
271 /* Translate an sqlite3_file* that is really a quotaConn* into
272 ** the sqlite3_file* for the underlying original VFS.
274 static sqlite3_file *quotaSubOpen(sqlite3_file *pConn)
    [all...]
test_osinst.c 24 ** All calls on sqlite3_file objects except xFileControl() are logged.
118 sqlite3_file *pLog; /* Log file handle */
125 sqlite3_file base; /* IO methods */
126 sqlite3_file *pReal; /* Underlying file handle */
138 static int vfslogClose(sqlite3_file*);
139 static int vfslogRead(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
140 static int vfslogWrite(sqlite3_file*,const void*,int iAmt, sqlite3_int64 iOfst);
141 static int vfslogTruncate(sqlite3_file*, sqlite3_int64 size);
142 static int vfslogSync(sqlite3_file*, int flags);
143 static int vfslogFileSize(sqlite3_file*, sqlite3_int64 *pSize)
    [all...]
test_journal.c 115 sqlite3_file base;
131 sqlite3_file *pReal; /* The file handle for the underlying vfs */
137 static int jtClose(sqlite3_file*);
138 static int jtRead(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
139 static int jtWrite(sqlite3_file*,const void*,int iAmt, sqlite3_int64 iOfst);
140 static int jtTruncate(sqlite3_file*, sqlite3_int64 size);
141 static int jtSync(sqlite3_file*, int flags);
142 static int jtFileSize(sqlite3_file*, sqlite3_int64 *pSize);
143 static int jtLock(sqlite3_file*, int);
144 static int jtUnlock(sqlite3_file*, int)
    [all...]
memjournal.c 58 ** This subclass is a subclass of sqlite3_file. Each open memory-journal
73 sqlite3_file *pJfd, /* The journal file from which to read */
118 sqlite3_file *pJfd, /* The journal file into which to write */
167 static int memjrnlTruncate(sqlite3_file *pJfd, sqlite_int64 size){
185 static int memjrnlClose(sqlite3_file *pJfd){
199 static int memjrnlSync(sqlite3_file *NotUsed, int NotUsed2){
207 static int memjrnlFileSize(sqlite3_file *pJfd, sqlite_int64 *pSize){
214 ** Table of methods for MemJournal sqlite3_file object.
239 void sqlite3MemJournalOpen(sqlite3_file *pJfd){
250 int sqlite3IsMemJournal(sqlite3_file *pJfd)
    [all...]
test_vfs.c 45 sqlite3_file base; /* Base class. Must be first */
53 sqlite3_file *pReal; /* The real, underlying file descriptor */
157 static int tvfsClose(sqlite3_file*);
158 static int tvfsRead(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
159 static int tvfsWrite(sqlite3_file*,const void*,int iAmt, sqlite3_int64 iOfst);
160 static int tvfsTruncate(sqlite3_file*, sqlite3_int64 size);
161 static int tvfsSync(sqlite3_file*, int flags);
162 static int tvfsFileSize(sqlite3_file*, sqlite3_int64 *pSize);
163 static int tvfsLock(sqlite3_file*, int);
164 static int tvfsUnlock(sqlite3_file*, int)
    [all...]
test6.c 33 ** sqlite3_file object for the host system. Each time data is
128 sqlite3_file *pRealFile; /* Underlying "real" file handle */
226 sqlite3_file *pRealFile = pWrite->pFile->pRealFile;
359 sqlite3_file *pFile,
395 static int cfClose(sqlite3_file *pFile){
406 sqlite3_file *pFile,
426 sqlite3_file *pFile,
453 static int cfTruncate(sqlite3_file *pFile, sqlite_int64 size){
465 static int cfSync(sqlite3_file *pFile, int flags){
489 static int cfFileSize(sqlite3_file *pFile, sqlite_int64 *pSize)
    [all...]
test_demovfs.c 145 ** When using this VFS, the sqlite3_file* handles that SQLite uses are
150 sqlite3_file base; /* Base class. Must be first. */
201 static int demoClose(sqlite3_file *pFile){
214 sqlite3_file *pFile,
254 sqlite3_file *pFile,
305 static int demoTruncate(sqlite3_file *pFile, sqlite_int64 size){
315 static int demoSync(sqlite3_file *pFile, int flags){
331 static int demoFileSize(sqlite3_file *pFile, sqlite_int64 *pSize){
358 static int demoLock(sqlite3_file *pFile, int eLock){
361 static int demoUnlock(sqlite3_file *pFile, int eLock)
    [all...]
test_superlock.c 92 sqlite3_file *fd, /* Database file handle */
98 int (*xShmLock)(sqlite3_file*, int, int, int) = fd->pMethods->xShmLock;
114 sqlite3_file *fd = 0; /* Main database file handle */
117 /* Obtain a pointer to the sqlite3_file object open on the main db file. */
156 sqlite3_file *fd = 0;
os_unix.c 38 ** * sqlite3_file methods not associated with locking.
199 ** The unixFile structure is subclass of sqlite3_file specific to the unix
862 ** The sqlite3_file structure for POSIX is no longer just an integer file
    [all...]
os_os2.c 64 ** The os2File structure is subclass of sqlite3_file specific for the OS/2
95 static int os2Close( sqlite3_file *id ){
123 sqlite3_file *id, /* File to read from */
154 sqlite3_file *id, /* File to write into */
185 static int os2Truncate( sqlite3_file *id, i64 nByte ){
217 static int os2Sync( sqlite3_file *id, int flags ){
240 static int os2FileSize( sqlite3_file *id, sqlite3_int64 *pSize ){
317 static int os2Lock( sqlite3_file *id, int locktype ){
454 static int os2CheckReservedLock( sqlite3_file *id, int *pOut ){
500 static int os2Unlock( sqlite3_file *id, int locktype )
    [all...]
  /external/chromium_org/third_party/sqlite/
webdb.patch 16 +void initUnixFile(sqlite3_file* file) {
34 +void chromium_sqlite3_initialize_unix_sqlite3_file(sqlite3_file* file) {
41 + sqlite3_file* file,
56 +int chromium_sqlite3_get_reusable_file_handle(sqlite3_file* file,
80 +void chromium_sqlite3_update_reusable_file_handle(sqlite3_file* file,
93 +void chromium_sqlite3_destroy_reusable_file_handle(sqlite3_file* file) {
156 +void chromium_sqlite3_initialize_win_sqlite3_file(sqlite3_file* file, HANDLE handle) {
system-sqlite.patch 55 @@ -25876,10 +25885,6 @@ static int unixUnlock(sqlite3_file *id, int eFileLock){
57 static int closeUnixFile(sqlite3_file *id){
66 @@ -25887,7 +25892,7 @@ static int closeUnixFile(sqlite3_file *id){
75 @@ -26134,7 +26139,7 @@ static int dotlockUnlock(sqlite3_file *id, int eFileLock) {
135 @@ -27410,28 +27459,21 @@ static int unixSync(sqlite3_file *id, int flags){
186 @@ -28575,7 +28617,7 @@ void initUnixFile(sqlite3_file* file) {
192 sqlite3_file *pId, /* Write to the unixFile structure here */
385 - rc = fillInUnixFile(&dummyVfs, fd, dirfd, (sqlite3_file*)pNew, path, 0, 0, 0);
386 + rc = fillInUnixFile(&dummyVfs, fd, 0, (sqlite3_file*)pNew, path, 0, 0, 0);
451 @@ -1731,10 +1740,6 @@ static int unixUnlock(sqlite3_file *id, int eFileLock)
    [all...]
  /external/llvm/test/CodeGen/X86/
2009-04-29-RegAllocAssert.ll 43 %struct.Pager = type { %struct.sqlite3_vfs*, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.Bitvec*, %struct.Bitvec*, i8*, i8*, i8*, i8*, %struct.sqlite3_file*, %struct.sqlite3_file*, %struct.sqlite3_file*, %struct.BusyHandler*, %struct.PagerLruList, %struct.DbPage*, %struct.DbPage*, %struct.DbPage*, i64, i64, i64, i64, i64, i32, void (%struct.DbPage*, i32)*, void (%struct.DbPage*, i32)*, i32, %struct.DbPage**, i8*, [16 x i8] }
61 %struct.sqlite3_file = type { %struct.sqlite3_io_methods* }
65 %struct.sqlite3_io_methods = type { i32, i32 (%struct.sqlite3_file*)*, i32 (%struct.sqlite3_file*, i8*, i32, i64)*, i32 (%struct.sqlite3_file*, i8*, i32, i64)*, i32 (%struct.sqlite3_file*, i64)*, i32 (%struct.sqlite3_file*, i32)*, i32 (%struct.sqlite3_file*, i64*)*, i32 (%struct.sqlite3_file*, i32)*, i32 (%struct.sqlite3_file*, i32)*, i32 (%struct.sqlit (…)
    [all...]
  /external/llvm/test/Transforms/GVN/
2009-01-22-SortInvalidation.ll 40 %struct.Pager = type { %struct.sqlite3_vfs*, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.Bitvec*, %struct.Bitvec*, i8*, i8*, i8*, i8*, %struct.sqlite3_file*, %struct.sqlite3_file*, %struct.sqlite3_file*, %struct.BusyHandler*, %struct.PagerLruList, %struct.PgHdr*, %struct.PgHdr*, %struct.PgHdr*, i64, i64, i64, i64, i64, i32, void (%struct.PgHdr*, i32)*, void (%struct.PgHdr*, i32)*, i32, %struct.PgHdr**, i8*, [16 x i8] }
63 %struct.sqlite3_file = type { %struct.sqlite3_io_methods* }
67 %struct.sqlite3_io_methods = type { i32, i32 (%struct.sqlite3_file*)*, i32 (%struct.sqlite3_file*, i8*, i32, i64)*, i32 (%struct.sqlite3_file*, i8*, i32, i64)*, i32 (%struct.sqlite3_file*, i64)*, i32 (%struct.sqlite3_file*, i32)*, i32 (%struct.sqlite3_file*, i64*)*, i32 (%struct.sqlite3_file*, i32)*, i32 (%struct.sqlite3_file*, i32)*, i32 (%struct.sqlit (…)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/
SQLiteFileSystemPosix.cpp 45 void chromium_sqlite3_initialize_unix_sqlite3_file(sqlite3_file* file);
46 int chromium_sqlite3_fill_in_unix_sqlite3_file(sqlite3_vfs* vfs, int fd, int dirfd, sqlite3_file* file, const char* fileName, int noLock);
47 int chromium_sqlite3_get_reusable_file_handle(sqlite3_file* file, const char* fileName, int flags, int* fd);
48 void chromium_sqlite3_update_reusable_file_handle(sqlite3_file* file, int fd, int flags);
49 void chromium_sqlite3_destroy_reusable_file_handle(sqlite3_file* file);
63 sqlite3_file* id, int desiredFlags, int* usedFlags)
SQLiteFileSystemWin.cpp 42 int chromium_sqlite3_initialize_win_sqlite3_file(sqlite3_file* file, HANDLE handle);
56 sqlite3_file* id, int desiredFlags, int* usedFlags)
  /external/chromium_org/third_party/sqlite/src/ext/async/
sqlite3async.c 486 sqlite3_file *pFile;
504 ** The AsyncFile structure is a subclass of sqlite3_file used for
521 sqlite3_file *pBaseRead; /* Read handle to the underlying Os file */
522 sqlite3_file *pBaseWrite; /* Write handle to the underlying Os file */
627 static int asyncClose(sqlite3_file *pFile){
646 sqlite3_file *pFile,
663 sqlite3_file *pFile,
671 sqlite3_file *pBase = p->pBaseRead;
743 static int asyncTruncate(sqlite3_file *pFile, sqlite3_int64 nByte){
752 static int asyncSync(sqlite3_file *pFile, int flags)
    [all...]
  /external/chromium_org/third_party/sqlite/src/tool/
speedtest8inst1.c 83 sqlite3_file *p;
89 p = (sqlite3_file *)malloc(pVfs->szOsFile);

Completed in 1118 milliseconds

1 2