Home
last modified time | relevance | path

Searched refs:strs (Results 1 – 12 of 12) 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.py325 strs = build_version.split('.')
326 if strs:
327 android_version = int(strs[0])
/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/extras/simpleperf/
Dcmd_report.cpp527 std::vector<std::string> strs = android::base::Split(args[i], ","); in ParseOptions() local
528 filter.insert(strs.begin(), strs.end()); in ParseOptions()
589 std::vector<std::string> strs = android::base::Split(args[i], ","); in ParseOptions() local
590 for (const auto& s : strs) { in ParseOptions()
609 std::vector<std::string> strs = android::base::Split(args[i], ";"); in ParseOptions() local
610 sample_tree_builder_options_.symbol_filter.insert(strs.begin(), strs.end()); in ParseOptions()
Dcmd_record.cpp702 std::vector<std::string> strs = android::base::Split(args[i], ","); in ParseOptions() local
703 if (strs[0] == "fp") { in ParseOptions()
706 } else if (strs[0] == "dwarf") { in ParseOptions()
709 if (strs.size() > 1) { in ParseOptions()
711 if (!android::base::ParseUint(strs[1], &size)) { in ParseOptions()
712 LOG(ERROR) << "invalid dump stack size in --call-graph option: " << strs[1]; in ParseOptions()
Dtracing.cpp339 std::vector<std::string> strs = android::base::Split(pair.second, "\n"); in LoadTracingFormatsFromEventFiles() local
341 for (const auto& s : strs) { in LoadTracingFormatsFromEventFiles()
Dcmd_report_test.cpp168 const std::vector<std::string>& strs) { in AllItemsWithString() argument
180 for (auto& s : strs) { in AllItemsWithString()
Denvironment.cpp285 std::vector<std::string> strs = android::base::Split(tid_str, ","); in GetValidThreadsFromThreadString() local
286 for (const auto& s : strs) { in GetValidThreadsFromThreadString()
/system/netd/server/
DBandwidthController.cpp268 std::vector<std::string> toStrVec(int num, const char* const strs[]) { in toStrVec() argument
269 return std::vector<std::string>(strs, strs + num); in toStrVec()