Home
last modified time | relevance | path

Searched refs:messageSize (Results 1 – 23 of 23) 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/benchmark-base/src/main/java/org/conscrypt/
DServerEndpoint.java66 private final int messageSize; field in ServerEndpoint
79 ChannelType channelType, int messageSize, String[] protocols, in ServerEndpoint() argument
84 this.messageSize = messageSize; in ServerEndpoint()
87 buffer = new byte[messageSize]; in ServerEndpoint()
173 while (!stopping && totalBytesRead < messageSize) { in readMessage()
175 int remaining = messageSize - totalBytesRead; in readMessage()
DEngineWrapBenchmark.java55 int messageSize(); in messageSize() method
86 int messageSize = config.messageSize(); in EngineWrapBenchmark() local
87 messageBuffer = bufferType.newBuffer(messageSize); in EngineWrapBenchmark()
88 messageBuffer.put(newTextMessage(messageSize)); in EngineWrapBenchmark()
DServerSocketBenchmark.java44 int messageSize(); in messageSize() method
60 byte[] message = newTextMessage(config.messageSize()); in ServerSocketBenchmark()
65 channelType, config.messageSize(), getProtocols(), ciphers(config)); in ServerSocketBenchmark()
104 byte[] buffer = new byte[config.messageSize()]; in ServerSocketBenchmark()
110 assertEquals(config.messageSize(), numBytes); in ServerSocketBenchmark()
DCipherEncryptBenchmark.java72 int messageSize = messageSize(tx.toFormattedString()); in EncryptStrategy() local
73 outputSize = cipher.getOutputSize(messageSize); in EncryptStrategy()
80 final int messageSize(String transformation) throws Exception { in messageSize() method in CipherEncryptBenchmark.EncryptStrategy
DClientSocketBenchmark.java40 int messageSize(); in messageSize() method
58 message = newTextMessage(config.messageSize()); in ClientSocketBenchmark()
62 ChannelType.CHANNEL, config.messageSize(), getProtocols(), ciphers(config)); in ClientSocketBenchmark()
DEndpointFactory.java12 ServerEndpoint newServer(ChannelType channelType, int messageSize, in newServer() argument
/external/conscrypt/benchmark-android/src/main/java/org/conscrypt/
DCaliperClientSocketBenchmark.java37 public int messageSize; field in CaliperClientSocketBenchmark
75 public int messageSize() { in messageSize() method in CaliperClientSocketBenchmark.CaliperConfig
76 return messageSize; in messageSize()
DAndroidEndpointFactory.java32 public ServerEndpoint newServer(ChannelType channelType, int messageSize, in newServer() argument
35 channelType, messageSize, protocols, ciphers); in newServer()
DCaliperEngineWrapBenchmark.java99 public int messageSize() { in messageSize() method in CaliperEngineWrapBenchmark.CaliperConfig
/external/conscrypt/benchmark-jmh/src/jmh/java/org/conscrypt/
DJmhServerSocketBenchmark.java65 public int messageSize; field in JmhServerSocketBenchmark
101 public int messageSize() { in messageSize() method in JmhServerSocketBenchmark.JmhConfig
102 return messageSize; in messageSize()
DJmhClientSocketBenchmark.java63 public int messageSize; field in JmhClientSocketBenchmark
102 public int messageSize() { in messageSize() method in JmhClientSocketBenchmark.JmhConfig
103 return messageSize; in messageSize()
DOpenJdkEndpointFactory.java34 public ServerEndpoint newServer(ChannelType channelType, int messageSize, in newServer() argument
37 channelType, messageSize, protocols, ciphers); in newServer()
DJmhEngineWrapBenchmark.java103 public int messageSize() { in messageSize() method in JmhEngineWrapBenchmark.JmhConfig
/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.java508 int mojoResult, int messageSize, int handlesCount) { in newReadMessageResult() argument
510 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);