Searched refs:key (Results 226 - 250 of 6694) sorted by relevance

1234567891011>>

/external/chromium_org/content/renderer/media/
H A Drtc_media_constraints.cc25 new_constraint.key = constraints[i].m_name.utf8();
29 if (new_constraint.key == kMediaStreamSource ||
30 new_constraint.key == kMediaStreamSourceId)
34 if (new_constraint.key == kMediaStreamSourceInfoId)
38 if (MediaStreamVideoSource::IsConstraintSupported(new_constraint.key))
41 DVLOG(3) << "MediaStreamConstraints:" << new_constraint.key
75 bool RTCMediaConstraints::AddOptional(const std::string& key, argument
78 return AddConstraint(&optional_, key, value, override_if_exists);
81 bool RTCMediaConstraints::AddMandatory(const std::string& key, argument
84 return AddConstraint(&mandatory_, key, valu
87 AddConstraint(Constraints* constraints, const std::string& key, const std::string& value, bool override_if_exists) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/polyfills/
H A DcacheStoragePolyfill.js15 CacheStorage.prototype.get = function(key) {
16 if (this.cachesByName.hasOwnProperty(key)) {
17 return Promise.resolve(this.cachesByName[key]);
22 CacheStorage.prototype.has = function(key) {
23 return Promise.resolve(this.cachesByName.hasOwnProperty(key));
30 CacheStorage.prototype.create = function(key) {
31 this.cachesByName[key] = new Cache();
53 CacheStorage.prototype.delete = function(key) {
54 delete this.cachesByName[key];
60 Object.keys(this.cachesByName).map(function(key) {
[all...]
/external/chromium_org/third_party/libaddressinput/chromium/
H A Dchrome_storage_impl.cc20 void ChromeStorageImpl::Put(const std::string& key, argument
25 backing_store_->SetValue(key, string_value.release());
29 const std::string& key,
32 const_cast<ChromeStorageImpl*>(this)->DoGet(key, data_ready.Pass());
35 void ChromeStorageImpl::OnPrefValueChanged(const std::string& key) {} argument
41 DoGet((*iter)->key, (*iter)->callback.Pass());
48 const std::string& key,
52 new Request(key, data_ready.Pass()));
58 if (backing_store_->GetValue(key, &value) &&
60 (*data_ready)(true, key, string_valu
28 Get( const std::string& key, scoped_ptr<Storage::Callback> data_ready) const argument
47 DoGet( const std::string& key, scoped_ptr<Storage::Callback> data_ready) argument
66 Request(const std::string& key, scoped_ptr<Storage::Callback> callback) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/program/
H A Dhash_table.h49 typedef unsigned (*hash_func_t)(const void *key);
88 * \param key Key of the desired element
92 * the matching key was added. If no matching key exists in the table,
95 extern void *hash_table_find(struct hash_table *ht, const void *key);
102 * If \c key is already in the hash table, it will be added again. Future
104 * repsectively, the most recently added instance of \c key.
107 * The value passed by \c key is kept in the hash table and is used by later
113 const void *key);
119 * 1 if it did replace the the value (in which case the old key i
241 get(unsigned &value, const char *key) argument
253 put(unsigned value, const char *key) argument
276 delete_key(const void *key, void *data, void *closure) argument
[all...]
/external/mesa3d/src/mesa/program/
H A Dhash_table.h49 typedef unsigned (*hash_func_t)(const void *key);
88 * \param key Key of the desired element
92 * the matching key was added. If no matching key exists in the table,
95 extern void *hash_table_find(struct hash_table *ht, const void *key);
102 * If \c key is already in the hash table, it will be added again. Future
104 * repsectively, the most recently added instance of \c key.
107 * The value passed by \c key is kept in the hash table and is used by later
113 const void *key);
119 * 1 if it did replace the the value (in which case the old key i
241 get(unsigned &value, const char *key) argument
253 put(unsigned value, const char *key) argument
276 delete_key(const void *key, void *data, void *closure) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DHashFunctions.h42 unsigned key = key8; local
43 key += ~(key << 15);
44 key ^= (key >> 10);
45 key += (key << 3);
46 key ^= (key >> 6);
47 key
55 unsigned key = key16; local
66 intHash(uint32_t key) argument
78 intHash(uint64_t key) argument
104 hash(T key) argument
111 hash(T key) argument
125 hash(T key) argument
143 hash(const RefPtr<P>& key) argument
144 hash(const PassRefPtr<P>& key) argument
153 hash(const RawPtr<P>& key) argument
161 hash(const OwnPtr<P>& key) argument
162 hash(const PassOwnPtr<P>& key) argument
[all...]
/external/smack/src/org/xbill/DNS/
H A DTCPClient.java19 SocketChannel channel = (SocketChannel) key.channel();
25 SocketChannel channel = (SocketChannel) key.channel();
28 key.interestOps(SelectionKey.OP_CONNECT);
31 if (!key.isConnectable())
32 blockUntil(key, endTime);
36 if (key.isValid())
37 key.interestOps(0);
43 SocketChannel channel = (SocketChannel) key.channel();
52 key.interestOps(SelectionKey.OP_WRITE);
55 if (key
[all...]
/external/openssl/crypto/rsa/
H A Drsa_chk.c56 int RSA_check_key(const RSA *key) argument
63 if (!key->p || !key->q || !key->n || !key->e || !key->d)
84 r = BN_is_prime_ex(key->p, BN_prime_checks, NULL, NULL);
94 r = BN_is_prime_ex(key->q, BN_prime_checks, NULL, NULL);
104 r = BN_mul(i, key->p, key
[all...]
/external/chromium_org/chrome/browser/policy/
H A Dconfiguration_policy_handler_list_factory.cc66 { key::kHomepageLocation,
69 { key::kHomepageIsNewTabPage,
72 { key::kRestoreOnStartupURLs,
75 { key::kAlternateErrorPagesEnabled,
78 { key::kSearchSuggestEnabled,
81 { key::kDnsPrefetchingEnabled,
84 { key::kBuiltInDnsClientEnabled,
87 { key::kWPADQuickCheckEnabled,
90 { key::kDisableSpdy,
93 { key
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
H A DDOMWrapperMap.h50 v8::Handle<v8::Object> newLocal(KeyType* key, v8::Isolate* isolate) argument
52 return m_map.Get(key);
55 bool setReturnValueFrom(v8::ReturnValue<v8::Value> returnValue, KeyType* key) argument
57 return m_map.SetReturnValue(key, returnValue);
60 void setReference(const v8::Persistent<v8::Object>& parent, KeyType* key, v8::Isolate* isolate) argument
62 m_map.SetReference(key, parent);
65 bool containsKey(KeyType* key) argument
67 return m_map.Contains(key);
70 void set(KeyType* key, v8::Handle<v8::Object> wrapper, const WrapperConfiguration& configuration) argument
72 ASSERT(static_cast<KeyType*>(toNative(wrapper)) == key);
84 removeAndDispose(KeyType* key) argument
106 Set( Impl* impl, KeyType* key, v8::PersistentContainerValue value) argument
113 Get(const Impl* impl, KeyType* key) argument
118 Remove(Impl* impl, KeyType* key) argument
128 WeakCallbackParameter(MapType* map, KeyType* key, v8::Local<v8::Object>& value) argument
150 Dispose(v8::Isolate* isolate, v8::UniquePersistent<v8::Object> value, KeyType* key) argument
158 Dispose( v8::Isolate* isolate, v8::UniquePersistent<v8::Object> value, void* key) argument
[all...]
/external/chromium_org/third_party/android_testrunner/
H A Dam_instrument_parser.py69 key/value pairs from the bundle passed into
86 key = ''
94 key = re_result.search(line).group(1).strip(string.whitespace)
95 if key.startswith('performance.'):
96 key = key[len('performance.'):]
99 result_dict[key] = float(val)
101 result_dict[key] = val
103 result_dict[key] = val
106 key
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_atom_shader.c77 struct st_fp_variant_key key; local
83 memset(&key, 0, sizeof(key));
84 key.st = st;
87 key.clamp_color = st->clamp_frag_color_in_shader &&
91 st->fp_variant = st_get_fp_variant(st, stfp, &key);
126 struct st_vp_variant_key key; local
135 memset(&key, 0, sizeof key);
136 key
178 struct st_gp_variant_key key; local
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_shader.c77 struct st_fp_variant_key key; local
83 memset(&key, 0, sizeof(key));
84 key.st = st;
87 key.clamp_color = st->clamp_frag_color_in_shader &&
91 st->fp_variant = st_get_fp_variant(st, stfp, &key);
126 struct st_vp_variant_key key; local
135 memset(&key, 0, sizeof key);
136 key
178 struct st_gp_variant_key key; local
[all...]
/external/bluetooth/bluedroid/btif/include/
H A Dbtif_config.h52 int btif_config_exist(const char* section, const char* key, const char* name);
53 int btif_config_get_int(const char* section, const char* key, const char* name, int* value);
54 int btif_config_set_int(const char* section, const char* key, const char* name, int value);
55 int btif_config_get_str(const char* section, const char* key, const char* name, char* value, int* bytes);
56 int btif_config_set_str(const char* section, const char* key, const char* name, const char* value);
58 int btif_config_get(const char* section, const char* key, const char* name, char* value, int* bytes, int* type);
59 int btif_config_set(const char* section, const char* key, const char* name, const char* value, int bytes, int type);
61 int btif_config_remove(const char* section, const char* key, const char* name);
65 short btif_config_next_value(short pos, const char* section, const char* key, char* value_name, int* value_name_bytes);
67 typedef void (*btif_config_enum_callback)(void* user_data, const char* section, const char* key, cons
[all...]
/external/chromium_org/base/prefs/
H A Dpref_value_map.h28 // 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/service/
H A Dservice_process_prefs.h33 // Returns a string preference for |key|.
34 std::string GetString(const std::string& key,
37 // Set a string |value| for |key|.
38 void SetString(const std::string& key, const std::string& value);
40 // Returns a boolean preference for |key|.
41 bool GetBoolean(const std::string& key, bool default_value) const;
43 // Set a boolean |value| for |key|.
44 void SetBoolean(const std::string& key, bool value);
46 // Returns an int preference for |key|.
47 int GetInt(const std::string& key, in
[all...]
/external/chromium_org/content/browser/resources/media/
H A Dutil.js18 * the following arguments: f(value, key, object) where value is the value
19 * of the property, key is the corresponding key, and obj is the object that
25 var key;
26 for (key in obj) {
27 if (obj.hasOwnProperty(key)) {
28 f.call(optObj, obj[key], key, obj);
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dpthread_setspecific.c42 pthread_setspecific (pthread_key_t key, const void *value) argument
47 * key in the calling thread.
50 * key
53 * the value to set key to
58 * key in the calling thread.
71 if (key != ptw32_selfThreadKey)
88 * key
108 if (key != NULL)
110 if (self.p != NULL && key->destructor != NULL && value != NULL)
126 ptw32_mcs_lock_acquire(&(key
[all...]
/external/chromium_org/net/quic/
H A Dquic_utils_chromium.h19 // Returns a const reference to the value associated with the given key if it
23 // when the key is guaranteed to exist.
32 // This version assumes the key is printable, and includes it in the fatal log
37 const typename Collection::value_type::first_type& key) {
38 typename Collection::const_iterator it = collection.find(key);
39 CHECK(it != collection.end()) << "Map key not found: " << key;
47 const typename Collection::value_type::first_type& key) {
48 typename Collection::iterator it = collection.find(key);
49 CHECK(it != collection.end()) << "Map key no
36 FindOrDie(const Collection& collection, const typename Collection::value_type::first_type& key) argument
46 FindOrDie(Collection& collection, const typename Collection::value_type::first_type& key) argument
57 FindOrNull(const Collection& collection, const typename Collection::value_type::first_type& key) argument
69 FindOrNull(Collection& collection, const typename Collection::value_type::first_type& key) argument
[all...]
/external/chromium_org/third_party/markdown/
H A Dodict.py40 """Return an iterator over the (key, value) pairs of a dictionary.
64 for key, value in data:
65 # Take the ordering from first key
66 if key not in self:
67 self.keyOrder.append(key)
69 super_set(key, value)
72 return self.__class__([(key, deepcopy(value, memo))
73 for key, value in self.items()])
81 def __setitem__(self, key, value):
82 if key no
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/translate/
H A Dtranslate_cache.c73 static INLINE unsigned translate_hash_key_size(struct translate_key *key) argument
76 sizeof(struct translate_element) * (PIPE_MAX_ATTRIBS - key->nr_elements);
80 static INLINE unsigned create_key(struct translate_key *key) argument
83 unsigned size = translate_hash_key_size(key);
84 /*debug_printf("key size = %d, (els = %d)\n",
85 size, key->nr_elements);*/
86 hash_key = cso_construct_key(key, size);
91 struct translate_key *key)
93 unsigned hash_key = create_key(key);
97 key, sizeo
90 translate_cache_find(struct translate_cache *cache, struct translate_key *key) argument
[all...]
/external/chromium_org/third_party/openssl/openssl/crypto/des/
H A Ddess.cpp39 des_key_schedule key; local
48 des_encrypt1(&data[0],key,1);
50 des_encrypt1(&data[0],key,1);
51 des_encrypt1(&data[0],key,1);
52 des_encrypt1(&data[0],key,1);
55 des_encrypt1(&data[0],key,1);
56 des_encrypt1(&data[0],key,1);
57 des_encrypt1(&data[0],key,1);
58 des_encrypt1(&data[0],key,1);
60 des_encrypt1(&data[0],key,
[all...]
/external/chromium_org/third_party/tlslite/tlslite/utils/
H A Dopenssl_aes.py11 def new(key, mode, IV):
12 return OpenSSL_AES(key, mode, IV)
16 def __init__(self, key, mode, IV):
17 AES.__init__(self, key, mode, IV, "openssl")
18 self.key = key
23 if len(self.key)==16:
25 if len(self.key)==24:
27 if len(self.key)==32:
29 m2.cipher_init(context, cipherType, self.key, sel
[all...]
/external/compiler-rt/make/
H A Dlib_info.mk18 AvailableModules := $(sort $(foreach key,$(SubDirKeys),\
19 $($(key).ModuleName)))
22 $(foreach key,$(SubDirKeys),\
23 $(call Append,ModuleSubDirKeys.$($(key).ModuleName),$(key)))
25 AvailableArchs := $(sort $(foreach key,$(SubDirKeys),\
26 $($(key).OnlyArchs)))
28 AvailableFunctions := $(sort $(foreach key,$(SubDirKeys),\
29 $(basename $($(key).ObjNames))))
32 $(foreach key,
[all...]
/external/guava/guava/src/com/google/common/util/concurrent/
H A DAtomicLongMap.java20 * {@code K}. If a key has not yet been associated with a value, its implicit value is zero.
64 * Returns the value associated with {@code key}, or zero if there is no value associated with
65 * {@code key}.
67 public long get(K key) { argument
68 AtomicLong atomic = map.get(key);
73 * Increments by one the value currently associated with {@code key}, and returns the new value.
75 public long incrementAndGet(K key) { argument
76 return addAndGet(key, 1);
80 * Decrements by one the value currently associated with {@code key}, and returns the new value.
82 public long decrementAndGet(K key) { argument
90 addAndGet(K key, long delta) argument
124 getAndIncrement(K key) argument
131 getAndDecrement(K key) argument
139 getAndAdd(K key, long delta) argument
174 put(K key, long newValue) argument
220 remove(K key) argument
288 containsKey(Object key) argument
350 putIfAbsent(K key, long newValue) argument
383 replace(K key, long expectedOldValue, long newValue) argument
396 remove(K key, long value) argument
[all...]

Completed in 836 milliseconds

1234567891011>>