/libcore/luni/src/main/java/java/util/ |
H A D | InvalidPropertiesFormatException.java | 5 * (the "License"); you may not use this file except in compliance with 10 * Unless required by applicable law or agreed to in writing, software 40 * current stack trace and message filled in. 65 private void readObject(ObjectInputStream in) argument
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | Base64.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 35 public static byte[] decode(byte[] in) { argument 36 return decode(in, in.length); 39 public static byte[] decode(byte[] in, int len) { argument 54 chr = in[len-1]; 66 // index in the output array 68 // index in the input array 75 chr = in[ 135 encode(byte[] in) argument [all...] |
H A D | StrictLineReader.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 36 * cache entries or cache journal. Unlike the {@link BufferedReader} which in conjunction with 42 * We currently check in constructor that the charset is one of US-ASCII, UTF-8 and ISO-8859-1. 49 private final InputStream in; field in class:StrictLineReader 53 * Buffered data is stored in {@code buf}. As long as no exception occurs, 0 <= pos <= end 54 * and the data in the range [pos, end) is buffered for reading. At end of input, if there is 65 * @param in the {@code InputStream} to read data from. 66 * @throws NullPointerException if {@code in} is null. 68 public StrictLineReader(InputStream in) { argument 80 StrictLineReader(InputStream in, int capacity) argument 93 StrictLineReader(InputStream in, Charset charset) argument 108 StrictLineReader(InputStream in, int capacity, Charset charset) argument [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
H A D | ASN1Time.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 43 @Override public Object getDecodedObject(BerInputStream in) throws IOException { argument 45 c.set(Calendar.YEAR, in.times[0]); 46 c.set(Calendar.MONTH, in.times[1]-1); 47 c.set(Calendar.DAY_OF_MONTH, in.times[2]); 48 c.set(Calendar.HOUR_OF_DAY, in.times[3]); 49 c.set(Calendar.MINUTE, in.times[4]); 50 c.set(Calendar.SECOND, in.times[5]); 51 c.set(Calendar.MILLISECOND, in [all...] |
H A D | ASN1Boolean.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 { argument 63 in.readBoolean(); 65 if (in.isVerify) { 68 return getDecodedObject(in); 74 * @param in - BER input stream 77 @Override public Object getDecodedObject(BerInputStream in) throws IOException { argument 78 if (in.buffer[in [all...] |
H A D | ASN1Enumerated.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 63 public Object decode(BerInputStream in) throws IOException { argument 64 in.readEnumerated(); 66 if (in.isVerify) { 69 return getDecodedObject(in); 77 public Object getDecodedObject(BerInputStream in) throws IOException { argument 78 return Arrays.copyOfRange(in.buffer, in.contentOffset, in [all...] |
H A D | ASN1Explicit.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 { argument 63 if (constrId != in.tag) { 65 in.tagOffset + "]. Expected tag: " + Integer.toHexString(constrId) + ", " + 66 "but encountered tag " + Integer.toHexString(in.tag)); 68 in.next(); 70 in.content = type.decode(in); 72 if (in [all...] |
H A D | ASN1GeneralizedTime.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 65 public Object decode(BerInputStream in) throws IOException { argument 66 in.readGeneralizedTime(); 68 if (in.isVerify) { 71 return getDecodedObject(in);
|
H A D | ASN1OctetString.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 61 @Override public Object decode(BerInputStream in) throws IOException { argument 62 in.readOctetString(); 64 if (in.isVerify) { 67 return getDecodedObject(in); 75 @Override public Object getDecodedObject(BerInputStream in) throws IOException { argument 76 return Arrays.copyOfRange(in.buffer, in.contentOffset, in [all...] |
H A D | 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 { argument 63 in.readOID(); 65 if (in.isVerify) { 68 return getDecodedObject(in); 76 @Override public Object getDecodedObject(BerInputStream in) throws IOException { argument 78 int oidElement = in.oidElement; 81 int octet = in.buffer[in [all...] |
H A D | ASN1Sequence.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 39 public Object decode(BerInputStream in) throws IOException { argument 40 in.readSequence(this); 42 if (in.isVerify) { 45 return getDecodedObject(in);
|
H A D | ASN1SequenceOf.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 39 public Object decode(BerInputStream in) throws IOException { argument 40 in.readSequenceOf(this); 42 if (in.isVerify) { 45 return getDecodedObject(in);
|
H A D | ASN1Set.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 39 public Object decode(BerInputStream in) throws IOException { argument 40 in.readSet(this); 42 if(in.isVerify){ 45 return getDecodedObject(in);
|
H A D | ASN1SetOf.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 39 public Object decode(BerInputStream in) throws IOException { argument 40 in.readSetOf(this); 42 if (in.isVerify) { 45 return getDecodedObject(in);
|
/libcore/dex/src/main/java/com/android/dex/ |
H A D | Leb128.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 * Gets the number of bytes in the unsigned LEB128 encoding of the 34 * @param value the value in question 35 * @return its write size, in bytes 52 * Gets the number of bytes in the signed LEB128 encoding of the 55 * @param value the value in question 56 * @return its write size, in bytes 79 * Reads an signed integer from {@code in}. 81 public static int readSignedLeb128(ByteInput in) { argument 109 readUnsignedLeb128(ByteInput in) argument [all...] |
H A D | Mutf8.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 23 * Modified UTF-8 as described in the dex file format spec. 31 * Decodes bytes from {@code in} into {@code out} until a delimiter 0x00 is 34 public static String decode(ByteInput in, char[] out) throws UTFDataFormatException { argument 37 char a = (char) (in.readByte() & 0xff); 45 int b = in.readByte() & 0xff; 51 int b = in.readByte() & 0xff; 52 int c = in.readByte() & 0xff;
|
/libcore/luni/src/main/java/java/io/ |
H A D | FileDescriptor.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 35 public static final FileDescriptor in = new FileDescriptor(); field in class:FileDescriptor 54 in.descriptor = STDIN_FILENO;
|
H A D | FilterInputStream.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 35 protected volatile InputStream in; field in class:FilterInputStream 43 * overridden. Subclasses should check for null in their constructors. 45 * @param in the input stream to filter reads on. 47 protected FilterInputStream(InputStream in) { argument 48 this.in = in; 53 return in.available(); 64 in [all...] |
H A D | FilterReader.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 35 protected Reader in; field in class:FilterReader 38 * Constructs a new FilterReader on the Reader {@code in}. 40 * @param in 43 protected FilterReader(Reader in) { argument 44 super(in); 45 this.in = in; 57 in [all...] |
H A D | SequenceInputStream.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 38 private InputStream in; field in class:SequenceInputStream 58 in = s1; 69 * if any of the elements in {@code e} is {@code null}. 74 in = e.nextElement(); 75 if (in == null) { 83 if (e != null && in != null) { 84 return in.available(); 90 * Closes all streams in thi [all...] |
/libcore/luni/src/main/java/java/nio/charset/ |
H A D | ModifiedUtf8.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 35 public static String decode(byte[] in, char[] out, int offset, int utfSize) throws UTFDataFormatException { argument 38 if ((out[s] = (char) in[offset + count++]) < '\u0080') { 44 int b = in[offset + count++]; 53 int b = in[offset + count++]; 54 int c = in[offset + count++];
|
/libcore/luni/src/main/java/java/util/prefs/ |
H A D | NodeChangeEvent.java | 5 * (the "License"); you may not use this file except in compliance with 10 * Unless required by applicable law or agreed to in writing, software 91 private void readObject (ObjectInputStream in) throws IOException, ClassNotFoundException { argument
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
H A D | 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) argument 154 in.defaultReadObject();
|
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | FilterInputStreamNullSourceTest.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 49 InputStream in = new CipherInputStream(null, new NullCipher()); 51 in.read(); 56 assertEquals(0, in.available()); 59 in.close(); 105 private void assertReadsFailWithIoException(InputStream in) throws IOException { argument 107 in.read(); 113 in.available(); 118 in 121 assertReadsFailWithNullPointerException(InputStream in) argument [all...] |
/libcore/luni/src/test/java/libcore/java/util/jar/ |
H A D | OldJarInputStreamTest.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 public Mock_JarInputStream(InputStream in) throws IOException { argument 48 super(in);
|