| /external/chromium_org/chrome/common/extensions/ |
| manifest_url_handler.h | 68 virtual const std::vector<std::string> Keys() const OVERRIDE; 82 virtual const std::vector<std::string> Keys() const OVERRIDE; 96 virtual const std::vector<std::string> Keys() const OVERRIDE; 113 virtual const std::vector<std::string> Keys() const OVERRIDE; 127 virtual const std::vector<std::string> Keys() const OVERRIDE;
|
| manifest.cc | 20 namespace keys = extension_manifest_keys; 108 if (value_->HasKey(keys::kTheme)) { 110 } else if (value_->HasKey(keys::kExport)) { 112 } else if (value_->HasKey(keys::kApp)) { 113 if (value_->Get(keys::kWebURLs, NULL) || 114 value_->Get(keys::kLaunchWebURL, NULL)) { 116 } else if (value_->Get(keys::kPlatformAppBackground, NULL)) { 140 // we will ignore keys that are not features; we do this for forward 164 // Also generate warnings for keys that are not features. 236 value_->GetInteger(keys::kManifestVersion, &manifest_version) [all...] |
| /external/chromium_org/third_party/bintrees/ |
| README.txt | 65 * keys([reverse]) -> generator for keys of T, O(n) 73 slicing by keys 77 * keyslice(s, e) -> generator for keys of T for s <= key < e, O(n) 79 * T[s:e] -> TreeSlice object, with keys in range s <= key < e, O(n) 93 * TreeSlice[s1:e1] -> TreeSlice object, with keys in range s1 <= key < e1 100 * keys() -> generator for keys of T, O(n) 102 * __iter__ <==> keys() 133 * intersection(t1, t2, ...) -> Tree with keys *common* to all tree [all...] |
| /external/chromium_org/tools/grit/grit/gather/ |
| regexp.py | 62 keys = groups.keys() 63 keys.sort() 65 for group in keys: 75 # we are using a sort set of keys, and because we assume that the
|
| /frameworks/base/docs/html/training/keyboard-input/ |
| commands.jd | 13 <li><a href="#ModifierKey">Handle Modifier Keys</a></li> 49 <p>For example, this implementation responds to some keyboard keys to control a game:</p> 74 <h2 id="ModifierKey">Handle Modifier Keys</h2> 78 provide information about modifier keys such as {@link android.view.KeyEvent#getModifiers()} 85 again, with some extra handling for when the Shift key is held down with one of the keys:</p>
|
| /frameworks/base/media/java/android/media/ |
| MediaMetadataEditor.java | 40 // Public keys for metadata used by RemoteControlClient and RemoteController. 41 // Note that these keys are defined here, and not in MediaMetadataRetriever 81 * Mask of editable keys. 114 * Note that clearing the metadata doesn't reset the editable keys 136 Log.e(TAG, "Can't change editable keys of a previously applied MetadataEditor"); 140 // of editable keys to check the validity of the key, just hardcode the supported key. 154 Log.e(TAG, "Can't remove all editable keys of a previously applied MetadataEditor"); 164 * Retrieves the keys flagged as editable. 165 * @return null if there are no editable keys, or an array containing the keys 170 int[] keys = { RATING_KEY_BY_USER }; local [all...] |
| /libcore/luni/src/test/java/tests/security/spec/ |
| EncodedKeySpec2Test.java | 42 KeyPair keys = keyGen.generateKeyPair(); local 49 byte[] encoded = keys.getPublic().getEncoded(); 53 isEqual(key, keys.getPublic())); 56 encoded = keys.getPrivate().getEncoded(); 60 isEqual(key, keys.getPrivate()));
|
| /system/core/include/cutils/ |
| hashmap.h | 38 * @param hash function which hashes keys 39 * @param equals function which compares keys for equality 45 * Frees the hash map. Does not free the keys or values themselves. 123 * Hashes int keys. 'key' is a pointer to int. 128 * Compares two int keys for equality.
|
| /external/chromium_org/sync/engine/ |
| apply_control_data_updates_unittest.cc | 216 // node enabling their encryption but also introducing pending keys. Ensure 261 // We encrypt with new keys, triggering the local cryptographer to be unready 291 // Since we have pending keys, we would have failed to encrypt, but the 305 // Verify we handle a nigori node conflict by merging encryption keys and 321 // Set up a temporary cryptographer to generate new keys with. 325 // Create server specifics with pending keys, new encrypted types, 337 // Initialize the local cryptographer with the local keys. 341 // Set up a local nigori with the local encryption keys and default encrypted 383 // Verify we handle a nigori node conflict by merging encryption keys and 399 // Set up a temporary cryptographer to generate new keys with [all...] |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
| mapping_tests.py | 53 knownkey = self.other.keys()[0] 77 # keys(), items(), iterkeys() ... 83 check_iterandlist(d.iterkeys(), d.keys(), self.reference.keys()) 84 check_iterandlist(iter(d), d.keys(), self.reference.keys()) 101 for key in self.reference.keys(): 147 self.assertEqual(d.keys(), []) 149 self.assertIn(self.inmapping.keys()[0], d.keys()) 204 def keys(self): member in class:BasicTestMappingProtocol.test_update.SimpleUserDict 224 def keys(self): member in class:BasicTestMappingProtocol.test_update.FailingUserDict 231 def keys(self): member in class:BasicTestMappingProtocol.test_update.FailingUserDict 248 def keys(self): member in class:BasicTestMappingProtocol.test_update.FailingUserDict 431 def keys(self): member in class:TestMappingProtocol.test_update.SimpleUserDict [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
| mapping_tests.py | 53 knownkey = self.other.keys()[0] 77 # keys(), items(), iterkeys() ... 83 check_iterandlist(d.iterkeys(), d.keys(), self.reference.keys()) 84 check_iterandlist(iter(d), d.keys(), self.reference.keys()) 101 for key in self.reference.keys(): 147 self.assertEqual(d.keys(), []) 149 self.assertIn(self.inmapping.keys()[0], d.keys()) 204 def keys(self): member in class:BasicTestMappingProtocol.test_update.SimpleUserDict 224 def keys(self): member in class:BasicTestMappingProtocol.test_update.FailingUserDict 231 def keys(self): member in class:BasicTestMappingProtocol.test_update.FailingUserDict 248 def keys(self): member in class:BasicTestMappingProtocol.test_update.FailingUserDict 431 def keys(self): member in class:TestMappingProtocol.test_update.SimpleUserDict [all...] |
| /external/chromium_org/chrome/common/extensions/manifest_handlers/ |
| theme_handler.cc | 18 namespace keys = extension_manifest_keys; 27 if (theme_value->GetDictionary(keys::kThemeImages, &images_value)) { 62 if (theme_value->GetDictionary(keys::kThemeColors, &colors_value)) { 94 if (!theme_value->GetDictionary(keys::kThemeTints, &tints_value)) 119 if (theme_value->GetDictionary(keys::kThemeDisplayProperties, 128 return static_cast<ThemeInfo*>(extension->GetManifestData(keys::kTheme)); 172 if (!extension->manifest()->GetDictionary(keys::kTheme, &theme_value)) { 187 extension->SetManifestData(keys::kTheme, theme_info.release()); 218 const std::vector<std::string> ThemeHandler::Keys() const { 219 return SingleKey(keys::kTheme) [all...] |
| /frameworks/base/core/java/android/util/ |
| LongSparseLongArray.java | 27 * auto-boxing keys and values and its data structure doesn't rely on an extra entry object 31 * using a binary search to find keys. The implementation is not intended to be appropriate for 39 * {@link #keyAt(int)} and {@link #valueAt(int)}. Iterating over the keys using 41 * keys in ascending order, or the values corresponding to the keys in ascending 173 * <p>The keys corresponding to indices in ascending order are guaranteed to 188 * to be associated with keys in ascending order, e.g., 208 * specified key, or a negative number if no keys map to the 211 * and that multiple keys can map to the same value and this will 231 * the key is greater than all existing keys in the array [all...] |
| SparseBooleanArray.java | 26 * auto-boxing keys and values and its data structure doesn't rely on an extra entry object 30 * using a binary search to find keys. The implementation is not intended to be appropriate for 38 * {@link #keyAt(int)} and {@link #valueAt(int)}. Iterating over the keys using 40 * keys in ascending order, or the values corresponding to the keys in ascending 170 * <p>The keys corresponding to indices in ascending order are guaranteed to 185 * to be associated with keys in ascending order, e.g., 205 * specified key, or a negative number if no keys map to the 208 * and that multiple keys can map to the same value and this will 228 * the key is greater than all existing keys in the array [all...] |
| SparseLongArray.java | 25 * auto-boxing keys and values and its data structure doesn't rely on an extra entry object 29 * using a binary search to find keys. The implementation is not intended to be appropriate for 37 * {@link #keyAt(int)} and {@link #valueAt(int)}. Iterating over the keys using 39 * keys in ascending order, or the values corresponding to the keys in ascending 169 * <p>The keys corresponding to indices in ascending order are guaranteed to 184 * to be associated with keys in ascending order, e.g., 204 * specified key, or a negative number if no keys map to the 207 * and that multiple keys can map to the same value and this will 227 * the key is greater than all existing keys in the array [all...] |
| /libcore/json/src/test/java/org/json/ |
| JSONArrayTest.java | 325 JSONArray keys = new JSONArray(); local 326 keys.put("a"); 327 keys.put("b"); 333 JSONObject object = values.toJSONObject(keys); 337 keys.put(0, "a"); 343 JSONArray keys = new JSONArray(); local 344 keys.put("a"); 345 keys.put("b"); 352 JSONObject object = values.toJSONObject(keys); 359 JSONArray keys = new JSONArray() local 370 JSONArray keys = new JSONArray(); local 381 JSONArray keys = new JSONArray(); local [all...] |
| /external/chromium_org/build/mac/ |
| tweak_info_plist.py | 56 def _RemoveKeys(plist, *keys): 57 """Removes a varargs of keys from the plist.""" 58 for key in keys: 113 |add_keys| is True, it will insert the keys, otherwise it will remove them.""" 143 """Writes the keys into a sub-dictionary of the plist.""" 157 # keys. If not, bail. 169 # Overwrite the existing keys with new ones. 184 """Adds the Breakpad keys. This must be called AFTER _AddVersionKeys() and 196 """Removes any set Breakpad keys.""" 208 """Adds the Keystone keys. This must be called AFTER _AddVersionKeys() an [all...] |
| /external/chromium_org/chrome/browser/extensions/ |
| extension_special_storage_policy_unittest.cc | 25 namespace keys = extension_manifest_keys; 104 manifest.SetString(keys::kName, "Protected"); 105 manifest.SetString(keys::kVersion, "1"); 106 manifest.SetString(keys::kLaunchWebURL, "http://explicit/protected/start"); 110 manifest.Set(keys::kWebURLs, list); 126 manifest.SetString(keys::kName, "Unlimited"); 127 manifest.SetString(keys::kVersion, "1"); 128 manifest.SetString(keys::kLaunchWebURL, "http://explicit/unlimited/start"); 131 manifest.Set(keys::kPermissions, list); 135 manifest.Set(keys::kWebURLs, list) [all...] |
| /external/dropbear/ |
| common-session.c | 88 ses.keys = (struct key_context*)m_malloc(sizeof(struct key_context)); 90 ses.keys->recv_algo_crypt = &dropbear_nocipher; 91 ses.keys->trans_algo_crypt = &dropbear_nocipher; 93 ses.keys->recv_algo_mac = &dropbear_nohash; 94 ses.keys->trans_algo_mac = &dropbear_nohash; 96 ses.keys->algo_kex = -1; 97 ses.keys->algo_hostkey = -1; 98 ses.keys->recv_algo_comp = DROPBEAR_COMP_NONE; 99 ses.keys->trans_algo_comp = DROPBEAR_COMP_NONE; 102 ses.keys->recv_zstream = NULL [all...] |
| /external/iproute2/tc/ |
| f_flow.c | 27 " [hashing mode]: hash keys KEY-LIST ... [ perturb SECS ]\n" 63 static int flow_parse_keys(__u32 *keys, __u32 *nkeys, char *argv) 68 *keys = 0; 78 *keys |= 1 << i; 98 static int get_addend(__u32 *addend, char *argv, __u32 keys) 112 if (keys & (FLOW_KEY_SRC | FLOW_KEY_DST | 140 __u32 keys = 0, nkeys = 0; local 161 } else if (matches(*argv, "keys") == 0) { 163 if (flow_parse_keys(&keys, &nkeys, *argv)) 165 addattr32(n, 4096, TCA_FLOW_KEYS, keys); [all...] |
| /external/icu4c/common/ |
| uhash.h | 8 * 07/06/01 aliu Modified to support int32_t keys on 22 * based on keys. It provides a good tradeoff between access time and 27 * Keys and values are stored as void* pointers. These void* pointers 31 * functions. These functions hash keys, compare keys, delete keys, 36 * UHashtable ownership of keys and values is flexible, and controlled 41 * then keys passed to uhash_put() are owned by the hashtable and will 42 * be deleted by it at some point, either as keys are replaced, or 44 * and the value deleter function pointer. Keys passed to method [all...] |
| /external/antlr/antlr-3.4/runtime/ObjC/Framework/ANTLR/ANTLR.xcodeproj/project.xcworkspace/xcuserdata/acondit.xcuserdatad/ |
| UserInterfaceState.xcuserstate | 16 <key>NS.keys</key> 380 <key>NS.keys</key> 449 <key>NS.keys</key> 536 <key>NS.keys</key> 621 <key>NS.keys</key> 642 <key>NS.keys</key> 709 <key>NS.keys</key> 749 <key>NS.keys</key> 791 <key>NS.keys</key> 832 <key>NS.keys</key [all...] |
| /external/guava/guava/src/com/google/common/collect/ |
| ImmutableMap.java | 35 * order. Does not permit null keys or values. 82 * @throws IllegalArgumentException if duplicate keys are provided 91 * @throws IllegalArgumentException if duplicate keys are provided 102 * @throws IllegalArgumentException if duplicate keys are provided 113 * @throws IllegalArgumentException if duplicate keys are provided 175 * keys are not allowed, and will cause {@link #build} to fail. 184 * necessary. Duplicate keys are not allowed, and will cause {@link #build} 207 * Associates all of the given map's keys and values in the built map. 208 * Duplicate keys are not allowed, and will cause {@link #build} to fail. 228 * @throws IllegalArgumentException if duplicate keys were adde 403 private final Object[] keys; field in class:ImmutableMap.SerializedForm [all...] |
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
| MoreKeysKeyboard.java | 62 * Set keyboard parameters of more keys keyboard. 64 * @param numKeys number of keys in this more keys keyboard. 65 * @param maxColumns number of maximum columns of this more keys keyboard. 66 * @param keyWidth more keys keyboard key width in pixel, including horizontal gap. 67 * @param rowHeight more keys keyboard row height in pixel, including vertical gap. 70 * @param isFixedColumnOrder if true, more keys should be laid out in fixed order. 78 throw new IllegalArgumentException("Keyboard is too small to hold more keys: " 94 // Maximum number of keys we can layout both side of the parent key 108 // If the left keys fill the left side of the parent key, entire more keys keyboar [all...] |
| /external/chromium_org/chrome/browser/extensions/api/declarative_webrequest/ |
| webrequest_condition.cc | 18 namespace keys = extensions::declarative_webrequest_constants; 38 namespace keys = declarative_webrequest_constants; 136 if (!condition_dict->GetString(keys::kInstanceTypeKey, &instance_type)) { 140 if (instance_type != keys::kRequestMatcherType) { 153 const bool name_is_url = condition_attribute_name == keys::kUrlKey; 154 if (condition_attribute_name == keys::kInstanceTypeKey) { 157 condition_attribute_name == keys::kFirstPartyForCookiesUrlKey) {
|