Searched refs:ResTable_entry_handle (Results 1 – 4 of 4) sorted by relevance
89 explicit Result(ResTable_entry_handle&& value) : data_(value) { }; in Result()105 return std::get_if<ResTable_entry_handle>(&data_); in IsTableEntry()108 inline const ResTable_entry_handle& GetTableEntry() const { in GetTableEntry()109 return *std::get_if<ResTable_entry_handle>(&data_); in GetTableEntry()113 std::variant<uint32_t, nullptr_t, ResTable_entry_handle> data_;
1592 class ResTable_entry_handle {1594 ResTable_entry_handle() = default;1596 ResTable_entry_handle(const ResTable_entry_handle& handle) { in ResTable_entry_handle() function1600 ResTable_entry_handle(ResTable_entry_handle&& handle) noexcept { in ResTable_entry_handle() function1604 inline static ResTable_entry_handle managed(ResTable_entry* entry, void (*deleter)(void *)) { in managed()1605 return ResTable_entry_handle(std::shared_ptr<const ResTable_entry>(entry, deleter)); in managed()1608 inline static ResTable_entry_handle unmanaged(const ResTable_entry* entry) { in unmanaged()1609 return ResTable_entry_handle(std::shared_ptr<const ResTable_entry>(entry, [](auto /*p */){})); in unmanaged()1612 inline ResTable_entry_handle& operator=(const ResTable_entry_handle& handle) noexcept {1617 inline ResTable_entry_handle& operator=(ResTable_entry_handle&& handle) noexcept {[all …]
160 return Result(ResTable_entry_handle::managed(table_entry, [](auto p) { free(p); })); in Lookup()
45 ResTable_entry_handle entry;764 out_entry->entry = ResTable_entry_handle::unmanaged(best_entry); in FindEntryInternal()