/external/chromium_org/v8/benchmarks/ |
H A D | splay.js | 53 string : 'String for key ' + tag + ' in leaf node' 72 // Insert new node with a unique key. 73 var key; 75 key = GenerateKey(); 76 } while (splayTree.find(key) != null); 77 var payload = GeneratePayloadTree(kSplayTreePayloadDepth, String(key)); 78 splayTree.insert(key, payload); 79 return key; 115 var key = InsertNewNode(); 116 var greatest = splayTree.findGreatestLessThan(key); [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | ThreadSpecificWin.cpp | 90 void threadSpecificKeyCreate(ThreadSpecificKey* key, void (*destructor)(void *)) argument 92 *key = new PlatformThreadSpecificKey(destructor); 95 destructorsList().push(*key); 98 void threadSpecificKeyDelete(ThreadSpecificKey key) argument 101 destructorsList().remove(key); 102 delete key; 105 void threadSpecificSet(ThreadSpecificKey key, void* data) argument 107 key->setValue(data); 110 void* threadSpecificGet(ThreadSpecificKey key) argument 112 return key 125 PlatformThreadSpecificKey* key = destructorsList().head(); local [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
H A D | OpenSSLSecretKey.java | 35 private transient OpenSSLKey key; field in class:OpenSSLSecretKey 42 key = new OpenSSLKey(NativeCrypto.EVP_PKEY_new_mac_key(type, encoded)); 45 public OpenSSLSecretKey(String algorithm, OpenSSLKey key) { argument 47 this.key = key; 49 type = NativeCrypto.EVP_PKEY_type(key.getPkeyContext()); 53 public static OpenSSLKey getInstance(SecretKey key) throws InvalidKeyException { argument 56 key.getEncoded())); 69 if (key.isEngineBased()) { 78 if (key [all...] |
/external/chromium_org/chrome/browser/extensions/api/identity/ |
H A D | identity_mint_queue_unittest.cc | 35 scoped_ptr<ExtensionTokenKey> key(ExtensionIdToKey("ext_id")); 40 queue.RequestStart(type, *key, &request1); 41 queue.RequestComplete(type, *key, &request1); 44 queue.RequestStart(type, *key, &request2); 45 queue.RequestComplete(type, *key, &request2); 52 scoped_ptr<ExtensionTokenKey> key(ExtensionIdToKey("ext_id")); 56 queue.RequestStart(type, *key, &request1); 57 queue.RequestComplete(type, *key, &request1); 64 scoped_ptr<ExtensionTokenKey> key(ExtensionIdToKey("ext_id")); 70 queue.RequestStart(type, *key, [all...] |
/external/chromium_org/base/prefs/ |
H A D | writeable_pref_store.h | 22 // Sets a |value| for |key| in the store. Assumes ownership of |value|, which 24 virtual void SetValue(const std::string& key, base::Value* value) = 0; 26 // Removes the value for |key|. 27 virtual void RemoveValue(const std::string& key) = 0; 30 virtual bool GetMutableValue(const std::string& key, 37 virtual void ReportValueChanged(const std::string& key) = 0; 43 virtual void SetValueSilently(const std::string& key, base::Value* value) = 0;
|
H A D | pref_value_map.h | 28 // Gets the value for |key| and stores it in |value|. Ownership remains with 31 bool GetValue(const std::string& key, const base::Value** value) const; 32 bool GetValue(const std::string& key, base::Value** value); 34 // Sets a new |value| for |key|. Takes ownership of |value|, which must be 36 bool SetValue(const std::string& key, base::Value* value); 38 // Removes the value for |key| from the map. Returns true if a value was 40 bool RemoveValue(const std::string& key); 53 // Gets a boolean value for |key| and stores it in |value|. Returns true if 55 bool GetBoolean(const std::string& key, bool* value) const; 57 // Sets the value for |key| t [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
H A D | datastore_models.py | 17 def CreateKey(cls, namespace, key): 18 path = '%s/%s' % (namespace, key) 30 def CreateItem(cls, namespace, key, value): 31 return PersistentObjectStoreItem(key=cls.CreateKey(namespace, key),
|
/external/chromium_org/chrome/service/ |
H A D | service_process_prefs.cc | 30 const std::string& key, 34 if (!prefs_->GetValue(key, &value) || !value->GetAsString(&result)) 40 void ServiceProcessPrefs::SetString(const std::string& key, argument 42 prefs_->SetValue(key, new base::StringValue(value)); 45 bool ServiceProcessPrefs::GetBoolean(const std::string& key, argument 49 if (!prefs_->GetValue(key, &value) || !value->GetAsBoolean(&result)) 55 void ServiceProcessPrefs::SetBoolean(const std::string& key, bool value) { argument 56 prefs_->SetValue(key, new base::FundamentalValue(value)); 59 int ServiceProcessPrefs::GetInt(const std::string& key, argument 63 if (!prefs_->GetValue(key, 29 GetString( const std::string& key, const std::string& default_value) const argument 69 SetInt(const std::string& key, int value) argument 93 SetValue(const std::string& key, base::Value* value) argument 97 RemovePref(const std::string& key) argument [all...] |
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/command/ |
H A D | info.py | 23 for key in sorted(bundle.iterkeys()): 24 value = bundle[key] 25 if key == manifest_util.ARCHIVES_KEY: 31 elif key not in (manifest_util.ARCHIVES_KEY, manifest_util.NAME_KEY): 32 print ' %s: %s' % (key, value)
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
H A D | ptw32_tkAssocCreate.c | 43 ptw32_tkAssocCreate (ptw32_thread_t * sp, pthread_key_t key) argument 47 * is unique for the given (thread,key) combination.The association 48 * is referenced by both the thread and the key. 50 * current thread references and what threads a given key 65 * key 66 * key on which to create an association. 79 * to both the key and the thread. 81 * Both key->keyLock and thread->threadLock are locked before 92 assoc->key = key; [all...] |
/external/chromium_org/third_party/bintrees/bintrees/ |
H A D | walker.py | 25 def key(self): member in class:Walker 26 return self._node.key 34 return (self._node.key, self._node.value) 40 def goto(self, key): 43 if key == self._node.key: 45 elif key < self._node.key: 94 def _next_item(self, key, left, right, less_than): 98 if key [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_hash_table.h | 59 util_hash_table_create(unsigned (*hash)(void *key), 65 void *key, 70 void *key); 75 void *key); 85 (void *key, void *value, void *data),
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | packed-cache-inl.h | 33 // This file provides a minimal cache that can hold a <key, value> pair 34 // with little if any wasted space. The types of the key and value 42 // must be large enough to hold a partial key and a value packed 47 // some <key, value> pair; the class provides no way to mark a cache 72 // a hash function, H, and use an array indexed by H(key): 73 // void Put(K key, V value) { a_[H(key)] = pair<K, V>(key, value); } 74 // V GetOrDefault(K key, V default) { const pair<K, V> &p = a_[H(key)]; 158 Put(K key, V value) argument 169 GetOrDefault(K key, V default_value) const argument 210 Hash(K key) argument 215 KeyMatch(T entry, K key) argument [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | packed-cache-inl.h | 33 // This file provides a minimal cache that can hold a <key, value> pair 34 // with little if any wasted space. The types of the key and value 42 // must be large enough to hold a partial key and a value packed 47 // some <key, value> pair; the class provides no way to mark a cache 72 // a hash function, H, and use an array indexed by H(key): 73 // void Put(K key, V value) { a_[H(key)] = pair<K, V>(key, value); } 74 // V GetOrDefault(K key, V default) { const pair<K, V> &p = a_[H(key)]; 156 Put(K key, V value) argument 167 GetOrDefault(K key, V default_value) const argument 208 Hash(K key) argument 213 KeyMatch(T entry, K key) argument [all...] |
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
H A D | aes.py | 7 def __init__(self, key, mode, IV, implementation): 8 if len(key) not in (16, 24, 32): 17 if len(key)==16: 19 elif len(key)==24: 21 elif len(key)==32:
|
H A D | openssl_rc4.py | 11 def new(key): 12 return OpenSSL_RC4(key) 16 def __init__(self, key): 17 RC4.__init__(self, key, "openssl") 19 m2.rc4_set_key(self.rc4, key)
|
H A D | cipherfactory.py | 31 def createAES(key, IV, implList=None): 34 @type key: str 35 @param key: A 16, 24, or 32 byte string. 48 return openssl_aes.new(key, 2, IV) 50 return pycrypto_aes.new(key, 2, IV) 52 return python_aes.new(key, 2, IV) 55 def createRC4(key, IV, implList=None): 58 @type key: str 59 @param key: A 16 to 32 byte string. 74 return openssl_rc4.new(key) [all...] |
/external/chromium_org/tools/usb_gadget/ |
H A D | hid_constants.py | 74 """Keyboard modifier key report values. 114 for key, code in zip(xrange(ord('a'), ord('z') + 1), xrange(4, 30)): 115 KEY_CODES[chr(key)] = code 116 for key, code in zip(xrange(ord('1'), ord('9') + 1), xrange(30, 39)): 117 KEY_CODES[chr(key)] = code 118 for key, code in zip(['Enter', 'Esc', 'Backspace', 'Tab', ' '], xrange(40, 45)): 119 KEY_CODES[key] = code 120 for key, code in zip('-=[]\\', xrange(45, 50)): 121 KEY_CODES[key] = code 122 for key, cod [all...] |
/external/chromium_org/v8/src/ |
H A D | weak-collection.js | 51 function WeakMapGet(key) { 56 if (!(IS_SPEC_OBJECT(key) || IS_SYMBOL(key))) { 57 throw %MakeTypeError('invalid_weakmap_key', [this, key]); 59 return %WeakCollectionGet(this, key); 63 function WeakMapSet(key, value) { 68 if (!(IS_SPEC_OBJECT(key) || IS_SYMBOL(key))) { 69 throw %MakeTypeError('invalid_weakmap_key', [this, key]); 71 return %WeakCollectionSet(this, key, valu [all...] |
/external/clang/test/PCH/ |
H A D | objc_container.h | 9 - (id)objectForKeyedSubscript:(id)key; 10 - (void)setObject:(id)object forKeyedSubscript:(id)key; 20 id key; local 22 oldObject = dictionary[key]; 24 dictionary[key] = newObject;
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | ImmutableEntry.java | 31 private final K key; field in class:ImmutableEntry 34 ImmutableEntry(@Nullable K key, @Nullable V value) { argument 35 this.key = key; 40 return key;
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_hash_table.h | 59 util_hash_table_create(unsigned (*hash)(void *key), 65 void *key, 70 void *key); 75 void *key); 85 (void *key, void *value, void *data),
|
/external/qemu/include/qemu/ |
H A D | aes.h | 14 AES_KEY *key); 16 AES_KEY *key); 19 const AES_KEY *key); 21 const AES_KEY *key); 23 const unsigned long length, const AES_KEY *key,
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
H A D | MethodSection.java | 40 @Nonnull TypeKey getDefiningClass(@Nonnull MethodRefKey key); argument 41 @Nonnull ProtoKey getPrototype(@Nonnull MethodRefKey key); argument 42 @Nonnull ProtoKey getPrototype(@Nonnull MethodKey key); argument 43 @Nonnull StringKey getName(@Nonnull MethodRefKey key); argument 44 int getMethodIndex(@Nonnull MethodKey key); argument
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/fx/ |
H A D | options.js | 15 var key = event.target.name; 18 localStorage.setItem(key, "enabled"); 21 localStorage.setItem(key, "disabled"); 34 for (var key in localStorage) { 35 keys.push(key); 36 console.log(key); 40 var key = keys[index]; 44 check.name = key; 45 check.checked = localStorage[key] == "enabled"; 49 text.id = key; [all...] |