HomeSort by relevance Sort by last modified time
    Searched defs:out (Results 201 - 225 of 3043) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/okhttp/okio/src/main/java/okio/
Okio.java 58 /** Returns a sink that writes to {@code out}. */
59 public static Sink sink(final OutputStream out) {
70 out.write(head.data, head.pos, toCopy);
84 out.flush();
88 out.close();
98 return "sink(" + out + ")";
  /libcore/luni/src/main/java/java/io/
OutputStreamWriter.java 40 private final OutputStream out; field in class:OutputStreamWriter
47 * Constructs a new OutputStreamWriter using {@code out} as the target
51 * @param out
54 public OutputStreamWriter(OutputStream out) {
55 this(out, Charset.defaultCharset());
59 * Constructs a new OutputStreamWriter using {@code out} as the target
64 * @param out
73 public OutputStreamWriter(OutputStream out, final String charsetName)
75 super(out);
79 this.out = out
    [all...]
PrintStream.java 50 * Constructs a new {@code PrintStream} with {@code out} as its target
54 * @param out
57 * if {@code out} is {@code null}.
59 public PrintStream(OutputStream out) {
60 super(out);
61 if (out == null) {
62 throw new NullPointerException("out == null");
67 * Constructs a new {@code PrintStream} with {@code out} as its target
72 * @param out
78 * if {@code out} is {@code null}
    [all...]
  /libcore/luni/src/main/java/java/util/zip/
DeflaterOutputStream.java 118 out.write(buf, 0, byteCount);
138 out.close();
155 out.write(buf, 0, byteCount);
197 out.write(buf, 0, byteCount);
200 out.flush();
InflaterOutputStream.java 41 * implementation-defined default internal buffer size. {@code out} is a destination
44 * @param out the destination {@code OutputStream}
46 public InflaterOutputStream(OutputStream out) {
47 this(out, new Inflater());
52 * implementation-defined default internal buffer size. {@code out} is a destination
55 * @param out the destination {@code OutputStream}
58 public InflaterOutputStream(OutputStream out, Inflater inf) {
59 this(out, inf, DEFAULT_BUFFER_SIZE);
64 * given internal buffer size. {@code out} is a destination
67 * @param out the destination {@code OutputStream
    [all...]
  /libcore/luni/src/main/java/libcore/net/
UriCodec.java 158 ByteArrayOutputStream out = new ByteArrayOutputStream(); local
167 out.write((byte) ((d1 << 4) + d2));
172 out.write(replacement, 0, replacement.length);
176 result.append(new String(out.toByteArray(), charset));
177 out.reset();
  /libcore/luni/src/test/java/libcore/javax/net/
ServerSocketFactoryTest.java 80 ByteArrayOutputStream out = new ByteArrayOutputStream(); local
81 transfer(in, out);
82 assertEquals(Arrays.toString(data), Arrays.toString(out.toByteArray()));
107 System.out.println("backlog peaked at " + peak);
124 private void transfer(InputStream in, ByteArrayOutputStream out) throws IOException {
128 out.write(buffer, 0, count);
  /libcore/support/src/test/java/org/apache/harmony/testframework/
CharSinkTester.java 96 Writer out = create(); local
97 out.close();
104 Writer out = create(); local
106 out.write(a, 1000, 0);
107 out.write(a, 0, 0);
108 out.write(new char[] { });
110 out.close();
117 Writer out = create(); local
119 out.write(c);
122 out.close()
129 Writer out = create(); local
141 Writer out = create(); local
172 Writer out = create(); local
181 Writer out = create(); local
196 Writer out = create(); local
    [all...]
SinkTester.java 97 OutputStream out = create(); local
98 out.close();
105 OutputStream out = create(); local
107 out.write(a, 1000, 0);
108 out.write(a, 0, 0);
109 out.write(new byte[] { });
111 out.close();
118 OutputStream out = create(); local
120 out.write(b);
123 out.close()
134 OutputStream out = create(); local
156 OutputStream out = create(); local
184 OutputStream out = create(); local
193 OutputStream out = create(); local
208 OutputStream out = create(); local
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/utility/
UriCodec.java 173 ByteArrayOutputStream out = new ByteArrayOutputStream(); local
187 out.write((byte) ((d1 << 4) + d2));
190 result.append(new String(out.toByteArray(), charset));
191 out.reset();
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
ContactPhotoUtils.java 48 * Generate a new, unique file to be used as an out-of-band communication
83 final ByteArrayOutputStream out = new ByteArrayOutputStream(size); local
85 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
86 out.flush();
87 out.close();
88 return out.toByteArray();
  /dalvik/dx/src/com/android/dx/dex/cf/
CfTranslator.java 124 ClassDefItem out = local
131 out.setClassAnnotations(classAnnotations, dexFile);
136 processFields(cf, out, dexFile);
137 processMethods(cf, cfOptions, dexOptions, out, dexFile);
156 return out;
163 * @param out {@code non-null;} output class
167 DirectClassFile cf, ClassDefItem out, DexFile dexFile) {
184 out.addStaticField(fi, constVal);
187 out.addInstanceField(fi);
193 out.addFieldAnnotations(field, annotations, dexFile)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
ReportExporter.java 70 ZipOutputStream out = null; local
72 out = new ZipOutputStream(new BufferedOutputStream(new FileOutputStream(reportFile)));
74 out.putNextEntry(entry);
75 out.write(contents);
81 if (out != null) {
82 out.close();
  /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
TextReport.java 31 PrintStream out = new PrintStream(outputStream); local
40 printPackage(apiPackage, out);
44 out.println();
45 out.println();
49 printPackage(apiPackage, out);
55 printClass(apiClass, out);
61 printConstructor(constructor, out);
67 printMethod(method, out);
75 private static void printPackage(ApiPackage apiPackage, PrintStream out) {
76 out.println(apiPackage.getName() + "
    [all...]
  /development/samples/Vault/src/com/example/android/vault/
Utils.java 50 final OutputStream out = new FileOutputStream(file); local
52 out.write(data);
54 out.close();
  /external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
LiteTest.java 28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
131 ObjectOutputStream out = new ObjectOutputStream(baos); local
133 out.writeObject(expected);
135 out.close();
  /external/emma/core/java12/com/vladium/util/
Descriptors.java 100 final StringBuffer out = new StringBuffer (); local
107 out.append (className);
109 out.append (methodVMName);
116 out.append (methodVMName);
122 out.append (" (");
128 if (start > 1) out.append (", ");
129 start = typeDescriptorToJavaName (chars, start, shortTypeNames, out);
135 out.append ("): ");
137 typeDescriptorToJavaName (chars, end + 1, shortTypeNames, out);
141 out.append (')')
    [all...]
  /external/jarjar/src/main/com/tonicsystems/jarjar/util/
StandaloneJarProcessor.java 33 JarOutputStream out = new JarOutputStream(new FileOutputStream(tmpTo)); local
50 out.putNextEntry(entry);
51 out.write(struct.data);
63 out.close();
  /external/javassist/sample/evolve/
DemoServer.java 47 public void doReply(InputStream in, OutputStream out, String cmd)
51 runJava(out);
72 super.doReply(in, out, cmd);
76 OutputStreamWriter out = new OutputStreamWriter(outs); local
77 out.write("HTTP/1.0 200 OK\r\n\r\n");
79 page.show(out);
80 out.close();
  /external/objenesis/tck/test/org/objenesis/tck/
TextReporterTest.java 71 PrintStream out = new PrintStream(expectedSummaryBuffer); local
72 out.println("Running TCK on platform: Some platform");
73 out.println();
74 out.println("Not serializable parent constructor called: Y");
75 out.println();
76 out.println(" instantiator1 instantiator2 instantiator3 ");
77 out.println("candidate A n n Y ");
78 out.println("candidate B Y n Y ");
79 out.println("candidate C n n Y ");
80 out.println()
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
RecordingReceiver.java 44 ByteArrayOutputStream out = inFlightResponses.get(response); local
45 if (out == null) {
46 out = new ByteArrayOutputStream();
47 inFlightResponses.put(response, out);
59 response.request(), response, out.toString("UTF-8"), null));
64 out.write(buffer, 0, c);
90 throw new AssertionError("Timed out waiting for response to " + url);
  /external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/
Socks5Client.java 66 * @throws TimeoutException if connecting to SOCKS5 proxy timed out
141 DataOutputStream out = new DataOutputStream(socket.getOutputStream()); local
150 out.write(cmd);
151 out.flush();
163 out.write(connectionRequest);
164 out.flush();
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
AnnotationDirectoryItem.java 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
58 protected void annotateItem(@Nonnull AnnotatedBytes out, int itemIndex, @Nullable String itemIdentity) {
59 int classAnnotationsOffset = dexFile.readSmallUint(out.getCursor());
60 out.annotate(4, "class_annotations_off = %s",
63 int fieldsSize = dexFile.readSmallUint(out.getCursor());
64 out.annotate(4, "fields_size = %d", fieldsSize);
66 int annotatedMethodsSize = dexFile.readSmallUint(out.getCursor());
67 out.annotate(4, "annotated_methods_size = %d", annotatedMethodsSize);
69 int annotatedParameterSize = dexFile.readSmallUint(out.getCursor());
70 out.annotate(4, "annotated_parameters_size = %d", annotatedParameterSize)
    [all...]
  /frameworks/base/core/java/android/text/util/
Rfc822Tokenizer.java 45 public static void tokenize(CharSequence text, Collection<Rfc822Token> out) {
66 out.add(new Rfc822Token(name.toString(),
70 out.add(new Rfc822Token(null,
151 out.add(new Rfc822Token(name.toString(),
155 out.add(new Rfc822Token(null,
172 ArrayList<Rfc822Token> out = new ArrayList<Rfc822Token>(); local
173 tokenize(text, out);
174 return out.toArray(new Rfc822Token[out.size()]);
  /frameworks/base/services/core/java/com/android/server/net/
DelayedDiskWrite.java 37 public void onWriteCalled(DataOutputStream out) throws IOException;
63 DataOutputStream out = null; local
65 out = new DataOutputStream(new BufferedOutputStream(
67 w.onWriteCalled(out);
71 if (out != null) {
73 out.close();

Completed in 2598 milliseconds

1 2 3 4 5 6 7 891011>>