Home
last modified time | relevance | path

Searched refs:map_field (Results 1 – 21 of 21) sorted by relevance

/external/protobuf/src/google/protobuf/
Dmap_field_test.cc180 MapFieldType* map_field = in TEST_F() local
184 (*map_field->MutableMap())[100] = 101; in TEST_F()
187 map_field->GetRepeatedField(); in TEST_F()
195 MapFieldBaseStub* map_field = in TEST_F() local
199 EXPECT_TRUE(map_field->MutableRepeatedField() != NULL); in TEST_F()
242 void AddOneStillClean(MapFieldType* map_field) { in AddOneStillClean() argument
243 MapFieldBase* map_field_base = map_field; in AddOneStillClean()
244 Map<int32, int32>* map = map_field->MutableMap(); in AddOneStillClean()
247 Expect(map_field, CLEAN, 1, 1, false); in AddOneStillClean()
250 void MakeMapDirty(MapFieldType* map_field) { in MakeMapDirty() argument
[all …]
Dmap_lite_unittest.proto86 map<int32, TestRequiredLite> map_field = 1; field
Dmap_test.cc2371 const FieldDescriptor* map_field = in TEST() local
2375 map_field->message_type()->FindFieldByName("value"); in TEST()
2378 message.GetReflection()->AddMessage(&message, map_field); in TEST()
2392 const FieldDescriptor* map_field = in TEST() local
2395 map_field->message_type()->FindFieldByName("key"); in TEST()
2397 map_field->message_type()->FindFieldByName("value"); in TEST()
2400 message.GetReflection()->AddMessage(&message, map_field); in TEST()
2406 message.GetReflection()->AddMessage(&message, map_field); in TEST()
Dmap_unittest.proto88 map<int32, TestRequired> map_field = 1; field
Dtext_format.cc1666 const RepeatedPtrField<Message>& map_field = in PrintField() local
1669 map_field.pointer_begin(); in PrintField()
1670 it != map_field.pointer_end(); ++it) { in PrintField()
Ddescriptor.proto425 // map<KeyType, ValueType> map_field = 1;
432 // repeated MapFieldEntry map_field = 1;
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc817 MapField map_field; in ParseMessageFieldNoLabel() local
831 map_field.is_map_field = true; in ParseMessageFieldNoLabel()
838 if (map_field.is_map_field) { in ParseMessageFieldNoLabel()
855 DO(ParseType(&map_field.key_type, &map_field.key_type_name)); in ParseMessageFieldNoLabel()
857 DO(ParseType(&map_field.value_type, &map_field.value_type_name)); in ParseMessageFieldNoLabel()
964 if (map_field.is_map_field) { in ParseMessageFieldNoLabel()
965 GenerateMapEntry(map_field, field, messages); in ParseMessageFieldNoLabel()
971 void Parser::GenerateMapEntry(const MapField& map_field, in GenerateMapEntry() argument
983 if (map_field.key_type_name.empty()) { in GenerateMapEntry()
984 key_field->set_type(map_field.key_type); in GenerateMapEntry()
[all …]
Dparser.h492 void GenerateMapEntry(const MapField& map_field, FieldDescriptorProto* field,
/external/protobuf/ruby/ext/google/protobuf_c/
Ddefs.c1420 VALUE map_field = rb_class_new_instance(0, NULL, cFieldDescriptor); in MessageBuilderContext_map() local
1424 FieldDescriptor_name_set(map_field, name_str); in MessageBuilderContext_map()
1425 FieldDescriptor_number_set(map_field, number); in MessageBuilderContext_map()
1426 FieldDescriptor_label_set(map_field, ID2SYM(rb_intern("repeated"))); in MessageBuilderContext_map()
1427 FieldDescriptor_type_set(map_field, ID2SYM(rb_intern("message"))); in MessageBuilderContext_map()
1430 FieldDescriptor_submsg_name_set(map_field, submsg_name); in MessageBuilderContext_map()
1431 Descriptor_add_field(self->descriptor, map_field); in MessageBuilderContext_map()
/external/protobuf/java/core/src/test/proto/com/google/protobuf/
Dmap_initialization_order_test.proto52 map<string, bool> map_field = 1; field
Dtest_bad_identifiers.proto168 map<int32, int32> map_field = 1; field
/external/protobuf/cmake/
Dlibprotobuf.cmake21 ${protobuf_source_dir}/src/google/protobuf/map_field.cc
Dextract_includes.bat.in61 … ${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\map_field.h include\google\protobuf\map_fiel…
/external/protobuf/
DAndroid.bp163 "src/google/protobuf/map_field.cc",
309 "src/google/protobuf/map_field.cc",
DBUILD133 "src/google/protobuf/map_field.cc",
DCHANGES.txt396 - maps now have a dict-like interface (msg.map_field[key] = value)
/external/protobuf/src/
DMakefile.am113 google/protobuf/map_field.h \
230 google/protobuf/map_field.cc \
/external/nos/host/generic/nugget/proto/google/protobuf/
Ddescriptor.proto428 // map<KeyType, ValueType> map_field = 1;
435 // repeated MapFieldEntry map_field = 1;
/external/perfetto/buildtools/
DBUILD.gn188 "protobuf/src/google/protobuf/map_field.cc",
/external/protobuf/util/
DBUILD133 "src/google/protobuf/map_field.cc",
DCHANGES.txt396 - maps now have a dict-like interface (msg.map_field[key] = value)