/libcore/luni/src/main/java/java/io/ |
PushbackInputStream.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 51 * @param in 54 public PushbackInputStream(InputStream in) { 55 super(in); 56 buf = (in == null) ? null : new byte[1]; 61 * Constructs a new {@code PushbackInputStream} with {@code in} as source 68 * @param in 75 public PushbackInputStream(InputStream in, int size) { 76 super(in); [all...] |
PushbackReader.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 47 * @param in 50 public PushbackReader(Reader in) { 51 super(in); 57 * Constructs a new {@code PushbackReader} with {@code in} as source reader. 60 * @param in 67 public PushbackReader(Reader in, int size) { 68 super(in); 87 in.close() [all...] |
/libcore/luni/src/main/java/javax/crypto/ |
CipherInputStream.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 94 // in the cipher can cause this to vary from call to call 99 int byteCount = in.read(inputBuffer); 127 if (in == null) { 128 throw new NullPointerException("in == null"); 152 if (in == null) { 153 throw new NullPointerException("in == null"); 188 in.close();
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
DatatypeConfigurationException.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 44 /** Indicates whether this class is being used in a JDK 1.4 context. */ 152 private void readObject(ObjectInputStream in) 154 in.defaultReadObject();
|
/libcore/luni/src/main/java/javax/xml/namespace/ |
QName.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 29 * as defined in the XML specifications: <a 33 * in XML</a>, <a 35 * in XML Errata</a>.</p> 41 * <p>The prefix is included in <code>QName</code> to retain lexical 42 * information <strong><em>when present</em></strong> in an {@link 44 * <strong><em>NOT</em></strong> used in {@link #equals(Object) 60 * @see <a href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames">Namespaces in XML</a> 61 * @see <a href="http://www.w3.org/XML/xml-names-19990114-errata">Namespaces in XML Errata</a [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1Any.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 72 public Object decode(BerInputStream in) throws IOException { 74 in.readContent(); 76 if (in.isVerify) { 79 return getDecodedObject(in); 86 * @param in BER input stream 89 public Object getDecodedObject(BerInputStream in) throws IOException { 90 byte[] bytesEncoded = new byte[in.offset - in.tagOffset] [all...] |
ASN1Integer.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 54 * that is represented as byte array in two's-complement notation. 62 public Object decode(BerInputStream in) throws IOException { 63 in.readInteger(); 65 if (in.isVerify) { 68 return getDecodedObject(in); 76 public Object getDecodedObject(BerInputStream in) throws IOException { 77 byte[] bytesEncoded = new byte[in.length]; 78 System.arraycopy(in.buffer, in.contentOffset, bytesEncoded, 0 [all...] |
ASN1Oid.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 62 public Object decode(BerInputStream in) throws IOException { 63 in.readOID(); 65 if (in.isVerify) { 68 return getDecodedObject(in); 76 @Override public Object getDecodedObject(BerInputStream in) throws IOException { 78 int oidElement = in.oidElement; 81 int octet = in.buffer[in.contentOffset + i] [all...] |
ASN1StringType.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 41 public Object getDecodedObject(BerInputStream in) throws IOException { 42 return new String(in.buffer, in.contentOffset, in.length, StandardCharsets.UTF_8); 84 public Object decode(BerInputStream in) throws IOException { 85 in.readString(this); 87 if (in.isVerify) { 90 return getDecodedObject(in); [all...] |
ASN1UTCTime.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 77 @Override public Object decode(BerInputStream in) throws IOException { 78 in.readUTCTime(); 80 if (in.isVerify) { 83 return getDecodedObject(in);
|
/libcore/luni/src/main/java/org/apache/harmony/security/x501/ |
Name.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 67 DerInputStream in = new DerInputStream(encoding); local 69 if (in.getEndOffset() != encoding.length) { 73 ASN1.decode(in); 75 this.rdn = (List<List<AttributeTypeAndValue>>) in.content; 240 public Object getDecodedObject(BerInputStream in) { 241 return new Name((List<List<AttributeTypeAndValue>>) in.content);
|
/libcore/luni/src/test/etc/loading-test-jar/ |
TestMethods.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 28 * file. Each test method in this class is called from the same-named 29 * method in {@code DexClassLoaderTest}. 66 public static byte[] readFully(InputStream in) throws IOException { 67 // This is a copy of the same-named method in libcore.io.Streams. 71 int byteCount = in.read(buffer); 123 * Test getting a resource which should be in the same jar 128 InputStream in = cl.getResourceAsStream("test/Resource1.txt"); local 129 byte[] contents = readFully(in); 184 InputStream in = cl.getResourceAsStream("test2\/Resource2.txt"); local [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldAndroidPipedStreamTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 42 final PipedInputStream in = new PipedInputStream(); local 43 final PipedOutputStream out = new PipedOutputStream(in); 45 assertEquals(0, in.available()); 58 readInt = in.read(); 109 final PipedInputStream in = new PipedInputStream(); local 110 final PipedOutputStream out = new PipedOutputStream(in); 112 assertEquals(0, in.available()); 127 ret = in.read(readBytes, nread, readBytes.length - nread) 194 final PipedInputStream in = new PipedInputStream(); local [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
DecimalFormatSymbolsTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 31 // returns "en_US.UTF-8". bionic before L returned NULL and in L returns "C.UTF-8", both 54 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes)); local 55 DecimalFormatSymbols deserializedDfs = (DecimalFormatSymbols) in.readObject(); 56 assertEquals(-1, in.read()); 102 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes)); local 103 DecimalFormatSymbols deserializedDfs = (DecimalFormatSymbols) in.readObject(); 104 assertEquals(-1, in.read());
|
/libcore/luni/src/test/java/libcore/util/ |
SerializationTester.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 89 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes)); local 90 Object result = in.readObject(); 91 assertEquals(-1, in.read());
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_codecvt.h | 84 result in(state_type& __state, function 202 result in(state_type& __state, 299 result in(state_type& __state,
|
/packages/apps/Email/src/com/beetstra/jutf7/ |
UTF7StyleCharsetDecoder.java | 6 * "Software"), to deal in the Software without restriction, including
13 * included in all copies or substantial portions of the Software.
18 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
19 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
20 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
21 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
64 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) {
65 while (in.hasRemaining()) {
66 byte b = in.get();
70 return malformed(in);
[all...] |
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
ImapTestUtils.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 103 ByteArrayInputStream in = new ByteArrayInputStream(Utility.toAscii(content + "#trailing")); local 104 return new FixedLengthInputStream(in, content.length());
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
BinaryTempFileBody.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 72 InputStream in = getInputStream(); local 75 IOUtils.copy(in, base64Out); 81 public BinaryTempFileBodyInputStream(InputStream in) { 82 super(in);
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/bits/ |
codecvt.h | 12 // This library is distributed in the hope that it will be useful, 18 // permissions described in the GCC Runtime Library Exception, version 88 * The characters in [from,from_end) are converted and written to 101 * the input ends early or there is insufficient space in the 130 * the state in initial conditions, rather than partial conversion 134 * character, and input to in() had 6 external characters with state 168 * The characters in [from,from_end) are converted and written to 181 * the input ends early or there is insufficient space in the 195 in(state_type& __state, const extern_type* __from, function in class:__codecvt_abstract_base
|
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/ |
_codecvt.h | 84 result in(state_type& __state, function 202 result in(state_type& __state, 299 result in(state_type& __state,
|
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/bits/ |
codecvt.h | 12 // This library is distributed in the hope that it will be useful, 18 // permissions described in the GCC Runtime Library Exception, version 88 * The characters in [from,from_end) are converted and written to 101 * the input ends early or there is insufficient space in the 130 * the state in initial conditions, rather than partial conversion 134 * character, and input to in() had 6 external characters with state 168 * The characters in [from,from_end) are converted and written to 181 * the input ends early or there is insufficient space in the 195 in(state_type& __state, const extern_type* __from, function in class:__codecvt_abstract_base
|
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/ |
_codecvt.h | 84 result in(state_type& __state, function 202 result in(state_type& __state, 299 result in(state_type& __state,
|
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/bits/ |
codecvt.h | 12 // This library is distributed in the hope that it will be useful, 18 // permissions described in the GCC Runtime Library Exception, version 88 * The characters in [from,from_end) are converted and written to 101 * the input ends early or there is insufficient space in the 130 * the state in initial conditions, rather than partial conversion 134 * character, and input to in() had 6 external characters with state 168 * The characters in [from,from_end) are converted and written to 181 * the input ends early or there is insufficient space in the 195 in(state_type& __state, const extern_type* __from, function in class:__codecvt_abstract_base
|
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/ |
_codecvt.h | 84 result in(state_type& __state, function 202 result in(state_type& __state, 299 result in(state_type& __state,
|