/external/smack/src/org/xbill/DNS/ |
H A D | TCPClient.java | 19 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/chromium_org/chrome/browser/policy/ |
H A D | configuration_policy_handler_list_factory.cc | 66 { key::kHomepageLocation, 69 { key::kHomepageIsNewTabPage, 72 { key::kRestoreOnStartupURLs, 75 { key::kAlternateErrorPagesEnabled, 78 { key::kSearchSuggestEnabled, 81 { key::kBuiltInDnsClientEnabled, 84 { key::kWPADQuickCheckEnabled, 87 { key::kDisableSpdy, 90 { key::kSafeBrowsingEnabled, 93 { key [all...] |
/external/chromium_org/chrome/browser/resources/ |
H A D | gesture_config.js | 57 label.setAttribute('for', field.key); 59 input.id = field.key; 70 reset.id = field.key + '-reset'; 85 $(field.key).onchange = (function(key) { 86 config.setPreferenceValue(key, $(key).value); 87 gesture_config.updateResetButton($(key + '-reset'), false); 89 }).bind(null, field.key); 90 $(field.key [all...] |
/external/openssl/crypto/rsa/ |
H A D | rsa_chk.c | 56 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/third_party/android_testrunner/ |
H A D | am_instrument_parser.py | 69 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 D | st_atom_shader.c | 77 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 D | st_atom_shader.c | 77 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 D | btif_config.h | 55 int btif_config_exist(const char* section, const char* key, const char* name); 56 int btif_config_get_int(const char* section, const char* key, const char* name, int* value); 57 int btif_config_set_int(const char* section, const char* key, const char* name, int value); 58 int btif_config_get_str(const char* section, const char* key, const char* name, char* value, int* bytes); 59 int btif_config_set_str(const char* section, const char* key, const char* name, const char* value); 61 int btif_config_get(const char* section, const char* key, const char* name, char* value, int* bytes, int* type); 62 int btif_config_set(const char* section, const char* key, const char* name, const char* value, int bytes, int type); 64 int btif_config_remove(const char* section, const char* key, const char* name); 68 short btif_config_next_value(short pos, const char* section, const char* key, char* value_name, int* value_name_bytes); 70 typedef void (*btif_config_enum_callback)(void* user_data, const char* section, const char* key, cons [all...] |
/external/chromium_org/chrome/service/ |
H A D | service_process_prefs.h | 33 // 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 D | util.js | 18 * 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/content/test/data/indexeddb/ |
H A D | key_types_test.js | 103 var key = test_keys.shift(); 104 if (!key) { 109 key = eval("(" + key + ")"); 113 var putreq = store.put(value, key); 116 getreq = store.get(key); 132 function(key) { 134 key = eval("(" + key + ")"); 135 var putreq = store.put('value', key); [all...] |
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
H A D | pthread_setspecific.c | 42 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 D | quic_utils_chromium.h | 19 // 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/WebKit/Source/bindings/modules/v8/ |
H A D | DictionaryHelperForModules.cpp | 70 template bool DictionaryHelper::get(const Dictionary&, const String& key, Member<MIDIPort>& value); 71 template bool DictionaryHelper::get(const Dictionary&, const String& key, Member<SpeechRecognitionResultList>& value); 72 template bool DictionaryHelper::get(const Dictionary&, const String& key, Member<Gamepad>& value); 73 template bool DictionaryHelper::get(const Dictionary&, const String& key, Member<MediaStream>& value); 74 template bool DictionaryHelper::get(const Dictionary&, const String& key, Member<Headers>& value); 76 template bool DictionaryHelper::convert(const Dictionary&, Dictionary::ConversionContext&, const String& key, Member<MIDIPort>& value); 77 template bool DictionaryHelper::convert(const Dictionary&, Dictionary::ConversionContext&, const String& key, Member<SpeechRecognitionResultList>& value); 78 template bool DictionaryHelper::convert(const Dictionary&, Dictionary::ConversionContext&, const String& key, Member<Gamepad>& value); 79 template bool DictionaryHelper::convert(const Dictionary&, Dictionary::ConversionContext&, const String& key, Member<MediaStream>& value); 80 template bool DictionaryHelper::convert(const Dictionary&, Dictionary::ConversionContext&, const String& key, Membe [all...] |
/external/chromium_org/third_party/markdown/ |
H A D | odict.py | 40 """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 D | translate_cache.c | 73 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/tlslite/tlslite/utils/ |
H A D | openssl_aes.py | 11 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 D | lib_info.mk | 18 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 D | AtomicLongMap.java | 20 * {@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...] |
/external/mesa3d/src/gallium/auxiliary/translate/ |
H A D | translate_cache.c | 73 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/openssl/crypto/des/ |
H A D | dess.cpp | 39 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/chrome/browser/resources/net_internals/ |
H A D | util.js | 89 * Returns the key such that map[key] == value, or the string '?' if 90 * there is no such key. 93 * @return {string} The key for |value|, or '?' if there is no such key. 96 for (var key in map) { 97 if (map[key] == value) 98 return key; 111 for (var key in map) 112 reversed[map[key]] [all...] |
/external/chromium_org/third_party/bintrees/bintrees/ |
H A D | treeslice.py | 22 def __contains__(self, key): 23 if self._inrange(key): 24 return key in self._tree 28 def _inrange(self, key): 29 if self._start is not None and key < self._start: 31 if self._stop is not None and key >= self._stop: 35 def __getitem__(self, key): 36 if isinstance(key, slice): 37 return self._subslice(key.start, key [all...] |
/external/chromium_org/v8/src/ |
H A D | symbol.js | 43 function InternalSymbol(key) { 45 if (IS_UNDEFINED(internal_registry[key])) { 46 internal_registry[key] = %CreateSymbol(key); 48 return internal_registry[key]; 52 function SymbolFor(key) { 53 key = TO_STRING_INLINE(key); 55 if (IS_UNDEFINED(registry.for[key])) { 56 var symbol = %CreateSymbol(key); [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/util/ |
H A D | LruCache.java | 36 protected void onItemRemoved(T key, Y item) { } argument 42 public boolean contains(T key) { argument 43 return cache.containsKey(key); 46 public Y get(T key) { argument 47 return cache.get(key); 50 public Y put(T key, Y item) { argument 53 onItemRemoved(key, item); 57 final Y result = cache.put(key, item); 65 public Y remove(T key) { argument 66 final Y value = cache.remove(key); [all...] |