Searched refs:add (Results 201 - 225 of 683) sorted by relevance

1234567891011>>

/libcore/ojluni/src/main/java/java/net/
H A DInMemoryCookieStore.java91 public void add(URI uri, HttpCookie cookie) { method in class:InMemoryCookieStore
154 rt.add(cookie);
314 // don't add twice
316 cookies.add(c);
319 toRemove.add(c);
353 // don't add twice
355 cookies.add(ck);
366 // add 'cookie' indexed by 'index' into 'indexStore'
380 cookies.add(cookie);
383 cookies.add(cooki
[all...]
/libcore/ojluni/src/main/java/sun/misc/
H A DRegexpPool.java49 * @param re The regular expression to add to the pool.
58 public void add(String re, Object ret) throws REException { method in class:RegexpPool
59 add(re, ret, false);
76 add(re, ret, true);
165 private void add(String re, Object ret, boolean replace) throws REException { method in class:RegexpPool
171 p = p.add(re.charAt(--len));
180 p = p.add(re.charAt(i));
278 RegexpNode add(char C) { method in class:RegexpNode
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DBuilder.java403 matchingPolicies.add(PolicyChecker.ANY_POLICY);
414 * Search the specified CertStores and add all certificates matching
445 return resultCerts.add(targetCert);
449 boolean add = false;
457 if (resultCerts.add((X509Certificate)cert)) {
458 add = true;
462 if (!checkAll && add) {
475 return add;
/libcore/ojluni/src/main/java/sun/security/x509/
H A DGeneralSubtrees.java82 add(tree);
94 public void add(GeneralSubtree tree) { method in class:GeneralSubtrees
98 trees.add(tree);
329 // Step 1: If this is empty, just add everything in other to this and
343 // remove it, and whether we add anything to newExcluded or newThis.
345 // other. We add an entry to newExcluded if there is at least one
348 // We add an entry from other to newThis if there is no name of the
355 // thisEntry, remove thisEntry and add widest other to newThis.
368 newThis.add(otherEntryGS);
393 // If not, then we need to add
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
H A DMockReader.java88 logger.add("parse", input);
92 logger.add("parse", systemId);
113 features.add(name);
/libcore/jsr166-tests/src/test/java/jsr166/
H A DAbstractQueueTest.java53 * add returns true if offer succeeds
57 assertTrue(q.add(two));
61 * add throws ISE true if offer fails
66 q.add(one);
72 * add throws NPE if offer does
77 q.add(null);
170 * addAll throws ISE if an add fails
H A DCollection8Test.java54 Consumer<Object> spy = (o) -> { found.add(o); };
58 assertTrue(c.add(x));
63 assertTrue(c.add(y));
92 assertTrue(c.add(elt));
H A DScheduledExecutorSubclassTest.java761 tasks.add(p.schedule(r, 9, SECONDS));
762 tasks.add(p.scheduleAtFixedRate(r, 9, 9, SECONDS));
763 tasks.add(p.scheduleWithFixedDelay(r, 9, 9, SECONDS));
830 blockers.add(p.submit(task));
833 periodics.add(p.scheduleAtFixedRate(countDowner(periodicLatch1),
835 periodics.add(p.scheduleWithFixedDelay(countDowner(periodicLatch2),
837 delayeds.add(p.schedule(task, 1, MILLISECONDS));
950 l.add(latchAwaitingStringTask(latch));
951 l.add(null);
967 l.add(ne
[all...]
H A DScheduledExecutorTest.java710 tasks.add(p.schedule(r, 9, SECONDS));
711 tasks.add(p.scheduleAtFixedRate(r, 9, 9, SECONDS));
712 tasks.add(p.scheduleWithFixedDelay(r, 9, 9, SECONDS));
779 blockers.add(p.submit(task));
782 periodics.add(p.scheduleAtFixedRate(countDowner(periodicLatch1),
784 periodics.add(p.scheduleWithFixedDelay(countDowner(periodicLatch2),
786 delayeds.add(p.schedule(task, 1, MILLISECONDS));
899 l.add(latchAwaitingStringTask(latch));
900 l.add(null);
916 l.add(ne
[all...]
/libcore/luni/src/test/java/tests/security/cert/
H A DX509CertSelectorTest.java357 selector.getExtendedKeyUsage().add("KRIBLEGRABLI");
523 sans1.add(san0);
524 sans1.add(san1);
525 sans1.add(san2);
528 // sans1.add(san3);
529 sans1.add(san4);
530 sans1.add(san6);
531 sans1.add(san7);
532 sans1.add(san8);
534 sans2.add(san
[all...]
/libcore/support/src/test/java/libcore/tlswire/handshake/
H A DClientHello.java52 cipherSuites.add(CipherSuite.valueOf(cipherSuiteCodes[i]));
58 compressionMethods.add(CompressionMethod.valueOf(code));
77 extensions.add(HelloExtension.read(extensionsDataIn));
H A DServerNameHelloExtension.java48 hostnames.add(hostname);
/libcore/support/src/test/java/tests/util/
H A DClassLoaderBuilder.java49 prefixesToLoad.add(classNamePrefix);
59 prefixesToNotInherit.add(classNamePrefix);
143 result.add(new File(pathElement).toURI().toURL());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
H A DBigIntegerTest.java264 .equals(BigInteger.valueOf(139).add(BigInteger.valueOf(61))));
268 * @tests java.math.BigInteger#add(java.math.BigInteger)
271 assertTrue("Incorrect sum--wanted a zillion", aZillion.add(aZillion)
272 .add(aZillion.negate()).equals(aZillion));
273 assertTrue("0+0", zero.add(zero).equals(zero));
274 assertTrue("0+1", zero.add(one).equals(one));
275 assertTrue("1+0", one.add(zero).equals(one));
276 assertTrue("1+1", one.add(one).equals(two));
277 assertTrue("0+(-1)", zero.add(minusOne).equals(minusOne));
278 assertTrue("(-1)+0", minusOne.add(zer
[all...]
/libcore/dalvik/src/main/java/dalvik/system/
H A DBaseDexClassLoader.java89 classLoadersChain.add(this);
90 classPaths.add(String.join(File.pathSeparator, pathList.getDexPaths()));
99 classLoadersChain.add(bdcCurrent);
100 classPaths.add(String.join(File.pathSeparator, bdcCurrent.pathList.getDexPaths()));
/libcore/dom/src/test/java/org/w3c/domts/
H A DDOMErrorMonitor.java44 errors.add(new DOMErrorImpl(error));
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
H A DAccessibleObjectTest.java161 ignoreOrder.add(annotations[0].annotationType());
162 ignoreOrder.add(annotations[1].annotationType());
176 ignoreOrder.add(annotations[0].annotationType());
177 ignoreOrder.add(annotations[1].annotationType());
/libcore/ojluni/src/main/java/java/util/
H A DDeque.java110 * <td>{@link java.util.Queue#add add(e)}</td>
200 * @param e the element to add
219 * <p>This method is equivalent to {@link #add}.
221 * @param e the element to add
239 * @param e the element to add
257 * @param e the element to add
393 * @param e the element to add
394 * @return {@code true} (as specified by {@link Collection#add})
404 boolean add( method in interface:Deque
[all...]
H A DList.java46 * <tt>iterator</tt>, <tt>add</tt>, <tt>remove</tt>, <tt>equals</tt>, and
79 * add an ineligible element throws an unchecked exception, typically
222 * lists will refuse to add null elements, and others will impose
228 * @return <tt>true</tt> (as specified by {@link Collection#add})
229 * @throws UnsupportedOperationException if the <tt>add</tt> operation
238 boolean add(E e); method in interface:List
305 * @see #add(Object)
596 * @throws UnsupportedOperationException if the <tt>add</tt> operation
607 void add(int index, E element); method in interface:List
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
H A DFileURLConnection.java122 properties.add(CONTENT_TYPE, contentType);
124 properties.add(CONTENT_LENGTH, String.valueOf(length));
136 properties.add(LAST_MODIFIED, fo.format(date));
139 properties.add(CONTENT_TYPE, TEXT_PLAIN);
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
H A Dhc_nodeclonenodetrue.java87 expected.add(origChildName);
94 result.add(clonedChildName);
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
H A DimportNode01.java91 expectedResult.add("elem:attr1");
92 expectedResult.add("importedText");
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DMembershipRegistry.java83 void add(MembershipKeyImpl key) { method in class:MembershipRegistry
96 keys.add(key);
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DUtil.java100 set.add(e);
113 set.add(e);
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
H A DForEachOpTest.java93 s.forEachOrdered(l::add);
114 s.forEach(l::add);
141 s.forEachOrdered(l::add);
162 s.forEach(l::add);
189 s.forEachOrdered(e -> l.add((int) e));
210 s.forEach(l::add);
237 s.forEachOrdered(e -> l.add((int) e));
258 s.forEach(l::add);

Completed in 594 milliseconds

1234567891011>>