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

1 2

  /external/chromium_org/third_party/sqlite/src/src/
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_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...]
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...]
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...]
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...]
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_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...]
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_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_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_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_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...]
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_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...]
sqlite.h.in 562 ** An [sqlite3_file] object represents an open file in the
570 typedef struct sqlite3_file sqlite3_file;
571 struct sqlite3_file {
579 ** [sqlite3_file] object (or, more commonly, a subclass of the
580 ** [sqlite3_file] object) with a pointer to an instance of this object.
582 ** against the open file represented by the [sqlite3_file] object.
584 ** If the xOpen method sets the sqlite3_file.pMethods element
588 ** is for the xOpen to set the sqlite3_file.pMethods element to NULL.
667 int (*xClose)(sqlite3_file*);
    [all...]
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...]
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_win.c 97 ** The winFile structure is a subclass of sqlite3_file* specific to the win32
671 static int winClose(sqlite3_file *id){
708 sqlite3_file *id, /* File to read from */
741 sqlite3_file *id, /* File to write into */
784 static int winTruncate(sqlite3_file *id, sqlite3_int64 nByte){
826 static int winSync(sqlite3_file *id, int flags){
874 static int winFileSize(sqlite3_file *id, sqlite3_int64 *pSize){
976 static int winLock(sqlite3_file *id, int locktype){
1099 static int winCheckReservedLock(sqlite3_file *id, int *pResOut){
    [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/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/amalgamation/
sqlite3.h 567 ** An [sqlite3_file] object represents an open file in the
575 typedef struct sqlite3_file sqlite3_file; typedef in typeref:struct:sqlite3_file
576 struct sqlite3_file { struct
584 ** [sqlite3_file] object (or, more commonly, a subclass of the
585 ** [sqlite3_file] object) with a pointer to an instance of this object.
587 ** against the open file represented by the [sqlite3_file] object.
589 ** If the xOpen method sets the sqlite3_file.pMethods element
593 ** is for the xOpen to set the sqlite3_file.pMethods element to NULL.
672 int (*xClose)(sqlite3_file*);
    [all...]
  /external/sqlite/dist/orig/
sqlite3.h 579 ** An [sqlite3_file] object represents an open file in the
587 typedef struct sqlite3_file sqlite3_file; typedef in typeref:struct:sqlite3_file
588 struct sqlite3_file { struct
596 ** [sqlite3_file] object (or, more commonly, a subclass of the
597 ** [sqlite3_file] object) with a pointer to an instance of this object.
599 ** against the open file represented by the [sqlite3_file] object.
601 ** If the [sqlite3_vfs.xOpen] method sets the sqlite3_file.pMethods element
605 ** is for the [sqlite3_vfs.xOpen] to set the sqlite3_file.pMethods element
685 int (*xClose)(sqlite3_file*);
    [all...]
  /external/sqlite/dist/
sqlite3.h 579 ** An [sqlite3_file] object represents an open file in the
587 typedef struct sqlite3_file sqlite3_file; typedef in typeref:struct:sqlite3_file
588 struct sqlite3_file { struct
596 ** [sqlite3_file] object (or, more commonly, a subclass of the
597 ** [sqlite3_file] object) with a pointer to an instance of this object.
599 ** against the open file represented by the [sqlite3_file] object.
601 ** If the [sqlite3_vfs.xOpen] method sets the sqlite3_file.pMethods element
605 ** is for the [sqlite3_vfs.xOpen] to set the sqlite3_file.pMethods element
685 int (*xClose)(sqlite3_file*);
    [all...]
  /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...]

Completed in 83 milliseconds

1 2