Searched refs:data (Results 201 - 225 of 260) sorted by relevance

1234567891011

/libcore/ojluni/src/main/java/java/util/
H A DCalendar.java125 * (from 1 to 7). These numbers are taken from the locale resource data when a
315 // millis from the fields, and vice versa. The data needed to do this
317 // The data provided by the TimeZone object may also be overridden if the
322 // If the user sets the fields using set(), the data flow is as follows.
336 // UTC millis (in time data member)
339 // the data flow is as follows. This is implemented by the Calendar
342 // UTC millis (in time data member)
900 * uses the time zone data to translate between locale and GMT time.
974 * The version of the serialized data on the stream. Possible values:
1594 * @param aLocale the locale for the week data
[all...]
H A DVector.java152 * Constructs an empty vector so that its internal data array
199 * its internal data array, kept in the field {@code elementData},
218 * internal data array, kept in the field {@code elementData}, with a
219 * larger one. The size of the new data array will be the old size plus
302 * data array, kept in the field {@code elementData}
666 * reference to a clone of the internal data array, not a reference
667 * to the original internal data array of this {@code Vector} object.
1065 * of the serialized data.
1070 final Object[] data;
1074 data
[all...]
/libcore/ojluni/src/main/java/sun/security/x509/
H A DExtendedKeyUsageExtension.java193 while (val.data.available() != 0) {
194 DerValue seq = val.data.getDerValue();
H A DGeneralSubtrees.java79 while (val.data.available() != 0) {
80 DerValue opt = val.data.getDerValue();
H A DPolicyConstraintsExtension.java153 DerInputStream in = val.data;
/libcore/tools/docs/crypto/
H A Dformat_supported_algorithm_table.py20 reflect the crypto algorithm support shown in the provided data file.
59 help='The JSON file to use for data')
63 data = crypto_docs.load_json(args.file)
64 categories = sort_by_name(data['categories'])
85 # First, collect the relevant data for each algorithm into a tuple.
/libcore/ojluni/src/main/java/sun/security/util/
H A DSignatureFileVerifier.java453 * given the .SF digest header, and the data from the
477 //hex.encodeBuffer(data, System.out);
579 * @param data the binary data to be converted to a hex string
583 static String toHex(byte[] data) { argument
585 StringBuffer sb = new StringBuffer(data.length*2);
587 for (int i=0; i<data.length; i++) {
588 sb.append(hexc[(data[i] >>4) & 0x0f]);
589 sb.append(hexc[data[i] & 0x0f]);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DArrayListTest.java247 String[] data = new String[] { "1", "2", "3", "4", "5", "6", "7", "8" };
250 for (String d : data) {
635 int[] data = { 1, 2, 3 };
636 for (int i = 0; i < data.length; i++) {
637 mylist.add(i, data[i]);
641 assertEquals(data[1], mylist.get(0));
642 assertEquals(data[2], mylist.get(1));
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DInputStreamReaderTest.java443 byte[] data = new byte[8192 * 2];
444 Arrays.fill(data, (byte) 116); // 116 = ISO-8859-1 value for 't'
445 ByteArrayInputStream bis = new ByteArrayInputStream(data);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
H A DZipFileTest.java207 assertEquals("testdir1/ should not contain data", -1, r);
232 int data = -1;
234 data = in.read();
237 assertEquals("Must not be able to read directory data", -1, data);
267 assertEquals("getInputStream read incorrect data", "This is text",
/libcore/json/src/main/java/org/json/
H A DJSONObject.java157 * parse to temporary JSONObject and then steal the data from that.
756 * Encodes {@code data} as a JSON string. This applies quotes and any
759 * @param data the string to encode. Null will be interpreted as an empty
762 public static String quote(String data) { argument
763 if (data == null) {
769 stringer.value(data);
/libcore/luni/src/test/java/tests/org/w3c/dom/
H A DImportNode.java145 cDataSec = aNewDoc.createCDATASection("this is CDATASection data");
154 assertEquals("nodeValue", "this is CDATASection data", value);
451 String data;
465 data = aNode.getData();
466 assertEquals("piData", "data1", data);
479 text = aNewDoc.createTextNode("this is text data");
488 assertEquals("nodeValue", "this is text data", value);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
H A DSAXParserTestSupport.java34 * Compares the result of the parser with golden data.
88 * Initialize the SAXParserTest reference by filling in the data from the
276 public void processingInstruction(String target, String data) { argument
277 data_processingInstruction.append(target + SEPARATOR_STRING + data);
444 public void processingInstruction(String target, String data) { argument
445 data_processingInstruction.append(target + SEPARATOR_STRING + data);
/libcore/ojluni/src/main/java/java/net/
H A DSocketImpl.java182 * Any data sent to this socket is acknowledged and then
202 * For a TCP socket, any previously written data will be sent
260 * urgent data. By default, false is returned
263 * @return true if urgent data supported
272 * Send one byte of urgent data on the socket.
274 * @param data The byte of data to send
276 * sending the data.
279 protected abstract void sendUrgentData (int data) throws IOException; argument
/libcore/ojluni/src/main/java/javax/security/auth/x500/
H A DX500Principal.java262 thisX500Name = new X500Name(der.data);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DJarURLConnectionTest.java168 byte[] data = new byte[1024];
169 while (in.read(data) >= 0)
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DSocketAdaptor.java41 // attempt to support) and the sending of urgent data. Otherwise an adapted
338 public void sendUrgentData(int data) throws IOException { argument
339 int n = sc.sendOutOfBandData((byte) data);
/libcore/ojluni/src/main/java/java/text/
H A DSimpleDateFormat.java454 * The version of the serialized data on the stream. Possible values:
578 // Android-changed: Android has no LocaleProviderAdapter. Use ICU locale data.
725 * TagField data
745 * character value. `data' depends on its Tag value.
763 * "yyyy", Tag is 1 and Length is 4, followed by no data.
1267 // Android-added: Ignore 'b' and 'B' introduced in CLDR 32+ pattern data. http://b/68139386
1405 // BEGIN Android-added: formatWeekday and formatMonth methods to format using ICU data.
1456 // END Android-added: formatWeekday and formatMonth methods to format using ICU data.
1681 * @param data the string array to parsed.
1685 private int matchString(String text, int start, int field, String[] data, CalendarBuilde argument
1735 matchString(String text, int start, int field, Map<String,Integer> data, CalendarBuilder calb) argument
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DSocketChannelTest.java1589 // Original tests. Test method for CFII with real data.
1900 // End of original tests. Test method for CFII with real data.
1916 // use OutputStream.write to send CAPACITY_NORMAL bytes data
1919 // use close to guarantee all data is sent
1926 // use SocketChannel.read to read data
1959 // use OutputStream.write to write CAPACITY_NORMAL bytes data.
1962 // use close to guarantee all data is sent
1970 // use SocketChannel.read to read data
2007 // data
2012 // use close to guarantee all data i
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DStringTest.java47 private static String newString(int start, int len, char[] data) throws Exception { argument
49 return new String(data, start, len);
53 data);
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DNodeImpl.java698 public final Object setUserData(String key, Object data, UserDataHandler handler) { argument
703 UserData previous = data == null
705 : map.put(key, new UserData(data, handler));
/libcore/luni/src/test/java/libcore/java/lang/
H A DProcessBuilderTest.java470 * <p>This method assumes that the process consumes and produces character data encoded with
538 byte[] data = new byte[1024];
540 while ((numRead = inputStream.read(data)) >= 0) {
541 outputStream.write(data, 0, numRead);
/libcore/luni/src/test/java/libcore/java/net/
H A DSocketTest.java324 final byte[] data = "foo".getBytes();
331 socket.getOutputStream().write(data);
344 while (total < data.length) {
/libcore/ojluni/src/main/java/sun/security/pkcs/
H A DPKCS7.java58 * type, where to the type of data signed is plain Data.
121 byte[] data = new byte[dis.available()];
122 dis.readFully(data);
124 parse(new DerInputStream(data));
501 * Encodes the signed data to an output stream.
503 * @param out the output stream to write the encoded data to.
513 * Encodes the signed data to a DerOutputStream.
515 * @param out the DerOutputStream to write the encoded data to.
550 // to the signed data
572 // to the signed data
[all...]
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
H A DDocumentBuilderImpl.java200 String data = (dot != -1 ? text.substring(dot + 1) : "");
203 data));

Completed in 488 milliseconds

1234567891011