Home
last modified time | relevance | path

Searched refs:bytesRead (Results 1 – 19 of 19) sorted by relevance

/trunk/main/javaunohelper/com/sun/star/lib/uno/adapter/
H A DXInputStreamToInputStreamAdapter.java81 if (bytesRead <= 0) { in read()
99 int bytesRead; in read() local
103 if (bytesRead <= 0) { in read()
105 } else if (bytesRead < b.length) { in read()
114 return (bytesRead); in read()
121 long bytesRead=0; in read() local
124 bytesRead = xin.readBytes(tmp, av); in read()
127 bytesRead = xin.readBytes(tmp,len); in read()
133 if (bytesRead <= 0) { in read()
135 } else if (bytesRead < len) { in read()
[all …]
H A DInputStreamToXInputStreamAdapter.java83 long bytesRead=0; in readBytes() local
92 while ((len > 0) && ((bytesRead = iIn.read(b[0], totalBytesRead, len)) > 0)) { in readBytes()
93 totalBytesRead += (int)bytesRead; in readBytes()
94 len -= (int)bytesRead; in readBytes()
114 long bytesRead=0; in readSomeBytes() local
119 bytesRead = iIn.read(b[0], 0, iIn.available()); in readSomeBytes()
122 bytesRead = iIn.read(b[0], 0, len); in readSomeBytes()
128 if (bytesRead < b[0].length) { in readSomeBytes()
129 int outSize = bytesRead > 0 ? (int)bytesRead : 0; in readSomeBytes()
134 if (bytesRead <= 0) { in readSomeBytes()
[all …]
/trunk/test/testcommon/source/org/openoffice/test/common/
H A DFileUtil.java567 int bytesRead; in copyFile() local
568 while ((bytesRead = from.read(buffer)) != -1) in copyFile()
569 to.write(buffer, 0, bytesRead); in copyFile()
605 int bytesRead; in writeToFile() local
606 while ((bytesRead = from.read(buffer)) != -1) in writeToFile()
607 to.write(buffer, 0, bytesRead); in writeToFile()
637 int bytesRead; in pump() local
638 while ((bytesRead = from.read(buffer)) != -1) in pump()
639 to.write(buffer, 0, bytesRead); in pump()
/trunk/main/connectivity/java/sdbc_jdbc/src/com/sun/star/comp/sdbc/
H A DBoundedInputStream.java63 int bytesRead = is.read(b, off, (int)max); in read() local
64 if (bytesRead > 0) { in read()
65 remaining -= bytesRead; in read()
67 return bytesRead; in read()
H A DJavaSQLPreparedStatement.java170 int bytesRead = x.readBytes(bytesReference, length); in setBinaryStream() local
171 …eArrayInputStream byteArrayInputStream = new ByteArrayInputStream(bytesReference[0], 0, bytesRead); in setBinaryStream()
172 …(java.sql.PreparedStatement)jdbcStatement).setBinaryStream(index, byteArrayInputStream, bytesRead); in setBinaryStream()
225 int bytesRead = x.readBytes(bytesReference, length); in setCharacterStream() local
226 …eArrayInputStream byteArrayInputStream = new ByteArrayInputStream(bytesReference[0], 0, bytesRead); in setCharacterStream()
/trunk/main/extensions/source/macosx/spotlight/
H A DOOoSpotlightImporter.m178 int bytesRead = 0;
179 while ((bytesRead = unzReadCurrentFile(unzipFile, buffer, sizeof(buffer))) > 0) {
181 [data appendData:[NSData dataWithBytes:(const void *)buffer length:bytesRead]];
215 int bytesRead = 0;
216 while ((bytesRead = unzReadCurrentFile(unzipFile, buffer, sizeof(buffer))) > 0) {
218 [data appendData:[NSData dataWithBytes:(const void *)buffer length:bytesRead]];
/trunk/main/scripting/java/com/sun/star/script/framework/io/
H A DXInputStreamImpl.java46 int bytesRead = 0; in readBytes() local
47 …while ( ( nBytesToRead > 0 ) && ( bytesRead = is.read( aData[ 0 ], totalBytesRead, nBytesToRead ) … in readBytes()
49 totalBytesRead += bytesRead; in readBytes()
50 nBytesToRead -= bytesRead; in readBytes()
/trunk/main/writerfilter/unocomponent/debugservices/rtftok/
H A DXMLScanner.cxx187 sal_Int64 bytesRead; member in writerfilter::rtftok::RtfInputSourceImpl
192 bytesRead(0) in RtfInputSourceImpl()
213 bytesRead+=len; in read()
218 xStatusIndicator->setValue((int)(bytesRead*100/bytesTotal)); in read()
223 sprintf(buf1, "Converted %" SAL_PRIdINT64 " KB", bytesRead/1024); in read()
H A DScannerTestService.cxx297 sal_Int64 bytesRead; member in writerfilter::rtftok::RtfInputSourceImpl
302 bytesRead(0) in RtfInputSourceImpl()
323 bytesRead+=len; in read()
328 xStatusIndicator->setValue((int)(bytesRead*100/bytesTotal)); in read()
333 sprintf(buf1, "Converted %" SAL_PRIdINT64 " KB", bytesRead/1024); in read()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_simreg/
H A DSimpleRegistry.java86 int bytesRead = 0 ; in copyFile() local
87 while ((bytesRead = fIn.read(buf)) > 0) in copyFile()
88 fOut.write(buf, 0, bytesRead) ; in copyFile()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_simplereg.uno/
H A DSimpleRegistry.java83 int bytesRead = 0 ; in copyFile() local
84 while ((bytesRead = fIn.read(buf)) > 0) in copyFile()
85 fOut.write(buf, 0, bytesRead) ; in copyFile()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_nestedreg.uno/
H A DNestedRegistry.java100 int bytesRead = 0 ; in copyFile() local
101 while ((bytesRead = fIn.read(buf)) > 0) in copyFile()
102 fOut.write(buf, 0, bytesRead) ; in copyFile()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_defreg/
H A DNestedRegistry.java103 int bytesRead = 0 ; in copyFile() local
104 while ((bytesRead = fIn.read(buf)) > 0) in copyFile()
105 fOut.write(buf, 0, bytesRead) ; in copyFile()
/trunk/main/connectivity/source/drivers/hsqldb/
H A Daccesslog.hxx111 void write( const sal_Int8* buffer, sal_Int32 bytesRead ) in write() argument
113 fwrite( buffer, sizeof(sal_Int8), bytesRead, getLogFile() ); in write()
/trunk/main/oox/source/core/
H A Dencryption.cxx583 sal_Int32 bytesRead = inputStream->readBytes( bytes, 2 ); in readUInt16LE() local
584 if( bytesRead < 2 ) in readUInt16LE()
592 sal_Int32 bytesRead = inputStream->readBytes( bytes, 4 ); in readUInt32LE() local
593 if( bytesRead < 4 ) in readUInt32LE()
/trunk/main/xmlhelp/source/cxxhelp/inc/util/
H A DDecompressor.hxx108 sal_Int32 bytesRead() in bytesRead() function in xmlsearch::util::ByteArrayDecompressor
/trunk/test/testassistant/lib/
H A Dtestcommon.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/openoffice/ org/openoffice/test/ org/openoffice/test/common/ ...
/trunk/main/l10ntools/source/help/
H A DHelpIndexerTool.java364 int bytesRead = fis.read( wholeFile, 0, fileLength ); in addToZipRecursively() local
/trunk/main/graphite/
H A Dgraphite-2.3.1.patch174 size_t bytesRead = fread(pTable, 1, lSize, m_pfile);
175 - isValid = bytesRead == lSize;
177 + isTableValid = bytesRead == lSize;

Completed in 76 milliseconds