/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/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...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
HashtableTest.java | 144 Enumeration keys = h.keys(); local 146 && !(keys.hasMoreElements())); 159 Enumeration org = htfull.keys(); 160 Enumeration cpy = h.keys(); 169 assertTrue("Copy has more keys than original", !cpy.hasMoreElements()); 241 assertEquals("All keys not retrieved", 10, ht10.size()); 417 * java.util.Hashtable#keys() 420 // Test for method java.util.Enumeration java.util.Hashtable.keys() 422 Enumeration keys = ht10.keys() local [all...] |
/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...] |
XML.java | 333 Iterator keys; local 347 // Loop thru the keys. 350 keys = jo.keys(); 351 while (keys.hasNext()) { 352 k = keys.next().toString(); 379 // Emit an array of similar keys
|
/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/protobuf/java/src/test/java/com/google/protobuf/ |
SmallSortedMapTest.java | 401 Iterator<Integer> keys = keySet.iterator(); local 402 while (keys.hasNext()) { 403 Integer key = keys.next(); 410 keys.remove(); 417 private Set<Integer> makeSortedKeySet(Integer... keys) { 418 return new TreeSet<Integer>(Arrays.<Integer>asList(keys));
|
/art/runtime/interpreter/ |
interpreter_common.h | 302 const int32_t* keys = reinterpret_cast<const int32_t*>(&switch_data[2]); local 303 DCHECK(IsAligned<4>(keys)); 304 int32_t first_key = keys[0]; 330 const int32_t* keys = reinterpret_cast<const int32_t*>(&switch_data[2]); local 331 DCHECK(IsAligned<4>(keys)); 332 const int32_t* entries = keys + size; 338 int32_t foundVal = keys[mid];
|
/cts/tests/tests/drm/src/android/drm/cts/ |
DrmInfoRequestTest.java | 71 Iterator<String> keys = attributes.keySet().iterator(); local 72 while (keys.hasNext()) { 73 final String key = (String) keys.next(); 77 // Request object must have all the keys that attributes does. 79 while (keys.hasNext()) { 80 final String key = (String) keys.next(); 84 // Attributes object must have all the keys that request does.
|
DrmInfoTest.java | 81 Iterator<String> keys = attributes.keySet().iterator(); local 82 while (keys.hasNext()) { 83 final String key = (String) keys.next(); 87 // info object must have all the keys that attributes does. 89 while (keys.hasNext()) { 90 final String key = (String) keys.next(); 94 // Attributes object must have all the keys that info does.
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
StaticMetadataCollectionTest.java | 155 Iterator<?> keys = obj.keys(); local 156 while (keys.hasNext()) { 158 String key = (String)keys.next();
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
SensorStats.java | 91 * Get the keys from the values table. Will not get the keys from the nested 107 * Flattens the map and all sub {@link SensorStats} objects. Keys will be flattened using 161 List<String> keys = new ArrayList<>(flattenedStats.keySet()); local 162 Collections.sort(keys); 163 return keys;
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyPairGenerator1Test.java | 349 int[] keys = { -10000, -1024, -1, 0, 10000 }; local 357 for (int j = 0; j < keys.length; j++) { 359 kpg[i].initialize(keys[j]); 360 kpg[i].initialize(keys[j], random); 386 int[] keys = { -1, -250, 1, 64, 512, 1024 }; local 396 for (int i = 0; i < keys.length; i++) { 398 mKPG.initialize(keys[i]); 400 + Integer.toString(keys[i]) + ")"); 404 mKPG.initialize(keys[i], random); 406 + Integer.toString(keys[i]) + ")") 462 int[] keys = { -1, -250, 1, 63, -512, -1024 }; local [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
OutputProperties.java | 570 * Copy the keys and values from the source to this object. This will 583 * Copy the keys and values from the source to this object. This will 595 Enumeration keys = src.keys(); local 597 while (keys.hasMoreElements()) 599 String key = (String) keys.nextElement(); 624 * Copy the keys and values from the source to this object. This will
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
CharInfo.java | 199 Enumeration keys = entities.getKeys(); local 200 while (keys.hasMoreElements()){ 201 String name = (String) keys.nextElement();
|
Encodings.java | 339 Enumeration keys = props.keys(); local 342 String javaName = (String) keys.nextElement();
|
OutputPropertiesFactory.java | 49 * Other constants defined in this class are the non-standard property keys 51 * that is used to create or configure a serializer. Here are the non-standard keys: 114 // Some special Xalan keys. 442 Enumeration keys = ((Properties) props.clone()).keys(); local 443 while (keys.hasMoreElements()) 445 String key = (String) keys.nextElement();
|
/external/boringssl/src/ssl/ |
s3_lib.c | 503 uint8_t *keys = parg; local 504 if (!keys) { 512 memcpy(ctx->tlsext_tick_key_name, keys, 16); 513 memcpy(ctx->tlsext_tick_hmac_key, keys + 16, 16); 514 memcpy(ctx->tlsext_tick_aes_key, keys + 32, 16); 516 memcpy(keys, ctx->tlsext_tick_key_name, 16); 517 memcpy(keys + 16, ctx->tlsext_tick_hmac_key, 16); 518 memcpy(keys + 32, ctx->tlsext_tick_aes_key, 16);
|
/external/chromium-trace/trace-viewer/third_party/WebOb/webob/ |
multidict.py | 217 # keys, but those would produce too many warning 219 "and overwrites duplicate keys. Consider using .extend()" 229 elif hasattr(other, 'keys'): 230 for k in other.keys(): 253 keys = iterkeys 255 def keys(self): function in function:MultiDict.iterkeys 420 keys = iterkeys 422 def keys(self): function in function:NestedMultiDict.__iter__ 447 raise KeyError("No keys to delete: %s" % self.reason) 486 keys = iterkey 490 def keys(self): function in function:NoVars.iterkeys [all...] |
/external/clang/test/CodeGen/ |
designated-initializers.c | 166 int *keys; member in struct:S 176 .keys = 0,
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/ |
FetchBaseTask.java | 54 Enumeration keys=properties.keys(); local 55 while (keys.hasMoreElements()){ 56 String key=keys.nextElement().toString(); 148 Enumeration keys=entries.keys(); local 149 while (keys.hasMoreElements()){ 150 script=script.concat("\t\t<antcall target=\""+keys.nextElement()+"\" />\n"); 153 keys=entries.keys(); [all...] |
VersionTrackerTask.java | 146 Enumeration keys = elements.keys(); local 148 while (keys.hasMoreElements()){ 149 Object key = keys.nextElement();
|
/external/emma/core/java12/com/vladium/util/ |
Property.java | 350 * Overrides Properties.keys () [this is used for debug logging only] 352 public Enumeration keys () method in class:Property.FilePropertyLookup 356 return m_contents.keys (); 437 * Overrides Properties.keys () [this is used for debug logging only] 439 public synchronized Enumeration keys () method in class:Property.SystemPropertyLookup 470 return _propertyNames.keys (); 522 * Overrides Properties.keys () [this is used for debug logging only] 524 public synchronized Enumeration keys () method in class:Property.SystemRedirectsLookup 538 return _propertyNames.keys ();
|
/external/fonttools/Lib/fontTools/ttLib/ |
sfnt.py | 70 def keys(self): member in class:SFNTReader 71 return self.tables.keys() 237 tags = list(self.tables.keys())
|
/external/google-breakpad/src/processor/ |
static_map_unittest.cc | 68 // Keys: 69 Key* keys = reinterpret_cast<Key*>(address); local 76 keys[index] = iter->first; 129 KeyType* keys = reinterpret_cast<KeyType*>( local 131 // Set keys in non-increasing order. 132 keys[0] = 10; 133 keys[1] = 7;
|