Home
last modified time | relevance | path

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

/external/libmojo/mojo/edk/test/
Dmojo_test_base.cc137 uint32_t message_size = 0; in ReadMessageWithHandles() local
139 CHECK_EQ(MojoReadMessage(mp, nullptr, &message_size, nullptr, &num_handles, in ReadMessageWithHandles()
144 std::string message(message_size, 'x'); in ReadMessageWithHandles()
145 CHECK_EQ(MojoReadMessage(mp, &message[0], &message_size, handles, in ReadMessageWithHandles()
148 CHECK_EQ(message_size, message.size()); in ReadMessageWithHandles()
161 uint32_t message_size = 0; in ReadMessageWithOptionalHandle() local
163 CHECK_EQ(MojoReadMessage(mp, nullptr, &message_size, nullptr, &num_handles, in ReadMessageWithOptionalHandle()
170 std::string message(message_size, 'x'); in ReadMessageWithOptionalHandle()
171 CHECK_EQ(MojoReadMessage(mp, &message[0], &message_size, handle, in ReadMessageWithOptionalHandle()
174 CHECK_EQ(message_size, message.size()); in ReadMessageWithOptionalHandle()
[all …]
/external/curl/tests/libtest/
Dlib571.c57 int message_size; in rtp_write() local
63 message_size = curlx_uztosi(size * nmemb) - 4; in rtp_write()
65 printf("RTP: message size %d, channel %d\n", message_size, channel); in rtp_write()
66 if(message_size != coded_size) { in rtp_write()
68 coded_size, message_size); in rtp_write()
73 for(i = 0; i < message_size; i += RTP_DATA_SIZE) { in rtp_write()
74 if(message_size - i > RTP_DATA_SIZE) { in rtp_write()
81 if(memcmp(RTP_DATA, data + i, message_size - i) != 0) { in rtp_write()
83 message_size - i, data + i); in rtp_write()
/external/libmojo/mojo/public/cpp/bindings/tests/
De2e_perftest.cc56 void RunTest(int iterations, int batch_size, int message_size);
80 void PingPongTest::RunTest(int iterations, int batch_size, int message_size) { in RunTest() argument
83 message_ = std::string(message_size, 'a'); in RunTest()
150 for (int message_size : kMessageSizes) { in RunTests() local
152 if (message_size == 65536) in RunTests()
156 batch_size, message_size); in RunTests()
158 test.RunTest(num_messages / batch_size, batch_size, message_size); in RunTests()
/external/perfetto/src/tracing/core/
Dtest_config.cc55 static_assert(sizeof(message_size_) == sizeof(proto.message_size()), in FromProto()
57 message_size_ = static_cast<decltype(message_size_)>(proto.message_size()); in FromProto()
85 static_assert(sizeof(message_size_) == sizeof(proto->message_size()), in ToProto()
88 static_cast<decltype(proto->message_size())>(message_size_)); in ToProto()
/external/libmojo/mojo/edk/system/
Dmessage_pipe_perftest.cc36 void SetUpMeasurement(int message_count, size_t message_size) { in SetUpMeasurement() argument
38 message_size_ = message_size; in SetUpMeasurement()
39 payload_ = std::string(message_size, '*'); in SetUpMeasurement()
40 read_buffer_.resize(message_size * 2); in SetUpMeasurement()
Dbroker_messages.h51 const size_t message_size = sizeof(BrokerMessageHeader) + variable
53 Channel::MessagePtr message(new Channel::Message(message_size, num_handles));
Dmessage_pipe_dispatcher.cc150 size_t message_size() const { return message_size_; } in message_size() function in mojo::edk::PeekSizeMessageFilter
590 << "; size=" << filter.message_size() << "]"; in OnPortStatusChanged()
/external/libcxx/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.nonmembers/
Dmake_error_condition.pass.cpp22 const std::error_condition ec1 = std::make_error_condition(std::errc::message_size); in main()
23 assert(ec1.value() == static_cast<int>(std::errc::message_size)); in main()
/external/nanopb-c/generator/google/protobuf/internal/
Dwire_format.py214 message_size = msg.ByteSize()
217 total_size += _VarUInt64ByteSizeNoTag(message_size)
220 total_size += message_size
/external/protobuf/python/google/protobuf/internal/
Dwire_format.py214 message_size = msg.ByteSize()
217 total_size += _VarUInt64ByteSizeNoTag(message_size)
220 total_size += message_size
/external/libmojo/ipc/
Dipc_message.cc134 : message_size(0), message_found(false), pickle_end(nullptr), in NextMessageInfo()
144 info->message_size = 0; in FindNext()
154 info->message_size = pickle_size; in FindNext()
Dipc_message.h179 size_t message_size; member
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/
Dprotobufwireadaptertest.cc78 void ExpectReadPreamble(uint32_t message_size) { in ExpectReadPreamble() argument
82 util::PoloUtil::IntToBigEndianBytes(message_size, size_bytes); in ExpectReadPreamble()
83 EXPECT_CALL(interface_, Receive(message_size)); in ExpectReadPreamble()
/external/protobuf/src/google/protobuf/
Dextension_set_heavy.cc720 int message_size = 0; in MessageSetItemByteSize() local
722 message_size = lazymessage_value->ByteSize(); in MessageSetItemByteSize()
724 message_size = message_value->ByteSize(); in MessageSetItemByteSize()
727 our_size += io::CodedOutputStream::VarintSize32(message_size); in MessageSetItemByteSize()
728 our_size += message_size; in MessageSetItemByteSize()
Dwire_format.cc1123 int message_size = sub_message.ByteSize(); in MessageSetItemByteSize() local
1125 our_size += io::CodedOutputStream::VarintSize32(message_size); in MessageSetItemByteSize()
1126 our_size += message_size; in MessageSetItemByteSize()
/external/perfetto/include/perfetto/tracing/core/
Dtest_config.h71 uint64_t message_size() const { return message_size_; } in message_size() function
/external/perfetto/test/
Dfake_producer.cc68 message_size_ = source_config.for_testing().message_size(); in CreateDataSourceInstance()
/external/perfetto/protos/perfetto/config/
Dtest_config.proto43 optional uint64 message_size = 4; field
Dperfetto_config.proto175 optional uint64 message_size = 4; field
/external/parameter-framework/asio-1.10.6/include/asio/
Derror.hpp82 message_size = ASIO_SOCKET_ERROR(EMSGSIZE), enumerator
/external/libcxx/test/std/diagnostics/syserr/
Derrc.pass.cpp50 static_assert(static_cast<int>(std::errc::message_size) == EMSGSIZE, ""); in main()
/external/tensorflow/tensorflow/contrib/verbs/
Drdma.cc1294 size_t message_size = kMessageTotalBytes; in CreateMessage() local
1346 message_size += gsProtoSize + 4; in CreateMessage()
1348 return string(message, message_size); in CreateMessage()
1617 size_t message_size = in RecvTensorContent() local
1621 << " (Size: 0x" << std::hex << message_size << ")"; in RecvTensorContent()
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
Dsystem_error.inc126 MAP_ERR_TO_COND(WSAEMSGSIZE, message_size);
/external/libcxx/include/
Dsystem_error157 message_size, // EMSGSIZE
301 message_size = EMSGSIZE,
/external/swiftshader/third_party/LLVM/include/llvm/Support/
Dsystem_error.h535 message_size = EMSGSIZE, enumerator