/libcore/luni/src/main/java/org/xml/sax/ |
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/ojluni/src/main/java/java/util/ |
H A D | UUID.java | 104 private UUID(byte[] data) { argument 107 assert data.length == 16 : "data must be 16 bytes in length"; 109 msb = (msb << 8) | (data[i] & 0xff); 111 lsb = (lsb << 8) | (data[i] & 0xff); 117 * Constructs a new {@code UUID} using the specified data. {@code
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | SerialNumber.java | 45 if (derVal.data.available() != 0) { 46 throw new IOException("Excess SerialNumber data");
|
H A D | X509Key.java | 52 * data. For example, RSA public keys have two members, one for the 100 * data is stored and transmitted losslessly, but no knowledge 158 * @exception IOException on data format errors 168 algorithm = AlgorithmId.parse(in.data.getDerValue()); 171 in.data.getUnalignedBitString()); 177 if (in.data.available() != 0) 225 // Return generic X509Key with opaque key data (see below) 359 * Initialize an X509Key object from an input stream. The data on that 361 * <code>SubjectPublicKeyInfo</code> format. That is, the data is a 389 algid = AlgorithmId.parse(val.data [all...] |
H A D | X509CRLEntryImpl.java | 261 byte[] data = val.getOctetString(); 264 new CRLReasonCodeExtension(Boolean.FALSE, data); 453 if (derVal.data.available() == 0) 454 throw new CRLException("No data encoded for RevokedCertificates"); 463 int nextByte = derVal.data.peekByte(); 465 this.revocationDate = derVal.data.getUTCTime(); 467 this.revocationDate = derVal.data.getGeneralizedTime(); 471 if (derVal.data.available() == 0)
|
H A D | AuthorityInfoAccessExtension.java | 125 while (val.data.available() != 0) { 126 DerValue seq = val.data.getDerValue();
|
H A D | CertificatePoliciesExtension.java | 149 while (val.data.available() != 0) { 150 DerValue seq = val.data.getDerValue();
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
H A D | InfiniteStreamWithLimitOpTest.java | 64 List<Object[]> data = new ArrayList<>(); 66 data.add(new Object[]{f.apply("Stream.limit(%d)"), 68 data.add(new Object[]{f.apply("Stream.skip(%1$d).limit(%1$d)"), 71 return data.toArray(new Object[0][]); 78 List<Object[]> data = new ArrayList<>(); 80 data.add(new Object[]{f.apply("IntStream.limit(%d)"), 82 data.add(new Object[]{f.apply("IntStream.skip(%1$d).limit(%1$d)"), 85 return data.toArray(new Object[0][]); 92 List<Object[]> data = new ArrayList<>(); 94 data [all...] |
H A D | ConcatOpTest.java | 49 public void testOps(String name, TestData.OfRef<Integer> data) { argument 50 exerciseOpsInt(data, 51 s -> Stream.concat(s, data.stream()), 52 s -> IntStream.concat(s, data.stream().mapToInt(Integer::intValue)), 53 s -> LongStream.concat(s, data.stream().mapToLong(Integer::longValue)), 54 s -> DoubleStream.concat(s, data.stream().mapToDouble(Integer::doubleValue)));
|
H A D | GroupByOpTest.java | 110 List<MapperData<Integer, ?>> getMapperData(TestData.OfRef<Integer> data) { argument 111 int uniqueSize = data.into(new HashSet<>()).size(); 115 new MapperData<>(mZero, Math.min(1, data.size())), 128 public void testOps(String name, TestData.OfRef<Integer> data) { argument 130 // - Every value in data is present in right bucket 131 // - Total number of values equals size of data 133 for (MapperData<Integer, ?> md : getMapperData(data)) { 136 withData(data)
|
/libcore/support/src/test/java/libcore/tlswire/handshake/ |
H A D | ServerNameHelloExtension.java | 37 new DataInputStream(new ByteArrayInputStream(data)), 0xffff);
|
/libcore/luni/src/main/java/libcore/icu/ |
H A D | NativeConverter.java | 24 char[] output, int outEnd, int[] data, boolean flush); 27 byte[] output, int outEnd, int[] data, boolean flush); 23 decode(long converterHandle, byte[] input, int inEnd, char[] output, int outEnd, int[] data, boolean flush) argument 26 encode(long converterHandle, char[] input, int inEnd, byte[] output, int outEnd, int[] data, boolean flush) argument
|
/libcore/ojluni/src/main/native/ |
H A D | EPoll.c | 54 return offsetof(struct epoll_event, data); 78 event.data.fd = fd;
|
H A D | SocketInputStream.c | 55 jobject fdObj, jbyteArray data, 147 (*env)->SetByteArrayRegion(env, data, off, nread, (jbyte *)bufP); 54 SocketInputStream_socketRead0(JNIEnv *env, jobject this, jobject fdObj, jbyteArray data, jint off, jint len, jint timeout) argument
|
H A D | SocketOutputStream.c | 57 jbyteArray data, 97 (*env)->GetByteArrayRegion(env, data, off, chunkLen, (jbyte *)bufP); 55 SocketOutputStream_socketWrite0(JNIEnv *env, jobject this, jobject fdObj, jbyteArray data, jint off, jint len) argument
|
/libcore/ojluni/src/main/java/javax/crypto/ |
H A D | EncryptedPrivateKeyInfo.java | 88 seq[0] = val.data.getDerValue(); 89 seq[1] = val.data.getDerValue(); 91 if (val.data.available() != 0) { 92 throw new IOException("overrun, bytes = " + val.data.available()); 96 if (seq[0].data.available() != 0) { 101 if (seq[1].data.available() != 0) { 108 * encryption algorithm name and the encrypted data. 121 * @param encryptedData encrypted data. The contents of 155 * encryption algorithm parameters and the encrypted data. 162 * @param encryptedData encrypted data [all...] |
/libcore/luni/src/main/native/ |
H A D | org_apache_harmony_xml_ExpatParser.cpp | 199 static ParsingContext* toParsingContext(void* data) { argument 200 return reinterpret_cast<ParsingContext*>(data); 455 * @param data parsing context 459 static void bufferAndInvoke(jmethodID method, void* data, const char* text, size_t length) { argument 460 ParsingContext* parsingContext = toParsingContext(data); 607 * @param data parsing context 612 static void startElement(void* data, const char* elementName, const char** attributes) { argument 613 ParsingContext* parsingContext = toParsingContext(data); 649 * @param data parsing context 651 * we assume that this matches the last data o 653 endElement(void* data, const char* ) argument 678 text(void* data, const char* characters, int length) argument 689 comment(void* data, const char* comment) argument 700 startNamespace(void* data, const char* prefix, const char* uri) argument 732 endNamespace(void* data, const char* ) argument 750 startCdata(void* data) argument 766 endCdata(void* data) argument 781 startDtd(void* data, const char* name, const char* systemId, const char* publicId, int ) argument 808 endDtd(void* data) argument 826 processingInstruction(void* data, const char* target, const char* instructionData) argument 916 unparsedEntityDecl(void* data, const char* name, const char* , const char* systemId, const char* publicId, const char* notationName) argument 939 notationDecl(void* data, const char* name, const char* , const char* systemId, const char* publicId) argument [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
H A D | OldSocketChannelTest.java | 291 buf.put(data); 305 ByteBuffer buf = ByteBuffer.allocate(data.length); 306 buf.limit(data.length / 2); 315 assertSameContent(data, buf); 321 buf = ByteBuffer.allocateDirect(data.length); 322 buf.limit(data.length / 2); 331 assertSameContent(data, buf); 334 private void assertSameContent(byte[] data, ByteBuffer buf) { argument 335 for (byte b : data) { 345 public static byte[] data field in class:OldSocketChannelTest [all...] |
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
H A D | OCSPResponse.java | 233 DerValue tmp = der.data.getDerValue(); 240 derIn = tmp.data; 273 DerInputStream seqDerIn = responseData.data; 281 seq = seq.data.getDerValue(); 283 if (seq.data.available() != 0) { 334 DerValue[] responseExtDer = seq.data.getSequence(3); 695 DerInputStream tmp = der.data; 697 certId = new CertId(tmp.getDerValue().data); 702 revocationTime = derVal.data.getGeneralizedTime(); 703 if (derVal.data [all...] |
H A D | X509CertificatePair.java | 231 while (val.data != null && val.data.available() != 0) { 232 DerValue opt = val.data.getDerValue(); 241 opt = opt.data.getDerValue(); 252 opt = opt.data.getDerValue();
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | DocumentImpl.java | 64 * A lazily initialized map of user data values for this document's own 68 * <p>Attaching user data directly to the corresponding node would cost a 69 * field per node. Under the assumption that user data is rarely needed, we 70 * attach user data to the document to save those fields. Xerces also takes 122 * @param operation the operation type to use when notifying user data 124 * responsibility to notify user data handlers of the returned node. 330 public CDATASectionImpl createCDATASection(String data) { argument 331 return new CDATASectionImpl(this, data); 334 public CommentImpl createComment(String data) { argument 335 return new CommentImpl(this, data); 354 createProcessingInstruction(String target, String data) argument 358 createTextNode(String data) argument [all...] |
H A D | TextImpl.java | 35 public TextImpl(DocumentImpl document, String data) { argument 36 super(document, data);
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | SocketInputStream.java | 89 * @param b the buffer into which the data is read 90 * @param off the start offset of the data 107 * @param b the buffer into which the data is read 108 * @param off the start offset of the data 123 * Reads into a byte array data from the socket. 124 * @param b the buffer into which the data is read 135 * <i>length</i> bytes of data. 136 * @param b the buffer into which the data is read 137 * @param off the start offset of the data 248 byte data[] [all...] |