/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/bits/ |
codecvt.h | 12 // This library is distributed in the hope that it will be useful, 18 // permissions described in the GCC Runtime Library Exception, version 88 * The characters in [from,from_end) are converted and written to 101 * the input ends early or there is insufficient space in the 130 * the state in initial conditions, rather than partial conversion 134 * character, and input to in() had 6 external characters with state 168 * The characters in [from,from_end) are converted and written to 181 * the input ends early or there is insufficient space in the 195 in(state_type& __state, const extern_type* __from, function in class:__codecvt_abstract_base
|
/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/ |
_codecvt.h | 84 result in(state_type& __state, function 202 result in(state_type& __state, 299 result in(state_type& __state,
|
/prebuilts/ndk/9/sources/cxx-stl/EH/stlport/stlport/stl/ |
_codecvt.h | 84 result in(state_type& __state, function 202 result in(state_type& __state, 299 result in(state_type& __state,
|
/system/extras/ext4_utils/ |
ext2simg.c | 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 120 const char *in = NULL; local 150 in = argv[optind++]; 166 infd = open(in, O_RDONLY); 175 build_sparse_ext(infd, in);
|
/system/extras/tests/bionic/libc/other/ |
test_zlib.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 50 unsigned char in[CHUNK]; local 63 strm.avail_in = fread(in, 1, CHUNK, source); 69 strm.next_in = in; 72 compression if all of source has been read in */ 98 static unsigned char in[CHUNK]; local [all...] |
/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/reference/ |
GLGameActivity.java | 5 * in compliance with the License. You may obtain a copy of the License at 9 * Unless required by applicable law or agreed to in writing, software distributed under the License 145 InputStream in = null; local 147 in = manager.open(path); 154 Bitmap bmp = BitmapFactory.decodeStream(in, null, op); 172 in.close();
|
/cts/suite/cts/hostTests/jank/src/com/android/cts/jank/ |
CtsHostJankTest.java | 5 * in compliance with the License. You may obtain a copy of the License at 9 * Unless required by applicable law or agreed to in writing, software distributed under the License 116 Scanner in = new Scanner(result); local 118 while (in.hasNextLine()) { 119 String[] parts = in.nextLine().split(":"); 124 in.close();
|
/cts/tests/core/runner/src/com/android/cts/runner/ |
CtsTestRunListener.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 103 // no way to implement this in JUnit4... 131 BufferedReader in = null; local 136 in = new BufferedReader(new InputStreamReader(proc.getInputStream())); 139 while ((line = in.readLine()) != null) { 146 Log.d(TAG, "In finally"); 147 if (in != null) { 149 in.close(); 161 * Nulls all non-static reference fields in the given test class. Thi [all...] |
/cts/tests/tests/keystore/src/android/keystore/cts/ |
AESCipherNistCavpKatTest.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 167 BufferedReader in = null; local 170 in = new BufferedReader(new InputStreamReader( 179 while ((line = in.readLine()) != null) { 261 if (in != null) { 263 in.close(); 305 private static void readFully(InputStream in, byte[] buf) throws IOException { 309 int chunkSize = in.read(buf, offset, remaining);
|
/cts/tests/tests/security/src/android/security/cts/ |
CertificateTest.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 54 * significant security impact. In the worst case, adding a rogue CA can permanently compromise 58 * adding a new certificate authority is in your users' best interests. 61 * so many people it is imperative that it be done transparently and in the open. Any request to 62 * modify the certificate list used by this test must have a corresponding change in AOSP 63 * (one certificate per change) authored by the OEM in question and including: 65 * - the certificate in question: 66 * - The certificate must be in a file under 67 * cts/tests/tests/security/assets/oem_cacerts, in PEM (Privacy-enhanced Electroni 143 InputStream in = null; local [all...] |
ClonedSecureRandomTest.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 * This test spawns a Service in a new process to check the initial state of 119 * number of times because of the pigeonhole principle. In an attempt to 169 * Make sure the AndroidManifest.xml wasn't altered in a way that 172 assertFalse("SecureRandomService must run in a different process. Check " 227 * another service spawned as we are doing in this test. 245 BufferedReader in = null; local 247 in = new BufferedReader(new FileReader(filename)); 248 final String line = in.readLine() [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 110 * classes and "package-info" occurs before all other classes in that 123 * classes and "package-info" occurs before all other classes in that 182 * classes and "package-info" preceeds all other classes in its package. 270 InputStream in = zip.getInputStream(one); local 274 while ((read = in.read(buf)) != -1) { 278 in.close() [all...] |
/dalvik/dx/src/com/android/dx/io/ |
DexIndexPrinter.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 Dex.Section in = dex.open(tableOfContents.typeLists.off); local 98 int size = in.readInt(); 101 System.out.print(" " + dex.typeNames().get((int) in.readShort())); 104 in.readShort(); // retain alignment
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
SerializedGrammar.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 44 public char type; // in {l, p, t, c} 93 DataInputStream in = new DataInputStream(bos); local 94 readFile(in); 95 in.close() [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/ |
JPDADebuggeeSynchronizer.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 58 protected DataInputStream in; field in class:JPDADebuggeeSynchronizer 109 msg = in.readUTF(); 129 msg = in.readUTF(); 148 msg = in.readUTF(); 186 "[SYNC] Exception in binding for socket sync connection", e); 203 in = new DataInputStream(clientSocket.getInputStream()); 206 "[SYNC] Exception in accepting socket sync connection", e); 223 in = new DataInputStream(clientSocket.getInputStream()) [all...] |
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/ |
UnixSocketTest.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 InputStream in = worker.getInputStream(); local 53 in.read(); 104 // Port 0 is not allowed to be used in connect() on some platforms,
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_Exec.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 68 InputStream in = proc.getInputStream(); local 72 while ((result = in.read(bytes)) != -1) { 79 in.close(); 119 InputStream in = proc.getInputStream(); local 123 while ((result = in.read(bytes)) != -1) { 130 in.close();
|
/external/apache-harmony/support/src/test/java/tests/support/resource/ |
Support_Resources.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 91 InputStream in = Support_Resources.getStream(src); local 94 copyLocalFileTo(dst, in); 104 public static void copyLocalFileTo(File dest, InputStream in) throws IOException { 109 while ((result = in.read(buf)) != -1) { 112 in.close(); 120 InputStream in = new URL(url).openStream(); local 122 copyLocalFileTo(temp, in);
|
/external/conscrypt/src/main/java/org/conscrypt/ |
FileClientSessionCache.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 46 * in the cache (see {@link #putSessionData}). Files are read on 51 * so the ordering actually ends up being least-recently-modified in some 52 * cases and even just "not accessed in this process" if the filesystem 57 /** Directory to store session files in. */ 61 * Map of name -> File. Keeps track of the order files were accessed in. 87 // cache misses in getSessionData(). 92 // File.list() will return null in error cases without throwing IOException 130 * Note: This method is only called when the in-memory cach 156 FileInputStream in; local [all...] |
/external/doclava/src/com/google/doclava/ |
ClearPage.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 162 FileInputStream in; local 168 in = new FileInputStream(from); 192 size = in.read(buf); 208 in.close(); 226 /* Setting excepted types to allow everything. Leaving it this way in in case we want to explicitly
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
BuildMachineManager.java | 41 // findKey represents the key in cfg from which which to obtain the list of 136 FileInputStream in = new FileInputStream(markerFiles[i]); local 137 properties.load(in); 138 in.close(); 167 FileInputStream in = new FileInputStream(new File(cfg)); local 168 cfgProperties.load(in); 169 in.close();
|
/external/emma/core/java12/com/vladium/emma/rt/ |
ClassPathProcessorST.java | 75 m_log.info ("[" + m_classCount + " class(es) processed in " + (end - start) + " ms]"); 86 public void handleArchiveEntry (final JarInputStream in, final ZipEntry entry) 103 readZipEntry (in, entry); 150 // in the classpath wins" semantics: 250 // in the classpath wins" semantics: 318 InputStream in = null; local 321 in = new FileInputStream (file); 325 (totalread < length) && (read = in.read (m_readbuf, totalread, length - totalread)) >= 0; 331 if (in != null) try { in.close (); } catch (Exception ignore) {} [all...] |
InstrClassLoader.java | 53 // behavior in a few places, including URLClassLoader.getResource(): 121 // or (c) it will define 'c' itself if allowed to. In any 153 if (resolve) resolveClass (c); // this never happens in J2SE JVMs 157 // TODO: remove this in the release build 166 if (trace1 && (result != null)) m_log.trace1 ("loadClass", "[" + name + "] found in " + result); 251 if (trace1 && (classURL != null)) m_log.trace1 ("findClass", "[" + name + "] found in " + classURL); 257 InputStream in = null; local 261 in = classURL.openStream (); 266 readFully (in, baos, buf.m_buf); 267 in.close (); // don't keep the file handle across reentrant call [all...] |
/external/emma/core/java12/com/vladium/util/ |
Property.java | 219 InputStream in = null; local 222 in = ResourceLoader.getResourceAsStream (name); 223 if (in != null) 226 result.load (in); 235 if (in != null) try { in.close (); } catch (Throwable ignore) {} 236 in = null; 253 InputStream in = null; local 256 in = ResourceLoader.getResourceAsStream (name, loader); 257 if (in != null 291 InputStream in = null; local [all...] |
/external/emma/tools/java/com/vladium/tools/ |
ClassDep.java | 140 InputStream in = null; local 144 in = loader.getResourceAsStream (classVMName + ".class"); 146 if (in == null) 148 throw new IllegalArgumentException ("class [" + Descriptors.vmNameToJavaName (classVMName) + "] not found in the input classpath"); 153 for (int read; (read = in.read (readbuf)) >= 0; baos.write (readbuf, 0, read)); 158 if (in != null) try { in.close (); } catch (IOException ignore) { ignore.printStackTrace (); } 160 in = null;
|