HomeSort by relevance Sort by last modified time
    Searched refs:KeyType (Results 1 - 25 of 74) sorted by null

1 2 3

  /art/compiler/driver/
compiler_options_map.h 32 template <typename Base, template <typename TV> class KeyType>
33 struct CompilerOptionsMap : VariantMap<Base, KeyType> {
36 using Key = KeyType<TValue>;
compiler_options_map-storage.h 38 template <typename Base, template <typename TV> class KeyType> \
39 const KeyType<Type> CompilerOptionsMap<Base, KeyType>::Name {__VA_ARGS__};
  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
ZHash.java 26 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) {
    [all...]
  /external/tensorflow/tensorflow/contrib/nearest_neighbor/kernels/
heap.h 33 template <typename KeyType, typename DataType>
38 KeyType key;
42 Item(const KeyType& k, const DataType& d) : key(k), data(d) {}
47 void ExtractMin(KeyType* key, DataType* data) {
61 void InsertUnsorted(const KeyType& key, const DataType& data) {
71 void Insert(const KeyType& key, const DataType& data) {
147 template <typename KeyType, typename DataType>
148 class SimpleHeap : public HeapBase<KeyType, DataType> {
150 void ReplaceTop(const KeyType& key, const DataType& data) {
156 KeyType MinKey() { return this->v_[0].key;
    [all...]
  /external/tensorflow/tensorflow/core/kernels/lookup_tables/
fingerprint64_map_op_kernels.cc 30 template <typename KeyType, typename ValueType>
32 : public virtual LookupInterface<ValueType*, const KeyType&>,
34 absl::Span<const KeyType>> {
36 using key_type = KeyType;
41 Status Lookup(const KeyType& key_to_find, ValueType* value) const override {
46 Status Lookup(absl::Span<const KeyType> keys, absl::Span<ValueType> values,
65 LookupHelper(const KeyType& key_to_find) const {
95 template <typename KeyType, typename ValueType>
98 Fingerprint64Map<KeyType, ValueType>>::Functor,
100 LookupInterface<ValueType*, const KeyType&>
    [all...]
generic_table_op_kernels.cc 28 template <typename KeyType, typename ValueType>
32 // If KeyType is not 'valid' then use the value it wraps as the table key
37 IsValidDataType<KeyType>::value, absl::Span<const KeyType>,
38 absl::Span<const typename KeyType::value_type>>>;
55 // Non-variant KeyType which is the same as Container::key_type.
57 template <typename SfinaeArg = KeyType>
61 return table->InsertOrAssign(keys.flat<KeyType>(),
65 // Variant KeyType; the wrapped type is convertible to
67 template <typename VariantSubType = KeyType>
    [all...]
  /external/swiftshader/third_party/PowerVR_SDK/Tools/
PVRTMap.h 18 template <typename KeyType, typename DataType>
63 PVRTuint32 GetIndexOf(const KeyType key) const
103 DataType& operator[] (const KeyType key)
139 EPVRTError Remove(const KeyType key)
181 bool Exists(const KeyType key) const
190 CPVRTArray<KeyType> m_Keys; /*!< Array of all the keys. Indices match m_Data. */
  /external/libchrome/base/containers/
mru_cache.h 46 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) {
116 iterator Get(const KeyType& key) {
129 iterator Peek(const KeyType& key) {
136 const_iterator Peek(const KeyType& key) const {
222 template <class KeyType,
    [all...]
  /external/clang/test/SemaCXX/
PR11358.cpp 29 template <typename KeyType, typename ValueType>
30 void MapTest(hash_map<KeyType, ValueType> map) {
31 for (hash_map<KeyType, ValueType>::const_iterator it = map.begin(); // expected-error{{missing 'typename'}}
  /external/antlr/runtime/Cpp/include/
antlr3memory.hpp 101 template<class KeyType, class ValueType>
102 class UnOrderedMapType : public std::map< KeyType, ValueType, std::less<KeyType>,
103 AllocatorType<std::pair<KeyType, ValueType> > >
107 template<class KeyType, class ValueType>
108 class OrderedMapType : public std::map< KeyType, ValueType, std::less<KeyType>,
109 AllocatorType<std::pair<KeyType, ValueType> > >
  /external/eigen/unsupported/Eigen/src/SparseExtra/
RandomSetter.h 21 typedef int KeyType;
22 typedef std::map<KeyType,Scalar> Type;
27 static void setInvalidKey(Type&, const KeyType&) {}
49 typedef int KeyType;
50 typedef std::unordered_map<KeyType,Scalar> Type;
55 static void setInvalidKey(Type&, const KeyType&) {}
66 typedef int KeyType;
67 typedef google::dense_hash_map<KeyType,Scalar> Type;
72 static void setInvalidKey(Type& map, const KeyType& k)
84 typedef int KeyType;
    [all...]
  /external/webrtc/talk/app/webrtc/
dtlsidentitystore.h 79 rtc::KeyType key_type,
85 // RequestIdentity should replace the old one that takes rtc::KeyType. When
109 rtc::KeyType key_type,
116 bool HasFreeIdentityForTesting(rtc::KeyType key_type) const;
120 rtc::KeyType key_type,
122 void OnIdentityGenerated(rtc::KeyType key_type,
131 IdentityResult(rtc::KeyType key_type,
135 rtc::KeyType key_type_;
159 // One RequestInfo per KeyType. Only touch on the |signaling_thread_|.
dtlsidentitystore.cc 59 WorkerTask(DtlsIdentityStoreImpl* store, rtc::KeyType key_type)
70 LOG(LS_INFO) << "Generating identity, using keytype " << key_type_;
119 const rtc::KeyType key_type_;
142 rtc::KeyType key_type,
164 rtc::KeyType key_type) const {
170 rtc::KeyType key_type,
209 rtc::KeyType key_type, rtc::scoped_ptr<rtc::SSLIdentity> identity) {
  /external/webrtc/webrtc/system_wrappers/source/
sort.cc 80 template<typename KeyType>
82 KeyType key_;
170 template <typename KeyType>
172 bool operator()(const SortKey<KeyType>& sort_key_x,
173 const SortKey<KeyType>& sort_key_y) const {
178 template <typename KeyType>
180 KeyType operator()(const SortKey<KeyType>& sort_key,
205 template<typename KeyType>
207 SortKey<KeyType>*& ptr_sort_key
    [all...]
  /external/bcc/src/cc/api/
BPFTable.h 38 template <class KeyType, class ValueType>
43 StatusTuple string_to_key(const std::string& key_str, KeyType* key) {
51 StatusTuple key_to_string(const KeyType* key, std::string& key_str) {
193 template <class KeyType, class ValueType>
194 class BPFHashTable : public BPFTableBase<KeyType, ValueType> {
197 : BPFTableBase<KeyType, ValueType>(desc) {
206 virtual StatusTuple get_value(const KeyType& key, ValueType& value) {
207 if (!this->lookup(const_cast<KeyType*>(&key), get_value_addr(value)))
212 virtual StatusTuple update_value(const KeyType& key, const ValueType& value) {
213 if (!this->update(const_cast<KeyType*>(&key)
    [all...]
BPF.h 123 template <class KeyType, class ValueType>
124 BPFHashTable<KeyType, ValueType> get_hash_table(const std::string& name) {
127 return BPFHashTable<KeyType, ValueType>(it->second);
128 return BPFHashTable<KeyType, ValueType>({});
131 template <class KeyType, class ValueType>
132 BPFPercpuHashTable<KeyType, ValueType> get_percpu_hash_table(
136 return BPFPercpuHashTable<KeyType, ValueType>(it->second);
137 return BPFPercpuHashTable<KeyType, ValueType>({});
  /external/webrtc/webrtc/base/
sslidentity.h 121 enum KeyType { KT_RSA, KT_ECDSA, KT_LAST, KT_DEFAULT = KT_RSA };
137 // Generate a KeyParams object from a simple KeyType, using default params.
138 explicit KeyParams(KeyType key_type = KT_DEFAULT);
156 KeyType type() const { return type_; }
159 KeyType type_;
166 // TODO(hbos): Remove once rtc::KeyType (to be modified) and
168 // appropriately we can change KeyType enum -> class without breaking Chromium.
169 KeyType IntKeyTypeFamilyToKeyType(int key_type_family);
194 KeyType key_type) {
  /frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
InitDataParser.h 38 V1_0::KeyType keyType,
47 std::string generateRequest(V1_0::KeyType keyType,
  /external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
PVRTTextureAPI.h 22 template <typename KeyType, typename DataType>
  /external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/
PVRTTextureAPI.h 22 template <typename KeyType, typename DataType>
  /external/webrtc/webrtc/system_wrappers/test/TestSort/
TestSort.cc 24 template<typename KeyType>
27 KeyType key;
48 template<typename DataType, typename KeyType>
51 KeyType keyX = ((const DataType*)dataX)->key;
52 KeyType keyY = ((const DataType*)dataY)->key;
127 template<typename KeyType>
132 KeyType key[DataLength];
133 KeyType keyRef[DataLength];
134 LotsOfData<KeyType> data[DataLength];
135 LotsOfData<KeyType> dataRef[DataLength]
    [all...]
  /frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
InitDataParser.cpp 49 V1_0::KeyType keyType,
73 if (keyType == V1_0::KeyType::RELEASE) {
78 std::string requestJson = generateRequest(keyType, keyIds);
139 std::string InitDataParser::generateRequest(V1_0::KeyType keyType,
157 if (keyType == V1_0::KeyType::STREAMING) {
159 } else if (keyType == V1_0::KeyType::OFFLINE |
    [all...]
  /bootable/recovery/install/include/install/
verifier.h 49 } KeyType;
51 Certificate(int hash_len_, KeyType key_type_, std::unique_ptr<RSA, RSADeleter>&& rsa_,
57 KeyType key_type;
  /external/google-breakpad/src/processor/
static_map_unittest.cc 42 typedef int KeyType;
43 typedef google_breakpad::StaticMap< KeyType, ValueType > TestMap;
44 typedef std::map< KeyType, ValueType > StdMap;
107 sizeof(uint32_t) + kNumNodes * (sizeof(uint32_t) + sizeof(KeyType));
124 sizeof(uint32_t) + kNumNodes * (sizeof(uint32_t) + sizeof(KeyType));
129 KeyType* keys = reinterpret_cast<KeyType*>(
174 sizeof(uint32_t) + sizeof(KeyType) + sizeof(ValueType);
240 void FindTester(int test_case, const KeyType &key) {
246 void LowerBoundTester(int test_case, const KeyType &key)
    [all...]
  /external/vixl/test/
test-invalset.cc 36 typedef ptrdiff_t KeyType;
43 Obj(KeyType key, ValType val) : key_(key), val_(val) {}
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) {

Completed in 502 milliseconds

1 2 3