/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | LSDocumentBuilderFactory.java | 248 strategies.put("coalescing", new LSParameterStrategy("cdata-sections", true)); 249 strategies.put("expandEntityReferences", new LSParameterStrategy("entities", true)); 250 strategies.put("ignoringElementContentWhitespace", 252 strategies.put("namespaceAware", new LSParameterStrategy("namespaces", false)); 253 strategies.put("validating", 255 strategies.put("schemaValidating", 257 strategies.put("ignoringComments", new LSParameterStrategy("comments", true)); 258 strategies.put("signed", new LSFixedStrategy(true)); 259 strategies.put("hasNullString", new LSFixedStrategy(true));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
H A D | AttributesTest.java | 151 assertNull("Assert 0: ", atts.put(Attributes.Name.CLASS_PATH, "tools.jar")); 152 assertNull("Assert 1: ", atts.put(Attributes.Name.MANIFEST_VERSION, "1")); 224 * java.util.jar.Attributes.put(java.lang.Object, java.lang.Object) 228 assertNull("Assert 0: ", atts.put(Attributes.Name.CLASS_PATH, "tools.jar")); 232 atts.put("not a name", "value"); 238 atts.put(Attributes.Name.CLASS_PATH, Boolean.TRUE); 246 * java.util.jar.Attributes.put(java.lang.Object, java.lang.Object) 254 attribute.put(null, null); 255 attribute.put(null, null); 262 attribute.put(nul [all...] |
/libcore/luni/src/test/java/libcore/java/security/ |
H A D | ProviderTest.java | 266 aliases.put(key, type + "." + value); 268 implementations.put(key, value); 475 put("Fake.FOO", MockSpi.class.getName()); 493 put("Signature.FOO", MockSpi.class.getName()); 494 put("Signature.FOO SupportedKeyClasses", getClass().getName() 520 put("KeyFactory.FOO", MockSpi.class.getName()); 542 put("Signature.FOO", MockSpi.class.getName()); 543 put("Signature.FOO SupportedKeyClasses", MockSpi.class.getName()); 561 put("Signature.FOO", MockSpi.class.getName()); 583 put("Signatur [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | OldMapEntryTest.java | 56 public Object put(Object key, Object val) { method in class:OldMapEntryTest.Mock_HashMap 64 return super.put(key, val); 104 hm.put(new Integer(1), "one"); 105 hm.put(new Integer(2), "two");
|
H A D | AbstractCollectionTest.java | 45 m.put(-i, -i); 48 m.put(i, i);
|
/libcore/ojluni/src/main/java/java/nio/ |
H A D | ByteBufferAsDoubleBuffer.java | 109 public DoubleBuffer put(double x) { method in class:ByteBufferAsDoubleBuffer 110 put(nextPutIndex(), x); 114 public DoubleBuffer put(int i, double x) { method in class:ByteBufferAsDoubleBuffer 122 public DoubleBuffer put(double[] src, int offset, int length) { method in class:ByteBufferAsDoubleBuffer
|
H A D | ByteBufferAsFloatBuffer.java | 108 public FloatBuffer put(float x) { method in class:ByteBufferAsFloatBuffer 109 put(nextPutIndex(), x); 113 public FloatBuffer put(int i, float x) { method in class:ByteBufferAsFloatBuffer 121 public FloatBuffer put(float[] src, int offset, int length) { method in class:ByteBufferAsFloatBuffer
|
H A D | ByteBufferAsIntBuffer.java | 108 public IntBuffer put(int x) { method in class:ByteBufferAsIntBuffer 109 put(nextPutIndex(), x); 113 public IntBuffer put(int i, int x) { method in class:ByteBufferAsIntBuffer 121 public IntBuffer put(int[] src, int offset, int length) { method in class:ByteBufferAsIntBuffer
|
H A D | ByteBufferAsLongBuffer.java | 108 public LongBuffer put(long x) { method in class:ByteBufferAsLongBuffer 109 put(nextPutIndex(), x); 113 public LongBuffer put(int i, long x) { method in class:ByteBufferAsLongBuffer 121 public LongBuffer put(long[] src, int offset, int length) { method in class:ByteBufferAsLongBuffer
|
H A D | ByteBufferAsShortBuffer.java | 107 public ShortBuffer put(short x) { method in class:ByteBufferAsShortBuffer 108 put(nextPutIndex(), x); 112 public ShortBuffer put(int i, short x) { method in class:ByteBufferAsShortBuffer 120 public ShortBuffer put(short[] src, int offset, int length) { method in class:ByteBufferAsShortBuffer
|
/libcore/ojluni/src/main/java/java/security/ |
H A D | UnresolvedPermissionCollection.java | 86 perms.put(up.getName(), v); 178 permissions.put(e.getKey(), vec); 184 pfields.put("permissions", permissions); 217 perms.put(e.getKey(), list);
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | BlockingQueue.java | 74 * <td>{@link #put put(e)}</td> 95 * to {@code add}, {@code put} or {@code offer} a {@code null}. A 101 * additional elements can be {@code put} without blocking. 141 * while (true) { queue.put(produce()); } 233 void put(E e) throws InterruptedException; method in interface:BlockingQueue
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
H A D | TestServiceLoader.java | 85 chronos.put(chrono.getId(), chrono);
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
H A D | CollectionAndMapModifyStreamTest.java | 111 content.put(i, i); 116 maps.put(HashMap.class.getName(), () -> new HashMap<>(content)); 117 maps.put(HashMap.class.getName(), () -> new LinkedHashMap<>(content)); 118 maps.put(IdentityHashMap.class.getName(), () -> new IdentityHashMap<>(content)); 119 maps.put(WeakHashMap.class.getName(), () -> new WeakHashMap<>(content)); 121 maps.put(TreeMap.class.getName(), () -> new TreeMap<>(content)); 122 maps.put(TreeMap.class.getName() + ".descendingMap()", () -> new TreeMap<>(content).descendingMap()); 125 // maps.put(TreeMap.class.getName() + ".descendingMap().descendingMap()", () -> new TreeMap<>(content).descendingMap().descendingMap()); 126 // maps.put(TreeMap.class.getName() + ".headMap()", () -> new TreeMap<>(content).headMap(content.size() - 1)); 127 // maps.put(TreeMa [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | SpiEngUtils.java | 64 put(key, clName);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
H A D | DoubleBufferTest.java | 417 * Class under test for java.nio.DoubleBuffer put(double) 424 DoubleBuffer ret = buf.put((double) i); 429 buf.put(0); 437 * Class under test for java.nio.DoubleBuffer put(double[]) 446 DoubleBuffer ret = buf.put(array); 451 buf.put(array); 459 * Class under test for java.nio.DoubleBuffer put(double[], int, int) 466 buf.put(new double[buf.capacity() + 1], 0, buf.capacity() + 1); 473 buf.put(array, -1, array.length); 479 buf.put(arra [all...] |
H A D | DirectCharBufferTest.java | 61 directByteBuffer.put((byte)'a'); 68 charBuffer.put('b');
|
H A D | DirectDoubleBufferTest.java | 60 directByteBuffer.put((byte)'a'); 67 doubleBuffer.put(1.0);
|
H A D | DirectFloatBufferTest.java | 61 directByteBuffer.put((byte)'a'); 68 floatBuffer.put((float)1);
|
H A D | DirectIntBufferTest.java | 61 directByteBuffer.put((byte)'a'); 68 intBuffer.put(1);
|
H A D | DirectLongBufferTest.java | 61 directByteBuffer.put((byte)'a'); 68 longBuffer.put(1L);
|
H A D | DirectShortBufferTest.java | 61 directByteBuffer.put((byte)'a'); 68 shortBuffer.put((short)1);
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
H A D | OldPreferencesTest.java | 96 p.put(null, null); 153 pref.put("testClearKey", "testClearValue"); 154 pref.put("testClearKey1", "testClearValue1"); 168 pref.put("testGetkey", "value"); 204 pref.put("testGetBooleanKey", "false"); 205 pref.put("testGetBooleanKey2", "value"); 219 pref.put("testGetByteArrayKey", "abc="); 220 pref.put("testGetByteArrayKey2", new String(b64Array)); 221 pref.put("invalidKey", "<>?"); 245 pref.put("testGetDoubleKe 1058 public void put(String key, String value) { method in class:OldPreferencesTest.MockPreferences [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | ProviderTest.java | 144 hm.put("MessageDigest.SHA-1", "aaa.bbb.ccc.ddd"); 145 hm.put("Property 1", "value 1"); 146 hm.put("serviceName.algName attrName", "attrValue"); 147 hm.put("Alg.Alias.engineClassName.aliasName", "standardName"); 161 p.put("MessageDigest.SHA-256", "aaa.bbb.ccc.ddd"); 205 p.put("MessageDigest.SHA-1", "aaa.bbb.ccc.ddd"); 206 p.put("MessageDigest.abc", "value 1"); 209 p.forEach((k,v)-> hm.put((String)k, (String)v)); 225 p.put("MessageDigest.SHA-1", "aaa.bbb.ccc.ddd"); 226 p.put("MessageDiges [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | CookiesMCompatibilityTest.java | 42 cm.put(uri, responseHeaders); 57 cm.put(uri, responseHeaders);
|