/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
MacSpiTest.java | 28 import java.security.Key; 57 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException { 58 super.engineInit(key, params); 91 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException { 92 super.engineInit(key, params); 130 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException { 131 super.engineInit(key, params) [all...] |
CipherSpiTest.java | 28 import java.security.Key; 83 protected void engineInit(int opmode, Key key, SecureRandom random) 85 super.engineInit(opmode, key, random); 89 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, 91 super.engineInit(opmode, key, params, random); 95 protected void engineInit(int opmode, Key key, AlgorithmParameters params, 97 super.engineInit(opmode, key, params, random) [all...] |
ExemptionMechanismTest.java | 24 import java.security.Key; 115 * Test for <code>isCryptoAllowed(Key key)</code> method 129 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local 131 assertFalse(em.isCryptoAllowed(key)); 133 em.init(key); 134 assertFalse(em.isCryptoAllowed(key)); 137 assertTrue(em.isCryptoAllowed(key)); 139 Key key1 = new MyExemptionMechanismSpi().new tmpKey("Proba" 161 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local 203 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local 241 Key key = new Mock_ExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local 281 Key key = new Mock_ExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local 378 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local 393 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local 416 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local 431 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local 465 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local 506 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local [all...] |
/libcore/ojluni/src/main/java/sun/security/ec/ |
ECKeyFactory.java | 90 * Static method to convert Key into a useable instance of 91 * ECPublicKey or ECPrivateKey. Check the key and convert it 92 * to a Sun key if necessary. If the key is not an EC key 101 public static ECKey toECKey(Key key) throws InvalidKeyException { 102 if (key instanceof ECKey) { 103 ECKey ecKey = (ECKey)key; 107 return (ECKey)INSTANCE.translateKey(key); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/bin_search_tree_/ |
traits.hpp | 53 template<typename Key, 66 typedef types_traits<Key, Mapped, _Alloc, false> type_traits; 160 template<typename Key, 170 Key, 178 typedef types_traits<Key, null_type, _Alloc, false> type_traits;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/bin_search_tree_/ |
traits.hpp | 53 template<typename Key, 66 typedef types_traits<Key, Mapped, _Alloc, false> type_traits; 160 template<typename Key, 170 Key, 178 typedef types_traits<Key, null_type, _Alloc, false> type_traits;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/bin_search_tree_/ |
traits.hpp | 53 template<typename Key, 66 typedef types_traits<Key, Mapped, _Alloc, false> type_traits; 160 template<typename Key, 170 Key, 178 typedef types_traits<Key, null_type, _Alloc, false> type_traits;
|
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/bin_search_tree_/ |
traits.hpp | 53 template<typename Key, 66 typedef types_traits<Key, Mapped, _Alloc, false> type_traits; 160 template<typename Key, 170 Key, 178 typedef types_traits<Key, null_type, _Alloc, false> type_traits;
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
ServletDefinitionPathsTest.java | 29 import com.google.inject.Key; 74 expect(injector.getBinding(Key.get(HttpServlet.class))) 79 expect(injector.getInstance(Key.get(HttpServlet.class))) 98 ServletDefinition servletDefinition = new ServletDefinition(mapping, Key.get(HttpServlet.class), 153 expect(injector.getBinding(Key.get(HttpServlet.class))) 158 expect(injector.getInstance(Key.get(HttpServlet.class))) 198 ServletDefinition servletDefinition = new ServletDefinition(mapping, Key.get(HttpServlet.class), 253 expect(injector.getBinding(Key.get(HttpServlet.class))) 258 expect(injector.getInstance(Key.get(HttpServlet.class))) 298 ServletDefinition servletDefinition = new ServletDefinition(mapping, Key.get(HttpServlet.class) [all...] |
/external/icu/icu4j/perf-tests/ |
perftests.pl | 235 my $Key = $doc->createElement("perfTestResult"); 237 $Key->setAttribute("test"=> $testname); 238 $Key->setAttribute("iterations"=>1000); 239 $Key->setAttribute("time"=>$iKeyGen); 240 $root->appendChild($Key); 249 my $Key = $doc->createElement("perfTestResult"); 251 $Key->setAttribute("test"=>$testname); 252 $Key->setAttribute("iterations"=>1000); 253 $Key->setAttribute("time"=>$wKeyGen); 254 $root->appendChild($Key); [all...] |
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
Antlr.Runtime.Tools.pas | 189 function GetItem(const Key: TKey): TValue; 190 procedure SetItem(const Key: TKey; const Value: TValue); 194 procedure Add(const Key: TKey; const Value: TValue); 195 procedure Remove(const Key: TKey); 198 function TryGetValue(const Key: TKey; out Value: TValue): Boolean; 199 procedure AddOrSetValue(const Key: TKey; const Value: TValue); 200 function ContainsKey(const Key: TKey): Boolean; 205 property Items[const Key: TKey]: TValue read GetItem write SetItem; default; 243 Key: TKey; 256 function GetBucketIndex(const Key: TKey; HashCode: Integer): Integer [all...] |
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
MapBinder.java | 42 import com.google.inject.Key; 119 * <p>Annotations are used to create different maps of the same key/value 122 * <p><strong>Keys must be distinct.</strong> If the same key is bound more than 146 return newRealMapBinder(binder, keyType, valueType, Key.get(mapOf(keyType, valueType)), 167 Key.get(mapOf(keyType, valueType), annotation), 188 Key.get(mapOf(keyType, valueType), annotationType), 242 Key<V> valueTypeAndAnnotation) { 252 TypeLiteral<K> keyType, TypeLiteral<V> valueType, Key<Map<K, V>> mapKey, 267 * all values bound to each key. 279 * key must be distinct (and non-null). Bound providers will be evaluated eac 405 Key<?> key; local 717 K key = entry.getKey(); local 761 private final K key; field in class:MapBinder.RealMapBinder.ProviderMapEntry [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
unordered_test.cpp | 514 struct Key 516 Key() : m_data(0) {} 517 explicit Key(int data) : m_data(data) {} 522 bool operator==(const Key&) const; 528 size_t operator () (Key key) const 529 { return (size_t)key.m_data; } 537 bool operator () (Key lhs, Key rhs) const 540 bool operator () (Key lhs, int rhs) cons [all...] |
/ndk/tests/device/test-stlport/unit/ |
unordered_test.cpp | 514 struct Key 516 Key() : m_data(0) {} 517 explicit Key(int data) : m_data(data) {} 522 bool operator==(const Key&) const; 528 size_t operator () (Key key) const 529 { return (size_t)key.m_data; } 537 bool operator () (Key lhs, Key rhs) const 540 bool operator () (Key lhs, int rhs) cons [all...] |
/external/llvm/lib/Transforms/Utils/ |
SymbolRewriter.cpp | 275 yaml::ScalarNode *Key; 280 Key = dyn_cast<yaml::ScalarNode>(Entry.getKey()); 281 if (!Key) { 292 RewriteType = Key->getValue(KeyStorage); 294 return parseRewriteFunctionDescriptor(YS, Key, Value, DL); 296 return parseRewriteGlobalVariableDescriptor(YS, Key, Value, DL); 298 return parseRewriteGlobalAliasDescriptor(YS, Key, Value, DL); 314 yaml::ScalarNode *Key; 320 Key = dyn_cast<yaml::ScalarNode>(Field.getKey()); 321 if (!Key) { [all...] |
/external/guice/core/test/com/google/inject/spi/ |
ModuleAnnotatedMethodScannerTest.java | 33 import com.google.inject.Key; 69 Binding<String> fooBinding = injector.getBinding(Key.get(String.class, named("foo-munged"))); 70 Binding<String> foo2Binding = injector.getBinding(Key.get(String.class, named("foo2-munged"))); 158 public <T> Key<T> prepareMethod(Binder binder, Annotation annotation, Key<T> key, 160 return Key.get(key.getTypeLiteral(), 161 Names.named(((Named) key.getAnnotation()).value() + "-munged")); 167 assertNull(injector.getExistingBinding(Key.get(clazz, named(originalName)))) [all...] |
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/ |
ProvidesIntoTest.java | 30 import com.google.inject.Key; 127 Set<String> fooSet = injector.getInstance(new Key<Set<String>>(named("foo")) {}); 130 Set<String> barSet = injector.getInstance(new Key<Set<String>>(named("bar")) {}); 133 Set<String> noAnnotationSet = injector.getInstance(new Key<Set<String>>() {}); 137 injector.getInstance(new Key<Map<String, String>>(named("foo")) {}); 141 injector.getInstance(new Key<Map<Class<?>, String>>(named("bar")) {}); 145 injector.getInstance(new Key<Map<TestEnum, String>>() {}); 149 injector.getInstance(new Key<Map<WrappedKey, Number>>() {}); 153 injector.getInstance(new Key<Optional<String>>(named("foo")) {}); 157 injector.getInstance(new Key<Optional<String>>(named("bar")) {}) [all...] |
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
FactoryProvider2.java | 37 import com.google.inject.Key; 122 final Key<?> returnType; 124 final ImmutableList<Key<?>> paramTypes; 140 AssistData(Constructor<?> constructor, Key<?> returnType, ImmutableList<Key<?>> paramTypes, 198 /** The key that this is bound to. */ 199 private final Key<F> factoryKey; 205 * @param factoryKey a key for a Java interface that defines one or more create methods. 209 FactoryProvider2(Key<F> factoryKey, BindingCollector collector) { 240 Key<?> returnType [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
map.h | 56 template <typename Key, typename T> 64 template <typename Key, typename T, 70 template <typename Key, typename T, 76 template <typename Key, typename T> 96 // map key. 470 template <typename Key, typename T> 473 typedef const Key first_type; 476 MapPair(const Key& other_first, const T& other_second) 478 explicit MapPair(const Key& other_first) : first(other_first), second() {} 490 const Key first 672 const Key& key() const { return k_; } function in class:google::protobuf::Map::KeyValuePair 673 Key& key() { return k_; } function in class:google::protobuf::Map::KeyValuePair 1041 Key* key = const_cast<Key*>(&k); local [all...] |
/art/runtime/base/ |
variant_map_test.cc | 35 // Make the next '4' usages of Key slightly shorter to type. 37 using Key = FruitMapKey<TValue>; 39 static const Key<int> Apple; 40 static const Key<double> Orange; 41 static const Key<std::string> Label; 44 const FruitMap::Key<int> FruitMap::Apple; 45 const FruitMap::Key<double> FruitMap::Orange; 46 const FruitMap::Key<std::string> FruitMap::Label; 166 // Releasing will also remove the Apple key.
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
BaseWrapCipher.java | 6 import java.security.Key; 103 Key key) 105 return key.getEncoded().length; 141 Key key, 148 if (key instanceof BCPBEKey) 150 BCPBEKey k = (BCPBEKey)key; 167 param = new KeyParameter(key.getEncoded()); 206 Key key [all...] |
/external/guice/extensions/grapher/src/com/google/inject/grapher/ |
AbstractInjectorGrapher.java | 24 import com.google.inject.Key; 105 @Override public final void graph(Injector injector, Set<Key<?>> root) throws IOException { 208 private Iterable<Binding<?>> getBindings(Injector injector, Set<Key<?>> root) { 209 Set<Key<?>> keys = Sets.newHashSet(root); 210 Set<Key<?>> visitedKeys = Sets.newHashSet(); 215 Iterator<Key<?>> iterator = keys.iterator(); 216 Key<?> key = iterator.next(); local 219 if (!visitedKeys.contains(key)) { 220 Binding<?> binding = injector.getBinding(key); [all...] |
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/ |
CheckedProviderMethodsModuleTest.java | 24 import com.google.inject.Key; 128 .getInstance(Key.get(rpcProviderOfString)); 136 .getInstance(Key.get(rpcProviderOfInteger)); 149 .getInstance(Key.get(rpcProviderOfLong, TestAnnotation.class)); 157 .getInstance(Key.get(rpcProviderOfPair)); 166 .getInstance(Key.get(rpcProviderOfFloat)); 181 .getInstance(Key.get(rpcProviderOfString, Names.named("fruit")));
|
/external/llvm/lib/Target/ |
TargetRecip.cpp | 26 // the key strings for queries and command-line inputs. 178 bool TargetRecip::isEnabled(StringRef Key) const { 179 ConstRecipIter Iter = RecipMap.find(Key); 186 unsigned TargetRecip::getRefinementSteps(StringRef Key) const { 187 ConstRecipIter Iter = RecipMap.find(Key); 195 void TargetRecip::setDefaults(StringRef Key, bool Enable, 197 if (Key == "all") { 206 RecipParams &RP = RecipMap[Key];
|
/external/skia/include/core/ |
SkImageFilter.h | 41 struct Key; 45 virtual bool get(const Key& key, SkBitmap* result, SkIPoint* offset) const = 0; 46 virtual SkSpecialImage* get(const Key& key, SkIPoint* offset) const = 0; 47 virtual void set(const Key& key, const SkBitmap& result, const SkIPoint& offset) = 0; 48 virtual void set(const Key& key, SkSpecialImage* image, const SkIPoint& offset) = 0; 50 virtual void purgeByKeys(const Key[], int) { [all...] |