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

<<11121314151617181920>>

  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
ASN1Boolean.java 84 public void encodeContent(BerOutputStream out) {
85 out.encodeBoolean();
88 public void setEncodingContent(BerOutputStream out) {
89 out.length = 1;
ASN1Enumerated.java 81 public void encodeContent(BerOutputStream out) {
82 out.encodeInteger();
85 public void setEncodingContent(BerOutputStream out) {
86 out.length = ((byte[]) out.content).length;
ASN1OctetString.java 79 @Override public void encodeContent(BerOutputStream out) {
80 out.encodeOctetString();
83 @Override public void setEncodingContent(BerOutputStream out) {
84 out.length = ((byte[]) out.content).length;
  /libcore/luni/src/test/java/libcore/java/io/
OldPipedOutputStreamTest.java 33 public PReader(PipedOutputStream out) {
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.write('b')
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/annotation/
AnnotationTypeMismatchExceptionTest.java 37 ByteArrayOutputStream out = new ByteArrayOutputStream(); local
41 new ObjectOutputStream(out).writeObject(original);
  /libcore/luni/src/test/java/libcore/java/text/
DecimalFormatSymbolsTest.java 48 ByteArrayOutputStream out = new ByteArrayOutputStream(); local
49 new ObjectOutputStream(out).writeObject(originalDfs);
50 byte[] bytes = out.toByteArray();
  /libcore/luni/src/test/java/libcore/java/util/zip/
OldAndroidZipFileTest.java 78 ZipOutputStream out = new ZipOutputStream(bytesOut); local
89 out.putNextEntry(newEntry);
90 out.write(input, 0, input.length);
91 out.closeEntry();
94 out.setComment("This is a lovely compressed archive!");
96 out.close();
105 // System.out.println("Contents of " + zipFile + ":");
108 // System.out.println(" " + entry.getName());
ZipEntryTest.java 59 ZipOutputStream out = new ZipOutputStream(new FileOutputStream(f)); local
61 out.putNextEntry(new ZipEntry(filename));
62 out.closeEntry(); // Empty files are fine.
64 out.close();
108 ZipOutputStream out = createZipOutputStream(f); local
109 out.putNextEntry(new ZipEntry(maxLengthName));
110 out.closeEntry();
111 out.close();
133 ZipOutputStream out = createZipOutputStream(f); local
136 out.putNextEntry(ze)
160 ZipOutputStream out = createZipOutputStream(f); local
178 ZipOutputStream out = createZipOutputStream(f); local
    [all...]
ZipFileTest.java 91 FileOutputStream out = new FileOutputStream(f); local
92 out.write(bytes);
93 out.close();
106 ZipOutputStream out = new ZipOutputStream(baos); local
107 out.putNextEntry(new ZipEntry(name2));
108 out.closeEntry();
109 out.putNextEntry(new ZipEntry(name1));
110 out.closeEntry();
111 out.close();
135 ZipOutputStream out = new ZipOutputStream(baos) local
229 ZipOutputStream out = createZipOutputStream(result); local
260 ZipOutputStream out = createZipOutputStream(createTemporaryZipFile()); local
379 ZipOutputStream out = createZipOutputStream(file); local
426 ZipOutputStream out = createZipOutputStream(file); local
442 ZipOutputStream out = createZipOutputStream(file); local
472 ZipOutputStream out = createZipOutputStream(createTemporaryZipFile()); local
    [all...]
  /libcore/support/src/test/java/tests/support/resource/
Support_Resources.java 133 FileOutputStream out = new FileOutputStream(dest); local
134 copy(in, out);
135 out.close();
141 private static int copy(InputStream in, OutputStream out) throws IOException {
147 out.write(buffer, 0, c);
185 File f = File.createTempFile("out", ".xml");
187 FileOutputStream out = new FileOutputStream(f); local
192 out.write(b);
194 out.flush();
195 out.close()
202 FileOutputStream out = new FileOutputStream(dest); local
    [all...]
  /ndk/tests/abcc/src/compiler/abcc/
AbccService.java 184 OutputStream out = null; local
187 out = new FileOutputStream(out_dir + "/" + filename);
188 copyFile(in, out);
191 out.flush();
192 out.close();
193 out = null;
206 private void copyFile(InputStream in, OutputStream out) throws IOException {
210 out.write(buffer, 0, read);
  /packages/apps/Email/src/com/android/email/mail/internet/
EmailHtmlUtil.java 39 StringBuilder out = new StringBuilder(); local
43 out.append(text.substring(end, start));
49 out.append("&nbsp;");
51 out.append(' ');
53 out.append("<br>");
55 out.append("&lt;");
57 out.append("&gt;");
59 out.append("&amp;");
62 out.append(text.substring(end));
63 text = out.toString()
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/
DomainList.java 67 StringBuffer out = new StringBuffer(); local
69 out.append("@");
70 out.append(get(i));
72 out.append(",");
74 return out.toString();
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
CaptureLoader.java 44 BufferedWriter out = null; local
52 out = new BufferedWriter(new OutputStreamWriter(socket.getOutputStream()));
55 out.write("CAPTURE_LAYERS " + window.encode());
56 out.newLine();
57 out.flush();
74 if (out != null) {
75 out.close();
94 System.out.println("Found end of layers list");
98 System.out.println("name = " + name);
132 BufferedWriter out = null local
    [all...]
ViewHierarchyLoader.java 44 BufferedWriter out = null; local
49 System.out.println("==> Starting client");
55 out = new BufferedWriter(new OutputStreamWriter(socket.getOutputStream()));
58 System.out.println("==> DUMP");
60 out.write("DUMP " + window.encode());
61 out.newLine();
62 out.flush();
119 if (out != null) {
120 out.close();
131 System.out.println("==> DONE")
    [all...]
  /system/core/libsparse/
img2simg.c 49 int out; local
80 out = STDOUT_FILENO;
82 out = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
83 if (out < 0) {
105 ret = sparse_file_write(s, out, false, true, false);
112 close(out);
simg2simg.c 45 int out; local
98 out = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
99 if (out < 0) {
104 ret = sparse_file_write(out_s[i], out, false, true, false);
109 close(out);
  /system/media/audio_utils/
channels.c 48 uint8x3_t out; local
50 out.c[2] = in;
51 out.c[1] = in >> 8;
52 out.c[0] = in >> 16;
54 out.c[0] = in;
55 out.c[1] = in >> 8;
56 out.c[2] = in >> 16;
58 return out;
224 * The out and sums buffers must either be completely separate (non-overlapping), or
295 * The out and sums buffers must either be completely separate (non-overlapping), o
    [all...]
  /frameworks/base/services/core/java/com/android/server/am/
CompatModePackages.java 362 XmlSerializer out = new FastXmlSerializer(); local
363 out.setOutput(fos, "utf-8");
364 out.startDocument(null, true);
365 out.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true);
366 out.startTag(null, "compat-packages");
395 out.startTag(null, "pkg");
396 out.attribute(null, "name", pkg);
397 out.attribute(null, "mode", Integer.toString(mode));
398 out.endTag(null, "pkg");
401 out.endTag(null, "compat-packages")
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
JarURLConnectionTest.java 145 JarOutputStream out = new JarOutputStream(new FileOutputStream(jarFile)); local
146 out.putNextEntry(new ZipEntry("test"));
147 out.closeEntry();
148 out.close();
212 JarOutputStream out = new JarOutputStream(new BufferedOutputStream( local
215 out.putNextEntry(jarEntry);
216 out.write(new byte[] { 'a', 'b', 'c' });
217 out.close();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
CharsetDecoderTest.java 113 // Commented out since the comment is wrong since MAX_BYTES > 1
214 CharBuffer out = decoder.decode(ByteBuffer.allocate(0)); local
215 assertCharBufferValue("", out);
219 out = decoder.decode(in);
220 assertEquals(0, out.position());
221 assertEquals(getString().length(), out.limit());
222 assertEquals(getString().length(), out.remaining());
223 assertCharBufferValue(getString(), out); local
227 out = decoder.decode(in);
228 assertEquals(out.position(), 0)
231 assertCharBufferValue(getString(), out); local
236 CharBuffer out; local
256 assertCharBufferValue(getString(), out); local
280 assertCharBufferValue(getString(), out); local
309 CharBuffer out = CharBuffer.allocate(100); local
333 assertCharBufferValue(getString(), out); local
346 assertCharBufferValue(getString(), out); local
360 assertCharBufferValue(getString() + getString() + getString(), out); local
409 CharBuffer out = CharBuffer.allocate(50); local
422 assertCharBufferValue(getString(), out); local
429 assertCharBufferValue(decoder.replacement() + getString(), out); local
463 CharBuffer out = CharBuffer.allocate(getString().length() * 3); local
475 assertCharBufferValue(getString(), out); local
482 assertCharBufferValue(decoder.replacement() + getString(), out); local
512 CharBuffer out = CharBuffer.allocate(50); local
572 CharBuffer out = CharBuffer.allocate(10); local
602 CharBuffer out = CharBuffer.allocate(5); local
668 CharBuffer out = CharBuffer.allocate(100); local
708 CharBuffer out = CharBuffer.allocate(5); local
    [all...]
CharsetEncoderTest.java 139 // Commented out since the comment is wrong since MAX_BYTES > 1
213 // Commented out since the comment is wrong since MAX_BYTES > 1
283 ByteBuffer out = ByteBuffer.allocate(5); local
288 encoder.flush(out);
295 encoder.encode(in, out, true);
296 out.rewind();
297 CoderResult result = encoder.flush(out);
300 encoder.flush(out);
304 encoder.encode(in, out, false);
306 encoder.flush(out);
313 ByteBuffer out = ByteBuffer.allocate(5); local
373 ByteBuffer out = ByteBuffer.allocate(5); local
423 ByteBuffer out = ByteBuffer.allocate(5); local
575 ByteBuffer out = encoder.encode(CharBuffer.wrap("")); local
627 ByteBuffer out; local
707 ByteBuffer out = ByteBuffer.allocate(200); local
830 ByteBuffer out = ByteBuffer.allocate(100); local
916 ByteBuffer out = ByteBuffer.allocate(6); local
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
CodeItem.java 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
73 @Override public void annotateSection(@Nonnull AnnotatedBytes out) {
75 super.annotateSection(out);
87 public void annotateItem(@Nonnull AnnotatedBytes out, int itemIndex, @Nullable String itemIdentity) {
89 DexReader reader = dexFile.readerAt(out.getCursor());
92 out.annotate(2, "registers_size = %d", registers);
95 out.annotate(2, "ins_size = %d", inSize);
98 out.annotate(2, "outs_size = %d", outSize);
101 out.annotate(2, "tries_size = %d", triesCount);
104 out.annotate(4, "debug_info_off = 0x%x", debugInfoOffset)
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
TestNan.java 39 public Target.Floaty out; field in class:TestNan.ArgumentsUintFloat
45 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local
46 script.forEach_testNanUintFloat(in, out);
47 verifyResultsNanUintFloat(in, out, false);
52 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local
53 scriptRelaxed.forEach_testNanUintFloat(in, out);
54 verifyResultsNanUintFloat(in, out, true);
60 private void verifyResultsNanUintFloat(Allocation in, Allocation out, boolean relaxed) {
64 out.copyTo(arrayOut);
70 // Figure out what the outputs should have been
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
GrammarSerializerFoo.java 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
46 protected DataOutputStream out; field in class:GrammarSerializerFoo
62 out = new DataOutputStream(bos);
63 writeString(out, SerializedGrammar.COOKIE);
64 out.writeByte(SerializedGrammar.FORMAT_VERSION);
68 if ( out!=null ) out.close();
69 out = null;
79 case ANTLRParser.LEXER_GRAMMAR : out.writeByte('l'); break;
80 case ANTLRParser.PARSER_GRAMMAR : out.writeByte('p'); break
    [all...]

Completed in 61 milliseconds

<<11121314151617181920>>