/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
H A D | OpcodeInfo.java | 30 public final AbstractFormat format; field in class:OpcodeInfo 39 this.format = fmt;
|
/art/runtime/base/ |
H A D | stringprintf.cc | 23 void StringAppendV(std::string* dst, const char* format, va_list ap) { argument 32 int result = vsnprintf(space, sizeof(space), format, backup_ap); 55 result = vsnprintf(buf, length, format, backup_ap); 74 void StringAppendF(std::string* dst, const char* format, ...) { argument 76 va_start(ap, format); 77 StringAppendV(dst, format, ap);
|
H A D | stringprintf.h | 34 void StringAppendV(std::string* dst, const char* format, va_list ap);
|
/art/tools/ahat/src/ |
H A D | HtmlDoc.java | 41 ps.format("<title>%s</title>\n", title.html()); 42 ps.format("<link rel=\"stylesheet\" type=\"text/css\" href=\"%s\">\n", 49 public void title(String format, Object... args) { argument 51 ps.print(DocString.text(String.format(format, args)).html()); 57 ps.format("<div class=\"menu\">%s</div>", string.html()); 89 ps.format("<th>%s</th>", columns[i].heading.html()); 94 ps.format("<th align=\"left\">%s</th>", columns[columns.length - 1].heading.html()); 111 ps.format("<tr><th colspan=\"%d\">%s</th>", subcols.size(), description.html()); 113 ps.format("<t [all...] |
H A D | DocString.java | 45 public static DocString format(String format, Object... args) { argument 47 return doc.appendFormat(format, args); 79 public DocString appendFormat(String format, Object... args) { argument 80 append(String.format(format, args)); 132 public static URI formattedUri(String format, Object... args) { argument 133 return uri(String.format(format, args));
|
H A D | NativeAllocationsHandler.java | 46 DocString.format("%,14d", allocs.size())); 48 DocString.format("%,14d", totalSize)); 69 DocString.format("%,14d", alloc.size), 71 DocString.format("0x%x", alloc.pointer), 84 DocString.format("%,14d", total),
|
H A D | OverviewHandler.java | 45 DocString.format("ahat-%s", OverviewHandler.class.getPackage().getImplementationVersion())); 61 DocString.format("%,14d", allocs.size())); 63 DocString.format("%,14d", totalSize));
|
H A D | Doc.java | 28 void title(String format, Object... args); argument
|
/art/test/123-inline-execute2/src/ |
H A D | Main.java | 24 + String.format(Locale.US, "%.12f", Math.sin(d))); 27 + String.format(Locale.US, "%.12f", Math.sinh(d))); 29 + String.format(Locale.US, "%.12f", Math.asin(d))); 31 + String.format(Locale.US, "%.12f", Math.cos(d))); 33 + String.format(Locale.US, "%.12f", Math.cosh(d))); 35 + String.format(Locale.US, "%.12f", Math.acos(d))); 38 + String.format(Locale.US, "%.12f", Math.tan(d))); 41 + String.format(Locale.US, "%.12f", Math.tanh(d))); 43 + String.format(Locale.US, "%.12f", Math.atan(d))); 45 + String.format(Local [all...] |
/art/test/968-default-partial-compile-generated/util-src/ |
H A D | generate_smali.py | 122 test_invoke += self.TEST_GROUP_INVOKE_TEMPLATE.format(test_name=t.get_name()) 123 main_func = self.MAIN_FUNCTION_TEMPLATE.format(test_group_invoke=test_invoke) 125 return self.MAIN_CLASS_TEMPLATE.format(copyright = get_copyright("smali"), 228 return self.NSME_RESULT_TEMPLATE.format(tree = self.farg.get_tree()) 230 return self.AME_RESULT_TEMPLATE.format(tree = self.farg.get_tree()) 232 return self.ICCE_RESULT_TEMPLATE.format(tree = self.farg.get_tree()) 235 return self.NORMAL_RESULT_TEMPLATE.format(tree = self.farg.get_tree(), 242 return "TEST_FUNC_{}".format(self.farg.get_name()) 248 return self.TEST_FUNCTION_TEMPLATE.format(tree = self.farg.get_tree(), 293 return "[{class_name} {iface_tree}]".format(class_nam [all...] |
H A D | generate_java.py | 71 print("Running compile command: {}".format(cmd)) 73 print("Compiled {} files".format(len(files))) 86 self.compile_files("-d {}".format(self.classes_dir), self.temp_dir.glob("*.java")) 105 self.compile_files("-d {outdir} -cp {outdir}".format(outdir = self.classes_dir), files) 114 print("{} is not a shell script".format(javac_exec), file=sys.stderr) 118 print("{} is not a valid source dir".format(temp_dir), file=sys.stderr) 122 print("{} is not a valid classes directory".format(classes_dir), file=sys.stderr)
|
/art/tools/dexfuzz/src/dexfuzz/program/mutators/ |
H A D | ConstantValueChanger.java | 82 if (mInsn.insn.info.format instanceof ContainsConst) { 91 if (mInsn.insn.info.format instanceof ContainsConst) { 109 long oldConstant = ((ContainsConst)constInsn.insn.info.format).getConst(constInsn.insn); 116 % ((ContainsConst)constInsn.insn.info.format).getConstRange(); 136 long oldConstant = ((ContainsConst)constInsn.insn.info.format).getConst(constInsn.insn); 144 ((ContainsConst)constInsn.insn.info.format).setConst(constInsn.insn, mutation.newConstant);
|
H A D | PoolIndexChanger.java | 83 if (mInsn.insn.info.format instanceof ContainsPoolIndex) { 95 if (mInsn.insn.info.format instanceof ContainsPoolIndex) { 98 (ContainsPoolIndex)mInsn.insn.info.format; 145 (ContainsPoolIndex)poolIndexInsn.insn.info.format; 184 (ContainsPoolIndex) poolIndexInsn.insn.info.format;
|
/art/test/970-iface-super-resolution-generated/util-src/ |
H A D | generate_smali.py | 124 test_invoke += self.TEST_GROUP_INVOKE_TEMPLATE.format(test_name=t.get_name()) 125 main_func = self.MAIN_FUNCTION_TEMPLATE.format(test_group_invoke=test_invoke) 127 return self.MAIN_CLASS_TEMPLATE.format(copyright = get_copyright('smali'), 196 return self.TEST_FUNCTION_TEMPLATE.format(fname = self.get_name(), 204 return "TEST_FUNC_{}".format(self.farg.get_name()) 210 return self.OUTPUT_FORMAT.format( 376 return "[{fname} {iftree}]".format(fname = self.get_name(), iftree = print_tree(self.ifaces)) 379 return '\n'.join(map(lambda a: self.OUTPUT_TEMPLATE.format(class_name = self.get_name(), 388 funcs = '\n'.join(map(lambda a: self.TEST_FUNC_TEMPLATE.format(iface = a.get_name(), 391 calls = '\n'.join(map(lambda a: self.TEST_CALL_TEMPLATE.format(ifac [all...] |
/art/test/964-default-iface-init-generated/util-src/ |
H A D | generate_java.py | 101 test_invoke += self.TEST_GROUP_INVOKE_TEMPLATE.format(test_name=t.get_name()) 102 main_func = self.MAIN_FUNCTION_TEMPLATE.format(test_group_invoke=test_invoke) 104 return self.MAIN_CLASS_TEMPLATE.format(copyright = get_copyright('java'), 148 return self.TEST_FUNCTION_TEMPLATE.format(fname=self.get_name(), 156 return "TEST_FUNC_{}".format(self.farg.get_name()) 162 return self.OUTPUT_FORMAT.format( 211 return "[{fname} {iftree}]".format(fname = self.get_name(), iftree = print_tree(self.ifaces)) 217 return "\n".join(map(lambda a: self.TOUCH_OUTPUT_TEMPLATE.format( 234 touches = '\n'.join(map(lambda a: self.TOUCH_CALL_TEMPLATE.format(class_name = self.class_name, 237 return self.TEST_CLASS_TEMPLATE.format(copyrigh [all...] |
/art/tools/dexfuzz/src/dexfuzz/fuzzers/ |
H A D | FuzzerMultipleNoExecute.java | 34 return String.format("%09d_%s", iterations, Options.outputFile);
|
/art/tools/dexfuzz/src/dexfuzz/program/ |
H A D | MInsn.java | 59 return String.format("{0x%04x%s: %s}",
|
/art/sigchainlib/ |
H A D | sigchain_dummy.cc | 36 static void log(const char* format, ...) { argument 39 va_start(ap, format); 40 vsnprintf(buf, sizeof(buf), format, ap);
|
/art/compiler/debug/ |
H A D | elf_debug_frame_writer.h | 33 dwarf::CFIFormat format, 61 WriteCIE(is64bit, return_reg, opcodes, format, buffer); 84 WriteCIE(is64bit, return_reg, opcodes, format, buffer); 108 WriteCIE(is64bit, return_reg, opcodes, format, buffer); 134 WriteCIE(is64bit, return_reg, opcodes, format, buffer); 160 WriteCIE(is64bit, return_reg, opcodes, format, buffer); 173 dwarf::CFIFormat format, 175 CHECK(format == dwarf::DW_DEBUG_FRAME_FORMAT || format == dwarf::DW_EH_FRAME_FORMAT); 203 if (format 32 WriteCIE(InstructionSet isa, dwarf::CFIFormat format, std::vector<uint8_t>* buffer) argument 171 WriteCFISection(ElfBuilder<ElfTypes>* builder, const ArrayRef<const MethodDebugInfo>& method_infos, dwarf::CFIFormat format, bool write_oat_patches) argument [all...] |
/art/test/971-iface-super/util-src/ |
H A D | generate_smali.py | 122 test_invoke += self.TEST_GROUP_INVOKE_TEMPLATE.format(test_name=t.get_name()) 123 main_func = self.MAIN_FUNCTION_TEMPLATE.format(test_group_invoke=test_invoke) 125 return self.MAIN_CLASS_TEMPLATE.format(copyright = get_copyright("smali"), 197 return "TEST_FUNC_{}".format(self.farg.get_name()) 203 return self.TEST_FUNCTION_TEMPLATE.format(fname = self.get_name(), 338 return "[{class_name} {iface_tree}]".format(class_name = self.class_name, 351 yield self.OUTPUT_PREFIX.format(iface_name = iface.get_name(), tree = self.get_tree()) 353 yield iface.get_response().get_output_format().format(iface_name = iface.get_name(), 360 s_ifaces = '\n'.join(map(lambda a: self.IMPLEMENTS_TEMPLATE.format(iface_name = a.get_name()), 364 super_calls = "\n".join(super_template.format(iface_nam [all...] |
H A D | generate_java.py | 71 print("Running compile command: {}".format(cmd)) 73 print("Compiled {} files".format(len(files))) 86 self.compile_files("-d {}".format(self.classes_dir), self.temp_dir.glob("*.java")) 109 self.compile_files("-d {outdir} -cp {outdir}".format(outdir = self.classes_dir), files) 118 print("{} is not a shell script".format(javac_exec), file=sys.stderr) 122 print("{} is not a valid source dir".format(temp_dir), file=sys.stderr) 126 print("{} is not a valid classes directory".format(classes_dir), file=sys.stderr)
|
/art/compiler/debug/dwarf/ |
H A D | headers.h | 44 CFIFormat format, 51 writer.PushUint32((format == DW_EH_FRAME_FORMAT) ? 0 : 0xFFFFFFFF); // CIE id. 59 if (format == DW_EH_FRAME_FORMAT) { 62 DCHECK(format == DW_DEBUG_FRAME_FORMAT); 66 if (format == DW_EH_FRAME_FORMAT) { 69 DCHECK(format == DW_DEBUG_FRAME_FORMAT); 86 CFIFormat format, 96 if (format == DW_EH_FRAME_FORMAT) { 100 DCHECK(format == DW_DEBUG_FRAME_FORMAT); 104 if (format 41 WriteCIE(bool is64bit, Reg return_address_register, const DebugFrameOpCodeWriter<Vector>& opcodes, CFIFormat format, std::vector<uint8_t>* buffer) argument 80 WriteFDE(bool is64bit, uint64_t section_address, uint64_t cie_address, uint64_t code_address, uint64_t code_size, const ArrayRef<const uint8_t>& opcodes, CFIFormat format, uint64_t buffer_address, std::vector<uint8_t>* buffer, std::vector<uintptr_t>* patch_locations) argument [all...] |
/art/test/961-default-iface-resolution-generated/util-src/ |
H A D | generate_java.py | 104 test_invoke += self.TEST_GROUP_INVOKE_TEMPLATE.format(test_name=t.get_name()) 105 main_func = self.MAIN_FUNCTION_TEMPLATE.format(test_group_invoke=test_invoke) 107 return self.MAIN_CLASS_TEMPLATE.format(copyright = get_copyright("java"), 142 return "{tree} calls default method on {iface_tree}".format( 149 return "TEST_FUNC_{}".format(self.farg.get_name()) 155 return self.TEST_FUNCTION_TEMPLATE.format(fname=self.get_name(), farg=self.farg.get_name()) 187 return "[{class_name} {iface_tree}]".format(class_name = self.class_name, 212 return self.TEST_CLASS_TEMPLATE.format(copyright = get_copyright('java'), 261 return "[{class_name} {iftree}]".format(class_name = self.get_name(), 279 j_ifaces += " {},".format( [all...] |
/art/test/utils/python/ |
H A D | generate_java_main.py | 99 test_invoke += self.TEST_GROUP_INVOKE_TEMPLATE.format(test_name=t.get_name()) 100 main_func = self.MAIN_FUNCTION_TEMPLATE.format(test_group_invoke=test_invoke) 105 return self.MAIN_CLASS_TEMPLATE.format(copyright = get_copyright('java'), 160 func_invokes += self.TEST_INVOKE_TEMPLATE.format(fname=f.get_name(), 163 return self.INSTANCE_TEST_TEMPLATE.format(test_name=self.get_name(), ty=self.ty, 195 return "Test_Func_{}_{}_{}".format(self.func, self.farg, self.invoke) 201 return self.TEST_FUNCTION_TEMPLATE.format(fname=self.get_name(), 303 print("{} is not a valid java dir".format(java_dir), file=sys.stderr)
|
/art/test/021-string2/src/junit/framework/ |
H A D | ComparisonCompactor.java | 27 // android-changed use local method instead of Assert.format, since 29 return format(message, fExpected, fActual); 35 // android-changed use local format method 36 return format(message, expected, actual); 80 // android-changed copy of Assert.format for reasons described above 81 private static String format(String message, Object expected, Object actual) { method in class:ComparisonCompactor
|