/libcore/ojluni/src/main/java/java/util/zip/ |
GZIPInputStream.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 35 * This class implements a stream filter for reading compressed data in 67 * @param in the input stream 75 public GZIPInputStream(InputStream in, int size) throws IOException { 76 super(in, new Inflater(true), size); 77 readHeader(in); 82 * @param in the input stream 88 public GZIPInputStream(InputStream in) throws IOException 159 CheckedInputStream in = new CheckedInputStream(this_in, crc); local 210 InputStream in = this.in; local [all...] |
/libcore/ojluni/src/main/java/sun/net/www/http/ |
ChunkedInputStream.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 49 private InputStream in; field in class:ChunkedInputStream 64 * The size, in bytes, of the chunk that is currently being read. 65 * This size is only valid if the current position in the underlying 72 * chunk. This value is always in the range <code>0</code> through to 84 * The current position in the buffer. It contains the index 90 * The index one greater than the index of the last valid byte in the 91 * buffer. This value is always in the range <code>0</code> throug [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
ObjectIdentifier.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 38 * string name used instead of (or in addition to) the numerical id. 44 * meaning to identifiers below the 1.3.6.1.4.1.42.2.17 node in the 65 * IMPORTANT NOTES FOR CODE CHANGES (bug 4811968) IN JDK 1.7.0 77 * Below are all 4 cases in a serialization/deserialization process: 90 * Therfore, for the first 3 cases, exact compatibility is preserved. In 91 * the 4th case, non-huge OID is still supportable in old versions, while 228 * The encoding of the ID in the stream uses "DER", a BER/1 subset 270 DerInputStream in = new DerInputStream(buf); local [all...] |
/libcore/ojluni/src/main/java/sun/security/validator/ |
SimpleValidator.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 50 * more advanced features and will be deemphasized in favor of the PKIX 269 * Get the value of the specified bit in the Netscape certificate type 287 DerInputStream in = new DerInputStream(extVal); local 288 byte[] encoded = in.getOctetString(); 337 // EKU irrelevant in CA certificates 354 * with a trust anchor as the final cert in the chain. If no trust anchor
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
IssuingDistributionPointExtension.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 48 * The extension is defined in Section 5.2.5 of 184 // All the elements in issuingDistributionPoint are optional 189 DerInputStream in = val.data; local 190 while (in != null && in.available() != 0) { 191 DerValue opt = in.getDerValue();
|
/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/ |
SerializationTest.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 46 * returns array of objects to be de/serialized in tests, and the second 54 * should be set to value "serial.reference". In this mode, no testing 58 * The location of golden files (in both modes) is controlled via 76 * @return array of objects to be de/serialized in tests. 255 * The <code>comparator</code> is searched in the following order: <br> 258 * has class in its classes hierarchy that overrides <code>equals(Object)</code> 348 * with corresponding object in provided array (i.e. <code>objects[N]</code>) 350 * in object's array. 431 InputStream in = SerializationTest.class.getResourceAsStream(pathString); local 476 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); local [all...] |
/ndk/sources/cxx-stl/stlport/src/ |
ios.cpp | 75 const ios_base::openmode ios_base::in; member in class:ios_base 208 // that is also set in the exception mask exceptions(). 231 // Copy x's state to *this. This member function is used in the
|
/ndk/sources/host-tools/make-3.81/ |
ansi2knr.c | 7 ansi2knr is distributed in the hope that it will be useful, but WITHOUT ANY 10 works at all, unless he says so in writing. Refer to the GNU General Public 14 but only under the conditions described in the GPL. A copy of this license 16 your rights and responsibilities. It should be in a file named COPYLEFT, 24 with another program, this in itself does not bring the other program under 33 * --filename provides the file name for the #line directive in the output, 62 * <ghost@aladdin.com>. Other authors are noted in the change history 63 * that follows (in reverse chronological order): 69 - the check for \ + newline in scanstring was unnecessary. 91 lpd 1999-01-28 fixed two bugs: a '/' in an argument list caused a 233 { FILE *in = stdin; local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppTransferHistory.java | 6 * Redistribution and use in source and binary forms, with or without 12 * - Redistributions in binary form must reproduce the above copyright notice, 13 * this list of conditions and the following disclaimer in the documentation 23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 298 Intent in = new Intent(this, BluetoothOppTransferActivity.class); local 299 in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 300 in.setDataAndNormalize(contentUri); 301 this.startActivity(in); [all...] |
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
CertInstallerMain.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 90 * caller got here any other way, remove the extra that we allow in 137 InputStream in = null; local 139 in = getContentResolver().openInputStream(uri); 141 final byte[] raw = Streams.readFully(in); 148 IoUtils.closeQuietly(in); 162 try (BufferedInputStream in = 164 byte[] data = Streams.readFully(in);
|
/packages/apps/HTMLViewer/src/com/android/htmlviewer/ |
HTMLViewerActivity.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 44 * purposefully very limited in what it supports, including no network or 183 final InputStream in = new GZIPInputStream( local 186 getIntent().getType(), "utf-8", in);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
CachedInputStream.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 * - support overriding the markLimit passed in mark() call (The value that BitmapFactory 40 private int mCount = 0; // total validate bytes in chunk buffers 41 private int mMarkPos = -1; // marked read position in chunk buffers 44 private final byte[] tmp = new byte[1]; // tmp buffer used in read() 46 public CachedInputStream(InputStream in) { 47 super(in); 56 * set the value that will override small readlimit passed in mark() call. 107 if (in!=null) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
FileSystemUtils.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 103 * Instances should NOT be constructed in standard programming. 115 * As this is not very useful, this method is deprecated in favour 116 * of {@link #freeSpaceKb(String)} which returns a result in kilobytes. 130 * @throws IllegalStateException if an error occurred in initialisation 132 * @since Commons IO 1.1, enhanced OS support in 1.2 and 1.3 134 * Deprecated from 1.3, may be removed in 2.0 143 * Returns the free space on a drive or volume in kilobytes by invoking 152 * In order to work, you must be running Windows, or have a implementation o 400 InputStream in = null; local [all...] |
IOUtils.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 * Two methods are provided in each case, one that uses the platform default 59 * All the methods in this class that read a stream are buffered internally. 62 * to be efficient in tests. 64 * Wherever possible, the methods in this class do <em>not</em> flush or close 124 * Instances should NOT be constructed in standard programming. 135 * This is typically used in finally blocks. 153 * This is typically used in finally blocks. 171 * This is typically used in finally blocks 1052 InputStreamReader in = new InputStreamReader(input); local 1080 InputStreamReader in = new InputStreamReader(input, encoding); local [all...] |
/packages/services/Telephony/src/org/apache/commons/io/ |
IOUtils.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 52 * Two methods are provided in each case, one that uses the platform default 58 * All the methods in this class that read a stream are buffered internally. 61 * to be efficient in tests. 63 * Wherever possible, the methods in this class do <em>not</em> flush or close 123 * Instances should NOT be constructed in standard programming. 134 * This is typically used in finally blocks. 152 * This is typically used in finally blocks. 170 * This is typically used in finally blocks 977 InputStreamReader in = new InputStreamReader(input); local 1005 InputStreamReader in = new InputStreamReader(input, encoding); local [all...] |
/prebuilts/eclipse/maven/apache-maven-3.2.1/lib/ |
wagon-file-2.6.jar | |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/sound/ |
hdspm.h | 13 * This program is distributed in the hope that it will be useful, 30 maybe in future we can memory map it so I just copy it 98 /* MADI mixer: 64inputs+64playback in 64outputs = 8192 => *4Byte = 102 /* organisation is 64 channelfader in a continous memory block */ 107 Ins to Outs mixer[out].in[in], Outstreams to Outs mixer[out].pb[pb] */ 112 unsigned int in[HDSPM_MIXER_CHANNELS]; member in struct:hdspm_channelfader
|
/prebuilts/tools/common/m2/repository/org/apache/maven/wagon/wagon-file/1.0-beta-6/ |
wagon-file-1.0-beta-6.jar | |
/system/core/cpio/ |
mkbootfs.c | 46 /* Each line in the canned file should be a path plus three ints (uid, 81 // Use the compiled-in fs_config() function. 91 // Nothing is special about this value, just picked something in the 151 static void _archive(char *in, char *out, int ilen, int olen); 157 static void _archive_dir(char *in, char *out, int ilen, int olen) 165 in, out, ilen, olen); 168 d = opendir(in); 169 if(d == 0) die("cannot open directory '%s'", in); 208 in[ilen] = '/'; 209 memcpy(in + ilen + 1, names[i], t + 1) 275 char in[8192]; local [all...] |
/system/core/fastboot/ |
usb_linux.cpp | 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 53 /* Timeout in seconds for usb_wait_for_disconnect. 55 * under 2 seconds) but we'll time out after 3 seconds just in case. 68 // with a 16MiB global limit in 3.3, but each URB submitted required a 74 // In 3.6, the contiguous buffer limit was removed by allocating multipl 145 int in, out; local 334 int n, in, out, ifc; local [all...] |
/system/core/toolbox/upstream-netbsd/bin/dd/ |
dd.c | 11 * Redistribution and use in source and binary forms, with or without 16 * 2. Redistributions in binary form must reproduce the above copyright 17 * notice, this list of conditions and the following disclaimer in the 26 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 78 IO in, out; /* input/output state */ variable 157 if (in.name == NULL) { 158 in.name = "stdin"; 159 in.fd = STDIN_FILENO [all...] |
/toolchain/binutils/binutils-2.25/bfd/ |
coff-stgo32.c | 12 This program is distributed in the hope that it will be useful, 23 DOS executable program before the coff image to load it in memory 28 The only thing what they do is to adjust the information stored in 31 the coff image. It loads the image in memory and assumes then, that the 32 image had no stub by using the filepointers as pointers in the coff 33 image and NOT in the file. 36 here and NOT in the DJGPP startup code. */ 121 technique is in any function the same. For the ...in function, 150 adjust_filehdr_out_pre (bfd * abfd, void * in, void * out 223 union internal_auxent *in = (union internal_auxent *) in1; local 241 union internal_auxent *in = (union internal_auxent *) inp; local 259 union internal_auxent *in = (union internal_auxent *) inp; local [all...] |
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
PlanetsRenderer.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 96 * whether to use Vertex Buffer Object in rendering or not 350 InputStream in = null; local 352 in = mContext.getAssets().open(TEXTURE_FILE); 353 Bitmap bitmap = BitmapFactory.decodeStream(in); 372 if (in != null) 374 in.close(); 434 Log.i(TAG, description + " time in secs: " + timePassedInSecs);
|
/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/antlr3-src/org/apache/tools/ant/antlr/ |
ANTLR3.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 112 /** put tags at start/stop of all templates in output */ 375 * <p>Doesn't work for archives in JDK 1.1 as the URL returned by 399 log("Couldn\'t find resource " + resource + " for library " + msg + " in external classpath", Project.MSG_VERBOSE); 406 * stringtemplate-*.jar files in the lib directory and add them 645 log("Antlr libraries not found in external classpath or embedded classpath statement ", Project.MSG_ERR); 664 BufferedReader in = null; local 666 in = new BufferedReader(new FileReader(f)); 669 if (in != null) [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
RemoteDebugEventSocketListener.java | 6 Redistribution and use in source and binary forms, with or without 11 2. Redistributions in binary form must reproduce the above copyright 12 notice, this list of conditions and the following disclaimer in the 20 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 24 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 48 BufferedReader in; field in class:RemoteDebugEventSocketListener 174 event = in.readLine(); 178 event = in.readLine(); 200 in = new BufferedReader(isr) [all...] |