HomeSort by relevance Sort by last modified time
    Searched defs:in (Results 476 - 500 of 2162) sorted by null

<<11121314151617181920>>

  /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();
  /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.
72 * controller: onStart, onLayout, onWrite, onFinish. Each one is called once, and in this
73 * order, in the UI thread.
123 FileInputStream in = null; local
128 in = new FileInputStream(tempFile);
130 in.read(b);
135 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...]
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;
  /external/guava/guava-tests/test/com/google/common/io/
ByteStreamsTest.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
265 InputStream in = okRead.getInput(); local
266 ByteStreams.copy(in, okWrite);
269 in.close();
271 in = okRead.getInput();
273 ByteStreams.copy(in, brokenWrite);
280 in.close();
282 in = brokenRead.getInput();
284 ByteStreams.copy(in, okWrite)
    [all...]
  /external/jarjar/src/main/com/tonicsystems/jarjar/util/
ClassHeaderReader.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
30 private InputStream in; field in class:ClassHeaderReader
53 public void read(InputStream in) throws IOException {
55 this.in = in;
122 in.close();
146 bsize += read(in, b, bsize, rounded - bsize);
152 private static int read(InputStream in, byte[] b, int off, int len) throws IOException {
155 int result = in.read(b, off + total, len - total)
    [all...]
  /external/javassist/src/main/javassist/tools/rmi/
AppletServer.java 6 * 1.1 (the "License"); you may not use this file except in compliance with
133 public void doReply(InputStream in, OutputStream out, String cmd)
137 processRMI(in, out);
139 lookupName(cmd, in, out);
141 super.doReply(in, out, cmd);
147 ObjectInputStream in = new ObjectInputStream(ins); local
149 int objectId = in.readInt();
150 int methodId = in.readInt();
156 Object[] args = readParameters(in);
185 in.close()
224 ObjectInputStream in = new ObjectInputStream(ins); local
    [all...]
ObjectImporter.java 6 * 1.1 (the "License"); you may not use this file except in compliance with
50 * <p>The parameters to a remote method is passed in the <i>call-by-value</i>
165 InputStream in = new BufferedInputStream(sock.getInputStream()); local
166 skipHeader(in);
167 ObjectInputStream din = new ObjectInputStream(in);
219 * object in Netscape's JVM. It returns a
273 private void skipHeader(InputStream in) throws IOException {
278 while ((c = in.read()) >= 0 && c != 0x0d)
281 in.read(); /* skip 0x0a (LF) */
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/
AbstractTransformTask.java 5 * use this file except in compliance with the License. You may obtain a copy of
10 * Unless required by applicable law or agreed to in writing, software
108 InputStream in = new BufferedInputStream(new FileInputStream(file)); local
110 ClassReader r = new ClassReader(in);
113 in.close();
244 InputStream in = new BufferedInputStream(zip); local
246 while ((b = in.read()) != -1) {
253 DataInputStream in = new DataInputStream(new FileInputStream(file)); local
255 int m = in.readInt();
258 in.close()
    [all...]
  /external/mockwebserver/src/test/java/com/google/mockwebserver/
MockWebServerTest.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
72 InputStream in = response.getBodyStream(); local
73 assertEquals('A', in.read());
74 assertEquals('B', in.read());
75 assertEquals('C', in.read());
76 assertEquals(-1, in.read());
107 InputStream in = connection.getInputStream(); local
108 BufferedReader reader = new BufferedReader(new InputStreamReader(in));
126 InputStream in = connection.getInputStream() local
154 InputStream in = connection.getInputStream(); local
167 InputStream in = connection.getInputStream(); local
186 InputStream in = urlConnection.getInputStream(); local
225 InputStream in = server.getUrl("\/").openConnection().getInputStream(); local
    [all...]
  /external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
WebSocket.java 19 protected InputStream in; field in class:WebSocket
45 this.in = handshakeRequest.getInputStream();
66 handleWebsocketFrame(WebSocketFrame.read(in));
156 if (in != null) {
158 in.close();
  /external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/
MockWebServerTest.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
75 InputStream in = response.getBodyStream(); local
76 assertEquals('A', in.read());
77 assertEquals('B', in.read());
78 assertEquals('C', in.read());
79 assertEquals(-1, in.read());
167 InputStream in = connection.getInputStream(); local
168 BufferedReader reader = new BufferedReader(new InputStreamReader(in));
186 InputStream in = connection.getInputStream() local
214 InputStream in = connection.getInputStream(); local
227 InputStream in = connection.getInputStream(); local
246 InputStream in = urlConnection.getInputStream(); local
285 InputStream in = server.getUrl("\/").openConnection().getInputStream(); local
306 InputStream in = connection.getInputStream(); local
    [all...]
  /external/smack/src/org/jivesoftware/smack/
ServerTrustManager.java 9 * you may not use this file except in compliance with the License.
14 * Unless required by applicable law or agreed to in writing, software
40 * knows and trusted CA root certificates can also be configure in {@link ConnectionConfiguration}.
62 InputStream in = null; local
71 in = new FileInputStream(options.getPath());
72 trustStore.load(in, options.getPassword().toCharArray());
77 if (in != null) {
79 in.close();
109 // Working down the chain, for every certificate in the chain,
111 // next certificate in the chain
    [all...]
  /frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
BandwidthTestUtil.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
47 * Parses the first line in a file if exists.
57 DataInputStream in = new DataInputStream(fstream); local
58 BufferedReader br = new BufferedReader(new InputStreamReader(in));
64 in.close();
76 * @param size in bytes of the file to download
  /frameworks/base/tools/preload/
MemoryUsage.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
38 // These values are in 1kB increments (not 4kB like you'd expect).
246 BufferedReader in = new BufferedReader( local
248 String line = in.readLine();
256 in.close();
274 private static void copy(InputStream in, OutputStream out) {
278 while ((read = in.read(buffer)) > -1) {
286 /** Measures memory usage information and stores it in the model. */
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiApConfigStore.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
131 //to indicate the write is currently in progress
146 DataInputStream in = null; local
149 in = new DataInputStream(new BufferedInputStream(new FileInputStream(
152 int version = in.readInt();
158 config.SSID = in.readUTF();
159 int authType = in.readInt();
162 config.preSharedKey = in.readUTF();
168 if (in != null)
    [all...]
  /libcore/dex/src/main/java/com/android/dex/
EncodedValueReader.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
45 protected final ByteInput in; field in class:EncodedValueReader
50 public EncodedValueReader(ByteInput in) {
51 this.in = in;
54 public EncodedValueReader(EncodedValue in) {
55 this(in.asByteInput());
64 public EncodedValueReader(ByteInput in, int knownType) {
65 this.in = in
    [all...]

Completed in 43 milliseconds

<<11121314151617181920>>