/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | CollectionAndMapModifyStreamTest.java | 58 List<Integer> content = LambdaTestHelpers.countTo(10); in createCollections() local 61 collections.add(new ArrayList<>(content)); in createCollections() 62 collections.add(new LinkedList<>(content)); in createCollections() 63 collections.add(new Vector<>(content)); in createCollections() 65 collections.add(new HashSet<>(content)); in createCollections() 66 collections.add(new LinkedHashSet<>(content)); in createCollections() 67 collections.add(new TreeSet<>(content)); in createCollections() 70 stack.addAll(content); in createCollections() 72 collections.add(new PriorityQueue<>(content)); in createCollections() 73 collections.add(new ArrayDeque<>(content)); in createCollections() [all …]
|
D | DoublePrimitiveOpsTests.java | 60 double[] content = DoubleStream.generate(() -> r.nextDouble()).limit(10).toArray(); in testSort() local 61 double[] sortedContent = content.clone(); in testSort() 65 double[] array = Arrays.stream(content).sorted().toArray(); in testSort() 70 double[] array = Arrays.stream(content).parallel().sorted().toArray(); in testSort() 78 double[] content = DoubleStream.generate(() -> r.nextDouble()).limit(10).toArray(); in testSortSort() local 79 double[] sortedContent = content.clone(); in testSortSort() 83 double[] array = Arrays.stream(content).sorted().sorted().toArray(); in testSortSort() 88 double[] array = Arrays.stream(content).parallel().sorted().sorted().toArray(); in testSortSort()
|
D | IntPrimitiveOpsTests.java | 103 int[] content = IntStream.generate(() -> r.nextInt(100)).limit(10).toArray(); in testSort() local 104 int[] sortedContent = content.clone(); in testSort() 108 int[] array = Arrays.stream(content).sorted().toArray(); in testSort() 113 int[] array = Arrays.stream(content).parallel().sorted().toArray(); in testSort() 121 int[] content = IntStream.generate(() -> r.nextInt(100)).limit(10).toArray(); in testSortSort() local 122 int[] sortedContent = content.clone(); in testSortSort() 126 int[] array = Arrays.stream(content).sorted().sorted().toArray(); in testSortSort() 131 int[] array = Arrays.stream(content).parallel().sorted().sorted().toArray(); in testSortSort()
|
D | LongPrimitiveOpsTests.java | 103 long[] content = LongStream.generate(() -> r.nextLong()).limit(10).toArray(); in testSort() local 104 long[] sortedContent = content.clone(); in testSort() 108 long[] array = Arrays.stream(content).sorted().toArray(); in testSort() 113 long[] array = Arrays.stream(content).parallel().sorted().toArray(); in testSort() 121 long[] content = LongStream.generate(() -> r.nextLong()).limit(10).toArray(); in testSortSort() local 122 long[] sortedContent = content.clone(); in testSortSort() 126 long[] array = Arrays.stream(content).sorted().sorted().toArray(); in testSortSort() 131 long[] 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 | 87 DerValue content; // OPTIONAL field in ContentInfo 89 public ContentInfo(ObjectIdentifier contentType, DerValue content) { in ContentInfo() argument 91 this.content = content; in ContentInfo() 100 this.content = octetString; in ContentInfo() 141 content = typeAndContent[1]; in ContentInfo() 152 content = contents[0]; in ContentInfo() 158 return content; in getContent() 169 if (content == null) in getData() 172 return content.getOctetString(); in getData() 185 if (content != null) { in encode() [all …]
|
D | SignerInfo.java | 338 ContentInfo content = block.getContentInfo(); in verify() local 341 inputStream = new ByteArrayInputStream(content.getContentBytes()); in verify() 364 !contentType.equals((Object)content.contentType)) in verify()
|
D | PKCS7.java | 195 DerValue content = contentInfo.getContent(); in parse() local 198 parseSignedData(content); in parse() 201 parseOldSignedData(content); in parse() 204 parseNetscapeCertChain(content); in parse()
|
D | PKCS9Attribute.java | 495 byte[] content = val[1].toByteArray(); in PKCS9Attribute() 496 DerValue[] elems = new DerInputStream(content).getSet(1); in PKCS9Attribute() 503 value = content; in PKCS9Attribute()
|
/libcore/luni/src/test/java/libcore/libcore/timezone/ |
D | ZoneInfoDBTest.java | 72 byte[] content = new byte[(int) in.length()]; in testLoadTzDataWithFallback_goodOverrideFile() 73 in.readFully(content); in testLoadTzDataWithFallback_goodOverrideFile() 77 content[6] = '9'; in testLoadTzDataWithFallback_goodOverrideFile() 78 content[7] = '9'; in testLoadTzDataWithFallback_goodOverrideFile() 79 content[8] = '9'; in testLoadTzDataWithFallback_goodOverrideFile() 80 content[9] = '9'; in testLoadTzDataWithFallback_goodOverrideFile() 81 content[10] = 'z'; in testLoadTzDataWithFallback_goodOverrideFile() 83 File goodFile = makeTemporaryFile(content); in testLoadTzDataWithFallback_goodOverrideFile() 97 byte[] content = new byte[(int) in.length()]; in testLoadTzData_badHeader() 98 in.readFully(content); in testLoadTzData_badHeader() [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/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()
|
D | NodeImpl.java | 398 String content = getNodeValue(); in getTextContent() local 399 if (content != null) { in getTextContent() 400 buf.append(content); in getTextContent()
|
/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/org/w3c/dom/ |
D | Text.java | 123 public Text replaceWholeText(String content) in replaceWholeText() argument
|
/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/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()
|
/libcore/ojluni/annotations/mmodule/sun/security/pkcs/ |
D | ContentInfo.annotated.java | 43 …n.security.util.ObjectIdentifier contentType, sun.security.util.DerValue content) { throw new Runt… in ContentInfo() argument
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | URLConnectionTest.java | 3108 @Override void setBody(MockResponse response, byte[] content, int chunkSize) 3110 response.setChunkedBody(content, chunkSize); 3114 @Override void setBody(MockResponse response, byte[] content, int chunkSize) { 3115 response.setBody(content); 3119 @Override void setBody(MockResponse response, byte[] content, int chunkSize) { 3120 response.setBody(content); 3131 abstract void setBody(MockResponse response, byte[] content, int chunkSize) 3134 void setBody(MockResponse response, String content, int chunkSize) throws IOException { 3135 setBody(response, content.getBytes("UTF-8"), chunkSize);
|