/libcore/luni/src/test/java/libcore/java/util/ |
H A D | CollectionsTest.java | 399 delegate.put("present", 1); 400 delegate.put("another key", 2); 477 delegate.put(2, 12.0); 478 delegate.put(3, null); 488 delegate.put(1, 10.0); 489 delegate.put(2, 20.0); 490 Collections.unmodifiableMap(delegate).forEach(replica::put); 505 m.put(1, 5.0); 522 m.put(1, 5.0); 539 m.put( [all...] |
H A D | OldAndroidTreeMapTest.java | 57 tm.put(new Integer(val), "V:" + val); 58 hm.put(new Integer(val), "V:" + val);
|
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | Cache.java | 91 public abstract void put(K key, V value); method in class:Cache 219 public void put(K key, V value) { method in class:NullCache 303 cacheMap.put(key, currentEntry); 360 public synchronized void put(K key, V value) { method in class:MemoryCache 365 CacheEntry<K,V> oldEntry = cacheMap.put(key, newEntry); 453 kvmap.put(entry.getKey(), entry.getValue());
|
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | ByteBufferBenchmark.java | 260 src.put((byte) 0); 271 dst.put(src); 292 dst.put(src); 313 dst.put(src); 334 dst.put(src); 355 dst.put(src); 376 dst.put(src); 397 dst.put(src);
|
H A D | SignatureBenchmark.java | 76 KEY_PAIRS.put(keyAlgorithm, keyPair); 87 SIGNATURES.put(signatureAlgorithm, signature);
|
H A D | ByteBufferScalarVersusVectorBenchmark.java | 34 dst.put(src.get());
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
H A D | OldFileHandlerTest.java | 56 props.put("java.util.logging.FileHandler.level", "FINE"); 57 props.put("java.util.logging.FileHandler.filter", className 59 props.put("java.util.logging.FileHandler.formatter", className 61 props.put("java.util.logging.FileHandler.encoding", "iso-8859-1"); 63 props.put("java.util.logging.FileHandler.limit", "1000"); 65 props.put("java.util.logging.FileHandler.count", "2"); 67 props.put("java.util.logging.FileHandler.append", "true"); 68 props.put("java.util.logging.FileHandler.pattern",
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
H A D | PreferencesTest.java | 91 userPreferences.put("a", "lion"); 100 p.put("key", "a<>&'\"\\b");
|
/libcore/ojluni/src/main/java/java/security/cert/ |
H A D | PKIXRevocationChecker.java | 201 copy.put(e.getKey(), e.getValue().clone()); 220 copy.put(e.getKey(), e.getValue().clone());
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | HashSet.java | 219 return map.put(e, PRESENT)==null; 334 map.put(e, PRESENT);
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
H A D | SSLParameters.java | 298 if (sniNames.put(serverName.getType(), 393 if (sniMatchers.put(matcher.getType(),
|
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | MetaIndex.java | 108 * For jar file containing only class file, we put '!' before the jar file name; 109 * for jar file containing only resources file, we put '@' before the jar file name; 110 * for jar file containing both resources and class file, we put '#' before the 190 map.put(new File(dir, curJarName), 215 map.put(new File(dir, curJarName),
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
H A D | JarFileFactory.java | 88 fileCache.put(URLUtil.urlNoFragString(url), local_result); 89 urlCache.put(local_result, url);
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
H A D | TCKResolverStyle.java | 119 eraMap.put(1L, "CE"); 120 eraMap.put(0L, "BCE");
|
H A D | TCKDateTimeFormatters.java | 1283 test.fieldValues.put(YEAR, (long) year); 1286 test.fieldValues.put(MONTH_OF_YEAR, (long) month); 1289 test.fieldValues.put(DAY_OF_MONTH, (long) day); 1297 test.fieldValues.put(HOUR_OF_DAY, (long) hour); 1300 test.fieldValues.put(MINUTE_OF_HOUR, (long) min); 1303 test.fieldValues.put(SECOND_OF_MINUTE, (long) sec); 1306 test.fieldValues.put(NANO_OF_SECOND, (long) nano); 1316 test.fieldValues.put(YEAR, (long) year); 1319 test.fieldValues.put(MONTH_OF_YEAR, (long) month); 1322 test.fieldValues.put(DAY_OF_MONT [all...] |
/libcore/support/src/test/java/tests/support/ |
H A D | Support_GetLocal.java | 53 cache.put(url, temp); 73 cache.put(url, temp);
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | HttpCookie.java | 906 assignors.put("comment", new CookieAttributeAssignor() { 914 assignors.put("commenturl", new CookieAttributeAssignor() { 922 assignors.put("discard", new CookieAttributeAssignor() { 929 assignors.put("domain", new CookieAttributeAssignor(){ 937 assignors.put("max-age", new CookieAttributeAssignor(){ 951 assignors.put("path", new CookieAttributeAssignor(){ 959 assignors.put("port", new CookieAttributeAssignor(){ 967 assignors.put("secure", new CookieAttributeAssignor(){ 974 assignors.put("httponly", new CookieAttributeAssignor(){ 981 assignors.put("versio [all...] |
/libcore/ojluni/src/main/java/java/security/ |
H A D | Signature.java | 407 signatureInfo.put("sun.security.provider.DSA$RawDSA", TRUE); 408 signatureInfo.put("sun.security.provider.DSA$SHA1withDSA", TRUE); 409 signatureInfo.put("sun.security.rsa.RSASignature$MD2withRSA", TRUE); 410 signatureInfo.put("sun.security.rsa.RSASignature$MD5withRSA", TRUE); 411 signatureInfo.put("sun.security.rsa.RSASignature$SHA1withRSA", TRUE); 412 signatureInfo.put("sun.security.rsa.RSASignature$SHA256withRSA", TRUE); 413 signatureInfo.put("sun.security.rsa.RSASignature$SHA384withRSA", TRUE); 414 signatureInfo.put("sun.security.rsa.RSASignature$SHA512withRSA", TRUE); 415 signatureInfo.put("com.sun.net.ssl.internal.ssl.RSASignature", TRUE); 416 signatureInfo.put("su [all...] |
H A D | Provider.java | 327 public synchronized Object put(Object key, Object value) { method in class:Provider 698 super.put("Provider.id name", String.valueOf(name)); 699 super.put("Provider.id version", String.valueOf(version)); 700 super.put("Provider.id info", String.valueOf(info)); 701 super.put("Provider.id className", this.getClass().getName()); 710 copy.put(entry.getKey(), entry.getValue()); 859 legacyStrings.put((String)key, (String)value); 861 return super.put(key, value); 980 // e.g. put("Alg.Alias.MessageDigest.SHA", "SHA-1"); 996 legacyMap.put(ke [all...] |
/libcore/ojluni/src/main/java/java/time/format/ |
H A D | Parsed.java | 318 Long old = fieldValues.put(changeField, changeValue); 489 fieldValues.put(NANO_OF_SECOND, cos * 1_000L); 492 fieldValues.put(NANO_OF_SECOND, los * 1_000_000L); 497 fieldValues.put(NANO_OF_SECOND, cos * 1_000L); 576 fieldValues.put(MICRO_OF_SECOND, nos / 1000); 577 fieldValues.put(MILLI_OF_SECOND, nos / 1000000); 579 fieldValues.put(NANO_OF_SECOND, 0L); 580 fieldValues.put(MICRO_OF_SECOND, 0L); 581 fieldValues.put(MILLI_OF_SECOND, 0L); 591 fieldValues.put(INSTANT_SECOND [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | PropertiesTest.java | 395 expected.put("a", ""); 401 expected.put("a", "\u1234"); 407 expected.put("a", "q"); 475 tProps.put("test.prop", "anotherValue"); 476 tProps.put("3rdKey", "3rdValue"); 483 tProps.put(String.class, "valueOfNonStringKey"); 490 tProps.put("4thKey", "4thValue"); 672 myProps.put("Property A", " aye\\\f\t\n\r\b"); 673 myProps.put("Property B", "b ee#!=:"); 674 myProps.put("Propert [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
H A D | TCKJapaneseChronology.java | 724 fieldValues.put(ChronoField.ERA, (long) era.getValue()); 734 fieldValues.put(ChronoField.ERA, (long) era.getValue()); 735 fieldValues.put(ChronoField.YEAR_OF_ERA, 1L); 746 fieldValues.put(ChronoField.ERA, (long) era.getValue()); 747 fieldValues.put(ChronoField.YEAR, 1L); 768 fieldValues.put(ChronoField.YEAR_OF_ERA, 1L); 778 fieldValues.put(ChronoField.YEAR_OF_ERA, 1L); 779 fieldValues.put(ChronoField.YEAR, 2012L); 790 fieldValues.put(ChronoField.ERA, JapaneseEra.MEIJI.getValue() - 1L); 803 fieldValues.put(ChronoFiel [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | EnumTest.java | 221 enumColorMap.put(Color.Red, 1); 222 enumColorMap.put(Color.Blue, 3); 250 enumColorMap.put(Color.Red, 1); 251 enumColorMap.put(Color.Blue, 3);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | ResponseCacheTest.java | 65 public CacheRequest put(URI arg0, URLConnection arg1) method in class:ResponseCacheTest.MockResponseCache
|
/libcore/luni/src/main/java/java/nio/charset/ |
H A D | CharsetEncoderICU.java | 37 DEFAULT_REPLACEMENTS.put("UTF-8", questionMark); 38 DEFAULT_REPLACEMENTS.put("ISO-8859-1", questionMark); 39 DEFAULT_REPLACEMENTS.put("US-ASCII", questionMark); 232 out.put(output, 0, data[OUTPUT_OFFSET]);
|