Home
last modified time | relevance | path

Searched refs:bytes (Results 26 – 50 of 197) sorted by relevance

12345678

/aoo42x/main/oox/source/core/
H A Dencryption.cxx357 static bool decodeBase64( OUString& base64, vector< sal_uInt8 >& bytes ) in decodeBase64() argument
361 bytes.resize( (len + 3) / 4 * 3 ); in decodeBase64()
362 …int decodedSize = EVP_DecodeBlock( &bytes[ 0 ], reinterpret_cast< sal_uInt8 const * >( base64Ascii… in decodeBase64()
369 bytes.resize( decodedSize ); in decodeBase64()
582 Sequence< sal_Int8 > bytes( 2 ); in readUInt16LE() local
583 sal_Int32 bytesRead = inputStream->readBytes( bytes, 2 ); in readUInt16LE()
586 return (sal_uInt16) ( bytes[0] | (bytes[1] << 8) ); in readUInt16LE()
591 Sequence< sal_Int8 > bytes( 4 ); in readUInt32LE() local
592 sal_Int32 bytesRead = inputStream->readBytes( bytes, 4 ); in readUInt32LE()
595 return (sal_uInt32) ( bytes[0] | (bytes[1] << 8) | (bytes[2] << 16) | (bytes[3] << 24) ); in readUInt32LE()
/aoo42x/main/sal/osl/unx/
H A Dfile.cxx488 size_t const bytes = std::min (m_buflen - bufpos, nBytesRequested); in readFileAt() local
489 OSL_FILE_TRACE("FileHandle_Impl::readFileAt(%d, %lld, %ld)", m_fd, nOffset, bytes); in readFileAt()
491 memcpy (&(buffer[*pBytesRead]), &(m_buffer[bufpos]), bytes); in readFileAt()
492 nBytesRequested -= bytes, *pBytesRead += bytes, nOffset += bytes; in readFileAt()
555 size_t const bytes = std::min (m_bufsiz - bufpos, nBytesToWrite); in writeFileAt() local
556 OSL_FILE_TRACE("FileHandle_Impl::writeFileAt(%d, %lld, %ld)", m_fd, nOffset, bytes); in writeFileAt()
558 memcpy (&(m_buffer[bufpos]), &(buffer[*pBytesWritten]), bytes); in writeFileAt()
559 nBytesToWrite -= bytes, *pBytesWritten += bytes, nOffset += bytes; in writeFileAt()
561 m_buflen = std::max(m_buflen, bufpos + bytes); in writeFileAt()
/aoo42x/main/jurt/java/jurt/src/main/java/com/sun/star/lib/uno/bridges/java_remote/
H A DXConnectionOutputStream_Adapter.java59 byte bytes[] ; in write()
62 bytes = b; in write()
65 bytes = new byte[len]; in write()
67 System.arraycopy(b, off, bytes, 0, len); in write()
71 _xConnection.write(bytes); in write()
/aoo42x/main/jurt/demo/com/sun/star/demo/
H A DTestOffice.java63 byte bytes[] = new byte[10]; in testPipe()
64 bytes[0] = 42; in testPipe()
65 rOut.writeBytes(bytes); in testPipe()
70 byte bytes[][] = new byte[1][]; in testPipe()
76 if(rIn.readBytes(bytes, 10) != 10) in testPipe()
79 if(42 != bytes[0][0]) in testPipe()
/aoo42x/main/sal/osl/w32/
H A Dfile.cxx423 SIZE_T const bytes = std::min(m_buflen - bufpos, (SIZE_T)nBytesRequested); in readFileAt() local
424 memcpy (&(buffer[*pBytesRead]), &(m_buffer[bufpos]), bytes); in readFileAt()
425 nBytesRequested -= bytes, *pBytesRead += bytes, nOffset += bytes; in readFileAt()
493 SIZE_T const bytes = std::min(m_bufsiz - bufpos, (SIZE_T)nBytesToWrite); in writeFileAt() local
494 memcpy (&(m_buffer[bufpos]), &(buffer[*pBytesWritten]), bytes); in writeFileAt()
495 nBytesToWrite -= bytes, *pBytesWritten += bytes, nOffset += bytes; in writeFileAt()
497 m_buflen = std::max(m_buflen, bufpos + bytes); in writeFileAt()
/aoo42x/main/javaunohelper/com/sun/star/lib/uno/adapter/
H A DByteArrayToXInputStreamAdapter.java53 public ByteArrayToXInputStreamAdapter(byte[] bytes) { in ByteArrayToXInputStreamAdapter() argument
54 init(bytes); in ByteArrayToXInputStreamAdapter()
57 public void init(byte[] bytes) { in init() argument
59 m_bytes = bytes; in init()
60 m_length = bytes.length; in init()
/aoo42x/main/jurt/source/pipe/
H A Dcom_sun_star_lib_connections_pipe_PipeConnection.c352 jbyteArray bytes; /* java read buffer */ in PipeConnection_read() local
410 bytes = (*env)->NewByteArray(env, len); in PipeConnection_read()
411 if (bytes == NULL) in PipeConnection_read()
420 (*env)->SetByteArrayRegion(env, bytes, 0, len, nbuff); in PipeConnection_read()
421 (*env)->SetObjectArrayElement(env, buffer, 0, bytes); in PipeConnection_read()
422 (*env)->DeleteLocalRef(env, bytes); in PipeConnection_read()
/aoo42x/main/offapi/com/sun/star/sdbc/
H A DXBlob.idl100 value on the client and for determining the position of a pattern of bytes within a
111 /** returns the number of bytes in the
128 /** returns as an array of bytes part or all of the
137 consecutive bytes
148 is the number of consecutive bytes to be copied.
152 consecutive bytes from the
/aoo42x/main/desktop/win32/source/guistdio/
H A Dguistdio.inc53 //Indicates that we read an odd number of bytes. That is, we only read half of the last
66 //If the previous ReadFile call read an odd number of bytes, then the last one was
67 //put at the front of the buffer. We increase the number of read bytes by one to reflect
72 //the number of wchar_t|s as argument. ReadFile, however, reads bytes.
91 { //We have read an even number of bytes. Therefore, we do not put the last incomplete
169 //characters of one, two, and more bytes. If the last character is not
173 //Characters may have one or multiple bytes and different byte ordering
205 //4 bytes with most code pages.
/aoo42x/main/xmerge/java/pexcel/src/main/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/formula/
H A DFormulaHelper.java80 ByteArrayOutputStream bytes = null; in convertCalcToPXL() local
82 bytes = new ByteArrayOutputStream(); in convertCalcToPXL()
85 bytes.write(encoder.getByte(t)); in convertCalcToPXL()
90 return bytes.toByteArray(); in convertCalcToPXL()
/aoo42x/main/xmerge/java/aportisdoc/src/main/java/org/openoffice/xmerge/converter/xml/sxw/aportisdoc/
H A DDocEncoder.java175 byte bytes[] = str.getBytes(ENCODING); in processTextBuffer()
177 return bytes; in processTextBuffer()
202 byte[] bytes = bos.toByteArray(); in getHeaderBytes()
204 return bytes; in getHeaderBytes()
/aoo42x/main/sc/workben/celltrans/
H A Dparse.py120 bh = ord(self.bytes[self.i])
121 bl = ord(self.bytes[self.i+1])
144 self.bytes = file.read()
147 self.size = len(self.bytes)
/aoo42x/test/testassistant/lib/
H A Dtestcommon.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/openoffice/ org/openoffice/test/ org/openoffice/test/common/ ...
/aoo42x/main/jurt/java/jurt/src/main/java/com/sun/star/lib/connections/socket/
H A DSocketConnection.java135 …public int read(/*OUT*/byte[][] bytes, int nBytesToRead) throws com.sun.star.io.IOException, com.s… in read() argument
145 bytes[0] = new byte[nBytesToRead]; in read()
151 count = _inputStream.read(bytes[0], read_bytes, nBytesToRead - read_bytes); in read()
175 …ystem.err.println("##### " + getClass().getName() + " - read byte:" + read_bytes + " " + bytes[0]); in read()
/aoo42x/main/qadevOOo/runner/util/
H A DAccessibilityTools.java294 byte[] bytes = cha.getBytes(); in getSheetCell()
296 if ((bytes[0] >= 'A') && (bytes[0] <= 'Z')){ in getSheetCell()
297 charMem = bytes[0]-64; in getSheetCell()
302 cellIndex= cellIndex+ (bytes[0]-65); in getSheetCell()
/aoo42x/main/udkapi/com/sun/star/connection/
H A DXConnection.idl40 /** reads a requested number of bytes from the connection.
42 with the requested number of bytes, unless it has reached end of file (which
47 @return The read number of bytes.
51 The number of bytes to be read from the stream.
/aoo42x/main/desktop/source/deployment/misc/
H A Ddp_misc.cxx439 sal_uInt8 bytes[ 32 ]; in generateRandomPipeId() local
441 s_hPool, bytes, ARLEN(bytes) ) != rtl_Random_E_None) { in generateRandomPipeId()
445 for ( sal_uInt32 i = 0; i < ARLEN(bytes); ++i ) { in generateRandomPipeId()
446 buf.append( static_cast<sal_Int32>(bytes[ i ]), 0x10 ); in generateRandomPipeId()
/aoo42x/main/pyuno/source/module/
H A Duno.py31 bytes = str variable
187 if isinstance(value, (bytes, bytearray)):
200 elif isinstance(that, (bytes, bytearray)):
214 if isinstance( b, (bytes, bytearray) ):
/aoo42x/main/sal/osl/os2/
H A Dfile.cxx522 size_t const bytes = std::min (m_buflen - bufpos, nBytesRequested); in readFileAt() local
523 OSL_FILE_TRACE("FileHandle_Impl::readFileAt(%d, %lld, %ld)", m_fd, nOffset, bytes); in readFileAt()
525 memcpy (&(buffer[*pBytesRead]), &(m_buffer[bufpos]), bytes); in readFileAt()
526 nBytesRequested -= bytes, *pBytesRead += bytes, nOffset += bytes; in readFileAt()
588 size_t const bytes = std::min (m_bufsiz - bufpos, nBytesToWrite); in writeFileAt() local
589 OSL_FILE_TRACE("FileHandle_Impl::writeFileAt(%d, %lld, %ld)", m_fd, nOffset, bytes); in writeFileAt()
591 memcpy (&(m_buffer[bufpos]), &(buffer[*pBytesWritten]), bytes); in writeFileAt()
592 nBytesToWrite -= bytes, *pBytesWritten += bytes, nOffset += bytes; in writeFileAt()
594 m_buflen = std::max(m_buflen, bufpos + bytes); in writeFileAt()
/aoo42x/main/cppuhelper/source/
H A Dbootstrap.cxx559 sal_uInt8 bytes[ 16 ]; in bootstrap() local
560 if ( rtl_random_getBytes( hPool, bytes, ARLEN( bytes ) ) in bootstrap()
566 for ( sal_uInt32 i = 0; i < ARLEN( bytes ); ++i ) in bootstrap()
567 buf.append( static_cast< sal_Int32 >( bytes[ i ] ) ); in bootstrap()
/aoo42x/main/scripting/workben/installer/
H A DZipData.java99 byte[] bytes = new byte[1024]; in extractEntry()
102 while ((len = in.read(bytes)) != -1) in extractEntry()
103 out.write(bytes, 0, len); in extractEntry()
/aoo42x/main/jurt/test/com/sun/star/comp/connections/
H A DPipedConnection_Test.java72 byte bytes[][] = new byte[1][]; in run()
75 int read = _pipedConnection.read(bytes, 1); in run()
80 if(_theByte[0] != bytes[0][0]) in run()
/aoo42x/main/offapi/com/sun/star/rendering/
H A DXIntegerBitmapColorSpace.idl39 those bytes, as they appear in the raw bitmap data.<p>
48 a sequence of ceil(BitsPerPixel/8) bytes, and the
50 return that number of bytes. Similarly, the color conversion
76 /** Query whether color data bytes need to be swapped.<p>
83 actual color data bytes might need to get swapped, for the
88 will need to swap the bytes, in order to keep the green
/aoo42x/main/offapi/com/sun/star/packages/zip/
H A DZipConstants.idl117 /** LOC header size in bytes (including signatures)
122 /** EXT header size in bytes (including signatures)
127 /** CEN header size in bytes (including signatures)
132 /** END header size in bytes (including signatures)
/aoo42x/main/qadevOOo/tests/java/ifc/io/
H A D_XInputStream.java60 byte[] bytes = null; field in _XInputStream
72 bytes = (byte[])tEnv.getObjRelation("ByteData"); in before()
74 oStream.writeBytes(bytes); in before()

Completed in 1685 milliseconds

12345678