/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/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/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/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 final 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...] |
/packages/services/Telephony/src/com/android/phone/common/mail/ |
MailTransport.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 76 * configured identically, but not opened or connected in any way. 146 * service but is not in the public API. 172 // we should be reporting the bad name in the certificate. Unfortunately this is buried 173 // in the verifier code and is not available in the verifier API, and extracting the 237 * delimiter char(s) are not included in the result. 241 InputStream in = getInputStream(); local 243 while ((d = in.read()) != -1) [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/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 | 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.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 313 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...] |
/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...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_bugzilla/org/eclipse/releng/services/bugzilla/ |
UpdateBugStateTask.java | 572 private HttpsURLConnection getConn(String url, String method, boolean in, boolean out, String cookie) 615 sconn.setDoInput(in); 651 BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream())); local 653 while ((tmp = in.readLine()) != EMPTY && tmp != null) 658 in.close();
|
/external/emma/core/java12/com/vladium/emma/instr/ |
InstrProcessorST.java | 106 // create an identically named artive in outdir/lib [the stream is 107 // closed in the archive end event handler]: 123 // create a temp file in the same dir [moved into the original one 124 // in the archive end event handler]: 150 public final void handleArchiveEntry (final JarInputStream in, final ZipEntry entry) 172 // files represent the same class; in the future I might use a more 186 // in 'copy' mode 194 // run, skip duplicates in copy mode: 199 // BUG_SF989071: using outFile here instead resulted in 219 readZipEntry (in, entry) 960 InputStream in = null; local [all...] |
/external/jetty/src/java/org/eclipse/jetty/servlet/ |
DefaultServlet.java | 94 * but have index.jsp in your welcome file list. 303 * In the case where the DefaultServlet is deployed on the HttpService it is likely that 635 * Finds a matching welcome file for the supplied {@link Resource}. This will be the first entry in the list of 642 * @return The path of the matching welcome file in context or null. 993 InputStream in=resource.getInputStream(); local [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/ |
OBJLoader.java | 5 * Redistribution and use in source and binary forms, with or without 12 * * Redistributions in binary form must reproduce the above copyright 13 * notice, this list of conditions and the following disclaimer in the 23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 28 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 209 // put an edge in v0, v2 218 // put an edge in v1, v3 272 logger.warning("Edge or polygon detected in OBJ. Ignored."); 371 // throw new IOException("Cannot locate material " + currentMatName + " in MTL file!") 558 InputStream in = null; local [all...] |