/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); 111 return makeTemporaryFile("invalid content".getBytes()); 118 private static String makeTemporaryFile(byte[] content) throw argument [all...] |
/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/ojluni/src/main/java/java/security/ |
H A D | SignedObject.java | 124 * 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/tzdata/update/src/main/libcore/tzdata/update/ |
H A D | TzDataBundleInstaller.java | 42 * Install the supplied content. 45 * If the content is invalid this method returns {@code false}. 48 public boolean install(byte[] content) throws IOException { argument 58 File unpackedContentDir = unpackBundle(content, workingDir); 96 private File unpackBundle(byte[] content, File targetDir) throws IOException { argument 97 Slog.i(logTag, "Unpacking update content to: " + targetDir); 98 ConfigBundle bundle = new ConfigBundle(content);
|
/libcore/tzdata/tools/src/main/libcore/tzdata/update/tools/ |
H A D | TzDataBundleBuilder.java | 110 private static void addZipEntry(ZipOutputStream zos, String name, byte[] content) argument 113 zipEntry.setSize(content.length); 115 zos.write(content);
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
H A D | ContentInfo.java | 40 // 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 D | URLConnectionTest.java | 780 .setBody("bogus proxy connect response content"); 2923 * content equals {@code expected}. 2954 @Override void setBody(MockResponse response, byte[] content, int chunkSize) 2956 response.setChunkedBody(content, chunkSize); 2960 @Override void setBody(MockResponse response, byte[] content, int chunkSize) { 2961 response.setBody(content); 2965 @Override void setBody(MockResponse response, byte[] content, int chunkSize) { 2966 response.setBody(content); 2977 abstract void setBody(MockResponse response, byte[] content, int chunkSize) argument 2980 void setBody(MockResponse response, String content, in argument [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | R.java | 1485 public static final int content = 0; field in class:R
|