/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | CollectionAndMapModifyStreamTest.java | 59 List<Integer> content = LambdaTestHelpers.countTo(10); in createCollections() local 62 collections.add(new ArrayList<>(content)); in createCollections() 63 collections.add(new LinkedList<>(content)); in createCollections() 64 collections.add(new Vector<>(content)); in createCollections() 66 collections.add(new HashSet<>(content)); in createCollections() 67 collections.add(new LinkedHashSet<>(content)); in createCollections() 68 collections.add(new TreeSet<>(content)); in createCollections() 71 stack.addAll(content); in createCollections() 73 collections.add(new PriorityQueue<>(content)); in createCollections() 74 collections.add(new ArrayDeque<>(content)); in createCollections() [all …]
|
D | DoublePrimitiveOpsTests.java | 75 double[] content = DoubleStream.generate(() -> r.nextDouble()).limit(10).toArray(); in testSort() local 76 double[] sortedContent = content.clone(); in testSort() 80 double[] array = Arrays.stream(content).sorted().toArray(); in testSort() 85 double[] array = Arrays.stream(content).parallel().sorted().toArray(); in testSort() 109 double[] content = DoubleStream.generate(() -> r.nextDouble()).limit(10).toArray(); in testSortSort() local 110 double[] sortedContent = content.clone(); in testSortSort() 114 double[] array = Arrays.stream(content).sorted().sorted().toArray(); in testSortSort() 119 double[] array = Arrays.stream(content).parallel().sorted().sorted().toArray(); in testSortSort()
|
D | LongPrimitiveOpsTests.java | 127 long[] content = LongStream.generate(() -> r.nextLong()).limit(10).toArray(); in testSort() local 128 long[] sortedContent = content.clone(); in testSort() 132 long[] array = Arrays.stream(content).sorted().toArray(); in testSort() 137 long[] array = Arrays.stream(content).parallel().sorted().toArray(); in testSort() 169 long[] content = LongStream.generate(() -> r.nextLong()).limit(10).toArray(); in testSortSort() local 170 long[] sortedContent = content.clone(); in testSortSort() 174 long[] array = Arrays.stream(content).sorted().sorted().toArray(); in testSortSort() 179 long[] array = Arrays.stream(content).parallel().sorted().sorted().toArray(); in testSortSort()
|
D | IntPrimitiveOpsTests.java | 134 int[] content = IntStream.generate(() -> r.nextInt(100)).limit(10).toArray(); in testSort() local 135 int[] sortedContent = content.clone(); in testSort() 139 int[] array = Arrays.stream(content).sorted().toArray(); in testSort() 144 int[] array = Arrays.stream(content).parallel().sorted().toArray(); in testSort() 181 int[] content = IntStream.generate(() -> r.nextInt(100)).limit(10).toArray(); in testSortSort() local 182 int[] sortedContent = content.clone(); in testSortSort() 186 int[] array = Arrays.stream(content).sorted().sorted().toArray(); in testSortSort() 191 int[] array = Arrays.stream(content).parallel().sorted().sorted().toArray(); in testSortSort()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | ContentHandlerTest.java | 38 Object content = handler.getContent(conn, classes); in test_getContent() local 39 assertEquals("Foo", ((Foo) content).getFoo()); in test_getContent() 42 content = handler.getContent(conn, classes); in test_getContent() 43 assertEquals("FooSub", ((Foo) content).getFoo()); in test_getContent() 47 content = handler.getContent(conn, classes2); in test_getContent() 48 assertNull(content); in test_getContent() 54 private Object content; field in ContentHandlerImpl 58 return content; in getContent() 61 public void setContent(Object content) { in setContent() argument 62 this.content = content; in setContent()
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
D | ContentInfo.java | 86 DerValue content; // OPTIONAL field in ContentInfo 88 public ContentInfo(ObjectIdentifier contentType, DerValue content) { in ContentInfo() argument 90 this.content = content; in ContentInfo() 99 this.content = octetString; in ContentInfo() 140 content = typeAndContent[1]; in ContentInfo() 151 content = contents[0]; in ContentInfo() 157 return content; in getContent() 168 if (content == null) in getData() 171 return content.getOctetString(); in getData() 184 if (content != null) { in encode() [all …]
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldObjectOutputStreamPutFieldTest.java | 72 byte[] content; in test_put() 86 content = baos.toByteArray(); in test_put() 88 Arrays.equals(content, refContent)); in test_put() 97 byte[] content; in test_writeLjava_io_ObjectOutputStream() 111 content = baos.toByteArray(); in test_writeLjava_io_ObjectOutputStream() 113 Arrays.equals(content, refContent)); in test_writeLjava_io_ObjectOutputStream()
|
/libcore/ojluni/src/main/java/java/security/ |
D | SignedObject.java | 129 private byte[] content; field in SignedObject 157 this.content = b.toByteArray(); in SignedObject() 178 ByteArrayInputStream b = new ByteArrayInputStream(this.content); in getObject() 224 verificationEngine.update(this.content.clone()); in verify() 242 signingEngine.update(this.content.clone()); in sign() 254 content = ((byte[])fields.get("content", null)).clone(); in readObject()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | SealedObject.java | 156 byte[] content; in SealedObject() 161 content = b.toByteArray(); in SealedObject() 170 this.encryptedContent = c.doFinal(content); in SealedObject() 293 byte[] content = c.doFinal(this.encryptedContent); in getObject() 299 ByteArrayInputStream b = new ByteArrayInputStream(content); in getObject() 423 byte[] content = c.doFinal(this.encryptedContent); in unseal() 429 ByteArrayInputStream b = new ByteArrayInputStream(content); in unseal()
|
/libcore/ojluni/src/test/java/io/FileWriter/ |
D | ConstructorTest.java | 150 void writeWithFileWriter(ConstructorType type, File file, String content, Charset charset) in writeWithFileWriter() argument 154 writer.write(content); in writeWithFileWriter() 158 writer.write(content); in writeWithFileWriter() 162 … void writeWithOutputStreamWriter(ConstructorType type, File file, String content, Charset charset) in writeWithOutputStreamWriter() argument 165 writer.write(content); in writeWithOutputStreamWriter() 167 writer.write(content); in writeWithOutputStreamWriter()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ListResourceBundle.java | 197 for (Object[] content : contents) { in loadLookup() 199 String key = (String) content[0]; in loadLookup() 200 Object value = content[1]; in loadLookup()
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | TextImpl.java | 84 public final Text replaceWholeText(String content) throws DOMException { in replaceWholeText() argument 96 if (n == this && content != null && content.length() > 0) { in replaceWholeText() 97 setData(content); in replaceWholeText()
|
/libcore/ojluni/src/test/java/util/Properties/ |
D | SaveSeparator.java | 50 String content = myOut.toString(); in main() local 51 if (!content.endsWith(theSeparator)) in main()
|
/libcore/ojluni/src/test/java/lang/String/CompactString/ |
D | CompactString.java | 249 private void setUpOneString(String content, byte[] ba, char[] ca, int[] cpa) in setUpOneString() argument 257 m.put(SRC_STRING, new String(content)); in setUpOneString() 258 m.put(SRC_STRINGBUFFER, new String(new StringBuffer(content))); in setUpOneString() 259 m.put(SRC_STRINGBUILDER, new String(new StringBuilder(content))); in setUpOneString() 262 map.put(content, m); in setUpOneString()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | SortedOps.java | 195 int[] content = n.asPrimitiveArray(); in opEvaluateParallel() local 196 Arrays.parallelSort(content); in opEvaluateParallel() 198 return Nodes.node(content); in opEvaluateParallel() 234 long[] content = n.asPrimitiveArray(); in opEvaluateParallel() local 235 Arrays.parallelSort(content); in opEvaluateParallel() 237 return Nodes.node(content); in opEvaluateParallel() 273 double[] content = n.asPrimitiveArray(); in opEvaluateParallel() local 274 Arrays.parallelSort(content); in opEvaluateParallel() 276 return Nodes.node(content); in opEvaluateParallel()
|
/libcore/luni/src/main/java/libcore/internal/ |
D | Java9LanguageFeatures.java | 67 public <T> AtomicReference<T> createReference(T content) { in createReference() argument 69 return new AtomicReference<>(content) { }; in createReference()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | StreamTestDataProvider.java | 128 Integer[] content = new Integer[size]; 130 content[e] = (i & (1 << e)) > 0 ? e + 1 : null; 134 list.add(arrayDataDescr("array:" + i, content)); 136 … list.add(collectionDataDescr("HashSet:" + i, new HashSet<>(Arrays.asList(content))));
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | StreamTestDataProvider.java | 134 Integer[] content = new Integer[size]; 136 content[e] = (i & (1 << e)) > 0 ? e + 1 : null; 140 list.add(arrayDataDescr("array:" + i, content)); 142 … list.add(collectionDataDescr("HashSet:" + i, new HashSet<>(Arrays.asList(content))));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | PropertyResourceBundleTest.java | 74 String content = "p1=one\nfeature=good_feature"; in test_ConstructorLjava_io_Reader() local 75 CharBuffer cbuffer = charset.decode(ByteBuffer.wrap(content in test_ConstructorLjava_io_Reader() 86 cbuffer = charset.decode(ByteBuffer.wrap(content.getBytes("UTF-8"))); in test_ConstructorLjava_io_Reader()
|
/libcore/luni/src/main/java/libcore/content/type/ |
D | TEST_MAPPING | 7 "include-filter": "libcore.libcore.content.type"
|
/libcore/ojluni/annotations/hiddenapi/sun/security/pkcs/ |
D | ContentInfo.java | 36 sun.security.util.ObjectIdentifier contentType, sun.security.util.DerValue content) { in ContentInfo() argument 116 sun.security.util.DerValue content; field in ContentInfo
|
/libcore/luni/src/main/java/org/w3c/dom/ |
D | Text.java | 123 public Text replaceWholeText(String content) in replaceWholeText() argument
|
/libcore/ojluni/src/test/java/io/FileReader/ |
D | ConstructorTest.java | 123 void prepareFile(File file, String content, Charset charset) throws IOException { in prepareFile() argument 125 writer.write(content); in prepareFile()
|
/libcore/ojluni/src/test/java/util/Scanner/ |
D | EncodingTest.java | 135 void prepareFile(File file, String content) throws IOException { in prepareFile() argument 137 writer.write(content); in prepareFile()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | ChannelsTest.java | 64 private Pipe.SourceChannel createNonBlockingChannel(byte[] content) throws IOException { in createNonBlockingChannel() argument 67 sinkChannel.write(ByteBuffer.wrap(content)); in createNonBlockingChannel()
|