/libcore/luni/src/main/java/libcore/util/ |
H A D | ZoneInfoDB.java | 40 * disk space the data for all time zones are concatenated into a single file, and a 42 * third file indicates the version of the zoneinfo database used to generate the data. 69 * Rather than open, read, and close the big data file each time we look up a time zone, 70 * we map the big data file during startup, and then just use the MemoryMappedFile. 72 * At the moment, this "big" data file is about 500 KiB. At some point, that will be small 114 * Traditionally, Unix systems have one file per time zone. We have one big data file, which 116 * data file, we also have an index. We read the index at startup, and keep it in memory so 117 * we can binary search by id when we need time zone data. 184 // Work out where in the big data file this time zone is. 190 BufferIterator data [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
H A D | Normalize.java | 81 String data; 89 data = textNode.getData(); 90 assertEquals("data", "Roger\n Jones", data);
|
/libcore/luni/src/main/java/java/lang/ |
H A D | String.java | 140 public String(byte[] data) { argument 141 this(data, 0, data.length); 148 * @param data 153 * if {@code data == null}. 157 public String(byte[] data, int high) { argument 158 this(data, high, 0, data.length); 166 * if {@code data == null}. 168 * if {@code byteCount < 0 || offset < 0 || offset + byteCount > data 170 String(byte[] data, int offset, int byteCount) argument 186 String(byte[] data, int high, int offset, int byteCount) argument 212 String(byte[] data, int offset, int byteCount, String charsetName) argument 227 String(byte[] data, String charsetName) argument 245 String(byte[] data, int offset, int byteCount, Charset charset) argument 392 String(byte[] data, Charset charset) argument 403 String(char[] data) argument 417 String(char[] data, int offset, int charCount) argument 693 copyValueOf(char[] data) argument 715 copyValueOf(char[] data, int start, int length) argument 797 getBytes(int start, int end, byte[] data, int index) argument 1573 valueOf(char[] data) argument 1595 valueOf(char[] data, int start, int length) argument [all...] |
H A D | VMClassLoader.java | 78 native static Class defineClass(ClassLoader cl, String name, byte[] data, int offset, int len) argument 81 native static Class defineClass(ClassLoader cl, byte[] data, int offset, int len) argument
|
/libcore/luni/src/test/java/libcore/java/nio/ |
H A D | OldAndroidNIOTest.java | 97 byte[] data = new byte[8]; 99 b.put(data, -1, 2); 107 byte[] data = new byte[8]; 109 b.put(data, 1, 8); 117 byte[] data = new byte[8]; 119 b.put(data, 0, 3); 412 short[] data = new short[8]; 414 sb.put(data, -1, 2); 422 short[] data = new short[8]; 424 sb.put(data, [all...] |
/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/libcore/icu/ |
H A D | NativeDecimalFormat.java | 138 public NativeDecimalFormat(String pattern, LocaleData data) { argument 139 this.address = open(pattern, data.currencySymbol, 140 data.decimalSeparator, '#', data.exponentSeparator, data.groupingSeparator, 141 data.infinity, data.internationalCurrencySymbol, data.minusSign, 142 data.monetarySeparator, data 508 private int[] data; field in class:NativeDecimalFormat.FieldPositionIterator 614 setData(int[] data) argument [all...] |
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/java/util/ |
H A D | LinkedList.java | 49 ET data; field in class:LinkedList.Link 54 data = o; 120 return link.data; 137 return lastLink.data; 174 lastLink.data = object; 213 return link.data; 488 if (object.equals(link.data)) { 495 if (link.data == null) { 517 return link.data; 536 return first.data; [all...] |
/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/org/apache/harmony/xnet/provider/jsse/ |
H A D | ConnectionStateSSLv3.java | 225 * data structure for specified data of specified type. 285 * the specified type from the provided data. 291 // plain data of the Generic[Stream|Block]Cipher structure 292 byte[] data = decCipher.update(fragment, offset, len); 297 int padding_length = data[data.length-1]; 299 if (data[data.length-2-i] != padding_length) { 306 content = new byte[data [all...] |
H A D | ConnectionStateTLS.java | 233 * data structure for specified data of specified type. 294 * the specified type from the provided data representing 301 // plain data of the Generic[Stream|Block]Cipher structure 302 byte[] data = decCipher.update(fragment, offset, len); 307 int padding_length = data[data.length-1]; 309 if (data[data.length-2-i] != padding_length) { 316 content = new byte[data [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/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | TestCertUtils.java | 154 private static final String serializedData = "Just a dummy string to be serialized instead of real data"; 463 byte[] data = new byte[asubj.length + aissuer.length + 1]; 465 System.arraycopy(asubj, 0, data, 0, asubj.length); 466 //data[asubj.length] = 0; 468 .arraycopy(aissuer, 0, data, asubj.length + 1, 470 return data; 617 byte[] data = new byte[0]; 622 byte[] tmp = new byte[data.length + len]; 623 System.arraycopy(data, 0, tmp, 0, data [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
H A D | OldSocketChannelTest.java | 293 buf.put(data); 307 ByteBuffer buf = ByteBuffer.allocate(data.length); 308 buf.limit(data.length / 2); 317 assertSameContent(data, buf); 323 buf = ByteBuffer.allocateDirect(data.length); 324 buf.limit(data.length / 2); 333 assertSameContent(data, buf); 336 private void assertSameContent(byte[] data, ByteBuffer buf) { argument 337 for (byte b : data) { 347 public static byte[] data field in class:OldSocketChannelTest [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ |
H A D | ServerSocketFactoryTest.java | 62 final byte[] data = "abc".getBytes(); 68 s.getOutputStream().write(data); 82 assertEquals(Arrays.toString(data), Arrays.toString(out.toByteArray()));
|
/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/libcore/java/io/ |
H A D | OldStreamTokenizerTest.java | 96 byte[] data = new byte[] {(byte) '-'}; 97 StreamTokenizer tokenizer = new StreamTokenizer(new ByteArrayInputStream(data)); 108 byte[] data = new byte[] {(byte) '"', 115 StreamTokenizer tokenizer = new StreamTokenizer(new ByteArrayInputStream(data));
|
H A D | OldAndroidStreamTokenizerTest.java | 74 byte[] data = new byte[]{(byte) '-'}; 75 StreamTokenizer tokenizer = new StreamTokenizer(new ByteArrayInputStream(data));
|
/libcore/luni/src/main/native/ |
H A D | org_apache_harmony_xml_ExpatParser.cpp | 194 static ParsingContext* toParsingContext(void* data) { argument 195 return reinterpret_cast<ParsingContext*>(data); 437 * @param data parsing context 441 static void bufferAndInvoke(jmethodID method, void* data, const char* text, size_t length) { argument 442 ParsingContext* parsingContext = toParsingContext(data); 590 * @param data parsing context 595 static void startElement(void* data, const char* elementName, const char** attributes) { argument 596 ParsingContext* parsingContext = toParsingContext(data); 631 * @param data parsing context 633 * we assume that this matches the last data o 635 endElement(void* data, const char* ) argument 660 text(void* data, const char* characters, int length) argument 671 comment(void* data, const char* comment) argument 682 startNamespace(void* data, const char* prefix, const char* uri) argument 714 endNamespace(void* data, const char* ) argument 732 startCdata(void* data) argument 748 endCdata(void* data) argument 763 startDtd(void* data, const char* name, const char* systemId, const char* publicId, int ) argument 790 endDtd(void* data) argument 808 processingInstruction(void* data, const char* target, const char* instructionData) argument 898 unparsedEntityDecl(void* data, const char* name, const char* , const char* systemId, const char* publicId, const char* notationName) argument 921 notationDecl(void* data, const char* name, const char* , const char* systemId, const char* publicId) argument [all...] |
H A D | java_text_Bidi.cpp | 76 BiDiData* data = biDiData(ptr); local 80 data->setEmbeddingLevels(dst = new jbyte[length]); 83 data->setEmbeddingLevels(NULL); 90 ubidi_setPara(data->uBiDi(), chars.get(), length, paraLevel, data->embeddingLevels(), &err);
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
H A D | OldZipFileTest.java | 70 int data = -1; 72 data = in.read(); 75 assertEquals("Must not be able to read directory data", -1, data);
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | DocumentImpl.java | 65 * A lazily initialized map of user data values for this document's own 69 * <p>Attaching user data directly to the corresponding node would cost a 70 * field per node. Under the assumption that user data is rarely needed, we 71 * attach user data to the document to save those fields. Xerces also takes 123 * @param operation the operation type to use when notifying user data 125 * responsibility to notify user data handlers of the returned node. 331 public CDATASectionImpl createCDATASection(String data) { argument 332 return new CDATASectionImpl(this, data); 335 public CommentImpl createComment(String data) { argument 336 return new CommentImpl(this, data); 355 createProcessingInstruction(String target, String data) argument 359 createTextNode(String data) argument [all...] |
H A D | TextImpl.java | 35 public TextImpl(DocumentImpl document, String data) { argument 36 super(document, data);
|