Home
last modified time | relevance | path

Searched refs:key_type (Results 1 – 3 of 3) sorted by relevance

/petsc/include/petsc/private/cpp/
H A Dunordered_map.hpp1145 using key_type = KeyType; typedef
1148 PETSC_NODISCARD std::size_t operator()(const std::pair<key_type, T> &kv) const noexcept in operator ()()
1158 PETSC_NODISCARD std::size_t operator()(const std::pair<key_type, T> &kv) noexcept in operator ()()
1172 using key_type = KeyType; typedef
1175 …PETSC_NODISCARD bool operator()(const std::pair<key_type, T> &lhs, const std::pair<key_type, T> &r… in operator ()()
1181 …PETSC_NODISCARD bool operator()(const std::pair<key_type, T> &lhs, const key_type &rhs) const noex… in operator ()()
1229 using key_type = typename value_type::first_type; typedef in Petsc::UnorderedMap
1241 PETSC_NODISCARD iterator find(const key_type &) noexcept;
1242 PETSC_NODISCARD const_iterator find(const key_type &) const noexcept;
1248 size_type erase(const key_type &) noexcept;
[all …]
/petsc/src/sys/objects/device/interface/
H A Dmemory.cxx159 auto it = map.find(const_cast<map_type::key_type>(ptr)); in search_for()
215 std::forward_as_tuple(const_cast<MemoryMap::map_type::key_type>(ptr)), in PetscDeviceRegisterMemory_Private()
396 const auto found_it = map.find(const_cast<MemoryMap::map_type::key_type>(ptr)); in PetscDeviceDeallocate_Private()
/petsc/src/sys/tests/
H A Dex64.cxx165 using key_type = typename map_type::key_type; typedef in MapTester
171 Printer<key_type> key_printer;
228 auto key = key_type{}; in test_insert()