Home
last modified time | relevance | path

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

12345678910>>...14

/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 …]
Dreflective_value_visitor.cc27 void HeapReflectiveSourceInfo::Describe(std::ostream& os) const { in Describe()
29 ReflectionSourceInfo::Describe(os); in Describe()
30 os << " Class=" << src_->GetClass()->PrettyClass(); in Describe()
34 void JniIdReflectiveSourceInfo<jfieldID>::Describe(std::ostream& os) const { in Describe()
35 ReflectionSourceInfo::Describe(os); in Describe()
36 os << " jfieldID=" << reinterpret_cast<uintptr_t>(id_); in Describe()
40 void JniIdReflectiveSourceInfo<jmethodID>::Describe(std::ostream& os) const { in Describe()
41 ReflectionSourceInfo::Describe(os); in Describe()
42 os << " jmethodID=" << reinterpret_cast<uintptr_t>(id_); in Describe()
45 void ReflectiveHandleScopeSourceInfo::Describe(std::ostream& os) const { in Describe()
[all …]
Djava_frame_root_info.cc23 void JavaFrameRootInfo::Describe(std::ostream& os) const { in Describe()
26 os << "Type=" << GetType() << " thread_id=" << GetThreadId() << " location=" << in Describe()
29 os << "Unknown"; in Describe()
31 os << "imprecise"; in Describe()
33 os << "Proxy reference argument"; in Describe()
35 os << "method declaring class"; in Describe()
37 os << vreg_; in Describe()
Dnative_stack_dump.cc82 static inline void WritePrefix(std::ostream& os, const char* prefix, bool odd) { in WritePrefix() argument
84 os << prefix; in WritePrefix()
86 os << " "; in WritePrefix()
88 os << " "; in WritePrefix()
157 std::ostream& os) { in Drain() argument
204 WritePrefix(os, prefix, (*pipe)->odd); in Drain()
209 os << tmp; in Drain()
215 os << tmp; in Drain()
232 std::ostream& os, in Addr2line() argument
251 Drain(0, prefix, pipe, os); in Addr2line()
[all …]
/art/test/ti-agent/
Djvmti_helper.cc130 std::ostream& operator<<(std::ostream& os, const jvmtiError& rhs) { in operator <<() argument
133 return os << "NONE"; in operator <<()
135 return os << "INVALID_THREAD"; in operator <<()
137 return os << "INVALID_THREAD_GROUP"; in operator <<()
139 return os << "INVALID_PRIORITY"; in operator <<()
141 return os << "THREAD_NOT_SUSPENDED"; in operator <<()
143 return os << "THREAD_SUSPENDED"; in operator <<()
145 return os << "THREAD_NOT_ALIVE"; in operator <<()
147 return os << "INVALID_OBJECT"; in operator <<()
149 return os << "INVALID_CLASS"; in operator <<()
[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/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/odrefresh/
Dodr_metrics_record.cc49 std::ostream& operator<<(std::ostream& os, const OdrMetricsRecord& record) { in operator <<() argument
53 auto saved_exceptions = os.exceptions(); in operator <<()
54 os.exceptions(std::ios_base::iostate {}); in operator <<()
57 os << record.art_apex_version << kSpace; in operator <<()
58 os << record.trigger << kSpace; in operator <<()
59 os << record.stage_reached << kSpace; in operator <<()
60 os << record.status << kSpace; in operator <<()
61 os << record.primary_bcp_compilation_seconds << kSpace; in operator <<()
62 os << record.secondary_bcp_compilation_seconds << kSpace; in operator <<()
63 os << record.system_server_compilation_seconds << kSpace; in operator <<()
[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 …]
Dcompile-jar.py25 import os
26 import os.path
39 default=os.path.expandvars("$ANDROID_HOST_OUT/bin/dex2oatd64"),
50 default=os.path.expandvars("$ANDROID_HOST_OUT/bin/profmand"),
106 os.path.expandvars(
118 os.path.expandvars(
140 os.path.expandvars(
157 return "/proc/{}/fd/{}".format(os.getpid(), fd)
176 os.set_inheritable(prof_out_fd, True)
178 prof_out_fd = os.memfd_create("reference_prof", flags=0)
[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')):
129 HOST_OUT_EXECUTABLES = os.path.join(ANDROID_BUILD_TOP,
[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/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/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/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_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/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/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 <<()
82 os() << " ; "; in operator <<()
83 options_->thread_offset_name_function_(os(), imm12); in operator <<()
94 os() << "tr"; in operator <<()
108 os() << " ; "; in operator <<()
109 options_->thread_offset_name_function_(os(), operand.GetOffsetImmediate()); in operator <<()
130 CustomDisassembler(std::ostream& os, const DisassemblerOptions* options) in CustomDisassembler() argument
132 disassembler_stream_(os, this, options), in CustomDisassembler()
[all …]
/art/tools/build/
Dvar_cache.py44 import os
75 _THIS_DIR = os.path.dirname(os.path.realpath(__file__))
76 _TOP = os.path.join(_THIS_DIR, "../../..")
77 _VAR_LIST_PATH = os.path.join(_THIS_DIR, "var_list")
78 _SOONG_UI_SCRIPT = os.path.join(_TOP, "build/soong/soong_ui.bash")
82 if os.environ.get('ART_TOOLS_BUILD_VAR_CACHE'):
106 os.environb[b'ART_TOOLS_BUILD_VAR_CACHE'] = var_values
123 for line in os.environ['ART_TOOLS_BUILD_VAR_CACHE'].splitlines():
144 print(os.environ['ART_TOOLS_BUILD_VAR_CACHE'])
/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 …]
/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/compiler/optimizing/
Dblock_namer.cc23 std::ostream& BlockNamer::PrintName(std::ostream& os, HBasicBlock* blk) const { in PrintName() argument
24 os << "B"; in PrintName()
26 os << blk->GetBlockId(); in PrintName()
28 os << "<none>"; in PrintName()
30 return os; in PrintName()
/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 <<()

12345678910>>...14