Searched refs:out (Results 1 - 25 of 652) 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/aapt/
H A DAaptConfig.cpp34 bool parse(const String8& str, ConfigDescription* out) { argument
218 if (out != NULL) {
220 *out = config;
268 bool parseMcc(const char* name, ResTable_config* out) { argument
270 if (out) out->mcc = 0;
291 if (out) out->mcc = d;
298 bool parseMnc(const char* name, ResTable_config* out) { argument
300 if (out) ou
329 parseLayoutDirection(const char* name, ResTable_config* out) argument
350 parseScreenLayoutSize(const char* name, ResTable_config* out) argument
381 parseScreenLayoutLong(const char* name, ResTable_config* out) argument
402 parseOrientation(const char* name, ResTable_config* out) argument
420 parseUiModeType(const char* name, ResTable_config* out) argument
456 parseUiModeNight(const char* name, ResTable_config* out) argument
477 parseDensity(const char* name, ResTable_config* out) argument
557 parseTouchscreen(const char* name, ResTable_config* out) argument
575 parseKeysHidden(const char* name, ResTable_config* out) argument
600 parseKeyboard(const char* name, ResTable_config* out) argument
618 parseNavHidden(const char* name, ResTable_config* out) argument
640 parseNavigation(const char* name, ResTable_config* out) argument
661 parseScreenSize(const char* name, ResTable_config* out) argument
695 parseSmallestScreenWidthDp(const char* name, ResTable_config* out) argument
719 parseScreenWidthDp(const char* name, ResTable_config* out) argument
741 parseScreenHeightDp(const char* name, ResTable_config* out) argument
763 parseVersion(const char* name, ResTable_config* out) argument
[all...]
H A DAaptConfig.h37 bool parse(const android::String8& str, ConfigDescription* out = NULL);
55 bool parseMcc(const char* str, android::ResTable_config* out = NULL);
56 bool parseMnc(const char* str, android::ResTable_config* out = NULL);
57 bool parseLayoutDirection(const char* str, android::ResTable_config* out = NULL);
58 bool parseSmallestScreenWidthDp(const char* str, android::ResTable_config* out = NULL);
59 bool parseScreenWidthDp(const char* str, android::ResTable_config* out = NULL);
60 bool parseScreenHeightDp(const char* str, android::ResTable_config* out = NULL);
61 bool parseScreenLayoutSize(const char* str, android::ResTable_config* out = NULL);
62 bool parseScreenLayoutLong(const char* str, android::ResTable_config* out = NULL);
63 bool parseOrientation(const char* str, android::ResTable_config* out
[all...]
/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/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A Dexposure.rs28 uchar4 out = 0;
29 out.r = rsClamp((int)(bright * in.r), 0, 255);
30 out.g = rsClamp((int)(bright * in.g), 0, 255);
31 out.b = rsClamp((int)(bright * in.b), 0, 255);
32 return out;
/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/base/libs/androidfw/tests/
H A DConfigLocale_test.cpp31 char out[4] = { 1, 1, 1, 1}; local
32 config.unpackLanguage(out);
33 EXPECT_EQ('e', out[0]);
34 EXPECT_EQ('n', out[1]);
35 EXPECT_EQ(0, out[2]);
36 EXPECT_EQ(0, out[3]);
38 memset(out, 1, sizeof(out));
40 config.unpackLanguage(out);
41 EXPECT_EQ(0, out[
54 char out[4] = { 1, 1, 1, 1}; local
70 char out[4] = { 1, 1, 1, 1}; local
94 char out[4] = { 1, 1, 1, 1}; local
106 char out[4] = { 1, 1, 1, 1}; local
114 fillIn(const char* lang, const char* country, const char* script, const char* variant, ResTable_config* out) argument
184 char out[4] = { 1, 1, 1, 1}; local
[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/base/telephony/java/com/android/ims/internal/
H A DIImsRegistrationListener.aidl68 out int[] enabledFeatures, out int[] disabledFeatures);
/frameworks/av/services/audioflinger/
H A DAudioResamplerFirOps.h51 int32_t out; local
53 asm( "smultb %[out], %[in], %[vRL] \n"
54 : [out]"=r"(out)
58 asm( "smultt %[out], %[in], %[vRL] \n"
59 : [out]"=r"(out)
63 return out;
74 int32_t out; local
75 asm( "smlabb %[out],
89 int32_t out; local
104 int32_t out; local
119 int32_t out; local
142 int32_t out; local
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicBlend.cpp94 extern "C" int rsdIntrinsicBlend_K(uchar4 *out, uchar4 const *in, int slot,
119 uchar4 *out = (uchar4 *)p->out; local
126 if (rsdIntrinsicBlend_K(out, in, p->slot, x1, x2) >= 0)
132 for (;x1 < x2; x1++, out++) {
133 *out = 0;
137 for (;x1 < x2; x1++, out++, in++) {
138 *out = *in;
149 rsdIntrinsicBlendSrcOver_K(out, in, len);
151 out
[all...]
/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/base/core/java/com/android/internal/http/multipart/
H A DPart.java206 * @param out The output stream
209 protected void sendStart(OutputStream out) throws IOException { argument
210 LOG.trace("enter sendStart(OutputStream out)");
211 out.write(EXTRA_BYTES);
212 out.write(getPartBoundary());
213 out.write(CRLF_BYTES);
219 * @param out The output stream
222 protected void sendDispositionHeader(OutputStream out) throws IOException { argument
223 LOG.trace("enter sendDispositionHeader(OutputStream out)");
224 out
235 sendContentTypeHeader(OutputStream out) argument
257 sendTransferEncodingHeader(OutputStream out) argument
272 sendEndOfHeader(OutputStream out) argument
283 sendData(OutputStream out) argument
298 sendEnd(OutputStream out) argument
311 send(OutputStream out) argument
364 sendParts(OutputStream out, final Part[] parts) argument
380 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/compile/slang/
H A Dslang_rs_reflect_utils.cpp119 int bitwidth, GeneratedFile &out) {
121 out.indent() << "// return byte array representation of the " << bitwidth
123 out.indent() << "public static byte[] getBitCode" << bitwidth << "()";
124 out.startBlock();
125 out.indent() << "return getBitCode" << bitwidth << "Internal();\n";
126 out.endBlock(true);
133 int seg_num, GeneratedFile &out) {
134 out.indent() << "private static byte[] getSegment" << bitwidth << "_"
136 out.startBlock();
137 out
117 GenerateAccessorMethod( const RSSlangReflectUtils::BitCodeAccessorContext &context, int bitwidth, GeneratedFile &out) argument
132 GenerateSegmentMethod(const char *buff, int blen, int bitwidth, int seg_num, GeneratedFile &out) argument
162 GenerateJavaCodeAccessorMethodForBitwidth( const RSSlangReflectUtils::BitCodeAccessorContext &context, int bitwidth, GeneratedFile &out) argument
216 GenerateJavaCodeAccessorMethod( const RSSlangReflectUtils::BitCodeAccessorContext &context, GeneratedFile &out) argument
231 GenerateAccessorClass( const RSSlangReflectUtils::BitCodeAccessorContext &context, const char *clazz_name, GeneratedFile &out) argument
274 GeneratedFile out; local
[all...]

Completed in 1086 milliseconds

1234567891011>>