/libcore/luni/src/test/java/tests/api/java/util/ |
ListResourceBundleTest.java | 36 Enumeration keys = bundle.getKeys(); local 38 while (keys.hasMoreElements()) { 39 result.addElement(keys.nextElement()); 56 Enumeration keys = bundle.getKeys(); local 59 while (keys.hasMoreElements()) { 60 result.addElement(bundle.handleGetObject((String)keys.nextElement()));
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
SparseSwitchPayloadDecodedInstruction.java | 26 private final int[] keys; field in class:SparseSwitchPayloadDecodedInstruction 38 int opcode, int[] keys, int[] targets) { 41 if (keys.length != targets.length) { 42 throw new IllegalArgumentException("keys/targets length mismatch"); 45 this.keys = keys; 55 return keys;
|
/external/chromium_org/base/debug/ |
crash_logging_unittest.cc | 48 base::debug::CrashKey keys[] = { { kTestKey, 255 } }; local 49 base::debug::InitCrashKeys(keys, arraysize(keys), 255); 63 base::debug::CrashKey keys[] = { { kTestKey, 15 } }; local 64 base::debug::InitCrashKeys(keys, arraysize(keys), 5); 108 base::debug::CrashKey keys[] = { { kTestKey, 255 } }; local 109 base::debug::InitCrashKeys(keys, arraysize(keys), 255); 123 base::debug::CrashKey keys[] = local [all...] |
/external/chromium_org/chrome/browser/chromeos/login/screens/ |
screen_context_unittest.cc | 142 std::vector<std::string> keys; local 143 context().ApplyChanges(changes, &keys); 145 ASSERT_EQ(3u, keys.size()); 146 std::sort(keys.begin(), keys.end()); 147 ASSERT_EQ("key0", keys[0]); 148 ASSERT_EQ("key1", keys[1]); 149 ASSERT_EQ("key2", keys[2]);
|
/external/chromium_org/chrome/browser/extensions/api/identity/ |
extension_token_key_unittest.cc | 38 std::vector<extensions::ExtensionTokenKey> keys; local 52 keys.push_back( 58 // keys should not be less than themselves 59 for (ExtensionTokenKeyIterator it = keys.begin(); it != keys.end(); ++it) { 64 std::sort(keys.begin(), keys.end()); 65 for (ExtensionTokenKeyIterator it1 = keys.begin(); it1 != keys.end(); ++it1) { 67 for (++it2; it2 != keys.end(); ++it2) [all...] |
/external/chromium_org/chrome/browser/extensions/ |
external_registry_loader_win.cc | 60 std::set<base::string16> keys; local 64 keys.insert(iterator_machine_key.Name()); 68 keys.insert(iterator_user_key.Name()); 70 // Iterate over the keys found, first trying HKLM, then HKCU, as per Windows 73 for (std::set<base::string16>::const_iterator it = keys.begin(); 74 it != keys.end(); ++it) { 98 // path and version keys for this entry.
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
two_client_autofill_sync_test.cc | 64 std::set<AutofillKey> keys; local 65 keys.insert(AutofillKey("name0", "value0")); 66 AddKeys(0, keys); 73 keys.clear(); 74 keys.insert(AutofillKey("name1", "value1-0")); 75 AddKeys(1, keys); 82 keys.clear(); 83 keys.insert(AutofillKey("name1", "value1-1")); 84 AddKeys(0, keys); 110 std::set<AutofillKey> keys; local 123 std::set<AutofillKey> keys; local [all...] |
/external/chromium_org/chrome/browser/value_store/ |
testing_value_store.cc | 27 const std::vector<std::string>& keys) { 44 const std::vector<std::string>& keys) { 50 for (std::vector<std::string>::const_iterator it = keys.begin(); 51 it != keys.end(); ++it) { 101 const std::vector<std::string>& keys) { 107 for (std::vector<std::string>::const_iterator it = keys.begin(); 108 it != keys.end(); ++it) { 118 std::vector<std::string> keys; local 120 keys.push_back(it.key()); 122 return Remove(keys); [all...] |
/external/chromium_org/chrome/common/extensions/api/extension_action/ |
page_action_handler.cc | 17 namespace keys = manifest_keys; 30 if (extension->manifest()->HasKey(keys::kPageActions)) { 32 if (!extension->manifest()->GetList(keys::kPageActions, &list_value)) { 51 } else if (extension->manifest()->HasKey(keys::kPageAction)) { 52 if (!extension->manifest()->GetDictionary(keys::kPageAction, 60 if (extension->manifest()->HasKey(keys::kBrowserAction)) { 92 const std::vector<std::string> PageActionHandler::Keys() const { 93 std::vector<std::string> keys; local 94 keys.push_back(keys::kPageAction) [all...] |
/external/chromium_org/components/policy/core/common/ |
registry_dict_win.h | 51 // Clears all keys. 64 // Merge keys and values from |other|, giving precedence to |other|. 79 const KeyMap& keys() const { return keys_; } function in class:policy::RegistryDict
|
/external/chromium_org/remoting/host/ |
server_log_entry_unittest.cc | 19 // |keyValuePairs| lists the keys that must have specified values, and |keys| 20 // lists the keys that must be present, but may have arbitrary values. 21 // There must be no other keys. 24 const std::set<std::string> keys, 40 if (keys.find(key) == keys.end()) { 52 int attr_count_expected = key_value_pairs.size() + keys.size(); 55 s << "stanza has " << attrCount << " keys: expected " 73 std::set<std::string> keys; local 85 std::set<std::string> keys; local 100 std::set<std::string> keys; local 130 std::set<std::string> keys; local 146 std::set<std::string> keys; local [all...] |
/external/chromium_org/rlz/test/ |
rlz_test_helpers.cc | 43 std::map<string16, RegistryKeyData> keys; member in struct:__anon10254::RegistryKeyData 66 &data->keys[string16(i.Name())]); 82 data.keys.begin(); 83 iter != data.keys.end(); ++iter) {
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLKeygenElement.cpp | 56 Vector<String> keys; local 57 getSupportedKeySizes(locale(), keys); local 62 for (size_t i = 0; i < keys.size(); ++i) { 64 option->appendChild(Text::create(document(), keys[i]));
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/ |
lru_cache.py | 133 def keys(self): member in class:LRUCache 134 return self._dict.keys()
|
/external/chromium_org/third_party/bintrees/bintrees/ |
treeslice.py | 62 def keys(self): member in class:TreeSlice 64 __iter__ = keys
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
dbformat_test.cc | 50 const char* keys[] = { "", "k", "hello", "longggggggggggggggggggggg" }; local 57 for (int k = 0; k < sizeof(keys) / sizeof(keys[0]); k++) { 59 TestKey(keys[k], seq[s], kTypeValue); 66 // When user keys are same 80 // When user keys are misordered 85 // When user keys are different, but correctly ordered
|
/external/chromium_org/third_party/openssl/openssl/crypto/rc4/ |
rc4test.c | 75 static unsigned char keys[7][30]={ variable 131 RC4_set_key(&key,keys[i][0],&(keys[i][1])); 154 RC4_set_key(&key,keys[3][0],&(keys[3][1])); 181 RC4_set_key(&key,keys[3][0],&(keys[3][1])); 213 RC4_set_key(&key,keys[0][0],&(keys[3][1]));
|
/external/chromium_org/third_party/tlslite/tlslite/ |
BaseDB.py | 105 def keys(self): member in class:BaseDB 116 usernames = self.db.keys()
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-145201.js | 101 var keys = 0; variable 104 keys++; 107 assertTrue(keys == 0);
|
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/ |
SparseSwitchPayloadDecodedInstruction.java | 26 private final int[] keys; field in class:SparseSwitchPayloadDecodedInstruction 38 int opcode, int[] keys, int[] targets) { 41 if (keys.length != targets.length) { 42 throw new IllegalArgumentException("keys/targets length mismatch"); 45 this.keys = keys; 55 return keys;
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
TestMapEntrySetGenerator.java | 24 * Creates map entries using sample keys and sample values. 32 private final SampleElements<K> keys; field in class:TestMapEntrySetGenerator 36 SampleElements<K> keys, SampleElements<V> values) { 37 this.keys = keys; 43 return SampleElements.mapEntries(keys, values);
|
/external/marisa-trie/tests/ |
c-test.c | 92 const char *keys[8]; local 117 keys[0] = "apple"; 118 keys[1] = "and"; 119 keys[2] = "Bad"; 120 keys[3] = "apple"; 121 keys[4] = "app"; 123 ASSERT(marisa_build(trie, keys, 5, NULL, NULL, key_ids, 139 ASSERT(key_length == strlen(keys[i])); 140 ASSERT(strcmp(key_buf, keys[i]) == 0); 143 keys[i], MARISA_ZERO_TERMINATED, &key_id) == MARISA_OK) [all...] |
/external/marisa-trie/v0_1_5/tests/ |
c-test.c | 97 const char *keys[8]; local 124 keys[0] = "apple"; 125 keys[1] = "and"; 126 keys[2] = "Bad"; 127 keys[3] = "apple"; 128 keys[4] = "app"; 130 ASSERT(marisa_alpha_build(trie, keys, 5, NULL, NULL, key_ids, 147 ASSERT(key_length == strlen(keys[i])); 148 ASSERT(strcmp(key_buf, keys[i]) == 0); 151 keys[i], MARISA_ALPHA_ZERO_TERMINATED, &key_id) == MARISA_ALPHA_OK) [all...] |
/external/openssl/crypto/rc4/ |
rc4test.c | 75 static unsigned char keys[7][30]={ variable 131 RC4_set_key(&key,keys[i][0],&(keys[i][1])); 154 RC4_set_key(&key,keys[3][0],&(keys[3][1])); 181 RC4_set_key(&key,keys[3][0],&(keys[3][1])); 213 RC4_set_key(&key,keys[0][0],&(keys[3][1]));
|
/libcore/luni/src/main/java/java/nio/channels/ |
Selector.java | 27 * {@link SelectionKey} that represents the registration. The keys are also 28 * added to the selector's key set. Selection keys can be canceled so that the 31 * By invoking the {@code select} method, the key set is checked and all keys 33 * canceled keys. During the select operation, the channels registered with this 59 * {@link #wakeup()} method of this selector is called. After this, all keys 81 * Gets the set of registered keys. The set is immutable and is not thread- 84 * @return the set of registered keys. 86 public abstract Set<SelectionKey> keys(); method in class:Selector 130 * Gets the selection keys whose channels are ready for operation. The set 131 * is not thread-safe and no keys may be added to it. Removing keys i [all...] |