/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | CharacterDataImpl.java | 37 CharacterDataImpl(DocumentImpl document, String data) { argument 39 setData(data); 87 public void setData(String data) throws DOMException { argument 88 buffer = new StringBuffer(data);
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | DigitalSignature.java | 134 * @param data 136 public void update(byte[] data) { argument 138 sha.update(data); 141 md5.update(data); 147 * @param data 149 public void setMD5(byte[] data) { argument 150 md5_hash = data; 155 * @param data 157 public void setSHA(byte[] data) { argument 158 sha_hash = data; 211 verifySignature(byte[] data) argument [all...] |
H A D | Logger.java | 61 public void print(byte[] data) { argument 62 printAsHex(16, " ", "", data, 0, data.length); 65 public void print(byte[] data, int offset, int len) { argument 66 printAsHex(16, " ", "", data, offset, len); 69 public void printAsHex(int perLine, String prefix, String delimiter, byte[] data) { argument 70 printAsHex(perLine, prefix, delimiter, data, 0, data.length); 74 byte[] data, int offset, int len) { 78 line.append(Byte.toHexString(data[ 73 printAsHex(int perLine, String prefix, String delimiter, byte[] data, int offset, int len) argument [all...] |
H A D | AbstractSessionContext.java | 180 * @return session data as bytes or null if the session can't be converted 195 // Session data. 196 byte[] data = sslSession.getEncoded(); 197 daos.writeInt(data.length); 198 daos.write(data); 205 data = cert.getEncoded(); 206 daos.writeInt(data.length); 207 daos.write(data); 226 SSLSession toSession(byte[] data, String host, int port) { argument 227 ByteArrayInputStream bais = new ByteArrayInputStream(data); [all...] |
/libcore/luni/src/main/java/org/xml/sax/ |
H A D | ContentHandler.java | 26 * and character data.</p> 30 * example, all of an element's content (character data, processing 141 * use prefixes in character data or in attribute values, 289 * Receive notification of character data. 292 * character data. SAX parsers may return all contiguous character 293 * data in a single chunk, or they may split it into several 314 * processing instruction data, and comments as well as in data reported 376 * data may have characters that need more than one <code>char</code> 380 * @param data th 386 processingInstruction(String target, String data) argument [all...] |
H A D | HandlerBase.java | 233 * Receive notification of character data inside an element. 236 * method to take specific actions for each chunk of character data 237 * (such as adding the data to a node or buffer, or printing it to 260 * whitespace (such as adding data to a node or buffer, or printing 287 * @param data The processing instruction data, or null if 293 public void processingInstruction (String target, String data) 290 processingInstruction(String target, String data) argument
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
H A D | CipherInputStream1Test.java | 46 public TestInputStream(byte[] data) { argument 47 super(data); 65 byte[] data = new byte[] { -127, -100, -50, -10, -1, 0, 1, 10, 50, 127 }; 66 TestInputStream tis = new TestInputStream(data); 69 for (int i = 0; i < data.length; i++) { 70 if ((byte) cis.read() != data[i]) { 85 byte[] data = new byte[] { -127, -100, -50, -10, -1, 0, 1, 10, 50, 127 }; 86 TestInputStream tis = new TestInputStream(data); 89 for (int i = 0; i < data.length; i++) { 90 if ((res = (byte) cis.read()) != data[ [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
H A D | MyCertPath.java | 121 private byte[] data; field in class:MyCertPath.MyCertPathRep 123 public MyCertPathRep(String type, byte[] data) { argument 124 super(type, data); 125 this.data = data; 138 return data;
|
H A D | MyCertificate.java | 125 private byte[] data; field in class:MyCertificate.MyCertificateRep 127 public MyCertificateRep(String type, byte[] data) { argument 128 super(type, data); 129 this.data = data; 142 return data;
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
H A D | BinaryHprofWriter.java | 41 private final HprofData data; field in class:BinaryHprofWriter 45 * Writes the provided data to the specified stream. 47 public static void write(HprofData data, OutputStream outputStream) throws IOException { argument 48 new BinaryHprofWriter(data, outputStream).write(); 51 private BinaryHprofWriter(HprofData data, OutputStream outputStream) { argument 52 this.data = data; 58 writeHeader(data.getStartMillis()); 60 writeControlSettings(data.getFlags(), data [all...] |
/libcore/luni/src/main/java/java/nio/charset/ |
H A D | CharsetDecoderICU.java | 30 * data[INPUT_OFFSET] = on input contains the start of input and on output the number of input bytes consumed 31 * data[OUTPUT_OFFSET] = on input contains the start of output and on output the number of output chars written 32 * data[INVALID_BYTES] = number of invalid bytes 34 private int[] data = new int[3]; field in class:CharsetDecoderICU 91 data[INPUT_OFFSET] = 0; 92 data[OUTPUT_OFFSET] = 0; 93 data[INVALID_BYTES] = 0; 107 data[INPUT_OFFSET] = 0; 109 data[OUTPUT_OFFSET] = getArray(out); 110 data[INVALID_BYTE [all...] |
H A D | CharsetEncoderICU.java | 45 * data[INPUT_OFFSET] = on input contains the start of input and on output the number of input chars consumed 46 * data[OUTPUT_OFFSET] = on input contains the start of output and on output the number of output bytes written 47 * data[INVALID_CHARS] = number of invalid chars 49 private int[] data = new int[3]; field in class:CharsetEncoderICU 119 data[INPUT_OFFSET] = 0; 120 data[OUTPUT_OFFSET] = 0; 121 data[INVALID_CHARS] = 0; 135 data[INPUT_OFFSET] = 0; 137 data[OUTPUT_OFFSET] = getArray(out); 138 data[INVALID_CHAR [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
H A D | NativeConverter.java | 19 char[] output, int outEnd, int[] data, boolean flush); 22 byte[] output, int outEnd, int[] data, boolean flush); 18 decode(long converterHandle, byte[] input, int inEnd, char[] output, int outEnd, int[] data, boolean flush) argument 21 encode(long converterHandle, char[] input, int inEnd, byte[] output, int outEnd, int[] data, boolean flush) argument
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
H A D | AttributesImpl.java | 62 data = null; 110 return data[index*5]; 128 return data[index*5+1]; 146 return data[index*5+2]; 164 return data[index*5+3]; 181 return data[index*5+4]; 205 if (data[i].equals(uri) && data[i+1].equals(localName)) { 224 if (data[i+2].equals(qName)) { 246 if (data[ 613 String data []; field in class:AttributesImpl [all...] |
H A D | DefaultHandler.java | 309 * Receive notification of character data inside an element. 312 * method to take specific actions for each chunk of character data 313 * (such as adding the data to a node or buffer, or printing it to 336 * whitespace (such as adding data to a node or buffer, or printing 363 * @param data The processing instruction data, or null if 369 public void processingInstruction (String target, String data) 366 processingInstruction(String target, String data) argument
|
H A D | XMLFilterImpl.java | 557 * Filter a character data event. 596 * @param data The text following the target. 600 public void processingInstruction (String target, String data) 604 contentHandler.processingInstruction(target, data); 594 processingInstruction(String target, String data) argument
|
/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | XercesHTML2DocumentBuilderFactory.java | 162 public void processingInstruction(String target, String data) throws argument 164 htmlBuilder.processingInstruction(target, data);
|
H A D | XercesHTMLDocumentBuilderFactory.java | 162 public void processingInstruction(String target, String data) throws argument 164 htmlBuilder.processingInstruction(target, data);
|
/libcore/json/src/main/java/org/json/ |
H A D | JSONObject.java | 152 * parse to temporary JSONObject and then steal the data from that. 700 * Encodes {@code data} as a JSON string. This applies quotes and any 703 * @param data the string to encode. Null will be interpreted as an empty 706 public static String quote(String data) { argument 707 if (data == null) { 713 stringer.value(data);
|
/libcore/luni/src/main/java/java/security/ |
H A D | Signature.java | 303 * Generates and returns the signature of all updated data. 309 * @return the signature of all updated data. 322 * Generates and stores the signature of all updated data in the provided 415 * Updates the data to be verified or to be signed, using the specified 432 * Updates the data to be verified or to be signed, using the specified 435 * @param data 441 public final void update(byte[] data) throws SignatureException { argument 445 engineUpdate(data, 0, data.length); 449 * Updates the data t 462 update(byte[] data, int off, int len) argument 484 update(ByteBuffer data) argument [all...] |
/libcore/luni/src/main/java/java/text/ |
H A D | DateFormatSymbols.java | 31 * Encapsulates localized date-time formatting data, such as the names of the 32 * months, the names of the days of the week, and the time zone data. 46 * because the implementation cannot make assumptions about user-supplied/user-modifiable data 47 * to the same extent that it can with its own built-in data. 383 * @param data 386 public void setAmPmStrings(String[] data) { argument 387 ampms = data.clone(); 395 * @param data 398 public void setEras(String[] data) { argument 399 eras = data 411 setLocalPatternChars(String data) argument 426 setMonths(String[] data) argument 438 setShortMonths(String[] data) argument 450 setShortWeekdays(String[] data) argument 462 setWeekdays(String[] data) argument [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | CopyOnWriteArrayList.java | 63 * Holds the latest snapshot of the list's data. This field is volatile so 64 * that data can be read without synchronization. As a consequence, all 424 static int lastIndexOf(Object o, Object[] data, int from, int to) { argument 427 if (data[i] == null) { 433 if (o.equals(data[i])) { 441 static int indexOf(Object o, Object[] data, int from, int to) { argument 444 if (data[i] == null) { 450 if (o.equals(data[i])) {
|
/libcore/luni/src/main/java/java/util/jar/ |
H A D | JarVerifier.java | 47 * <li>confirmation that all signed data was signed only by the party or parties 48 * specified in the signature block data 217 * Add a new meta entry to the internal collection of data held on each JAR 379 private boolean verify(Attributes attributes, String entry, byte[] data, argument 399 if (ignoreSecondEndline && data[end - 1] == '\n' 400 && data[end - 2] == '\n') { 401 md.update(data, start, end - 1 - start); 403 md.update(data, start, end - start); 430 * Remove all entries from the internal collection of data held about each
|
/libcore/luni/src/main/java/java/util/zip/ |
H A D | ZipEntry.java | 33 * An entry has attributes such as name (= path) or the size of its data. While 34 * an entry identifies data stored in an archive, it does not hold the data 36 * all its entries in a collection and then read the data for a specific entry 222 * @param data 225 * when the length of data is greater than 0xFFFF bytes. 227 public void setExtra(byte[] data) { argument 228 if (data == null || data.length <= 0xFFFF) { 229 extra = data; [all...] |
/libcore/luni/src/main/java/org/w3c/dom/ |
H A D | Document.java | 18 * the primary access to the document's data. 96 * @param data The data for the node. 99 public Text createTextNode(String data); argument 103 * @param data The data for the node. 106 public Comment createComment(String data); argument 111 * @param data The data for the <code>CDATASection</code> contents. 116 public CDATASection createCDATASection(String data) argument 137 createProcessingInstruction(String target, String data) argument [all...] |