Home
last modified time | relevance | path

Searched refs:MapMessage (Results 1 – 4 of 4) sorted by relevance

/third_party/protobuf/src/google/protobuf/
Dmap_test_util_impl.h50 typename MapMessage>
51 static void SetMapFields(MapMessage* message);
55 typename MapMessage>
56 static void SetArenaMapFields(MapMessage* message);
59 template <typename MapMessage>
60 static void SetMapFieldsInitialized(MapMessage* message);
64 template <typename EnumType, EnumType enum_value, typename MapMessage>
65 static void ModifyMapFields(MapMessage* message);
70 typename MapMessage>
71 static void ExpectMapFieldsSet(const MapMessage& message);
[all …]
/third_party/protobuf/ruby/tests/
Dbasic.rb172 MapMessage.new(:map_string_int32 => "hello")
183 m = MapMessage.new
187 m = MapMessage.new(
220 m = MapMessage.new(:map_string_int32 => { 1 => "I am not a number" })
225 m = MapMessage.new
229 m = MapMessage.new(
239 m = MapMessage.new(
250 m = MapMessage.new(map_string_int32: { "aaa" => 1 })
393 m = MapMessage.new(
398 m2 = MapMessage.decode(MapMessage.encode(m))
[all …]
Dbasic_test.proto94 message MapMessage { message
/third_party/protobuf/ruby/compatibility_tests/v3.0.0/tests/
Dbasic.rb108 MapMessage = pool.lookup("MapMessage").msgclass constant
212 MapMessage.new(:map_string_int32 => "hello")
700 m = MapMessage.new
704 m = MapMessage.new(
748 m = MapMessage.new(:map_string_int32 => { 1 => "I am not a number" })
756 m = MapMessage.new(
760 m2 = MapMessage.decode(MapMessage.encode(m))
763 m3 = MapMessageWireEquiv.decode(MapMessage.encode(m))
1264 m = MapMessage.new(:map_string_int32 => {"a" => 1})
1267 assert MapMessage.encode_json(m) == expected
[all …]