Lines Matching refs:os

147   std::ostringstream os;  in DumpHex()  local
150 os << StringPrintf("0x%04x", insn[i]) << " "; in DumpHex()
153 os << " "; in DumpHex()
155 return os.str(); in DumpHex()
163 std::ostringstream os; in DumpHexLE() local
166 os << StringPrintf("%02x%02x", static_cast<uint8_t>(insn[i] & 0x00FF), in DumpHexLE()
170 os << " "; in DumpHexLE()
172 return os.str(); in DumpHexLE()
176 std::ostringstream os; in DumpString() local
179 case k10x: os << opcode; break; in DumpString()
180 case k12x: os << StringPrintf("%s v%d, v%d", opcode, VRegA_12x(), VRegB_12x()); break; in DumpString()
181 case k11n: os << StringPrintf("%s v%d, #%+d", opcode, VRegA_11n(), VRegB_11n()); break; in DumpString()
182 case k11x: os << StringPrintf("%s v%d", opcode, VRegA_11x()); break; in DumpString()
183 case k10t: os << StringPrintf("%s %+d", opcode, VRegA_10t()); break; in DumpString()
184 case k20t: os << StringPrintf("%s %+d", opcode, VRegA_20t()); break; in DumpString()
185 case k22x: os << StringPrintf("%s v%d, v%d", opcode, VRegA_22x(), VRegB_22x()); break; in DumpString()
186 case k21t: os << StringPrintf("%s v%d, %+d", opcode, VRegA_21t(), VRegB_21t()); break; in DumpString()
187 case k21s: os << StringPrintf("%s v%d, #%+d", opcode, VRegA_21s(), VRegB_21s()); break; in DumpString()
192 os << StringPrintf("%s v%d, #int %+d // 0x%x", opcode, VRegA_21h(), value, value); in DumpString()
195 os << StringPrintf("%s v%d, #long %+" PRId64 " // 0x%" PRIx64, opcode, VRegA_21h(), in DumpString()
206 os << StringPrintf( in DumpString()
212 os << StringPrintf("const-string v%d, <<invalid-string-idx-%d>> // string@%d", in DumpString()
225 os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " in DumpString()
239os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << file->PrettyField(field_idx, tru… in DumpString()
253os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << file->PrettyField(field_idx, true) in DumpString()
259 os << StringPrintf("%s v%d, thing@%d", opcode, VRegA_21c(), VRegB_21c()); in DumpString()
264 …case k23x: os << StringPrintf("%s v%d, v%d, v%d", opcode, VRegA_23x(), VRegB_23x(), VRegC_23x());… in DumpString()
265 …case k22b: os << StringPrintf("%s v%d, v%d, #%+d", opcode, VRegA_22b(), VRegB_22b(), VRegC_22b())… in DumpString()
266 …case k22t: os << StringPrintf("%s v%d, v%d, %+d", opcode, VRegA_22t(), VRegB_22t(), VRegC_22t());… in DumpString()
267 …case k22s: os << StringPrintf("%s v%d, v%d, #%+d", opcode, VRegA_22s(), VRegB_22s(), VRegC_22s())… in DumpString()
279os << opcode << " v" << static_cast<int>(VRegA_22c()) << ", v" << static_cast<int>(VRegB_22c()) <<… in DumpString()
288os << opcode << " v" << static_cast<int>(VRegA_22c()) << ", v" << static_cast<int>(VRegB_22c()) <<… in DumpString()
302os << opcode << " v" << static_cast<int>(VRegA_22c()) << ", v" << static_cast<int>(VRegB_22c()) <<… in DumpString()
311os << opcode << " v" << static_cast<int>(VRegA_22c()) << ", v" << static_cast<int>(VRegB_22c()) <<… in DumpString()
319 os << opcode << " v" << static_cast<int>(VRegA_22c()) << ", v" in DumpString()
328 os << opcode << " v" << static_cast<int>(VRegA_22c()) << ", v" in DumpString()
335os << StringPrintf("%s v%d, v%d, thing@%d", opcode, VRegA_22c(), VRegB_22c(), VRegC_22c()); in DumpString()
340 case k32x: os << StringPrintf("%s v%d, v%d", opcode, VRegA_32x(), VRegB_32x()); break; in DumpString()
341 case k30t: os << StringPrintf("%s %+d", opcode, VRegA_30t()); break; in DumpString()
342 case k31t: os << StringPrintf("%s v%d, %+d", opcode, VRegA_31t(), VRegB_31t()); break; in DumpString()
343 case k31i: os << StringPrintf("%s v%d, #%+d", opcode, VRegA_31i(), VRegB_31i()); break; in DumpString()
349 os << StringPrintf( in DumpString()
356 os << StringPrintf("%s v%d, <<invalid-string-idx-%d>> // string@%d", in DumpString()
363 os << StringPrintf("%s v%d, string@%d", opcode, VRegA_31c(), string_idx); in DumpString()
366 os << StringPrintf("%s v%d, thing@%d", opcode, VRegA_31c(), VRegB_31c()); break; in DumpString()
375 os << ", "; in DumpString()
377 os << "v" << arg[i]; in DumpString()
383 os << opcode << " {"; in DumpString()
385 os << "}, type@" << VRegB_35c(); in DumpString()
395 os << opcode << " {"; in DumpString()
398 os << "}, " << file->PrettyMethod(method_idx) << " // method@" << method_idx; in DumpString()
404 os << opcode << " {"; in DumpString()
407 os << "}, // vtable@" << vtable_offset; in DumpString()
413 os << opcode << " {"; in DumpString()
416 os << "}, // call_site@" << call_site_idx; in DumpString()
421 os << opcode << " {"; in DumpString()
423 os << "}, thing@" << VRegB_35c(); in DumpString()
439 os << StringPrintf("%s, {v%d .. v%d}, ", opcode, first_reg, last_reg) in DumpString()
447 os << StringPrintf("%s, {v%d .. v%d}, ", opcode, first_reg, last_reg) in DumpString()
455 os << StringPrintf("%s, {v%d .. v%d}, ", opcode, first_reg, last_reg) in DumpString()
461 os << StringPrintf("%s, {v%d .. v%d}, ", opcode, first_reg, last_reg) in DumpString()
472 os << opcode << " {"; in DumpString()
475 os << ", "; in DumpString()
477 os << "v" << arg[i]; in DumpString()
479 os << "}"; in DumpString()
481 os << ", " << file->PrettyMethod(method_idx) in DumpString()
485 os << ", "; in DumpString()
487 os << "method@" << method_idx << ", proto@" << proto_idx; in DumpString()
496 os << opcode << ", {v" << VRegC_4rcc() << " .. v" << (VRegC_4rcc() + VRegA_4rcc()) in DumpString()
507 os << opcode << ", {v" << VRegC_4rcc() << " .. v" << (VRegC_4rcc() + VRegA_4rcc()) in DumpString()
512 case k51l: os << StringPrintf("%s v%d, #%+" PRId64, opcode, VRegA_51l(), VRegB_51l()); break; in DumpString()
513 case kInvalidFormat: os << "<invalid-opcode-format>"; in DumpString()
515 return os.str(); in DumpString()
550 std::ostream& operator<<(std::ostream& os, Instruction::Code code) { in operator <<() argument
551 return os << Instruction::Name(code); in operator <<()