Home
last modified time | relevance | path

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

12

/external/protobuf/src/google/protobuf/
Dany_test.cc42 protobuf_unittest::TestAny submessage; in TEST() local
43 submessage.set_int32_value(12345); in TEST()
45 message.mutable_any_value()->PackFrom(submessage); in TEST()
51 submessage.Clear(); in TEST()
52 ASSERT_TRUE(message.any_value().UnpackTo(&submessage)); in TEST()
53 EXPECT_EQ(12345, submessage.int32_value()); in TEST()
69 protobuf_unittest::TestAny submessage; in TEST() local
70 submessage.set_int32_value(12345); in TEST()
72 any.PackFrom(submessage); in TEST()
81 submessage.Clear(); in TEST()
[all …]
Dgenerated_message_util.h146 MessageLite* submessage,
159 T* GetOwnedMessage(Arena* message_arena, T* submessage, in GetOwnedMessage() argument
164 message_arena, reinterpret_cast<MessageLite*>(submessage), in GetOwnedMessage()
Dgenerated_message_util.cc762 MessageLite* submessage, in GetOwnedMessageInternal() argument
764 GOOGLE_DCHECK(submessage->GetArena() == submessage_arena); in GetOwnedMessageInternal()
767 message_arena->Own(submessage); in GetOwnedMessageInternal()
768 return submessage; in GetOwnedMessageInternal()
770 MessageLite* ret = submessage->New(message_arena); in GetOwnedMessageInternal()
771 ret->CheckTypeAndMergeFrom(*submessage); in GetOwnedMessageInternal()
/external/grpc-grpc/third_party/nanopb/tests/regression/issue_172/
DSConscript7 incpath.Append(PROTOCPATH="#regression/issue_172/submessage")
8 incpath.Append(CPPPATH="$BUILD/regression/issue_172/submessage")
10 incpath.NanopbProto(['submessage/submessage', 'submessage/submessage.options'])
14 "submessage/submessage.pb.c"])
Dtest.proto2 import "submessage.proto";
5 optional submessage sub = 1;
/external/nanopb-c/tests/regression/issue_172/
DSConscript7 incpath.Append(PROTOCPATH="#regression/issue_172/submessage")
8 incpath.Append(CPPPATH="$BUILD/regression/issue_172/submessage")
10 incpath.NanopbProto(['submessage/submessage', 'submessage/submessage.options'])
14 "submessage/submessage.pb.c"])
Dtest.proto2 import "submessage.proto";
5 optional submessage sub = 1;
/external/pigweed/pw_protobuf/
Dfind.cc31 std::span<const std::byte> submessage; in ProcessField() local
32 if (Status status = decoder.ReadBytes(&submessage); !status.ok()) { in ProcessField()
38 return subdecoder.Decode(submessage); in ProcessField()
Ddocs.rst36 submessage length. Nested messages are limited in size to the maximum value
39 The values that can be set, and their corresponding maximum submessage
43 | MAX_VARINT_SIZE | Maximum submessage length |
/external/protobuf/python/google/protobuf/internal/
Dwell_known_types_test.py965 submessage = any_test_pb2.TestAny()
966 submessage.int_value = 12345
968 msg.Pack(submessage)
972 submessage = any_test_pb2.TestAny()
973 submessage.int_value = 12345
976 msg.Pack(submessage, 'type.myservice.com')
978 'type.myservice.com/%s' % submessage.DESCRIPTOR.full_name)
980 msg.Pack(submessage, 'type.myservice.com/')
982 'type.myservice.com/%s' % submessage.DESCRIPTOR.full_name)
984 msg.Pack(submessage, '')
[all …]
/external/grpc-grpc/third_party/nanopb/tests/regression/issue_172/submessage/
Dsubmessage.options1 submessage.data max_size: 16
Dsubmessage.proto2 message submessage { message
/external/nanopb-c/tests/regression/issue_172/submessage/
Dsubmessage.options1 submessage.data max_size: 16
Dsubmessage.proto2 message submessage { message
/external/grpc-grpc/third_party/nanopb/examples/using_union_messages/
DREADME.txt15 top level message, so that we only need to allocate the one submessage that
17 the top level message, and only then allocate the memory for the submessage
/external/nanopb-c/tests/regression/issue_247/
DSConscript2 # bytes in submessage structures.
/external/grpc-grpc/third_party/nanopb/tests/regression/issue_195/
DSConscript1 # Regression test for Issue 195: Message size not calculated if a submessage includes
/external/nanopb-c/tests/regression/issue_195/
DSConscript1 # Regression test for Issue 195: Message size not calculated if a submessage includes
/external/python/cpython2/Lib/email/test/data/
Dmsg_34.txt17 A submessage
/external/python/cpython3/Lib/test/test_email/data/
Dmsg_34.txt17 A submessage
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_EncodeProto.pbtxt59 - A proto field that contains a submessage or group can only be converted
60 to `DT_STRING` (the serialized submessage). This is to reduce the complexity
Dapi_def_DecodeProtoV2.pbtxt87 - A proto field that contains a submessage or group can only be converted
88 to `DT_STRING` (the serialized submessage). This is to reduce the complexity
/external/perfetto/src/trace_processor/importers/proto/
Dpacket_sequence_state.h109 TraceBlobView submessage = message_.slice(offset, field.size); in GetOrCreateSubmessageView() local
111 new InternedMessageView(std::move(submessage)); in GetOrCreateSubmessageView()
/external/oss-fuzz/projects/fast-dds/
Dpatch.diff34 submessage->pos = next_msg_pos;
/external/grpc-grpc/third_party/nanopb/docs/
Dreference.rst283 :ptr: Pointer to default value for optional fields, or to submessage description for PB_L…
559 Encodes a submessage field, including the size header for it. Works for fields of any message type::
564 :fields: Pointer to the autogenerated field description array for the submessage type, e.g. …
565 :src: Pointer to the structure where submessage data is.
566 :returns: True on success, false on IO errors, pb_encode errors or if submessage size changes…
568 …ffers format, the submessage size must be written before the submessage contents. Therefore, this …
570 If the submessage contains callback fields, the callback function might misbehave and write out a d…

12