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/tools/aidl/build/
Daidl_utils.go23 func wrap(prefix string, strs []string, suffix string) []string {
24 ret := make([]string, len(strs))
25 for i, v := range strs {
32 func wrapFunc(prefix string, strs []string, suffix string, f func(string) string) []string {
33 ret := make([]string, len(strs))
34 for i, 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 …]
Dsimpleperf_utils.py416 strs = build_version.split('.')
417 if strs:
418 android_version = int(strs[0])
/system/extras/simpleperf/
Dcmd_monitor.cpp376 std::vector<std::string> strs = android::base::Split(*value.str_value, ","); in ParseOptions() local
377 if (strs[0] == "fp") { in ParseOptions()
380 } else if (strs[0] == "dwarf") { in ParseOptions()
383 if (strs.size() > 1) { in ParseOptions()
385 if (!ParseUint(strs[1], &size)) { in ParseOptions()
386 LOG(ERROR) << "invalid dump stack size in --call-graph option: " << strs[1]; in ParseOptions()
Dtracing.cpp342 std::vector<std::string> strs = Split(data, "\n"); in ParseTracingFormat() local
344 for (const auto& s : strs) { in ParseTracingFormat()
624 std::vector<std::string> strs = Split(event.name, ":"); in GetFieldNamesForTracepointEvent() local
625 if (strs.size() != 2) { in GetFieldNamesForTracepointEvent()
629 if (!ReadTraceFsFile("/events/" + strs[0] + "/" + strs[1] + "/format", &data, false)) { in GetFieldNamesForTracepointEvent()
Devent_type.cpp133 std::vector<std::string> strs = android::base::Split(name, ":"); in FindType() local
134 if (strs.size() != 2) { in FindType()
141 std::string path = tracefs_dir + std::string("/events/") + strs[0] + "/" + strs[1] + "/id"; in FindType()
Dcmd_report.cpp548 std::vector<std::string> strs = Split(*value.str_value, ","); in ParseOptions() local
549 sample_tree_builder_options_.comm_filter.insert(strs.begin(), strs.end()); in ParseOptions()
560 std::vector<std::string> strs = Split(*value.str_value, ","); in ParseOptions() local
561 sample_tree_builder_options_.dso_filter.insert(strs.begin(), strs.end()); in ParseOptions()
Dcmd_record.cpp1021 std::vector<std::string> strs = android::base::Split(*value.str_value, ","); in ParseOptions() local
1022 if (strs[0] == "fp") { in ParseOptions()
1025 } else if (strs[0] == "dwarf") { in ParseOptions()
1028 if (strs.size() > 1) { in ParseOptions()
1030 if (!ParseUint(strs[1], &size)) { in ParseOptions()
1031 LOG(ERROR) << "invalid dump stack size in --call-graph option: " << strs[1]; in ParseOptions()
Dcmd_report_test.cpp178 const std::vector<std::string>& strs) { in AllItemsWithString() argument
189 for (auto& s : strs) { in AllItemsWithString()
/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/bt/
Dbuild.py249 def to_gn_list(strs): argument
250 return '[%s]' % ','.join([to_gn_string(s) for s in strs])