Searched refs:nWrite (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/third_party/sqlite/src/src/
H A Dmemjournal.c124 int nWrite = iAmt; local
133 while( nWrite>0 ){
136 int iSpace = MIN(nWrite, JOURNAL_CHUNKSIZE - iChunkOffset);
157 nWrite -= iSpace;
H A Dtest_demovfs.c169 size_t nWrite; /* Return value from write() */ local
176 nWrite = write(p->fd, zBuf, iAmt);
177 if( nWrite!=iAmt ){
H A Dtest6.c211 int nWrite = 0; local
213 for(pWrite=g.pWriteList; pWrite; pWrite=pWrite->pNext) nWrite++;
215 iFinal = ((iFinal<0)?-1*iFinal:iFinal)%nWrite;
H A Dos_win.c760 DWORD nWrite; /* Bytes written by each WriteFile() call */ local
762 while( nRem>0 && WriteFile(pFile->h, aRem, nRem, &nWrite, 0) && nWrite>0 ){
763 aRem += nWrite;
764 nRem -= nWrite;
H A Dpager.c675 int nRead, nWrite; /* Database pages read/written */ member in struct:Pager
1342 u32 nWrite; /* Bytes of header sector written */ local
1429 for(nWrite=0; rc==SQLITE_OK&&nWrite<JOURNAL_HDR_SZ(pPager); nWrite+=nHeader){
4053 PAGER_INCR(pPager->nWrite);
6099 a[10] = pPager->nWrite;
H A Dtclsqlite.c251 int nWrite = toWrite; /* Number of bytes to write */ local
256 if( (p->iSeek+nWrite)>nBlob ){
260 if( nWrite<=0 ){
264 rc = sqlite3_blob_write(p->pBlob, (void *)buf, nWrite, p->iSeek);
270 p->iSeek += nWrite;
271 return nWrite;
H A Dvdbeaux.c1929 int nWrite = 0; local
1934 if( p->readOnly==0 ) nWrite++;
1939 assert( nWrite==db->writeVdbeCnt );
H A Dos_unix.c3456 int nWrite = seekAndWrite(pFile, iWrite, "", 1);
3457 if( nWrite!=1 ) return SQLITE_IOERR_WRITE;
/external/pdfium/core/src/fxcrt/
H A Dextension.h294 size_t nWrite = m_nGrowSize - (size_t)offset; local
295 if (nWrite > size) {
296 nWrite = size;
298 FXSYS_memcpy32((FX_LPBYTE)m_Blocks[(int)nStartBlock] + (size_t)offset, buffer, nWrite);
299 buffer = ((FX_LPBYTE)buffer) + nWrite;
300 size -= nWrite;
/external/jhead/
H A Djpgfile.c819 int nWrite = 0; local
824 nWrite = fwrite(Sections[a].Data, 1, Sections[a].Size, outfile);
825 writeOk = (nWrite == Sections[a].Size);
827 ALOGE("write section %d failed expect %d actual %d",a,Sections[a].Size,nWrite);
834 nWrite = fwrite(Sections[a].Data, 1,Sections[a].Size, outfile);
835 writeOk = (nWrite == Sections[a].Size);
837 ALOGE("write section %d failed expect %d actual %d",a,Sections[a].Size,nWrite);
882 int nWrite = 0; local
/external/chromium_org/third_party/sqlite/src/ext/fts3/
H A Dfts3_write.c1660 int nWrite = pIter->nData - nStart; local
1662 rc = fts3WriteSegment(p, iNextFree, &pIter->aData[nStart], nWrite);
/external/sqlite/dist/orig/
H A Dsqlite3.c34554 DWORD nWrite; /* Bytes written by each WriteFile() call */ local
41623 u32 nWrite; /* Bytes of header sector written */ local
64371 int nWrite = 0; local
75902 i64 nWrite; /* Number of bytes in new PMA */ local
76472 int nWrite = iAmt; local
138838 int nWrite = pIter->nData - nStart; local
139651 int nWrite; local
[all...]
/external/sqlite/dist/
H A Dsqlite3.c34574 DWORD nWrite; /* Bytes written by each WriteFile() call */ local
41643 u32 nWrite; /* Bytes of header sector written */ local
64391 int nWrite = 0; local
75922 i64 nWrite; /* Number of bytes in new PMA */ local
76492 int nWrite = iAmt; local
138870 int nWrite = pIter->nData - nStart; local
139683 int nWrite; local
[all...]
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.c27597 int nWrite = seekAndWrite(pFile, iWrite, "", 1);
27598 if( nWrite!=1 ) return SQLITE_IOERR_WRITE;
31879 DWORD nWrite; /* Bytes written by each WriteFile() call */ local
37105 int nRead, nWrite; /* Database pages read/written */ member in struct:Pager
37772 u32 nWrite; /* Bytes of header sector written */ local
59054 int nWrite = 0; local
69260 int nWrite = iAmt; local
121577 int nWrite = pIter->nData - nStart; local
[all...]

Completed in 2834 milliseconds