/third_party/rust/crates/clap/src/ |
H A D | mkeymap.rs | 10 key: KeyType, 25 pub(crate) enum KeyType { 31 impl KeyType { impls 33 matches!(self, KeyType::Position(_)) 37 impl PartialEq<usize> for KeyType { 40 KeyType::Position(x) => x == rhs, in eq() 46 impl PartialEq<&str> for KeyType { 49 KeyType::Long(l) => l == rhs, in eq() 55 impl PartialEq<str> for KeyType { 58 KeyType in eq() [all...] |
/third_party/json/include/nlohmann/ |
H A D | ordered_map.hpp | 67 template<class KeyType, detail::enable_if_t< 68 detail::is_usable_as_key_type<key_compare, key_type, KeyType>::value, int> = 0> 69 std::pair<iterator, bool> emplace(KeyType && key, T && t) in emplace() 78 Container::emplace_back(std::forward<KeyType>(key), std::forward<T>(t)); in emplace() 87 template<class KeyType, detail::enable_if_t< 88 detail::is_usable_as_key_type<key_compare, key_type, KeyType>::value, int> = 0> 89 T & operator[](KeyType && key) in operator []() 91 return emplace(std::forward<KeyType>(key), T{}).first->second; in operator []() 99 template<class KeyType, detail::enable_if_t< 100 detail::is_usable_as_key_type<key_compare, key_type, KeyType> [all...] |
H A D | json.hpp | 1990 template<class KeyType, detail::enable_if_t< 1991 detail::is_usable_as_basic_json_key_type<basic_json_t, KeyType>::value, int> = 0> 1992 reference at(KeyType && key) in at() 2000 auto it = m_value.object->find(std::forward<KeyType>(key)); in at() 2003 JSON_THROW(out_of_range::create(403, detail::concat("key '", string_t(std::forward<KeyType>(key)), "' not found"), this)); in at() 2028 template<class KeyType, detail::enable_if_t< 2029 detail::is_usable_as_basic_json_key_type<basic_json_t, KeyType>::value, int> = 0> 2030 const_reference at(KeyType && key) const in at() 2038 auto it = m_value.object->find(std::forward<KeyType>(key)); in at() 2041 JSON_THROW(out_of_range::create(403, detail::concat("key '", string_t(std::forward<KeyType>(ke in at() [all...] |
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/containers/ |
H A D | mru_cache.h | 42 template <class KeyType, class ValueType, class CompareType> 45 typedef std::map<KeyType, ValueType, CompareType> Type; 49 template <class KeyType, 58 typedef std::pair<KeyType, PayloadType> value_type; 63 typename MapType<KeyType, typename PayloadList::iterator, HashOrCompareType>::Type KeyIndex; 94 iterator Put(const KeyType &key, Payload &&payload) in Put() 119 iterator Get(const KeyType &key) in Get() 133 iterator Peek(const KeyType &key) in Peek() 141 const_iterator Peek(const KeyType &key) const in Peek() 230 template <class KeyType, clas [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-5/ |
H A D | objc_template.rs | 51 impl<KeyType: 'static, ObjectType: 'static> 52 IFooMultiGeneric<KeyType, ObjectType> for FooMultiGeneric 55 pub trait IFooMultiGeneric<KeyType: 'static, ObjectType: 'static>: 58 unsafe fn objectForKey_(&self, key: *mut KeyType) -> *mut ObjectType in objectForKey_()
|
/third_party/gn/src/gn/ |
H A D | string_atom.cc | 42 using KeyType = const std::string*; 47 KeyType key; 101 void Insert(Node* node, size_t hash, KeyType key) { in Insert() 192 KeyType find(std::string_view key) { in find() 198 KeyType result = GetStringAtomSet().find(key); in find()
|
/third_party/node/deps/v8/include/cppgc/ |
H A D | visitor.h | 168 template <typename KeyType, typename ValueType> 169 void TraceEphemeron(const WeakMember<KeyType>& weak_member_key, in TraceEphemeron() 171 const KeyType* key = weak_member_key.GetRawAtomic(); in TraceEphemeron() 179 // KeyType and ValueType may refer to GarbageCollectedMixin. in TraceEphemeron() 184 TraceTrait<KeyType>::GetTraceDescriptor(key).base_object_payload; in TraceEphemeron() 201 template <typename KeyType, typename ValueType> 202 void TraceEphemeron(const WeakMember<KeyType>& weak_member_key, in TraceEphemeron() 206 const KeyType* key = weak_member_key.GetRawAtomic(); in TraceEphemeron() 217 // KeyType might be a GarbageCollectedMixin. in TraceEphemeron() 219 TraceTrait<KeyType> in TraceEphemeron() [all...] |
/third_party/node/deps/v8/include/v8-include/cppgc/ |
H A D | visitor.h | 166 template <typename KeyType, typename ValueType> 167 void TraceEphemeron(const WeakMember<KeyType>& weak_member_key, in TraceEphemeron() 169 const KeyType* key = weak_member_key.GetRawAtomic(); in TraceEphemeron() 177 // KeyType and ValueType may refer to GarbageCollectedMixin. in TraceEphemeron() 182 TraceTrait<KeyType>::GetTraceDescriptor(key).base_object_payload; in TraceEphemeron() 199 template <typename KeyType, typename ValueType> 200 void TraceEphemeron(const WeakMember<KeyType>& weak_member_key, in TraceEphemeron() 204 const KeyType* key = weak_member_key.GetRawAtomic(); in TraceEphemeron() 215 // KeyType might be a GarbageCollectedMixin. in TraceEphemeron() 217 TraceTrait<KeyType> in TraceEphemeron() [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-9/ |
H A D | objc_template.rs | 51 impl<KeyType: 'static, ObjectType: 'static> 52 IFooMultiGeneric<KeyType, ObjectType> for FooMultiGeneric 55 pub trait IFooMultiGeneric<KeyType: 'static, ObjectType: 'static>:
|
/third_party/vixl/test/ |
H A D | test-invalset.cc | 36 typedef ptrdiff_t KeyType; typedef 43 Obj(KeyType key, ValType val) : key_(key), val_(val) {} in Obj() 44 KeyType key_; 63 static const KeyType kInvalidKey = PTRDIFF_MAX; 69 KeyType, 76 inline KeyType InvalSet<Obj, 78 KeyType, 87 KeyType, 90 kReclaimFactor>::SetKey(Obj* obj, KeyType key) { in SetKey()
|
/third_party/mbedtls/tests/scripts/ |
H A D | generate_psa_tests.py | 64 kt: crypto_knowledge.KeyType, 126 kt = crypto_knowledge.KeyType(key_type) 130 kt = crypto_knowledge.KeyType(constr, [curve_family]) 137 kt = crypto_knowledge.KeyType(constr, [dh_family]) 175 kt: crypto_knowledge.KeyType 217 kt = crypto_knowledge.KeyType(key_type) 221 kt = crypto_knowledge.KeyType(constr, [curve_family]) 225 kt = crypto_knowledge.KeyType(constr, [dh_family]) 243 self.key_types = [crypto_knowledge.KeyType(kt_expr) 251 kt: Optional[crypto_knowledge.KeyType] [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceGlobalContext.cpp | 65 template <typename KeyType, class Enable = void> struct KeyCompare {}; 67 template <typename KeyType> 68 struct KeyCompare<KeyType, 70 std::is_integral<KeyType>::value || 71 std::is_same<KeyType, RelocatableTuple>::value>::type> { 72 bool operator()(const KeyType &Value1, const KeyType &Value2) const { in operator ()() 76 template <typename KeyType> 77 struct KeyCompare<KeyType, typename std::enable_if< 78 std::is_floating_point<KeyType> [all...] |
/third_party/vixl/src/ |
H A D | invalset-vixl.h | 69 // 'ElementType' and 'KeyType' are respectively the types of the elements and 77 class KeyType, \ 78 KeyType INVALID_KEY, \ 84 ElementType, N_PREALLOCATED_ELEMENTS, KeyType, INVALID_KEY, RECLAIM_FROM, \ 103 static const KeyType kInvalidKey = INVALID_KEY; 130 KeyType GetMinElementKey(); 133 static KeyType GetKey(const ElementType& element); 134 static void SetKey(ElementType* element, KeyType key); 137 typedef KeyType _KeyType; 207 KeyType cached_min_key 268 typedef typename S::_KeyType KeyType; global() typedef in vixl::InvalSetIterator [all...] |
/third_party/json/include/nlohmann/detail/meta/ |
H A D | type_traits.hpp | 519 // type trait to check if KeyType can be used as object key (without a BasicJsonType) 522 bool ExcludeObjectKeyType = RequireTransparentComparator, typename KeyType = uncvref_t<KeyTypeCVRef>> 525 && !(ExcludeObjectKeyType && std::is_same<KeyType, 529 && !is_json_pointer<KeyType>::value, 533 // type trait to check if KeyType can be used as object key 535 // - KeyType is comparable with BasicJsonType::object_t::key_type 536 // - if ExcludeObjectKeyType is true, KeyType is not BasicJsonType::object_t::key_type 538 // - KeyType is not a JSON iterator or json_pointer 540 bool ExcludeObjectKeyType = RequireTransparentComparator, typename KeyType = uncvref_t<KeyTypeCVRef>> 545 && !is_json_iterator_of<BasicJsonType, KeyType> [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/ |
H A D | nsBaseHashtable.hpp | 20 typedef typename KeyClass::KeyType KeyType; typedef in nsBaseHashtable
|
/third_party/typescript/tests/baselines/reference/ |
H A D | inferTypeConstraintInstantiationCircularity.js | 2 type AMappedType<T> = { [KeyType in keyof T]: number }; 34 type Simplify<T> = {[KeyType in keyof T]: T[KeyType]};
|
/third_party/node/src/crypto/ |
H A D | crypto_keys.h | 38 enum KeyType { enum 137 KeyType type, 140 KeyType GetKeyType() const; 156 KeyType type, 159 const KeyType key_type_;
|
H A D | crypto_keys.cc | 840 : key_type_(KeyType::kKeyTypeSecret), in KeyObjectData() 844 KeyObjectData::KeyObjectData(KeyType type, const ManagedEVPPKey& pkey) in KeyObjectData() 867 KeyType key_type, in CreateAsymmetric() 873 KeyType KeyObjectData::GetKeyType() const { in GetKeyType() 979 KeyType type = static_cast<KeyType>(args[0].As<Uint32>()->Value()); in Init() 1102 KeyType type = static_cast<KeyType>(args[2].As<Int32>()->Value()); in InitEDRaw() 1143 KeyType key_type = key->GetKeyType(); in Equals() 1248 KeyType typ in CheckEcKeyData() [all...] |
/third_party/skia/src/gpu/ |
H A D | GrProgramDesc.h | 179 using KeyType = SkSTArray<kPreAllocSize, uint32_t, true>; 181 KeyType* key() { return &fKey; } in key()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | IntervalMap.h | 960 using KeyType = KeyT; 2059 using KeyType = typename MapA::KeyType; 2116 KeyType start() const { 2117 KeyType ak = a().start(); 2118 KeyType bk = b().start(); 2123 KeyType stop() const { 2124 KeyType ak = a().stop(); 2125 KeyType bk = b().stop(); 2153 void advanceTo(KeyType [all...] |
/third_party/rust/crates/clap/src/builder/ |
H A D | debug_asserts.rs | 7 use crate::mkeymap::KeyType; 510 if let KeyType::Position(n) = x { in _verify_positionals() 565 let last = &cmd.get_keymap()[&KeyType::Position(highest_idx)]; in _verify_positionals() 566 let second_to_last = &cmd.get_keymap()[&KeyType::Position(highest_idx - 1)]; in _verify_positionals()
|
/third_party/json/single_include/nlohmann/ |
H A D | json.hpp | 3915 // type trait to check if KeyType can be used as object key (without a BasicJsonType) 3918 bool ExcludeObjectKeyType = RequireTransparentComparator, typename KeyType = uncvref_t<KeyTypeCVRef>> 3921 && !(ExcludeObjectKeyType && std::is_same<KeyType, 3925 && !is_json_pointer<KeyType>::value, 3929 // type trait to check if KeyType can be used as object key 3931 // - KeyType is comparable with BasicJsonType::object_t::key_type 3932 // - if ExcludeObjectKeyType is true, KeyType is not BasicJsonType::object_t::key_type 3934 // - KeyType is not a JSON iterator or json_pointer 3936 bool ExcludeObjectKeyType = RequireTransparentComparator, typename KeyType = uncvref_t<KeyTypeCVRef>> 3941 && !is_json_iterator_of<BasicJsonType, KeyType> [all...] |
/third_party/libwebsockets/lib/tls/openssl/ |
H A D | openssl-server.c | 169 int KeyType; local 468 KeyType = EVP_PKEY_type(EVP_PKEY_id(pkey)); 470 if (EVP_PKEY_EC != KeyType) {
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | NewGVN.cpp | 805 template <typename Map, typename KeyType, typename Func> 806 void for_each_found(Map &, const KeyType &, Func); 807 template <typename Map, typename KeyType> 808 void touchAndErase(Map &, const KeyType &); 2046 template <typename Map, typename KeyType, typename Func> 2047 void NewGVN::for_each_found(Map &M, const KeyType &Key, Func F) { 2056 template <typename Map, typename KeyType> 2057 void NewGVN::touchAndErase(Map &M, const KeyType &Key) {
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | map_util.h | 708 template <class MapContainer, class KeyType> 710 std::vector<KeyType>* key_container) { in AppendKeysFromMap()
|