Home
last modified time | relevance | path

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

12345678

/AOO42X/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/xml/
H A DOfficeZip.java110 byte bytes[] = baos.toByteArray(); in read()
111 Entry entry = new Entry(ze,bytes); in read()
234 void setNamedBytes(String name, byte[] bytes) { in setNamedBytes() argument
239 setEntryBytes(i, bytes, name); in setNamedBytes()
246 setEntryBytes(-1, bytes, name); in setNamedBytes()
264 byte[] bytes = null; in getEntryBytes()
268 bytes = entry.bytes; in getEntryBytes()
270 return bytes; in getEntryBytes()
281 void setContentXMLBytes(byte bytes[]) { in setContentXMLBytes() argument
283 contentIndex = setEntryBytes(contentIndex, bytes, CONTENTXML); in setContentXMLBytes()
[all …]
/AOO42X/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%) */
1106 1193, /* row 143; 316/384 bytes (82.3%) */
1107 1385, /* row 144; 316/384 bytes (82.3%) */
1108 1577, /* row 145; 316/384 bytes (82.3%) */
[all …]
H A Dcns116431992.tab11740 0, /* plane 1, row 1; 182/190 bytes (95.8%) */
11741 95, /* plane 1, row 2; 186/190 bytes (97.9%) */
11742 190, /* plane 1, row 3; 94/94 bytes (100.0%) */
11743 237, /* plane 1, row 4; 186/190 bytes (97.9%) */
11744 332, /* plane 1, row 5; 162/162 bytes (100.0%) */
11745 413, /* plane 1, row 6; 62/62 bytes (100.0%) */
11746 444, /* plane 1, row 7; 8/28 bytes (28.6%) */
11773 458, /* plane 1, row 34; 68/68 bytes (100.0%) */
11775 492, /* plane 1, row 36; 190/190 bytes (100.0%) */
11776 587, /* plane 1, row 37; 190/190 bytes (100.0%) */
[all …]
/AOO42X/test/testcommon/source/org/openoffice/test/vcl/client/
H A DCommandCaller.java67 private void write(byte[] bytes) { in write() argument
69 dataOutput.write(bytes); in write()
76 byte[] bytes = new byte[len]; in read()
78 dataInput.read(bytes); in read()
82 return bytes; in read()
91 byte[] bytes = new byte[2]; in writeChar()
92 bytes[1] = (byte) ((i & 0xFF00) >> 8); in writeChar()
93 bytes[0] = (byte) (i & 0x00FF); in writeChar()
94 write(bytes); in writeChar()
98 byte[] bytes = read(2); in readChar()
[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()
/AOO42X/main/jurt/java/jurt/src/main/java/com/sun/star/comp/connections/
H A DPipedConnection.java138 int bytes ; in receive() local
141 bytes = Math.min(aData.length - bytesWritten, _in - _out - 1); in receive()
143 System.arraycopy(aData, bytesWritten, _buffer, _out, bytes); in receive()
147 bytes = Math.min(aData.length - bytesWritten, _buffer.length - _out); in receive()
150 bytes = Math.min(aData.length - bytesWritten, _buffer.length - _out - 1); 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
192 … System.arraycopy(_buffer, _in, aReadBytes[0], aReadBytes[0].length - nBytesToRead, bytes); in read()
[all …]
/AOO42X/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()
129 recArray[lastIndex] = new Record(bytes, recAttrs[lastIndex]); in parse()
191 byte[] bytes = null; in parse()
201 bytes = new byte[len]; in parse()
202 dis.readFully(bytes); 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()
/AOO42X/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()
282 while ((len = in.read(bytes)) != -1) in unzipToDirectory()
283 out.write(bytes, 0, len); 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()
[all …]
/AOO42X/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()
/AOO42X/main/udkapi/com/sun/star/io/
H A DXInputStream.idl54 /** reads the specified number of bytes in the given sequence.
56 <p>The return value specifies the number of bytes which have been
59 that the method blocks until the specified number of bytes are
63 of bytes (or less as a sign of EOF).
75 <li> the sequence is pre-allocated with the requested number of bytes.
87 the total number of bytes to read
98 /** reads the available number of bytes, at maximum
107 but no more than nMaxBytesToRead, bytes.
109 @param nMaxBytesToRead The maximum number of bytes to be read from this
122 /** skips the next <var>nBytesToSkip</var> bytes (must be positive).
[all …]
/AOO42X/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()
/AOO42X/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()
/AOO42X/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()
/AOO42X/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()
/AOO42X/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()
/AOO42X/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()
/AOO42X/main/qadevOOo/tests/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
/AOO42X/main/qadevOOo/tests/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
/AOO42X/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);
/AOO42X/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);
/AOO42X/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);
/AOO42X/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()

12345678