/third_party/lz4/tests/ |
D | fuzzer.c | 1192 U32 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1; in FUZ_unitTests() local 1205 while (iNext + messageSize < testCompressedSize) { in FUZ_unitTests() 1207 XXH64_update(&xxhOrig, testInput + iNext, messageSize); in FUZ_unitTests() 1210 memcpy (ringBuffer + rNext, testInput + iNext, messageSize); in FUZ_unitTests() 1211 …ast_continue(&streamingState, ringBuffer + rNext, testCompressed, (int)messageSize, testCompressed… in FUZ_unitTests() 1214 …e_continue(&decodeStateSafe, testCompressed, testVerify + dNext, compressedSize, (int)messageSize); in FUZ_unitTests() 1215 … FUZ_CHECKTEST(r!=(int)messageSize, "ringBuffer : LZ4_decompress_safe_continue() test failed"); } in FUZ_unitTests() 1217 XXH64_update(&xxhNewSafe, testVerify + dNext, messageSize); in FUZ_unitTests() 1221 …4_decompress_fast_continue(&decodeStateFast, testCompressed, testVerify + dNext, (int)messageSize); in FUZ_unitTests() 1224 XXH64_update(&xxhNewFast, testVerify + dNext, messageSize); in FUZ_unitTests() [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/ |
D | WriteMessagesBenchmark.cs | 155 int messageSize = message.CalculateSize(); in SubTest() 156 this.outputBuffer = new byte[messageSize]; in SubTest() 157 …gesOutputBuffer = new byte[maxMessageCount * (messageSize + CodedOutputStream.ComputeLengthSize(me… in SubTest()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | DiscardUnknownFieldsTest.java | 77 final int messageSize = payload.size(); in assertReuseCodedInputStreamPreserve() local 78 byte[] copied = new byte[messageSize * 2]; in assertReuseCodedInputStreamPreserve() 80 payload.copyTo(copied, messageSize); in assertReuseCodedInputStreamPreserve() 84 int oldLimit = input.pushLimit(messageSize); in assertReuseCodedInputStreamPreserve()
|
/third_party/vk-gl-cts/executor/ |
D | xeTcpIpLink.cpp | 40 …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()
|
/third_party/vk-gl-cts/execserver/tools/ |
D | xsClient.cpp | 109 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()
|
D | xsTest.cpp | 115 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()
|
/third_party/vk-gl-cts/execserver/ |
D | xsProtocol.hpp | 77 … 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);
|
D | xsProtocol.cpp | 149 void Message::writeHeader (MessageType type, size_t messageSize, deUint8* dst, size_t bufSize) in writeHeader() argument 152 int netSize = hostToNetwork((int)messageSize); in writeHeader()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | MessageParsingHelpers.cs | 111 int messageSize = message.CalculateSize(); in AssertWritingMessage() 120 var singleSpan = new Span<byte>(new byte[messageSize]); in AssertWritingMessage()
|
/third_party/jsframework/runtime/main/extend/systemplugin/napi/ |
D | ohos_telephony_sms.js | 207 messageSize: "[PC Preview] unknow messageSize", property
|
/third_party/protobuf/objectivec/Tests/ |
D | GPBMessageTests.m | 398 size_t messageSize = class_getInstanceSize([GPBMessage class]); 399 XCTAssertEqual((messageSize % sizeof(void *)), (size_t)0, 406 XCTAssertEqual(testMessageSize, messageSize);
|