/external/marisa-trie/tests/ |
trie-test.cc | 34 std::vector<std::string> *keys) 35 : key_ids_(key_ids), keys_(keys) {} 63 std::vector<std::string> keys; local 64 trie.build(keys); 69 keys.push_back("apple"); 70 keys.push_back("and"); 71 keys.push_back("Bad"); 72 keys.push_back("apple"); 73 keys.push_back("app"); 76 trie.build(keys, &key_ids, 1 | MARISA_WITHOUT_TAIL | MARISA_LABEL_ORDER) 184 std::vector<std::string> keys; local 409 std::vector<std::string> keys; local 511 std::vector<std::string> keys; local 575 std::vector<std::string> keys; local [all...] |
/external/marisa-trie/tools/ |
marisa-build.cc | 40 void read_keys(std::istream *input, std::vector<Key> *keys) { 57 keys->push_back(key); 62 std::vector<Key> keys; local 64 read_keys(&std::cin, &keys); 74 read_keys(&input_file, &keys); 79 trie.build(keys, NULL, param_num_tries 87 std::cerr << "#keys: " << trie.num_keys() << std::endl;
|
/external/marisa-trie/v0_1_5/tests/ |
trie-test.cc | 34 std::vector<std::string> *keys) 35 : key_ids_(key_ids), keys_(keys) {} 63 std::vector<std::string> keys; local 64 trie.build(keys); 69 keys.push_back("apple"); 70 keys.push_back("and"); 71 keys.push_back("Bad"); 72 keys.push_back("apple"); 73 keys.push_back("app"); 76 trie.build(keys, &key_ids 186 std::vector<std::string> keys; local 427 std::vector<std::string> keys; local 529 std::vector<std::string> keys; local 593 std::vector<std::string> keys; local [all...] |
/external/marisa-trie/v0_1_5/tools/ |
marisa_alpha-build.cc | 40 void read_keys(std::istream *input, std::vector<Key> *keys) { 57 keys->push_back(key); 62 std::vector<Key> keys; local 64 read_keys(&std::cin, &keys); 74 read_keys(&input_file, &keys); 79 trie.build(keys, NULL, param_num_tries 87 std::cerr << "#keys: " << trie.num_keys() << std::endl;
|
/external/markdown/markdown/ |
odict.py | 3 A dictionary that keeps its keys in the order in which they're inserted. 18 self.keyOrder = data.keys() 64 def keys(self): member in class:OrderedDict 109 Replace the normal dict.__repr__ with a version that returns the keys
|
/external/openssh/ |
ssh-keysign.c | 154 Key *keys[NUM_KEYTYPES], *key = NULL; local 210 keys[i] = NULL; 213 keys[i] = key_load_private_pem(key_fd[i], KEY_UNSPEC, 216 if (keys[i] != NULL) 240 if (keys[i] != NULL && 241 key_equal_public(key, keys[i])) { 249 if (key_sign(keys[i], &signature, &slen, data, dlen) != 0)
|
/external/qemu/android/utils/ |
intmap.c | 20 * One array for the integer keys, and the other one 31 int* keys; member in struct:AIntMap 47 map->keys = map->keys0; 57 if (map->keys != map->keys0) 58 AFREE(map->keys); 85 int* keys = map->keys; local 89 if (keys[index] == key) 101 void* keys = map->keys; local 128 int* keys; local 161 int* keys; local [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/ |
StartedServiceMatcher.java | 40 * Check if the class of the intent and the keys of the intent's extras match 70 // Test that both intent extras have the same keys 71 Set<String> keys = shadowIntent.getExtras().keySet(); local 73 intentsMatch = keys.equals(expectedKeys); 75 message += "did not get the same extras keys";
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Format/ |
SparseSwitchDataPseudoInstruction.java | 42 private int[] keys; field in class:SparseSwitchDataPseudoInstruction 50 public SparseSwitchDataPseudoInstruction(int[] keys, int[] targets) { 53 if (keys.length != targets.length) { 54 throw new RuntimeException("The number of keys and targets don't match"); 66 this.keys = keys; 83 keys = new int[targetCount]; 87 keys[i] = NumberUtils.decodeInt(buffer, bufferIndex + 4 + i*4); 100 int key = keys[0]; 104 for (int i = 1; i < keys.length; i++) 106 assert key >= keys[i - 1]; local [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_tls_common.c | 78 struct tls_keys keys; local 89 if (tls_connection_get_keys(sm->ssl_ctx, data->conn, &keys)) 92 if (keys.client_random == NULL || keys.server_random == NULL || 93 keys.master_key == NULL) 96 rnd = os_malloc(keys.client_random_len + keys.server_random_len); 99 os_memcpy(rnd, keys.client_random, keys.client_random_len); 100 os_memcpy(rnd + keys.client_random_len, keys.server_random [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/ |
MockAbstractSelector.java | 65 public Set<SelectionKey> keys() { method in class:MockAbstractSelector
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
dumbdbm.py | 58 # file, and holds the values associated with keys. Each value 65 self._index = None # maps keys to (pos, siz) pairs 164 raise TypeError, "keys and values must be strings" 198 def keys(self): member in class:_Database 199 return self._index.keys()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
ObjectBrowser.py | 45 keys = dir(self.object) 47 for key in keys: 89 def keys(self): member in class:SequenceTreeItem 93 for key in self.keys(): 105 def keys(self): member in class:DictTreeItem 106 keys = self.object.keys() 108 keys.sort() 111 return keys
|
StackViewer.py | 108 def keys(self): member in class:VariablesTreeItem 109 return self.object.keys() 113 for key in self.keys():
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/wsgiref/ |
headers.py | 95 def keys(self): member in class:Headers
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
dumbdbm.py | 58 # file, and holds the values associated with keys. Each value 65 self._index = None # maps keys to (pos, siz) pairs 164 raise TypeError, "keys and values must be strings" 198 def keys(self): member in class:_Database 199 return self._index.keys()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
ObjectBrowser.py | 45 keys = dir(self.object) 47 for key in keys: 89 def keys(self): member in class:SequenceTreeItem 93 for key in self.keys(): 105 def keys(self): member in class:DictTreeItem 106 keys = self.object.keys() 108 keys.sort() 111 return keys
|
StackViewer.py | 108 def keys(self): member in class:VariablesTreeItem 109 return self.object.keys() 113 for key in self.keys():
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/wsgiref/ |
headers.py | 95 def keys(self): member in class:Headers
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyFactory2Test.java | 104 KeyPair keys = keyGen.generateKeyPair(); local 109 KeySpec privateKeySpec = fact.getKeySpec(keys.getPrivate(), 112 boolean samePrivate = Arrays.equals(keys.getPrivate() 117 fact.generatePrivate(new PKCS8EncodedKeySpec(keys.getPrivate() 145 KeyPair keys = keyGen.generateKeyPair(); local 149 KeySpec publicKeySpec = fact.getKeySpec(keys.getPublic(), 152 boolean samePublic = Arrays.equals(keys.getPublic() 254 KeyPair keys = keyGen.generateKeyPair(); local 258 KeySpec privateKeySpec = fact.getKeySpec(keys.getPrivate(), 260 KeySpec publicKeySpec = fact.getKeySpec(keys.getPublic() 328 KeyPair keys = keyGen.generateKeyPair(); local [all...] |
/art/compiler/dex/quick/x86/ |
call_x86.cc | 41 const int* keys = reinterpret_cast<const int*>(&table[2]); local 42 const int* targets = &keys[entries]; 45 int key = keys[i];
|
/cts/tools/dasm/src/dasm/ |
DasmCatchBuilder.java | 121 Enumeration<CstType> keys = unprocessed_catches.elementAt(i) local 122 .type_branch.keys(); 123 while (keys.hasMoreElements()) { 124 result.add(keys.nextElement().getClassType()); 191 Enumeration<CstType> keys = uc.type_branch.keys(); local 194 while (keys.hasMoreElements()) { 195 CstType type = keys.nextElement();
|
/external/chromium/chrome/browser/extensions/ |
extension_pref_value_map.cc | 92 std::set<std::string> keys; // keys set by this extension 93 GetExtensionControlledKeys(*(i->second), &keys); 98 NotifyPrefValueChanged(keys); 107 std::set<std::string> keys; // keys set by this extension 108 GetExtensionControlledKeys(*(i->second), &keys); 110 NotifyPrefValueChanged(keys); 209 // Collect all currently used keys and notify the new observer. 210 std::set<std::string> keys; local [all...] |
/external/chromium/net/disk_cache/ |
stress_cache.cc | 125 std::string keys[kNumKeys]; local 129 keys[i] = GenerateKey(true); 145 rv = cache->OpenEntry(keys[key], &entries[slot], &cb); 147 rv = cache->CreateEntry(keys[key], &entries[slot], &cb); 159 rv = cache->DoomEntry(keys[key], &cb);
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
x11_input_method_context_impl_gtk2.cc | 46 GdkKeymapKey* keys = NULL; local 51 &keys, &keyvals, &n_entries)) { 54 keyboard_group = keys[i].group; 59 g_free(keys); 60 keys = NULL;
|