Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 25 of 197) sorted by relevance

12345678

/trunk/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/xml/
H A DOfficeZip.java246 setEntryBytes(-1, bytes, name); in setNamedBytes()
264 byte[] bytes = null; in getEntryBytes()
268 bytes = entry.bytes; in getEntryBytes()
270 return bytes; in getEntryBytes()
307 void setMetaXMLBytes(byte bytes[]) { in setMetaXMLBytes() argument
364 entry.bytes= bytes; in setEntryBytes()
405 zos.write(entry.bytes); in write()
426 ze.setSize(bytes.length); in createZipEntry()
430 crc.update(bytes); in createZipEntry()
446 byte bytes[] = null; field in OfficeZip.Entry
[all …]
/trunk/main/sal/textenc/generate/
H A Dbig5hkscs2001.tab1099 0, /* row 136; 148/216 bytes (68.5%) */
1100 108, /* row 137; 288/384 bytes (75.0%) */
1101 300, /* row 138; 294/384 bytes (76.6%) */
1102 492, /* row 139; 310/382 bytes (81.2%) */
1103 683, /* row 140; 234/316 bytes (74.1%) */
1104 841, /* row 141; 252/320 bytes (78.8%) */
1105 1001, /* row 142; 316/384 bytes (82.3%) */
1212 5128, /* row 249; 84/84 bytes (100.0%) */
8802 0 * 256, /* plane 0; 576/1024 bytes (56.3%), 11016/62348 bytes (17.7%) */
8804 1 * 256, /* plane 2; 664/1024 bytes (64.8%), 3634/56982 bytes (6.4%) */
[all …]
H A Dcns116431992.tab11746 444, /* plane 1, row 7; 8/28 bytes (28.6%) */
12503 0 * 94, /* plane 1; 264/376 bytes (70.2%) */
12504 1 * 94, /* plane 2; 328/376 bytes (87.2%) */
12505 2 * 94, /* plane 3; 284/376 bytes (75.5%) */
12506 3 * 94, /* plane 4; 312/376 bytes (83.0%) */
12507 4 * 94, /* plane 5; 368/376 bytes (97.9%) */
12508 5 * 94, /* plane 6; 272/376 bytes (72.3%) */
12509 6 * 94, /* plane 7; 280/376 bytes (74.5%) */
22847 0 * 256, /* plane 0; 496/1024 bytes (48.4%), 74432/85679 bytes (86.9%) */
22849 1 * 256, /* plane 2; 680/1024 bytes (66.4%), 92476/129088 bytes (71.6%) */
[all …]
/trunk/test/testcommon/source/org/openoffice/test/vcl/client/
H A DCommandCaller.java78 dataInput.read(bytes); in read()
82 return bytes; in read()
94 write(bytes); in writeChar()
98 byte[] bytes = read(2); in readChar()
99 return (bytes[0] & 0x00FF) + ((bytes[1] & 0x00FF) << 8); in readChar()
132 byte[] bytes = read(2); in readUShort()
133 return (bytes[0] & 0x00FF) + ((bytes[1] & 0x00FF) << 8); in readUShort()
147 write(bytes); in writeULong()
157 byte[] bytes = read(4); in readULong()
158 …return (bytes[0] & 0x00FFL) + ((bytes[1] & 0x00FFL) << 8) + ((bytes[2] & 0x00FFL) << 16) + ((bytes in readULong()
[all …]
H A DCommunicationManager.java236 int[] bytes = new int[4]; in calcCheckByte() local
237 bytes[0] = (i >>> 24) & 0x00FF; in calcCheckByte()
238 bytes[1] = (i >>> 16) & 0x00FF; in calcCheckByte()
239 bytes[2] = (i >>> 8) & 0x00FF; in calcCheckByte()
240 bytes[3] = (i >>> 0) & 0x00FF; in calcCheckByte()
241 nRes += bytes[0] ^ 0xf0; in calcCheckByte()
242 nRes += bytes[1] ^ 0x0f; in calcCheckByte()
243 nRes += bytes[2] ^ 0xf0; in calcCheckByte()
244 nRes += bytes[3] ^ 0x0f; in calcCheckByte()
/trunk/main/jurt/java/jurt/src/main/java/com/sun/star/comp/connections/
H A DPipedConnection.java138 int bytes ; in receive() local
143 System.arraycopy(aData, bytesWritten, _buffer, _out, bytes); in receive()
153 System.arraycopy(aData, bytesWritten, _buffer, _out, bytes); in receive()
156 bytesWritten += bytes; in receive()
157 _out += bytes; in receive()
190 int bytes = Math.min(nBytesToRead, _out - _in); in read() local
194 nBytesToRead -= bytes; in read()
195 _in += bytes; in read()
198 int bytes = Math.min(nBytesToRead, _buffer.length - _in); in read() local
202 nBytesToRead -= bytes; in read()
[all …]
/trunk/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/palm/
H A DPdbDecoder.java111 byte[] bytes = null; in parse()
119 bytes = new byte[len]; in parse()
120 file.readFully(bytes); in parse()
121 recArray[i] = new Record(bytes, recAttrs[i]); in parse()
127 bytes = new byte[len]; in parse()
128 file.readFully(bytes); in parse()
191 byte[] bytes = null; in parse()
201 bytes = new byte[len]; in parse()
202 dis.readFully(bytes); in parse()
211 bytes = new byte[len]; in parse()
[all …]
H A DPalmDB.java208 private void store(byte[] bytes) throws UnsupportedEncodingException { in store() argument
218 int len = (bytes.length < lastIndex)? bytes.length: lastIndex; in store()
224 if (bytes[i] == 0) { in store()
228 bName[i] = bytes[i]; in store()
380 byte[] bytes = new byte[NAME_LENGTH]; in read()
381 in.readFully(bytes); in read()
382 store(bytes); in read()
/trunk/main/scripting/java/org/openoffice/idesupport/zip/
H A DParcelZipper.java150 byte[] bytes = new byte[1024]; in addFileToParcel()
157 while ((len = fis.read(bytes)) != -1) in addFileToParcel()
158 out.write(bytes, 0, len); in addFileToParcel()
266 byte[] bytes = new byte[1024]; in unzipToDirectory()
368 byte[] bytes = new byte[1024]; in copyParcelToZip()
379 while ((len = in.read(bytes)) != -1) in copyParcelToZip()
380 out.write(bytes, 0, len); in copyParcelToZip()
392 byte[] bytes = new byte[1024]; in copyDocumentToZip()
406 out.write(bytes, 0, len); in copyDocumentToZip()
415 out.write(bytes, 0, len); in copyDocumentToZip()
[all …]
/trunk/main/xmlscript/test/
H A Dimexp.cxx114 ByteSequence bytes( nLength ); in importFile() local
115 ::fread( bytes.getArray(), nLength, 1, f ); in importFile()
120 ::xmlscript::importDialogModel( ::xmlscript::createInputStream( bytes ), xModel, xContext ); in importFile()
139 Sequence< sal_Int8 > bytes; in exportToFile() local
140 sal_Int32 nRead = xStream->readBytes( bytes, xStream->available() ); in exportToFile()
149 sal_Int32 nPos = bytes.getLength(); in exportToFile()
150 bytes.realloc( nPos + nRead ); in exportToFile()
151 ::rtl_copyMemory( bytes.getArray() + nPos, readBytes.getConstArray(), (sal_uInt32)nRead ); in exportToFile()
155 ::fwrite( bytes.getConstArray(), 1, bytes.getLength(), f ); in exportToFile()
/trunk/main/udkapi/com/sun/star/io/
H A DXInputStream.idl56 /** reads the specified number of bytes in the given sequence.
58 <p>The return value specifies the number of bytes which have been
61 that the method blocks until the specified number of bytes are
65 of bytes (or less as a sign of EOF).
77 <li> the sequence is pre-allocated with the requested number of bytes.
89 the total number of bytes to read
100 /** reads the available number of bytes, at maximum
109 but no more than nMaxBytesToRead, bytes.
124 /** skips the next <var>nBytesToSkip</var> bytes (must be positive).
129 number of bytes to skip
[all …]
/trunk/main/xmerge/source/palmtests/qa/comparator/
H A DPalmDB.java138 private void store(byte[] bytes) throws UnsupportedEncodingException { in store() argument
148 int len = (bytes.length < lastIndex)? bytes.length: lastIndex; in store()
154 if (bytes[i] == 0) { in store()
158 bName[i] = bytes[i]; in store()
262 byte[] bytes = new byte[NAME_LENGTH]; in read()
263 in.readFully(bytes); in read()
264 store(bytes); in read()
H A DPDBDecoder.java103 byte[] bytes = null; in parse()
111 bytes = new byte[len]; in parse()
112 file.readFully(bytes); in parse()
113 recArray[i] = new Record(bytes); in parse()
119 bytes = new byte[len]; in parse()
120 file.readFully(bytes); in parse()
121 recArray[lastIndex] = new Record(bytes); in parse()
H A DOfficeZip.java60 byte bytes[] = null; field in OfficeZip.Entry
105 byte bytes[] = new byte[BUFFERSIZE]; in read()
107 while ((len = zis.read(bytes)) > 0) { in read()
108 baos.write(bytes, 0, len); in read()
111 entry.bytes = baos.toByteArray(); in read()
128 return contentEntry.bytes; in read()
227 zos.write(entry.bytes); in saveEntries()
/trunk/main/desktop/source/deployment/misc/
H A Ddp_ucb.cxx202 ::rtl::ByteSequence bytes; in readFile()
204 ::xmlscript::createOutputStream( &bytes ) ); in readFile()
210 return bytes; in readFile()
218 ::rtl::ByteSequence bytes( readFile( ucb_content ) ); in readLine()
219 OUString file( reinterpret_cast<sal_Char const *>(bytes.getConstArray()), in readLine()
220 bytes.getLength(), textenc ); in readLine()
274 ::rtl::ByteSequence bytes( readFile( ucb_content ) ); in readProperties()
275 OUString file( reinterpret_cast<sal_Char const *>(bytes.getConstArray()), in readProperties()
276 bytes.getLength(), RTL_TEXTENCODING_UTF8); in readProperties()
/trunk/main/xmerge/java/aportisdoc/src/main/java/org/openoffice/xmerge/converter/xml/sxw/aportisdoc/
H A DDocDecoder.java83 byte[] bytes = decompress(recs[i].getBytes(), in parseRecords()
85 log("processing " + bytes.length + " bytes"); in parseRecords()
86 String str = new String(bytes, ENCODING); in parseRecords()
95 byte[] bytes = recs[i].getBytes(); in parseRecords()
96 log("processing " + bytes.length + " bytes"); in parseRecords()
97 String str = new String(bytes, ENCODING); in parseRecords()
206 private HeaderInfo readHeader(byte[] bytes) throws IOException { in readHeader() argument
210 ByteArrayInputStream bis = new ByteArrayInputStream(bytes); in readHeader()
/trunk/main/filter/source/xsltfilter/com/sun/star/comp/xsltfilter/
H A DBase64.java999 byte[] bytes; in decode()
1002 bytes = s.getBytes( PREFERRED_ENCODING ); in decode()
1006 bytes = s.getBytes(); in decode()
1011 bytes = decode( bytes, 0, bytes.length, options ); in decode()
1016 if( bytes != null && bytes.length >= 4 ) in decode()
1019 int head = ((int)bytes[0] & 0xff) | ((bytes[1] << 8) & 0xff00); in decode()
1031 bais = new java.io.ByteArrayInputStream( bytes ); in decode()
1040 bytes = baos.toByteArray(); in decode()
1057 return bytes; in decode()
/trunk/main/sal/osl/w32/
H A Dprocess.cxx538 sal_Int32 bytes = 0; in osl_sendResourcePipe() local
549 if (ReadPipe(hPipe, &remoteProcessID, sizeof(remoteProcessID), &bytes)) in osl_sendResourcePipe()
566 WritePipe(hPipe, &code, sizeof(code), &bytes) && in osl_sendResourcePipe()
567 WritePipe(hPipe, &newFd, sizeof(fd), &bytes) in osl_sendResourcePipe()
582 !ReadPipe(hPipe, &commitCode, sizeof(commitCode), &bytes) || in osl_sendResourcePipe()
596 sal_Int32 bytes = 0; in osl_receiveResourcePipe() local
609 WritePipe(hPipe, &myProcessID, sizeof(myProcessID), &bytes) && in osl_receiveResourcePipe()
610 ReadPipe(hPipe, &code, sizeof(code), &bytes) && in osl_receiveResourcePipe()
611 ReadPipe(hPipe, &fd, sizeof(fd), &bytes) in osl_receiveResourcePipe()
631 WritePipe(hPipe, &commitCode, sizeof(commitCode), &bytes); in osl_receiveResourcePipe()
/trunk/main/scripting/java/com/sun/star/script/framework/io/
H A DXOutputStreamWrapper.java40 byte[] bytes = new byte[1]; in write()
41 bytes[0] = (byte) b; in write()
44 m_xOutputStream.writeBytes( bytes ); in write()
75 byte[] bytes = new byte[len]; in write()
78 bytes[i] = b[i]; in write()
82 m_xOutputStream.writeBytes(bytes); in write()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_stm/
H A DPump.java122 public int readBytes(byte[][] bytes, int len) in readBytes() argument
131 bytes[0] = resStr.getBytes() ; in readBytes()
135 bytes[0] = str.getBytes() ; in readBytes()
142 public int readSomeBytes(byte[][] bytes, int len) in readSomeBytes() argument
144 return readBytes(bytes, len); in readSomeBytes()
176 public void writeBytes(byte[] bytes) { in writeBytes() argument
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_streams.uno/
H A DPump.java119 public int readBytes(byte[][] bytes, int len) in readBytes() argument
128 bytes[0] = resStr.getBytes() ; in readBytes()
132 bytes[0] = str.getBytes() ; in readBytes()
139 public int readSomeBytes(byte[][] bytes, int len) in readSomeBytes() argument
141 return readBytes(bytes, len); in readSomeBytes()
173 public void writeBytes(byte[] bytes) { in writeBytes() argument
/trunk/main/bridges/source/cpp_uno/gcc3_freebsd_x86-64/
H A Dabi.cxx471 cif->bytes = 0;
488 cif->bytes = ALIGN(cif->bytes, cif->arg_types[i]->alignment);
491 cif->bytes = ALIGN(cif->bytes, 8);
494 cif->bytes += cif->arg_types[i]->size;
638 cif->bytes = ALIGN(cif->bytes, 16);
650 cif->bytes, ecif.rvalue, fn);
/trunk/main/bridges/source/cpp_uno/gcc3_linux_x86-64/
H A Dabi.cxx471 cif->bytes = 0;
488 cif->bytes = ALIGN(cif->bytes, cif->arg_types[i]->alignment);
491 cif->bytes = ALIGN(cif->bytes, 8);
494 cif->bytes += cif->arg_types[i]->size;
638 cif->bytes = ALIGN(cif->bytes, 16);
650 cif->bytes, ecif.rvalue, fn);
/trunk/main/bridges/source/cpp_uno/s5abi_macosx_x86-64/
H A Dabi.cxx471 cif->bytes = 0;
488 cif->bytes = ALIGN(cif->bytes, cif->arg_types[i]->alignment);
491 cif->bytes = ALIGN(cif->bytes, 8);
494 cif->bytes += cif->arg_types[i]->size;
638 cif->bytes = ALIGN(cif->bytes, 16);
650 cif->bytes, ecif.rvalue, fn);
/trunk/main/vcl/unx/generic/printer/
H A Djobdata.cxx111 bool JobData::getStreamBuffer( void*& pData, int& bytes ) in getStreamBuffer() argument
172 pData = rtl_allocateMemory( bytes = aStream.Tell() ); in getStreamBuffer()
173 memcpy( pData, aStream.GetData(), bytes ); in getStreamBuffer()
177 bool JobData::constructFromStreamBuffer( void* pData, int bytes, JobData& rJobData ) in constructFromStreamBuffer() argument
179 SvMemoryStream aStream( pData, bytes, STREAM_READ ); in constructFromStreamBuffer()
250 int nBytes = bytes - aStream.Tell(); in constructFromStreamBuffer()
251 void* pRemain = alloca( bytes - aStream.Tell() ); in constructFromStreamBuffer()

Completed in 323 milliseconds

12345678