/frameworks/base/tools/aapt/ |
D | AaptConfig.cpp | 34 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 …]
|
D | AaptConfig.h | 37 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/tools/aapt2/ |
D | ConfigDescription.cpp | 41 static bool parseMcc(const char* name, ResTable_config* out) { in parseMcc() argument 43 if (out) out->mcc = 0; in parseMcc() 64 if (out) out->mcc = d; in parseMcc() 71 static bool parseMnc(const char* name, ResTable_config* out) { in parseMnc() argument 73 if (out) out->mcc = 0; in parseMnc() 92 if (out) { in parseMnc() 93 out->mnc = atoi(val); in parseMnc() 94 if (out->mnc == 0) { in parseMnc() 95 out->mnc = ACONFIGURATION_MNC_ZERO; in parseMnc() 102 static bool parseLayoutDirection(const char* name, ResTable_config* out) { in parseLayoutDirection() argument [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | LoggingPrintStreamTest.java | 34 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/ |
D | Wap230WspContentTypeTest.java | 257 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/ |
D | JniCodeEmitter.java | 130 public void emitNativeDeclaration(JFunc jfunc, PrintStream out) { in emitNativeDeclaration() argument 132 out.println(" /* @hide C function " + jfunc.getCFunc().getOriginal() + " */"); in emitNativeDeclaration() 133 out.println(); in emitNativeDeclaration() 135 out.println(" // C function " + jfunc.getCFunc().getOriginal()); in emitNativeDeclaration() 136 out.println(); in emitNativeDeclaration() 139 emitFunction(jfunc, out, true, false); in emitNativeDeclaration() 142 public void emitJavaInterfaceCode(JFunc jfunc, PrintStream out) { in emitJavaInterfaceCode() argument 143 emitFunction(jfunc, out, false, true); in emitJavaInterfaceCode() 146 public void emitJavaCode(JFunc jfunc, PrintStream out) { in emitJavaCode() argument 147 emitFunction(jfunc, out, false, false); in emitJavaCode() [all …]
|
/frameworks/base/tools/preload/ |
D | PrintCsv.java | 42 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 …]
|
D | PrintHtmlDiff.java | 71 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/rs/cpu_ref/ |
D | rsCpuIntrinsicBlend.cpp | 90 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/ |
D | AudioResamplerFirOps.h | 62 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/compile/slang/ |
D | slang_rs_reflect_utils.cpp | 120 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/ |
D | dct.cpp | 38 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 …]
|
D | dct_inline.h | 29 int32 out; in mla724() local 33 out = op2 * 724 + op3; /* op1 is not used here */ in mla724() 35 return out; in mla724() 62 int32 out; in mla1338() local 66 out = k6 * 1338 + k1; in mla1338() 68 return out; in mla1338() 73 int32 out; in mla946() local 77 out = k6 * 946 + k1; in mla946() 79 return out; in mla946() 113 int32 out; in mla724() local [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointXmlUtils.java | 121 public static void serializePasspointConfiguration(XmlSerializer out, in serializePasspointConfiguration() argument 123 XmlUtil.writeNextValue(out, XML_TAG_UPDATE_IDENTIFIER, config.getUpdateIdentifier()); in serializePasspointConfiguration() 124 XmlUtil.writeNextValue(out, XML_TAG_CREDENTIAL_PRIORITY, config.getCredentialPriority()); in serializePasspointConfiguration() 125 XmlUtil.writeNextValue(out, XML_TAG_TRUST_ROOT_CERT_LIST, config.getTrustRootCertList()); in serializePasspointConfiguration() 126 XmlUtil.writeNextValue(out, XML_TAG_SUBSCRIPTION_CREATION_TIME, in serializePasspointConfiguration() 128 XmlUtil.writeNextValue(out, XML_TAG_SUBSCRIPTION_EXPIRATION_TIME, in serializePasspointConfiguration() 130 XmlUtil.writeNextValue(out, XML_TAG_SUBSCRIPTION_TYPE, config.getSubscriptionType()); in serializePasspointConfiguration() 131 XmlUtil.writeNextValue(out, XML_TAG_USAGE_LIMIT_TIME_PERIOD, in serializePasspointConfiguration() 133 XmlUtil.writeNextValue(out, XML_TAG_USAGE_LIMIT_START_TIME, in serializePasspointConfiguration() 135 XmlUtil.writeNextValue(out, XML_TAG_USAGE_LIMIT_DATA_LIMIT, in serializePasspointConfiguration() [all …]
|
/frameworks/native/opengl/tools/glgen/ |
D | gen | 4 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/android/content/pm [all …]
|
/frameworks/base/tools/aapt2/java/ |
D | ClassDefinition.cpp | 25 void ClassMember::WriteToStream(const StringPiece& prefix, bool final, std::ostream* out) const { in WriteToStream() 26 processor_.WriteToStream(out, prefix); in WriteToStream() 34 std::ostream* out) const { in WriteToStream() 35 *out << prefix << signature_ << " {\n"; in WriteToStream() 37 *out << prefix << " " << statement << "\n"; in WriteToStream() 39 *out << prefix << "}"; in WriteToStream() 52 std::ostream* out) const { in WriteToStream() 57 ClassMember::WriteToStream(prefix, final, out); in WriteToStream() 59 *out << prefix << "public "; in WriteToStream() 61 *out << "static "; in WriteToStream() [all …]
|
/frameworks/base/tools/bit/ |
D | main.cpp | 275 print_usage(FILE* out) { in print_usage() argument 276 fprintf(out, "usage: bit OPTIONS PATTERN\n"); in print_usage() 277 fprintf(out, "\n"); in print_usage() 278 fprintf(out, " Build, sync and test android code.\n"); in print_usage() 279 fprintf(out, "\n"); in print_usage() 280 fprintf(out, " The -b -i and -t options allow you to specify which phases\n"); in print_usage() 281 fprintf(out, " you want to run. If none of those options are given, then\n"); in print_usage() 282 fprintf(out, " all phases are run. If any of these options are provided\n"); in print_usage() 283 fprintf(out, " then only the listed phases are run.\n"); in print_usage() 284 fprintf(out, "\n"); in print_usage() [all …]
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | log_helpers.h | 14 inline std::ostream& operator<<(std::ostream& out, 16 return out << "vec2(" << vec.x() << ',' << vec.y() << ')'; 20 inline std::ostream& operator<<(std::ostream& out, 22 return out << "vec3(" << vec.x() << ',' << vec.y() << ',' << vec.z() << ')'; 26 inline std::ostream& operator<<(std::ostream& out, 28 return out << "vec4(" << vec.x() << ',' << vec.y() << ',' << vec.z() << ',' 33 inline std::ostream& operator<<(std::ostream& out, 35 out << std::setfill(' ') << std::setprecision(4) << std::fixed 37 out << "\nmat4["; 38 out << std::setw(10) << mat(0, 0) << " " << std::setw(10) << mat(0, 1) << " " [all …]
|
/frameworks/base/core/java/android/util/ |
D | JsonWriter.java | 123 private final Writer out; field in JsonWriter 148 public JsonWriter(Writer out) { in JsonWriter() argument 149 if (out == null) { in JsonWriter() 152 this.out = out; in JsonWriter() 241 out.write(openBracket); in open() 260 out.write(closeBracket); in close() 315 out.write("null"); in nullValue() 326 out.write(value ? "true" : "false"); in value() 342 out.append(Double.toString(value)); in value() 353 out.write(Long.toString(value)); in value() [all …]
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | VectorUtil.java | 23 public static void sub(double[] a, double[] b, double[] out) { in sub() argument 24 out[0] = a[0] - b[0]; in sub() 25 out[1] = a[1] - b[1]; in sub() 26 out[2] = a[2] - b[2]; in sub() 29 public static void mult(double[] a, double b, double[] out) { in mult() argument 30 out[0] = a[0] * b; in mult() 31 out[1] = a[1] * b; in mult() 32 out[2] = a[2] * b; in mult() 43 public static void cross(double[] a, double[] b, double[] out) { in cross() argument 47 out[0] = out0; in cross() [all …]
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerShellCommand.java | 74 final PrintWriter out = getOutPrintWriter(); in onHelp() local 75 out.println("Overlay manager (overlay) commands:"); in onHelp() 76 out.println(" help"); in onHelp() 77 out.println(" Print this help text."); in onHelp() 78 out.println(" dump [--verbose] [--user USER_ID] [PACKAGE [PACKAGE [...]]]"); in onHelp() 79 out.println(" Print debugging information about the overlay manager."); in onHelp() 80 out.println(" list [--user USER_ID] [PACKAGE [PACKAGE [...]]]"); in onHelp() 81 out.println(" Print information about target and overlay packages."); in onHelp() 82 out.println(" Overlay packages are printed in priority order. With optional"); in onHelp() 83 out.println(" parameters PACKAGEs, limit output to the specified packages"); in onHelp() [all …]
|
/frameworks/base/tools/incident_report/ |
D | main.cpp | 41 static void print_message(Out* out, Descriptor const* descriptor, GenericMessage const* message); 131 print_value(Out* out, FieldDescriptor const* field, GenericMessage::Node const& node) in print_value() argument 140 out->printf("%u", node.value32); in print_value() 143 out->printf("%d", node.value32); in print_value() 146 out->printf("%f", *(float*)&node.value32); in print_value() 149 out->printf("(unexpected value %d (0x%x)", node.value32, node.value32); in print_value() 158 out->printf("%f", *(double*)&node.value64); in print_value() 163 out->printf("%d", val32); in print_value() 168 out->printf("%u", val32); in print_value() 174 out->printf("true"); in print_value() [all …]
|
/frameworks/compile/mclinker/lib/Object/ |
D | SectionMap.cpp | 159 iterator out, outBegin = begin(), outEnd = end(); in ~SectionMap() local 160 for (out = outBegin; out != outEnd; ++out) { in ~SectionMap() 161 if (*out != NULL) { in ~SectionMap() 162 Output::iterator in, inBegin = (*out)->begin(), inEnd = (*out)->end(); in ~SectionMap() 167 delete *out; in ~SectionMap() 175 const_iterator out, outBegin = begin(), outEnd = end(); in find() local 176 for (out = outBegin; out != outEnd; ++out) { in find() 177 Output::const_iterator in, inBegin = (*out)->begin(), inEnd = (*out)->end(); in find() 180 return std::make_pair(*out, *in); in find() 188 iterator out, outBegin = begin(), outEnd = end(); in find() local [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 246 public static void writeDocumentStart(XmlSerializer out, String headerName) in writeDocumentStart() argument 248 out.startDocument(null, true); in writeDocumentStart() 249 out.startTag(null, headerName); in writeDocumentStart() 258 public static void writeDocumentEnd(XmlSerializer out, String headerName) in writeDocumentEnd() argument 260 out.endTag(null, headerName); in writeDocumentEnd() 261 out.endDocument(); in writeDocumentEnd() 270 public static void writeNextSectionStart(XmlSerializer out, String headerName) in writeNextSectionStart() argument 272 out.startTag(null, headerName); in writeNextSectionStart() 281 public static void writeNextSectionEnd(XmlSerializer out, String headerName) in writeNextSectionEnd() argument 283 out.endTag(null, headerName); in writeNextSectionEnd() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | XmlUtils.java | 186 public static final void writeMapXml(Map val, OutputStream out) in writeMapXml() argument 189 serializer.setOutput(out, StandardCharsets.UTF_8.name()); in writeMapXml() 208 public static final void writeListXml(List val, OutputStream out) in writeListXml() argument 212 serializer.setOutput(out, StandardCharsets.UTF_8.name()); in writeListXml() 233 public static final void writeMapXml(Map val, String name, XmlSerializer out) in writeMapXml() argument 235 writeMapXml(val, name, out, null); in writeMapXml() 255 public static final void writeMapXml(Map val, String name, XmlSerializer out, in writeMapXml() argument 259 out.startTag(null, "null"); in writeMapXml() 260 out.endTag(null, "null"); in writeMapXml() 264 out.startTag(null, "map"); in writeMapXml() [all …]
|