Searched refs:add (Results 251 - 275 of 683) sorted by relevance

<<11121314151617181920>>

/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DNodeImpl.java602 values.add(node.getNodeType());
603 values.add(node.getNodeName());
604 values.add(node.getLocalName());
605 values.add(node.getNamespaceURI());
606 values.add(node.getPrefix());
607 values.add(node.getNodeValue());
609 values.add(child);
615 values.add(doctype.getPublicId());
616 values.add(doctype.getSystemId());
617 values.add(doctyp
[all...]
/libcore/luni/src/test/java/libcore/java/nio/file/
H A DFiles2Test.java610 option.add(FileVisitOption.FOLLOW_LINKS);
720 option.add(FileVisitOption.FOLLOW_LINKS);
763 option.add(FileVisitOption.FOLLOW_LINKS);
815 option.add(FileVisitOption.FOLLOW_LINKS);
857 expectedDirSet.add(rootDir);
858 expectedDirSet.add(dir1);
859 expectedDirSet.add(dir2);
860 expectedDirSet.add(dir4);
861 expectedDirSet.add(dir5);
864 pathStream.forEach(path -> dirSet.add(pat
[all...]
/libcore/jsr166-tests/src/test/java/jsr166/
H A DCopyOnWriteArraySetTest.java38 a.add(i);
48 a.add(elements[i]);
98 * add will not add the element if it already exists in the set
102 full.add(one);
107 * add adds the element when it does not exist in the set
111 full.add(three);
147 a.add(m1);
152 b.add(m1);
165 a.add(
[all...]
H A DConcurrentLinkedDequeTest.java103 * isEmpty is true before add, false after
108 q.add(one);
110 q.add(two);
127 q.add(new Integer(i));
233 * add(null) throws NPE
238 q.add(null);
266 * add(x) succeeds
270 assertTrue(q.add(zero));
271 assertTrue(q.add(one));
597 q.add(on
[all...]
H A DArrayDequeTest.java99 * isEmpty is true before add, false after
104 q.add(new Integer(1));
106 q.add(new Integer(2));
123 q.add(new Integer(i));
229 * add(null) throws NPE
234 q.add(null);
262 * add(x) succeeds
266 assertTrue(q.add(zero));
267 assertTrue(q.add(one));
582 assertTrue(q.add(ne
[all...]
/libcore/luni/src/test/java/libcore/java/io/
H A DOldFileTest.java171 builder.command().add("-cp");
172 builder.command().add(System.getProperty("java.class.path"));
173 builder.command().add("tests.support.Support_DeleteOnExitTest");
174 builder.command().add(dir.getAbsolutePath());
175 builder.command().add(subDir.getAbsolutePath());
/libcore/ojluni/src/main/java/sun/misc/
H A DJarIndex.java161 list.add(value);
164 list.add(value);
198 public void add(String fileName, String jarName) { method in class:JarIndex
211 * Same as add(String,String) except that it doesn't strip off from the
216 // add the mapping to indexMap
219 // add the mapping to jarMap
252 add(fileName, currentJar);
320 jars.add(currentJar);
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DFileLockTable.java56 public abstract void add(FileLock fl) throws OverlappingFileLockException; method in class:FileLockTable
124 public void add(FileLock fl) throws OverlappingFileLockException { method in class:SharedFileLockTable
136 // we successfully created the key so we add the file lock
137 list.add(new FileLockReference(fl, queue, fileKey));
148 // and add the new lock to the list.
153 list.add(new FileLockReference(fl, queue, fileKey));
214 // add to result
215 result.add(lock);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DGregorianCalendarTest.java156 // Chicago is 1 hour before New York, add 1 to the Chicago time and convert to 0-12 value
193 // Chicago is 1 hour before New York, add 1 to the Chicago time and convert to 0-12 value
201 * java.util.GregorianCalendar#add(int, int)
204 // Test for method void java.util.GregorianCalendar.add(int, int)
206 gc1.add(GregorianCalendar.YEAR, 1);
211 gc1.add(Calendar.MONTH, 7);
217 gc1.add(Calendar.YEAR, -1);
225 gc1.add(Calendar.MILLISECOND, 24 * 60 * 60 * 1000);
229 gc1.add(Calendar.SECOND, 24 * 60 * 60);
233 gc1.add(Calenda
[all...]
/libcore/dom/src/test/java/org/w3c/domts/
H A DDOMTestDocumentBuilderFactory.java99 mergedSettings.add(newSettings[i]);
115 mergedSettings.add(setting);
182 list.add(allSettings[i]);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DProcessBuilderTest.java51 list.add("DDD");
68 newCmd.add("cmd");
74 newCmd.add("arg");
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DKSPrivateKeyEntryTest.java201 attributeSet.add(myAttribute);
208 attributeSet.add(myAttribute);
211 returnedAttributeSet.add(myAttribute);
/libcore/ojluni/src/main/java/java/beans/
H A DChangeListenerMap.java77 public final synchronized void add(String name, L listener) { method in class:ChangeListenerMap
175 list.add(listener);
182 list.add(newProxy(name, listener));
/libcore/ojluni/src/main/java/java/util/stream/
H A DDistinctOps.java62 = ReduceOps.<T, LinkedHashSet<T>>makeRef(LinkedHashSet::new, LinkedHashSet::add,
91 // and add null
96 keys.add(null);
174 seen.add(t);
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DForwardState.java149 forwardCheckers.add(checker);
196 subjectNamesTraversed.add(X500Name.asX500Name(subjName));
205 subjectNamesTraversed.add(gName.getName());
H A DSunCertPathBuilder.java221 adjacencyList.add(new LinkedList<Vertex>());
309 * add it to the path
323 * don't add it yet to the cpList
326 appendedCerts.add(0, cert);
344 checkers.add(policyChecker);
346 // add the algorithm checker
347 checkers.add(new AlgorithmChecker(builder.trustAnchor));
363 // add the basic checker
367 checkers.add(basicChecker);
388 // only add
[all...]
/libcore/json/src/main/java/org/json/
H A DJSONArray.java138 values.add(value);
150 values.add(JSON.checkDouble(value));
160 values.add(value);
170 values.add(value);
185 values.add(value);
263 values.add(null);
/libcore/luni/src/main/java/java/lang/ref/
H A DFinalizerReference.java55 public static void add(Object referent) { method in class:FinalizerReference
124 ReferenceQueue.add(sentinelReference);
/libcore/luni/src/main/java/libcore/reflect/
H A DAnnotatedElements.java59 unfoldedAnnotations.add((T)annotations[i]); // Safe, guarded by above check.
75 * Call that method and add all of the nested annotations into unfoldedAnnotations list.
125 unfoldedAnnotations.add(nestedAnnotations[i]);
/libcore/luni/src/test/java/com/android/org/bouncycastle/crypto/digests/
H A DDigestTest.java71 oldTime.add(t1 - t0);
82 newTime.add(t3 - t2);
/libcore/luni/src/test/java/libcore/java/lang/
H A DLambdaImplementationTest.java51 callables.add(() -> "Hello World");
95 callables.add(LambdaImplementationTest::staticMethod);
114 callables.add(o::toString);
135 callables.add(() -> msg);
154 callables.add(callable);
177 callables.add(callable);
212 callables.add(callable);
283 methodSet.add(interfaceMethod);
/libcore/luni/src/test/java/libcore/java/time/chrono/
H A DChronologyTest.java43 chronologies.add(new DummyChronology("aaa", "z aaa"));
44 chronologies.add(new DummyChronology("zzz", "a zzz"));
/libcore/luni/src/test/java/libcore/java/util/
H A DCollectionsTest.java127 i.add(null);
269 list.add(4);
270 list.add(9);
271 list.add(11);
272 list.add(14);
273 list.add(16);
292 list2.add(new IntegerWithExtremeComparator(4));
293 list2.add(new IntegerWithExtremeComparator(9));
294 list2.add(new IntegerWithExtremeComparator(11));
295 list2.add(ne
[all...]
/libcore/ojluni/src/main/java/java/security/
H A DUnresolvedPermissionCollection.java71 * @param permission the Permission object to add.
74 public void add(Permission permission) method in class:UnresolvedPermissionCollection
90 v.add(up);
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
H A DStreamBuilderTest.java98 checkISE(() -> sb.add(1));
113 Stream.Builder<Integer> _sb = sb.add(i);
160 checkISE(() -> sb.add(1));
175 IntStream.Builder _sb = sb.add(i);
222 checkISE(() -> sb.add(1));
237 LongStream.Builder _sb = sb.add(i);
283 checkISE(() -> sb.add(1));
298 DoubleStream.Builder _sb = sb.add(i);

Completed in 678 milliseconds

<<11121314151617181920>>