Home
last modified time | relevance | path

Searched refs:EnumFieldIR (Results 1 – 12 of 12) sorted by relevance

/development/vndk/tools/header-checker/src/repr/
Dir_diff_representation.h233 EnumFieldDiffIR(const EnumFieldIR *old_field, const EnumFieldIR *new_field) in EnumFieldDiffIR()
236 const EnumFieldIR *GetOldField() const { in GetOldField()
240 const EnumFieldIR *GetNewField() const { in GetNewField()
245 const EnumFieldIR *old_field_;
246 const EnumFieldIR *new_field_;
251 void SetFieldsRemoved(std::vector<const EnumFieldIR *> &&fields_removed) { in SetFieldsRemoved()
255 const std::vector<const EnumFieldIR *> &GetFieldsRemoved() const { in GetFieldsRemoved()
259 void SetFieldsAdded(std::vector<const EnumFieldIR *> &&fields_added) { in SetFieldsAdded()
263 const std::vector<const EnumFieldIR *> &GetFieldsAdded() const { in GetFieldsAdded()
313 std::vector<const EnumFieldIR *> fields_removed_;
[all …]
Dabi_diff_helpers.cpp122 const std::vector<EnumFieldIR> &old_fields, in CompareEnumFields()
123 const std::vector<EnumFieldIR> &new_fields, in CompareEnumFields()
125 AbiElementMap<const EnumFieldIR *> old_fields_map; in CompareEnumFields()
126 AbiElementMap<const EnumFieldIR *> new_fields_map; in CompareEnumFields()
128 [](const EnumFieldIR *f) {return f->GetName();}, in CompareEnumFields()
129 [](const EnumFieldIR *f) {return f;}); in CompareEnumFields()
132 [](const EnumFieldIR *f) {return f->GetName();}, in CompareEnumFields()
133 [](const EnumFieldIR *f) {return f;}); in CompareEnumFields()
135 std::vector<const EnumFieldIR *> removed_fields = in CompareEnumFields()
138 std::vector<const EnumFieldIR *> added_fields = in CompareEnumFields()
[all …]
Dir_representation.h455 class EnumFieldIR {
457 EnumFieldIR(const std::string &name, int64_t value) in EnumFieldIR() function
460 EnumFieldIR(const std::string &name, uint64_t value) in EnumFieldIR() function
485 void AddEnumField(EnumFieldIR &&field) { in AddEnumField()
511 void SetFields(std::vector<EnumFieldIR> &&fields) { in SetFields()
515 const std::vector<EnumFieldIR> &GetFields() const { in GetFields()
520 std::vector<EnumFieldIR> fields_;
Dabi_diff_helpers.h164 const std::vector<EnumFieldIR> &old_fields,
165 const std::vector<EnumFieldIR> &new_fields,
/development/vndk/tools/header-checker/src/repr/protobuf/
Dir_reader.cpp180 std::vector<EnumFieldIR> ProtobufIRReader::EnumFieldsProtobufToIR( in EnumFieldsProtobufToIR()
182 std::vector<EnumFieldIR> enum_type_fields_ir; in EnumFieldsProtobufToIR()
184 EnumFieldIR enum_field_ir(field.name(), field.enum_field_value()); in EnumFieldsProtobufToIR()
Dir_reader.h91 std::vector<EnumFieldIR> EnumFieldsProtobufToIR(
Dconverter.h226 const EnumFieldIR *enum_field_ir);
Dconverter.cpp202 const std::vector<const EnumFieldIR *> &enum_fields) { in AddEnumFields()
Dir_dumper.cpp257 const EnumFieldIR *enum_field_ir) { in ConvertEnumFieldIR()
/development/vndk/tools/header-checker/src/repr/json/
Dir_reader.cpp271 enum_ir->AddEnumField(EnumFieldIR(name, value.asUInt64())); in ReadEnumFields()
273 enum_ir->AddEnumField(EnumFieldIR(name, value.asInt64())); in ReadEnumFields()
Dir_dumper.cpp214 static JsonObject ConvertEnumFieldIR(const EnumFieldIR *enum_field_ir) { in ConvertEnumFieldIR()
/development/vndk/tools/header-checker/src/dumper/
Dabi_wrappers.cpp889 enump->AddEnumField(repr::EnumFieldIR(name, value.getZExtValue())); in SetupEnumFields()
891 enump->AddEnumField(repr::EnumFieldIR(name, value.getSExtValue())); in SetupEnumFields()