Lines Matching refs:os
138 std::ostringstream os; in DumpHex() local
141 os << StringPrintf("0x%04x", insn[i]) << " "; in DumpHex()
144 os << " "; in DumpHex()
146 return os.str(); in DumpHex()
154 std::ostringstream os; in DumpHexLE() local
157 os << StringPrintf("%02x%02x", static_cast<uint8_t>(insn[i] & 0x00FF), in DumpHexLE()
161 os << " "; in DumpHexLE()
163 return os.str(); in DumpHexLE()
167 std::ostringstream os; in DumpString() local
170 case k10x: os << opcode; break; in DumpString()
171 case k12x: os << StringPrintf("%s v%d, v%d", opcode, VRegA_12x(), VRegB_12x()); break; in DumpString()
172 case k11n: os << StringPrintf("%s v%d, #%+d", opcode, VRegA_11n(), VRegB_11n()); break; in DumpString()
173 case k11x: os << StringPrintf("%s v%d", opcode, VRegA_11x()); break; in DumpString()
174 case k10t: os << StringPrintf("%s %+d", opcode, VRegA_10t()); break; in DumpString()
175 case k20t: os << StringPrintf("%s %+d", opcode, VRegA_20t()); break; in DumpString()
176 case k22x: os << StringPrintf("%s v%d, v%d", opcode, VRegA_22x(), VRegB_22x()); break; in DumpString()
177 case k21t: os << StringPrintf("%s v%d, %+d", opcode, VRegA_21t(), VRegB_21t()); break; in DumpString()
178 case k21s: os << StringPrintf("%s v%d, #%+d", opcode, VRegA_21s(), VRegB_21s()); break; in DumpString()
183 os << StringPrintf("%s v%d, #int %+d // 0x%x", opcode, VRegA_21h(), value, value); in DumpString()
186 os << StringPrintf("%s v%d, #long %+" PRId64 " // 0x%" PRIx64, opcode, VRegA_21h(), in DumpString()
197 os << StringPrintf( in DumpString()
203 os << StringPrintf("const-string v%d, <<invalid-string-idx-%d>> // string@%d", in DumpString()
216 os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " in DumpString()
230 …os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << file->PrettyField(field_idx, tru… in DumpString()
244 …os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << file->PrettyField(field_idx, true) in DumpString()
250 os << StringPrintf("%s v%d, thing@%d", opcode, VRegA_21c(), VRegB_21c()); in DumpString()
255 …case k23x: os << StringPrintf("%s v%d, v%d, v%d", opcode, VRegA_23x(), VRegB_23x(), VRegC_23x());… in DumpString()
256 …case k22b: os << StringPrintf("%s v%d, v%d, #%+d", opcode, VRegA_22b(), VRegB_22b(), VRegC_22b())… in DumpString()
257 …case k22t: os << StringPrintf("%s v%d, v%d, %+d", opcode, VRegA_22t(), VRegB_22t(), VRegC_22t());… in DumpString()
258 …case k22s: os << StringPrintf("%s v%d, v%d, #%+d", opcode, VRegA_22s(), VRegB_22s(), VRegC_22s())… in DumpString()
270 …os << opcode << " v" << static_cast<int>(VRegA_22c()) << ", v" << static_cast<int>(VRegB_22c()) <<… in DumpString()
279 …os << opcode << " v" << static_cast<int>(VRegA_22c()) << ", v" << static_cast<int>(VRegB_22c()) <<… in DumpString()
293 …os << opcode << " v" << static_cast<int>(VRegA_22c()) << ", v" << static_cast<int>(VRegB_22c()) <<… in DumpString()
302 …os << opcode << " v" << static_cast<int>(VRegA_22c()) << ", v" << static_cast<int>(VRegB_22c()) <<… in DumpString()
310 os << opcode << " v" << static_cast<int>(VRegA_22c()) << ", v" in DumpString()
319 os << opcode << " v" << static_cast<int>(VRegA_22c()) << ", v" in DumpString()
326 … os << StringPrintf("%s v%d, v%d, thing@%d", opcode, VRegA_22c(), VRegB_22c(), VRegC_22c()); in DumpString()
331 case k32x: os << StringPrintf("%s v%d, v%d", opcode, VRegA_32x(), VRegB_32x()); break; in DumpString()
332 case k30t: os << StringPrintf("%s %+d", opcode, VRegA_30t()); break; in DumpString()
333 case k31t: os << StringPrintf("%s v%d, %+d", opcode, VRegA_31t(), VRegB_31t()); break; in DumpString()
334 case k31i: os << StringPrintf("%s v%d, #%+d", opcode, VRegA_31i(), VRegB_31i()); break; in DumpString()
340 os << StringPrintf( in DumpString()
347 os << StringPrintf("%s v%d, <<invalid-string-idx-%d>> // string@%d", in DumpString()
354 os << StringPrintf("%s v%d, string@%d", opcode, VRegA_31c(), string_idx); in DumpString()
357 os << StringPrintf("%s v%d, thing@%d", opcode, VRegA_31c(), VRegB_31c()); break; in DumpString()
367 os << opcode << " {"; in DumpString()
370 os << ", "; in DumpString()
372 os << "v" << arg[i]; in DumpString()
374 os << "}, type@" << VRegB_35c(); in DumpString()
384 os << opcode << " {"; in DumpString()
388 os << ", "; in DumpString()
390 os << "v" << arg[i]; in DumpString()
392 os << "}, " << file->PrettyMethod(method_idx) << " // method@" << method_idx; in DumpString()
398 os << opcode << " {"; in DumpString()
402 os << ", "; in DumpString()
404 os << "v" << arg[i]; in DumpString()
406 os << "}, // vtable@" << method_idx; in DumpString()
412 os << opcode << " {"; in DumpString()
416 os << ", "; in DumpString()
418 os << "v" << arg[i]; in DumpString()
420 os << "}, // call_site@" << call_site_idx; in DumpString()
425 os << opcode << " {v" << arg[0] << ", v" << arg[1] << ", v" << arg[2] in DumpString()
442 os << StringPrintf("%s, {v%d .. v%d}, ", opcode, first_reg, last_reg) in DumpString()
450 os << StringPrintf("%s, {v%d .. v%d}, ", opcode, first_reg, last_reg) in DumpString()
458 os << StringPrintf("%s, {v%d .. v%d}, ", opcode, first_reg, last_reg) in DumpString()
464 os << StringPrintf("%s, {v%d .. v%d}, ", opcode, first_reg, last_reg) in DumpString()
475 os << opcode << " {"; in DumpString()
478 os << ", "; in DumpString()
480 os << "v" << arg[i]; in DumpString()
482 os << "}"; in DumpString()
484 os << ", " << file->PrettyMethod(method_idx) << ", " << file->GetShorty(proto_idx) in DumpString()
487 os << ", "; in DumpString()
489 os << "method@" << method_idx << ", proto@" << proto_idx; in DumpString()
498 os << opcode << ", {v" << VRegC_4rcc() << " .. v" << (VRegC_4rcc() + VRegA_4rcc()) in DumpString()
508 os << opcode << ", {v" << VRegC_4rcc() << " .. v" << (VRegC_4rcc() + VRegA_4rcc()) in DumpString()
513 case k51l: os << StringPrintf("%s v%d, #%+" PRId64, opcode, VRegA_51l(), VRegB_51l()); break; in DumpString()
515 return os.str(); in DumpString()
542 std::ostream& operator<<(std::ostream& os, const Instruction::Code& code) { in operator <<() argument
543 return os << Instruction::Name(code); in operator <<()