HomeSort by relevance Sort by last modified time
    Searched defs:keys (Results 251 - 275 of 2356) sorted by null

<<11121314151617181920>>

  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_userdict.py 91 # Test keys, items, values
92 self.assertEqual(u2.keys(), d2.keys())
97 for i in u2.keys():
118 for i in u2.keys():
129 keys = u2.keys()
130 self.assertEqual(set(ikeys), set(keys))
166 self.assertNotIn(2, d.keys())
236 def keys(self) member in class:SeqDict
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/
weakref.py 233 """ Mapping class that references keys weakly.
315 """Return an iterator that yields the weak references to the keys.
321 keep the keys around longer than needed.
339 """Return a list of weak references to the keys.
345 keep the keys around longer than needed.
348 return self.data.keys()
350 def keys(self): member in class:WeakKeyDictionary
352 for wr in self.data.keys():
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/
__init__.py 117 # since we're only returning keys, we call the cursor
301 def keys(self): member in class:_DBWithCursor
303 return _DeadlockWrap(self.db.keys)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_userdict.py 91 # Test keys, items, values
92 self.assertEqual(u2.keys(), d2.keys())
97 for i in u2.keys():
118 for i in u2.keys():
129 keys = u2.keys()
130 self.assertEqual(set(ikeys), set(keys))
166 self.assertNotIn(2, d.keys())
236 def keys(self) member in class:SeqDict
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
weakref.py 233 """ Mapping class that references keys weakly.
315 """Return an iterator that yields the weak references to the keys.
321 keep the keys around longer than needed.
339 """Return a list of weak references to the keys.
345 keep the keys around longer than needed.
348 return self.data.keys()
350 def keys(self): member in class:WeakKeyDictionary
352 for wr in self.data.keys():
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/
__init__.py 117 # since we're only returning keys, we call the cursor
301 def keys(self): member in class:_DBWithCursor
303 return _DeadlockWrap(self.db.keys)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_userdict.py 91 # Test keys, items, values
92 self.assertEqual(u2.keys(), d2.keys())
97 for i in u2.keys():
118 for i in u2.keys():
129 keys = u2.keys()
130 self.assertEqual(set(ikeys), set(keys))
166 self.assertNotIn(2, d.keys())
236 def keys(self) member in class:SeqDict
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
weakref.py 233 """ Mapping class that references keys weakly.
315 """Return an iterator that yields the weak references to the keys.
321 keep the keys around longer than needed.
339 """Return a list of weak references to the keys.
345 keep the keys around longer than needed.
348 return self.data.keys()
350 def keys(self): member in class:WeakKeyDictionary
352 for wr in self.data.keys():
  /libcore/luni/src/test/java/libcore/java/util/
HashMapTest.java 98 Set<String> keys = m.keySet(); local
99 SpliteratorTester.runBasicIterationTests(keys.spliterator(), expectedKeys);
100 SpliteratorTester.runBasicSplitTests(keys, expectedKeys);
101 SpliteratorTester.testSpliteratorNPE(keys.spliterator());
102 SpliteratorTester.runSizedTests(keys.spliterator(), 10);
104 keys.spliterator().characteristics());
105 SpliteratorTester.assertSupportsTrySplit(keys);
LinkedHashMapTest.java 369 Set<String> keys = m.keySet(); local
370 SpliteratorTester.runBasicIterationTests(keys.spliterator(), expectedKeys);
371 SpliteratorTester.runBasicSplitTests(keys, expectedKeys);
372 SpliteratorTester.testSpliteratorNPE(keys.spliterator());
373 SpliteratorTester.runOrderedTests(keys);
374 SpliteratorTester.runSizedTests(keys.spliterator(), 10);
375 SpliteratorTester.runSubSizedTests(keys.spliterator(), 10);
379 keys.spliterator().characteristics());
380 SpliteratorTester.assertSupportsTrySplit(keys);
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyFactory2Test.java 117 KeyPair keys = keyGen.generateKeyPair(); local
122 KeySpec privateKeySpec = fact.getKeySpec(keys.getPrivate(),
126 Arrays.toString(keys.getPrivate().getEncoded()),
128 privateKey = fact.generatePrivate(new PKCS8EncodedKeySpec(keys.getPrivate().getEncoded()));
130 Arrays.toString(keys.getPrivate().getEncoded()),
147 KeyPair keys = keyGen.generateKeyPair(); local
151 KeySpec publicKeySpec = fact.getKeySpec(keys.getPublic(),
158 Arrays.toString(keys.getPublic().getEncoded()),
239 KeyPair keys = keyGen.generateKeyPair(); local
243 KeySpec privateKeySpec = fact.getKeySpec(keys.getPrivate()
296 KeyPair keys = keyGen.generateKeyPair(); local
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
RecoverableKeyStoreDbTest.java 181 Map<String, WrappedKey> keys = mRecoverableKeyStoreDb.getAllKeys(userId, uid, generationId); local
183 assertEquals(1, keys.size());
184 assertTrue(keys.containsKey(alias));
185 WrappedKey retrievedKey = keys.get(alias);
202 Map<String, WrappedKey> keys = mRecoverableKeyStoreDb.getAllKeys( local
205 assertTrue(keys.isEmpty());
217 Map<String, WrappedKey> keys = mRecoverableKeyStoreDb.getAllKeys( local
220 assertTrue(keys.isEmpty());
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
ItsTestActivity.java 190 Iterator<String> keys = jsonResults.keys(); local
191 while (keys.hasNext()) {
192 scenes.add(keys.next());
  /external/google-tv-pairing-protocol/java/src/com/google/polo/json/
JSONObject.java 79 * <li>Keys can be followed by <code>=</code> or <code>=></code> as well as
154 * An array of strings is used to identify the keys that should be copied.
155 * Missing keys are ignored.
387 * public members. The resulting JSONObject's keys will be the strings
389 * with those keys in the object. If a key is not found or not visible,
645 Iterator i = jo.keys();
714 * Get an enumeration of the keys of the JSONObject.
716 * @return An iterator of the keys.
718 public Iterator keys() { method in class:JSONObject
724 * Get the number of keys stored in the JSONObject
741 Iterator keys = keys(); local
1326 Iterator keys = keys(); local
1382 Iterator keys = sortedKeys(); local
1543 Iterator keys = keys(); local
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
MapsTransformValuesTest.java 207 Set<String> keys = map.keySet(); local
208 keys.remove("b");
211 Iterator<String> keyIterator = keys.iterator();
237 assertTrue(keys.isEmpty());
  /external/guice/core/test/com/google/inject/
ProvisionListenerTest.java 470 List<Key> keys = Lists.newArrayList(); field in class:ProvisionListenerTest.Capturer
472 keys.add(provision.getBinding().getKey());
488 Set<Key> copy = ImmutableSet.copyOf(keys);
489 keys.clear();
494 List<Key> copy = ImmutableList.copyOf(keys);
495 keys.clear();
  /external/protobuf/java/core/src/test/java/com/google/protobuf/
SmallSortedMapTest.java 404 Iterator<Integer> keys = keySet.iterator(); local
405 while (keys.hasNext()) {
406 Integer key = keys.next();
413 keys.remove();
420 private Set<Integer> makeSortedKeySet(Integer... keys) {
421 return new TreeSet<Integer>(Arrays.<Integer>asList(keys));
  /frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
RecoverableKeyStoreDb.java 176 * Returns all statuses for keys {@code uid} and {@code platformKeyGenerationId}.
236 * Returns all keys for the given {@code userId} {@code recoveryAgentUid}
239 * @param userId User id of the profile to which all the keys are associated.
241 * @param platformKeyGenerationId The generation ID of the platform key that wrapped these keys.
242 * (i.e., this should be the most recent generation ID, as older platform keys are not
276 HashMap<String, WrappedKey> keys = new HashMap<>(); local
286 keys.put(alias, new WrappedKey(nonce, keyMaterial, platformKeyGenerationId,
289 return keys;
312 * Updates status of old keys to {@code RecoveryController.RECOVERY_STATUS_PERMANENT_FAILURE}.
327 * Updates status of old keys to {@code RecoveryController.RECOVERY_STATUS_PERMANENT_FAILURE}
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
WeakHashMapTest.java 186 List keys = Arrays.asList(keyArray); local
194 assertTrue("Invalid map entry returned--bad key", keys.contains(entry.getKey()));
197 keys = null;
214 assertEquals("Incorrect number of keys returned after gc,", 99, entrySet.size());
295 List keys = Arrays.asList(keyArray); local
299 assertEquals("Incorrect number of keys returned,", 100, keySet.size());
303 assertTrue("Invalid map entry returned--bad key", keys.contains(key));
305 keys = null;
328 assertEquals("Incorrect number of keys returned after gc,", 99, keySet.size());
381 List keys = Arrays.asList(keyArray) local
537 Set<String> keys = hashMap.keySet(); local
    [all...]
  /art/runtime/interpreter/
interpreter_common.h 447 const int32_t* keys = reinterpret_cast<const int32_t*>(&switch_data[2]); local
448 DCHECK_ALIGNED(keys, 4);
449 int32_t first_key = keys[0];
475 const int32_t* keys = reinterpret_cast<const int32_t*>(&switch_data[2]); local
476 DCHECK_ALIGNED(keys, 4);
477 const int32_t* entries = keys + size;
483 int32_t foundVal = keys[mid];
  /art/runtime/interpreter/mterp/
mterp.cc 66 const int32_t* keys; local
73 * int keys[size] keys, sorted low-to-high; 32-bit aligned
84 /* The keys are guaranteed to be aligned on a 32-bit boundary;
87 keys = reinterpret_cast<const int32_t*>(switchData);
92 entries = keys + size;
95 * Binary-search through the array of keys, which are guaranteed to
103 int32_t foundVal = keys[mid];
    [all...]
  /bionic/libc/kernel/uapi/linux/tc_act/
tc_pedit.h 69 struct tc_pedit_key keys[0]; member in struct:tc_pedit_sel
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
CtsKeyEventUtil.java 75 * @param keys The series of key codes.
78 final int...keys) {
79 final int count = keys.length;
83 sendKeyDownUp(instrumentation, targetView, keys[i]);
93 * Sends a series of key events through instrumentation. The sequence of keys is a string
101 * @param keysSequence The sequence of keys.
105 final String[] keys = keysSequence.split(" "); local
106 final int count = keys.length;
109 String key = keys[i];
199 * Sends a key event while holding another modifier key down, then releases both keys an
    [all...]
  /cts/tests/sensor/src/android/hardware/cts/helpers/
SensorStats.java 102 * Get the keys from the values table. Will not get the keys from the nested
118 * Flattens the map and all sub {@link SensorStats} objects. Keys will be flattened using
172 List<String> keys = new ArrayList<>(flattenedStats.keySet()); local
173 Collections.sort(keys);
174 return keys;
  /cts/tests/tests/drm/src/android/drm/cts/
DrmInfoRequestTest.java 73 Iterator<String> keys = attributes.keySet().iterator(); local
74 while (keys.hasNext()) {
75 final String key = (String) keys.next();
79 // Request object must have all the keys that attributes does.
81 while (keys.hasNext()) {
82 final String key = (String) keys.next();
86 // Attributes object must have all the keys that request does.

Completed in 680 milliseconds

<<11121314151617181920>>