/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | NodeImpl.java | 602 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 D | Files2Test.java | 610 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 D | CopyOnWriteArraySetTest.java | 38 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 D | ConcurrentLinkedDequeTest.java | 103 * 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 D | ArrayDequeTest.java | 99 * 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 D | OldFileTest.java | 171 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 D | JarIndex.java | 161 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 D | FileLockTable.java | 56 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 D | GregorianCalendarTest.java | 156 // 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 D | DOMTestDocumentBuilderFactory.java | 99 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 D | ProcessBuilderTest.java | 51 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 D | KSPrivateKeyEntryTest.java | 201 attributeSet.add(myAttribute); 208 attributeSet.add(myAttribute); 211 returnedAttributeSet.add(myAttribute);
|
/libcore/ojluni/src/main/java/java/beans/ |
H A D | ChangeListenerMap.java | 77 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 D | DistinctOps.java | 62 = 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 D | ForwardState.java | 149 forwardCheckers.add(checker); 196 subjectNamesTraversed.add(X500Name.asX500Name(subjName)); 205 subjectNamesTraversed.add(gName.getName());
|
H A D | SunCertPathBuilder.java | 221 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 D | JSONArray.java | 138 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 D | FinalizerReference.java | 55 public static void add(Object referent) { method in class:FinalizerReference 124 ReferenceQueue.add(sentinelReference);
|
/libcore/luni/src/main/java/libcore/reflect/ |
H A D | AnnotatedElements.java | 59 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 D | DigestTest.java | 71 oldTime.add(t1 - t0); 82 newTime.add(t3 - t2);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | LambdaImplementationTest.java | 51 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 D | ChronologyTest.java | 43 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 D | CollectionsTest.java | 127 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 D | UnresolvedPermissionCollection.java | 71 * @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 D | StreamBuilderTest.java | 98 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);
|