/third_party/protobuf/src/google/protobuf/ |
D | map_field_test.cc | 175 MapFieldType* map_field = Arena::CreateMessage<MapFieldType>(&arena); in TEST_F() local 178 (*map_field->MutableMap())[100] = 101; in TEST_F() 181 map_field->GetRepeatedField(); in TEST_F() 189 MapFieldBaseStub* map_field = in TEST_F() local 193 EXPECT_TRUE(map_field->MutableRepeatedField() != NULL); in TEST_F() 229 void AddOneStillClean(MapFieldType* map_field) { in AddOneStillClean() argument 230 MapFieldBase* map_field_base = map_field; in AddOneStillClean() 231 Map<int32, int32>* map = map_field->MutableMap(); in AddOneStillClean() 234 Expect(map_field, CLEAN, 1, 1, false); in AddOneStillClean() 237 void MakeMapDirty(MapFieldType* map_field) { in MakeMapDirty() argument [all …]
|
D | reflection_ops.cc | 216 const MapFieldBase* map_field = in IsInitialized() local 218 if (map_field->IsMapValid()) { in IsInitialized() 221 for (map_field->MapBegin(&it), map_field->MapEnd(&end); in IsInitialized() 281 const MapFieldBase* map_field = in IsInitialized() local 283 if (map_field->IsMapValid()) { in IsInitialized() 286 for (map_field->MapBegin(&iter), map_field->MapEnd(&end); in IsInitialized() 319 static bool IsMapValueMessageTyped(const FieldDescriptor* map_field) { in IsMapValueMessageTyped() argument 320 return map_field->message_type()->field(1)->cpp_type() == in IsMapValueMessageTyped() 341 const MapFieldBase* map_field = in DiscardUnknownFields() local 343 if (map_field->IsMapValid()) { in DiscardUnknownFields() [all …]
|
D | generated_message_table_driven.h | 224 bool ParseMap(io::CodedInputStream* input, void* map_field) { in ParseMap() argument 230 ParserType parser(static_cast<MapFieldType*>(map_field)); in ParseMap() 303 const MapFieldType& map_field = 309 for (Iter it = map_field.GetMap().begin(); it != map_field.GetMap().end(); 319 for (Iter it = map_field.GetMap().begin(); it != map_field.GetMap().end();
|
D | map_field_lite.h | 131 return map_field->template ParseWithEnumValidation<UnknownType>( in _InternalParse() 134 T* map_field; member 145 T* map_field, bool (*is_valid)(int), uint32 field_num, in InitEnumParseWrapper() argument 147 return EnumParseWrapper<UnknownType, T>{map_field, is_valid, field_num, in InitEnumParseWrapper()
|
D | dynamic_message.h | 164 RepeatedFieldRef<Message> map_field = in Sort() local 166 for (auto it = map_field.begin(); it != map_field.end(); ++it) { in Sort()
|
D | map_test.cc | 2368 ASSERT_EQ(1, map_message.map_field().size()); in TEST() 2369 ASSERT_EQ(1, map_message.map_field().count(key)); in TEST() 2370 EXPECT_EQ(0, map_message.map_field().find(key)->second.a()); in TEST() 2371 EXPECT_EQ(0, map_message.map_field().find(key)->second.b()); in TEST() 2372 EXPECT_EQ(0, map_message.map_field().find(key)->second.c()); in TEST() 2373 EXPECT_FALSE(map_message.map_field().find(key)->second.has_dummy4()); in TEST() 2374 ASSERT_TRUE(map_message.map_field().find(key)->second.has_dummy5()); in TEST() 2375 EXPECT_EQ(12, map_message.map_field().find(key)->second.dummy5()); in TEST() 2555 ASSERT_EQ(1, map_message.map_field().size()); in TEST() 2556 ASSERT_EQ(1, map_message.map_field().count(key)); in TEST() [all …]
|
D | wire_format.cc | 1232 const MapFieldBase* map_field = in InternalSerializeField() local 1234 if (map_field->IsMapValid()) { in InternalSerializeField() 1494 const MapFieldBase* map_field = in FieldByteSize() local 1496 if (map_field->IsMapValid()) { in FieldByteSize() 1497 count = FromIntSize(map_field->size()); in FieldByteSize() 1615 const MapFieldBase* map_field = in FieldDataOnlyByteSize() local 1617 if (map_field->IsMapValid()) { in FieldDataOnlyByteSize() 1622 for (map_field->MapBegin(&iter), map_field->MapEnd(&end); iter != end; in FieldDataOnlyByteSize()
|
D | map_lite_unittest.proto | 83 map<int32, TestRequiredLite> map_field = 1; field
|
D | map_unittest.proto | 88 map<int32, TestRequired> map_field = 1; field
|
D | text_format.cc | 2127 const RepeatedPtrField<Message>& map_field = in SortMap() local 2129 for (int i = 0; i < map_field.size(); ++i) { in SortMap() 2131 const_cast<RepeatedPtrField<Message>*>(&map_field)->Mutable(i)); in SortMap()
|
D | descriptor.proto | 503 // map<KeyType, ValueType> map_field = 1; 510 // repeated MapFieldEntry map_field = 1;
|
/third_party/protobuf/php/ext/google/protobuf/ |
D | map.c | 43 static void MapFieldIter_make(zval *val, zval *map_field); 416 zval map_field; member 433 ZVAL_NULL(&intern->map_field); in MapFieldIter_create() 448 zval_ptr_dtor(&intern->map_field); in map_field_iter_dtor() 457 static void MapFieldIter_make(zval *val, zval *map_field) { in MapFieldIter_make() argument 462 ZVAL_COPY(&iter->map_field, map_field); in MapFieldIter_make() 490 MapField *map_field = (MapField*)Z_OBJ_P(&intern->map_field); in PHP_METHOD() local 492 upb_mapiter_next(map_field->map, &intern->position); in PHP_METHOD() 502 MapField *field = (MapField*)Z_OBJ_P(&intern->map_field); in PHP_METHOD() 516 MapField *field = (MapField*)Z_OBJ_P(&intern->map_field); in PHP_METHOD() [all …]
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 965 MapField map_field; in ParseMessageFieldNoLabel() local 979 map_field.is_map_field = true; in ParseMessageFieldNoLabel() 986 if (map_field.is_map_field) { in ParseMessageFieldNoLabel() 1003 DO(ParseType(&map_field.key_type, &map_field.key_type_name)); in ParseMessageFieldNoLabel() 1005 DO(ParseType(&map_field.value_type, &map_field.value_type_name)); in ParseMessageFieldNoLabel() 1124 if (map_field.is_map_field) { in ParseMessageFieldNoLabel() 1125 GenerateMapEntry(map_field, field, messages); in ParseMessageFieldNoLabel() 1131 void Parser::GenerateMapEntry(const MapField& map_field, in GenerateMapEntry() argument 1143 if (map_field.key_type_name.empty()) { in GenerateMapEntry() 1144 key_field->set_type(map_field.key_type); in GenerateMapEntry() [all …]
|
D | parser.h | 514 void GenerateMapEntry(const MapField& map_field, FieldDescriptorProto* field,
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
D | Message.php | 108 $map_field = new MapField( 112 $this->$setter($map_field); 115 $map_field = new MapField( 119 $this->$setter($map_field); 122 $map_field = new MapField( 125 $this->$setter($map_field); 555 $map_field = new MapField( 559 $this->$setter($map_field); 562 $map_field = new MapField( 566 $this->$setter($map_field); [all …]
|
/third_party/node/deps/v8/src/compiler/ |
D | escape-analysis.cc | 745 Variable map_field; in ReduceNode() local 748 vobject->FieldAt(HeapObject::kMapOffset).To(&map_field) && in ReduceNode() 749 current->Get(map_field).To(&map)) { in ReduceNode() 770 Variable map_field; in ReduceNode() local 773 vobject->FieldAt(HeapObject::kMapOffset).To(&map_field) && in ReduceNode() 774 current->Get(map_field).To(&object_map)) { in ReduceNode()
|
/third_party/protobuf/cmake/ |
D | libprotobuf.cmake | 20 ${protobuf_source_dir}/src/google/protobuf/map_field.cc 73 ${protobuf_source_dir}/src/google/protobuf/map_field.h
|
D | extract_includes.bat.in | 69 …${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\map_field.h" include\google\protobuf\map_fiel…
|
/third_party/protobuf/java/core/src/test/proto/com/google/protobuf/ |
D | map_initialization_order_test.proto | 52 map<string, bool> map_field = 1; field
|
D | test_bad_identifiers.proto | 173 map<int32, int32> map_field = 1; field
|
/third_party/protobuf/php/tests/proto/ |
D | test.proto | 291 map<int32, google.protobuf.StringValue> map_field = 5; field
|
/third_party/protobuf/ |
D | BUILD.gn | 165 "src/google/protobuf/map_field.cc", 246 "src/google/protobuf/map_field.cc",
|
/third_party/protobuf/src/ |
D | Makefile.am | 111 google/protobuf/map_field.h \ 243 google/protobuf/map_field.cc \
|
/third_party/node/deps/v8/src/torque/ |
D | implementation-visitor.cc | 1639 const Field& map_field = class_type->LookupField("map"); in Visit() local 1640 if (*map_field.offset != 0) { in Visit() 1645 auto it_object_map = initializer_fields.find(map_field.name_and_type.name); in Visit() 1669 initializer_results.field_value_map[map_field.name_and_type.name] = in Visit()
|
/third_party/node/deps/v8/ |
D | BUILD.gn | 6778 "third_party/protobuf/src/google/protobuf/map_field.cc", 6779 "third_party/protobuf/src/google/protobuf/map_field.h",
|