Searched refs:Key (Results 1 - 25 of 477) sorted by relevance

1234567891011>>

/external/libcxx/test/containers/associative/map/
H A Dcompare.pass.cpp12 // template <class Key, class T, class Compare = less<Key>,
13 // class Allocator = allocator<pair<const Key, T>>>
21 struct Key { struct
22 template <typename T> Key(const T&) {} function in struct:Key
23 bool operator< (const Key&) const { return false; }
29 std::map<Key, int>::iterator it = std::map<Key, int>().find(Key(0));
30 std::pair<std::map<Key, in
[all...]
/external/libcxx/test/containers/unord/unord.map/
H A Dcompare.pass.cpp12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>,
13 // class Alloc = allocator<pair<const Key, T>>>
21 struct Key { struct
22 template <typename T> Key(const T&) {} function in struct:Key
23 bool operator== (const Key&) const { return true; }
29 struct hash<Key>
31 size_t operator()(Key const &) const {return 0;}
38 std::unordered_map<Key, in
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
H A DEngineJobListener.java3 import com.bumptech.glide.load.Key;
7 public void onEngineJobComplete(Key key, Resource resource);
9 public void onEngineJobCancelled(Key key);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
H A DNullableIndexSection.java36 public interface NullableIndexSection<Key> extends IndexSection<Key> {
37 int getNullableItemIndex(@Nullable Key key);
H A DNullableOffsetSection.java36 public interface NullableOffsetSection<Key> extends OffsetSection<Key> {
37 int getNullableItemOffset(@Nullable Key key);
H A DIndexSection.java38 public interface IndexSection<Key> {
39 int getItemIndex(@Nonnull Key key);
40 @Nonnull Collection<? extends Map.Entry<? extends Key, Integer>> getItems();
H A DOffsetSection.java38 public interface OffsetSection<Key> {
39 int getItemOffset(@Nonnull Key key);
40 @Nonnull Collection<? extends Map.Entry<? extends Key, Integer>> getItems();
/external/clang/test/Modules/Inputs/submodules/
H A Dhash_map.h1 template<typename Key, typename Data> class hash_map { };
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
H A DDiskCacheAdapter.java3 import com.bumptech.glide.load.Key;
9 public InputStream get(Key key) {
14 public void put(Key key, Writer writer) { }
17 public void delete(Key key) { }
H A DDiskCache.java3 import com.bumptech.glide.load.Key;
32 public InputStream get(Key key);
41 public void put(Key key, Writer writer);
48 public void delete(Key key);
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
H A DClassesKey.java19 private static final Key FACTORY = (Key)KeyFactory.create(Key.class, KeyFactory.OBJECT_BY_CLASS);
21 interface Key { interface in class:ClassesKey
/external/chromium_org/chrome/browser/chromeos/login/auth/
H A Dkey.cc25 Key::Key() : key_type_(KEY_TYPE_PASSWORD_PLAIN) { function in class:chromeos::Key
28 Key::Key(const Key& other) : key_type_(other.key_type_), function in class:chromeos::Key
34 Key::Key(const std::string& plain_text_password) function in class:chromeos::Key
39 Key::Key(KeyType key_type, const std::string& salt, const std::string& secret) function in class:chromeos::Key
46 Key
[all...]
H A Dkey_unittest.cc21 Key key(kPassword);
23 EXPECT_EQ(Key::KEY_TYPE_PASSWORD_PLAIN, key.GetKeyType());
28 EXPECT_EQ(Key::KEY_TYPE_PASSWORD_PLAIN, key.GetKeyType());
34 Key key(kPassword);
35 key.Transform(Key::KEY_TYPE_SALTED_SHA256_TOP_HALF, kSalt);
36 EXPECT_EQ(Key::KEY_TYPE_SALTED_SHA256_TOP_HALF, key.GetKeyType());
41 Key key(kPassword);
42 key.Transform(Key::KEY_TYPE_SALTED_PBKDF2_AES256_1234, kSalt);
43 EXPECT_EQ(Key::KEY_TYPE_SALTED_PBKDF2_AES256_1234, key.GetKeyType());
H A Dkey.h12 // Key for user authentication. The class supports hashing of plain text
14 class Key { class in namespace:chromeos
25 Key();
26 Key(const Key& other);
27 explicit Key(const std::string& plain_text_password);
28 Key(KeyType key_type, const std::string& salt, const std::string& secret);
29 ~Key();
31 bool operator==(const Key& other) const;
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
H A DBuilderMapEntryCollection.java40 public abstract class BuilderMapEntryCollection<Key> extends AbstractCollection<Map.Entry<Key, Integer>> {
41 @Nonnull private final Collection<Key> keys;
43 public BuilderMapEntryCollection(@Nonnull Collection<Key> keys) {
47 private class MapEntry implements Map.Entry<Key, Integer> {
48 @Nonnull private Key key;
50 @Nonnull @Override public Key getKey() {
63 @Nonnull @Override public Iterator<Map.Entry<Key, Integer>> iterator() {
64 final Iterator<Key> iter = keys.iterator();
66 return new Iterator<Map.Entry<Key, Intege
[all...]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
H A DBaseNullableOffsetPool.java39 public abstract class BaseNullableOffsetPool<Key> extends BaseOffsetPool<Key>
40 implements NullableOffsetSection<Key> {
41 @Override public int getNullableItemOffset(@Nullable Key key) {
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Dhash.h62 template <typename Key>
65 int operator()(const Key& key) {
70 inline bool operator()(const Key& a, const Key& b) const {
89 template <typename Key, typename Data,
90 typename HashFcn = hash<Key>,
92 class hash_map : public std::map<Key, Data, HashFcn> {
97 template <typename Key,
98 typename HashFcn = hash<Key>,
100 class hash_set : public std::set<Key, HashFc
[all...]
/external/protobuf/src/google/protobuf/stubs/
H A Dhash.h62 template <typename Key>
65 int operator()(const Key& key) {
70 inline bool operator()(const Key& a, const Key& b) const {
89 template <typename Key, typename Data,
90 typename HashFcn = hash<Key>,
92 class hash_map : public std::map<Key, Data, HashFcn> {
95 template <typename Key,
96 typename HashFcn = hash<Key>,
98 class hash_set : public std::set<Key, HashFc
[all...]
/external/chromium_org/third_party/leveldatabase/src/db/
H A Dskiplist.h37 template<typename Key, class Comparator>
50 void Insert(const Key& key);
53 bool Contains(const Key& key) const;
67 const Key& key() const;
78 void Seek(const Key& target);
115 Node* NewNode(const Key& key, int height);
117 bool Equal(const Key& a, const Key& b) const { return (compare_(a, b) == 0); }
120 bool KeyIsAfterNode(const Key& key, Node* n) const;
127 Node* FindGreaterOrEqual(const Key
[all...]
/external/chromium_org/android_webview/browser/
H A Dgl_view_renderer_manager.h27 typedef ListType::iterator Key; typedef in class:android_webview::GLViewRendererManager
31 Key NullKey();
33 Key PushBack(RendererType view);
37 void DidDrawGL(Key key);
39 void Remove(Key key);
H A Dglobal_tile_manager.h29 typedef ListType::iterator Key; typedef in class:android_webview::GlobalTileManager
39 void RequestTiles(size_t new_num_of_tiles, Key key);
41 Key PushBack(GlobalTileManagerClient* client);
46 void DidUse(Key key);
48 void Remove(Key key);
60 size_t Evict(size_t desired_num_tiles, Key key);
/external/chromium_org/base/posix/
H A Dglobal_descriptors.h38 typedef uint32_t Key; typedef in class:base::GlobalDescriptors
39 typedef std::pair<Key, int> KeyFDPair;
42 // Often we want a canonical descriptor for a given Key. In this case, we add
54 int Get(Key key) const;
57 int MaybeGet(Key key) const;
60 void Set(Key key, int fd);
/external/chromium_org/ui/gfx/geometry/
H A Dr_tree.h23 template <typename Key>
26 typedef base::hash_set<Key> Matches;
46 void Insert(const Rect& rect, Key key);
49 void Remove(Key key);
64 Record(const Rect& rect, const Key& key);
66 const Key& key() const { return key_; }
69 Key key_;
76 typedef base::hash_map<Key, Record*> RecordMap;
82 template <typename Key>
83 RTree<Key>
[all...]
/external/chromium_org/third_party/libaddressinput/src/cpp/include/libaddressinput/
H A Dcallback.h18 // void Observer::ObserveEvent(bool success, Key key, Data data);
49 template <typename Key, typename Data>
53 virtual void operator()(bool success, Key key, Data data) const = 0;
58 template <typename Observer, typename Key, typename Data>
59 class CallbackImpl : public Callback<Key, Data> {
61 typedef void (Observer::*ObserveEvent)(bool, Key, Data);
72 virtual void operator()(bool success, Key key, Data data) const {
85 template <typename Observer, typename Key, typename Data>
86 Callback<Key, Data>* BuildCallback(
88 void (Observer::*observe_event)(bool, Key, Dat
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/crypto/
H A DKey.h48 class Key : public GarbageCollectedFinalized<Key>, public ScriptWrappable { class in namespace:WebCore
50 static Key* create(const blink::WebCryptoKey& key)
52 return new Key(key);
55 ~Key();
75 explicit Key(const blink::WebCryptoKey&);

Completed in 690 milliseconds

1234567891011>>