/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 56 protected DataInputStream in; field in class:JPDADebuggeeSynchronizer 107 msg = in.readUTF(); 127 msg = in.readUTF(); 146 msg = in.readUTF(); 183 "[SYNC] Exception in binding for socket sync connection", e); 200 in = new DataInputStream(clientSocket.getInputStream()); 203 "[SYNC] Exception in accepting socket sync connection", e); 221 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();
|
Support_HttpServer.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 218 InputStream in = socket.getInputStream(); local 224 while (((line = readln(in)) != null) && (line.length() > 1)) { 227 // determine the resource requested in the first line 286 postTest(length, in); 291 in.close(); 366 // the URL was in the format: 446 private void postTest(int length, InputStream in) { 451 data.write(in.read()) [all...] |
/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/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/printing/ |
PrintingControllerTest.java | 3 // found in the LICENSE file. 74 * controller: onStart, onLayout, onWrite, onFinish. Each one is called once, and in this 75 * order, in the UI thread. 126 FileInputStream in = null; local 131 in = new FileInputStream(tempFile); 133 in.read(b); 138 if (in != null) in.close();
|
/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...] |