Searched defs:input (Results 1 - 25 of 68) sorted by relevance

123

/dalvik/libcore/luni/src/main/java/java/io/
H A DExternalizable.java28 * Reads the next object from the ObjectInput <code>input</code>.
30 * @param input
33 * if an error occurs attempting to read from {@code input}.
38 public void readExternal(ObjectInput input) throws IOException, argument
/dalvik/libcore/security/src/main/java/org/bouncycastle/i18n/filter/
H A DFilter.java8 * Runs the filter on the input String and returns the filtered String
9 * @param input input String
12 public String doFilter(String input); argument
H A DHTMLFilter.java10 public String doFilter(String input) argument
12 StringBuffer buf = new StringBuffer(input);
H A DSQLFilter.java12 public String doFilter(String input) argument
14 StringBuffer buf = new StringBuffer(input);
H A DUntrustedInput.java5 * Wrapper class to mark untrusted input.
10 protected Object input; field in class:UntrustedInput
14 * @param input the untrusted input Object
16 public UntrustedInput(Object input) argument
18 this.input = input;
22 * Returns the untrusted input as Object.
23 * @return the <code>input</code> as Object
27 return input;
[all...]
/dalvik/libcore/crypto/src/main/java/javax/crypto/
H A DMacSpi.java73 * @param input
77 protected abstract void engineUpdate(byte input); argument
81 * buffer {@code input} from the specified {@code offset} and length {@code
84 * @param input
92 protected abstract void engineUpdate(byte[] input, int offset, int len); argument
99 * @param input
103 protected void engineUpdate(ByteBuffer input) { argument
104 if (!input.hasRemaining()) {
108 if (input.hasArray()) {
109 bInput = input
[all...]
H A DMac.java245 * @param input
251 public final void update(byte input) throws IllegalStateException { argument
255 spiImpl.engineUpdate(input);
260 * {@code input} from the specified {@code offset} and length {@code len}.
262 * @param input
272 * chunk in {@code input} buffer.
275 public final void update(byte[] input, int offset, int len) argument
280 if (input == null) {
283 if ((offset < 0) || (len < 0) || ((offset + len) > input.length)) {
286 spiImpl.engineUpdate(input, offse
298 update(byte[] input) argument
318 update(ByteBuffer input) argument
413 doFinal(byte[] input) argument
[all...]
/dalvik/libcore/luni/src/main/java/java/net/
H A DURISyntaxException.java32 private String input; field in class:URISyntaxException
41 * @param input
48 * if one of the arguments {@code input} or {@code reason} is
54 public URISyntaxException(String input, String reason, int index) { argument
57 if (input == null || reason == null) {
65 this.input = input;
73 *@param input
78 * if one of the arguments {@code input} or {@code reason} is
82 public URISyntaxException(String input, Strin argument
[all...]
/dalvik/libcore/security/src/main/java/java/security/
H A DMessageDigestSpi.java54 * @param input
59 protected abstract void engineUpdate(byte input); argument
64 * @param input
67 * the index of the first byte in {@code input} to update from.
69 * the number of bytes in {@code input} to update from.
72 * {@code input}.
75 protected abstract void engineUpdate(byte[] input, int offset, int len); argument
78 * Updates this {@code MessageDigestSpi} using the given {@code input}.
80 * @param input
84 protected void engineUpdate(ByteBuffer input) { argument
[all...]
H A DSignatureSpi.java126 * @param input
135 protected void engineUpdate(ByteBuffer input) { argument
136 if (!input.hasRemaining()) {
140 if (input.hasArray()) {
141 tmp = input.array();
142 int offset = input.arrayOffset();
143 int position = input.position();
144 int limit = input.limit();
150 input.position(limit);
152 tmp = new byte[input
[all...]
/dalvik/libcore/security/src/test/java/tests/targets/security/
H A DMessageDigestTestMD2.java105 protected void engineUpdate(byte input) { argument
109 protected void engineUpdate(byte[] input, int offset, int len) { argument
/dalvik/libcore/support/src/test/java/tests/support/
H A DSupport_ASimpleInputStream.java34 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 DSupport_ASimpleReader.java34 public Support_ASimpleReader(String input) { argument
35 buf = input.toCharArray();
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/support/
H A DMyMacSpi.java57 protected void engineUpdate(byte input) { argument
61 protected void engineUpdate(byte[] input, int offset, int len) { argument
H A DMyCipher.java99 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { argument
104 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, argument
110 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) argument
116 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, argument
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/
H A DASN1InputStream.java50 * Create an ASN1InputStream based on the input byte array. The length of DER objects in
51 * the stream is automatically limited to the length of the input array.
53 * @param input array containing ASN.1 encoded data.
56 byte[] input)
58 this(new ByteArrayInputStream(input), input.length);
64 * @param input stream containing ASN.1 encoded data.
68 InputStream input,
71 super(input);
349 private BERConstructedOctetString buildDerConstructedOctetString(byte[] input) argument
55 ASN1InputStream( byte[] input) argument
67 ASN1InputStream( InputStream input, int limit) argument
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
H A DJDKMessageDigest.java27 byte input)
29 digest.update(input);
33 byte[] input,
37 digest.update(input, offset, len);
26 engineUpdate( byte input) argument
32 engineUpdate( byte[] input, int offset, int len) argument
/dalvik/libcore/xml/src/test/java/tests/api/org/xml/sax/support/
H A DMockFilter.java80 public void parse(InputSource input) throws SAXException, IOException { argument
81 logger.add("parse", input);
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
H A DDalvikExecTest.java281 static ByteArrayOutputStream outputFrom (InputStream input) throws IOException { argument
286 count = input.read(buffer);
290 count = input.read(buffer);
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DMacSpiTest.java74 protected void engineUpdate(byte input) { argument
75 super.engineUpdate(input);
79 protected void engineUpdate(byte[] input, int offset, int len) { argument
80 super.engineUpdate(input, offset, len);
108 protected void engineUpdate(byte input) { argument
109 super.engineUpdate(input);
113 protected void engineUpdate(byte[] input, int offset, int len) { argument
114 super.engineUpdate(input, offset, len);
117 protected void engineUpdate(ByteBuffer input) { argument
118 super.engineUpdate(input);
147 engineUpdate(byte input) argument
152 engineUpdate(byte[] input, int offset, int len) argument
156 engineUpdate(ByteBuffer input) argument
269 engineUpdate(byte input) argument
272 engineUpdate(byte[] input, int offset, int len) argument
[all...]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
H A DNumberConverter.java48 public static String convert(double input) { argument
49 return getConverter().convertD(input);
52 public static String convert(float input) { argument
53 return getConverter().convertF(input);
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
H A DInputStreamTest.java40 private byte[] input; field in class:InputStreamTest.MockInputStream
45 input = testString.getBytes();
51 if (position < input.length) {
52 result = input[position];
/dalvik/libcore/nio_char/src/test/java/tests/api/java/nio/charset/
H A DAbstractCharsetTestCase.java160 protected void internalTestEncode(String input, byte[] output) { argument
161 ByteBuffer bb = this.testingCharset.encode(input);
185 protected void internalTestDecode(byte[] input, char[] output) { argument
186 CharBuffer chb = this.testingCharset.decode(ByteBuffer.wrap(input));
H A DCharset_SingleByteAbstractTest.java72 public static void decodeReplace (byte[] input, char[] expectedOutput) throws CharacterCodingException { argument
73 ByteBuffer inputBB = ByteBuffer.wrap(input);
81 input);
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/crypto/
H A DSHA1_MessageDigestImpl.java272 * input byte to add to current message
274 protected void engineUpdate(byte input) { argument
276 oneByte[0] = input;
290 * input a byte array
292 * offset a number of first byte in the "input" array to use for updating
305 protected void engineUpdate(byte[] input, int offset, int len) { argument
307 if ( input == null ) {
316 if ( offset > input.length || len > input.length || (len + offset) > input
[all...]

Completed in 634 milliseconds

123