/libcore/luni/src/test/java/libcore/java/net/ |
URLConnectionTest.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 328 // Setting the server workerThreads to 1 ensures the responses are generated in the order 787 InputStream in = connection.getInputStream(); local 864 InputStream in = server.getUrl("\/").openConnection().getInputStream(); local [all...] |
/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 133 InputStream in = jf.getInputStream(new JarEntry("invalid")); local 134 assertNull("Got stream for non-existent entry", in); 142 // InputStream returned in any way, exception can be thrown in case 155 // InputStream returned in any way, exception can be thrown in case
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
CipherInputStreamTest.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 71 protected MeasuringInputStream(InputStream in) { 72 super(in); 99 MeasuringInputStream in = new MeasuringInputStream(new ByteArrayInputStream(aesCipherText)); local 100 InputStream cin = new CipherInputStream(in, cipher); 102 assertEquals(aesCipherText.length, in.getTotalRead()); 108 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher); local 111 discard -= in.read(null, 0, discard); 113 byte[] bytes = readAll(in); 121 InputStream in = new CipherInputStream( local 133 InputStream in = new CipherInputStream( local 145 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher); local 153 InputStream in = new CipherInputStream(new ByteArrayInputStream(rc4CipherText), cipher); local 161 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher); local [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
DefaultHostnameVerifierTest.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 304 InputStream in = new ByteArrayInputStream(encoded.getBytes(StandardCharsets.US_ASCII)); local 305 return (X509Certificate) CertificateFactory.getInstance("X509").generateCertificate(in);
|
/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...] |
/libcore/support/src/test/java/tests/support/ |
Support_Configuration.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 122 InputStream in = null; local 128 in = new FileInputStream(iniName); 135 if (in == null) { 139 in = cl.getResourceAsStream(iniName); 144 if (in != null) { 145 load(in, props); 304 static void load(InputStream in, Hashtable<String, String> result) throws IOException { 310 while ((nextChar = in.read()) != -1) [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/Browser/src/com/android/browser/homepages/ |
RequestHandler.java | 6 * you may not use this file except in compliance with the License.
11 * Unless required by applicable law or agreed to in writing, software
239 InputStream in = res.openRawResource(id);
local 242 while ((read = in.read(buf)) > 0) {
|
/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 29 * - 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/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...] |
/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.6/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/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/python/darwin-x86/2.7.5/lib/python2.7/ |
imputil.py | 13 warnpy3k("the imputil module has been removed in Python 3.0", stacklevel=2) 17 import imp ### not available in Jython? namespace 28 _ModuleType = type(sys) ### doesn't work in Jython... 65 # we're definitely going to be importing something in the future, 80 for desc in imp.get_suffixes(): 120 # In the former case, there is no way that we could import 121 # sub-modules that occur in the fromlist (but we can't raise an 125 # In the latter case (__ispkg__ == 0), there can't be any sub- 128 # In both cases, since len(parts) == 1, the top_module is also 150 """Returns the context in which a module should be imported [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
imputil.py | 13 warnpy3k("the imputil module has been removed in Python 3.0", stacklevel=2) 17 import imp ### not available in Jython? namespace 28 _ModuleType = type(sys) ### doesn't work in Jython... 65 # we're definitely going to be importing something in the future, 80 for desc in imp.get_suffixes(): 120 # In the former case, there is no way that we could import 121 # sub-modules that occur in the fromlist (but we can't raise an 125 # In the latter case (__ispkg__ == 0), there can't be any sub- 128 # In both cases, since len(parts) == 1, the top_module is also 150 """Returns the context in which a module should be imported [all...] |
/system/core/cpio/ |
mkbootfs.c | 45 /* Each line in the canned file should be a path plus three ints (uid, 80 // Use the compiled-in fs_config() function. 89 // Nothing is special about this value, just picked something in the 149 static void _archive(char *in, char *out, int ilen, int olen); 155 static void _archive_dir(char *in, char *out, int ilen, int olen) 163 in, out, ilen, olen); 166 d = opendir(in); 167 if(d == 0) die("cannot open directory '%s'", in); 206 in[ilen] = '/'; 207 memcpy(in + ilen + 1, names[i], t + 1) 273 char in[8192]; local [all...] |
/system/core/fastboot/ |
usb_linux.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 58 /* Timeout in seconds for usb_wait_for_disconnect. 60 * under 2 seconds) but we'll time out after 3 seconds just in case. 73 * in drivers/usb/core/devio.c. 85 /* True if name isn't a valid name for a USB device in /sys/bus/usb/devices 124 int in, out; local 306 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...] |
/external/glide/third_party/disklrucache/ |
disklrucache-2.0.2.jar | |
/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...] |