| /external/clang/lib/StaticAnalyzer/Core/ |
| CheckerManager.cpp | 727 unsigned Key = (S->getStmtClass() << 1) | unsigned(isPreVisit); 728 CachedStmtCheckersMapTy::iterator CCI = CachedStmtCheckersMap.find(Key); 733 CachedStmtCheckers &Checkers = CachedStmtCheckersMap[Key];
|
| /external/guice/core/test/com/google/inject/ |
| BinderTestSuite.java | 84 .key(Key.get(AWithProvidedBy.class), InjectsAWithProvidedBy.class) 89 .key(Key.get(AWithImplementedBy.class), InjectsAWithImplementedBy.class) 94 .key(Key.get(ScopedA.class), InjectsScopedA.class) 100 .key(Key.get(AWithProvidedBy.class, named("apple")), 108 .key(Key.get(AWithImplementedBy.class, named("apple")) 306 private Key<?> key = Key.get(A.class); field in class:BinderTestSuite.Builder 334 public Builder key(Key<?> key, Class<? extends Injectable> injectsKey) { method in class:BinderTestSuite.Builder 380 final Key<?> key; field in class:BinderTestSuite.SuccessTest 450 final Key<?> key; field in class:BinderTestSuite.CreationExceptionTest 478 final Key<?> key; field in class:BinderTestSuite.ConfigurationExceptionTest 547 final Key<?> key; field in class:BinderTestSuite.UserExceptionsTest [all...] |
| DuplicateBindingsTest.java | 57 List<Key<?>> bindings = Lists.newArrayList(injector.getAllBindings().keySet()); 61 assertTrue(bindings.remove(Key.get(Foo.class, named("instance")))); 62 assertTrue(bindings.remove(Key.get(Foo.class, named("pInstance")))); 63 assertTrue(bindings.remove(Key.get(Foo.class, named("pKey")))); 64 assertTrue(bindings.remove(Key.get(Foo.class, named("linkedKey")))); 65 assertTrue(bindings.remove(Key.get(FooImpl.class))); 66 assertTrue(bindings.remove(Key.get(Foo.class, named("constructor")))); 67 assertTrue(bindings.remove(Key.get(FooProvider.class))); // JIT binding 68 assertTrue(bindings.remove(Key.get(Foo.class, named("providerMethod")))); 326 private void removeBasicBindings(Collection<Key<?>> bindings) [all...] |
| KeyTest.java | 57 Key<Object> k = Key.get(Object.class, Foo.class); 58 Key<Integer> ki = k.ofType(Integer.class); 64 Key<List<String>> a = new Key<List<String>>(Foo.class) {}; 65 Key<List<String>> b = Key.get(new TypeLiteral<List<String>>() {}, Foo.class); 70 Key<?> actual = Key.get(getClass().getMethod("foo", List.class, List.class) 72 Key<?> expected = Key.get(getClass().getMethod("bar", Provider.class [all...] |
| ParentInjectorTest.java | 162 assertEquals(ImmutableList.of(), child.getInstance(Key.get(List.class, Names.named("B")))); 170 child.getInstance(Key.get(List.class, Names.named("B")));
|
| ProvisionListenerTest.java | 325 ImmutableSet.of(Key.get(Interface.class), Key.get(String.class, named("constant"))), 330 assertEquals(of(Key.get(Foo.class)), capturer.getAndClear()); 332 // provider key binding -- notifies about provider & the object, always 333 assertNotNull(injector.getInstance(Key.get(Foo.class, named("pk")))); 334 assertEquals(of(Key.get(FooP.class), Key.get(Foo.class, named("pk"))), capturer.getAndClear()); 335 assertNotNull(injector.getInstance(Key.get(Foo.class, named("pk")))); 336 assertEquals(of(Key.get(FooP.class), Key.get(Foo.class, named("pk"))), capturer.getAndClear()) [all...] |
| /external/guice/core/test/com/google/inject/spi/ |
| InjectionPointTest.java | 29 import com.google.inject.Key; 71 assertEquals("Key[type=java.lang.String, annotation=@com.google.inject.name.Named(value=a)]@" 75 assertEquals(Key.get(String.class, named("a")), dependency.getKey()); 94 assertEquals("Key[type=java.lang.String, annotation=@com.google.inject.name.Named(value=b)]@" 98 assertEquals(Key.get(String.class, named("b")), dependency.getKey()); 118 assertEquals("Key[type=java.lang.String, annotation=@com.google.inject.name.Named(value=c)]@" 122 assertEquals(Key.get(String.class, named("c")), dependency.getKey()); 130 Dependency<String> dependency = Dependency.get(Key.get(String.class, named("d"))); 131 assertEquals("Key[type=java.lang.String, annotation=@com.google.inject.name.Named(value=d)]", 135 assertEquals(Key.get(String.class, named("d")), dependency.getKey()) [all...] |
| /external/guice/core/test/com/googlecode/guice/ |
| Jsr330Test.java | 27 import com.google.inject.Key; 246 bind(B.class).annotatedWith(Names.named("2")).toProvider(Key.get(BProvider.class)); 251 injector.getInstance(Key.get(B.class)); 252 injector.getInstance(Key.get(B.class, Names.named("1"))); 253 injector.getInstance(Key.get(B.class, Names.named("2"))); 254 injector.getInstance(Key.get(B.class, Names.named("3"))); 316 if(dep.getKey().equals(Key.get(Double.class))) { 318 } else if(dep.getKey().equals(Key.get(Integer.class))) { 409 public <T> com.google.inject.Provider<T> scope(Key<T> key, [all...] |
| /external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/ |
| ThrowingProviderTest.java | 32 import com.google.inject.Key; 114 injector.getInstance(Key.get(remoteProviderOfString)); 143 Key<RemoteProvider<String>> key = annotation != null ? local 144 Key.get(remoteProviderOfString, annotation) : 145 Key.get(remoteProviderOfString); 146 RemoteProvider<String> remoteProvider = injector.getInstance(key); 168 injector.getInstance(Key.get(remoteProviderOfString)); 197 injector.getInstance(Key.get(remoteProviderOfString, NotExceptionScoping.class)); 263 injector.getInstance(Key.get(remoteProviderOfString, Names.named("a"))).get()) 592 Key<RemoteProvider<List<String>>> key local 610 Key<RemoteProvider<List<String>>> key local [all...] |
| /external/icu/android_icu4j/src/main/java/android/icu/impl/ |
| ICUService.java | 59 * fallback. The Key defines the canonical form of the id, and 62 * use. The Key can cache the results of this parsing to save 88 * ICUService by overriding it, for example, to customize the Key and 149 * <p> The default implementation of Key has no fallbacks and 152 public static class Key { 156 * Construct a key from an id. 158 public Key(String id) { 163 * Return the original ID used to construct this key. 191 * descriptor or use custom API on the key in order to 199 * If the key has a fallback, modify the key and return true 646 Key key = createKey(id); local [all...] |
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
| ICUService.java | 58 * fallback. The Key defines the canonical form of the id, and 61 * use. The Key can cache the results of this parsing to save 87 * ICUService by overriding it, for example, to customize the Key and 147 * <p> The default implementation of Key has no fallbacks and 150 public static class Key { 154 * Construct a key from an id. 156 public Key(String id) { 161 * Return the original ID used to construct this key. 189 * descriptor or use custom API on the key in order to 197 * If the key has a fallback, modify the key and return true 644 Key key = createKey(id); local [all...] |
| /external/llvm/include/llvm/IR/ |
| Module.h | 151 MDString *Key; 154 : Behavior(B), Key(K), Val(V) {} 408 /// Return the corresponding value if Key appears in module flags, otherwise 410 Metadata *getModuleFlag(StringRef Key) const; 423 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Metadata *Val); 424 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Constant *Val); 425 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, uint32_t Val);
|
| /external/llvm/include/llvm/Support/ |
| OnDiskHashTable.h | 32 /// payload and computes the hash for a given key. This should provide the 45 /// /// Calculate the hash for Key 46 /// static hash_value_type ComputeHash(key_type_ref Key); 47 /// /// Return the lengths, in bytes, of the given Key/Data pair. 49 /// EmitKeyDataLength(raw_ostream &Out, key_type_ref Key, data_type_ref Data); 50 /// /// Write Key to Out. KeyLen is the length from EmitKeyDataLength. 51 /// static void EmitKey(raw_ostream &Out, key_type_ref Key, 54 /// static void EmitData(raw_ostream &Out, key_type_ref Key, 64 typename Info::key_type Key; 69 Item(typename Info::key_type_ref Key, typename Info::data_type_ref Data [all...] |
| /external/llvm/lib/CodeGen/ |
| TargetLoweringObjectFileImpl.cpp | 454 StringRef Key = MFE.Key->getString(); 457 if (Key == "Objective-C Image Info Version") { 459 } else if (Key == "Objective-C Garbage Collection" || 460 Key == "Objective-C GC Only" || 461 Key == "Objective-C Is Simulated" || 462 Key == "Objective-C Image Swift Version") { 464 } else if (Key == "Objective-C Image Info Section") { 466 } else if (Key == "Linker Options") { 834 "' is not a key for its COMDAT.") [all...] |
| /external/llvm/lib/Transforms/Scalar/ |
| SeparateConstOffsetFromGEP.cpp | 397 /// Find the closest dominator of <Dominatee> that is equivalent to <Key>. 398 Instruction *findClosestMatchingDominator(const SCEV *Key, [all...] |
| /external/llvm/tools/llvm-cxxdump/ |
| llvm-cxxdump.cpp | 310 auto Key = std::make_pair(SymName, SymOffI); 311 if (VTableSymEntries.count(Key)) 320 VTableDataEntries[Key] = VData;
|
| /external/v8/include/ |
| v8-util.h | 50 static K Key(Iterator it) { return it->first; } 52 static PersistentContainerValue Set(Impl* impl, K key, 54 std::pair<Iterator, bool> res = impl->insert(std::make_pair(key, value)); 62 static PersistentContainerValue Get(Impl* impl, K key) { 63 Iterator it = impl->find(key); 67 static PersistentContainerValue Remove(Impl* impl, K key) { 68 Iterator it = impl->find(key); 95 MapType* map, const K& key, Local<V> value) { 107 static void Dispose(Isolate* isolate, Global<V> value, K key) {} 123 static WeakCallbackDataType* WeakCallbackParameter(MapType* map, const K& key, 409 K key = Traits::KeyFromWeakCallbackData(data); local 480 K key = Traits::KeyFromWeakCallbackInfo(data); local [all...] |
| /frameworks/base/services/core/java/com/android/server/am/ |
| PendingIntentRecord.java | 46 final Key key; field in class:PendingIntentRecord 57 final static class Key { 74 Key(int _t, String _p, ActivityRecord _a, String _w, 117 Key other = (Key)otherObj; 174 return "Key{" + typeName() + " pkg=" + packageName 196 PendingIntentRecord(ActivityManagerService _owner, Key _k, int _u) { 198 key = _k; 244 if ((key.flags&PendingIntent.FLAG_ONE_SHOT) != 0) [all...] |
| /packages/apps/TvSettings/Settings/src/com/android/tv/settings/form/ |
| MultiPagedForm.java | 48 private enum Key { 134 Log.w(TAG, "Intent result extras didn't have the result summary key!"); 432 Key key = getKeyFromKey(action.getKey()); 433 if (key != null) { 434 switch (key) { 461 private Key getKeyFromKey(String key) { 463 return Key.valueOf(key); [all...] |
| /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
| scesvc.h | 46 LPTSTR Key; 70 LPTSTR Key;
|
| /toolchain/binutils/binutils-2.25/gold/ |
| dynobj.h | 619 Stringpool::Key); 624 Stringpool::Key); 641 typedef std::pair<Stringpool::Key, Stringpool::Key> Key; 646 operator()(const Key& k) const 653 operator()(const Key& k1, const Key& k2) const 657 typedef Unordered_map<Key, Version_base*, Version_table_hash,
|
| /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/ |
| bucket.py | 29 from boto.s3.key import Key 93 def __init__(self, connection=None, name=None, key_class=Key): 120 Set the Key class associated with this bucket. By default, this 121 would be the boto.s3.key.Key class but if you want to subclass that 124 of keys in the bucket you will get an instances of your key class 128 :param key_class: A subclass of Key that can be more specific 137 :param key_name: The name of the key to retrieve 139 :rtype: :class:`boto.s3.key.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/llvm/lib/TableGen/ |
| Record.cpp | 36 /// using as a key to a DenseMap. Because there isn't a particularly 61 TableGenStringKey Empty("<<<EMPTY KEY>>>"); 65 TableGenStringKey Tombstone("<<<TOMBSTONE KEY>>>"); 607 typedef std::pair<std::pair<unsigned, Init *>, RecTy *> Key; 608 static DenseMap<Key, std::unique_ptr<UnOpInit>> ThePool; 610 Key TheKey(std::make_pair(std::make_pair(opc, lhs), Type)); 739 > Key; 741 static DenseMap<Key, std::unique_ptr<BinOpInit>> ThePool; 743 Key TheKey(std::make_pair(std::make_pair(std::make_pair(opc, lhs), rhs), 875 > Key; [all...] |
| /external/llvm/utils/TableGen/ |
| CodeGenRegisters.h | 402 // A key representing the parts of a register class used for forming 403 // sub-classes. Note the ordering provided by this key is not the same as 405 struct Key { 410 Key(const CodeGenRegister::Vec *M, unsigned S = 0, unsigned A = 0) 413 Key(const CodeGenRegisterClass &RC) 419 bool operator<(const Key&) const; 423 CodeGenRegisterClass(CodeGenRegBank&, StringRef Name, Key Props); 467 unsigned Order; // Cache the sort key. 504 typedef std::map<CodeGenRegisterClass::Key, CodeGenRegisterClass*> RCKeyMap;
|