Searched defs:data (Results 51 - 75 of 79) sorted by relevance

1234

/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DXMLReaderAdapter.java399 * @param data The remainder of the processing instruction
404 public void processingInstruction (String target, String data)
408 documentHandler.processingInstruction(target, data);
402 processingInstruction(String target, String data) argument
H A DParserAdapter.java679 * @param data The remainder of the processing instruction
684 public void processingInstruction (String target, String data)
688 contentHandler.processingInstruction(target, data);
682 processingInstruction(String target, String data) argument
/libcore/luni/src/main/native/
H A Djava_text_Bidi.cpp76 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);
H A Dlibcore_icu_NativeDecimalFormat.cpp225 jintArray data = NULL; local
227 data = env->NewIntArray(len);
228 ScopedIntArrayRW ints(env, data);
234 env->CallVoidMethod(fpIter, gFPI_setData, data);
278 // data to jchars using UnicodeString, and call NewString instead.
317 const char* data = str.data(); local
318 if (strncmp(data, "NaN", 3) == 0 ||
319 strncmp(data, "Inf", 3) == 0 ||
320 strncmp(data, "
[all...]
H A Dlibcore_icu_ICU.cpp188 // We can't use ucurr_getName because it doesn't distinguish between using data root from
722 void* data = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, fd.get(), 0); local
723 if (data == MAP_FAILED) {
728 if (madvise(data, sb.st_size, MADV_RANDOM) == -1) {
732 // Tell ICU to use our memory-mapped data.
734 udata_setCommonData(data, &status);
736 // Tell ICU it can *only* use our memory-mapped data.
740 // Failures to find the ICU data tend to be somewhat obscure because ICU loads its data on first
H A Dlibcore_icu_NativeConverter.cpp95 jintArray data, jboolean flush) {
112 ScopedIntArrayRW myData(env, data);
150 jintArray data, jboolean flush) {
167 ScopedIntArrayRW myData(env, data);
93 NativeConverter_encode(JNIEnv* env, jclass, jlong address, jcharArray source, jint sourceEnd, jbyteArray target, jint targetEnd, jintArray data, jboolean flush) argument
148 NativeConverter_decode(JNIEnv* env, jclass, jlong address, jbyteArray source, jint sourceEnd, jcharArray target, jint targetEnd, jintArray data, jboolean flush) argument
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DOldSocketChannelTest.java293 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/xml/
H A DSaxTest.java258 @Override public void processingInstruction(String target, String data) { argument
H A DExpatSaxParserTest.java349 public void processingInstruction(String target, String data) argument
507 assertEquals("lee", handler.data);
513 String data; field in class:ExpatSaxParserTest.TestProcessingInstrutionHandler
516 public void processingInstruction(String target, String data) { argument
518 this.data = data;
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
H A DCipherThread.java30 private String data = " Albert Einstein was a German-born " + field in class:CipherThread
54 throw new Exception("Source and encoded data not match " +
64 throw new Exception("Encoded data is not properly padded at offset " + i);
69 throw new Exception("Source and encoded data not match " + getCipherParameters());
126 return data;
/libcore/luni/src/test/java/tests/api/org/xml/sax/support/
H A DMockHandler.java81 public void processingInstruction(String target, String data) throws SAXException { argument
82 logger.add("processingInstruction", target, data);
/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlSerializer.java546 public void cdsect(String data) throws IOException { argument
550 data = data.replace("]]>", "]]]]><![CDATA[>");
551 char[] chars = data.toCharArray();
/libcore/luni/src/main/java/java/util/
H A DLinkedList.java49 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/org/apache/harmony/xml/dom/
H A DDocumentImpl.java65 * 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 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/main/java/org/apache/harmony/xnet/provider/jsse/
H A DHandshakeProtocol.java44 * Handshake status NEED_UNWRAP - HandshakeProtocol needs to receive data
69 * IO stream for income/outcome handshake data
415 * Verifies finished data
417 * @param data
420 protected void verifyFinished(byte[] data) { argument
421 if (!Arrays.equals(verify_data, data)) {
H A DSSLSocketImpl.java54 // application data input stream, this stream is presented by
56 // place where application data will be stored by record protocol
58 // outgoing application data stream
192 * Initialize the transport data streams.
200 * Closes the transport data streams.
567 public void sendUrgentData(int data) throws IOException { argument
597 * when client application tries to read application data from
598 * the stream, but there is no data in its underlying buffer.
614 // and retrieve the type of unwrapped data
634 "SSLSocket.needAppData: got the data");
672 writeAppData(byte[] data, int offset, int len) argument
[all...]
H A DOpenSSLSocketImpl.java626 * This inner class provides input data stream functionality
628 * read data received via SSL protocol.
640 * Reads one byte. If there is no data in the underlying buffer,
641 * this operation can block until the data will be
671 * This inner class provides output data stream functionality
673 * write data according to the encryption parameters given in SSL context.
830 @Override public void sendUrgentData(int data) throws IOException { argument
/libcore/luni/src/main/java/org/w3c/dom/
H A DNode.java54 * <td valign='top' rowspan='1' colspan='1'>same as <code>CharacterData.data</code>, the
62 * <td valign='top' rowspan='1' colspan='1'>same as <code>CharacterData.data</code>, the
122 * <code>ProcessingInstruction.data</code></td>
129 * <td valign='top' rowspan='1' colspan='1'>same as <code>CharacterData.data</code>, the content
406 * <code>parentNode</code> is <code>null</code>) and no user data. User
407 * data associated to the imported node is not carried over. However, if
409 * associated data these handlers will be called with the appropriate
833 * <code>Text</code> nodes, as well as any user data or event listeners
877 * @param data The object to associate to the given key, or
886 Object data,
885 setUserData(String key, Object data, UserDataHandler handler) argument
[all...]
/libcore/luni/src/main/java/java/lang/
H A DString.java140 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...]
/libcore/luni/src/main/java/java/util/concurrent/
H A DLinkedTransferQueue.java66 * (linked) queues in which nodes may represent either data or
67 * requests. When a thread tries to enqueue a data node, but
74 * additionally arrange that threads enqueuing unmatched data also
85 * empty). For example, here is a possible queue with four data
105 * this here as: for a data-mode node, matching entails CASing an
106 * "item" field from a non-null data value to null upon match, and
107 * vice-versa for request nodes, CASing from null to a data
312 * represent phase changes (from data to request node or vice
486 * has opposite data mode.
495 * Tries to artificially match a data nod
773 countOfMode(boolean data) argument
[all...]
/libcore/luni/src/main/java/org/apache/harmony/xml/
H A DExpatParser.java218 /*package*/ void processingInstruction(String target, String data) argument
222 contentHandler.processingInstruction(target, data);
/libcore/luni/src/test/java/tests/api/java/util/
H A DCollectionsTest.java253 int data; field in class:CollectionsTest.MyInt
256 data = value;
260 return data > object.data ? 1 : (data < object.data ? -1 : 0);
/libcore/luni/src/test/java/tests/api/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/luni/src/main/java/libcore/icu/
H A DNativeDecimalFormat.java138 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...]

Completed in 1432 milliseconds

1234