Searched refs:put (Results 101 - 125 of 489) sorted by relevance

1234567891011>>

/libcore/dom/src/test/java/org/w3c/domts/
H A DLSDocumentBuilderFactory.java248 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 DAttributesTest.java151 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 DProviderTest.java266 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 DOldMapEntryTest.java56 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 DAbstractCollectionTest.java45 m.put(-i, -i);
48 m.put(i, i);
/libcore/ojluni/src/main/java/java/nio/
H A DByteBufferAsDoubleBuffer.java109 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 DByteBufferAsFloatBuffer.java108 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 DByteBufferAsIntBuffer.java108 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 DByteBufferAsLongBuffer.java108 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 DByteBufferAsShortBuffer.java107 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 DUnresolvedPermissionCollection.java86 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 DBlockingQueue.java74 * <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 DTestServiceLoader.java85 chronos.put(chrono.getId(), chrono);
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
H A DCollectionAndMapModifyStreamTest.java111 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 DSpiEngUtils.java64 put(key, clName);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DDoubleBufferTest.java417 * 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 DDirectCharBufferTest.java61 directByteBuffer.put((byte)'a');
68 charBuffer.put('b');
H A DDirectDoubleBufferTest.java60 directByteBuffer.put((byte)'a');
67 doubleBuffer.put(1.0);
H A DDirectFloatBufferTest.java61 directByteBuffer.put((byte)'a');
68 floatBuffer.put((float)1);
H A DDirectIntBufferTest.java61 directByteBuffer.put((byte)'a');
68 intBuffer.put(1);
H A DDirectLongBufferTest.java61 directByteBuffer.put((byte)'a');
68 longBuffer.put(1L);
H A DDirectShortBufferTest.java61 directByteBuffer.put((byte)'a');
68 shortBuffer.put((short)1);
/libcore/luni/src/test/java/libcore/java/util/prefs/
H A DOldPreferencesTest.java96 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 DProviderTest.java144 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 DCookiesMCompatibilityTest.java42 cm.put(uri, responseHeaders);
57 cm.put(uri, responseHeaders);

Completed in 365 milliseconds

1234567891011>>