Searched defs:data (Results 26 - 50 of 79) sorted by relevance

1234

/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DCharacterDataImpl.java37 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 DDigitalSignature.java134 * @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 DLogger.java61 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 DAbstractSessionContext.java180 * @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 DContentHandler.java26 * 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 DHandlerBase.java233 * 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 DCipherInputStream1Test.java46 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 DMyCertPath.java121 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 DMyCertificate.java125 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 DBinaryHprofWriter.java41 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 DCharsetDecoderICU.java30 * 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 DCharsetEncoderICU.java45 * 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 DNativeConverter.java19 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 DAttributesImpl.java62 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 DDefaultHandler.java309 * 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 DXMLFilterImpl.java557 * 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 DXercesHTML2DocumentBuilderFactory.java162 public void processingInstruction(String target, String data) throws argument
164 htmlBuilder.processingInstruction(target, data);
H A DXercesHTMLDocumentBuilderFactory.java162 public void processingInstruction(String target, String data) throws argument
164 htmlBuilder.processingInstruction(target, data);
/libcore/json/src/main/java/org/json/
H A DJSONObject.java152 * 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 DSignature.java303 * 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 DDateFormatSymbols.java31 * 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 DCopyOnWriteArrayList.java63 * 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 DJarVerifier.java47 * <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 DZipEntry.java33 * 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 DDocument.java18 * 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...]

Completed in 408 milliseconds

1234