Home
last modified time | relevance | path

Searched refs:nWrite (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/src/fxcrt/
Dextension.h230 size_t nWrite = m_nGrowSize - (size_t)offset; in WriteBlock() local
231 if (nWrite > size) { in WriteBlock()
232 nWrite = size; in WriteBlock()
234 FXSYS_memcpy(m_Blocks[(int)nStartBlock] + (size_t)offset, buffer, nWrite); in WriteBlock()
235 buffer = ((uint8_t*)buffer) + nWrite; in WriteBlock()
236 size -= nWrite; in WriteBlock()
/external/jhead/
Djpgfile.c819 size_t nWrite = 0; in WriteJpegFile() local
824 nWrite = fwrite(Sections[a].Data, 1, Sections[a].Size, outfile); in WriteJpegFile()
825 writeOk = (nWrite == Sections[a].Size); in WriteJpegFile()
827 ALOGE("write section %d failed expect %d actual %d",a,Sections[a].Size,nWrite); in WriteJpegFile()
834 nWrite = fwrite(Sections[a].Data, 1,Sections[a].Size, outfile); in WriteJpegFile()
835 writeOk = (nWrite == Sections[a].Size); in WriteJpegFile()
837 ALOGE("write section %d failed expect %d actual %d",a,Sections[a].Size,nWrite); in WriteJpegFile()
882 int nWrite = 0; in WriteJpegToBuffer() local
/external/sqlite/dist/
Dsqlite3.c30373 int nWrite = 0; /* Number of bytes written by seekAndWrite */
30381 nWrite = seekAndWrite(pFile, iWrite, "", 1);
30382 if( nWrite!=1 ) return SQLITE_IOERR_WRITE;
30384 if( nWrite==0 || (nSize%nBlk) ){
30385 nWrite = seekAndWrite(pFile, nSize-1, "", 1);
30386 if( nWrite!=1 ) return SQLITE_IOERR_WRITE;
37041 DWORD nWrite; /* Bytes written by each WriteFile() call */
37052 if( !osWriteFile(pFile->h, aRem, nRem, &nWrite, 0) ){
37054 if( !osWriteFile(pFile->h, aRem, nRem, &nWrite, &overlapped) ){
37059 assert( nWrite==0 || nWrite<=(DWORD)nRem );
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c30355 int nWrite = 0; /* Number of bytes written by seekAndWrite */
30363 nWrite = seekAndWrite(pFile, iWrite, "", 1);
30364 if( nWrite!=1 ) return SQLITE_IOERR_WRITE;
30366 if( nWrite==0 || (nSize%nBlk) ){
30367 nWrite = seekAndWrite(pFile, nSize-1, "", 1);
30368 if( nWrite!=1 ) return SQLITE_IOERR_WRITE;
37023 DWORD nWrite; /* Bytes written by each WriteFile() call */
37034 if( !osWriteFile(pFile->h, aRem, nRem, &nWrite, 0) ){
37036 if( !osWriteFile(pFile->h, aRem, nRem, &nWrite, &overlapped) ){
37041 assert( nWrite==0 || nWrite<=(DWORD)nRem );
[all …]