Home
last modified time | relevance | path

Searched refs:os (Results 51 – 75 of 313) sorted by relevance

12345678910>>...13

/art/libartbase/base/
Dhex_dump.cc25 void HexDump::Dump(std::ostream& os) const { in Dump()
31 os << "00000000:"; in Dump()
101 os << prefix_ << out; in Dump()
107 os << "\n"; in Dump()
Dhistogram-inl.h163 inline void Histogram<Value>::PrintBins(std::ostream& os, const CumulativeData& data) const { in PrintBins() argument
170 os << GetRange(bin_idx) << ": " << data.freq_[bin_idx] << "\t" in PrintBins()
176 inline void Histogram<Value>::DumpBins(std::ostream& os) const { in DumpBins() argument
183 os << ","; in DumpBins()
187 os << GetRange(bin_idx) << ":" << frequency_[bin_idx]; in DumpBins()
193 inline void Histogram<Value>::PrintConfidenceIntervals(std::ostream &os, double interval, in PrintConfidenceIntervals() argument
201 os << Name() << ":\tSum: " << PrettyDuration(Sum() * kAdjust) << " " in PrintConfidenceIntervals()
210 inline void Histogram<Value>::PrintMemoryUse(std::ostream &os) const { in PrintMemoryUse() argument
211 os << Name(); in PrintMemoryUse()
213 os << ": Avg: " << PrettySize(Mean()) << " Max: " in PrintMemoryUse()
[all …]
Dhistogram.h63 void PrintConfidenceIntervals(std::ostream& os, double interval,
65 void PrintMemoryUse(std::ostream& os) const;
66 void PrintBins(std::ostream& os, const CumulativeData& data) const;
67 void DumpBins(std::ostream& os) const;
Dallocator.cc82 void Dump(std::ostream& os) { in Dump() argument
84 os << "Dumping native memory usage\n"; in Dump()
90 os << static_cast<AllocatorTag>(i) << " active=" << bytes_used << " max=" in Dump()
/art/libdexfile/dex/
Ddex_file_layout.h48 std::ostream& operator<<(std::ostream& os, LayoutType collector_type);
63 std::ostream& operator<<(std::ostream& os, MadviseState collector_type);
121 std::ostream& operator<<(std::ostream& os, DexLayoutSections::SectionType collector_type);
122 std::ostream& operator<<(std::ostream& os, const DexLayoutSection& section);
123 std::ostream& operator<<(std::ostream& os, const DexLayoutSections& sections);
/art/runtime/
Dplugin.cc82 std::ostream& operator<<(std::ostream &os, const Plugin* m) { in operator <<() argument
83 return os << *m; in operator <<()
86 std::ostream& operator<<(std::ostream &os, Plugin const& m) { in operator <<() argument
87 return os << "Plugin { library=\"" << m.library_ << "\", handle=" << m.dlopen_handle_ << " }"; in operator <<()
Doffsets.cc23 std::ostream& operator<<(std::ostream& os, const Offset& offs) { in operator <<() argument
24 return os << offs.Int32Value(); in operator <<()
Dsubtype_check_info.h490 friend std::ostream& operator<<(std::ostream& os, const SubtypeCheckInfo& io);
494 inline std::ostream& operator<<(std::ostream& os, const SubtypeCheckInfo::State& state) {
497 os << "kUninitialized";
500 os << "kInitialized";
503 os << "kAssigned";
506 os << "kOverflowed";
509 os << "(Invalid SubtypeCheckInfo::State " << static_cast<int>(state) << ")";
511 return os;
515 inline std::ostream& operator<<(std::ostream& os, const SubtypeCheckInfo& io) {
516 os << "SubtypeCheckInfo{" << io.GetBitString() << ", "
[all …]
Dplugin.h75 friend std::ostream& operator<<(std::ostream &os, Plugin const& m);
78 std::ostream& operator<<(std::ostream &os, Plugin const& m);
79 std::ostream& operator<<(std::ostream &os, const Plugin* m);
/art/disassembler/
Ddisassembler_x86.cc42 size_t DisassemblerX86::Dump(std::ostream& os, const uint8_t* begin) { in Dump() argument
43 return DumpInstruction(os, begin); in Dump()
46 void DisassemblerX86::Dump(std::ostream& os, const uint8_t* begin, const uint8_t* end) { in Dump() argument
49 length = DumpInstruction(os, cur); in Dump()
79 static void DumpReg0(std::ostream& os, uint8_t rex, size_t reg, in DumpReg0() argument
84 os << ((rex == 0) ? gReg8Names[reg] : gExtReg8Names[reg]); in DumpReg0()
86 os << gReg64Names[reg]; in DumpReg0()
88 os << gReg16Names[reg]; in DumpReg0()
90 os << gReg32Names[reg]; in DumpReg0()
94 static void DumpAnyReg(std::ostream& os, uint8_t rex, size_t reg, in DumpAnyReg() argument
[all …]
Ddisassembler_arm64.cc111 size_t DisassemblerArm64::Dump(std::ostream& os, const uint8_t* begin) { in Dump() argument
114 os << FormatInstructionPointer(begin) in Dump()
119 void DisassemblerArm64::Dump(std::ostream& os, const uint8_t* begin, const uint8_t* end) { in Dump() argument
121 Dump(os, cur); in Dump()
Ddisassembler.h32 using ThreadOffsetNameFunction = void (*)(std::ostream& os, uint32_t offset);
76 virtual size_t Dump(std::ostream& os, const uint8_t* begin) = 0;
78 virtual void Dump(std::ostream& os, const uint8_t* begin, const uint8_t* end) = 0;
/art/
Dtest.py25 import os
28 ANDROID_BUILD_TOP = os.environ.get('ANDROID_BUILD_TOP', os.getcwd())
40 testrunner = os.path.join('./',
/art/runtime/verifier/
Dverifier_enums.h39 std::ostream& operator<<(std::ostream& os, FailureKind rhs);
65 std::ostream& operator<<(std::ostream& os, MethodType rhs);
104 std::ostream& operator<<(std::ostream& os, VerifyError rhs);
/art/runtime/ti/
Dagent.h82 friend std::ostream& operator<<(std::ostream &os, AgentSpec const& m);
85 std::ostream& operator<<(std::ostream &os, AgentSpec const& m);
134 friend std::ostream& operator<<(std::ostream &os, Agent const& m);
139 std::ostream& operator<<(std::ostream &os, Agent const& m);
140 std::ostream& operator<<(std::ostream &os, const Agent* m);
/art/tools/dexanalyze/
Ddexanalyze_strings.cc536 void StringTimings::Dump(std::ostream& os) const { in Dump()
538 os << "Compare equal " << static_cast<double>(time_equal_comparisons_) / comparisons << "\n"; in Dump()
539os << "Compare not equal " << static_cast<double>(time_non_equal_comparisons_) / comparisons << "\… in Dump()
542 void AnalyzeStrings::Dump(std::ostream& os, uint64_t total_size) const { in Dump() argument
543 os << "Total string data bytes " << Percent(string_data_bytes_, total_size) << "\n"; in Dump()
544 os << "Total unique string data bytes " in Dump()
546 os << "UTF-16 string data bytes " << Percent(wide_string_bytes_, total_size) << "\n"; in Dump()
547 os << "ASCII string data bytes " << Percent(ascii_string_bytes_, total_size) << "\n"; in Dump()
549 os << "Prefix string timings\n"; in Dump()
550 prefix_timings_.Dump(os); in Dump()
[all …]
/art/runtime/gc/collector/
Dgarbage_collector.cc274 void GarbageCollector::DumpPerformanceInfo(std::ostream& os) { in DumpPerformanceInfo() argument
280 os << Dumpable<CumulativeLogger>(logger); in DumpPerformanceInfo()
290 pause_histogram_.PrintConfidenceIntervals(os, 0.99, cumulative_data); in DumpPerformanceInfo()
295 os << rss_histogram_.Name() in DumpPerformanceInfo()
299 os << "Peak-rss Histogram: "; in DumpPerformanceInfo()
300 rss_histogram_.DumpBins(os); in DumpPerformanceInfo()
301 os << "\n"; in DumpPerformanceInfo()
305 os << freed_bytes_histogram_.Name() in DumpPerformanceInfo()
309 os << "Freed-bytes histogram: "; in DumpPerformanceInfo()
310 freed_bytes_histogram_.DumpBins(os); in DumpPerformanceInfo()
[all …]
/art/runtime/gc/space/
Dspace.cc35 void Space::Dump(std::ostream& os) const { in Dump()
36 os << GetName() << ":" << GetGcRetentionPolicy(); in Dump()
39 std::ostream& operator<<(std::ostream& os, const Space& space) { in operator <<() argument
40 space.Dump(os); in operator <<()
41 return os; in operator <<()
/art/test/testrunner/
Drun_build_test_target.py30 import os
65 if not os.path.isdir(env.ANDROID_BUILD_TOP + '/frameworks/base'):
68 os.environ.update(custom_env)
99 os.chdir(env.ANDROID_BUILD_TOP)
113 run_test_command = [os.path.join(env.ANDROID_BUILD_TOP,
/art/tools/
Dparallel_run.py26 import os
27 import os.path
58 fs.add(p.submit(run_one, args.cmd, os.path.join(td, "run_log." + str(idx))))
67 os.remove(f)
/art/tools/veridex/
Dprecise_hidden_api_finder.cc93 void PreciseHiddenApiFinder::Dump(std::ostream& os, HiddenApiStats* stats) { in Dump() argument
113 os << "#" << ++stats->count << ": Reflection " << api_list << " " << full_name << " use(s):"; in Dump()
114 os << std::endl; in Dump()
116 os << kPrefix << HiddenApi::GetApiMethodName(ref) << std::endl; in Dump()
118 os << std::endl; in Dump()
/art/cmdline/detail/
Dcmdline_parse_argument_detail.h84 virtual void DumpHelp(VariableIndentationOutputStream& os) = 0;
150 auto& os = vios.Stream(); in DumpHelp() local
155 os << nblank; in DumpHelp()
159 os << (first ? "{" : "|") << val; in DumpHelp()
162 os << "}"; in DumpHelp()
164 os << metavar_.value(); in DumpHelp()
166 os << "{" << CmdlineType<T>::DescribeType() << "}"; in DumpHelp()
171 os << name; in DumpHelp()
176 os << " ["; in DumpHelp()
178 os << "...]"; in DumpHelp()
[all …]
/art/tools/common/
Dcommon.py20 import os
112 top = os.environ.get(variable_name)
157 os.killpg(os.getpgid(proc.pid), signal.SIGTERM)
297 os.mkdir('{0}/dalvik-cache'.format(self._env_path))
299 os.mkdir(arch_cache_path)
307 self._shell_env = os.environ.copy()
358 for file_path in os.listdir(arch_cache_path):
360 if os.path.isfile(file_path):
361 os.unlink(file_path)
390 DEVICE_TMP_PATH, os.path.basename(self._host_env_path))
[all …]
/art/build/apex/
Dart_apex_test.py22 import os
23 import os.path
57 return var in os.environ and os.environ[var] == 'true'
78 self._payload = os.path.join(self._tmpdir, 'apex_payload.img')
85 if os.path.exists(self._payload):
86 os.remove(self._payload)
89 apex_dir, name = os.path.split(path)
156 apex_dir, name = os.path.split(path)
166 dirname = os.path.join(self._apex, apex_dir)
167 if os.path.exists(dirname):
[all …]
/art/tools/ahat/src/main/com/android/ahat/
DStaticHandler.java50 OutputStream os = exchange.getResponseBody(); in handle() local
54 os.write(buf, 0, read); in handle()
57 os.close(); in handle()

12345678910>>...13