/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/ |
compare.pass.cpp | 12 // template <class Key, class T, class Compare = less<Key>, 13 // class Allocator = allocator<pair<const Key, T>>> 21 struct Key { 22 template <typename T> Key(const T&) {} 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, int>::iterator, bool> result [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/ |
compare.pass.cpp | 12 // 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 { 22 template <typename T> Key(const T&) {} 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, int>::iterator it [all...] |
/packages/inputmethods/LatinIME/tools/dicttool/compat/com/android/inputmethod/keyboard/ |
Keyboard.java | 21 private final Key KEY = new Key(); 22 public final Key getKey(final int i) { return KEY; }
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
RenderParamsFlags.java | 21 import com.android.ide.common.rendering.api.SessionParams.Key; 24 * This contains all known keys for the {@link RenderParams#getFlag(Key)}. 32 public static final Key<String> FLAG_KEY_ROOT_TAG = 33 new Key<String>("rootTag", String.class); 34 public static final Key<Boolean> FLAG_KEY_DISABLE_BITMAP_CACHING = 35 new Key<Boolean>("disableBitmapCaching", Boolean.class); 36 public static final Key<Boolean> FLAG_KEY_RENDER_ALL_DRAWABLE_STATES = 37 new Key<Boolean>("renderAllDrawableStates", Boolean.class); 43 public static final Key<Boolean> FLAG_KEY_RECYCLER_VIEW_SUPPORT = 44 new Key<Boolean>("recyclerViewSupport", Boolean.class) [all...] |
/frameworks/base/core/java/android/hardware/camera2/ |
CameraCharacteristics.java | 43 public final class CameraCharacteristics extends CameraMetadata<CameraCharacteristics.Key<?>> { 46 * A {@code Key} is used to do camera characteristics field lookups with 62 public static final class Key<T> { 63 private final CameraMetadataNative.Key<T> mKey; 70 public Key(String name, Class<T> type) { 71 mKey = new CameraMetadataNative.Key<T>(name, type); 79 public Key(String name, TypeReference<T> typeReference) { 80 mKey = new CameraMetadataNative.Key<T>(name, typeReference); 92 * specific key might look like {@code "com.google.nexus.data.private"}.</p> 94 * @return String representation of the key nam [all...] |
CaptureResult.java | 46 * not have every key set. Only {@link TotalCaptureResult total} results are guaranteed to have 47 * every key available that was enabled by the request.</p> 52 public class CaptureResult extends CameraMetadata<CaptureResult.Key<?>> { 58 * A {@code Key} is used to do capture result field lookups with 73 public final static class Key<T> { 74 private final CameraMetadataNative.Key<T> mKey; 81 public Key(String name, Class<T> type) { 82 mKey = new CameraMetadataNative.Key<T>(name, type); 90 public Key(String name, TypeReference<T> typeReference) { 91 mKey = new CameraMetadataNative.Key<T>(name, typeReference) [all...] |
CaptureRequest.java | 75 public final class CaptureRequest extends CameraMetadata<CaptureRequest.Key<?>> 79 * A {@code Key} is used to do capture request field lookups with 81 * {@link CaptureRequest.Builder#set(Key, Object)}. 96 public final static class Key<T> { 97 private final CameraMetadataNative.Key<T> mKey; 104 public Key(String name, Class<T> type) { 105 mKey = new CameraMetadataNative.Key<T>(name, type); 113 public Key(String name, TypeReference<T> typeReference) { 114 mKey = new CameraMetadataNative.Key<T>(name, typeReference); 126 * specific key might look like {@code "com.google.nexus.data.private"}.</p [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
NullableIndexSection.java | 36 public interface NullableIndexSection<Key> extends IndexSection<Key> { 37 int getNullableItemIndex(@Nullable Key key);
|
NullableOffsetSection.java | 36 public interface NullableOffsetSection<Key> extends OffsetSection<Key> { 37 int getNullableItemOffset(@Nullable Key key);
|
/external/libcxx/test/std/containers/unord/unord.map/ |
compare.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 13 // class Alloc = allocator<pair<const Key, T>>> 22 struct Key { 23 template <typename T> Key(const T&) {} 24 bool operator== (const Key&) const { return true; } 30 struct hash<Key> 32 size_t operator()(Key const &) const {return 0;} 39 typedef std::unordered_map<Key, int> MapT [all...] |
/external/google-breakpad/src/processor/ |
static_map_iterator-inl.h | 44 template<typename Key, typename Value, typename Compare> 45 StaticMapIterator<Key, Value, Compare>::StaticMapIterator(const char* base, 52 keys_ = reinterpret_cast<const Key*>( 57 template<typename Key, typename Value, typename Compare> 58 StaticMapIterator<Key, Value, Compare>& 59 StaticMapIterator<Key, Value, Compare>::operator++() { 68 template<typename Key, typename Value, typename Compare> 69 StaticMapIterator<Key, Value, Compare> 70 StaticMapIterator<Key, Value, Compare>::operator++(int postfix_operator) { 75 StaticMapIterator<Key, Value, Compare> tmp = *this [all...] |
/external/clang/test/Modules/Inputs/submodules/ |
hash_map.h | 1 template<typename Key, typename Data> class hash_map { };
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/ |
DiskCache.java | 3 import com.bumptech.glide.load.Key; 12 * An interface to actually write data to a key in the disk cache. 25 * Get the cache for the value at the given key. 32 * @param key The key in the cache. 33 * @return An InputStream representing the data at key at the time get is called. 35 File get(Key key); 38 * Write to a key in the cache. {@link Writer} is used so that the cache implementation can perform actions after 41 * @param key The key to write to [all...] |
DiskCacheAdapter.java | 3 import com.bumptech.glide.load.Key; 12 public File get(Key key) { 18 public void put(Key key, Writer writer) { 23 public void delete(Key key) {
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
ClassesKey.java | 19 private static final Key FACTORY = (Key)KeyFactory.create(Key.class, KeyFactory.OBJECT_BY_CLASS); 21 interface Key {
|
/libcore/ojluni/src/main/java/java/security/ |
PrivateKey.java | 29 * <p>A private key. This interface contains no methods or constants. 30 * It merely serves to group (and provide type safety for) all private key 33 * Note: The specialized private key interfaces extend this interface. 37 * @see Key 49 public interface PrivateKey extends Key {
|
PublicKey.java | 29 * <p>A public key. This interface contains no methods or constants. 30 * It merely serves to group (and provide type safety for) all public key 33 * Note: The specialized public key interfaces extend this interface. 37 * @see Key 46 public interface PublicKey extends Key {
|
/libcore/ojluni/src/main/java/javax/crypto/ |
SecretKey.java | 29 * A secret (symmetric) key. 37 * their underlying key material and not based on reference. 41 * raw key bytes as the result of a <code>getEncoded</code> method call. (The 43 * from the <code>java.security.Key</code> parent interface.) 52 public interface SecretKey extends java.security.Key {
|
/external/libcxx/test/std/containers/associative/map/ |
compare.pass.cpp | 12 // template <class Key, class T, class Compare = less<Key>, 13 // class Allocator = allocator<pair<const Key, T>>> 23 struct Key { 24 template <typename T> Key(const T&) {} 25 bool operator< (const Key&) const { return false; } 30 typedef std::map<Key, int> MapT; 36 m_contains[Key(0)] = 42; 38 Iter it = m_empty.find(Key(0)); 40 it = m_contains.find(Key(0)) [all...] |
/art/runtime/base/ |
hash_map.h | 30 template <class Key, class Value> 31 size_t operator()(const std::pair<Key, Value>& pair) const { 34 template <class Key> 35 size_t operator()(const Key& key) const { 36 return fn_(key); 38 template <class Key, class Value> 39 bool operator()(const std::pair<Key, Value>& a, const std::pair<Key, Value>& b) const { 42 template <class Key, class Value, class Element [all...] |
/external/libchrome/base/posix/ |
global_descriptors.h | 34 // It maps from an abstract key to a descriptor. If independent modules each 39 typedef uint32_t Key; 41 Descriptor(Key key, int fd); 42 Descriptor(Key key, int fd, base::MemoryMappedFile::Region region); 44 // Globally unique key. 45 Key key; member in struct:base::GlobalDescriptors::Descriptor 53 // Often we want a canonical descriptor for a given Key. In this case, we ad [all...] |
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
call_stack.hpp | 26 template <typename Key, typename Value = unsigned char> 30 // Context class automatically pushes the key/value pair on to the stack. 35 // Push the key on to the stack. 36 explicit context(Key* k) 38 next_(call_stack<Key, Value>::top_) 41 call_stack<Key, Value>::top_ = this; 44 // Push the key/value pair on to the stack. 45 context(Key* k, Value& v) 48 next_(call_stack<Key, Value>::top_) 50 call_stack<Key, Value>::top_ = this [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/container/ |
container_fwd.hpp | 76 template <class Key 77 ,class Compare = std::less<Key> 78 ,class Allocator = std::allocator<Key> > 82 template <class Key 83 ,class Compare = std::less<Key> 84 ,class Allocator = std::allocator<Key> > 88 template <class Key 90 ,class Compare = std::less<Key> 91 ,class Allocator = std::allocator<std::pair<const Key, T> > > 95 template <class Key [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
BuilderMapEntryCollection.java | 40 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; field in class:BuilderMapEntryCollection.MapEntry 50 @Nonnull @Override public Key getKey() { 51 return key; 55 return BuilderMapEntryCollection.this.getValue(key); [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
map_field_lite.h | 44 template <typename Key, typename T, 50 typedef MapEntryLite<Key, T, key_wire_type, value_wire_type, 59 virtual const Map<Key, T>& GetMap() const; 60 virtual Map<Key, T>* MutableMap(); 75 EntryType* NewEnumEntryWrapper(const Key& key, const T t) const; 78 EntryType* NewEntryWrapper(const Key& key, const T& t) const; 82 virtual const Map<Key, T>& GetInternalMap() const; 83 virtual Map<Key, T>* MutableInternalMap() [all...] |