Home
last modified time | relevance | path

Searched refs:Key (Results 1 – 25 of 565) sorted by relevance

12345678910>>...23

/openbsd-src/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/
H A Dcontainer_base_dispatch.hpp113 template<typename Key, typename Mapped, typename Data_Structure_Taq,
117 template<typename Key, typename Mapped, typename Policy_Tl, typename Alloc>
118 struct container_base_dispatch<Key, Mapped, list_update_tag,
128 typedef lu_map_data_<Key, Mapped, at0t, Alloc, at1t> type;
131 template<typename Key, typename Policy_Tl, typename Alloc>
132 struct container_base_dispatch<Key, null_mapped_type, list_update_tag,
142 typedef lu_map_no_data_<Key, null_mapped_type, at0t, Alloc, at1t> type;
145 template<typename Key, typename Mapped, typename Policy_Tl, typename Alloc>
146 struct container_base_dispatch<Key, Mapped, pat_trie_tag, Policy_Tl, Alloc>
153 typedef pat_trie_data_<Key, Mapped, at1t, Alloc> type;
[all …]
H A Dbasic_types.hpp59 template<typename Key, typename Mapped, typename Allocator, bool Store_Hash>
66 template<typename Key, typename Mapped, typename Allocator>
67 struct value_type_base<Key, Mapped, Allocator, false>
76 …typedef typename Allocator::template rebind<std::pair<const Key, Mapped> >::other value_type_alloc…
93 template<typename Key, typename Mapped, typename Allocator>
94 struct value_type_base<Key, Mapped, Allocator, true>
103 …typedef typename Allocator::template rebind<std::pair<const Key, Mapped> >::other value_type_alloc…
118 template<typename Key, typename Allocator>
121 value_type_base<Key, null_mapped_type, Allocator, false>
127 template<typename Key, typename Allocator>
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DAMDGPUMetadata.cpp95 YIO.mapOptional(Kernel::Attrs::Key::ReqdWorkGroupSize, in mapping()
97 YIO.mapOptional(Kernel::Attrs::Key::WorkGroupSizeHint, in mapping()
99 YIO.mapOptional(Kernel::Attrs::Key::VecTypeHint, in mapping()
101 YIO.mapOptional(Kernel::Attrs::Key::RuntimeHandle, MD.mRuntimeHandle, in mapping()
109 YIO.mapOptional(Kernel::Arg::Key::Name, MD.mName, std::string()); in mapping()
110 YIO.mapOptional(Kernel::Arg::Key::TypeName, MD.mTypeName, std::string()); in mapping()
111 YIO.mapRequired(Kernel::Arg::Key::Size, MD.mSize); in mapping()
112 YIO.mapRequired(Kernel::Arg::Key::Align, MD.mAlign); in mapping()
113 YIO.mapRequired(Kernel::Arg::Key::ValueKind, MD.mValueKind); in mapping()
117 YIO.mapOptional(Kernel::Arg::Key::ValueType, Unused); in mapping()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Basic/
H A DTypeTraits.cpp19 #define TYPE_TRAIT_1(Spelling, Name, Key) #Name, argument
21 #define TYPE_TRAIT_2(Spelling, Name, Key) #Name, argument
23 #define TYPE_TRAIT_N(Spelling, Name, Key) #Name, argument
28 #define TYPE_TRAIT_1(Spelling, Name, Key) #Spelling, argument
30 #define TYPE_TRAIT_2(Spelling, Name, Key) #Spelling, argument
32 #define TYPE_TRAIT_N(Spelling, Name, Key) #Spelling, argument
37 #define ARRAY_TYPE_TRAIT(Spelling, Name, Key) #Name, argument
42 #define ARRAY_TYPE_TRAIT(Spelling, Name, Key) #Spelling, argument
47 #define UNARY_EXPR_OR_TYPE_TRAIT(Spelling, Name, Key) #Name, argument
48 #define CXX11_UNARY_EXPR_OR_TYPE_TRAIT(Spelling, Name, Key) #Name, argument
[all …]
/openbsd-src/regress/sys/crypto/key_wrap/
H A Dkey_wrap_test.txt4 Key Data:
9 Key Data:
15 Key Data:
20 Key Data:
26 Key Data:
31 Key Data:
37 Key Data:
42 Key Data:
48 Key Data:
53 Key Data:
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DTypeTraits.h22 #define TYPE_TRAIT_1(Spelling, Name, Key) UTT_##Name, argument
25 #define TYPE_TRAIT_1(Spelling, Name, Key) +1 argument
28 #define TYPE_TRAIT_2(Spelling, Name, Key) BTT_##Name, argument
31 #define TYPE_TRAIT_2(Spelling, Name, Key) +1 argument
34 #define TYPE_TRAIT_N(Spelling, Name, Key) TT_##Name, argument
37 #define TYPE_TRAIT_N(Spelling, Name, Key) +1 argument
43 #define ARRAY_TYPE_TRAIT(Spelling, Name, Key) ATT_##Name, argument
46 #define ARRAY_TYPE_TRAIT(Spelling, Name, Key) +1 argument
52 #define UNARY_EXPR_OR_TYPE_TRAIT(Spelling, Name, Key) UETT_##Name, argument
53 #define CXX11_UNARY_EXPR_OR_TYPE_TRAIT(Spelling, Name, Key) UETT_##Name, argument
[all …]
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DDiagnosticInfo.cpp164 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, in Argument() argument
166 : Key(std::string(Key)) { in Argument()
185 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, const Type *T) in Argument() argument
186 : Key(std::string(Key)) { in Argument()
191 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, StringRef S) in Argument() argument
192 : Key(std::string(Key)), Val(S.str()) {} in Argument()
194 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, int N) in Argument() argument
195 : Key(std::string(Key)), Val(itostr(N)) {} in Argument()
197 DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, float N) in Argument() argument
198 : Key(std::string(Key)), Val(llvm::to_string(N)) {} in Argument()
[all …]
H A DProfileSummary.cpp26 static Metadata *getKeyValMD(LLVMContext &Context, const char *Key, in getKeyValMD() argument
29 Metadata *Ops[2] = {MDString::get(Context, Key), in getKeyValMD()
34 static Metadata *getKeyFPValMD(LLVMContext &Context, const char *Key, in getKeyFPValMD() argument
37 Metadata *Ops[2] = {MDString::get(Context, Key), in getKeyFPValMD()
44 static Metadata *getKeyValMD(LLVMContext &Context, const char *Key, in getKeyValMD() argument
46 Metadata *Ops[2] = {MDString::get(Context, Key), MDString::get(Context, Val)}; in getKeyValMD()
104 static ConstantAsMetadata *getValMD(MDTuple *MD, const char *Key) { in getValMD() argument
113 if (!KeyMD->getString().equals(Key)) in getValMD()
119 static bool getVal(MDTuple *MD, const char *Key, uint64_t &Val) { in getVal() argument
120 if (auto *ValMD = getValMD(MD, Key)) { in getVal()
[all …]
/openbsd-src/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/rb_tree_map_/
H A Dtraits.hpp56 template<typename Key,
66 Key,
72 Key,
78 Key,
83 Key,
92 template<typename Key,
101 Key,
107 Key,
113 Key,
118 Key,
/openbsd-src/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/splay_tree_/
H A Dtraits.hpp57 template<typename Key,
67 Key,
73 Key,
79 Key,
84 Key,
93 template<typename Key,
101 struct tree_traits<Key, null_mapped_type, Cmp_Fn, Node_Update,
103 : public bin_search_tree_traits<Key, null_mapped_type, Cmp_Fn,
105 splay_tree_node_<typename types_traits<Key, null_mapped_type, Allocator, false>::value_type,
107 Key,
/openbsd-src/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/hash_fn/
H A Dranged_hash_fn.hpp59 template<typename Key, typename Hash_Fn, typename Allocator,
64 template<typename Key, typename Hash_Fn, typename Allocator, \
68 ranged_hash_fn<Key, Hash_Fn, Allocator, Comb_Hash_Fn, false>
75 template<typename Key, typename Hash_Fn, typename Allocator,
77 class ranged_hash_fn< Key, Hash_Fn, Allocator, Comb_Hash_Fn, false>
84 typedef typename Allocator::template rebind< Key>::other key_allocator;
146 template<typename Key, typename Hash_Fn, typename Allocator, \
150 ranged_hash_fn<Key,Hash_Fn, Allocator, Comb_Hash_Fn, true>
157 template<typename Key, typename Hash_Fn, typename Allocator,
159 class ranged_hash_fn<Key, Hash_Fn, Allocator, Comb_Hash_Fn, true>
[all …]
H A Dranged_probe_fn.hpp59 template<typename Key, typename Hash_Fn, typename Allocator,
64 template<typename Key, typename Hash_Fn, typename Allocator, \
68 ranged_probe_fn<Key, Hash_Fn, Allocator, Comb_Probe_Fn, Probe_Fn, false>
75 template<typename Key, typename Hash_Fn, typename Allocator,
77 class ranged_probe_fn<Key, Hash_Fn, Allocator, Comb_Probe_Fn,
86 typedef typename Allocator::template rebind<Key>::other key_allocator;
170 template<typename Key, typename Hash_Fn, typename Allocator, \
174 ranged_probe_fn<Key, Hash_Fn, Allocator, Comb_Probe_Fn, Probe_Fn, true>
180 template<typename Key, typename Hash_Fn, typename Allocator,
182 class ranged_probe_fn<Key, Hash_Fn, Allocator, Comb_Probe_Fn,
[all …]
/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DHeaderMap.cpp135 Result.Key = HMAP_EmptyBucketKey; in getBucket()
143 Result.Key = getEndianAdjustedWord(BucketPtr->Key); in getBucket()
188 if (B.Key == HMAP_EmptyBucketKey) continue; in dump()
190 StringRef Key = getStringOrInvalid(B.Key); in dump() local
193 llvm::dbgs() << " " << i << ". " << Key << " -> '" << Prefix << "' '" in dump()
209 if (B.Key == HMAP_EmptyBucketKey) return StringRef(); // Hash miss. in lookupFilename()
212 std::optional<StringRef> Key = getString(B.Key); in lookupFilename() local
213 if (LLVM_UNLIKELY(!Key)) in lookupFilename()
215 if (!Filename.equals_insensitive(*Key)) in lookupFilename()
241 if (B.Key == HMAP_EmptyBucketKey) in reverseLookupFilename()
[all …]
/openbsd-src/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/eq_fn/
H A Dhash_eq_fn.hpp58 template<typename Key, class Eq_Fn, class Allocator, bool Store_Hash>
62 template<typename Key, class Eq_Fn, class Allocator>
65 hash_eq_fn<Key, Eq_Fn, Allocator, false>
70 template<typename Key, class Eq_Fn, class Allocator>
71 struct hash_eq_fn<Key, Eq_Fn, Allocator, false> : public Eq_Fn
75 typedef typename Allocator::template rebind<Key>::other key_allocator;
117 template<typename Key, class Eq_Fn, class Allocator>
120 hash_eq_fn<Key, Eq_Fn, Allocator, true>
125 template<typename Key, class Eq_Fn, class Allocator>
126 struct hash_eq_fn<Key, Eq_Fn, Allocator, true> :
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DSparseSet.h78 unsigned operator()(const KeyT &Key) const {
79 return KeyFunctorT()(Key);
224 iterator find(const KeyT &Key) {
225 return findIndex(KeyIndexOf(Key));
228 const_iterator find(const KeyT &Key) const {
229 return const_cast<SparseSet*>(this)->findIndex(KeyIndexOf(Key));
235 bool contains(const KeyT &Key) const { return find(Key) == end() ? 0 : 1; }
240 size_type count(const KeyT &Key) const { return contains(Key) ? 1 : 0; }
265 ValueT &operator[](const KeyT &Key) {
266 return *insert(ValueT(Key)).first;
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_dense_map.h73 size_type count(const KeyT &Key) const { in count() argument
75 return LookupBucketFor(Key, TheBucket) ? 1 : 0; in count()
78 value_type *find(const KeyT &Key) { in find() argument
80 if (LookupBucketFor(Key, TheBucket)) in find()
84 const value_type *find(const KeyT &Key) const { in find() argument
86 if (LookupBucketFor(Key, TheBucket)) in find()
97 value_type *find_as(const LookupKeyT &Key) { in find_as() argument
99 if (LookupBucketFor(Key, TheBucket)) in find_as()
104 const value_type *find_as(const LookupKeyT &Key) const { in find_as() argument
106 if (LookupBucketFor(Key, TheBucket)) in find_as()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_dense_map_test.cpp211 for (int Key = 0; Key < 5; ++Key) in TYPED_TEST() local
212 this->Map[this->getKey(Key)] = this->getValue(Key); in TYPED_TEST()
216 for (int Key = 0; Key < 5; ++Key) in TYPED_TEST() local
217 EXPECT_EQ(this->getValue(Key), copyMap[this->getKey(Key)]); in TYPED_TEST()
229 for (int Key = 0; Key < 5; ++Key) in TYPED_TEST() local
230 this->Map[this->getKey(Key)] = this->getValue(Key); in TYPED_TEST()
252 for (int Key = 0; Key < 5; ++Key) in TYPED_TEST() local
253 this->Map[this->getKey(Key)] = this->getValue(Key); in TYPED_TEST()
257 for (int Key = 0; Key < 5; ++Key) in TYPED_TEST() local
258 EXPECT_EQ(this->getValue(Key), copyMap[this->getKey(Key)]); in TYPED_TEST()
[all …]
/openbsd-src/gnu/gcc/libstdc++-v3/include/ext/pb_ds/
H A Dassoc_container.hpp59 detail::container_base_dispatch<Key, Mapped, Tag, Policy_Tl, Allocator>::type
62 template<typename Key,
79 typedef typename allocator::template rebind<Key>::other::value_type key_type;
121 container_base<Key, Mapped, Tag, typename __gnu_cxx::typelist::append< \
125 template<typename Key,
157 basic_hash_table<Key, Mapped, Hash_Fn, Eq_Fn, Resize_Policy, Store_Hash, \
162 template<typename Key,
164 typename Hash_Fn = typename detail::default_hash_fn<Key>::type,
165 typename Eq_Fn = typename detail::default_eq_fn<Key>::type,
294 basic_hash_table<Key, Mapped, Hash_Fn, Eq_Fn, Resize_Policy, Store_Hash, \
[all …]
/openbsd-src/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/ov_tree_map_/
H A Dtraits.hpp57 template<typename Key,
67 Key,
77 Key,
86 Key,
124 template<typename Key,
133 Key,
143 Key,
152 Key,
/openbsd-src/gnu/llvm/libcxx/include/experimental/
H A Dunordered_map22 template <class Key, class T,
23 class Hash = hash<Key>,
24 class Pred = equal_to<Key>>
26 std::unordered_map<Key, T, Hash, Pred,
27 polymorphic_allocator<pair<const Key,T>>>;
29 template <class Key, class T,
30 class Hash = hash<Key>,
31 class Pred = equal_to<Key>>
33 std::unordered_multimap<Key, T, Hash, Pred,
34 polymorphic_allocator<pair<const Key,T>>>;
H A Dset22 template <class Key, class T, class Compare = less<Key>>
23 using set = std::set<Key, T, Compare,
24 polymorphic_allocator<pair<const Key,T>>>;
26 template <class Key, class T, class Compare = less<Key>>
27 using multiset = std::multiset<Key, T, Compare,
28 polymorphic_allocator<pair<const Key,T>>>;
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DSparsePropagation.h68 virtual bool IsUntrackedValue(LatticeKey Key) { return false; } in IsUntrackedValue() argument
72 virtual LatticeVal ComputeLatticeVal(LatticeKey Key) { in ComputeLatticeVal() argument
99 virtual void PrintLatticeKey(LatticeKey Key, raw_ostream &OS);
152 LatticeVal getExistingValueState(LatticeKey Key) const { in getExistingValueState() argument
153 auto I = ValueState.find(Key); in getExistingValueState()
160 LatticeVal getValueState(LatticeKey Key);
185 void UpdateState(LatticeKey Key, LatticeVal LV);
220 LatticeKey Key, raw_ostream &OS) { in PrintLatticeKey() argument
230 SparseSolver<LatticeKey, LatticeVal, KeyInfo>::getValueState(LatticeKey Key) { in getValueState() argument
231 auto I = ValueState.find(Key); in getValueState()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUPALMetadata.cpp59 auto Key = mdconst::dyn_extract<ConstantInt>(Tuple->getOperand(I)); in readFromIR() local
61 if (!Key || !Val) in readFromIR()
63 setRegister(Key->getZExtValue(), Val->getZExtValue()); in readFromIR()
120 return PALMD::Key::PS_SCRATCH_SIZE; in getScratchSizeKey()
122 return PALMD::Key::VS_SCRATCH_SIZE; in getScratchSizeKey()
124 return PALMD::Key::GS_SCRATCH_SIZE; in getScratchSizeKey()
126 return PALMD::Key::ES_SCRATCH_SIZE; in getScratchSizeKey()
128 return PALMD::Key::HS_SCRATCH_SIZE; in getScratchSizeKey()
130 return PALMD::Key::LS_SCRATCH_SIZE; in getScratchSizeKey()
132 return PALMD::Key::CS_SCRATCH_SIZE; in getScratchSizeKey()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DProgramStateTrait.h73 #define CLANG_ENTO_PROGRAMSTATE_MAP(Key, Value) llvm::ImmutableMap<Key, Value> argument
87 #define REGISTER_MAP_WITH_PROGRAMSTATE(Name, Key, Value) \ argument
89 CLANG_ENTO_PROGRAMSTATE_MAP(Key, Value))
95 #define REGISTER_MAP_FACTORY_WITH_PROGRAMSTATE(Name, Key, Value) \ argument
96 using Name = llvm::ImmutableMap<Key, Value>; \
148 template <typename Key, typename Data, typename Info>
149 struct ProgramStatePartialTrait<llvm::ImmutableMap<Key, Data, Info>> {
150 using data_type = llvm::ImmutableMap<Key, Data, Info>;
152 using key_type = Key;
196 template <typename Key, typename Info>
[all …]
/openbsd-src/gnu/llvm/clang/tools/clang-offload-packager/
H A DClangOffloadPackager.cpp62 auto [Key, Value] = Arg.split("="); in getImageArguments()
63 if (Args.count(Key)) in getImageArguments()
64 Args[Key] = Saver.save(Args[Key] + "," + Value); in getImageArguments()
66 Args[Key] = Value; in getImageArguments()
87 for (const auto &[Key, Value] : Args) { in bundleImages()
88 if (Key == "file") { in bundleImages()
101 } else if (Key == "kind") { in bundleImages()
104 ImageBinary.StringData[Key] = Value; in bundleImages()
152 const auto [Key, Value] = Arg; in unbundleImages()
153 if (Key == "file") in unbundleImages()
[all …]

12345678910>>...23