Searched defs:out (Results 51 - 75 of 107) sorted by relevance

12345

/libcore/luni/src/main/java/java/io/
H A DPipedReader.java39 * range {@code [out, in)} and written to the range {@code [in, out)}.
44 * out in</pre>
49 * in out</pre>
52 * {@code in == out}. Writing when the buffer is full will block until free
65 private int out; field in class:PipedReader
86 * {@code out}. Any data written to the writer can be read from the this
89 * @param out
92 * if {@code out} is already connected.
94 public PipedReader(PipedWriter out) throw argument
125 PipedReader(PipedWriter out, int pipeSize) argument
[all...]
H A DObjectStreamField.java265 boolean writeField(DataOutputStream out) throws IOException { argument
267 out.writeByte(typeCodeOf(t));
268 out.writeUTF(name);
H A DPrintStream.java50 * 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) { argument
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} i
80 PrintStream(OutputStream out, boolean autoFlush) argument
106 PrintStream(OutputStream out, boolean autoFlush, String charsetName) argument
[all...]
/libcore/luni/src/main/java/java/lang/reflect/
H A DAccessibleObject.java231 * Appends the best {@link #toString} name for {@code c} to {@code out}.
237 void appendTypeName(StringBuilder out, Class<?> c) { argument
243 out.append(c.getName());
245 out.append("[]");
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
H A DASN1Choice.java319 public void encodeASN(BerOutputStream out) { argument
320 encodeContent(out);
323 public final void encodeContent(BerOutputStream out) { argument
324 out.encodeChoice(this);
331 public final void setEncodingContent(BerOutputStream out) { argument
332 out.getChoiceLength(this);
H A DASN1StringType.java66 @Override public void setEncodingContent(BerOutputStream out) {
67 byte[] bytes = ((String) out.content).getBytes(Charsets.UTF_8);
68 out.content = bytes;
69 out.length = bytes.length;
106 public void encodeASN(BerOutputStream out) { argument
107 out.encodeTag(id);
108 encodeContent(out);
111 public void encodeContent(BerOutputStream out) { argument
112 out.encodeString();
115 public void setEncodingContent(BerOutputStream out) { argument
[all...]
H A DASN1Type.java107 DerOutputStream out = new DerOutputStream(this, object);
108 return out.encoded;
141 public abstract void encodeASN(BerOutputStream out); argument
143 public abstract void encodeContent(BerOutputStream out); argument
145 public abstract void setEncodingContent(BerOutputStream out); argument
147 public int getEncodedLength(BerOutputStream out) { //FIXME name argument
154 if (out.length > 127) {
157 for (int cur = out.length >> 8; cur > 0; len++) {
161 len += out.length;
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DClientHello.java173 * @param out
176 public void send(HandshakeIODataStream out) { argument
177 out.write(client_version);
178 out.write(random);
179 out.writeUint8(session_id.length);
180 out.write(session_id);
182 out.writeUint16(size);
184 out.write(cipher_suites[i].toBytes());
186 out.writeUint8(compression_methods.length);
188 out
[all...]
H A DPRF.java67 * @param out: the buffer to fill up with the value of the function.
71 static synchronized void computePRF_SSLv3(byte[] out, byte[] secret, byte[] seed) { argument
78 while (pos < out.length) {
87 if (pos + 16 > out.length) {
88 System.arraycopy(digest, 0, out, pos, out.length - pos);
89 pos = out.length;
91 System.arraycopy(digest, 0, out, pos, 16);
99 * @param out: the buffer to fill up with the value of the function.
104 synchronized static void computePRF(byte[] out, byt argument
[all...]
H A DServerKeyExchange.java144 * @param out
147 public void send(HandshakeIODataStream out) { argument
148 out.writeUint16(bytes1.length);
149 out.write(bytes1);
150 out.writeUint16(bytes2.length);
151 out.write(bytes2);
153 out.writeUint16(bytes3.length);
154 out.write(bytes3);
157 out.writeUint16(hash.length);
158 out
[all...]
/libcore/luni/src/test/java/libcore/java/io/
H A DOldPipedOutputStreamTest.java33 public PReader(PipedOutputStream out) { argument
35 reader = new PipedInputStream(out);
37 System.out.println("Exception setting up reader: "
66 System.out.println("Exception reading ("
83 PipedOutputStream out; field in class:OldPipedOutputStreamTest
86 out = new PipedOutputStream();
87 assertNotNull(out);
89 out.close();
99 out = new PipedOutputStream(new PipedInputStream());
100 out
[all...]
H A DInterruptedStreamTest.java65 PipedOutputStream out = new PipedOutputStream();
66 PipedInputStream in = new PipedInputStream(out);
71 PipedOutputStream out = new PipedOutputStream();
72 new PipedInputStream(out);
73 testInterruptOutputStream(out);
152 private void testInterruptOutputStream(final OutputStream out) throws Exception { argument
157 out.write(new byte[BUFFER_SIZE]);
/libcore/support/src/test/java/tests/support/resource/
H A DSupport_Resources.java133 FileOutputStream out = new FileOutputStream(dest);
134 copy(in, out);
135 out.close();
141 private static int copy(InputStream in, OutputStream out) throws IOException { argument
147 out.write(buffer, 0, c);
185 File f = File.createTempFile("out", ".xml");
187 FileOutputStream out = new FileOutputStream(f);
192 out.write(b);
194 out.flush();
195 out
[all...]
/libcore/dalvik/src/main/java/dalvik/system/profiler/
H A DBinaryHprofWriter.java42 private final DataOutputStream out; field in class:BinaryHprofWriter
53 this.out = new DataOutputStream(outputStream);
75 out.flush();
80 out.writeBytes(BinaryHprof.MAGIC + "1.0.2");
81 out.writeByte(0); // null terminated string
82 out.writeInt(BinaryHprof.ID_SIZE);
83 out.writeLong(dumpTimeInMilliseconds);
94 out.writeInt(flags);
95 out.writeShort((short) depth);
117 out
[all...]
/libcore/json/src/main/java/org/json/
H A DJSONStringer.java64 final StringBuilder out = new StringBuilder(); field in class:JSONStringer
175 if (stack.isEmpty() && out.length() > 0) {
180 out.append(openBracket);
198 out.append(closeBracket);
246 out.append(value);
249 out.append(JSONObject.numberToString((Number) value));
268 out.append(value);
284 out.append(JSONObject.numberToString(value));
298 out.append(value);
303 out
[all...]
/libcore/luni/src/main/java/java/lang/
H A DStringBuilder.java688 * @param out
696 private void writeObject(ObjectOutputStream out) throws IOException { argument
697 out.defaultWriteObject();
698 out.writeInt(length());
699 out.writeObject(getValue());
H A DThrowable.java443 private void writeObject(ObjectOutputStream out) throws IOException { argument
446 out.defaultWriteObject();
/libcore/luni/src/main/java/java/nio/charset/
H A DCharsetDecoderICU.java102 @Override protected final CoderResult implFlush(CharBuffer out) { argument
109 data[OUTPUT_OFFSET] = getArray(out);
124 setPosition(out);
129 @Override protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { argument
135 data[OUTPUT_OFFSET]= getArray(out);
154 setPosition(out);
167 private int getArray(CharBuffer out) { argument
168 if (out.hasArray()) {
169 output = out.array();
170 outEnd = out
203 setPosition(CharBuffer out) argument
[all...]
/libcore/luni/src/main/java/java/sql/
H A DDriverManager.java354 * @param out
358 public static void setLogStream(PrintStream out) { argument
359 thePrintStream = out;
366 * @param out
369 public static void setLogWriter(PrintWriter out) { argument
370 thePrintWriter = out;
/libcore/luni/src/main/java/java/util/jar/
H A DPack200.java196 * @param out
201 void pack(JarFile in, OutputStream out) throws IOException; argument
209 * @param out
214 void pack(JarInputStream in, OutputStream out) throws IOException; argument
277 * @param out
282 void unpack(InputStream in, JarOutputStream out) throws IOException; argument
290 * @param out
295 void unpack(File in, JarOutputStream out) throws IOException; argument
/libcore/luni/src/main/java/java/util/zip/
H A DZipInputStream.java49 * files out of a ZIP archive, similar to the {@code unzip(1)} utility.
157 int inB, out;
160 out = inf.getTotalOut();
163 out = inRead;
172 readAndVerifyDataDescriptor(inB, out);
196 private void readAndVerifyDataDescriptor(int inB, int out) throws IOException { argument
210 if (currentEntry.compressedSize != inB || currentEntry.size != out) {
/libcore/luni/src/main/java/javax/security/auth/x500/
H A DX500Principal.java294 private void writeObject(ObjectOutputStream out) throws IOException { argument
295 out.writeObject(dn.getEncoded());
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DInnerNodeImpl.java231 void getElementsByTagName(NodeListImpl out, String name) { argument
236 out.add(element);
238 element.getElementsByTagName(out, name);
243 void getElementsByTagNameNS(NodeListImpl out, String namespaceURI, String localName) { argument
249 out.add(element);
251 element.getElementsByTagNameNS(out, namespaceURI, localName);
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldThreadGroupTest.java368 private void populateGroupsWithThreads(ThreadGroup group, int threadCount, List<MyThread> out) { argument
370 out.add(new MyThread(group, "MyThread " + i + " of " + threadCount));
376 populateGroupsWithThreads(element, threadCount, out);
/libcore/support/src/test/java/libcore/javax/net/ssl/
H A DTestKeyManager.java39 private static final PrintStream out = LOG ? System.out : new NullPrintStream(); field in class:TestKeyManager
59 out.println("TestKeyManager.<init> keyManager=" + keyManager);
64 out.print("TestKeyManager.chooseClientAlias");
65 out.print(" | keyTypes: ");
67 out.print(keyType);
68 out.print(' ');
89 out.print("TestKeyManager.chooseServerAlias");
90 out.print(" | keyType: ");
91 out
[all...]

Completed in 301 milliseconds

12345