Home
last modified time | relevance | path

Searched full:keytype (Results 1 – 25 of 616) sorted by relevance

12345678910>>...25

/external/perfetto/src/trace_processor/storage/
Dmetadata.h32 F(benchmark_description, KeyType::kSingle, Variadic::kString), \
33 F(benchmark_name, KeyType::kSingle, Variadic::kString), \
34 F(benchmark_start_time_us, KeyType::kSingle, Variadic::kInt), \
35 F(benchmark_had_failures, KeyType::kSingle, Variadic::kInt), \
36 F(benchmark_label, KeyType::kSingle, Variadic::kString), \
37 F(benchmark_story_name, KeyType::kSingle, Variadic::kString), \
38 F(benchmark_story_run_index, KeyType::kSingle, Variadic::kInt), \
39 F(benchmark_story_run_time_us, KeyType::kSingle, Variadic::kInt), \
40 F(benchmark_story_tags, KeyType::kMulti, Variadic::kString), \
41 F(statsd_triggering_subscription_id, KeyType::kSingle, Variadic::kInt), \
[all …]
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DTestKeyManager.java65 for (String keyType : keyTypes) { in chooseClientAlias()
66 out.print(keyType); in chooseClientAlias()
76 for (String keyType : keyTypes) { in assertKeyTypes()
77 assertKeyType(keyType); in assertKeyTypes()
81 private void assertKeyType(String keyType) { in assertKeyType() argument
82 if (!StandardNames.KEY_TYPES.contains(keyType)) { in assertKeyType()
83 throw new AssertionError("Unexpected key type " + keyType); in assertKeyType()
88 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias() argument
90 out.print(" | keyType: "); in chooseServerAlias()
91 out.print(keyType); in chooseServerAlias()
[all …]
DForwardingX509ExtendedKeyManager.java33 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { in chooseClientAlias() argument
34 return delegate.chooseClientAlias(keyType, issuers, socket); in chooseClientAlias()
37 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias() argument
38 return delegate.chooseServerAlias(keyType, issuers, socket); in chooseServerAlias()
45 public String[] getClientAliases(String keyType, Principal[] issuers) { in getClientAliases() argument
46 return delegate.getClientAliases(keyType, issuers); in getClientAliases()
49 public String[] getServerAliases(String keyType, Principal[] issuers) { in getServerAliases() argument
50 return delegate.getServerAliases(keyType, issuers); in getServerAliases()
53 public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine) { in chooseEngineClientAlias() argument
54 return delegate.chooseEngineClientAlias(keyType, issuers, engine); in chooseEngineClientAlias()
[all …]
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DTestKeyManager.java67 for (String keyType : keyTypes) { in chooseClientAlias()
68 out.print(keyType); in chooseClientAlias()
78 for (String keyType : keyTypes) { in assertKeyTypes()
79 assertKeyType(keyType); in assertKeyTypes()
83 private void assertKeyType(String keyType) { in assertKeyType() argument
84 if (!StandardNames.KEY_TYPES.contains(keyType)) { in assertKeyType()
85 throw new AssertionError("Unexpected key type " + keyType); in assertKeyType()
90 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias() argument
92 out.print(" | keyType: "); in chooseServerAlias()
93 out.print(keyType); in chooseServerAlias()
[all …]
DForwardingX509ExtendedKeyManager.java35 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { in chooseClientAlias() argument
36 return delegate.chooseClientAlias(keyType, issuers, socket); in chooseClientAlias()
39 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { in chooseServerAlias() argument
40 return delegate.chooseServerAlias(keyType, issuers, socket); in chooseServerAlias()
47 public String[] getClientAliases(String keyType, Principal[] issuers) { in getClientAliases() argument
48 return delegate.getClientAliases(keyType, issuers); in getClientAliases()
51 public String[] getServerAliases(String keyType, Principal[] issuers) { in getServerAliases() argument
52 return delegate.getServerAliases(keyType, issuers); in getServerAliases()
55 public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine) { in chooseEngineClientAlias() argument
56 return delegate.chooseEngineClientAlias(keyType, issuers, engine); in chooseEngineClientAlias()
[all …]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DZHash.java26 public class ZHash<KeyType, ValueType> implements ZIndexable<KeyType> {
28 private HashMap<KeyType, ValueType> hash;
29 //private LinkedList<KeyType> zlist;
30 //private ListOrganizer<KeyType> listOrganizer;
31 private ZLinkedList<KeyType> zlist;
34 hash = new HashMap<KeyType, ValueType>();
35 zlist = new ZLinkedList<KeyType>();
36 //listOrganizer = new ListOrganizer<KeyType>(zlist);
44 public ValueType get(KeyType key) { in get()
48 public List<KeyType> getKeysAsList() { in getKeysAsList()
[all …]
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DKeyManagerFactoryTest.java191 for (String keyType : keyTypes) { in test_X509KeyManager()
192 String[] aliases = km.getClientAliases(keyType, null); in test_X509KeyManager()
193 if (empty || keyType == null || keyType.isEmpty()) { in test_X509KeyManager()
194 assertNull(keyType, aliases); in test_X509KeyManager()
197 assertNotNull(keyType, aliases); in test_X509KeyManager()
199 test_X509KeyManager_alias(km, alias, keyType, false, empty); in test_X509KeyManager()
202 for (String keyType : keyTypes) { in test_X509KeyManager()
203 String[] aliases = km.getServerAliases(keyType, null); in test_X509KeyManager()
204 if (empty || keyType == null || keyType.isEmpty()) { in test_X509KeyManager()
205 assertNull(keyType, aliases); in test_X509KeyManager()
[all …]
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/
DKeyManagerFactoryTest.java187 for (String keyType : keyTypes) { in test_X509KeyManager()
188 String[] aliases = km.getClientAliases(keyType, null); in test_X509KeyManager()
189 if (empty || keyType == null || keyType.isEmpty()) { in test_X509KeyManager()
190 assertNull(keyType, aliases); in test_X509KeyManager()
193 assertNotNull(keyType, aliases); in test_X509KeyManager()
195 test_X509KeyManager_alias(km, alias, keyType, false, empty); in test_X509KeyManager()
198 for (String keyType : keyTypes) { in test_X509KeyManager()
199 String[] aliases = km.getServerAliases(keyType, null); in test_X509KeyManager()
200 if (empty || keyType == null || keyType.isEmpty()) { in test_X509KeyManager()
201 assertNull(keyType, aliases); in test_X509KeyManager()
[all …]
/external/webrtc/sdk/android/api/org/webrtc/
DRtcCertificatePem.java44 * Generate a new RtcCertificatePem with the default settings of KeyType = ECDSA and
48 return nativeGenerateCertificate(PeerConnection.KeyType.ECDSA, DEFAULT_EXPIRY); in generateCertificate()
52 * Generate a new RtcCertificatePem with a custom KeyType and the default setting of
55 public static RtcCertificatePem generateCertificate(PeerConnection.KeyType keyType) { in generateCertificate() argument
56 return nativeGenerateCertificate(keyType, DEFAULT_EXPIRY); in generateCertificate()
61 * KeyType = ECDSA.
64 return nativeGenerateCertificate(PeerConnection.KeyType.ECDSA, expires); in generateCertificate()
67 /** Generate a new RtcCertificatePem with a custom KeyType and a custom expires. */
69 PeerConnection.KeyType keyType, long expires) { in generateCertificate() argument
70 return nativeGenerateCertificate(keyType, expires); in generateCertificate()
[all …]
/external/guice/core/src/com/google/inject/internal/
DRealElement.java31 private final String keyType; field in RealElement
33 RealElement(String setName, Element.Type type, String keyType) { in RealElement() argument
34 this(setName, type, keyType, nextUniqueId.incrementAndGet()); in RealElement()
37 RealElement(String setName, Element.Type type, String keyType, int uniqueId) { in RealElement() argument
41 this.keyType = keyType; in RealElement()
60 public String keyType() { in keyType() method in RealElement
61 return keyType; in keyType()
79 + ", keyType=" in toString()
80 + keyType in toString()
90 && ((Element) o).keyType().equals(keyType()); in equals()
[all …]
DRealMapBinder.java69 * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a {@link
73 Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType) { in newMapRealBinder() argument
77 keyType, in newMapRealBinder()
79 Key.get(mapOf(keyType, valueType)), in newMapRealBinder()
80 RealMultibinder.newRealSetBinder(binder, Key.get(entryOfProviderOf(keyType, valueType)))); in newMapRealBinder()
84 * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a {@link
88 Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Annotation annotation) { in newRealMapBinder() argument
92 keyType, in newRealMapBinder()
94 Key.get(mapOf(keyType, valueType), annotation), in newRealMapBinder()
96 binder, Key.get(entryOfProviderOf(keyType, valueType), annotation))); in newRealMapBinder()
[all …]
/external/guava/android/guava/src/com/google/common/collect/
DEnumHashBiMap.java45 private transient Class<K> keyType; field in EnumHashBiMap
50 * @param keyType the key type
52 public static <K extends Enum<K>, V> EnumHashBiMap<K, V> create(Class<K> keyType) { in create() argument
53 return new EnumHashBiMap<>(keyType); in create()
72 private EnumHashBiMap(Class<K> keyType) { in EnumHashBiMap() argument
74 new EnumMap<K, V>(keyType), in EnumHashBiMap()
75 Maps.<V, K>newHashMapWithExpectedSize(keyType.getEnumConstants().length)); in EnumHashBiMap()
76 this.keyType = keyType; in EnumHashBiMap()
99 public Class<K> keyType() { in keyType() method in EnumHashBiMap
100 return keyType; in keyType()
[all …]
DEnumBiMap.java42 private transient Class<K> keyType; field in EnumBiMap
48 * @param keyType the key type
52 Class<K> keyType, Class<V> valueType) { in create() argument
53 return new EnumBiMap<>(keyType, valueType); in create()
71 private EnumBiMap(Class<K> keyType, Class<V> valueType) { in EnumBiMap() argument
72 super(new EnumMap<K, V>(keyType), new EnumMap<V, K>(valueType)); in EnumBiMap()
73 this.keyType = keyType; in EnumBiMap()
79 return ((EnumBiMap<K, ?>) map).keyType(); in inferKeyType()
82 return ((EnumHashBiMap<K, ?>) map).keyType(); in inferKeyType()
97 public Class<K> keyType() { in keyType() method in EnumBiMap
[all …]
/external/guava/guava/src/com/google/common/collect/
DEnumHashBiMap.java45 private transient Class<K> keyType; field in EnumHashBiMap
50 * @param keyType the key type
52 public static <K extends Enum<K>, V> EnumHashBiMap<K, V> create(Class<K> keyType) { in create() argument
53 return new EnumHashBiMap<>(keyType); in create()
72 private EnumHashBiMap(Class<K> keyType) { in EnumHashBiMap() argument
74 new EnumMap<K, V>(keyType), in EnumHashBiMap()
75 Maps.<V, K>newHashMapWithExpectedSize(keyType.getEnumConstants().length)); in EnumHashBiMap()
76 this.keyType = keyType; in EnumHashBiMap()
99 public Class<K> keyType() { in keyType() method in EnumHashBiMap
100 return keyType; in keyType()
[all …]
DEnumBiMap.java42 private transient Class<K> keyType; field in EnumBiMap
48 * @param keyType the key type
52 Class<K> keyType, Class<V> valueType) { in create() argument
53 return new EnumBiMap<>(keyType, valueType); in create()
71 private EnumBiMap(Class<K> keyType, Class<V> valueType) { in EnumBiMap() argument
72 super(new EnumMap<K, V>(keyType), new EnumMap<V, K>(valueType)); in EnumBiMap()
73 this.keyType = keyType; in EnumBiMap()
79 return ((EnumBiMap<K, ?>) map).keyType(); in inferKeyType()
82 return ((EnumHashBiMap<K, ?>) map).keyType(); in inferKeyType()
97 public Class<K> keyType() { in keyType() method in EnumBiMap
[all …]
/external/bcc/src/cc/api/
DBPFTable.h38 template <class KeyType, class ValueType>
43 StatusTuple string_to_key(const std::string& key_str, KeyType* key) { in string_to_key()
51 StatusTuple key_to_string(const KeyType* key, std::string& key_str) { in key_to_string()
193 template <class KeyType, class ValueType>
194 class BPFHashTable : public BPFTableBase<KeyType, ValueType> {
197 : BPFTableBase<KeyType, ValueType>(desc) { in BPFHashTable()
206 virtual StatusTuple get_value(const KeyType& key, ValueType& value) { in get_value()
207 if (!this->lookup(const_cast<KeyType*>(&key), get_value_addr(value))) in get_value()
212 virtual StatusTuple update_value(const KeyType& key, const ValueType& value) { in update_value()
213 if (!this->update(const_cast<KeyType*>(&key), in update_value()
[all …]
/external/libchrome/base/containers/
Dmru_cache.h46 template <class KeyType, class ValueType, class CompareType>
48 typedef std::map<KeyType, ValueType, CompareType> Type;
52 template <class KeyType,
61 typedef std::pair<KeyType, PayloadType> value_type;
65 typedef typename MapType<KeyType,
95 iterator Put(const KeyType& key, Payload&& payload) { in Put()
116 iterator Get(const KeyType& key) { in Get()
129 iterator Peek(const KeyType& key) { in Peek()
136 const_iterator Peek(const KeyType& key) const { in Peek()
222 template <class KeyType,
[all …]
Did_map.h38 using KeyType = K;
43 using HashTable = std::unordered_map<KeyType, V>;
66 KeyType Add(V data) { return AddInternal(std::move(data)); } in Add()
72 void AddWithID(V data, KeyType id) { AddWithIDInternal(std::move(data), id); } in AddWithID()
74 void Remove(KeyType id) { in Remove()
91 V Replace(KeyType id, V new_data) { in Replace()
118 T* Lookup(KeyType id) const { in Lookup()
175 KeyType GetCurrentKey() const { in GetCurrentKey()
215 struct KeyIterator : std::iterator<std::forward_iterator_tag, KeyType> {
220 KeyType operator*() const { return iter_->first; }
[all …]
/external/angle/src/common/third_party/base/anglebase/containers/
Dmru_cache.h42 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, class PayloadType, class CompareType = std::less<KeyType>>
[all …]
/external/guice/core/test/com/google/inject/internal/
DSpiUtils.java111 * @param keyType the TypeLiteral of the key of the map
122 TypeLiteral<?> keyType, in assertMapVisitor() argument
135 mapKey, keyType, valueType, modules, allowDuplicates, expectedMapBindings, results); in assertMapVisitor()
140 mapKey, keyType, valueType, modules, allowDuplicates, expectedMapBindings, results); in assertMapVisitor()
147 TypeLiteral<?> keyType, in mapInjectorTest() argument
158 assertEquals(keyType, mapbinder.getKeyTypeLiteral()); in mapInjectorTest()
192 Key<?> mapOfJavaxProvider = mapKey.ofType(mapOfJavaxProviderOf(keyType, valueType)); in mapInjectorTest()
193 Key<?> mapOfProvider = mapKey.ofType(mapOfProviderOf(keyType, valueType)); in mapInjectorTest()
194 Key<?> mapOfSetOfProvider = mapKey.ofType(mapOfSetOfProviderOf(keyType, valueType)); in mapInjectorTest()
195 Key<?> mapOfSetOfJavaxProvider = mapKey.ofType(mapOfSetOfJavaxProviderOf(keyType, valueType)); in mapInjectorTest()
[all …]
/external/guice/core/src/com/google/inject/multibindings/
DMapBinder.java97 * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a {@link
101 Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType) { in newMapBinder() argument
103 newMapRealBinder(binder.skipSources(MapBinder.class), keyType, valueType)); in newMapBinder()
107 * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a {@link
111 Binder binder, Class<K> keyType, Class<V> valueType) { in newMapBinder() argument
112 return newMapBinder(binder, TypeLiteral.get(keyType), TypeLiteral.get(valueType)); in newMapBinder()
116 * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a {@link
120 Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Annotation annotation) { in newMapBinder() argument
122 newRealMapBinder(binder.skipSources(MapBinder.class), keyType, valueType, annotation)); in newMapBinder()
126 * Returns a new mapbinder that collects entries of {@code keyType}/{@code valueType} in a {@link
[all …]
/external/deqp/framework/delibs/depool/
DdePoolHashSet.h39 * \param KEYTYPE Type of the key.
57 #define DE_DECLARE_POOL_HASH_SET(TYPENAME, KEYTYPE, VALUETYPE) \ argument
60 DE_DECLARE_POOL_HASH(TYPENAME##Hash, KEYTYPE, TYPENAME##Set*); \
69 DE_INLINE deBool TYPENAME##_insert (DE_PTR_TYPE(TYPENAME) hashSet, KEYTYPE key, VALUETYPE value…
70 DE_INLINE deBool TYPENAME##_safeInsert (DE_PTR_TYPE(TYPENAME) hashSet, KEYTYPE key, VALUETYPE va…
71 DE_INLINE TYPENAME##Set* TYPENAME##_find (const TYPENAME* hashSet, KEYTYPE key) DE_UNUSED_…
72 DE_INLINE void TYPENAME##_delete (DE_PTR_TYPE(TYPENAME) hashSet, KEYTYPE key, VALUETYPE value)…
73 DE_INLINE deBool TYPENAME##_exists (const TYPENAME* hashSet, KEYTYPE key, VALUETYPE value) DE…
94 DE_INLINE deBool TYPENAME##_insert (DE_PTR_TYPE(TYPENAME) hashSet, KEYTYPE key, VALUETYPE value) \
111 DE_INLINE deBool TYPENAME##_safeInsert (DE_PTR_TYPE(TYPENAME) hashSet, KEYTYPE key, VALUETYPE value…
[all …]
DdePoolMultiSet.h40 * \param KEYTYPE Type of the key.
61 #define DE_DECLARE_POOL_MULTISET(TYPENAME, KEYTYPE) \ argument
63 DE_DECLARE_POOL_HASH(TYPENAME##Hash, KEYTYPE, int); \
74 deBool TYPENAME##_setKeyCount (DE_PTR_TYPE(TYPENAME) set, KEYTYPE key, int newCount); \
81 DE_INLINE int TYPENAME##_getKeyCount (const TYPENAME* set, KEYTYPE key) \
89 DE_INLINE deBool TYPENAME##_exists (const TYPENAME* set, KEYTYPE key) \
94 DE_INLINE deBool TYPENAME##_insert (DE_PTR_TYPE(TYPENAME) set, KEYTYPE key) \
100 DE_INLINE void TYPENAME##_delete (DE_PTR_TYPE(TYPENAME) set, KEYTYPE key) \
112 * \param KEYTYPE Type of the key.
118 * into multiple functions. The TYPENAME and KEYTYPE parameters
[all …]
/external/eigen/unsupported/Eigen/src/SparseExtra/
DRandomSetter.h21 typedef int KeyType; typedef
22 typedef std::map<KeyType,Scalar> Type;
27 static void setInvalidKey(Type&, const KeyType&) {} in setInvalidKey()
49 typedef int KeyType; typedef
50 typedef std::unordered_map<KeyType,Scalar> Type;
55 static void setInvalidKey(Type&, const KeyType&) {} in setInvalidKey()
66 typedef int KeyType; typedef
67 typedef google::dense_hash_map<KeyType,Scalar> Type;
72 static void setInvalidKey(Type& map, const KeyType& k) in setInvalidKey()
84 typedef int KeyType; typedef
[all …]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DMapEntryLite.java48 public final WireFormat.FieldType keyType; field in MapEntryLite.Metadata
54 WireFormat.FieldType keyType, in Metadata() argument
58 this.keyType = keyType; in Metadata()
74 WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue) { in MapEntryLite() argument
75 this.metadata = new Metadata<K, V>(keyType, defaultKey, valueType, defaultValue); in MapEntryLite()
103 WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue) { in newDefaultInstance() argument
104 return new MapEntryLite<K, V>(keyType, defaultKey, valueType, defaultValue); in newDefaultInstance()
109 FieldSet.writeElement(output, metadata.keyType, KEY_FIELD_NUMBER, key); in writeTo()
114 return FieldSet.computeElementSize(metadata.keyType, KEY_FIELD_NUMBER, key) in computeSerializedSize()
181 if (tag == WireFormat.makeTag(KEY_FIELD_NUMBER, metadata.keyType.getWireType())) { in parseEntry()
[all …]

12345678910>>...25