Home
last modified time | relevance | path

Searched refs:KeyType (Results 1 – 6 of 6) sorted by relevance

/petsc/include/petsc/private/
H A Dhashmap.h37 #define PETSC_HASH_MAP_DECL(HashT, KeyType, ValType) \ argument
48 static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Has(Petsc##HashT, KeyType, PetscBool *); \
49 static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Get(Petsc##HashT, KeyType, ValType *); \
50 …static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##GetWithDefault(Petsc##HashT, KeyType, ValT…
51 static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Set(Petsc##HashT, KeyType, ValType); \
52 static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Del(Petsc##HashT, KeyType); \
53 …static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##QuerySet(Petsc##HashT, KeyType, ValType, P…
54 …static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##QueryDel(Petsc##HashT, KeyType, PetscBool …
55 …static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Find(Petsc##HashT, KeyType, PetscHashIter …
56 …static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Put(Petsc##HashT, KeyType, PetscHashIter *…
[all …]
H A Dhashset.h34 #define PETSC_HASH_SET(HashT, KeyType, HashFunc, EqualFunc) \ argument
36 KHASH_INIT(HashT, KeyType, char, 0, HashFunc, EqualFunc) \
69 KeyType key; \
85 KeyType key; \
131 …static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Has(Petsc##HashT ht, KeyType key, PetscBoo…
142 static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Add(Petsc##HashT ht, KeyType key) \
154 static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##Del(Petsc##HashT ht, KeyType key) \
164 …static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##QueryAdd(Petsc##HashT ht, KeyType key, Pet…
178 …static inline PETSC_UNUSED PetscErrorCode Petsc##HashT##QueryDel(Petsc##HashT ht, KeyType key, Pet…
194 …TSC_UNUSED PetscErrorCode Petsc##HashT##GetElems(Petsc##HashT ht, PetscInt *off, KeyType array[]) \
[all …]
H A Dhashset.txt8 PetscHSet<T> - Hash set with a key of <KeyType>
171 PetscErrorCode PetscHSet<T>Has(PetscHSet<T> ht, <KeyType> key, PetscBool *has)
190 PetscErrorCode PetscHSet<T>Add(PetscHSet<T> ht, <KeyType> key)
206 PetscErrorCode PetscHSet<T>Del(PetscHSet<T> ht, <KeyType> key)
222 PetscErrorCode PetscHSet<T>QueryAdd(PetscHSet<T> ht, <KeyType> key, PetscBool *missing)
241 PetscErrorCode PetscHSet<T>QueryDel(PetscHSet<T> ht, <KeyType> key, PetscBool *present)
260 PetscErrorCode PetscHSet<T>GetElems(PetscHSet<T> ht, PetscInt *off, <KeyType> array[])
H A Dhashmap.txt8 PetscHMap<T> - Hash table map with a key of <KeyType>
175 PetscErrorCode PetscHMap<T>Has(PetscHMap<T> ht, <KeyType> key, PetscBool *has)
195 PetscErrorCode PetscHMap<T>Get(PetscHMap<T> ht, <KeyType> key, <ValType> *val)
216 …PetscErrorCode PetscHMap<T>GetWithDefault(PetscHMap<T> ht, <KeyType> key, <ValType> default_val, <…
237 PetscErrorCode PetscHMap<T>Set(PetscHMap<T> ht, <KeyType> key, <ValType> val)
255 …PetscErrorCode PetscHMap<T>SetWithMode(PetscHMap<T> ht, <KeyType> key, <ValType> val, InsertMode m…
293 PetscErrorCode PetscHMap<T>Del(PetscHMap<T> ht,<KeyType> key)
309 …PetscErrorCode PetscHMap<T>QuerySet(PetscHMap<T> ht, <KeyType> key, <ValType> val, PetscBool *miss…
329 PetscErrorCode PetscHMap<T>QueryDel(PetscHMap<T> ht, <KeyType> key, PetscBool *present)
348 …PetscErrorCode PetscHMap<T>Find(PetscHMap<T> ht, <KeyType> key, PetscHashIter *iter, PetscBool *fo…
[all …]
/petsc/include/petsc/private/cpp/
H A Dunordered_map.hpp143 template <typename KeyType, typename... ValueTypeArgs>
144 …PETSC_NODISCARD std::pair<iterator, bool> find_and_emplace_(KeyType &&, ValueTypeArgs &&...) noexc…
253 template <typename KeyType, typename ValueConstructor>
254 …PETSC_NODISCARD std::pair<iterator, bool> find_and_emplace_final_(KeyType &&, ValueConstructor &&)…
612 template <typename KeyType, typename ValueConstructor>
613 …V, H, KE>::iterator, bool> KHashTable<V, H, KE>::find_and_emplace_final_(KeyType &&key, ValueConst… in find_and_emplace_final_()
745 template <typename KeyType, typename... ValueTypeArgs>
746 …Table<V, H, KE>::iterator, bool> KHashTable<V, H, KE>::find_and_emplace_(KeyType &&key, ValueTypeA… in find_and_emplace_()
748 …return find_and_emplace_final_(std::forward<KeyType>(key), [&] { return value_type{std::forward<Va… in find_and_emplace_()
1142 template <typename KeyType, typename Hasher>
[all …]
/petsc/doc/
H A Dbuild_man_pages.py67 def processkhash(T, t, KeyType, ValType, text): argument
70 …return re.sub('<ValType>',ValType,re.sub('<KeyType>',KeyType,re.sub('<t>',t,re.sub('<T>',T,text))))