Searched refs:out (Results 1 - 25 of 546) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DFastXmlSerializerTest.java32 final XmlSerializer out = new FastXmlSerializer();
33 out.setOutput(stream, "utf-8");
34 out.startDocument(null, true);
35 out.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true);
37 out.startTag(null, "string");
38 out.attribute(null, "name", "meow");
39 out.text("");
40 out.endTag(null, "string");
42 out.endDocument();
/frameworks/base/tools/preload/
H A DPrintCsv.java42 printHeaders(System.out);
51 printRow(System.out, baseline, loadedClass);
55 static void printHeaders(PrintStream out) { argument
56 out.println("Name"
70 static void printRow(PrintStream out, MemoryUsage baseline, argument
72 out.print(loadedClass.name);
73 out.print(',');
74 out.print(loadedClass.preloaded);
75 out.print(',');
76 out
[all...]
H A DPrintHtmlDiff.java71 PrintStream out = System.out;
73 out.println("<html><body>");
74 out.println("<style>");
75 out.println("a, th, td, h2 { font-family: arial }");
76 out.println("th, td { font-size: small }");
77 out.println("</style>");
78 out.println("<script src=\"sorttable.js\"></script>");
79 out.println("<p><a href=\"#removed\">Removed</a>");
80 out
87 printTable(PrintStream out, MemoryUsage baseline, Iterable<LoadedClass> classes) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DColorizer.h41 void colorize(String8& out, color c) { argument
43 out.appendFormat("\e[%dm", c);
47 void bold(String8& out) { argument
49 out.append("\e[1m");
53 void reset(String8& out) { argument
55 out.append("\e[0m");
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DLoggingPrintStreamTest.java34 TestPrintStream out = new TestPrintStream(); field in class:LoggingPrintStreamTest
43 t.printStackTrace(out);
47 assertEquals(Arrays.asList(lines), out.lines);
52 out.print(4);
53 out.print(o);
54 out.print(2);
55 out.flush();
56 assertEquals(Arrays.asList("4" + o + "2"), out.lines);
61 out.print(4);
62 out
[all...]
/frameworks/rs/cpu_ref/linkloader/include/impl/
H A DELFSectionBits.hxx38 out() << '\n' << fillformat('=', 79) << '\n';
39 out().changeColor(raw_ostream::WHITE, true);
40 out() << "ELF " << section_type_str << ": " << sh->getName() << '\n';
41 out().resetColor();
42 out() << fillformat('-', 79) << '\n';
44 out() << " Size : " << sh->getSize() << '\n';
45 out() << " Start Address: " << (void *)chunk.getBuffer() << '\n';
46 out() << fillformat('-', 79) << '\n';
50 out() << fillformat('=', 79) << '\n';
H A DELFSectionHeader.hxx70 out() << '\n' << fillformat('=', 79) << '\n';
71 out().changeColor(raw_ostream::WHITE, true);
72 out() << "ELF Section Header "
74 out().resetColor();
75 out() << fillformat('-', 79) << '\n';
77 out() << fillformat('-', 79) << '\n';
78 out().changeColor(raw_ostream::YELLOW, true);
79 out() << "ELF Section Header "
81 out().resetColor();
85 out() << forma
[all...]
H A DELFHeader.hxx29 out() << fillformat('=', 79) << '\n';
30 out().changeColor(raw_ostream::WHITE, true);
31 out() << "ELF Header\n";
32 out().resetColor();
33 out() << fillformat('-', 79) << '\n';
36 out() << format(" %-32s : ", (char const *)(title)) << (value) << '\n'
57 out() << fillformat('=', 79) << "\n\n";
H A DELFReloc.hxx85 out() << '\n' << fillformat('=', 79) << '\n';
86 out().changeColor(raw_ostream::WHITE, true);
87 out() << "ELF Relaocation Table Entry "
89 out().resetColor();
90 out() << fillformat('-', 79) << '\n';
92 out() << fillformat('-', 79) << '\n';
93 out().changeColor(raw_ostream::YELLOW, true);
94 out() << "ELF Relaocation Table Entry "
96 out().resetColor();
100 out() << forma
[all...]
/frameworks/native/opengl/tools/glgen/src/
H A DJniCodeEmitter.java130 public void emitNativeDeclaration(JFunc jfunc, PrintStream out) { argument
132 out.println(" /* @hide C function " + jfunc.getCFunc().getOriginal() + " */");
133 out.println();
135 out.println(" // C function " + jfunc.getCFunc().getOriginal());
136 out.println();
139 emitFunction(jfunc, out, true, false);
142 public void emitJavaInterfaceCode(JFunc jfunc, PrintStream out) { argument
143 emitFunction(jfunc, out, false, true);
146 public void emitJavaCode(JFunc jfunc, PrintStream out) { argument
147 emitFunction(jfunc, out, fals
156 emitFunctionCall(JFunc jfunc, PrintStream out, String iii, boolean grabArray) argument
198 printIfcheckPostamble(PrintStream out, boolean isBuffer, boolean emitExceptionCheck, String iii) argument
204 printIfcheckPostamble(PrintStream out, boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) argument
351 emitNativeBoundsChecks(CFunc cfunc, String cname, PrintStream out, boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) argument
429 emitSentinelCheck(CFunc cfunc, String cname, PrintStream out, boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) argument
472 emitLocalVariablesForSentinel(CFunc cfunc, PrintStream out) argument
521 emitFunction(JFunc jfunc, PrintStream out, boolean nativeDecl, boolean interfaceDecl) argument
731 emitJniCode(JFunc jfunc, PrintStream out) argument
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DWap230WspContentTypeTest.java257 ByteArrayOutputStream out = new ByteArrayOutputStream();
258 out.write(0x00);
259 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
266 ByteArrayOutputStream out = new ByteArrayOutputStream();
267 out.write(testType.getBytes("US-ASCII"));
268 out.write(WSP_STRING_TERMINATOR);
270 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
281 ByteArrayOutputStream out = new ByteArrayOutputStream();
282 out.write(testType.length() + 1);
283 out
[all...]
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A Dexposure.rs25 void exposure(const uchar4 *in, uchar4 *out)
27 out->r = rsClamp((int)(bright * in->r), 0, 255);
28 out->g = rsClamp((int)(bright * in->g), 0, 255);
29 out->b = rsClamp((int)(bright * in->b), 0, 255);
H A Dcontrast.rs27 void contrast(const uchar4 *in, uchar4 *out)
30 out->r = rsClamp((int)(brightM * in->r + brightC), 0, 255);
31 out->g = rsClamp((int)(brightM * in->g + brightC), 0, 255);
32 out->b = rsClamp((int)(brightM * in->b + brightC), 0, 255);
35 out->rgb = convert_uchar3(clamp(v, 0.f, 255.f));
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A Dexposure.rs25 void exposure(const uchar4 *in, uchar4 *out)
27 out->r = rsClamp((int)(bright * in->r), 0, 255);
28 out->g = rsClamp((int)(bright * in->g), 0, 255);
29 out->b = rsClamp((int)(bright * in->b), 0, 255);
H A Dcontrast.rs27 void contrast(const uchar4 *in, uchar4 *out)
30 out->r = rsClamp((int)(brightM * in->r + brightC), 0, 255);
31 out->g = rsClamp((int)(brightM * in->g + brightC), 0, 255);
32 out->b = rsClamp((int)(brightM * in->b + brightC), 0, 255);
35 out->rgb = convert_uchar3(clamp(v, 0.f, 255.f));
/frameworks/support/v4/java/android/support/v4/util/
H A DDebugUtils.java27 public static void buildShortClassTag(Object cls, StringBuilder out) { argument
29 out.append("null");
39 out.append(simpleName);
40 out.append('{');
41 out.append(Integer.toHexString(System.identityHashCode(cls)));
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicBlend.cpp112 uchar4 *out = (uchar4 *)p->out; local
119 for (;x1 < x2; x1++, out++) {
120 *out = 0;
124 for (;x1 < x2; x1++, out++, in++) {
125 *out = *in;
136 rsdIntrinsicBlendSrcOver_K(out, in, len);
138 out += len << 3;
143 for (;x1 < x2; x1++, out++, in++) {
145 short4 out_s = convert_short4(*out);
[all...]
/frameworks/base/core/java/com/android/internal/http/multipart/
H A DPart.java200 * @param out The output stream
203 protected void sendStart(OutputStream out) throws IOException { argument
204 LOG.trace("enter sendStart(OutputStream out)");
205 out.write(EXTRA_BYTES);
206 out.write(getPartBoundary());
207 out.write(CRLF_BYTES);
213 * @param out The output stream
216 protected void sendDispositionHeader(OutputStream out) throws IOException { argument
217 LOG.trace("enter sendDispositionHeader(OutputStream out)");
218 out
229 sendContentTypeHeader(OutputStream out) argument
251 sendTransferEncodingHeader(OutputStream out) argument
266 sendEndOfHeader(OutputStream out) argument
277 sendData(OutputStream out) argument
292 sendEnd(OutputStream out) argument
305 send(OutputStream out) argument
358 sendParts(OutputStream out, final Part[] parts) argument
374 sendParts(OutputStream out, Part[] parts, byte[] partBoundary) argument
[all...]
/frameworks/rs/cpu_ref/linkloader/utils/
H A Dhelper.cpp36 out() << format("%08x", i) << ':';
39 out().changeColor(raw_ostream::MAGENTA);
44 out().resetColor();
48 out().changeColor(raw_ostream::MAGENTA);
52 out() << ' ' << format("%02x", (unsigned)data[j]);
56 out().resetColor();
57 out() << " ";
61 out() << (char)data[j];
63 out() << '.';
67 out() << '\
[all...]
/frameworks/native/opengl/tools/glgen/
H A Dgen4 rm -rf out generated
6 mkdir out
11 mkdir -p out/javax/microedition/khronos/opengles
12 mkdir -p out/com/google/android/gles_jni
13 mkdir -p out/android/app
14 mkdir -p out/android/graphics
15 mkdir -p out/android/view
16 mkdir -p out/android/opengl
17 mkdir -p out/android/content
18 mkdir -p out/androi
[all...]
/frameworks/av/media/libstagefright/foundation/
H A Dbase64.cpp43 uint8_t *out = buffer->data(); local
72 out[j++] = (accum >> 16);
74 if (j < outLen) { out[j++] = (accum >> 8) & 0xff; }
75 if (j < outLen) { out[j++] = accum & 0xff; }
99 const void *_data, size_t size, AString *out) {
100 out->clear();
110 out->append(encode6Bit(x1 >> 2));
111 out->append(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f));
112 out->append(encode6Bit((x2 << 2 | x3 >> 6) & 0x3f));
113 out
98 encodeBase64( const void *_data, size_t size, AString *out) argument
[all...]
/frameworks/base/core/java/android/speech/srec/
H A DWaveHeader.java226 * @param out {@link java.io.OutputStream} to receive the header.
230 public int write(OutputStream out) throws IOException { argument
232 writeId(out, "RIFF");
233 writeInt(out, 36 + mNumBytes);
234 writeId(out, "WAVE");
237 writeId(out, "fmt ");
238 writeInt(out, 16);
239 writeShort(out, mFormat);
240 writeShort(out, mNumChannels);
241 writeInt(out, mSampleRat
253 writeId(OutputStream out, String id) argument
257 writeInt(OutputStream out, int val) argument
264 writeShort(OutputStream out, short val) argument
[all...]
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A Dexposure.rs28 uchar4 out = {0, 0, 0, 255};
30 out.rgb = convert_uchar3(clamp(convert_int3(t * bright), 0, 255));
31 return out;
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Ddct_inline.h29 int32 out; local
33 out = op2 * 724 + op3; /* op1 is not used here */
35 return out;
62 int32 out; local
66 out = k6 * 1338 + k1;
68 return out;
73 int32 out; local
77 out = k6 * 946 + k1;
79 return out;
113 int32 out; local
117 smlabb out, op1, op2, op3 local
149 int32 out; local
153 smlabb out, k6, k14, k1 local
161 int32 out; local
165 smlabb out, k6, k14, k1 local
176 int32 out; local
180 and out, op2, #0xFFFF local
181 mla out, op1, out, op3 local
215 int32 out; local
219 and out, k14, 0xFFFF local
220 mla out, k6, out, k1 local
228 int32 out; local
232 and out, k14, 0xFFFF local
233 mla out, k6, out, k1 local
271 register int32 out; local
287 register int32 out; local
303 register int32 out; local
319 register int32 out; local
334 register int32 out; local
[all...]
/frameworks/base/services/java/com/android/server/net/
H A DNetworkIdentitySet.java67 public void writeToStream(DataOutputStream out) throws IOException { argument
68 out.writeInt(VERSION_ADD_NETWORK_ID);
69 out.writeInt(size());
71 out.writeInt(ident.getType());
72 out.writeInt(ident.getSubType());
73 writeOptionalString(out, ident.getSubscriberId());
74 writeOptionalString(out, ident.getNetworkId());
75 out.writeBoolean(ident.getRoaming());
79 private static void writeOptionalString(DataOutputStream out, String value) throws IOException { argument
81 out
[all...]

Completed in 2579 milliseconds

1234567891011>>