Home
last modified time | relevance | path

Searched refs:messageSize (Results 1 – 18 of 18) sorted by relevance

/external/lz4/tests/
Dfuzzer.c704 U32 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1; in FUZ_unitTests() local
715 while (iNext + messageSize < testCompressedSize) { in FUZ_unitTests()
716 XXH64_update(&xxhOrig, testInput + iNext, messageSize); in FUZ_unitTests()
719 memcpy (ringBuffer + rNext, testInput + iNext, messageSize); in FUZ_unitTests()
720 …ess_fast_continue(&streamingState, ringBuffer + rNext, testCompressed, messageSize, testCompressed… in FUZ_unitTests()
723 …Z4_decompress_safe_continue(&decodeState, testCompressed, testVerify + dNext, result, messageSize); in FUZ_unitTests()
724 … FUZ_CHECKTEST(result!=(int)messageSize, "ringBuffer : LZ4_decompress_safe() test failed"); in FUZ_unitTests()
726 XXH64_update(&xxhNew, testVerify + dNext, messageSize); in FUZ_unitTests()
731 iNext += messageSize; in FUZ_unitTests()
732 rNext += messageSize; in FUZ_unitTests()
[all …]
/external/conscrypt/testing/src/main/java/org/conscrypt/testing/
DTestServer.java54 private final int messageSize; field in TestServer
63 public TestServer(SSLServerSocket serverSocket, int messageSize) { in TestServer() argument
65 this.messageSize = messageSize; in TestServer()
66 buffer = new byte[messageSize]; in TestServer()
141 while (totalBytesRead < messageSize) { in readMessage()
142 int remaining = messageSize - totalBytesRead; in readMessage()
/external/conscrypt/openjdk-benchmarks/src/jmh/java/org/conscrypt/benchmarks/
DServerSocketThroughputBenchmark.java105 @Param({"64", "1024"}) public int messageSize; field in ServerSocketThroughputBenchmark
121 message = newTextMessage(messageSize); in setup()
123 server = new TestServer(sslProvider.newServerSocket(cipher), messageSize); in setup()
164 byte[] buffer = new byte[messageSize]; in setup()
167 assertEquals(messageSize, numBytes); in setup()
DSslEngineBenchmark.java156 @Param({"64", "128", "512", "1024", "4096"}) public int messageSize; field in SslEngineBenchmark
176 max(messageSize, serverEngine.getSession().getApplicationBufferSize())); in setup()
177 clientCleartextBuffer = bufferType.newBuffer(messageSize); in setup()
178 clientCleartextBuffer.put(newTextMessage(messageSize)); in setup()
DClientSocketThroughputBenchmark.java130 @Param({"64", "1024"}) public int messageSize; field in ClientSocketThroughputBenchmark
147 message = newTextMessage(messageSize); in setup()
149 server = new TestServer(sslProvider.newServerSocket(cipher), messageSize); in setup()
/external/deqp/executor/
DxeTcpIpLink.cpp40 …atic void writeMessageHeader (de::BlockBuffer<deUint8>& dst, xs::MessageType type, int messageSize) in writeMessageHeader() argument
43 xs::Message::writeHeader(type, messageSize, &hdr[0], xs::MESSAGE_HEADER_SIZE); in writeMessageHeader()
294 size_t messageSize = 0; in run() local
299 xs::Message::parseHeader(&m_curMsgBuf[0], xs::MESSAGE_HEADER_SIZE, messageType, messageSize); in run()
300 hasPayload = m_curMsgPos >= messageSize; in run()
306 …MESSAGE_HEADER_SIZE ? &m_curMsgBuf[xs::MESSAGE_HEADER_SIZE] : DE_NULL, messageSize-xs::MESSAGE_HEA… in run()
312 size_t curSize = hasHeader ? messageSize : (size_t)xs::MESSAGE_HEADER_SIZE; in run()
/external/tpm2/
DCpriRSA.c342 UINT32 messageSize, // IN: the message size in OaepEncode() argument
371 if(messageSize > paddedSize - 2 * hLen - 2) in OaepEncode()
378 padLen = paddedSize - messageSize - (2 * hLen) - 2; in OaepEncode()
382 memcpy(&pp[hLen+padLen], message, messageSize); in OaepEncode()
384 dbSize = hLen+padLen+messageSize; in OaepEncode()
530 UINT32 messageSize, // IN: the message size in RSAES_PKSC1v1_5Encode() argument
534 UINT32 ps = paddedSize - messageSize - 3; in RSAES_PKSC1v1_5Encode()
535 if(messageSize > paddedSize - 11) in RSAES_PKSC1v1_5Encode()
538 memcpy(&padded[paddedSize - messageSize], message, messageSize); in RSAES_PKSC1v1_5Encode()
570 UINT32 *messageSize, // IN/OUT: recovered message size in RSAES_Decode() argument
[all …]
/external/libmojo/mojo/public/java/system/src/org/chromium/mojo/system/
DMessagePipeHandle.java159 public void setMessageSize(int messageSize) { in setMessageSize() argument
160 mMessageSize = messageSize; in setMessageSize()
/external/deqp/execserver/tools/
DxsClient.cpp109 size_t messageSize; in readMessage() local
110 Message::parseHeader(&header[0], (int)header.size(), type, messageSize); in readMessage()
122 readBytes(socket, messageBuf, messageSize-MESSAGE_HEADER_SIZE); in readMessage()
DxsTest.cpp115 size_t messageSize; in readMessage() local
116 Message::parseHeader(&header[0], (int)header.size(), type, messageSize); in readMessage()
128 readBytes(socket, messageBuf, messageSize-MESSAGE_HEADER_SIZE); in readMessage()
/external/deqp/execserver/
DxsProtocol.hpp77 … void parseHeader (const deUint8* data, size_t dataSize, MessageType& type, size_t& messageSize);
78 static void writeHeader (MessageType type, size_t messageSize, deUint8* dst, size_t bufSize);
DxsProtocol.cpp149 void Message::writeHeader (MessageType type, size_t messageSize, deUint8* dst, size_t bufSize) in writeHeader() argument
152 int netSize = hostToNetwork((int)messageSize); in writeHeader()
/external/libmojo/mojo/android/system/src/org/chromium/mojo/system/impl/
DCoreImpl.java570 int mojoResult, int messageSize, int handlesCount) { in newReadMessageResult() argument
572 result.setMessageSize(messageSize); in newReadMessageResult()
/external/protobuf/objectivec/Tests/
DGPBMessageTests.m373 size_t messageSize = class_getInstanceSize([GPBMessage class]);
374 XCTAssertEqual((messageSize % sizeof(void *)), (size_t)0,
381 XCTAssertEqual(testMessageSize, messageSize);
/external/robolectric/v3/runtime/
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...