Home
last modified time | relevance | path

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

12345678910>>...12

/art/test/ti-agent/
Djvmti_helper.cc129 std::ostream& operator<<(std::ostream& os, const jvmtiError& rhs) { in operator <<() argument
132 return os << "NONE"; in operator <<()
134 return os << "INVALID_THREAD"; in operator <<()
136 return os << "INVALID_THREAD_GROUP"; in operator <<()
138 return os << "INVALID_PRIORITY"; in operator <<()
140 return os << "THREAD_NOT_SUSPENDED"; in operator <<()
142 return os << "THREAD_SUSPENDED"; in operator <<()
144 return os << "THREAD_NOT_ALIVE"; in operator <<()
146 return os << "INVALID_OBJECT"; in operator <<()
148 return os << "INVALID_CLASS"; in operator <<()
[all …]
/art/runtime/
Druntime_common.cc137 void Dump(std::ostream& os) const;
139 void DumpRegister32(std::ostream& os, const char* name, uint32_t value) const;
140 void DumpRegister64(std::ostream& os, const char* name, uint64_t value) const;
142 void DumpX86Flags(std::ostream& os, uint32_t flags) const;
145 void DumpArmStatusRegister(std::ostream& os, RegisterType status_register) const;
150 void UContext::Dump(std::ostream& os) const { in Dump()
152 DumpRegister32(os, "eax", context->__ss.__eax); in Dump()
153 DumpRegister32(os, "ebx", context->__ss.__ebx); in Dump()
154 DumpRegister32(os, "ecx", context->__ss.__ecx); in Dump()
155 DumpRegister32(os, "edx", context->__ss.__edx); in Dump()
[all …]
Dnative_stack_dump.cc83 static inline void WritePrefix(std::ostream& os, const char* prefix, bool odd) { in WritePrefix() argument
85 os << prefix; in WritePrefix()
87 os << " "; in WritePrefix()
89 os << " "; in WritePrefix()
158 std::ostream& os) { in Drain() argument
205 WritePrefix(os, prefix, (*pipe)->odd); in Drain()
210 os << tmp; in Drain()
216 os << tmp; in Drain()
233 std::ostream& os, in Addr2line() argument
247 Drain(0, prefix, pipe, os); in Addr2line()
[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/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 <<()
48 std::ostream& operator<<(std::ostream& os, const VectorRegister& rhs) { in operator <<() argument
50 os << "w" << static_cast<int>(rhs); in operator <<()
[all …]
/art/libdexfile/dex/
Ddex_instruction.cc147 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()
[all …]
/art/tools/
Dgenerate_cmake_lists.py37 import os
42 path_to_top = os.environ.get('ANDROID_BUILD_TOP')
45 this_file_path = os.path.realpath(__file__)
46 path_to_top = os.path.join(os.path.dirname(this_file_path), '../..')
47 path_to_top = os.path.realpath(path_to_top)
49 if not os.path.exists(os.path.join(path_to_top, 'build/envsetup.sh')):
66 os.environ['SOONG_GEN_CMAKEFILES']='1'
67 os.environ['SOONG_GEN_CMAKEFILES_DEBUG']='1'
73 out_art_cmakelists_dir = os.path.join(ANDROID_BUILD_TOP,
78 for root, dirs, files in os.walk(out_art_cmakelists_dir):
[all …]
/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/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/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/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/test/testrunner/
Denv.py15 import os
21 _THIS_DIR = os.path.dirname(os.path.realpath(__file__))
22 _TOP = os.path.join(_THIS_DIR, "../../..")
23 _VAR_CACHE_DIR = os.path.join(_TOP, "art/tools/build/")
30 _env = dict(os.environ)
60 this_file_path = os.path.realpath(__file__)
61 path_to_top = os.path.join(os.path.dirname(this_file_path), '../../../')
62 path_to_top = os.path.realpath(path_to_top)
64 if not os.path.exists(os.path.join(path_to_top, 'build/envsetup.sh')):
132 HOST_OUT_EXECUTABLES = os.path.join(ANDROID_BUILD_TOP,
[all …]
/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/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/tools/build/
Dvar_cache.py45 import os
76 _THIS_DIR = os.path.dirname(os.path.realpath(__file__))
77 _TOP = os.path.join(_THIS_DIR, "../../..")
78 _VAR_LIST_PATH = os.path.join(_THIS_DIR, "var_list")
79 _SOONG_UI_SCRIPT = os.path.join(_TOP, "build/soong/soong_ui.bash")
83 if os.environ.get('ART_TOOLS_BUILD_VAR_CACHE'):
107 os.environb[b'ART_TOOLS_BUILD_VAR_CACHE'] = var_values
125 for line in os.environ['ART_TOOLS_BUILD_VAR_CACHE'].splitlines():
146 print(os.environ['ART_TOOLS_BUILD_VAR_CACHE'])
/art/libelffile/stream/
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/libartbase/base/
Denums.cc23 std::ostream& operator<<(std::ostream& os, const PointerSize& rhs) { in operator <<() argument
25 case PointerSize::k32: os << "k32"; break; in operator <<()
26 case PointerSize::k64: os << "k64"; break; in operator <<()
27 default: os << "PointerSize[" << static_cast<int>(rhs) << "]"; break; in operator <<()
29 return os; in operator <<()
/art/disassembler/
Ddisassembler_arm.cc45 CustomDisassemblerStream(std::ostream& os, in CustomDisassemblerStream() argument
48 : DisassemblerStream(os), disasm_(disasm), options_(options) {} in CustomDisassemblerStream()
67 os() << "[pc, #" << offset << "]"; in operator <<()
78 os() << "tr"; in operator <<()
92 os() << " ; "; in operator <<()
93 options_->thread_offset_name_function_(os(), operand.GetOffsetImmediate()); in operator <<()
114 CustomDisassembler(std::ostream& os, const DisassemblerOptions* options) in CustomDisassembler() argument
116 disassembler_stream_(os, this, options), in CustomDisassembler()
120 os() << "0x" << std::hex << std::setw(8) << std::setfill('0') << prog_ctr << ": "; in PrintCodeAddress()
162 os() << " ; "; in PrintLiteral()
[all …]
/art/tools/dexanalyze/
Ddexanalyze_experiments.cc188 void AnalyzeDebugInfo::Dump(std::ostream& os, uint64_t total_size) const { in Dump() argument
189 os << "Debug info bytes " << Percent(total_bytes_, total_size) << "\n"; in Dump()
191 os << " DBG_END_SEQUENCE: " << Percent(total_end_seq_bytes_, total_size) << "\n"; in Dump()
192 os << " DBG_ADVANCE_PC: " << Percent(total_advance_pc_bytes_, total_size) << "\n"; in Dump()
193 os << " DBG_ADVANCE_LINE: " << Percent(total_advance_line_bytes_, total_size) << "\n"; in Dump()
194 os << " DBG_START_LOCAL: " << Percent(total_start_local_bytes_, total_size) << "\n"; in Dump()
195 os << " DBG_START_LOCAL_EXTENDED: " in Dump()
197 os << " DBG_END_LOCAL: " << Percent(total_end_local_bytes_, total_size) << "\n"; in Dump()
198 os << " DBG_RESTART_LOCAL: " << Percent(total_restart_local_bytes_, total_size) << "\n"; in Dump()
199 os << " DBG_SET_PROLOGUE bytes " << Percent(total_epilogue_bytes_, total_size) << "\n"; in Dump()
[all …]
/art/compiler/optimizing/
Dnodes_shared.cc75 std::ostream& operator<<(std::ostream& os, const HDataProcWithShifterOp::OpKind op) { in operator <<() argument
77 case HDataProcWithShifterOp::kLSL: return os << "LSL"; in operator <<()
78 case HDataProcWithShifterOp::kLSR: return os << "LSR"; in operator <<()
79 case HDataProcWithShifterOp::kASR: return os << "ASR"; in operator <<()
80 case HDataProcWithShifterOp::kUXTB: return os << "UXTB"; in operator <<()
81 case HDataProcWithShifterOp::kUXTH: return os << "UXTH"; in operator <<()
82 case HDataProcWithShifterOp::kUXTW: return os << "UXTW"; in operator <<()
83 case HDataProcWithShifterOp::kSXTB: return os << "SXTB"; in operator <<()
84 case HDataProcWithShifterOp::kSXTH: return os << "SXTH"; in operator <<()
85 case HDataProcWithShifterOp::kSXTW: return os << "SXTW"; in operator <<()
/art/dexdump/
Ddexdump_cfg.cc36 void DumpMethodCFG(const ClassAccessor::Method& method, std::ostream& os) { in DumpMethodCFG() argument
38 os << "digraph {\n"; in DumpMethodCFG()
39 os << " # /* " << dex_file->PrettyMethod(method.GetIndex(), true) << " */\n"; in DumpMethodCFG()
87 os << "}\"];\n"; in DumpMethodCFG()
90 os << " node" << id << " [shape=record,label=\"{"; in DumpMethodCFG()
101 os << " | "; in DumpMethodCFG()
107 os << "<" << "p" << dex_pc << ">"; in DumpMethodCFG()
108 os << " 0x" << std::hex << dex_pc << std::dec << ": "; in DumpMethodCFG()
115 os << inst_str.substr(cur_start, inst_str.size() - cur_start); in DumpMethodCFG()
118 os << inst_str.substr(cur_start, next_escape - cur_start); in DumpMethodCFG()
[all …]
/art/tools/jfuzz/
Drun_dex_fuzz_test.py18 import os
26 sys.path.append(os.path.dirname(os.path.dirname(
27 os.path.realpath(__file__))))
70 self._save_dir = os.getcwd()
77 self._dexfuzz_env = os.environ.copy()
85 os.chdir(self._dexfuzz_dir)
86 os.mkdir('divergent_programs')
87 os.mkdir('bisection_outputs')
92 os.chdir(self._save_dir)
127 os.unlink(cfile)
[all …]

12345678910>>...12