/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/test/java/libcore/util/ |
H A D | ZoneInfoDBTest.java | 59 byte[] content = new byte[(int) in.length()]; 60 in.readFully(content); 62 content[6] = '9'; 63 content[7] = '9'; 64 content[8] = '9'; 65 content[9] = '9'; 66 content[10] = 'z'; 70 String goodFile = makeTemporaryFile(content); 104 return makeTemporaryFile("invalid content".getBytes()); 111 private static String makeTemporaryFile(byte[] content) throw argument [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/java/net/ |
H A D | URLConnectionTest.java | 654 .setBody("bogus proxy connect response content"); // Key to reproducing b/6754912 673 // when it sees the "bogus proxy connect response content" 2309 * content equals {@code expected}. 2340 @Override void setBody(MockResponse response, byte[] content, int chunkSize) 2342 response.setChunkedBody(content, chunkSize); 2346 @Override void setBody(MockResponse response, byte[] content, int chunkSize) { 2347 response.setBody(content); 2351 @Override void setBody(MockResponse response, byte[] content, int chunkSize) { 2352 response.setBody(content); 2363 abstract void setBody(MockResponse response, byte[] content, in argument 2366 setBody(MockResponse response, String content, int chunkSize) argument [all...] |