/external/protobuf/src/google/protobuf/stubs/ |
map-util.h | 43 // If the key is present in the map then the value associated with that 44 // key is returned, otherwise the value passed as a default is returned. 48 const typename Collection::value_type::first_type& key, 50 typename Collection::const_iterator it = collection.find(key); 58 // If the key is present a const pointer to the associated value is returned, 63 const typename Collection::value_type::first_type& key) { 64 typename Collection::const_iterator it = collection.find(key); 72 // If the key is present a const pointer to the associated value is returned, 74 // This function does not distinguish between a missing key and a key mappe [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
MyCipher.java | 27 import java.security.Key; 82 protected void engineInit(int opmode, Key key, SecureRandom random) 87 protected void engineInit(int opmode, Key key, 93 protected void engineInit(int opmode, Key key, AlgorithmParameters params,
|
/libcore/luni/src/test/java/tests/security/spec/ |
EncodedKeySpec2Test.java | 22 import java.security.Key; 48 // check public key encoding 50 Key key = fact.generatePublic(new X509EncodedKeySpec(encoded)); local 52 assertTrue("public key encodings were different", 53 isEqual(key, keys.getPublic())); 55 // check private key encoding 57 key = fact.generatePrivate(new PKCS8EncodedKeySpec(encoded)); 59 assertTrue("private key encodings were different", 60 isEqual(key, keys.getPrivate())) [all...] |
/external/chromium/base/ |
global_descriptors_posix.cc | 22 int GlobalDescriptors::Get(Key key) const { 23 const int ret = MaybeGet(key); 26 LOG(FATAL) << "Unknown global descriptor: " << key; 30 int GlobalDescriptors::MaybeGet(Key key) const { 33 if (i->first == key) 39 return kBaseDescriptor + key; 42 void GlobalDescriptors::Set(Key key, int fd) [all...] |
/external/webkit/Source/WebKit2/UIProcess/ |
WebPreferences.cpp | 64 void WebPreferences::updateStringValueForKey(const String& key, const String& value) 66 platformUpdateStringValueForKey(key, value); 67 update(); // FIXME: Only send over the changed key and value. 70 void WebPreferences::updateBoolValueForKey(const String& key, bool value) 72 platformUpdateBoolValueForKey(key, value); 73 update(); // FIXME: Only send over the changed key and value. 76 void WebPreferences::updateUInt32ValueForKey(const String& key, uint32_t value) 78 platformUpdateUInt32ValueForKey(key, value); 79 update(); // FIXME: Only send over the changed key and value. 82 void WebPreferences::updateDoubleValueForKey(const String& key, double value [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
CipherWrapThread.java | 19 import java.security.Key; 34 Key key = kg.generateKey(); local 39 cip.init(Cipher.WRAP_MODE, key); 40 byte[] output = cip.wrap(key); 41 cip.init(Cipher.UNWRAP_MODE, key); 42 Key decrypted = cip.unwrap(output, getAlgName(), Cipher.SECRET_KEY); 44 checkEncodedData(key.getFormat().getBytes(), decrypted.getFormat().getBytes()); 45 checkEncodedData(key.getEncoded(), decrypted.getEncoded());
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
LatinKeyboard.java | 28 private Key mEnterKey; 29 private Key mSpaceKey; 41 protected Key createKeyFromXml(Resources res, Row parent, int x, int y, 43 Key key = new LatinKey(res, parent, x, y, parser); local 44 if (key.codes[0] == 10) { 45 mEnterKey = key; 46 } else if (key.codes[0] == ' ') { 47 mSpaceKey = key; 49 return key; [all...] |
/external/chromium/net/base/ |
host_resolver_impl.h | 137 typedef HostCache::Key Key; 138 typedef std::map<Key, scoped_refptr<Job> > JobMap; 150 // Returns the outstanding job for |key|, or NULL if there is none. 151 Job* FindOutstandingJob(const Key& key); 209 // Returns the (hostname, address_family) key to use for |info|, choosing an 212 Key GetEffectiveKeyForRequest(const RequestInfo& info) const;
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
ExemptionMechanismSpiTest.java | 29 import java.security.Key; 66 protected void engineInit(Key key) throws InvalidKeyException, ExemptionMechanismException { 67 super.engineInit(key); 72 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException, ExemptionMechanismException { 73 super.engineInit(key, params); 78 protected void engineInit(Key key, AlgorithmParameters params) throws InvalidKeyException, InvalidAlgorithmParameterException, ExemptionMechanismException { 79 super.engineInit(key, params) 98 Key key = null; local [all...] |
/libcore/luni/src/main/java/javax/crypto/ |
CipherSpi.java | 24 import java.security.Key; 156 * Initializes this cipher instance with the specified key and a source of 160 * encryption, decryption, key wrapping or key unwrapping) depending on 164 * that the specified key cannot provide, the underlying implementation of 177 * @param key 178 * the input key for the operation. 182 * if the specified key cannot be used to initialize this cipher 185 protected abstract void engineInit(int opmode, Key key, SecureRandom random [all...] |
ExemptionMechanism.java | 23 import java.security.Key; 34 * <i>key recovery</i>, <i>key weakening</i>, or <i>key escrow</i>. 54 private Key initKey; 182 * instance has been generated successfully and that the specified key is 185 * @param key 186 * the key to verify. 193 public final boolean isCryptoAllowed(Key key) [all...] |
/external/stlport/test/unit/ |
map_test.cpp | 303 struct Key 305 Key() : m_data(0) {} 306 explicit Key(int data) : m_data(data) {} 313 bool operator () (Key lhs, Key rhs) const 316 bool operator () (Key lhs, int rhs) const 319 bool operator () (int lhs, Key rhs) const 325 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const 328 bool operator () (Key const volatile *lhs, int rhs) cons [all...] |
set_test.cpp | 360 struct Key 362 Key() : m_data(0) {} 363 explicit Key(int data) : m_data(data) {} 370 bool operator () (Key lhs, Key rhs) const 373 bool operator () (Key lhs, int rhs) const 376 bool operator () (int lhs, Key rhs) const 382 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const 385 bool operator () (Key const volatile *lhs, int rhs) cons [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
map_test.cpp | 303 struct Key 305 Key() : m_data(0) {} 306 explicit Key(int data) : m_data(data) {} 313 bool operator () (Key lhs, Key rhs) const 316 bool operator () (Key lhs, int rhs) const 319 bool operator () (int lhs, Key rhs) const 325 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const 328 bool operator () (Key const volatile *lhs, int rhs) cons [all...] |
set_test.cpp | 360 struct Key 362 Key() : m_data(0) {} 363 explicit Key(int data) : m_data(data) {} 370 bool operator () (Key lhs, Key rhs) const 373 bool operator () (Key lhs, int rhs) const 376 bool operator () (int lhs, Key rhs) const 382 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const 385 bool operator () (Key const volatile *lhs, int rhs) cons [all...] |
/ndk/tests/device/test-stlport/unit/ |
map_test.cpp | 303 struct Key 305 Key() : m_data(0) {} 306 explicit Key(int data) : m_data(data) {} 313 bool operator () (Key lhs, Key rhs) const 316 bool operator () (Key lhs, int rhs) const 319 bool operator () (int lhs, Key rhs) const 325 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const 328 bool operator () (Key const volatile *lhs, int rhs) cons [all...] |
set_test.cpp | 360 struct Key 362 Key() : m_data(0) {} 363 explicit Key(int data) : m_data(data) {} 370 bool operator () (Key lhs, Key rhs) const 373 bool operator () (Key lhs, int rhs) const 376 bool operator () (int lhs, Key rhs) const 382 bool operator () (Key const volatile *lhs, Key const volatile *rhs) const 385 bool operator () (Key const volatile *lhs, int rhs) cons [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/ |
assoc_container.hpp | 53 detail::container_base_dispatch<Key, Mapped, Tag, Policy_Tl, Allocator>::type 56 template<typename Key, 73 typedef typename allocator_type::template rebind<Key>::other::value_type key_type; 115 container_base<Key, Mapped, Tag, typename __gnu_cxx::typelist::append< \ 119 template<typename Key, 151 basic_hash_table<Key, Mapped, Hash_Fn, Eq_Fn, Resize_Policy, Store_Hash, \ 156 template<typename Key, 158 typename Hash_Fn = typename detail::default_hash_fn<Key>::type, 159 typename Eq_Fn = typename detail::default_eq_fn<Key>::type, 288 basic_hash_table<Key, Mapped, Hash_Fn, Eq_Fn, Resize_Policy, Store_Hash, [all...] |
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/ |
assoc_container.hpp | 53 detail::container_base_dispatch<Key, Mapped, Tag, Policy_Tl, Allocator>::type 56 template<typename Key, 73 typedef typename allocator_type::template rebind<Key>::other::value_type key_type; 115 container_base<Key, Mapped, Tag, typename __gnu_cxx::typelist::append< \ 119 template<typename Key, 151 basic_hash_table<Key, Mapped, Hash_Fn, Eq_Fn, Resize_Policy, Store_Hash, \ 156 template<typename Key, 158 typename Hash_Fn = typename detail::default_hash_fn<Key>::type, 159 typename Eq_Fn = typename detail::default_eq_fn<Key>::type, 288 basic_hash_table<Key, Mapped, Hash_Fn, Eq_Fn, Resize_Policy, Store_Hash, [all...] |
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/ |
assoc_container.hpp | 53 detail::container_base_dispatch<Key, Mapped, Tag, Policy_Tl, Allocator>::type 56 template<typename Key, 73 typedef typename allocator_type::template rebind<Key>::other::value_type key_type; 115 container_base<Key, Mapped, Tag, typename __gnu_cxx::typelist::append< \ 119 template<typename Key, 151 basic_hash_table<Key, Mapped, Hash_Fn, Eq_Fn, Resize_Policy, Store_Hash, \ 156 template<typename Key, 158 typename Hash_Fn = typename detail::default_hash_fn<Key>::type, 159 typename Eq_Fn = typename detail::default_eq_fn<Key>::type, 288 basic_hash_table<Key, Mapped, Hash_Fn, Eq_Fn, Resize_Policy, Store_Hash, [all...] |
/external/v8/src/ |
splay-tree-inl.h | 45 bool SplayTree<Config, Allocator>::Insert(const Key& key, Locator* locator) { 48 root_ = new Node(key, Config::kNoValue); 50 // Splay on the key to move the last node on the search path 51 // for the key to the root of the tree. 52 Splay(key); 53 // Ignore repeated insertions with the same key. 54 int cmp = Config::Compare(key, root_->key_); 60 Node* node = new Node(key, Config::kNoValue); 84 bool SplayTree<Config, Allocator>::FindInternal(const Key& key) [all...] |
preparse-data.h | 204 struct Key { 227 Key* string1 = reinterpret_cast<Key*>(a); 228 Key* string2 = reinterpret_cast<Key*>(b); 241 Collector<Key> symbol_keys_;
|
/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...] |
/frameworks/base/include/ui/ |
KeyCharacterMap.h | 32 * Describes a mapping from Android key codes to characters. 34 * and key modifier semantics. 47 // Substitute key code and meta state for fallback action. 60 /* Gets the primary character for this key as in the label physically printed on it. 64 /* Gets the Unicode character for the number or symbol generated by the key 70 /* Gets the Unicode character generated by the key and meta key modifiers. 76 * handle the specified key. 82 /* Gets the first matching Unicode character that can be generated by the key, 83 * preferring the one with the specified meta key modifiers [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();
|