Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 265) sorted by relevance

1234567891011

/art/test/ti-agent/
Djvmti_helper.cc69 std::ostream& operator<<(std::ostream& os, const jvmtiError& rhs) { in operator <<() argument
72 return os << "NONE"; in operator <<()
74 return os << "INVALID_THREAD"; in operator <<()
76 return os << "INVALID_THREAD_GROUP"; in operator <<()
78 return os << "INVALID_PRIORITY"; in operator <<()
80 return os << "THREAD_NOT_SUSPENDED"; in operator <<()
82 return os << "THREAD_SUSPENDED"; in operator <<()
84 return os << "THREAD_NOT_ALIVE"; in operator <<()
86 return os << "INVALID_OBJECT"; in operator <<()
88 return os << "INVALID_CLASS"; in operator <<()
[all …]
/art/runtime/
Druntime_common.cc133 void Dump(std::ostream& os) const;
135 void DumpRegister32(std::ostream& os, const char* name, uint32_t value) const;
136 void DumpRegister64(std::ostream& os, const char* name, uint64_t value) const;
138 void DumpX86Flags(std::ostream& os, uint32_t flags) const;
141 void DumpArmStatusRegister(std::ostream& os, RegisterType status_register) const;
146 void UContext::Dump(std::ostream& os) const { in Dump()
148 DumpRegister32(os, "eax", context->__ss.__eax); in Dump()
149 DumpRegister32(os, "ebx", context->__ss.__ebx); in Dump()
150 DumpRegister32(os, "ecx", context->__ss.__ecx); in Dump()
151 DumpRegister32(os, "edx", context->__ss.__edx); in Dump()
[all …]
Ddex_instruction.cc138 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()
[all …]
Dnative_stack_dump.cc62 static inline void WritePrefix(std::ostream& os, const char* prefix, bool odd) { in WritePrefix() argument
64 os << prefix; in WritePrefix()
66 os << " "; in WritePrefix()
68 os << " "; in WritePrefix()
137 std::ostream& os) { in Drain() argument
187 WritePrefix(os, prefix, (*pipe)->odd); in Drain()
192 os << tmp; in Drain()
198 os << tmp; in Drain()
215 std::ostream& os, in Addr2line() argument
227 Drain(0, prefix, pipe, os); in Addr2line()
[all …]
Dsignal_catcher.cc46 static void DumpCmdLine(std::ostream& os) { in DumpCmdLine() argument
56 os << "Cmd line: " << current_cmd_line << "\n"; in DumpCmdLine()
60 os << "Original command line: " << stashed_cmd_line << "\n"; in DumpCmdLine()
64 os << "Cmd line: " << GetCmdLine() << "\n"; in DumpCmdLine()
131 std::ostringstream os; in HandleSigQuit() local
132 os << "\n" in HandleSigQuit()
135 DumpCmdLine(os); in HandleSigQuit()
140 os << "Build fingerprint: '" << (fingerprint.empty() ? "unknown" : fingerprint) << "'\n"; in HandleSigQuit()
141 os << "ABI: '" << GetInstructionSetString(runtime->GetInstructionSet()) << "'\n"; in HandleSigQuit()
143 os << "Build type: " << (kIsDebugBuild ? "debug" : "optimized") << "\n"; in HandleSigQuit()
[all …]
/art/runtime/arch/arm64/
Dregisters_arm64.cc38 std::ostream& operator<<(std::ostream& os, const XRegister& rhs) { in operator <<() argument
40 os << kRegisterNames[rhs]; in operator <<()
42 os << "XRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
44 return os; in operator <<()
47 std::ostream& operator<<(std::ostream& os, const WRegister& rhs) { in operator <<() argument
49 os << kWRegisterNames[rhs]; in operator <<()
51 os << "WRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
53 return os; in operator <<()
56 std::ostream& operator<<(std::ostream& os, const DRegister& rhs) { in operator <<() argument
58 os << "d" << static_cast<int>(rhs); in operator <<()
[all …]
/art/runtime/arch/mips64/
Dregisters_mips64.cc31 std::ostream& operator<<(std::ostream& os, const GpuRegister& rhs) { in operator <<() argument
33 os << kRegisterNames[rhs]; in operator <<()
35 os << "GpuRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
37 return os; in operator <<()
40 std::ostream& operator<<(std::ostream& os, const FpuRegister& rhs) { in operator <<() argument
42 os << "f" << static_cast<int>(rhs); in operator <<()
44 os << "FpuRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
46 return os; in operator <<()
49 std::ostream& operator<<(std::ostream& os, const VectorRegister& rhs) { in operator <<() argument
51 os << "w" << static_cast<int>(rhs); in operator <<()
[all …]
/art/compiler/utils/arm/
Dmanaged_register_arm.cc75 void ArmManagedRegister::Print(std::ostream& os) const { in Print()
77 os << "No Register"; in Print()
79 os << "Core: " << static_cast<int>(AsCoreRegister()); in Print()
81 os << "Pair: " << static_cast<int>(AsRegisterPairLow()) << ", " in Print()
84 os << "SRegister: " << static_cast<int>(AsSRegister()); in Print()
86 os << "DRegister: " << static_cast<int>(AsDRegister()); in Print()
88 os << "??: " << RegId(); in Print()
92 std::ostream& operator<<(std::ostream& os, const ArmManagedRegister& reg) { in operator <<() argument
93 reg.Print(os); in operator <<()
94 return os; in operator <<()
[all …]
/art/compiler/utils/mips/
Dmanaged_register_mips.cc76 void MipsManagedRegister::Print(std::ostream& os) const { in Print()
78 os << "No Register"; in Print()
80 os << "Core: " << static_cast<int>(AsCoreRegister()); in Print()
82 os << "Pair: " << AsRegisterPairLow() << ", " << AsRegisterPairHigh(); in Print()
84 os << "FRegister: " << static_cast<int>(AsFRegister()); in Print()
86 os << "DRegister: " << static_cast<int>(AsDRegister()); in Print()
88 os << "??: " << RegId(); in Print()
92 std::ostream& operator<<(std::ostream& os, const MipsManagedRegister& reg) { in operator <<() argument
93 reg.Print(os); in operator <<()
94 return os; in operator <<()
[all …]
/art/runtime/arch/mips/
Dregisters_mips.cc30 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument
32 os << kRegisterNames[rhs]; in operator <<()
34 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<()
36 return os; in operator <<()
39 std::ostream& operator<<(std::ostream& os, const FRegister& rhs) { in operator <<() argument
41 os << "f" << static_cast<int>(rhs); in operator <<()
43 os << "FRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
45 return os; in operator <<()
/art/runtime/arch/arm/
Dregisters_arm.cc28 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument
30 os << kRegisterNames[rhs]; in operator <<()
32 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<()
34 return os; in operator <<()
37 std::ostream& operator<<(std::ostream& os, const SRegister& rhs) { in operator <<() argument
39 os << "s" << static_cast<int>(rhs); in operator <<()
41 os << "SRegister[" << static_cast<int>(rhs) << "]"; in operator <<()
43 return os; in operator <<()
/art/runtime/arch/x86_64/
Dregisters_x86_64.cc28 std::ostream& operator<<(std::ostream& os, const Register& rhs) { in operator <<() argument
30 os << kRegisterNames[rhs]; in operator <<()
32 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<()
34 return os; in operator <<()
37 std::ostream& operator<<(std::ostream& os, const FloatRegister& rhs) { in operator <<() argument
39 os << "xmm" << static_cast<int>(rhs); in operator <<()
41 os << "Register[" << static_cast<int>(rhs) << "]"; in operator <<()
43 return os; in operator <<()
/art/compiler/utils/mips64/
Dmanaged_register_mips64.cc37 void Mips64ManagedRegister::Print(std::ostream& os) const { in Print()
39 os << "No Register"; in Print()
41 os << "GPU: " << static_cast<int>(AsGpuRegister()); in Print()
43 os << "FpuRegister: " << static_cast<int>(AsFpuRegister()); in Print()
45 os << "VectorRegister: " << static_cast<int>(AsVectorRegister()); in Print()
47 os << "??: " << RegId(); in Print()
51 std::ostream& operator<<(std::ostream& os, const Mips64ManagedRegister& reg) { in operator <<() argument
52 reg.Print(os); in operator <<()
53 return os; in operator <<()
/art/compiler/utils/arm64/
Dmanaged_register_arm64.cc86 void Arm64ManagedRegister::Print(std::ostream& os) const { in Print()
88 os << "No Register"; in Print()
90 os << "XCore: " << static_cast<int>(AsXRegister()); in Print()
92 os << "WCore: " << static_cast<int>(AsWRegister()); in Print()
94 os << "DRegister: " << static_cast<int>(AsDRegister()); in Print()
96 os << "SRegister: " << static_cast<int>(AsSRegister()); in Print()
98 os << "??: " << RegId(); in Print()
102 std::ostream& operator<<(std::ostream& os, const Arm64ManagedRegister& reg) { in operator <<() argument
103 reg.Print(os); in operator <<()
104 return os; in operator <<()
/art/compiler/utils/x86/
Dmanaged_register_x86.cc53 std::ostream& operator<<(std::ostream& os, const RegisterPair& reg) { in operator <<() argument
55 os << "kNoRegisterPair"; in operator <<()
57 os << X86ManagedRegister::FromRegisterPair(reg); in operator <<()
59 return os; in operator <<()
98 void X86ManagedRegister::Print(std::ostream& os) const { in Print()
100 os << "No Register"; in Print()
102 os << "XMM: " << AsXmmRegister(); in Print()
104 os << "X87: " << AsX87Register(); in Print()
106 os << "CPU: " << AsCpuRegister(); in Print()
108 os << "Pair: " << AsRegisterPairLow() << ", " << AsRegisterPairHigh(); in Print()
[all …]
/art/disassembler/
Ddisassembler_arm.cc45 CustomDisassemblerStream(std::ostream& os, in CustomDisassemblerStream() argument
48 : DisassemblerStream(os), disasm_(disasm), options_(options) {} in CustomDisassemblerStream()
69 os() << "[pc, #" << offset - pc_delta << "]"; in operator <<()
80 os() << "tr"; in operator <<()
94 os() << " ; "; in operator <<()
95 options_->thread_offset_name_function_(os(), operand.GetOffsetImmediate()); in operator <<()
116 CustomDisassembler(std::ostream& os, const DisassemblerOptions* options) in CustomDisassembler() argument
117 : PrintDisassembler(&disassembler_stream_), disassembler_stream_(os, this, options) {} in CustomDisassembler()
120 os() << "0x" << std::hex << std::setw(8) << std::setfill('0') << prog_ctr << ": "; in PrintCodeAddress()
150 os() << " ; "; in PrintLiteral()
[all …]
/art/compiler/utils/x86_64/
Dmanaged_register_x86_64.cc52 std::ostream& operator<<(std::ostream& os, const RegisterPair& reg) { in operator <<() argument
53 os << X86_64ManagedRegister::FromRegisterPair(reg); in operator <<()
54 return os; in operator <<()
93 void X86_64ManagedRegister::Print(std::ostream& os) const { in Print()
95 os << "No Register"; in Print()
97 os << "XMM: " << static_cast<int>(AsXmmRegister().AsFloatRegister()); in Print()
99 os << "X87: " << static_cast<int>(AsX87Register()); in Print()
101 os << "CPU: " << static_cast<int>(AsCpuRegister().AsRegister()); in Print()
103 os << "Pair: " << AsRegisterPairLow() << ", " << AsRegisterPairHigh(); in Print()
105 os << "??: " << RegId(); in Print()
[all …]
/art/dexdump/
Ddexdump_cfg.cc34 std::ostream& os) { in dumpMethodCFGImpl() argument
35 os << "digraph {\n"; in dumpMethodCFGImpl()
36 os << " # /* " << dex_file->PrettyMethod(dex_method_idx, true) << " */\n"; in dumpMethodCFGImpl()
87 os << "}\"];\n"; in dumpMethodCFGImpl()
90 os << " node" << id << " [shape=record,label=\"{"; in dumpMethodCFGImpl()
101 os << " | "; in dumpMethodCFGImpl()
107 os << "<" << "p" << dex_pc << ">"; in dumpMethodCFGImpl()
108 os << " 0x" << std::hex << dex_pc << std::dec << ": "; in dumpMethodCFGImpl()
115 os << inst_str.substr(cur_start, inst_str.size() - cur_start); in dumpMethodCFGImpl()
118 os << inst_str.substr(cur_start, next_escape - cur_start); in dumpMethodCFGImpl()
[all …]
/art/compiler/optimizing/
Dnodes_shared.cc66 std::ostream& operator<<(std::ostream& os, const HDataProcWithShifterOp::OpKind op) { in operator <<() argument
68 case HDataProcWithShifterOp::kLSL: return os << "LSL"; in operator <<()
69 case HDataProcWithShifterOp::kLSR: return os << "LSR"; in operator <<()
70 case HDataProcWithShifterOp::kASR: return os << "ASR"; in operator <<()
71 case HDataProcWithShifterOp::kUXTB: return os << "UXTB"; in operator <<()
72 case HDataProcWithShifterOp::kUXTH: return os << "UXTH"; in operator <<()
73 case HDataProcWithShifterOp::kUXTW: return os << "UXTW"; in operator <<()
74 case HDataProcWithShifterOp::kSXTB: return os << "SXTB"; in operator <<()
75 case HDataProcWithShifterOp::kSXTH: return os << "SXTH"; in operator <<()
76 case HDataProcWithShifterOp::kSXTW: return os << "SXTW"; in operator <<()
/art/runtime/base/
Ddumpable.h38 void Dump(std::ostream& os) const { in Dump() argument
39 value_.Dump(os); in Dump()
49 std::ostream& operator<<(std::ostream& os, const Dumpable<T>& rhs) {
50 rhs.Dump(os);
51 return os;
59 void Dump(std::ostream& os) const REQUIRES_SHARED(Locks::mutator_lock_) { in Dump() argument
60 value_.Dump(os); in Dump()
70 std::ostream& operator<<(std::ostream& os, const MutatorLockedDumpable<T>& rhs)
/art/compiler/linker/
Doutput_stream.cc21 std::ostream& operator<<(std::ostream& os, const Whence& rhs) { in operator <<() argument
23 case kSeekSet: os << "SEEK_SET"; break; in operator <<()
24 case kSeekCurrent: os << "SEEK_CUR"; break; in operator <<()
25 case kSeekEnd: os << "SEEK_END"; break; in operator <<()
28 return os; in operator <<()
/art/imgdiag/
Dimgdiag.cc55 explicit ImgDiagDumper(std::ostream* os, in ImgDiagDumper() argument
60 : os_(os), in ImgDiagDumper()
67 std::ostream& os = *os_; in Dump() local
68 os << "IMAGE LOCATION: " << image_location_ << "\n\n"; in Dump()
70 os << "MAGIC: " << image_header_.GetMagic() << "\n\n"; in Dump()
72 os << "IMAGE BEGIN: " << reinterpret_cast<void*>(image_header_.GetImageBegin()) << "\n\n"; in Dump()
76 os << "IMAGE DIFF PID (" << image_diff_pid_ << "): "; in Dump()
78 os << "\n\n"; in Dump()
80 os << "IMAGE DIFF PID: disabled\n\n"; in Dump()
83 os << std::flush; in Dump()
[all …]
/art/tools/jfuzz/
Drun_dex_fuzz_test.py18 import os
25 sys.path.append(os.path.dirname(os.path.dirname(
26 os.path.realpath(__file__))))
66 self._save_dir = os.getcwd()
73 self._dexfuzz_env = os.environ.copy()
81 os.chdir(self._dexfuzz_dir)
82 os.mkdir('divergent_programs')
83 os.mkdir('bisection_outputs')
88 os.chdir(self._save_dir)
110 os.chdir(self._inputs_dir)
[all …]
/art/test/testrunner/
Denv.py15 import os
20 _env = dict(os.environ)
87 this_file_path = os.path.realpath(__file__)
88 path_to_top = os.path.join(os.path.dirname(this_file_path), '../../../')
89 path_to_top = os.path.realpath(path_to_top)
91 if not os.path.exists(os.path.join(path_to_top, 'build/envsetup.sh')):
231 HOST_OUT_EXECUTABLES = os.path.join(ANDROID_BUILD_TOP,
233 os.environ['JACK'] = HOST_OUT_EXECUTABLES + '/jack'
234 os.environ['DX'] = HOST_OUT_EXECUTABLES + '/dx'
235 os.environ['SMALI'] = HOST_OUT_EXECUTABLES + '/smali'
[all …]
/art/runtime/jdwp/
Djdwp_constants.h90 std::ostream& operator<<(std::ostream& os, const JdwpError& value);
102 std::ostream& operator<<(std::ostream& os, const JdwpClassStatus& value);
132 std::ostream& operator<<(std::ostream& os, const JdwpEventKind& value);
151 std::ostream& operator<<(std::ostream& os, const JdwpModKind& value);
160 std::ostream& operator<<(std::ostream& os, const JdwpInvokeOptions& value);
170 std::ostream& operator<<(std::ostream& os, const JdwpStepDepth& value);
179 std::ostream& operator<<(std::ostream& os, const JdwpStepSize& value);
189 std::ostream& operator<<(std::ostream& os, const JdwpSuspendPolicy& value);
198 std::ostream& operator<<(std::ostream& os, const JdwpSuspendStatus& value);
210 std::ostream& operator<<(std::ostream& os, const JdwpThreadStatus& value);
[all …]

1234567891011