/system/update_engine/payload_generator/ |
zip_unittest.cc | 71 bool DecompressWithWriter(const brillo::Blob& in, brillo::Blob* out) { 73 new W(brillo::make_unique_ptr(new MemoryExtentWriter(out)))); 87 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const = 0; 88 bool ZipDecompress(const brillo::Blob& in, brillo::Blob* out) const = 0; 96 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const { 97 return BzipCompress(in, out); 99 bool ZipDecompress(const brillo::Blob& in, brillo::Blob* out) const { 100 return DecompressWithWriter<BzipExtentWriter>(in, out); 109 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const { 110 return XzCompress(in, out); 135 brillo::Blob out; local 147 brillo::Blob out; local 158 brillo::Blob out; local 164 brillo::Blob out; local [all...] |
/tools/tradefederation/core/prod-tests/tests/src/com/android/continuous/ |
SmokeTestTest.java | 42 TestIdentifier out = new TestIdentifier("SmokeFAST", local 44 mListener.testStarted(EasyMock.eq(out));
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
SerializationUtil.java | 39 ObjectOutputStream out = null; local 42 out = new ObjectOutputStream(fileOut); 43 out.writeObject(o); 49 StreamUtil.close(out);
|
StringEscapeUtils.java | 39 StringBuilder out = new StringBuilder(); local 45 out.append("\\$"); 48 out.append("\\\\"); 51 out.append(ch); 55 return out.toString();
|
/frameworks/base/services/core/java/com/android/server/am/ |
CompatModePackages.java | 407 XmlSerializer out = new FastXmlSerializer(); local 408 out.setOutput(fos, StandardCharsets.UTF_8.name()); 409 out.startDocument(null, true); 410 out.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); 411 out.startTag(null, "compat-packages"); 441 out.startTag(null, "pkg"); 442 out.attribute(null, "name", pkg); 443 out.attribute(null, "mode", Integer.toString(mode)); 444 out.endTag(null, "pkg"); 447 out.endTag(null, "compat-packages") [all...] |
/frameworks/base/services/core/java/com/android/server/storage/ |
CacheQuotaStrategy.java | 164 * Returns a list of CacheQuotaHints which do not have their quotas filled out for apps 283 XmlSerializer out = new FastXmlSerializer(); local 285 out.setOutput(fileStream, StandardCharsets.UTF_8.name()); 286 saveToXml(out, processedRequests, 0); 323 static void saveToXml(XmlSerializer out, 325 out.startDocument(null, true); 326 out.startTag(null, CACHE_INFO_TAG); 328 out.attribute(null, ATTR_PREVIOUS_BYTES, Long.toString(bytesWhenCalculated)); 332 out.startTag(null, TAG_QUOTA); 335 out.attribute(null, ATTR_UUID, request.getVolumeUuid()) [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...] |
/dalvik/dx/src/com/android/dx/dex/cf/ |
CfTranslator.java | 135 ClassDefItem out = local 142 out.setClassAnnotations(classAnnotations, dexFile); 149 processFields(cf, out, dexFile); 150 processMethods(context, cf, cfOptions, dexOptions, out, dexFile); 184 return out; 191 * @param out {@code non-null;} output class 195 DirectClassFile cf, ClassDefItem out, DexFile dexFile) { 212 out.addStaticField(fi, constVal); 215 out.addInstanceField(fi); 221 out.addFieldAnnotations(field, annotations, dexFile) [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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ |
ReportExporter.java | 69 ZipOutputStream out = null; local 71 out = new ZipOutputStream(new BufferedOutputStream(new FileOutputStream(reportFile))); 73 out.putNextEntry(entry); 74 out.write(contents); 80 if (out != null) { 81 out.close();
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestNanHalf.java | 48 public Target.Floaty out; field in class:TestNanHalf.ArgumentsHalf 53 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 1), INPUTSIZE); local 54 script.forEach_testNanHalfHalf(out); 55 verifyResultsNanHalfHalf(out, false); 56 out.destroy(); 61 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 1), INPUTSIZE); local 62 scriptRelaxed.forEach_testNanHalfHalf(out); 63 verifyResultsNanHalfHalf(out, true); 64 out.destroy(); 70 private void verifyResultsNanHalfHalf(Allocation out, boolean relaxed) [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...] |
/external/conscrypt/benchmark-graphs/src/main/java/org/conscrypt/graphgen/ |
Main.java | 69 private static void writeHtml(OutputStream out, String name) throws IOException { 74 out.write(buffer, 0, numRead); 81 private static void convertJmhJsonData(InputStream specIn, InputStream jmhIn, OutputStream out) throws IOException { 86 out.write(JsonUtils.toJsonString(jsonOutput).getBytes(StandardCharsets.UTF_8)); 110 private final PrintStream out; field in class:Main.PrintFileNames 112 public PrintFileNames(String prefix, PrintStream out) { 114 this.out = out; 120 out.println(prefix + path.getFileName());
|
/external/conscrypt/testing/src/main/java/libcore/javax/net/ssl/ |
TestKeyManager.java | 37 private static final PrintStream out = LOG ? System.out : new NullPrintStream(); field in class:TestKeyManager 57 out.println("TestKeyManager.<init> keyManager=" + keyManager); 63 out.print("TestKeyManager.chooseClientAlias"); 64 out.print(" | keyTypes: "); 66 out.print(keyType); 67 out.print(' '); 89 out.print("TestKeyManager.chooseServerAlias"); 90 out.print(" | keyType: "); 91 out.print(keyType) [all...] |
/external/doclava/src/com/google/doclava/ |
Proofread.java | 27 static Writer out = null; field in class:Proofread 34 out = new BufferedWriter(new FileWriter(filename)); 35 out.write("javadoc proofread file: " + filename + "\n"); 37 if (out != null) { 39 out.close(); 41 out = null; 48 if (out == null) { 53 out.close(); 58 if (out == null) { 62 out.write(s) [all...] |
/external/guava/guava/src/com/google/common/io/ |
LittleEndianDataOutputStream.java | 49 * @param out the stream to delegate to 51 public LittleEndianDataOutputStream(OutputStream out) { 52 super(new DataOutputStream(Preconditions.checkNotNull(out))); 57 out.write(b, off, len); 61 ((DataOutputStream) out).writeBoolean(v); 65 ((DataOutputStream) out).writeByte(v); 75 ((DataOutputStream) out).writeBytes(s); 131 out.write(0xFF & v); 132 out.write(0xFF & (v >> 8)); 133 out.write(0xFF & (v >> 16)) [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
AbstractByteHasherTest.java | 115 private final ByteArrayOutputStream out = new ByteArrayOutputStream(); field in class:AbstractByteHasherTest.TestHasher 119 out.write(b); 124 out.write(b, off, len); 128 return out.toByteArray();
|
/external/guava/guava-tests/test/com/google/common/io/ |
ByteSinkTester.java | 88 OutputStream out = sink.openStream(); local 90 ByteStreams.copy(new ByteArrayInputStream(data), out); 92 out.close(); 99 OutputStream out = sink.openBufferedStream(); local 101 ByteStreams.copy(new ByteArrayInputStream(data), out); 103 out.close();
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/data/ |
ExecutionDataWriter.java | 47 protected final CompactDataOutput out; field in class:ExecutionDataWriter 60 this.out = new CompactDataOutput(output); 71 out.writeByte(BLOCK_HEADER); 72 out.writeChar(MAGIC_NUMBER); 73 out.writeChar(FORMAT_VERSION); 83 out.flush(); 88 out.writeByte(BLOCK_SESSIONINFO); 89 out.writeUTF(info.getId()); 90 out.writeLong(info.getStartTimeStamp()); 91 out.writeLong(info.getDumpTimeStamp()) [all...] |
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/data/ |
CompactDataInputOutputTest.java | 29 private CompactDataOutput out; field in class:CompactDataInputOutputTest 36 out = new CompactDataOutput(pipe); 81 out.writeVarInt(value); 82 out.close(); 109 out.writeBooleanArray(values); 110 out.close();
|
/external/javassist/src/main/javassist/ |
SerialVersionUID.java | 78 DataOutputStream out = new DataOutputStream(bout); local 83 out.writeUTF(javaName); 95 out.writeInt(classMods); 104 out.writeUTF(interfaces[i]); 121 out.writeUTF(field.getName()); 122 out.writeInt(mods); 123 out.writeUTF(field.getFieldInfo2().getDescriptor()); 129 out.writeUTF("<clinit>"); 130 out.writeInt(Modifier.STATIC); 131 out.writeUTF("()V") [all...] |
/external/javassist/src/main/javassist/bytecode/ |
ClassFilePrinter.java | 32 print(cf, new PrintWriter(System.out, true)); 38 public static void print(ClassFile cf, PrintWriter out) { 48 out.println("major: " + cf.major + ", minor: " + cf.minor 50 out.println(Modifier.toString(mod) + " class " 55 out.print(" implements "); 56 out.print(infs[0]); 58 out.print(", " + infs[i]); 60 out.println(); 63 out.println(); 69 out.println(Modifier.toString(AccessFlag.toModifier(acc) 72 printAttributes(finfo.getAttributes(), out, 'f'); local 84 printAttributes(minfo.getAttributes(), out, 'm'); local 89 printAttributes(cf.getAttributes(), out, 'c'); local 108 printAttributes(ca.getAttributes(), out, kind); local [all...] |
/external/javassist/src/main/javassist/util/proxy/ |
FactoryHelper.java | 188 DataOutputStream out = new DataOutputStream(barray); local 190 cf.write(out); 193 out.close(); 224 DataOutputStream out = new DataOutputStream(new BufferedOutputStream( local 227 cf.write(out); 233 out.close();
|