Home
last modified time | relevance | path

Searched refs:out (Results 1 – 25 of 1718) sorted by relevance

12345678910>>...69

/frameworks/base/tools/stats_log_api_gen/
Dmain.cpp125 static void write_atoms_info_cpp(FILE *out, const Atoms &atoms) { in write_atoms_info_cpp() argument
132 fprintf(out, in write_atoms_info_cpp()
137 fprintf(out, " %s,\n", make_constant_name(*blacklistedAtom).c_str()); in write_atoms_info_cpp()
139 fprintf(out, "};\n"); in write_atoms_info_cpp()
140 fprintf(out, "\n"); in write_atoms_info_cpp()
142 fprintf(out, in write_atoms_info_cpp()
150 fprintf(out, " %s,\n", constant.c_str()); in write_atoms_info_cpp()
156 fprintf(out, "};\n"); in write_atoms_info_cpp()
157 fprintf(out, "\n"); in write_atoms_info_cpp()
159 fprintf(out, in write_atoms_info_cpp()
[all …]
/frameworks/base/tools/aapt/
DAaptConfig.cpp34 bool parse(const String8& str, ConfigDescription* out) { in parse() argument
242 if (out != NULL) { in parse()
244 *out = config; in parse()
299 bool parseMcc(const char* name, ResTable_config* out) { in parseMcc() argument
301 if (out) out->mcc = 0; in parseMcc()
322 if (out) out->mcc = d; in parseMcc()
329 bool parseMnc(const char* name, ResTable_config* out) { in parseMnc() argument
331 if (out) out->mcc = 0; in parseMnc()
350 if (out) { in parseMnc()
351 out->mnc = atoi(val); in parseMnc()
[all …]
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 parseScreenRound(const char* name, android::ResTable_config* out = NULL);
[all …]
/frameworks/base/libs/androidfw/
DConfigDescription.cpp35 static bool parseMcc(const char* name, ResTable_config* out) { in parseMcc() argument
37 if (out) out->mcc = 0; in parseMcc()
58 if (out) out->mcc = d; in parseMcc()
65 static bool parseMnc(const char* name, ResTable_config* out) { in parseMnc() argument
67 if (out) out->mnc = 0; in parseMnc()
86 if (out) { in parseMnc()
87 out->mnc = atoi(val); in parseMnc()
88 if (out->mnc == 0) { in parseMnc()
89 out->mnc = ACONFIGURATION_MNC_ZERO; in parseMnc()
96 static bool parseLayoutDirection(const char* name, ResTable_config* out) { in parseLayoutDirection() argument
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DLayerCompositionState.cpp27 void dumpVal(std::string& out, const char* name, Hwc2::IComposerClient::Color value) { in dumpVal() argument
29 StringAppendF(&out, "%s=[%d %d %d] ", name, value.r, value.g, value.b); in dumpVal()
32 void dumpFrontEnd(std::string& out, const LayerFECompositionState& state) { in dumpFrontEnd() argument
33 out.append(" "); in dumpFrontEnd()
34 dumpVal(out, "isSecure", state.isSecure); in dumpFrontEnd()
35 dumpVal(out, "geomUsesSourceCrop", state.geomUsesSourceCrop); in dumpFrontEnd()
36 dumpVal(out, "geomBufferUsesDisplayInverseTransform", in dumpFrontEnd()
38 dumpVal(out, "geomLayerTransform", state.geomLayerTransform); in dumpFrontEnd()
40 out.append("\n "); in dumpFrontEnd()
41 dumpVal(out, "geomBufferSize", state.geomBufferSize); in dumpFrontEnd()
[all …]
DOutputCompositionState.cpp22 void OutputCompositionState::dump(std::string& out) const { in dump()
23 out.append(" "); in dump()
24 dumpVal(out, "isEnabled", isEnabled); in dump()
25 dumpVal(out, "isSecure", isSecure); in dump()
27 dumpVal(out, "layerStack", layerStackId); in dump()
28 dumpVal(out, "layerStackInternal", layerStackInternal); in dump()
30 out.append("\n "); in dump()
32 dumpVal(out, "transform", transform); in dump()
34 out.append("\n "); in dump()
36 dumpVal(out, "frame", frame); in dump()
[all …]
DDumpHelpers.cpp26 void dumpVal(std::string& out, const char* name, bool value) { in dumpVal() argument
27 StringAppendF(&out, "%s=%s ", name, value ? "true" : "false"); in dumpVal()
30 void dumpVal(std::string& out, const char* name, const void* value) { in dumpVal() argument
31 StringAppendF(&out, "%s=%p ", name, value); in dumpVal()
34 void dumpVal(std::string& out, const char* name, int value) { in dumpVal() argument
35 StringAppendF(&out, "%s=%d ", name, value); in dumpVal()
38 void dumpVal(std::string& out, const char* name, float value) { in dumpVal() argument
39 StringAppendF(&out, "%s=%f ", name, value); in dumpVal()
42 void dumpVal(std::string& out, const char* name, uint32_t value) { in dumpVal() argument
43 StringAppendF(&out, "%s=%u ", name, value); in dumpVal()
[all …]
DOutputLayerCompositionState.cpp26 void dumpHwc(const OutputLayerCompositionState::Hwc& hwc, std::string& out) { in dumpHwc() argument
27 out.append("\n hwc: "); in dumpHwc()
30 out.append("No layer "); in dumpHwc()
32 dumpHex(out, "layer", hwc.hwcLayer->getId()); in dumpHwc()
35 dumpVal(out, "composition", toString(hwc.hwcCompositionType), hwc.hwcCompositionType); in dumpHwc()
40 void OutputLayerCompositionState::dump(std::string& out) const { in dump()
41 out.append(" "); in dump()
42 dumpVal(out, "visibleRegion", visibleRegion); in dump()
44 out.append(" "); in dump()
45 dumpVal(out, "forceClientComposition", forceClientComposition); in dump()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLoggingPrintStreamTest.java34 TestPrintStream out = new TestPrintStream(); field in LoggingPrintStreamTest
43 t.printStackTrace(out); in testPrintException()
47 assertEquals(Arrays.asList(lines), out.lines); in testPrintException()
52 out.print(4); in testPrintObject()
53 out.print(o); in testPrintObject()
54 out.print(2); in testPrintObject()
55 out.flush(); in testPrintObject()
56 assertEquals(Arrays.asList("4" + o + "2"), out.lines); in testPrintObject()
61 out.print(4); in testPrintlnObject()
62 out.println(o); in testPrintlnObject()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DWap230WspContentTypeTest.java257 ByteArrayOutputStream out = new ByteArrayOutputStream(); in testDecodeReturnsFalse_WhenOnlyAZeroBytePresent() local
258 out.write(0x00); in testDecodeReturnsFalse_WhenOnlyAZeroBytePresent()
259 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); in testDecodeReturnsFalse_WhenOnlyAZeroBytePresent()
266 ByteArrayOutputStream out = new ByteArrayOutputStream(); in testConstrainedMediaExtensionMedia() local
267 out.write(testType.getBytes("US-ASCII")); in testConstrainedMediaExtensionMedia()
268 out.write(WSP_STRING_TERMINATOR); in testConstrainedMediaExtensionMedia()
270 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); in testConstrainedMediaExtensionMedia()
281 ByteArrayOutputStream out = new ByteArrayOutputStream(); in testGeneralFormShortLengthExtensionMedia() local
282 out.write(testType.length() + 1); in testGeneralFormShortLengthExtensionMedia()
283 out.write(testType.getBytes("US-ASCII")); in testGeneralFormShortLengthExtensionMedia()
[all …]
/frameworks/native/opengl/tools/glgen/src/
DJniCodeEmitter.java136 public void emitNativeDeclaration(JFunc jfunc, PrintStream out) { in emitNativeDeclaration() argument
138 out.println(" /* @hide C function " + jfunc.getCFunc().getOriginal() + " */"); in emitNativeDeclaration()
139 out.println(); in emitNativeDeclaration()
141 out.println(" // C function " + jfunc.getCFunc().getOriginal()); in emitNativeDeclaration()
142 out.println(); in emitNativeDeclaration()
145 emitFunction(jfunc, out, true, false); in emitNativeDeclaration()
148 public void emitJavaInterfaceCode(JFunc jfunc, PrintStream out) { in emitJavaInterfaceCode() argument
149 emitFunction(jfunc, out, false, true); in emitJavaInterfaceCode()
152 public void emitJavaCode(JFunc jfunc, PrintStream out) { in emitJavaCode() argument
153 emitFunction(jfunc, out, false, false); in emitJavaCode()
[all …]
/frameworks/base/tools/preload/
DPrintCsv.java42 printHeaders(System.out); in main()
51 printRow(System.out, baseline, loadedClass); in main()
55 static void printHeaders(PrintStream out) { in printHeaders() argument
56 out.println("Name" in printHeaders()
70 static void printRow(PrintStream out, MemoryUsage baseline, in printRow() argument
72 out.print(loadedClass.name); in printRow()
73 out.print(','); in printRow()
74 out.print(loadedClass.preloaded); in printRow()
75 out.print(','); in printRow()
76 out.print(loadedClass.medianLoadTimeMicros()); in printRow()
[all …]
DPrintHtmlDiff.java71 PrintStream out = System.out; in main() local
73 out.println("<html><body>"); in main()
74 out.println("<style>"); in main()
75 out.println("a, th, td, h2 { font-family: arial }"); in main()
76 out.println("th, td { font-size: small }"); in main()
77 out.println("</style>"); in main()
78 out.println("<script src=\"sorttable.js\"></script>"); in main()
79 out.println("<p><a href=\"#removed\">Removed</a>"); in main()
80 out.println("<a name=\"added\"/><h2>Added</h2>"); in main()
81 printTable(out, root.baseline, added); in main()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DOsuProviderInfoTestUtil.java65 ByteArrayOutputStream out = new ByteArrayOutputStream(); in getTestData() local
67 writeShortLE(out, payload.length); in getTestData()
68 out.write(payload); in getTestData()
69 return out.toByteArray(); in getTestData()
82 ByteArrayOutputStream out = new ByteArrayOutputStream(); in getTestDataWithInvalidLength() local
85 writeShortLE(out, OsuProviderInfo.MINIMUM_LENGTH - 1); in getTestDataWithInvalidLength()
86 out.write(payload); in getTestDataWithInvalidLength()
87 return out.toByteArray(); in getTestDataWithInvalidLength()
101 ByteArrayOutputStream out = new ByteArrayOutputStream(); in getTestPayload() local
105 writeShortLE(out, friendlyNamesData.length); in getTestPayload()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlend.cpp90 extern "C" int rsdIntrinsicBlend_K(uchar4 *out, uchar4 const *in, int slot,
116 uchar4 *out = (uchar4 *)info->outPtr[0]; in kernel() local
123 if (rsdIntrinsicBlend_K(out, in, info->slot, x1, x2) >= 0) in kernel()
129 for (;x1 < x2; x1++, out++) { in kernel()
130 *out = 0; in kernel()
134 for (;x1 < x2; x1++, out++, in++) { in kernel()
135 *out = *in; in kernel()
146 rsdIntrinsicBlendSrcOver_K(out, in, len); in kernel()
148 out += len << 3; in kernel()
153 for (;x1 < x2; x1++, out++, in++) { in kernel()
[all …]
/frameworks/av/media/libaudioprocessing/
DAudioResamplerFirOps.h62 int32_t out;
65 : [out]"=r"(out)
70 : [out]"=r"(out)
74 return out;
85 int32_t out;
87 : [out]"=r"(out)
90 return out;
100 int32_t out;
102 : [out]"=r"(out)
105 return out;
[all …]
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerShellCommand.java76 final PrintWriter out = getOutPrintWriter(); in onHelp() local
77 out.println("Overlay manager (overlay) commands:"); in onHelp()
78 out.println(" help"); in onHelp()
79 out.println(" Print this help text."); in onHelp()
80 out.println(" dump [--verbose] [--user USER_ID] [[FIELD] PACKAGE]"); in onHelp()
81 out.println(" Print debugging information about the overlay manager."); in onHelp()
82 out.println(" With optional parameter PACKAGE, limit output to the specified"); in onHelp()
83 out.println(" package. With optional parameter FIELD, limit output to"); in onHelp()
84 out.println(" the value of that SettingsItem field. Field names are"); in onHelp()
85 out.println(" case insensitive and out.println the m prefix can be omitted,"); in onHelp()
[all …]
/frameworks/base/tools/incident_report/
Dmain.cpp41 static void print_message(Out* out, Descriptor const* descriptor, GenericMessage const* message);
143 print_value(Out* out, FieldDescriptor const* field, GenericMessage::Node const& node) in print_value() argument
151 out->printf("%u", node.value32); in print_value()
154 out->printf("%d", node.value32); in print_value()
157 out->printf("%f", *(float*)&node.value32); in print_value()
160 out->printf("(unexpected type %d: value32 %d (0x%x)", in print_value()
168 out->printf("%f", *(double*)&node.value64); in print_value()
174 out->printf("%d", node.value64); in print_value()
179 out->printf("%lld", node.value64); in print_value()
184 out->printf("%u", node.value64); in print_value()
[all …]
/frameworks/compile/slang/
Dslang_rs_reflect_utils.cpp120 int bitwidth, GeneratedFile &out) { in GenerateAccessorMethod() argument
122 out.indent() << "// return byte array representation of the " << bitwidth in GenerateAccessorMethod()
124 out.indent() << "public static byte[] getBitCode" << bitwidth << "()"; in GenerateAccessorMethod()
125 out.startBlock(); in GenerateAccessorMethod()
126 out.indent() << "return getBitCode" << bitwidth << "Internal();\n"; in GenerateAccessorMethod()
127 out.endBlock(true); in GenerateAccessorMethod()
134 int seg_num, GeneratedFile &out) { in GenerateSegmentMethod() argument
135 out.indent() << "private static byte[] getSegment" << bitwidth << "_" in GenerateSegmentMethod()
137 out.startBlock(); in GenerateSegmentMethod()
138 out.indent() << "byte[] data = {"; in GenerateSegmentMethod()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Ddct.cpp38 Void BlockDCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) in BlockDCT_AANwSub() argument
50 dst = out + 64 ; in BlockDCT_AANwSub()
52 out += 128; in BlockDCT_AANwSub()
158 while (dst < out); in BlockDCT_AANwSub()
160 out -= 64; in BlockDCT_AANwSub()
161 dst = out + 8; in BlockDCT_AANwSub()
166 k0 = out[0]; in BlockDCT_AANwSub()
167 k1 = out[8]; in BlockDCT_AANwSub()
168 k2 = out[16]; in BlockDCT_AANwSub()
169 k3 = out[24]; in BlockDCT_AANwSub()
[all …]
/frameworks/base/keystore/java/android/security/keystore/
DParcelableKeyGenParameterSpec.java50 private static void writeOptionalDate(Parcel out, Date date) { in writeOptionalDate() argument
52 out.writeBoolean(true); in writeOptionalDate()
53 out.writeLong(date.getTime()); in writeOptionalDate()
55 out.writeBoolean(false); in writeOptionalDate()
59 public void writeToParcel(Parcel out, int flags) { in writeToParcel() argument
60 out.writeString(mSpec.getKeystoreAlias()); in writeToParcel()
61 out.writeInt(mSpec.getPurposes()); in writeToParcel()
62 out.writeInt(mSpec.getUid()); in writeToParcel()
63 out.writeInt(mSpec.getKeySize()); in writeToParcel()
68 out.writeInt(ALGORITHM_PARAMETER_SPEC_NONE); in writeToParcel()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DBase64.cpp52 uint8_t *out = buffer->data(); in decodeBase64() local
53 if (out == nullptr || buffer->size() < outLen) { in decodeBase64()
85 if (j < outLen) { out[j++] = (accum >> 16); } in decodeBase64()
86 if (j < outLen) { out[j++] = (accum >> 8) & 0xff; } in decodeBase64()
87 if (j < outLen) { out[j++] = accum & 0xff; } in decodeBase64()
110 void encodeBase64(const void *_data, size_t size, std::string *out) { in encodeBase64() argument
111 out->clear(); in encodeBase64()
121 out->push_back(encode6Bit(x1 >> 2)); in encodeBase64()
122 out->push_back(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f)); in encodeBase64()
123 out->push_back(encode6Bit((x2 << 2 | x3 >> 6) & 0x3f)); in encodeBase64()
[all …]
/frameworks/av/media/libstagefright/foundation/
Dbase64.cpp41 bool decodeBase64(uint8_t *out, size_t *inOutBufSize, const char* s) { in decodeBase64() argument
65 if (out == NULL || *inOutBufSize < outLen) { in decodeBase64()
96 if (j < outLen) { out[j++] = (accum >> 16); } in decodeBase64()
97 if (j < outLen) { out[j++] = (accum >> 8) & 0xff; } in decodeBase64()
98 if (j < outLen) { out[j++] = accum & 0xff; } in decodeBase64()
123 const void *_data, size_t size, AString *out) { in encodeBase64() argument
124 out->clear(); in encodeBase64()
134 out->append(encode6Bit(x1 >> 2)); in encodeBase64()
135 out->append(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f)); in encodeBase64()
136 out->append(encode6Bit((x2 << 2 | x3 >> 6) & 0x3f)); in encodeBase64()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DDumpHelpers.h31 void dumpVal(std::string& out, const char* name, bool);
32 void dumpVal(std::string& out, const char* name, const void*);
33 void dumpVal(std::string& out, const char* name, int);
34 void dumpVal(std::string& out, const char* name, float);
35 void dumpVal(std::string& out, const char* name, uint32_t);
36 void dumpHex(std::string& out, const char* name, uint64_t);
37 void dumpVal(std::string& out, const char* name, const char* value);
38 void dumpVal(std::string& out, const char* name, const std::string& value);
41 void dumpVal(std::string& out, const char* name, const char*, int);
42 void dumpVal(std::string& out, const char* name, const std::string&, int);
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointXmlUtils.java122 public static void serializePasspointConfiguration(XmlSerializer out, in serializePasspointConfiguration() argument
124 XmlUtil.writeNextValue(out, XML_TAG_UPDATE_IDENTIFIER, config.getUpdateIdentifier()); in serializePasspointConfiguration()
125 XmlUtil.writeNextValue(out, XML_TAG_CREDENTIAL_PRIORITY, config.getCredentialPriority()); in serializePasspointConfiguration()
126 XmlUtil.writeNextValue(out, XML_TAG_TRUST_ROOT_CERT_LIST, config.getTrustRootCertList()); in serializePasspointConfiguration()
127 XmlUtil.writeNextValue(out, XML_TAG_SUBSCRIPTION_CREATION_TIME, in serializePasspointConfiguration()
129 XmlUtil.writeNextValue(out, XML_TAG_SUBSCRIPTION_EXPIRATION_TIME, in serializePasspointConfiguration()
131 XmlUtil.writeNextValue(out, XML_TAG_SUBSCRIPTION_TYPE, config.getSubscriptionType()); in serializePasspointConfiguration()
132 XmlUtil.writeNextValue(out, XML_TAG_USAGE_LIMIT_TIME_PERIOD, in serializePasspointConfiguration()
134 XmlUtil.writeNextValue(out, XML_TAG_USAGE_LIMIT_START_TIME, in serializePasspointConfiguration()
136 XmlUtil.writeNextValue(out, XML_TAG_USAGE_LIMIT_DATA_LIMIT, in serializePasspointConfiguration()
[all …]

12345678910>>...69