Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/binary/
DResEntryWriter.h35 struct FlatEntry { struct
92 int32_t Write(const FlatEntry* entry) { in Write()
105 virtual int32_t WriteItem(const FlatEntry* entry) = 0;
107 virtual int32_t WriteMap(const FlatEntry* entry) = 0;
113 int32_t WriteMapToBuffer(const FlatEntry* map_entry, BigBuffer* buffer);
116 std::pair<int32_t, T*> WriteItemToBuffer(const FlatEntry* item_entry, BigBuffer* buffer);
128 int32_t WriteItem(const FlatEntry* entry) override { in WriteItem()
133 int32_t WriteMap(const FlatEntry* entry) override { in WriteMap()
152 int32_t WriteItem(const FlatEntry* entry) override { in WriteItem()
168 int32_t WriteMap(const FlatEntry* entry) override { in WriteMap()
DResEntryWriter.cpp187 void WriteEntry(const FlatEntry* entry, T* out_result, bool compact = false) { in WriteEntry()
223 int32_t WriteMapToBuffer(const FlatEntry* map_entry, BigBuffer* buffer) { in WriteMapToBuffer()
235 std::pair<int32_t, T*> WriteItemToBuffer(const FlatEntry* item_entry, BigBuffer* buffer) { in WriteItemToBuffer()
251 const FlatEntry* item_entry, BigBuffer* buffer);
254 const FlatEntry* item_entry, BigBuffer* buffer);
DTableFlattener.cpp146 bool UseCompactEntries(const ConfigDescription& config, std::vector<FlatEntry>* entries) const { in UseCompactEntries()
169 const size_t num_total_entries, std::vector<FlatEntry>* entries, in FlattenConfig()
189 for (FlatEntry& flat_entry : *entries) { in FlattenConfig()
467 std::map<ConfigDescription, std::vector<FlatEntry>> config_to_entry_list_map; in FlattenTypes()
505 FlatEntry{&entry, config_value->value.get(), local_key_index}); in FlattenTypes()
DResEntryWriter_test.cpp43 auto flat_entry = FlatEntry{&entry, value->value.get(), 0}; in WriteAllEntries()