Searched defs:content (Results 1 - 9 of 9) sorted by relevance

/libcore/luni/src/main/java/org/w3c/dom/
H A DText.java17 * and represents the textual content (termed <a href='http://www.w3.org/TR/2004/REC-xml-20040204#syntax'>character data</a> in XML) of an <code>Element</code> or <code>Attr</code>. If there is no
18 * markup inside an element's content, the text is contained in a single
31 * <p> No lexical check is done on the content of a <code>Text</code> node
34 * characters "&lt;&amp;" if the textual content is part of an element or of
44 * will contain all the content up to the <code>offset</code> point. A
45 * new node of the same type, which contains all the content at and
63 * element content whitespace</a>, often abusively called "ignorable whitespace". The text node is
64 * determined to contain whitespace in element content during the load
116 * @param content The content o
123 replaceWholeText(String content) argument
[all...]
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DChannelsTest.java64 private Pipe.SourceChannel createNonBlockingChannel(byte[] content) throws IOException { argument
67 sinkChannel.write(ByteBuffer.wrap(content));
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DTextImpl.java66 // constitute "element content whitespace" is defined by the containing
84 public final Text replaceWholeText(String content) throws DOMException { argument
95 // ...except the current node if we have content for it
96 if (n == this && content != null && content.length() > 0) {
97 setData(content);
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
H A DContentHandlerTest.java38 Object content = handler.getContent(conn, classes);
39 assertEquals("Foo", ((Foo) content).getFoo());
42 content = handler.getContent(conn, classes);
43 assertEquals("FooSub", ((Foo) content).getFoo());
47 content = handler.getContent(conn, classes2);
48 assertNull(content);
54 private Object content; field in class:ContentHandlerImpl
58 return content;
61 public void setContent(Object content) { argument
62 this.content
[all...]
/libcore/ojluni/src/main/java/java/security/
H A DSignedObject.java124 * The original content is "deep copied" in its serialized format
129 private byte[] content; field in class:SignedObject
153 // write and flush the object content to byte array
157 this.content = b.toByteArray();
178 ByteArrayInputStream b = new ByteArrayInputStream(this.content);
224 verificationEngine.update(this.content.clone());
242 signingEngine.update(this.content.clone());
254 content = ((byte[])fields.get("content", null)).clone();
/libcore/luni/src/test/java/libcore/libcore/util/
H A DZoneInfoDBTest.java72 byte[] content = new byte[(int) in.length()];
73 in.readFully(content);
77 content[6] = '9';
78 content[7] = '9';
79 content[8] = '9';
80 content[9] = '9';
81 content[10] = 'z';
83 File goodFile = makeTemporaryFile(content);
97 byte[] content = new byte[(int) in.length()];
98 in.readFully(content);
299 makeTemporaryFile(byte[] content) argument
[all...]
/libcore/ojluni/src/main/java/sun/security/pkcs/
H A DContentInfo.java40 // pkcs7 pre-defined content types
87 DerValue content; // OPTIONAL field in class:ContentInfo
89 public ContentInfo(ObjectIdentifier contentType, DerValue content) { argument
91 this.content = content;
100 this.content = octetString;
104 * Parses a PKCS#7 content info.
113 * Parses a PKCS#7 content info.
118 * @param derin the ASN.1 encoding of the content info.
119 * @param oldStyle flag indicating whether or not the given content inf
[all...]
/libcore/luni/src/test/java/libcore/java/net/
H A DURLConnectionTest.java792 .setBody("bogus proxy connect response content");
3009 * content equals {@code expected}.
3051 @Override void setBody(MockResponse response, byte[] content, int chunkSize)
3053 response.setChunkedBody(content, chunkSize);
3057 @Override void setBody(MockResponse response, byte[] content, int chunkSize) {
3058 response.setBody(content);
3062 @Override void setBody(MockResponse response, byte[] content, int chunkSize) {
3063 response.setBody(content);
3074 abstract void setBody(MockResponse response, byte[] content, int chunkSize) argument
3077 void setBody(MockResponse response, String content, in argument
[all...]
/libcore/benchmarks/src/benchmarks/regression/
H A DR.java1485 public static final int content = 0; field in class:R

Completed in 1432 milliseconds