/libcore/luni/src/main/java/java/io/ |
H A D | Externalizable.java | 26 * Reads the next object from the ObjectInput <code>input</code>. 28 * @param input 31 * if an error occurs attempting to read from {@code input}. 35 public void readExternal(ObjectInput input) throws IOException, argument
|
/libcore/luni/src/main/java/java/net/ |
H A D | IDN.java | 49 * <p>If the transformation fails (because the input is not a valid IDN), an 57 * @param input the Unicode name 61 * @throws IllegalArgumentException if {@code input} does not conform to <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a> 63 public static String toASCII(String input, int flags) { argument 64 return NativeIDN.toASCII(input, flags); 68 * Equivalent to {@code toASCII(input, 0)}. 70 * @param input the Unicode name 72 * @throws IllegalArgumentException if {@code input} does not conform to <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a> 74 public static String toASCII(String input) { argument 75 return toASCII(input, 93 toUnicode(String input, int flags) argument 103 toUnicode(String input) argument [all...] |
H A D | URISyntaxException.java | 28 private String input; field in class:URISyntaxException 37 * @param input 44 * if one of the arguments {@code input} or {@code reason} is 49 public URISyntaxException(String input, String reason, int index) { argument 52 if (input == null) { 53 throw new NullPointerException("input == null"); 62 this.input = input; 70 *@param input 75 * if one of the arguments {@code input} o 78 URISyntaxException(String input, String reason) argument [all...] |
/libcore/luni/src/main/java/java/security/ |
H A D | MessageDigestSpi.java | 45 * @param input 49 protected abstract void engineUpdate(byte input); argument 54 * @param input 57 * the index of the first byte in {@code input} to update from. 59 * the number of bytes in {@code input} to update from. 62 * {@code input}. 64 protected abstract void engineUpdate(byte[] input, int offset, int len); argument 67 * Updates this {@code MessageDigestSpi} using the given {@code input}. 69 * @param input 72 protected void engineUpdate(ByteBuffer input) { argument [all...] |
H A D | SignatureSpi.java | 112 * @param input 120 protected void engineUpdate(ByteBuffer input) { argument 121 if (!input.hasRemaining()) { 125 if (input.hasArray()) { 126 tmp = input.array(); 127 int offset = input.arrayOffset(); 128 int position = input.position(); 129 int limit = input.limit(); 135 input.position(limit); 137 tmp = new byte[input [all...] |
/libcore/luni/src/main/java/java/util/regex/ |
H A D | Splitter.java | 38 public static String[] fastSplit(String re, String input, int limit) { argument 62 if (input.isEmpty()) { 71 while ((end = input.indexOf(ch, begin)) != -1 && list.size() + 1 < maxSize) { 72 list.add(input.substring(begin, end)); 75 return finishSplit(list, input, begin, maxSize, limit); 78 public static String[] split(Pattern pattern, String re, String input, int limit) { argument 79 String[] fastResult = fastSplit(re, input, limit); 86 if (input.isEmpty()) { 93 Matcher matcher = new Matcher(pattern, input); 96 list.add(input 102 finishSplit(List<String> list, String input, int begin, int maxSize, int limit) argument [all...] |
/libcore/luni/src/main/java/javax/crypto/ |
H A D | MacSpi.java | 68 * @param input 71 protected abstract void engineUpdate(byte input); argument 75 * buffer {@code input} from the specified {@code offset} and length {@code 78 * @param input 85 protected abstract void engineUpdate(byte[] input, int offset, int len); argument 92 * @param input 95 protected void engineUpdate(ByteBuffer input) { argument 96 if (!input.hasRemaining()) { 100 if (input.hasArray()) { 101 bInput = input [all...] |
H A D | Mac.java | 232 * @param input 237 public final void update(byte input) throws IllegalStateException { argument 241 spiImpl.engineUpdate(input); 246 * {@code input} from the specified {@code offset} and length {@code len}. 248 * @param input 258 * chunk in {@code input} buffer. 260 public final void update(byte[] input, int offset, int len) throws IllegalStateException { argument 264 if (input == null) { 267 if ((offset < 0) || (len < 0) || ((offset + len) > input.length)) { 270 spiImpl.engineUpdate(input, offse 281 update(byte[] input) argument 300 update(ByteBuffer input) argument 386 doFinal(byte[] input) argument [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
H A D | InflaterTest.java | 35 // Construct a nice long input byte sequence. 44 // We'll only supply the input a little bit at a time, so that zlib has to ask for more. 61 // a tiny input buffer to ensure that zlib has to ask for more input. 103 private static byte[] deflate(byte[] input, byte[] dictionary) { argument 108 deflater.setInput(input);
|
/libcore/luni/src/test/java/tests/targets/security/ |
H A D | MessageDigestTestMD2.java | 89 protected void engineUpdate(byte input) { argument 93 protected void engineUpdate(byte[] input, int offset, int len) { argument
|
/libcore/support/src/test/java/tests/security/ |
H A D | CipherHelper.java | 73 public byte[] crypt(Cipher cipher, byte[] input) { argument 75 return cipher.doFinal(input);
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_ASimpleInputStream.java | 34 public Support_ASimpleInputStream(String input) { argument 35 buf = input.getBytes(); 40 public Support_ASimpleInputStream(byte[] input) { argument 42 len = input.length; 44 System.arraycopy(input, 0, buf, 0, len);
|
H A D | Support_ASimpleReader.java | 34 public Support_ASimpleReader(String input) { argument 35 buf = input.toCharArray();
|
/libcore/luni/src/main/java/libcore/net/http/ |
H A D | HeaderParser.java | 121 * Returns the next index in {@code input} at or after {@code pos} that 122 * contains a character from {@code characters}. Returns the input length if 125 private static int skipUntil(String input, int pos, String characters) { argument 126 for (; pos < input.length(); pos++) { 127 if (characters.indexOf(input.charAt(pos)) != -1) { 135 * Returns the next non-whitespace character in {@code input} that is white 136 * space. Result is undefined if input contains newline characters. 138 private static int skipWhitespace(String input, int pos) { argument 139 for (; pos < input.length(); pos++) { 140 char c = input [all...] |
/libcore/luni/src/test/java/libcore/java/util/jar/ |
H A D | DalvikExecTest.java | 224 static ByteArrayOutputStream outputFrom (InputStream input) throws IOException { argument 229 count = input.read(buffer); 233 count = input.read(buffer);
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
H A D | MyMacSpi.java | 57 protected void engineUpdate(byte input) { argument 61 protected void engineUpdate(byte[] input, int offset, int len) { argument
|
/libcore/luni/src/test/java/tests/api/org/xml/sax/support/ |
H A D | MockFilter.java | 80 public void parse(InputSource input) throws SAXException, IOException { argument 81 logger.add("parse", input);
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
H A D | TestSSLEnginePair.java | 121 ByteBuffer input, 124 // make the other side's output into our input 125 input.flip(); 143 if (input.remaining() == 0) { 146 SSLEngineResult unwrapResult = engine.unwrap(input, scratch); 169 // shift consumed input, restore to output mode 170 input.compact(); 119 handshakeCompleted(SSLEngine engine, ByteBuffer output, ByteBuffer input, ByteBuffer scratch) argument
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
H A D | SHA1_MessageDigestImpl.java | 257 * input byte to add to current message 259 protected void engineUpdate(byte input) { argument 261 oneByte[0] = input; 275 * input a byte array 277 * offset a number of first byte in the "input" array to use for updating 290 protected void engineUpdate(byte[] input, int offset, int len) { argument 291 if (input == null) { 292 throw new IllegalArgumentException("input == null"); 300 if (offset > input.length || len > input [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | OpenSSLSignatureRawRSA.java | 47 * Current offset in input buffer. 52 * Provides a flag to specify when the input is too long. 64 protected void engineUpdate(byte input) { argument 72 inputBuffer[oldOffset] = input; 76 protected void engineUpdate(byte[] input, int offset, int len) { argument 85 System.arraycopy(input, offset, inputBuffer, oldOffset, len); 144 throw new SignatureException("input length " + inputOffset + " != "
|
/libcore/luni/src/main/java/org/w3c/dom/ls/ |
H A D | LSParser.java | 22 * from various input sources. 75 * <p> While parsing an input source, errors are reported to the application 92 * <dt><code>"no-input-specified" [fatal]</code></dt> 94 * Raised when loading a document and no input is specified in the 143 * The <code>DOMConfiguration</code> object used when parsing an input 163 * indication of the character encoding of the input stream being 299 * @param input The <code>LSInput</code> from which the source of the 315 public Document parse(LSInput input) argument 382 * <code>action</code> arguments. When parsing the input stream, the 397 * what they would be set to if the input sourc 454 parseWithContext(LSInput input, Node contextArg, short action) argument [all...] |
/libcore/luni/src/main/java/org/xml/sax/ |
H A D | XMLReader.java | 340 * reader to begin parsing an XML document from any valid input 347 * different input source. 364 * @param input The input source for the top-level of the 378 public void parse (InputSource input) 375 parse(InputSource input) argument
|
/libcore/luni/src/main/native/ |
H A D | zip.h | 38 UniquePtr<jbyte[]> input; member in class:NativeZipStream 42 NativeZipStream() : input(NULL), inCap(0), mDict(NULL) { 74 input.reset(new jbyte[len]); 75 if (input.get() == NULL) { 82 env->GetByteArrayRegion(buf, off, len, &input[0]); 84 stream.next_in = reinterpret_cast<Bytef*>(&input[0]);
|
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldInputStreamTest.java | 33 private byte[] input; field in class:OldInputStreamTest.MockInputStream 38 input = testString.getBytes(); 44 if (position < input.length) { 45 result = input[position];
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
H A D | OldCharset_SingleByteAbstractTest.java | 64 public static void decodeReplace (byte[] input, char[] expectedOutput) throws CharacterCodingException { argument 65 ByteBuffer inputBB = ByteBuffer.wrap(input); 74 input);
|