/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
SSLStreamedInput.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 private InputStream in; field in class:SSLStreamedInput 31 public SSLStreamedInput(InputStream in) { 32 this.in = in; 37 return in.available(); 50 int res = in.read();
|
/packages/apps/Email/src/org/apache/commons/io/ |
CopyUtils.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
53 * let you specify the buffer size because in modern VMs the impact on speed
58 * to the <code>copy</code> methods in <code>Buffered*</code> streams. For
61 * copy( new BufferedInputStream( in ), new BufferedOutputStream( out ) );
66 * would usually suggest wrapping in a BufferedInputStream. The
109 * @deprecated Use IOUtils. Will be removed in 2.0.
111 * Null handling behaviour changed in IOUtils (null data does not
122 * Instances should NOT be constructed in standard programming.
134 * @throws IOException In case of an I/O problem 155 ByteArrayInputStream in = new ByteArrayInputStream(input); local 175 ByteArrayInputStream in = new ByteArrayInputStream(input); local 247 InputStreamReader in = new InputStreamReader(input); local 266 InputStreamReader in = new InputStreamReader(input, encoding); local 309 StringReader in = new StringReader(input); local [all...] |
/packages/apps/Email/src/org/apache/commons/io/input/ |
AutoCloseInputStream.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 * closed, so any allocated in-memory buffers can be freed even if the
42 * @param in underlying input stream
44 public AutoCloseInputStream(InputStream in) {
45 super(in);
62 in.close();
63 in = new ClosedInputStream();
71 * @return next byte in the stream, or -1 if no more bytes are available
75 int n = in.read(); [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
ClassPathOpener.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 33 * Opens all the class files found in a class path element. Path elements 45 * classes and "package-info" occurs before all other classes in that 89 * classes and "package-info" occurs before all other classes in that 143 * classes and "package-info" preceeds all other classes in its package. 229 InputStream in = zip.getInputStream(one); local 233 int amt = in.read(buf); 241 in.close();
|
/development/tools/idegen/src/ |
Configuration.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 59 throw new AssertionError("Not in root directory."); 101 // Look for user-specific excluded-paths file in current directory. 120 * source roots in our generated source directory (specifically, 176 * if the file doesn't have a package or if the file isn't in the 204 BufferedReader in = new BufferedReader(new FileReader(file)); local 207 while ((line = in.readLine()) != null) { 212 // line ends in a ";". 219 in.close() 254 BufferedReader in = new BufferedReader(new FileReader(file)); local [all...] |
/external/emma/core/java12/com/vladium/util/ |
Files.java | 43 BufferedReader in = null; local 46 in = new BufferedReader (new FileReader (atfile), 8 * 1024); // uses default encoding 49 for (String line; (line = in.readLine ()) != null; ) 59 if (in != null) try { in.close (); } catch (Exception ignore) {} 83 * Note that duplicate removal in classpaths affects ClassLoader.getResources(). 86 * necessary for reproducing its behavior in Sun-compatible JVMs. 292 * A slightly stricter version of File.createTempFile() in J2SDK 1.3: it requires 301 * guarantees do not hold if files are created in the same directory outside 311 * @return writeable temp file descriptor [incorporates 'parentDir' in its pathname [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
ZipStreamTest.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 142 ZipInputStream in = new ZipInputStream(bytesIn); local 147 ZipEntry entry = in.getNextEntry(); 152 while ((len = in.read(buf)) > 0) { 165 assertNull("should only be three entries", in.getNextEntry()); 167 in.close();
|
/libcore/luni/src/main/java/java/io/ |
BufferedReader.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 private Reader in; field in class:BufferedReader 42 * The characters that can be read and refilled in bulk. We maintain three 53 * value is in the range {@code [0...pos]}. If the mark is {@code -1}, the 72 * Constructs a new {@code BufferedReader}, providing {@code in} with a buffer 75 * @param in the {@code Reader} the buffer reads from. 77 public BufferedReader(Reader in) { 78 this(in, 8192); 82 * Constructs a new {@code BufferedReader}, providing {@code in} with {@code size} character [all...] |
InputStreamReader.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 private InputStream in; field in class:InputStreamReader 51 * {@code in}. This constructor sets the character converter to the encoding 52 * specified in the "file.encoding" property and falls back to ISO 8859_1 55 * @param in 58 public InputStreamReader(InputStream in) { 59 this(in, Charset.defaultCharset()); 63 * Constructs a new InputStreamReader on the InputStream {@code in}. The 68 * @param in [all...] |
/libcore/luni/src/main/java/java/security/ |
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 218 * UnresolvedPermission}. The actions, specified in the constructor, are 354 * fields via default mechanism; next manually writes certificates in the 359 * <li> each cert in the following format 362 * <li> int : length in bytes of certificate </li> 392 private void readObject(ObjectInputStream in) throws IOException, 394 in.defaultReadObject(); 396 int certNumber = in.readInt(); 401 String type = in.readUTF() [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
OldAttributedCharacterIteratorAttributeTest.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 158 ObjectInputStream in = null; local 169 in = new ObjectInputStream(new ByteArrayInputStream(bytes 173 attr2 = (AttributedCharacterIterator.Attribute) in.readObject(); 187 if (in != null) 188 in.close();
|
/packages/apps/Settings/src/com/android/settings/vpn/ |
Util.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 107 InputStream in = new FileInputStream(sourceLocation); local 113 while ((len = in.read(buf)) > 0) { 116 in.close();
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
WindowsLoader.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 35 BufferedReader in = null; local 47 in = new BufferedReader(new InputStreamReader(socket.getInputStream())); 54 while ((line = in.readLine()) != null) { 83 if (in != null) { 84 in.close();
|
/bootable/bootloader/legacy/arch_msm7k/ |
gpio.c | 5 * Redistribution and use in source and binary forms, with or without 10 * * Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in 18 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 23 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 24 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 39 unsigned in; member in struct:gpioregs 51 .in = GPIO_IN_0, 61 .in = GPIO_IN_1, 71 .in = GPIO_IN_2 [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
LoggingSessionInputBuffer.java | 12 * (the "License"); you may not use this file except in compliance with 17 * Unless required by applicable law or agreed to in writing, software 51 private final SessionInputBuffer in; field in class:LoggingSessionInputBuffer 58 * @param in The session input buffer. 61 public LoggingSessionInputBuffer(final SessionInputBuffer in, final Wire wire) { 63 this.in = in; 68 return this.in.isDataAvailable(timeout); 72 int l = this.in.read(b, off, len); 80 int l = this.in.read() [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
ContentLengthInputStream.java | 12 * "License"); you may not use this file except in compliance 17 * Unless required by applicable law or agreed to in writing, 89 private SessionInputBuffer in = null; field in class:ContentLengthInputStream 94 * @param in The session input buffer to wrap 98 public ContentLengthInputStream(final SessionInputBuffer in, long contentLength) { 100 if (in == null) { 106 this.in = in; 147 return this.in.read(); 174 int count = this.in.read(b, off, len) [all...] |
/external/bluetooth/glib/tests/ |
unicode-collate.c | 36 GIOChannel *in; local 79 in = g_io_channel_new_file (argv[i], "r", &error); 80 if (!in) 88 in = g_io_channel_unix_new (fileno (stdin)); 97 if (g_io_channel_read_line (in, &str, NULL, &term_pos, &error) != G_IO_STATUS_NORMAL) 121 g_io_channel_unref (in);
|
/external/dropbear/ |
fake-rfc2553.c | 8 * Redistribution and use in source and binary forms, with or without 13 * 2. Redistributions in binary form must reproduce the above copyright 14 * notice, this list of conditions and the following disclaimer in the 23 * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 155 struct in_addr in; local 175 if (hostname && inet_aton(hostname, &in) != 0) 176 addr = in.s_addr; 190 if (inet_aton(hostname, &in)) { 207 struct in_addr *in = (struct in_addr *)hp->h_addr_list[i]; local [all...] |
/external/dropbear/libtomcrypt/testprof/ |
katja_test.c | 7 unsigned char in[1024], out[1024], tmp[1024]; local 64 yarrow_read(in, kat_msgsize, &yarrow_prng); 69 DO(katja_encrypt_key(in, kat_msgsize, out, &len, NULL, 0, &yarrow_prng, prng_idx, hash_idx, &key)); 86 if (len2 != kat_msgsize || memcmp(tmp, in, kat_msgsize)) { 91 fprintf(stderr, "%02x ", in[x]); 114 DO(katja_encrypt_key(in, kat_msgsize, out, &len, lparam, sizeof(lparam), &yarrow_prng, prng_idx, hash_idx, &key)); 131 if (len2 != kat_msgsize || memcmp(tmp, in, kat_msgsize)) { 141 DO(katja_sign_hash(in, 20, out, &len, &yarrow_prng, prng_idx, hash_idx, 0, &key)); 152 DO(katja_verify_hash(out, len, in, 20, hash_idx, 0, &stat, &key)); 154 in[0] ^= 1 [all...] |
/external/openssl/apps/ |
gendsa.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 44 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 48 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRIC 89 BIO *out=NULL,*in=NULL; local [all...] |
/external/quake/quake/src/QW/client/ |
math.s | 9 This program is distributed in the hope that it will be useful,
59 #define in 4 define 65 movl in(%esp),%eax 68 flds (%eax) // in[0] 69 fmuls C(vright) // in[0]*vright[0] 70 flds (%eax) // in[0] | in[0]*vright[0] 71 fmuls C(vup) // in[0]*vup[0] | in[0]*vright[0] 72 flds (%eax) // in[0] | in[0]*vup[0] | in[0]*vright[0 [all...] |
/external/quake/quake/src/WinQuake/ |
math.s | 9 This program is distributed in the hope that it will be useful,
60 #define in 4 define 66 movl in(%esp),%eax 69 flds (%eax) // in[0] 70 fmuls C(vright) // in[0]*vright[0] 71 flds (%eax) // in[0] | in[0]*vright[0] 72 fmuls C(vup) // in[0]*vup[0] | in[0]*vright[0] 73 flds (%eax) // in[0] | in[0]*vup[0] | in[0]*vright[0 [all...] |
/external/wpa_supplicant/ |
base64.c | 33 * not included in out_len. 39 const unsigned char *end, *in; local 51 in = src; 54 while (end - in >= 3) { 55 *pos++ = base64_table[in[0] >> 2]; 56 *pos++ = base64_table[((in[0] & 0x03) << 4) | (in[1] >> 4)]; 57 *pos++ = base64_table[((in[1] & 0x0f) << 2) | (in[2] >> 6)]; 58 *pos++ = base64_table[in[2] & 0x3f] 104 unsigned char dtable[256], *out, *pos, in[4], block[4], tmp; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
base64.c | 33 * not included in out_len. 39 const unsigned char *end, *in; local 53 in = src; 56 while (end - in >= 3) { 57 *pos++ = base64_table[in[0] >> 2]; 58 *pos++ = base64_table[((in[0] & 0x03) << 4) | (in[1] >> 4)]; 59 *pos++ = base64_table[((in[1] & 0x0f) << 2) | (in[2] >> 6)]; 60 *pos++ = base64_table[in[2] & 0x3f] 106 unsigned char dtable[256], *out, *pos, in[4], block[4], tmp; local [all...] |
/frameworks/base/services/audioflinger/ |
AudioResamplerCubic.cpp | 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 73 int16_t *in = mBuffer.i16; local 83 // out[outputIndex++] += vr * in[inputIndex*2]; 101 in = mBuffer.i16; 106 advance(&left, in[inputIndex*2]); 107 advance(&right, in[inputIndex*2+1]); 138 int16_t *in = mBuffer.i16; local 167 in = mBuffer.i16; 171 advance(&left, in[inputIndex]) [all...] |