HomeSort by relevance Sort by last modified time
    Searched refs:Key (Results 351 - 375 of 1431) sorted by null

<<11121314151617181920>>

  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
ProgramStateTrait.h 58 template <typename Key, typename Data, typename Info>
59 struct ProgramStatePartialTrait< llvm::ImmutableMap<Key,Data,Info> > {
60 typedef llvm::ImmutableMap<Key,Data,Info> data_type;
62 typedef Key key_type;
104 #define CLANG_ENTO_PROGRAMSTATE_MAP(Key, Value) llvm::ImmutableMap<Key, Value>
109 template <typename Key, typename Info>
110 struct ProgramStatePartialTrait< llvm::ImmutableSet<Key,Info> > {
111 typedef llvm::ImmutableSet<Key,Info> data_type;
113 typedef Key key_type
    [all...]
  /external/guice/core/src/com/google/inject/internal/
SingletonScope.java 10 import com.google.inject.Key;
67 * @see #scope(Key, Provider)
81 * NB: Factory uses {@link Key}s as a user locks ids, different injectors can
87 private static final CycleDetectingLockFactory<Key<?>> cycleDetectingLockFactory =
88 new CycleDetectingLockFactory<Key<?>>();
92 * - creates no more than one instance per Key as a creator is used no more than once,
102 public <T> Provider<T> scope(final Key<T> key, final Provider<T> creator) {
126 final CycleDetectingLock<Key<?>> creationLock = cycleDetectingLockFactory.create(key);
    [all...]
AbstractBindingProcessor.java 24 import com.google.inject.Key;
50 Key.class,
66 InjectorImpl injector, Key<T> key, Object source) {
67 return new UntargettedBindingImpl<T>(injector, key, source);
71 Key<?> key = binding.getKey(); local
73 Class<?> rawType = key.getTypeLiteral().getRawType();
79 BindingImpl<?> original = injector.getExistingBinding(key);
82 if (injector.state.getExplicitBinding(key) != null)
140 final Key<T> key; field in class:AbstractBindingProcessor.Processor
    [all...]
PrivateElementsImpl.java 30 import com.google.inject.Key;
60 private ImmutableMap<Key<?>, Object> exposedKeysToSources;
89 public Set<Key<?>> getExposedKeys() {
91 Map<Key<?>, Object> exposedKeysToSourcesMutable = Maps.newLinkedHashMap();
122 for (Map.Entry<Key<?>, Object> entry : exposedKeysToSources.entrySet()) {
127 public Object getExposedSource(Key<?> key) {
129 Object source = exposedKeysToSources.get(key);
130 checkArgument(source != null, "%s not exposed by %s.", key, this);
  /external/guice/core/test/com/google/inject/
GenericInjectionTest.java 60 = Guice.createInjector().getInstance(Key.get(new TypeLiteral<Parameterized<String>>() {}));
67 bind(Key.get(new TypeLiteral<Parameterized<String>>() {}))
73 = injector.getInstance(Key.get(new TypeLiteral<Parameterized<String>>() { }));
83 assertParameterizedDepsInjected(new Key<ParameterizedDeps<String, Integer>>() {},
91 assertParameterizedDepsInjected(Key.get(Object.class), new AbstractModule() {
102 assertParameterizedDepsInjected(Key.get(type), new AbstractModule() {
113 assertParameterizedDepsInjected(Key.get(type), new AbstractModule() {
124 assertParameterizedDepsInjected(Key.get(type), new AbstractModule() {
132 public void assertParameterizedDepsInjected(Key<?> key, Module bindingModule)
    [all...]
PrivateModuleTest.java 68 AB ab1 = injector.getInstance(Key.get(AB.class, named("one")));
72 AB ab2 = injector.getInstance(Key.get(AB.class, named("two")));
92 assertEquals("i", injector.getInstance(Key.get(String.class, named("a"))));
93 assertEquals("ii", injector.getInstance(Key.get(String.class, named("b"))));
160 assertEquals("i", injector.getInstance(Key.get(String.class, named("a"))));
163 injector.getInstance(Key.get(String.class, named("b")));
169 injector.getInstance(Key.get(String.class, named("c")));
174 assertEquals("ii", injector.getInstance(Key.get(String.class, named("d"))));
309 injector.getInstance(Key.get(String.class, named("bound outer, exposed outer"))));
311 injector.getInstance(Key.get(String.class, named("bound inner, exposed both"))))
    [all...]
  /external/guice/extensions/grapher/test/com/google/inject/grapher/
AbstractInjectorGrapherTest.java 26 import com.google.inject.Key;
112 aNode = new ImplementationNode(NodeId.newTypeId(Key.get(A.class)), null,
114 a2Node = new ImplementationNode(NodeId.newTypeId(Key.get(A2.class)), null,
116 iaNode = new InterfaceNode(NodeId.newTypeId(Key.get(IA.class)), null);
117 iaAnnNode = new InterfaceNode(NodeId.newTypeId(Key.get(IA.class, Ann.class)), null);
118 stringNode = new InterfaceNode(NodeId.newTypeId(Key.get(String.class)), null);
119 stringInstanceNode = new InstanceNode(NodeId.newInstanceId(Key.get(String.class)), null,
155 Node a2ProviderNode = new InstanceNode(NodeId.newInstanceId(Key.get(IA.class)), null,
176 }), ImmutableSet.<Key<?>>of(Key.get(String.class)))
    [all...]
  /external/guice/extensions/servlet/test/com/google/inject/servlet/
ScopeRequestIntegrationTest.java 24 import com.google.inject.Key;
70 ImmutableMap.<Key<?>, Object>of(Key.get(SomeObject.class), someObject))).get();
81 ImmutableMap.<Key<?>, Object>of(Key.get(SomeObject.class), someObject))).get();
103 ImmutableMap.<Key<?>, Object>of(Key.get(SomeObject.class), "Boo!"));
106 assertEquals("Value[Boo!] of type[java.lang.String] is not compatible with key[" + Key.get(SomeObject.class) + "]", iae.getMessage());
127 Map<Key<?>, Object> map = Maps.newHashMap()
    [all...]
FilterDefinitionTest.java 13 import com.google.inject.Key;
48 expect(injector.getBinding(Key.get(Filter.class)))
51 expect(injector.getInstance(Key.get(Filter.class)))
70 final FilterDefinition filterDef = new FilterDefinition(pattern, Key.get(Filter.class),
78 assertEquals(filterConfig.getFilterName(), Key.get(Filter.class).toString());
100 expect(injector.getBinding(Key.get(Filter.class)))
103 expect(injector.getInstance(Key.get(Filter.class)))
115 final FilterDefinition filterDef = new FilterDefinition(pattern, Key.get(Filter.class),
161 expect(injector.getBinding(Key.get(Filter.class)))
164 expect(injector.getInstance(Key.get(Filter.class))
    [all...]
ServletDefinitionTest.java 29 import com.google.inject.Key;
58 expect(injector.getBinding(Key.get(HttpServlet.class)))
62 expect(injector.getInstance(Key.get(HttpServlet.class)))
76 Key.get(HttpServlet.class), UriPatternType.get(UriPatternType.SERVLET, pattern), initParams, null);
89 assertEquals(Key.get(HttpServlet.class).toString(), mockServlet.getServletName());
112 Key.get(HttpServlet.class), UriPatternType.get(UriPatternType.SERVLET, pattern),
  /external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
CheckedProviderMethodsModule.java 24 import com.google.inject.Key;
48 private static final Key<Logger> LOGGER_KEY = Key.get(Logger.class);
102 Key<?> key = getKey(errors, parameterTypes.get(i), method, parameterAnnotations[i]); local
103 if (key.equals(LOGGER_KEY)) {
104 // If it was a Logger, change the key to be unique & bind it to a
107 Key<Logger> loggerKey = Key.get(Logger.class, UniqueAnnotations.create());
109 key = loggerKey
119 Key<T> key = getKey(errors, returnType, method, method.getAnnotations()); local
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyPreviewChoreographer.java 25 import com.android.inputmethod.keyboard.Key;
33 * This class controls pop up key previews. This class decides:
34 * - what kind of key previews should be shown.
35 * - where key previews should be placed.
36 * - how key previews should be shown and dismissed.
39 // Free {@link KeyPreviewView} pool that can be used for key preview.
41 // Map from {@link Key} to {@link KeyPreviewView} that is currently being displayed as key
43 private final HashMap<Key,KeyPreviewView> mShowingKeyPreviewViews = new HashMap<>();
51 public KeyPreviewView getKeyPreviewView(final Key key, final ViewGroup placerView)
    [all...]
TimerHandler.java 23 import com.android.inputmethod.keyboard.Key;
77 drawingProxy.onKeyReleased((Key) msg.obj, false /* withAnimation */);
88 final Key key = tracker.getKey(); local
89 if (key == null || delay == 0) {
93 obtainMessage(MSG_REPEAT_KEY, key.getCode(), repeatCount, tracker), delay);
104 // TODO: Suppress layout changes in key repeat mode
111 final Key key = tracker.getKey(); local
112 if (key == null)
    [all...]
  /external/llvm/include/llvm/ExecutionEngine/Orc/
IndirectionUtils.h 274 auto Key = I->second.first;
275 void *StubAddr = IndirectStubsInfos[Key.first].getStub(Key.second);
289 auto Key = I->second.first;
290 void *PtrAddr = IndirectStubsInfos[Key.first].getPtr(Key.second);
300 auto Key = I->second.first;
301 *IndirectStubsInfos[Key.first].getPtr(Key.second) =
326 auto Key = FreeStubs.back()
    [all...]
  /external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
SealedObjectTest.java 28 import java.security.Key;
117 Key key = kg.generateKey(); local
120 cipher.init(Cipher.ENCRYPT_MODE, key);
128 * getObject(Key key) method testing. Tests if the object sealed with
130 * specifying the cryptographic key.
134 Key key = kg.generateKey(); local
140 cipher.init(Cipher.ENCRYPT_MODE, key, ips)
169 Key key = kg.generateKey(); local
210 Key key = kg.generateKey(); local
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
KeyAgreementSpi.java 6 import java.security.Key;
51 * Diffie-Hellman key agreement using elliptic curve keys, ala IEEE P1363
54 * Also, MQV key agreement per SEC-1
87 protected Key engineDoPhase(
88 Key key,
106 // if (!(key instanceof MQVPublicKey))
109 // ECUtil.generatePublicKeyParameter((PublicKey)key);
117 // MQVPublicKey mqvPubKey = (MQVPublicKey)key;
131 if (!(key instanceof PublicKey)
    [all...]
  /external/chromium-trace/catapult/dashboard/dashboard/
layered_cache.py 12 for a key which has a single BlobProperty is much quicker than a complex query
17 1) Namespaces the key based on whether datastore_hooks says the request is
20 entity with the key and a BlobProperty with the pickled value.
72 def _NamespaceKey(key, namespace=None):
75 return '%s__%s' % (namespace, key)
89 for key in keys:
90 to_get.append(ndb.Key('CachedPickledString',
91 _NamespaceKey(key, datastore_hooks.EXTERNAL)))
92 to_get.append(ndb.Key('CachedPickledString',
93 _NamespaceKey(key, datastore_hooks.INTERNAL))
    [all...]
  /external/eigen/demos/opengl/
icosphere.cpp 63 typedef unsigned long long Key;
64 std::map<Key,int> edgeMap;
81 Key edgeKey = Key(e0) | (Key(e1)<<32);
82 std::map<Key,int>::iterator it = edgeMap.find(edgeKey);
  /external/llvm/lib/ExecutionEngine/
GDBRegistrationListener.cpp 172 const char *Key = Object.getMemoryBufferRef().getBufferStart();
174 assert(Key && "Attempt to register a null object with a debugger.");
176 assert(ObjectBufferMap.find(Key) == ObjectBufferMap.end() &&
187 ObjectBufferMap[Key] = RegisteredObjectInfo(Size, JITCodeEntry,
194 const char *Key = Object.getMemoryBufferRef().getBufferStart();
196 RegisteredObjectBufferMap::iterator I = ObjectBufferMap.find(Key);
  /external/llvm/lib/Transforms/ObjCARC/
BlotMapVector.h 73 iterator find(const KeyT &Key) {
74 typename MapTy::iterator It = Map.find(Key);
80 const_iterator find(const KeyT &Key) const {
81 typename MapTy::const_iterator It = Map.find(Key);
88 /// vector, it just zeros out the key in the vector. This leaves iterators
90 void blot(const KeyT &Key) {
91 typename MapTy::iterator It = Map.find(Key);
  /external/skia/src/gpu/text/
GrStencilAndCoverTextContext.h 115 typedef SkTArray<uint32_t, true> Key;
117 static const Key& GetKey(const TextBlob* blob) { return blob->key(); }
119 static uint32_t Hash(const Key& key) {
120 SkASSERT(key.count() > 1); // 1-length keys should be using the blob-id hash map.
121 return SkChecksum::Murmur3(key.begin(), sizeof(uint32_t) * key.count());
127 TextBlob(const Key& key, const SkTextBlob* skBlob, const SkPaint& skPaint
134 const Key& key() const { return fKey; } function in class:GrStencilAndCoverTextContext::TextBlob
    [all...]
  /libcore/ojluni/src/main/java/javax/crypto/
ExemptionMechanism.java 30 import java.security.Key;
42 * of which are <i>key recovery</i>, <i>key weakening</i>, and
43 * <i>key escrow</i>.
69 // Store away the key at init() time for later comparison.
70 private Key keyStored = null;
243 * <p>The method also makes sure that the key passed in is the same as
247 * @param key the key the crypto is going to use.
249 * @return whether the result blob of the same key has been generate
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/
KeyPairTest.java 25 import java.security.Key;
42 // key pair for testing
76 Key key1 = ((KeyPair) test).getPublic();
77 Key key2 = ((KeyPair) reference).getPublic();
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
MyKeyStoreSpi.java 28 import java.security.Key;
44 public Key engineGetKey(String alias, char[] password)
61 public void engineSetKeyEntry(String alias, Key key, char[] password,
67 public void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain)
  /external/apache-harmony/support/src/test/java/tests/support/
Support_DummyPKCS12Keystore.java 23 import java.security.Key;
43 public Key engineGetKey(String arg0, char[] arg1)
64 public void engineSetKeyEntry(String arg0, Key arg1, char[] arg2,

Completed in 517 milliseconds

<<11121314151617181920>>