/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
H A D | InflaterInputStreamTest.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 49 MyInflaterInputStream(InputStream in) { argument 50 super(in); 53 MyInflaterInputStream(InputStream in, Inflater infl) { argument 54 super(in, infl); 57 MyInflaterInputStream(InputStream in, Inflater infl, int size) { argument 58 super(in, infl, size); 80 inflatIP.read(byteArray, 0, 5);// only suppose to read in 5 bytes 101 inflatIP.read(byteArray, 0, 5);// only suppose to read in [all...] |
/dalvik/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | SamplingProfiler.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 113 * <p>Note: The exact format is not documented because it's not set in 134 * We shifted the times by 10 bits in the sampling thread to avoid 139 logger.info("Grabbed snapshot in " + (elapsed / 1000) + "us." 202 // Interrupt the thread in case it's sleeping. 232 /** Gets the number of methods in the sample set. */ 235 /** Gets the number of collisions in the sample set. */ 299 DataInputStream in = new DataInputStream( 302 int version = in 326 appendCounts(DataInputStream in, StringBuilder sb) argument [all...] |
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/charset/ |
H A D | CharsetDecoderICU.java | 42 * data[INPUT_HELD] = number of input chars held in the converter's state 59 // always assigned in the methods 98 * Sets this decoders replacement string. Substitutes the string in input if an 162 * Flushes any characters saved in the converter's internal buffer and 219 * is stop and report if an error in input stream is encountered. 224 * split between calls. If a call to convert results in an Error, the 228 * @param in buffer to decode 234 protected CoderResult decodeLoop(ByteBuffer in,CharBuffer out){ argument 236 if(!in.hasRemaining()){ 240 data[INPUT_OFFSET] = getArray(in); 309 getArray(ByteBuffer in) argument 349 setPosition(ByteBuffer in) argument [all...] |
/dalvik/libcore/json/src/main/java/org/json/ |
H A D | JSONTokener.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 65 private final String in; field in class:JSONTokener 74 * @param in JSON encoded string. Null is not permitted and will yield a 78 public JSONTokener(String in) { argument 79 this.in = in; 112 while (pos < in.length()) { 113 int c = in.charAt(pos++); 122 if (pos == in [all...] |
/dalvik/libcore/logging/src/main/java/java/util/logging/ |
H A D | Level.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 40 * The predefined levels in ascending order are FINEST, FINER, FINE, CONFIG, 289 * @param in 296 private void readObject(ObjectInputStream in) throws IOException, argument 298 in.defaultReadObject();
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
H A D | StringBuilder.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 26 * A modifiable {@link CharSequence sequence of characters} for use in creating 621 * Replaces the specified subsequence in this builder with the specified 643 * Reverses the order of characters in this builder. 655 * @return the string representation of the data in this builder. 660 * in the RI javac (at least in 1.5.0_06) that will generate a 671 * @param in 678 private void readObject(ObjectInputStream in) throw argument [all...] |
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
H A D | ObjectInputStreamTest.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 256 public TestObjectInputStream(InputStream in) throws IOException { argument 257 super(in);
|
/dalvik/libcore/nio_char/src/test/java/org/apache/harmony/nio_char/tests/java/nio/charset/ |
H A D | CharsetDecoderTest.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 72 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { argument 111 ByteBuffer in = ByteBuffer.wrap(new byte[] { 109, 97, 109 }); 113 decoder2.decode(in); 182 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { argument 196 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { argument 234 ByteBuffer in = ByteBuffer.wrap(new byte[] { 0x45, 0x38, 0x45, 0x45 }); 235 CoderResult result = decoder.decode(in, out, false); 241 // and then decode "in" 262 decodeLoop(ByteBuffer in, CharBuffer out) argument [all...] |
H A D | CharsetEncoderTest.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 109 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { argument 180 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { argument
|
/dalvik/libcore/security/src/main/java/java/security/ |
H A D | UnresolvedPermission.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 220 * UnresolvedPermission}. The actions, specified in the constructor, are 356 * fields via default mechanism; next manually writes certificates in the 361 * <li> each cert in the following format 364 * <li> int : length in bytes of certificate </li> 396 private void readObject(ObjectInputStream in) throws IOException, argument 398 in.defaultReadObject(); 400 int certNumber = in.readInt(); 405 String type = in [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/digests/ |
H A D | SHA1Digest.java | 4 * implementation of SHA-1 as outlined in "Handbook of Applied Cryptography", pages 346 - 349. 56 byte[] in, 59 X[xOff++] = (in[inOff] & 0xff) << 24 | (in[inOff + 1] & 0xff) << 16 60 | (in[inOff + 2] & 0xff) << 8 | in[inOff + 3] & 0xff; 55 processWord( byte[] in, int inOff) argument
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/encodings/ |
H A D | OAEPEncoding.java | 114 byte[] in, 121 return encodeBlock(in, inOff, inLen); 125 return decodeBlock(in, inOff, inLen); 130 byte[] in, 138 // copy in the message 140 System.arraycopy(in, inOff, block, block.length - inLen, inLen); 174 // add in the seed 197 byte[] in, 202 byte[] data = engine.processBlock(in, inOff, inLen); 206 // as we may have zeros in ou 113 processBlock( byte[] in, int inOff, int inLen) argument 129 encodeBlock( byte[] in, int inOff, int inLen) argument 196 decodeBlock( byte[] in, int inOff, int inLen) argument [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/engines/ |
H A D | DESEngine.java | 64 byte[] in, 74 if ((inOff + BLOCK_SIZE) > in.length) 84 desFunc(workingKey, in, inOff, out, outOff); 122 * Use the key schedule specified in the Standard (ANSI X3.92-1981). 402 byte[] in, 409 left = (in[inOff + 0] & 0xff) << 24; 410 left |= (in[inOff + 1] & 0xff) << 16; 411 left |= (in[inOff + 2] & 0xff) << 8; 412 left |= (in[inOff + 3] & 0xff); 414 right = (in[inOf 63 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument 400 desFunc( int[] wKey, byte[] in, int inOff, byte[] out, int outOff) argument [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/macs/ |
H A D | CFBBlockCipherMac.java | 27 * @param blockSize the block size in bits (note: a multiple of 8) 44 * An IV which is too short is handled in FIPS compliant fashion. 84 * and the block size in bits. 94 * @return the block size we are operating at (in bytes). 102 * Process one block of input from the array in and write it to 105 * @param in the array containing the input data. 106 * @param inOff offset into the in array the data starts at. 109 * @exception DataLengthException if there isn't enough data in in, or 110 * space in ou 114 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument 285 update( byte in) argument 299 update( byte[] in, int inOff, int len) argument [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/modes/ |
H A D | GOFBBlockCipher.java | 63 * An IV which is too short is handled in FIPS compliant fashion. 115 * and the block size in bits 124 * return the block size we are operating at (in bytes). 126 * @return the block size we are operating at (in bytes). 134 * Process one block of input from the array in and write it to 137 * @param in the array containing the input data. 138 * @param inOff offset into the in array the data starts at. 141 * @exception DataLengthException if there isn't enough data in in, or 142 * space in ou 146 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument 207 bytesToint( byte[] in, int inOff) argument [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/signers/ |
H A D | ISO9796d2Signer.java | 187 * update the internal digest with the byte array in 190 byte[] in, 194 digest.update(in, off, len); 200 mBuf[messageLength + i] = in[off + i]; 299 * for the passed in message. 366 throw new IllegalArgumentException("unrecognised hash in signature"); 189 update( byte[] in, int off, int len) argument
|
H A D | PSSSigner.java | 15 * RSA-PSS as described in PKCS# 1 v 2.1. 18 * bytes in the hash function. 42 * @param sLen the length of the salt to use (in bytes). 120 * update the internal digest with the byte array in 123 byte[] in, 127 digest.update(in, off, len); 189 * in the passed in array. 277 * mask generator function, as described in PKCS1v2. 122 update( byte[] in, int off, int len) argument
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
H A D | JDKKeyFactory.java | 184 byte[] in) 188 new SubjectPublicKeyInfo((ASN1Sequence)(new ASN1InputStream(in).readObject()))); 240 throw new RuntimeException("algorithm identifier " + algOid + " in key not recognised"); 248 byte[] in) 252 new PrivateKeyInfo((ASN1Sequence)(new ASN1InputStream(in).readObject()))); 297 throw new RuntimeException("algorithm identifier " + algOid + " in key not recognised"); 322 // in case it's just a RSAPrivateKey object... 183 createPublicKeyFromDERStream( byte[] in) argument 247 createPrivateKeyFromDERStream( byte[] in) argument
|
H A D | JDKX509CertificateFactory.java | 49 private int getLimit(InputStream in) argument 52 if (in instanceof ByteArrayInputStream) 54 return in.available(); 66 InputStream in) 72 while (((c = in.read()) != '\n') && (c >= 0)) 115 * read in a BER encoded PKCS7 certificate. 118 InputStream in) 121 ASN1InputStream dIn = new ASN1InputStream(in, getLimit(in)); 143 InputStream in) 65 readLine( InputStream in) argument 117 readPKCS7Certificate( InputStream in) argument 142 readPEMCertificate( InputStream in) argument 184 readPEMCRL( InputStream in) argument 219 readPKCS7CRL( InputStream in) argument 248 engineGenerateCertificate( InputStream in) argument [all...] |
/dalvik/libcore/support/src/test/java/tests/support/resource/ |
H A D | Support_Resources.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 96 InputStream in = Support_Resources.getStream(folder == null ? file 99 copyLocalFileto(dest, in); 115 public static void copyLocalFileto(File dest, InputStream in) argument 121 while ((result = in.read(buf)) != -1) { 124 in.close(); 133 InputStream in = new URL(url).openStream(); 135 copyLocalFileto(temp, in);
|
/dalvik/libcore/xml/src/main/java/javax/xml/validation/ |
H A D | SchemaFactoryFinder.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 127 ; // getContextClassLoader() undefined in JDK1.1 143 * See {@link SchemaFactory Schema Language} table in <code>SchemaFactory</code> 224 if (debug) debugPrintln("found " + factoryClassName + " in $java.home/jaxp.properties"); 390 /** Searches for a SchemaFactory for a given schema language in a META-INF/services file. */ 391 private SchemaFactory loadFromServicesFile(String schemaLanguage, String resourceName, InputStream in) { argument 395 // Read the service provider name in UTF-8 as specified in 396 // the jar spec. Unfortunately this fails in Microsof [all...] |
/dalvik/libcore/xml/src/main/java/javax/xml/xpath/ |
H A D | XPathFactoryFinder.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 123 ; // getContextClassLoader() undefined in JDK1.1 220 if (debug) debugPrintln("found " + factoryClassName + " in $java.home/jaxp.properties"); 317 /** Searches for a XPathFactory for a given uri in a META-INF/services file. */ 318 private XPathFactory loadFromServicesFile(String uri, String resourceName, InputStream in) { argument 324 rd = new BufferedReader(new InputStreamReader(in, "UTF-8"), DEFAULT_LINE_LENGTH); 326 rd = new BufferedReader(new InputStreamReader(in), DEFAULT_LINE_LENGTH); 340 // Ignore comments in the provider-configuration file
|
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/midi/ |
H A D | MidiSystem.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 //path to javax.sound.midi.spi.MidiDeviceProvider file in the jar-file 42 //path to javax.sound.midi.spi.MidiFileReader file in the jar-file 46 //path to javax.sound.midi.spi.MidiFileWriter file in the jar-file 50 //path to javax.sound.midi.spi.SoundbankReader file in the jar-file 54 //key to find default receiver in the sound.properties file 57 //key to find default sequencer in the sound.properties file 60 //key to find default synthesizer in the sound.properties file 63 //key to find default transmitter in th 796 write(Sequence in, int type, File out) argument 817 write(Sequence in, int fileType, OutputStream out) argument [all...] |
/dalvik/vm/ |
H A D | Misc.h | 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 46 union { u4 in; float out; } conv; member in union:__anon43 47 conv.in = val; 51 union { float in; u4 out; } conv; member in union:__anon44 52 conv.in = val; 80 * Print a hex dump at VERBOSE level. This does nothing in non-debug builds. 115 * Fill in a DebugOutputTarget struct. 140 int storageSize; /* current size, in 32-bit words */ 150 * space in th [all...] |
/dalvik/dx/tests/098-dex-jsr-ret-throw/ |
H A D | ViewDebug$ViewServer.class | ... run () String[] params
String command
java.io.BufferedReader in
java.io.IOException e
java.io. ... |