/libcore/luni/src/main/java/org/w3c/dom/ |
H A D | Text.java | 17 * 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 "<&" 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 D | ChannelsTest.java | 51 private Pipe.SourceChannel createNonBlockingChannel(byte[] content) throws IOException { argument 54 sinkChannel.write(ByteBuffer.wrap(content));
|
/libcore/luni/src/main/java/libcore/net/http/ |
H A D | RetryableOutputStream.java | 31 private final ByteArrayOutputStream content; field in class:RetryableOutputStream 35 this.content = new ByteArrayOutputStream(limit); 40 this.content = new ByteArrayOutputStream(); 48 if (content.size() < limit) { 49 throw new IOException("content-length promised " 50 + limit + " bytes, but received " + content.size()); 58 if (limit != -1 && content.size() > limit - count) { 59 throw new IOException("exceeded content-length limit of " + limit + " bytes"); 61 content.write(buffer, offset, count); 66 return content [all...] |
/libcore/luni/src/main/java/java/security/ |
H A D | SignedObject.java | 36 private byte[] content; field in class:SignedObject 46 byte[] tmp = new byte[content.length]; 47 System.arraycopy(content, 0, tmp, 0, content.length); 48 content = tmp; 85 content = baos.toByteArray(); 88 signingEngine.update(content); 105 content)); 153 verificationEngine.update(content);
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | TextImpl.java | 66 // 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 D | ContentHandlerTest.java | 38 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/luni/src/main/java/org/apache/harmony/security/pkcs7/ |
H A D | ContentInfo.java | 40 * content [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL 54 private final Object content; field in class:ContentInfo 57 private ContentInfo(int[] oid, Object content, byte[] encoding) { argument 59 this.content = content; 65 return (SignedData)content; 71 return content; 97 if (content != null) { 99 res.append(content.toString()); 112 setOptional(1); // content i [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
H A D | BerOutputStream.java | 42 /** Current encoded content */ 43 public Object content; field in class:BerOutputStream 70 System.arraycopy(content, 0, encoded, offset, length); 76 BitString bStr = (BitString) content; 83 if ((Boolean) content) { 100 System.arraycopy(content, 0, encoded, offset, length); 105 System.arraycopy(content, 0, encoded, offset, length); 110 System.arraycopy(content, 0, encoded, offset, length); 115 System.arraycopy(content, 0, encoded, offset, length); 121 int[] oid = (int[]) content; [all...] |
H A D | BerInputStream.java | 63 /** Current decoded content */ 64 public Object content; field in class:BerInputStream 69 /** Current decoded content offset */ 85 * identifier, length an content octets 97 throw new ASN1Exception("Wrong content length"); 204 // tag length long_form content 220 // content: check unused bits 222 throw new ASN1Exception("ASN.1 Bitstring: wrong content at [" + contentOffset 227 throw new ASN1Exception("ASN.1 Bitstring: wrong content at [" + contentOffset 254 // check encoded content [all...] |
/libcore/luni/src/test/java/libcore/io/ |
H A D | DiskLruCacheTest.java | 741 public void writeFile(File file, String content) throws Exception { argument 743 writer.write(content);
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | URLConnectionTest.java | 698 .setBody("bogus proxy connect response content")); // Key to reproducing b/6754912 710 // when it sees the "bogus proxy connect response content" 2281 * content equals {@code expected}. 2312 @Override void setBody(MockResponse response, byte[] content, int chunkSize) 2314 response.setChunkedBody(content, chunkSize); 2318 @Override void setBody(MockResponse response, byte[] content, int chunkSize) { 2319 response.setBody(content); 2323 @Override void setBody(MockResponse response, byte[] content, int chunkSize) { 2324 response.setBody(content); 2335 abstract void setBody(MockResponse response, byte[] content, in argument 2338 setBody(MockResponse response, String content, int chunkSize) argument [all...] |
/libcore/luni/src/test/java/libcore/net/http/ |
H A D | HttpResponseCacheTest.java | 176 // exhaust the content stream 1819 @Override void setBody(MockResponse response, byte[] content, int chunkSize) 1821 response.setChunkedBody(content, chunkSize); 1825 @Override void setBody(MockResponse response, byte[] content, int chunkSize) { 1826 response.setBody(content); 1830 @Override void setBody(MockResponse response, byte[] content, int chunkSize) { 1831 response.setBody(content); 1842 abstract void setBody(MockResponse response, byte[] content, int chunkSize) argument 1845 void setBody(MockResponse response, String content, int chunkSize) throws IOException { argument 1846 setBody(response, content [all...] |