Home
last modified time | relevance | path

Searched refs:nBytesRead (Results 26 – 34 of 34) sorted by path

12

/trunk/main/tools/bootstrp/
H A Dmd5.cxx107 size_t nBytesRead; in calc_md5_checksum() local
112 0 != (nBytesRead = fread( buffer, 1, sizeof(buffer), fp )) ) in calc_md5_checksum()
117 if (nBytesRead >= MINIMAL_SIZE && buffer[0] == sal_uInt8('M') && buffer[1] == sal_uInt8('Z') ) in calc_md5_checksum()
118 normalize_pe_image(buffer, nBytesRead); in calc_md5_checksum()
121 error = rtl_digest_updateMD5( digest, buffer, nBytesRead ); in calc_md5_checksum()
/trunk/main/ucb/source/ucp/ftp/
H A Dftpinpstr.cxx81 sal_uInt64 nBytesRead( 0 ); in readBytes() local
91 … if ( osl_readFile( m_tmpfl, aData.getArray(), nBytesRequested, &nBytesRead ) != osl_File_E_None ) in readBytes()
94 return sal_Int32( nBytesRead ); in readBytes()
/trunk/main/ucb/source/ucp/gio/
H A Dgio_inputstream.cxx93 gsize nBytesRead = 0; in readBytes() local
95 …eam_read_all(G_INPUT_STREAM(mpStream), aData.getArray(), nBytesToRead, &nBytesRead, NULL, &pError)) in readBytes()
97 aData.realloc(nBytesRead); in readBytes()
98 return nBytesRead; in readBytes()
/trunk/main/ucb/source/ucp/gvfs/
H A Dgvfs_stream.cxx107 GnomeVFSFileSize nBytesRead = 0; in readBytes() local
125 nBytesToRead, &nBytesRead ); in readBytes()
135 aData.realloc( sal::static_int_cast<sal_uInt32>(nBytesRead) ); in readBytes()
137 return sal::static_int_cast<sal_Int32>(nBytesRead); in readBytes()
/trunk/main/vcl/source/gdi/
H A Dpdfwriter_impl.cxx4152 sal_uInt64 nBytesRead = 0; in emitFonts() local
4153 …CK_RETURN( (osl_File_E_None == osl_readFile( aFontFile, pBuffer.get(), nLength1, &nBytesRead ) ) ); in emitFonts()
4154 DBG_ASSERT( nBytesRead==nLength1, "PDF-FontSubset read incomplete!" ); in emitFonts()
4158 getPfbSegmentLengths( pBuffer.get(), (int)nBytesRead, aSegmentLengths ); in emitFonts()
H A Dpngread.cxx315 sal_Int32 nBytesRead = 0; in ReadNextChunk() local
317 sal_uInt8* pPtr = &rChunkData.aData[ nBytesRead ]; in ReadNextChunk()
318 nBytesRead += mrPNGStream.Read( pPtr, mnChunkLen - nBytesRead ); in ReadNextChunk()
319 } while ( ( nBytesRead < mnChunkLen ) && ( mrPNGStream.GetError() == ERRCODE_NONE ) ); in ReadNextChunk()
/trunk/main/vcl/unx/generic/gdi/
H A Dsalprnpsp.cxx1340 sal_uInt64 nBytesRead = 0; in StartJob() local
1343 osl_readFile( pFile, &buffer[0], buffer.size(), &nBytesRead ); in StartJob()
1344 if( nBytesRead > 0 ) in StartJob()
1345 fwrite( &buffer[0], 1, nBytesRead, fp ); in StartJob()
1346 } while( nBytesRead == buffer.size() ); in StartJob()
/trunk/main/vcl/win/source/gdi/
H A Dsalgdi3.cxx2212 sal_uInt64 nBytesRead = 0; in ImplGetFontAttrFromFile() local
2214 aFotFile.read( aBuffer, sizeof( aBuffer ), nBytesRead ); in ImplGetFontAttrFromFile()
2222 while( (i < nBytesRead) && (aBuffer[i++] != 0) ); in ImplGetFontAttrFromFile()
2224 while( (i < nBytesRead) && (aBuffer[i++] != 0) ); in ImplGetFontAttrFromFile()
2227 while( (i < nBytesRead) && (aBuffer[i++] != 0) ); in ImplGetFontAttrFromFile()
2228 if( i >= nBytesRead ) in ImplGetFontAttrFromFile()
/trunk/main/writerfilter/source/ooxml/
H A DOOXMLBinaryObjectReference.cxx51 sal_uInt32 nBytesRead = 0; in read() local
53 while ((nBytesRead = xInputStream->readSomeBytes(aSeq, nMaxReadBytes)) > 0) in read()
56 nSize += nBytesRead; in read()
59 memcpy(&mSequence[nOldSize], aSeq.getArray(), nBytesRead); in read()

Completed in 98 milliseconds

12