/libcore/luni/src/test/java/libcore/java/util/jar/ |
OldJarFileTest.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 138 InputStream in = jf.getInputStream(new JarEntry("invalid")); local 139 assertNull("Got stream for non-existent entry", in); 147 // InputStream returned in any way, exception can be thrown in case 160 // InputStream returned in any way, exception can be thrown in case
|
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
MethodHandles.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 57 public Lookup in(Class<?> requestedLookupClass) { return null; } method in class:MethodHandles.Lookup
|
/libcore/ojluni/src/main/java/java/io/ |
Console.java | 10 * by Oracle in the LICENSE file that accompanied this code. 12 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * version 2 for more details (a copy is included in the LICENSE file that 39 * underlying platform and also upon the manner in which the virtual 58 * block in multithreaded scenarios. 71 * in this class will cause a {@link NullPointerException} to be thrown. 77 * lifetime of sensitive data in memory. 126 * on the returned object will not read in characters beyond the line 145 * A format string as described in <a 149 * Arguments referenced by the format specifiers in the forma 406 private Reader in; field in class:Console.LineReader [all...] |
DataInputStream.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 33 * types from an underlying input stream in a machine-independent 39 * methods in this class. 52 * @param in the specified input stream 54 public DataInputStream(InputStream in) { 55 super(in); 81 * be the number of bytes actually read; these bytes will be stored in 99 * @see java.io.FilterInputStream#in [all...] |
/libcore/ojluni/src/main/java/java/net/ |
SocksSocketImpl.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 114 private int readSocksReply(InputStream in, byte[] data) throws IOException { 115 return readSocksReply(in, data, 0L); 118 private int readSocksReply(InputStream in, byte[] data, long deadlineMillis) throws IOException { 124 count = ((SocketInputStream)in).read(data, received, len - received, remainingMillis(deadlineMillis)); 138 private boolean authenticate(byte method, InputStream in, 140 return authenticate(method, in, out, 0L); 143 private boolean authenticate(byte method, InputStream in, [all...] |
/libcore/ojluni/src/main/java/java/text/ |
ChoiceFormat.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 * It is generally used in a <code>MessageFormat</code> for handling plurals. 58 * in ascending order, the results of formatting will be incorrect. ChoiceFormat 64 * classes in that you create a <code>ChoiceFormat</code> object with a 67 * doesn't require any complex setup for a given locale. In fact, 288 // Single quotes themselves must be escaped in either case. 321 * @param limits limits in ascending order 330 * Set the choices to be used in formatting [all...] |
/libcore/ojluni/src/main/java/java/util/ |
ArrayPrefixHelpers.java | 8 * by Oracle in the LICENSE file that accompanied this code. 10 * This code is distributed in the hope that it will be useful, but WITHOUT 13 * version 2 for more details (a copy is included in the LICENSE file that 72 * Managing this relies on ORing some bits in the pendingCount for 109 T in, out; field in class:ArrayPrefixHelpers.CumulateTask 154 T pin = t.in; 155 lt.in = pin; 159 rt.in = (l == org ? lout : 200 if (l == org) { // leftmost; no in 205 sum = t.in; 261 long in, out; field in class:ArrayPrefixHelpers.LongCumulateTask 411 double in, out; field in class:ArrayPrefixHelpers.DoubleCumulateTask 561 int in, out; field in class:ArrayPrefixHelpers.IntCumulateTask [all...] |
/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 36 * This class implements a stream filter for reading compressed data in 68 * @param in the input stream 76 public GZIPInputStream(InputStream in, int size) throws IOException { 77 super(in, new Inflater(true), size); 80 readHeader(in); 85 * @param in the input stream 91 public GZIPInputStream(InputStream in) throws IOException 162 CheckedInputStream in = new CheckedInputStream(this_in, crc); local 213 InputStream in = this.in; local [all...] |
/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...] |
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
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 28 * - support overriding the markLimit passed in mark() call (The value that BitmapFactory 38 private int mCount = 0; // total validate bytes in chunk buffers 39 private int mMarkPos = -1; // marked read position in chunk buffers 42 private byte[] tmp = new byte[1]; // tmp buffer used in read() 44 public CachedInputStream(InputStream in) { 45 super(in); 54 * set the value that will override small readlimit passed in mark() call. 105 if (in!=null) [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/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/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
TestCertActivity.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 109 InputStream in = new BufferedInputStream(conn.getInputStream()); local 110 response = convertToString(in);
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
FilesystemUtil.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 123 /** Splice the date into the "%s" in a file name */ 130 private static void pipe(InputStream in, OutputStream out) throws IOException { 137 bytesRead = in.read(buffer); 140 in.close();
|
/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/go/darwin-x86/src/runtime/ |
type.go | 3 // license that can be found in the LICENSE file. 11 // tflag is documented in reflect/type.go. 13 // tflag values must be kept in sync with copies in: 25 // Needs to be in sync with ../cmd/compile/internal/ld/decodesym.go:/^func.commonsize, 38 // If the KindGCProg bit is set in kind, gcdata is a GC program. 139 // one day start moving heap memory, in which case there is no stable 142 // To provide stable offsets, we add pin *rtype objects in a global map 189 println("runtime: nameOff", hex(off), "base", hex(base), "not in ranges:") 219 println("runtime: typeOff", hex(off), "base", hex(base), "not in ranges:" 295 func (t *functype) in() []*_type { func [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
type.go | 3 // license that can be found in the LICENSE file. 11 // tflag is documented in reflect/type.go. 13 // tflag values must be kept in sync with copies in: 25 // Needs to be in sync with ../cmd/compile/internal/ld/decodesym.go:/^func.commonsize, 38 // If the KindGCProg bit is set in kind, gcdata is a GC program. 139 // one day start moving heap memory, in which case there is no stable 142 // To provide stable offsets, we add pin *rtype objects in a global map 189 println("runtime: nameOff", hex(off), "base", hex(base), "not in ranges:") 219 println("runtime: typeOff", hex(off), "base", hex(base), "not in ranges:" 295 func (t *functype) in() []*_type { func [all...] |
/prebuilts/misc/common/robolectric/lib/ |
wagon-file-1.0-beta-6.jar | |
/prebuilts/ndk/r11/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
|
/prebuilts/ndk/r13/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
|
/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, 83 // Use the compiled-in fs_config() function. 93 // Nothing is special about this value, just picked something in the 153 static void _archive(char *in, char *out, int ilen, int olen); 159 static void _archive_dir(char *in, char *out, int ilen, int olen) 167 in, out, ilen, olen); 170 d = opendir(in); 171 if(d == 0) die("cannot open directory '%s'", in); 210 in[ilen] = '/'; 211 memcpy(in + ilen + 1, names[i], t + 1) 277 char in[8192]; local [all...] |