Searched defs:iAmt (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/third_party/sqlite/src/src/
H A Djournal.c85 int iAmt, /* Number of bytes to read */
91 rc = sqlite3OsRead(p->pReal, zBuf, iAmt, iOfst);
92 }else if( (iAmt+iOfst)>p->iSize ){
95 memcpy(zBuf, &p->zBuf[iOfst], iAmt);
106 int iAmt, /* Number of bytes to write */
111 if( !p->pReal && (iOfst+iAmt)>p->nBuf ){
116 rc = sqlite3OsWrite(p->pReal, zBuf, iAmt, iOfst);
118 memcpy(&p->zBuf[iOfst], zBuf, iAmt);
119 if( p->iSize<(iOfst+iAmt) ){
120 p->iSize = (iOfst+iAmt);
82 jrnlRead( sqlite3_file *pJfd, void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
103 jrnlWrite( sqlite3_file *pJfd, const void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
[all...]
H A Dmemjournal.c75 int iAmt, /* Number of bytes to read */
80 int nRead = iAmt;
85 assert( iOfst+iAmt<=p->endpoint.iOffset );
108 p->readpoint.iOffset = iOfst+iAmt;
120 int iAmt, /* Number of bytes to write */
124 int nWrite = iAmt;
72 memjrnlRead( sqlite3_file *pJfd, void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
117 memjrnlWrite( sqlite3_file *pJfd, const void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
H A Dtest_demovfs.c165 int iAmt, /* Size of data to write in bytes */
176 nWrite = write(p->fd, zBuf, iAmt);
177 if( nWrite!=iAmt ){
216 int iAmt,
239 nRead = read(p->fd, zBuf, iAmt);
241 if( nRead==iAmt ){
256 int iAmt,
263 int n = iAmt; /* Number of bytes at z */
295 return demoDirectWrite(p, zBuf, iAmt, iOfst);
162 demoDirectWrite( DemoFile *p, const void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
213 demoRead( sqlite3_file *pFile, void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
253 demoWrite( sqlite3_file *pFile, const void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
H A Dtest_devsym.c42 static int devsymRead(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
43 static int devsymWrite(sqlite3_file*,const void*,int iAmt, sqlite3_int64 iOfst);
145 int iAmt,
149 return sqlite3OsRead(p->pReal, zBuf, iAmt, iOfst);
158 int iAmt,
162 return sqlite3OsWrite(p->pReal, zBuf, iAmt, iOfst);
142 devsymRead( sqlite3_file *pFile, void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
155 devsymWrite( sqlite3_file *pFile, const void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
H A Dtest_journal.c138 static int jtRead(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
139 static int jtWrite(sqlite3_file*,const void*,int iAmt, sqlite3_int64 iOfst);
270 int iAmt,
274 return sqlite3OsRead(p->pReal, zBuf, iAmt, iOfst);
511 int iAmt,
521 if( iAmt==28 ){
525 }else if( iAmt!=12 ){
536 if( p->iMaxOff<(iOfst + iAmt) ){
537 p->iMaxOff = iOfst + iAmt;
542 if( iAmt<
267 jtRead( sqlite3_file *pFile, void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
508 jtWrite( sqlite3_file *pFile, const void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
[all...]
H A Dtest_onefile.c132 static int fsRead(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
133 static int fsWrite(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst);
148 static int tmpRead(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
149 static int tmpWrite(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst);
269 int iAmt,
273 if( (iAmt+iOfst)>pTmp->nSize ){
276 memcpy(zBuf, &pTmp->zAlloc[iOfst], iAmt);
286 int iAmt,
290 if( (iAmt+iOfst)>pTmp->nAlloc ){
291 int nNew = 2*(iAmt
266 tmpRead( sqlite3_file *pFile, void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
283 tmpWrite( sqlite3_file *pFile, const void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
400 fsRead( sqlite3_file *pFile, void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
439 fsWrite( sqlite3_file *pFile, const void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
[all...]
H A Dtest_vfstrace.c48 static int vfstraceRead(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
49 static int vfstraceWrite(sqlite3_file*,const void*,int iAmt, sqlite3_int64);
212 int iAmt,
219 pInfo->zVfsName, p->zFName, iAmt, iOfst);
220 rc = p->pReal->pMethods->xRead(p->pReal, zBuf, iAmt, iOfst);
231 int iAmt,
238 pInfo->zVfsName, p->zFName, iAmt, iOfst);
239 rc = p->pReal->pMethods->xWrite(p->pReal, zBuf, iAmt, iOfst);
209 vfstraceRead( sqlite3_file *pFile, void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
228 vfstraceWrite( sqlite3_file *pFile, const void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
H A Dtest6.c173 static int writeDbFile(CrashFile *p, u8 *z, i64 iAmt, i64 iOff){ argument
179 if( (iAmt-iSkip)>0 ){
180 rc = sqlite3OsWrite(p->pRealFile, &z[iSkip], iAmt-iSkip, iOff+iSkip);
408 int iAmt,
414 if( pCrash->iSize<(iOfst+iAmt) ){
418 memcpy(zBuf, &pCrash->zData[iOfst], iAmt);
428 int iAmt,
432 if( iAmt+iOfst>pCrash->iSize ){
433 pCrash->iSize = iAmt+iOfst;
446 memcpy(&pCrash->zData[iOfst], zBuf, iAmt);
405 cfRead( sqlite3_file *pFile, void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
425 cfWrite( sqlite3_file *pFile, const void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
[all...]
H A Dtest_multiplex.c502 int iAmt,
511 rc = ( !pSubOpen ) ? SQLITE_IOERR_READ : pSubOpen->pMethods->xRead(pSubOpen, pBuf, iAmt, iOfst);
513 while( iAmt > 0 ){
517 int extra = ((int)(iOfst % pGroup->nChunkSize) + iAmt) - pGroup->nChunkSize;
519 iAmt -= extra;
520 rc = pSubOpen->pMethods->xRead(pSubOpen, pBuf, iAmt, iOfst % pGroup->nChunkSize);
522 pBuf = (char *)pBuf + iAmt;
523 iOfst += iAmt;
524 iAmt = extra;
542 int iAmt,
499 multiplexRead( sqlite3_file *pConn, void *pBuf, int iAmt, sqlite3_int64 iOfst ) argument
539 multiplexWrite( sqlite3_file *pConn, const void *pBuf, int iAmt, sqlite3_int64 iOfst ) argument
[all...]
H A Dtest_quota.c386 int iAmt,
390 return pSubOpen->pMethods->xRead(pSubOpen, pBuf, iAmt, iOfst);
400 int iAmt,
405 sqlite3_int64 iEnd = iOfst+iAmt;
428 return pSubOpen->pMethods->xWrite(pSubOpen, pBuf, iAmt, iOfst);
383 quotaRead( sqlite3_file *pConn, void *pBuf, int iAmt, sqlite3_int64 iOfst ) argument
397 quotaWrite( sqlite3_file *pConn, const void *pBuf, int iAmt, sqlite3_int64 iOfst ) argument
H A Dtest_osinst.c139 static int vfslogRead(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
140 static int vfslogWrite(sqlite3_file*,const void*,int iAmt, sqlite3_int64 iOfst);
271 int iAmt,
278 rc = p->pReal->pMethods->xRead(p->pReal, zBuf, iAmt, iOfst);
280 vfslog_call(p->pVfslog, OS_READ, p->iFileId, t, rc, iAmt, (int)iOfst);
290 int iAmt,
297 rc = p->pReal->pMethods->xWrite(p->pReal, z, iAmt, iOfst);
299 vfslog_call(p->pVfslog, OS_WRITE, p->iFileId, t, rc, iAmt, (int)iOfst);
268 vfslogRead( sqlite3_file *pFile, void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
287 vfslogWrite( sqlite3_file *pFile, const void *z, int iAmt, sqlite_int64 iOfst ) argument
H A Dtest_vfs.c158 static int tvfsRead(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
159 static int tvfsWrite(sqlite3_file*,const void*,int iAmt, sqlite3_int64 iOfst);
351 int iAmt,
355 return sqlite3OsRead(p->pReal, zBuf, iAmt, iOfst);
364 int iAmt,
386 rc = sqlite3OsWrite(pFd->pReal, zBuf, iAmt, iOfst);
348 tvfsRead( sqlite3_file *pFile, void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
361 tvfsWrite( sqlite3_file *pFile, const void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
/external/chromium_org/third_party/sqlite/src/ext/async/
H A Dsqlite3async.c665 int iAmt,
672 sqlite3_int64 iAmt64 = (sqlite3_int64)iAmt;
733 if( rc==SQLITE_OK && filesize<(iOffset+iAmt) ){
662 asyncRead( sqlite3_file *pFile, void *zOut, int iAmt, sqlite3_int64 iOffset ) argument
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.c1216 int (*xRead)(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
1217 int (*xWrite)(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst);
69157 jrnlRead( sqlite3_file *pJfd, void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
69178 jrnlWrite( sqlite3_file *pJfd, const void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
69387 memjrnlRead( sqlite3_file *pJfd, void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
69432 memjrnlWrite( sqlite3_file *pJfd, const void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
[all...]
/external/sqlite/dist/orig/
H A Dsqlite3.c1236 int (*xRead)(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
1237 int (*xWrite)(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst);
47990 walWriteToLog( WalWriter *p, void *pContent, int iAmt, sqlite3_int64 iOffset ) argument
72609 jrnlRead( sqlite3_file *pJfd, void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
72630 jrnlWrite( sqlite3_file *pJfd, const void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
72839 memjrnlRead( sqlite3_file *pJfd, void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
72884 memjrnlWrite( sqlite3_file *pJfd, const void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
[all...]
/external/sqlite/dist/
H A Dsqlite3.c1236 int (*xRead)(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst);
1237 int (*xWrite)(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst);
48018 walWriteToLog( WalWriter *p, void *pContent, int iAmt, sqlite3_int64 iOffset ) argument
72645 jrnlRead( sqlite3_file *pJfd, void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
72666 jrnlWrite( sqlite3_file *pJfd, const void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
72875 memjrnlRead( sqlite3_file *pJfd, void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
72920 memjrnlWrite( sqlite3_file *pJfd, const void *zBuf, int iAmt, sqlite_int64 iOfst ) argument
[all...]

Completed in 939 milliseconds