Home
last modified time | relevance | path

Searched refs:strs (Results 1 – 13 of 13) sorted by relevance

/system/tools/hidl/build/
Dutils.go18 func wrap(prefix string, strs []string, suffix string) []string {
19 ret := make([]string, len(strs))
20 for i, v := range strs {
35 func remove(str string, strs []string) []string {
37 for _, v := range strs {
/system/extras/simpleperf/runtest/
Druntest.py50 strs = [indent_str + self.name]
52 strs.extend(child._dump(indent + 1))
53 return strs
71 strs = []
72 strs.append('Symbol name=%s comm=%s overhead=%f children_overhead=%f' % (
75 strs.append('\t%s' % self.call_tree)
76 return '\n'.join(strs)
89 strs = []
90 strs.append('SymbolOverheadRequirement')
92 strs.append('symbol_name=%s' % self.symbol_name)
[all …]
/system/extras/simpleperf/scripts/
Dreport.py64 strs = self.dump()
65 return '\n'.join(strs)
68 strs = []
69 strs.append('CallTreeNode percentage = %.2f' % self.percentage)
71 strs.append(' %s' % function_name)
74 strs.extend([' ' + x for x in child_strs])
75 return strs
87 strs = []
88 strs.append('ReportItem (raw_line %s)' % self.raw_line)
90 strs.append('%s' % self.call_tree)
[all …]
Ddebug_unwind_reporter.py416 strs = (lines[i].strip()).split()
417 if len(strs) == 2:
418 unwinding_result[strs[0]] = strs[1]
Dutils.py339 strs = build_version.split('.')
340 if strs:
341 android_version = int(strs[0])
/system/extras/simpleperf/
Dtracing.cpp332 std::vector<std::string> strs = android::base::Split(data, "\n"); in ParseTracingFormat() local
334 for (const auto& s : strs) { in ParseTracingFormat()
611 std::vector<std::string> strs = android::base::Split(event.name, ":"); in GetFieldNamesForTracepointEvent() local
612 if (strs.size() != 2) { in GetFieldNamesForTracepointEvent()
616 if (!ReadTraceFsFile("/events/" + strs[0] + "/" + strs[1] + "/format", &data, false)) { in GetFieldNamesForTracepointEvent()
Dcmd_report.cpp538 std::vector<std::string> strs = android::base::Split(args[i], ","); in ParseOptions() local
539 filter.insert(strs.begin(), strs.end()); in ParseOptions()
602 std::vector<std::string> strs = android::base::Split(args[i], ","); in ParseOptions() local
603 for (const auto& s : strs) { in ParseOptions()
622 std::vector<std::string> strs = android::base::Split(args[i], ";"); in ParseOptions() local
623 sample_tree_builder_options_.symbol_filter.insert(strs.begin(), strs.end()); in ParseOptions()
Dcmd_record.cpp931 std::vector<std::string> strs = android::base::Split(*value.str_value, ","); in ParseOptions() local
932 if (strs[0] == "fp") { in ParseOptions()
935 } else if (strs[0] == "dwarf") { in ParseOptions()
938 if (strs.size() > 1) { in ParseOptions()
940 if (!ParseUint(strs[1], &size)) { in ParseOptions()
941 LOG(ERROR) << "invalid dump stack size in --call-graph option: " << strs[1]; in ParseOptions()
Dcmd_report_test.cpp170 const std::vector<std::string>& strs) { in AllItemsWithString() argument
182 for (auto& s : strs) { in AllItemsWithString()
Denvironment.cpp261 std::vector<std::string> strs = android::base::Split(tid_str, ","); in GetValidThreadsFromThreadString() local
262 for (const auto& s : strs) { in GetValidThreadsFromThreadString()
/system/connectivity/wificond/tests/
Dnl80211_attribute_unittest.cpp257 std::vector<std::string> strs; in TEST() local
260 nested_attr.GetListOfAttributeValues(&strs); in TEST()
261 EXPECT_EQ(expected_strs, strs); in TEST()
/system/netd/server/
DBandwidthController.cpp288 std::vector<std::string> toStrVec(int num, const char* const strs[]) { in toStrVec() argument
289 return std::vector<std::string>(strs, strs + num); in toStrVec()
/system/tools/aidl/build/
Daidl_interface.go242 func wrap(prefix string, strs []string, suffix string) []string {
243 ret := make([]string, len(strs))
244 for i, v := range strs {