/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/luni/src/main/java/org/apache/harmony/security/pkcs7/ |
D | ContentInfo.java | 54 private final Object content; field in ContentInfo 57 private ContentInfo(int[] oid, Object content, byte[] encoding) { in ContentInfo() argument 59 this.content = content; in ContentInfo() 65 return (SignedData)content; in getSignedData() 71 return content; in getContent() 97 if (content != null) { in toString() 99 res.append(content.toString()); in toString() 118 if (ci.content != null) { 120 if (ci.content != null) { 122 ASN1OctetString.getInstance().encode(ci.content); [all …]
|
D | AuthenticatedAttributes.java | 62 (List<AttributeTypeAndValue>) in.content);
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
D | DerOutputStream.java | 40 content = object; in DerOutputStream() 50 content = val[index][1]; in encodeChoice() 56 content = val[index][0]; in encodeExplicit() 74 content = values[i]; in encodeSequence() 95 content = values[i]; in encodeValueCollection() 118 int i = choice.getIndex(content); in getChoiceLength() 119 content = choice.getObjectToEncode(content); in getChoiceLength() 121 Object[] values = new Object[] { choice.type[i], content }; in getChoiceLength() 129 values[1] = content; in getChoiceLength() 136 values[0] = content; in getExplicitLength() [all …]
|
D | BerOutputStream.java | 43 public Object content; field in BerOutputStream 70 System.arraycopy(content, 0, encoded, offset, length); in encodeANY() 76 BitString bStr = (BitString) content; in encodeBitString() 83 if ((Boolean) content) { in encodeBoolean() 100 System.arraycopy(content, 0, encoded, offset, length); in encodeGeneralizedTime() 105 System.arraycopy(content, 0, encoded, offset, length); in encodeUTCTime() 110 System.arraycopy(content, 0, encoded, offset, length); in encodeInteger() 115 System.arraycopy(content, 0, encoded, offset, length); in encodeOctetString() 121 int[] oid = (int[]) content; in encodeOID() 176 System.arraycopy(content, 0, encoded, offset, length); in encodeString()
|
D | ASN1StringType.java | 47 byte[] bytes = ((String) out.content).getBytes(StandardCharsets.UTF_8); in setEncodingContent() 48 out.content = bytes; in setEncodingContent() 112 byte[] bytes = ((String) out.content).getBytes(StandardCharsets.UTF_8); in setEncodingContent() 113 out.content = bytes; in setEncodingContent()
|
D | ASN1UTCTime.java | 100 out.content = sdf.format(out.content).getBytes(StandardCharsets.UTF_8); in setEncodingContent() 101 out.length = ((byte[]) out.content).length; in setEncodingContent()
|
D | ASN1GeneralizedTime.java | 89 String temp = sdf.format(out.content); in setEncodingContent() 102 out.content = (temp + "Z").getBytes(StandardCharsets.UTF_8); in setEncodingContent() 103 out.length = ((byte[]) out.content).length; in setEncodingContent()
|
D | ASN1BitString.java | 90 out.length = ((BitString) out.content).bytes.length + 1; in setEncodingContent() 160 boolean[] toEncode = (boolean[]) out.content; in setEncodingContent() 168 out.content = emptyString; in setEncodingContent() 191 out.content = new BitString(bytes, unusedBits); in setEncodingContent()
|
D | ASN1Oid.java | 106 int[] oid = (int[]) out.content; in setEncodingContent() 180 out.content = ObjectIdentifier.toIntArray((String) out.content);
|
D | ASN1Enumerated.java | 86 out.length = ((byte[]) out.content).length; in setEncodingContent()
|
D | ASN1OctetString.java | 84 out.length = ((byte[]) out.content).length; in setEncodingContent()
|
/libcore/luni/src/main/java/java/security/ |
D | SignedObject.java | 36 private byte[] content; field in SignedObject 46 byte[] tmp = new byte[content.length]; in readObject() 47 System.arraycopy(content, 0, tmp, 0, content.length); in readObject() 48 content = tmp; in readObject() 85 content = baos.toByteArray(); in SignedObject() 88 signingEngine.update(content); in SignedObject() 105 content)); in getObject() 153 verificationEngine.update(content); in verify()
|
/libcore/luni/src/test/java/libcore/util/ |
D | ZoneInfoDBTest.java | 59 byte[] content = new byte[(int) in.length()]; in testGoodOverrideFile() 60 in.readFully(content); in testGoodOverrideFile() 62 content[6] = '9'; in testGoodOverrideFile() 63 content[7] = '9'; in testGoodOverrideFile() 64 content[8] = '9'; in testGoodOverrideFile() 65 content[9] = '9'; in testGoodOverrideFile() 66 content[10] = 'z'; in testGoodOverrideFile() 70 String goodFile = makeTemporaryFile(content); in testGoodOverrideFile() 111 private static String makeTemporaryFile(byte[] content) throws Exception { in makeTemporaryFile() argument 114 fos.write(content); in makeTemporaryFile()
|
/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/luni/src/main/java/java/util/ |
D | ListResourceBundle.java | 120 for (Object[] content : contents) { 121 if (content[0] == null || content[1] == null) { 124 table.put((String) content[0], content[1]);
|
/libcore/luni/src/main/java/java/net/ |
D | ContentHandler.java | 59 Object content = getContent(uConn); in getContent() local 61 if (types[i].isInstance(content)) { in getContent() 62 return content; in getContent()
|
/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/luni/src/main/java/org/apache/harmony/security/x501/ |
D | AttributeTypeAndValue.java | 363 AttributeValue av = (AttributeValue) out.content; 366 out.content = av.encoded; 370 out.content = av.bytes; 376 AttributeValue av = (AttributeValue) out.content; 382 out.content = av.rawString; 384 av.bytes = (byte[]) out.content; 385 out.content = av; 399 AttributeValue av = (AttributeValue) out.content; 412 Object[] values = (Object[]) in.content;
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | ChannelsTest.java | 51 private Pipe.SourceChannel createNonBlockingChannel(byte[] content) throws IOException { in createNonBlockingChannel() argument 54 sinkChannel.write(ByteBuffer.wrap(content)); in createNonBlockingChannel()
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
D | ReasonFlags.java | 101 out.content = ((ReasonFlags) out.content).flags;
|
D | GeneralName.java | 705 result = new GeneralName((OtherName) in.content); 709 result = new GeneralName(in.choiceIndex, (String) in.content); 712 result = new GeneralName((ORAddress) in.content); 715 result = new GeneralName((Name) in.content); 718 result = new GeneralName((EDIPartyName) in.content); 721 String uri = (String) in.content; 728 result = new GeneralName((byte[]) in.content); 732 ObjectIdentifier.toString((int[]) in.content));
|
D | DistributionPointName.java | 109 result = new DistributionPointName((GeneralNames) in.content); 113 result = new DistributionPointName((Name) in.content);
|
/libcore/luni/src/main/java/org/w3c/dom/ |
D | Text.java | 123 public Text replaceWholeText(String content) in replaceWholeText() argument
|
/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()
|