/external/nanohttpd/webserver/src/test/java/fi/iki/elonen/ |
AbstractTestHttpServer.java | 31 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 53 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 58 out.write(buffer, 0, count); 60 bytes = out.toByteArray();
|
/external/proguard/src/proguard/gui/ |
TextAreaOutputStream.java | 67 ByteArrayOutputStream out = (ByteArrayOutputStream)super.out; local 70 String text = out.toString(); 77 out.reset();
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
CountOutputStream.java | 24 private final OutputStream out; field in class:CountOutputStream 31 * @param out an <code>OutputStream</code> 33 CountOutputStream(OutputStream out) 35 this.out = out; 45 out.write(buf, off, len); 56 out.write(buf); 67 out.write(b);
|
/external/xz-java/src/ |
LZMAEncDemo.java | 45 OutputStream out = new BufferedOutputStream(System.out); local 46 LZMAOutputStream encoder = new LZMAOutputStream(out, options, 55 out.flush();
|
TestAllocSpeed.java | 52 XZOutputStream out = new XZOutputStream(byteStream, options); local 53 out.write(testdata, 0, testdataSize); 54 out.finish();
|
/external/guava/guava-tests/test/com/google/common/io/ |
FileBackedOutputStreamTest.java | 46 FileBackedOutputStream out = new FileBackedOutputStream(0, true); local 48 write(out, data, 0, 100, true); 49 final File file = out.getFile(); 52 out.close(); 55 out = null; 57 // times out and throws RuntimeException on failure 80 FileBackedOutputStream out = new FileBackedOutputStream(fileThreshold, resetOnFinalize); local 81 ByteSource source = out.asByteSource(); 87 write(out, data, 0, chunk1, singleByte); 90 File file = out.getFile() 129 FileBackedOutputStream out = new FileBackedOutputStream(50); local 150 FileBackedOutputStream out = new FileBackedOutputStream(Integer.MAX_VALUE); local [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_GetLocal.java | 45 FileOutputStream out = new FileOutputStream(temp); local 49 out.write(buf, 0, result); 52 out.close(); 65 FileOutputStream out = new FileOutputStream(temp); local 69 out.write(buf, 0, result); 72 out.close(); 81 ByteArrayOutputStream out = new ByteArrayOutputStream(256); local 85 out.write(buf, 0, result); 87 return new ByteArrayInputStream(out.toByteArray());
|
/external/apache-http/src/org/apache/http/impl/conn/ |
LoggingSessionOutputBuffer.java | 54 private final SessionOutputBuffer out; field in class:LoggingSessionOutputBuffer 61 * @param out The session output buffer. 64 public LoggingSessionOutputBuffer(final SessionOutputBuffer out, final Wire wire) { 66 this.out = out; 71 this.out.write(b, off, len); 78 this.out.write(b); 85 this.out.write(b); 92 this.out.flush(); 96 this.out.writeLine(buffer) [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
ContentLengthOutputStream.java | 58 private final SessionOutputBuffer out; field in class:ContentLengthOutputStream 75 * @param out The data transmitter to wrap 81 public ContentLengthOutputStream(final SessionOutputBuffer out, long contentLength) { 83 if (out == null) { 89 this.out = out; 101 this.out.flush(); 106 this.out.flush(); 118 this.out.write(b, off, len); 132 this.out.write(b) [all...] |
/external/cldr/tools/java/org/unicode/cldr/tool/ |
GenerateScriptMetadata.java | 23 PrintWriter out = FileUtilities.openUTF8Writer(CLDRPaths.COMMON_DIRECTORY + "/properties", "scriptMetadata.txt"); local 24 // PrintWriter out = new PrintWriter(System.out); 25 // FileUtilities.appendFile(GenerateScriptMetadata.class, "GenerateScriptMetadata.txt", out); 26 FileCopier.copy(GenerateScriptMetadata.class, "GenerateScriptMetadata.txt", out); 44 out.println(script 59 out.println(); 60 out.println("# EOF"); 61 out.close();
|
/external/desugar/java/com/google/devtools/build/android/desugar/io/ |
ZipOutputFileProvider.java | 31 private final ZipOutputStream out; field in class:ZipOutputFileProvider 34 out = new ZipOutputStream(new BufferedOutputStream(Files.newOutputStream(root))); 40 out.putNextEntry(inputFileProvider.getZipEntry(filename)); 42 ByteStreams.copy(is, out); 44 out.closeEntry(); 51 writeStoredEntry(out, filename, content); 56 out.close(); 59 private static void writeStoredEntry(ZipOutputStream out, String filename, byte[] content) 74 out.putNextEntry(result); 75 out.write(content) [all...] |
/external/doclava/src/com/google/doclava/ |
JarUtils.java | 68 FileOutputStream out = new FileOutputStream(dest); local 76 out.write(buffer, 0, s); 85 out.close();
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/ |
Resources.java | 126 final OutputStream out = folder.createFile(name); local 130 out.write(buffer, 0, len); 133 out.close();
|
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
Okio.java | 62 /** Returns a sink that writes to {@code out}. */ 63 public static Sink sink(OutputStream out) { 64 return sink(out, new Timeout()); 67 private static Sink sink(final OutputStream out, final Timeout timeout) { 68 if (out == null) throw new IllegalArgumentException("out == null"); 78 out.write(head.data, head.pos, toCopy); 92 out.flush(); 96 out.close(); 104 return "sink(" + out + ")" [all...] |
/art/compiler/optimizing/ |
intrinsics_utils.h | 65 Location out = invoke_->GetLocations()->Out(); variable 66 if (out.IsValid()) { 67 DCHECK(out.IsRegister()); // TODO: Replace this when we support output in memory. 68 DCHECK(!invoke_->GetLocations()->GetLiveRegisters()->ContainsCoreRegister(out.reg())); 69 codegen->MoveFromReturnRegister(out, invoke_->GetType());
|
/art/test/1901-get-bytecodes/ |
bytecodes.cc | 51 jbyteArray out = env->NewByteArray(bytecodes_size); local 55 return out; 57 jbyte* bytes = env->GetByteArrayElements(out, /* is_copy */ nullptr); 59 env->ReleaseByteArrayElements(out, bytes, 0); 60 return out;
|
/art/test/301-abstract-protected/src/ |
Main.java | 19 System.out.println(new C().m());
|
/art/test/519-bound-load-class/src/ |
Main.java | 29 System.out.println((Main)o); 36 System.out.println((Main)o);
|
/art/test/972-iface-super-multidex/src/ |
Main.java | 24 System.out.println("Could not load class"); 25 e.printStackTrace(System.out); 30 System.out.println((String)m.invoke(c.newInstance(), new Object[0])); 32 System.out.println("Unknown exception occurred"); 33 e.printStackTrace(System.out); 38 System.out.println((String)m.invoke(c.newInstance(), new Object[0])); 43 System.out.println("Unexpected AME caught"); 44 e.printStackTrace(System.out); 46 System.out.println("Unexpected NSME caught"); 47 e.printStackTrace(System.out); [all...] |
/build/blueprint/bootstrap/bpglob/ |
bpglob.go | 17 // out build.ninja regenerations when non-matching files are added. See 30 out = flag.String("o", "", "file to write list of files that match glob") 55 fmt.Fprintln(os.Stderr, "usage: bpglob -o out glob") 63 if *out == "" { 72 _, err := pathtools.GlobWithDepFile(flag.Arg(0), *out, *out+".d", excludes) 29 out = flag.String("o", "", "file to write list of files that match glob") var
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
Poc17_04.java | 49 String out = AdbUtils.runPoc("CVE-2016-10229", getDevice()); local 50 assertNotMatchesMultiLine("OVERWRITE", out);
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
ArrayData.java | 110 public void writeTo(AnnotatedOutput out) { 113 out.writeShort(0x300 | DalvOps.NOP); 114 out.writeShort(elemWidth); 115 out.writeInt(initLength); 123 out.writeByte((byte) ((CstLiteral32) cst).getIntBits()); 130 out.writeShort((short) ((CstLiteral32) cst).getIntBits()); 137 out.writeInt(((CstLiteral32) cst).getIntBits()); 144 out.writeLong(((CstLiteral64) cst).getLongBits()); 154 out.writeByte(0x00);
|
/dalvik/dx/src/com/android/dx/dex/code/ |
ArrayData.java | 112 public void writeTo(AnnotatedOutput out) { 115 out.writeShort(Opcodes.FILL_ARRAY_DATA_PAYLOAD); 116 out.writeShort(elemWidth); 117 out.writeInt(initLength); 125 out.writeByte((byte) ((CstLiteral32) cst).getIntBits()); 132 out.writeShort((short) ((CstLiteral32) cst).getIntBits()); 139 out.writeInt(((CstLiteral32) cst).getIntBits()); 146 out.writeLong(((CstLiteral64) cst).getLongBits()); 156 out.writeByte(0x00);
|
/dalvik/libdex/ |
Leb128.h | 46 * Note: We don't check to see if cur is out of 89 * Note: We don't check to see if cur is out of 136 u1 out = data & 0x7f; local 137 if (out != data) { 138 *ptr++ = out | 0x80; 141 *ptr++ = out;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
testcapi_long.h | 32 TYPENAME in, out;
local 65 out = F_PY_TO_S(pyresult);
66 if (out == (TYPENAME)-1 && PyErr_Occurred())
69 if (out != in)
82 TYPENAME out;
138 out = F_PY_TO_S(y);
139 if (out != (TYPENAME)-1 || !PyErr_Occurred())
163 out = F_PY_TO_S(y);
164 if (out != (TYPENAME)-1 || !PyErr_Occurred())
|