/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
EdslTest.java | 21 import com.google.inject.Key; 63 filter("/*").through(Key.get(DummyFilterImpl.class)); 73 filterRegex("/person/[0-9]*").through(Key.get(DummyFilterImpl.class)); 74 filterRegex("/person/[0-9]*").through(Key.get(DummyFilterImpl.class), 83 serve("/2/*").with(Key.get(DummyServlet.class)); 87 serve("*.htm").with(Key.get(DummyServlet.class)); 88 serve("*.html").with(Key.get(DummyServlet.class), 95 serveRegex("/person/[0-6]*").with(Key.get(DummyServlet.class)); 96 serveRegex("/person/[0-9]/2/*").with(Key.get(DummyServlet.class),
|
/external/skia/src/core/ |
SkTMultiMap.h | 15 /** A set that contains pointers to instances of T. Instances can be looked up with key Key. 16 * Multiple (possibly same) values can have the same key. 19 typename Key, 25 static const Key& GetKey(const ValueList& e) { return HashTraits::GetKey(*e.fValue); } 26 static uint32_t Hash(const Key& key) { return HashTraits::Hash(key); } 38 void insert(const Key& key, T* value) [all...] |
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/ |
Camera2RequestSettingsSet.java | 23 import android.hardware.camera2.CaptureRequest.Key; 34 private final Map<Key<?>, Object> mDictionary; 70 * the template's selection for that {@code key}; the difference here is 75 * @param key Which setting to alter. 81 * @throws NullPointerException If {@code key} is {@code null}. 83 public <T> boolean set(Key<T> key, T value) { 84 if (key == null) { 85 throw new NullPointerException("Received a null key"); 88 Object currentValue = get(key); [all...] |
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/ |
OptionalBinderTest.java | 39 import com.google.inject.Key; 94 final Key<String> stringKey = Key.get(String.class); 107 final Key<Integer> intKey = Key.get(Integer.class); 126 requireBinding(new Key<Optional<String>>() {}); // the above specifies this. 131 requireBinding(Key.get(javaOptionalOfString)); 154 Optional<String> optional = injector.getInstance(Key.get(optionalOfString)); 157 Optional<Provider<String>> optionalP = injector.getInstance(Key.get(optionalOfProviderString)); 161 injector.getInstance(Key.get(optionalOfJavaxProviderString)) [all...] |
/external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/ |
MyKeyAgreementSpi.java | 26 import java.security.Key; 43 protected Key engineDoPhase(Key key, boolean lastPhase) 73 protected void engineInit(Key key, SecureRandom random) 79 protected void engineInit(Key key, AlgorithmParameterSpec params,
|
MyExemptionMechanismSpi.java | 27 import java.security.Key; 65 protected void engineInit(Key key) throws InvalidKeyException, 67 if (key == null) { 68 throw new InvalidKeyException("key is null"); 70 if (!(key instanceof tmpKey)) { 71 throw new ExemptionMechanismException("Incorrect key"); 76 protected void engineInit(Key key, AlgorithmParameters params) 79 if (key == null) [all...] |
/external/clang/test/SemaCXX/ |
flexible-array-test.cpp | 4 template <class Key, class T> struct QMap 6 void insert(const Key &, const T &); 11 template <class Key, class T> 12 void QMap<Key, T>::insert(const Key &, const T &avalue)
|
/external/guice/core/src/com/google/inject/internal/ |
FactoryProxy.java | 20 import com.google.inject.Key; 31 private final Key<T> key; field in class:FactoryProxy 32 private final Key<? extends T> targetKey; 37 FactoryProxy(InjectorImpl injector, Key<T> key, Key<? extends T> targetKey, Object source) { 39 this.key = key; 64 .add("key", key [all...] |
LinkedProviderBindingImpl.java | 22 import com.google.inject.Key; 33 final Key<? extends javax.inject.Provider<? extends T>> providerKey; 36 private LinkedProviderBindingImpl(InjectorImpl injector, Key<T> key, Object source, 38 Key<? extends javax.inject.Provider<? extends T>> providerKey, 40 super(injector, key, source, internalFactory, scoping); 45 public LinkedProviderBindingImpl(InjectorImpl injector, Key<T> key, Object source, 47 Key<? extends javax.inject.Provider<? extends T>> providerKey) { 48 this(injector, key, source, internalFactory, scoping, providerKey, null) [all...] |
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/ |
TestScope.java | 21 import com.google.inject.Key; 40 private Map<Key, Object> inScopeObjectsMap = new HashMap<Key, Object>(); 43 final Key<T> key, final Provider<T> provider) { 47 T t = (T) inScopeObjectsMap.get(key); 50 inScopeObjectsMap.put(key, t); 58 inScopeObjectsMap = new HashMap<Key, Object>();
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
MethodPool.java | 40 implements MethodSection<CharSequence, CharSequence, ProtoPool.Key, MethodReference, PoolMethod> { 65 @Nonnull @Override public ProtoPool.Key getPrototype(@Nonnull MethodReference methodReference) { 66 return new ProtoPool.Key(methodReference); 69 @Nonnull @Override public ProtoPool.Key getPrototype(@Nonnull PoolMethod poolMethod) { 70 return new ProtoPool.Key(poolMethod);
|
/frameworks/base/tools/split-select/ |
TestRules.h | 49 const Rule EqRule(Rule::Key key, long value); 50 const Rule LtRule(Rule::Key key, long value); 51 const Rule GtRule(Rule::Key key, long value); 52 const Rule ContainsAnyRule(Rule::Key key, const char* str1); 53 const Rule ContainsAnyRule(Rule::Key key, const char* str1, const char* str2) [all...] |
/libcore/luni/src/test/java/libcore/javax/crypto/ |
MockMacSpi.java | 22 import java.security.Key; 39 public void checkKeyType(Key key) throws InvalidKeyException { 40 if (!(key instanceof MockKey)) { 48 public void checkKeyType(Key key) throws InvalidKeyException { 49 System.err.println("Checking key of type " + key.getClass().getName()); 50 if (!(key instanceof MockKey2)) { 59 public void checkKeyType(Key key) throws InvalidKeyException [all...] |
MockCipherSpi.java | 22 import java.security.Key; 40 public void checkKeyType(Key key) throws InvalidKeyException { 41 if (!(key instanceof MockKey)) { 49 public void checkKeyType(Key key) throws InvalidKeyException { 50 System.err.println("Checking key of type " + key.getClass().getName()); 51 if (!(key instanceof MockKey2)) { 104 protected void engineInit(int opmode, Key key, SecureRandom random [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
MockMacSpi.java | 21 import java.security.Key; 30 public void checkKeyType(Key key) throws InvalidKeyException { 31 if (!(key instanceof MockKey)) { 39 public void checkKeyType(Key key) throws InvalidKeyException { 40 if (!(key instanceof MockKey2)) { 49 public void checkKeyType(Key key) throws InvalidKeyException { 58 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException [all...] |
KeyAgreementSpiTest.java | 27 import java.security.Key; 48 protected Key engineDoPhase(Key key, boolean lastPhase) throws InvalidKeyException, 50 return super.engineDoPhase(key, lastPhase); 71 protected void engineInit(Key key, SecureRandom random) throws InvalidKeyException { 72 super.engineInit(key, random); 76 protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random 107 Key key = null; local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
MyKeyAgreementSpi.java | 27 import java.security.Key; 45 protected Key engineDoPhase(Key key, boolean lastPhase) 75 protected void engineInit(Key key, SecureRandom random) 81 protected void engineInit(Key key, AlgorithmParameterSpec params,
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/hash_fn/ |
ranged_hash_fn.hpp | 53 template<typename Key, typename Hash_Fn, typename _Alloc, 58 template<typename Key, typename Hash_Fn, typename _Alloc, \ 62 ranged_hash_fn<Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false> 69 template<typename Key, typename Hash_Fn, typename _Alloc, 71 class ranged_hash_fn< Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false> 78 typedef typename _Alloc::template rebind< Key>::other key_allocator; 140 template<typename Key, typename Hash_Fn, typename _Alloc, \ 144 ranged_hash_fn<Key,Hash_Fn, _Alloc, Comb_Hash_Fn, true> 151 template<typename Key, typename Hash_Fn, typename _Alloc, 153 class ranged_hash_fn<Key, Hash_Fn, _Alloc, Comb_Hash_Fn, true> [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/hash_fn/ |
ranged_hash_fn.hpp | 53 template<typename Key, typename Hash_Fn, typename _Alloc, 58 template<typename Key, typename Hash_Fn, typename _Alloc, \ 62 ranged_hash_fn<Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false> 69 template<typename Key, typename Hash_Fn, typename _Alloc, 71 class ranged_hash_fn< Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false> 78 typedef typename _Alloc::template rebind< Key>::other key_allocator; 140 template<typename Key, typename Hash_Fn, typename _Alloc, \ 144 ranged_hash_fn<Key,Hash_Fn, _Alloc, Comb_Hash_Fn, true> 151 template<typename Key, typename Hash_Fn, typename _Alloc, 153 class ranged_hash_fn<Key, Hash_Fn, _Alloc, Comb_Hash_Fn, true> [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/hash_fn/ |
ranged_hash_fn.hpp | 53 template<typename Key, typename Hash_Fn, typename _Alloc, 58 template<typename Key, typename Hash_Fn, typename _Alloc, \ 62 ranged_hash_fn<Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false> 69 template<typename Key, typename Hash_Fn, typename _Alloc, 71 class ranged_hash_fn< Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false> 78 typedef typename _Alloc::template rebind< Key>::other key_allocator; 140 template<typename Key, typename Hash_Fn, typename _Alloc, \ 144 ranged_hash_fn<Key,Hash_Fn, _Alloc, Comb_Hash_Fn, true> 151 template<typename Key, typename Hash_Fn, typename _Alloc, 153 class ranged_hash_fn<Key, Hash_Fn, _Alloc, Comb_Hash_Fn, true> [all...] |
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/hash_fn/ |
ranged_hash_fn.hpp | 53 template<typename Key, typename Hash_Fn, typename _Alloc, 58 template<typename Key, typename Hash_Fn, typename _Alloc, \ 62 ranged_hash_fn<Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false> 69 template<typename Key, typename Hash_Fn, typename _Alloc, 71 class ranged_hash_fn< Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false> 78 typedef typename _Alloc::template rebind< Key>::other key_allocator; 140 template<typename Key, typename Hash_Fn, typename _Alloc, \ 144 ranged_hash_fn<Key,Hash_Fn, _Alloc, Comb_Hash_Fn, true> 151 template<typename Key, typename Hash_Fn, typename _Alloc, 153 class ranged_hash_fn<Key, Hash_Fn, _Alloc, Comb_Hash_Fn, true> [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/ |
LruResourceCache.java | 5 import com.bumptech.glide.load.Key; 12 public class LruResourceCache extends LruCache<Key, Resource<?>> implements MemoryCache { 30 protected void onItemEvicted(Key key, Resource<?> item) {
|
/external/llvm/include/llvm/ADT/ |
SparseSet.h | 32 /// class allows the set to hold values that differ from the set's key type as 36 /// object. To compute the index from a key, SparseSet uses a separate 40 /// - unsigned key, identity index, identity value 41 /// - unsigned key, identity index, fat value providing getSparseSetIndex() 44 /// - unsigned key, remapped index, identity value (virtual registers) 45 /// - pointer key, pointer-derived index, identity value (node+ID) 46 /// - pointer key, pointer-derived index, fat value with getSparseSetIndex() 71 /// identity key/value sets. 74 unsigned operator()(const KeyT &Key) const { 75 return KeyFunctorT()(Key); [all...] |
/external/llvm/include/llvm/Target/ |
TargetRecip.h | 38 void setDefaults(StringRef Key, bool Enable, unsigned RefSteps); 43 bool isEnabled(StringRef Key) const; 47 unsigned getRefinementSteps(StringRef Key) const;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
MoreKeysDetector.java | 36 public Key detectHitKey(final int x, final int y) { 44 Key nearestKey = null; 46 for (final Key key : keyboard.getSortedKeys()) { 47 final int dist = key.squaredDistanceToEdge(touchX, touchY); 49 nearestKey = key;
|