Home
last modified time | relevance | path

Searched refs:nRead (Results 26 – 50 of 94) sorted by relevance

1234

/trunk/main/svx/workben/msview/
H A Dmsview.cxx186 sal_Size nRead = 0; in compareContent() local
189 sal_Size nRead = (nBufferSize < nLength) ? nBufferSize : nLength; in compareContent() local
190 nRead = rStream1.Read( (void*)buffer1.get(), nRead ); in compareContent()
191 if( nRead == 0 ) in compareContent()
193 if( rStream2.Read( (void*)buffer2.get(), nRead ) != nRead ) in compareContent()
195 if( memcmp( (void*)buffer1.get(), (void*)buffer2.get(), nRead ) != 0 ) in compareContent()
198 nLength -= nRead; in compareContent()
/trunk/main/sw/source/filter/ww8/
H A Dww8scan.cxx4104 sal_uLong nRead = 0; in WW8ReadSTTBF() local
6162 sal_uInt16 nRead = cbStshi; in WW8Style() local
6167 if( 2 > nRead ) break; in WW8Style()
6170 if( 4 > nRead ) break; in WW8Style()
6201 if( 20 < nRead ) in WW8Style()
6266 if( 10 < nRead ) in Read1STDFixed()
6712 if (2 > nSize || nRead != rSt.Read(pData, nRead)) in WW8Dop()
6717 memset( pData + nRead, 0, nMaxDopSize - nRead ); in WW8Dop()
6885 if (nRead >= 516) in WW8Dop()
6897 if (nRead >= 550) in WW8Dop()
[all …]
/trunk/main/sal/osl/unx/
H A Dfile_misc.cxx1014 size_t nRead = 0; in oslDoCopyFile() local
1020 nRead = 0; in oslDoCopyFile()
1024 nRead = read( SourceFileFD, pBuffer, nToRead ); in oslDoCopyFile()
1025 if ( (size_t)-1 != nRead ) in oslDoCopyFile()
1026 nWritten = write( DestFileFD, pBuffer, nRead ); in oslDoCopyFile()
1031 while( nRemains && (size_t)-1 != nRead && nRead == nWritten ); in oslDoCopyFile()
/trunk/main/tools/source/fsys/
H A Dtdir.cxx379 sal_uInt16 nRead = 0; // Anzahl in dieser Runde gelesener Eintr"age in Scan() local
390 nRead = pReader->Init(); in Scan()
394 while ( nRead <= nCount && !pReader->bReady ) in Scan()
395 nRead = nRead + pReader->Read(); in Scan()
403 return nRead; in Scan()
/trunk/main/xmlhelp/source/cxxhelp/provider/
H A Ddb.cxx93 sal_Int32 nRead = xIn->readBytes( aData, nSize ); in createHashMap() local
97 while( iPos < nRead ) in createHashMap()
180 sal_Int32 nRead = xIn->readBytes( aData, nValueLen ); in getValueForKey() local
181 if( nRead == nValueLen ) in getValueForKey()
/trunk/main/io/source/TextInputStream/
H A DTextInputStream.cxx303 sal_Int32 nRead = mxStream->readSomeBytes( mSeqSource, nBytesToRead ); in implReadNext() local
304 sal_Int32 nTotalRead = nRead; in implReadNext()
305 if( nRead < nBytesToRead ) in implReadNext()
343 nRead = mxStream->readSomeBytes( aOneByteSeq, 1 ); in implReadNext()
344 if( nRead == 0 ) in implReadNext()
/trunk/main/package/qa/storages/
H A DBorderedStream.java81 int nRead = 0; in readBytes() local
92 nRead = nBytesToRead; in readBytes()
93 m_nCurPos += nRead; in readBytes()
100 return nRead; in readBytes()
/trunk/main/filter/source/placeware/
H A Dexporter.cxx144 sal_Int32 nRead; in encodeFile() local
152 nRead = static_cast<sal_Int32>( nTemp ); in encodeFile()
154 if( nRead < aInBuffer.getLength() ) in encodeFile()
156 aInBuffer.realloc( nRead ); in encodeFile()
160 nLen -= nRead; in encodeFile()
/trunk/main/unotools/source/streaming/
H A Dstreamwrap.cxx81 sal_uInt32 nRead = m_pSvStream->Read((void*)aData.getArray(), nBytesToRead); in readBytes() local
85 if (nRead < (sal_uInt32)nBytesToRead) in readBytes()
86 aData.realloc( nRead ); in readBytes()
88 return nRead; in readBytes()
/trunk/main/unotools/source/ucbhelper/
H A Dxtempfile.cxx182 sal_uInt32 nRead = mpStream->Read(static_cast < void* > ( aData.getArray() ), nBytesToRead); in readBytes() local
185 if (nRead < static_cast < sal_uInt32 > ( nBytesToRead ) ) in readBytes()
186 aData.realloc( nRead ); in readBytes()
188 if ( sal::static_int_cast<sal_uInt32>(nBytesToRead) > nRead ) in readBytes()
200 return nRead; in readBytes()
/trunk/main/ucb/source/ucp/webdav/
H A DCurlSession.cxx1897 sal_Int32 nRead in getDataFromInputStream() local
1900 if ( nRead == nSize ) in getDataFromInputStream()
1930 sal_Int32 nRead = xStream->readSomeBytes( aBuffer, 65536 ); in getDataFromInputStream() local
1931 while ( nRead > 0 ) in getDataFromInputStream()
1933 if ( rData.getLength() < ( nPos + nRead ) ) in getDataFromInputStream()
1934 rData.realloc( nPos + nRead ); in getDataFromInputStream()
1936 aBuffer.realloc( nRead ); in getDataFromInputStream()
1939 nRead ); in getDataFromInputStream()
1940 nPos += nRead; in getDataFromInputStream()
1943 nRead = xStream->readSomeBytes( aBuffer, 65536 ); in getDataFromInputStream()
/trunk/main/embeddedobj/source/msole/
H A Downview.cxx365 sal_uInt32 nRead = 0; in ReadContentsAndGenerateTempFile() local
366 while ( nRead < nDataSize ) in ReadContentsAndGenerateTempFile()
368 sal_uInt32 nToRead = ( nDataSize - nRead > 32000 ) ? 32000 : nDataSize - nRead; in ReadContentsAndGenerateTempFile()
386 nRead += nLocalRead; in ReadContentsAndGenerateTempFile()
/trunk/main/comphelper/source/misc/
H A Dstoragehelper.cxx199 sal_Int32 nRead; in CopyInputToOutput() local
204 nRead = xInput->readBytes ( aSequence, nConstBufferSize ); in CopyInputToOutput()
205 if ( nRead < nConstBufferSize ) in CopyInputToOutput()
207 uno::Sequence < sal_Int8 > aTempBuf ( aSequence.getConstArray(), nRead ); in CopyInputToOutput()
213 while ( nRead == nConstBufferSize ); in CopyInputToOutput()
/trunk/main/svtools/source/filter/jpeg/
H A Djpeg.cxx199 long nRead; in StreamRead() local
205 nRead = (long) pSvStm->Read( pBuffer, nBufferSize ); in StreamRead()
209 nRead = 0; in StreamRead()
219 nRead = 0; in StreamRead()
221 return nRead; in StreamRead()
/trunk/main/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/
H A DAsciiReplaceFilter.java429 int nRead = aOptions.m_xInput.readBytes( lData, 4096 ); in implts_import() local
433 while (nRead>0 && !bBreaked) in implts_import()
437 measure("buffer append ["+nRead+"]"); in implts_import()
439 nRead = aOptions.m_xInput.readBytes( lData, 2048 ); in implts_import()
/trunk/main/tools/source/inet/
H A Dinetmsg.cxx1521 sal_uIntPtr nRead = pDocStrm->Read ( in DetachChild() local
1523 if (nRead > 0) in DetachChild()
1526 pMsgRead += nRead; in DetachChild()
1580 sal_uIntPtr nRead = pDocStrm->Read ( in DetachChild() local
1582 if (nRead > 0) in DetachChild()
1585 pMsgRead += nRead; in DetachChild()
/trunk/main/sal/qa/rtl/process/
H A Drtl_Process.cxx255 sal_uInt64 nRead = 0; in TEST_F() local
256 osl_readFile( *pChildOutputRead, pUUID2, 32, &nRead ); in TEST_F()
257 printf("read buffer is %s, nRead is %lu \n", pUUID2, nRead ); in TEST_F()
/trunk/main/filter/source/flash/
H A Dswfwriter.cxx136 sal_uInt32 nRead = rIn.Read( aBuffer.getArray(), nBufferSize ); in ImplCopySvStreamToXOutputStream() local
137 DBG_ASSERT( nRead == nBufferSize, "ImplCopySvStreamToXOutputStream failed!" ); in ImplCopySvStreamToXOutputStream()
140 if( nRead == 0 ) in ImplCopySvStreamToXOutputStream()
143 nSize -= nRead; in ImplCopySvStreamToXOutputStream()
/trunk/main/forms/source/component/
H A Dimgprod.cxx80 sal_uInt32 nRead; in ImgProdLockBytes() local
86 nRead = xStmRef->readSomeBytes( aReadSeq, nBytesToRead ); in ImgProdLockBytes()
88 if( nRead ) in ImgProdLockBytes()
91 maSeq.realloc( nOldLength + nRead ); in ImgProdLockBytes()
95 while( nBytesToRead == nRead ); in ImgProdLockBytes()
/trunk/main/filter/source/xsltdialog/
H A Dxmlfiltersettingsdialog.cxx1741 sal_Int32 nRead; in copyStreams() local
1744 nRead = xIS->readBytes( aDataBuffer, nBufferSize ); in copyStreams()
1746 if( nRead ) in copyStreams()
1748 if( nRead < nBufferSize ) in copyStreams()
1750 nBufferSize = nRead; in copyStreams()
1751 aDataBuffer.realloc(nRead); in copyStreams()
1757 while( nRead ); in copyStreams()
/trunk/main/svl/source/misc/
H A Ddocumentlockfile.cxx152 sal_Int32 nRead = 0; in GetLockData() local
154 nRead = xInput->readBytes( aBuffer, nBufLen ); in GetLockData()
157 if ( nRead == nBufLen ) in GetLockData()
/trunk/main/svtools/source/filter/igif/
H A Dgifread.cxx401 sal_uLong nRead; in ReadNextBlock() local
423 HPBYTE pTarget = pDecomp->DecompressBlock( pSrcBuf, cBlockSize, nRead, bEOI ); in ReadNextBlock()
427 if( nRead && !bOverreadBlock ) in ReadNextBlock()
428 FillImages( pTarget, nRead ); in ReadNextBlock()
/trunk/main/tools/source/stream/
H A Dstrmunx.cxx365 int nRead = 0; in GetData() local
368 nRead = read(pInstanceData->nHandle,pData,(unsigned)nSize); in GetData()
369 if ( nRead == -1 ) in GetData()
372 return (sal_Size)nRead; in GetData()
/trunk/main/sax/source/expatwrap/
H A Dsax_expat.cxx716 int nRead = nBufSize; in parse() local
719 while( nRead ) { in parse()
720 nRead = getEntity().converter.readAndConvert( seqOut , nBufSize ); in parse()
722 if( ! nRead ) { in parse()
732 nRead, in parse()
/trunk/main/sax/source/fastparser/
H A Dfastparser.cxx636 int nRead = 0; in parse() local
639 nRead = rEntity.maConverter.readAndConvert( seqOut, BUFFER_SIZE ); in parse()
640 if( nRead <= 0 ) in parse()
646 …bool bContinue = XML_Parse( rEntity.mpParser, (const char*) seqOut.getConstArray(), nRead, 0 ) != … in parse()
674 while( nRead > 0 ); in parse()

Completed in 165 milliseconds

1234