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

1 2 3 4 5 67 8 91011>>

  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
ServerHelloTest.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 HandshakeIODataStream in = new HandshakeIODataStream(); local
54 in.append(encoded);
55 ServerHello message_2 = new ServerHello(in, message.length());
66 in.append(encoded);
68 new ServerHello(in, message.length() - 1);
73 in.append(encoded);
74 in.append(new byte[] { 1, 2, 3 });
76 new ServerHello(in, message.length() + 3)
    [all...]
CertificateRequestTest.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
80 HandshakeIODataStream in = new HandshakeIODataStream(); local
81 in.append(encoded);
82 CertificateRequest message_2 = new CertificateRequest(in, message.length());
88 in.append(encoded);
90 message_2 = new CertificateRequest(in, message.length() - 1);
95 in.append(encoded);
96 in.append(new byte[] { 1, 2, 3 });
98 message_2 = new CertificateRequest(in, message.length() + 3)
    [all...]
ServerKeyExchangeTest.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
55 HandshakeIODataStream in = new HandshakeIODataStream(); local
56 in.append(encoded);
57 ServerKeyExchange message_2 = new ServerKeyExchange(in, message
68 in.append(encoded);
70 new ServerKeyExchange(in, message.length() - 1,
76 in.append(encoded);
77 in.append(new byte[] { 1, 2, 3 });
79 new ServerKeyExchange(in, message.length() + 3
109 HandshakeIODataStream in = new HandshakeIODataStream(); local
158 HandshakeIODataStream in = new HandshakeIODataStream(); local
    [all...]
  /external/easymock/src/org/easymock/internal/
EasyMockProperties.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 * <li>easymock.properties in classpath default package</li>
58 InputStream in = getClassLoader().getResourceAsStream( local
60 if (in != null) {
61 in = new BufferedInputStream(in);
63 properties.load(in);
69 in.close();
  /external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/guide/
GetExample.java 20 InputStream in = null; local
23 in = connection.getInputStream();
24 byte[] response = readFully(in);
27 if (in != null) in.close();
31 byte[] readFully(InputStream in) throws IOException {
34 for (int count; (count = in.read(buffer)) != -1; ) {
PostExample.java 24 InputStream in = null; local
37 in = connection.getInputStream();
38 return readFirstLine(in);
42 if (in != null) in.close();
46 String readFirstLine(InputStream in) throws IOException {
47 BufferedReader reader = new BufferedReader(new InputStreamReader(in, "UTF-8"));
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
ProxyInputStream.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
44 // the proxy is stored in a protected superclass variable named 'in'
53 return in.read();
63 return in.read(bts);
75 return in.read(bts, st, end);
85 return in.skip(ln);
94 return in.available();
102 in.close()
    [all...]
ProxyReader.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
44 // the proxy is stored in a protected superclass variable named 'in'
53 return in.read();
63 return in.read(chr);
75 return in.read(chr, st, end);
85 return in.skip(ln);
94 return in.ready();
102 in.close()
    [all...]
  /packages/experimental/BugReportSender/src/com/android/bugreportsender/
BugReportPreviewActivity.java 45 InputStream in = null; local
47 // TODO: do this in a background thread, using handlers and all that nonsense.
48 in = getContentResolver().openInputStream(uri);
49 String text = BugReportParser.extractSystemLogs(in, section);
61 if (in != null) {
62 in.close();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DataFormatFieldTest.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
172 // implemented in
176 ObjectInputStream in = null; local
193 in = new ObjectInputStream(new ByteArrayInputStream(bytes
197 dfield2 = (Field) in.readObject();
204 in.readObject();
217 if (in != null)
218 in.close();
  /libcore/luni/src/test/java/libcore/java/util/zip/
GZIPOutputStreamTest.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
50 InputStream in = DeflaterOutputStreamTest.createInflaterStream(GZIPOutputStream.class, true); local
51 assertEquals(1, in.read());
52 assertEquals(2, in.read());
53 assertEquals(3, in.read());
54 in.close();
58 InputStream in = DeflaterOutputStreamTest.createInflaterStream(GZIPOutputStream.class, false); local
60 in.read();
64 in.close()
    [all...]
  /cts/common/host-side/xml-plan-generator/src/com/android/compatibility/common/xmlgenerator/
TestListParser.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
24 * Parser of test lists in the form;
43 Scanner in = null; local
45 in = new Scanner(input);
46 while (in.hasNextLine()) {
47 final String line = in.nextLine();
90 if (in != null) {
91 in.close();
  /cts/libs/vogar-expect/src/vogar/util/
Strings.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 BufferedReader in = new BufferedReader(reader); local
47 while ((line = in.readLine()) != null) {
51 in.close();
60 BufferedReader in = local
64 while ((line = in.readLine()) != null) {
67 in.close();
  /development/samples/Vault/src/com/example/android/vault/
Utils.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
59 final InputStream in = new FileInputStream(file); local
64 while ((count = in.read(buffer)) != -1) {
69 in.close();
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/
ParserLoader.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
51 // load all the class files in the "classDir" related to the grammarName
60 final InputStream in = new BufferedInputStream(new FileInputStream(f)); local
61 final byte[] classData = new byte[in.available()];
62 in.read(classData)
    [all...]
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
SequenceOfTest.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
83 DerInputStream in = new DerInputStream((byte[]) testcases[i][1]); local
85 .decode(in));
108 public Object getDecodedObject(BerInputStream in)
116 DerInputStream in = new DerInputStream((byte[]) testcases[i][1]); local
117 in.setVerify();
118 seqVerify.decode(in);
  /external/apache-harmony/support/src/test/java/tests/support/
Support_GetLocal.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
42 InputStream in = Support_GetLocal.class.getResourceAsStream(url); local
48 while ((result = in.read(buf)) != -1) {
51 in.close();
62 InputStream in = new URL(url).openStream(); local
68 while ((result = in.read(buf)) != -1) {
71 in.close();
80 InputStream in = new URL(url).openStream(); local
84 while ((result = in.read(buf)) != -1)
    [all...]
  /external/doclava/src/com/google/doclava/
JarUtils.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
69 InputStream in = fromJar.getInputStream(entry); local
75 while ((s = in.read(buffer)) > 0) {
82 in.close();
  /external/emma/core/java12/com/vladium/emma/rt/
RTExitHook.java 43 InputStream in = null; local
50 in = RTExitHook.class.getResourceAsStream (CLOSURE_RESOURCE);
51 if (in != null)
54 closureMap.load (in);
69 if (in != null) try { in.close (); } catch (IOException ignore) { ignore.printStackTrace (); }
71 in = null;
120 private Class m_RT; // keep our RT class pinned in memory
  /external/guava/guava-tests/test/com/google/common/io/
MultiInputStreamTest.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
87 InputStream in = joined.getInput(); local
88 assertFalse(in.markSupported());
89 assertEquals(10, in.available());
91 while (in.read() != -1) {
94 assertEquals(0, in.available());
  /external/jarjar/src/main/com/tonicsystems/jarjar/
DepFind.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
42 InputStream in = entry.openStream(); local
44 header.read(in);
49 in.close();
61 InputStream in = entry.openStream(); local
63 new ClassReader(in).accept(
69 in.close();
StringDumper.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
34 InputStream in = entry.openStream(); local
36 new ClassReader(in).accept(stringReader, 0);
40 in.close();
  /frameworks/base/core/java/android/speech/srec/
UlawEncoderInputStream.java 8 * use this file except in compliance with the License.
13 * Unless required by applicable law or agreed to in writing, software
52 // from 'ulaw' in wikipedia
54 // +8158 to +4063 in 16 intervals of 256 0x80 + interval number
55 // +4062 to +2015 in 16 intervals of 128 0x90 + interval number
56 // +2014 to +991 in 16 intervals of 64 0xA0 + interval number
57 // +990 to +479 in 16 intervals of 32 0xB0 + interval number
58 // +478 to +223 in 16 intervals of 16 0xC0 + interval number
59 // +222 to +95 in 16 intervals of 8 0xD0 + interval number
60 // +94 to +31 in 16 intervals of 4 0xE0 + interval numbe
177 InputStream in = mIn; local
    [all...]
  /frameworks/volley/tests/src/com/android/volley/toolbox/
ImageRequestTest.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
89 InputStream in = res.openRawResource(resId); local
93 while ((count = in.read(buffer)) != -1) {
96 in.close();
  /libcore/benchmarks/src/benchmarks/
BufferedZipFileBenchmark.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
58 InputStream in = zipFile.getInputStream(entry); local
60 while (in.read(buffer) != -1) {
62 in.close();
71 InputStream in = new BufferedInputStream(zipFile.getInputStream(entry)); local
73 while (in.read(buffer) != -1) {
75 in.close();

Completed in 98 milliseconds

1 2 3 4 5 67 8 91011>>