Searched refs:strs (Results 1 – 10 of 10) sorted by relevance
/system/extras/simpleperf/runtest/ |
D | runtest.py | 50 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/ |
D | report.py | 56 strs = self.dump() 57 return '\n'.join(strs) 60 strs = [] 61 strs.append('CallTreeNode percentage = %.2f' % self.percentage) 63 strs.append(' %s' % function_name) 66 strs.extend([' ' + x for x in child_strs]) 67 return strs 79 strs = [] 80 strs.append('ReportItem (raw_line %s)' % self.raw_line) 82 strs.append('%s' % self.call_tree) [all …]
|
D | app_profiler.py | 102 strs = build_version.split('.') 103 if strs: 104 self.android_version = int(strs[0]) 185 strs = line.split() 186 if len(strs) > 2 and strs[-1].find(self.config['app_package_name']) != -1: 187 return int(strs[1])
|
/system/connectivity/wificond/tests/ |
D | nl80211_attribute_unittest.cpp | 258 std::vector<std::string> strs; in TEST() local 261 nested_attr.GetListOfAttributeValues(&strs); in TEST() 262 EXPECT_EQ(expected_strs, strs); in TEST()
|
/system/extras/simpleperf/ |
D | cmd_report.cpp | 444 std::vector<std::string> strs = android::base::Split(args[i], ","); in ParseOptions() local 445 filter.insert(strs.begin(), strs.end()); in ParseOptions() 513 std::vector<std::string> strs = android::base::Split(args[i], ","); in ParseOptions() local 514 for (const auto& s : strs) { in ParseOptions() 533 std::vector<std::string> strs = android::base::Split(args[i], ";"); in ParseOptions() local 534 sample_tree_builder_options_.symbol_filter.insert(strs.begin(), strs.end()); in ParseOptions()
|
D | cmd_record.cpp | 386 std::vector<std::string> strs = android::base::Split(args[i], ","); in ParseOptions() local 387 if (strs[0] == "fp") { in ParseOptions() 390 } else if (strs[0] == "dwarf") { in ParseOptions() 393 if (strs.size() > 1) { in ParseOptions() 395 uint64_t size = strtoull(strs[1].c_str(), &endptr, 0); in ParseOptions() 398 << strs[1]; in ParseOptions()
|
D | environment.cpp | 314 std::vector<std::string> strs = android::base::Split(tid_str, ","); in GetValidThreadsFromThreadString() local 315 for (const auto& s : strs) { in GetValidThreadsFromThreadString()
|
D | tracing.cpp | 329 std::vector<std::string> strs = android::base::Split(pair.second, "\n"); in LoadTracingFormatsFromEventFiles() local 331 for (const auto& s : strs) { in LoadTracingFormatsFromEventFiles()
|
D | cmd_report_test.cpp | 171 const std::vector<std::string>& strs) { in AllItemsWithString() argument 183 for (auto& s : strs) { in AllItemsWithString()
|
/system/core/init/ |
D | service.cpp | 132 static void ExpandArgs(const std::vector<std::string>& args, std::vector<char*>* strs) { in ExpandArgs() argument 135 strs->push_back(const_cast<char*>(args[0].c_str())); in ExpandArgs() 140 strs->push_back(const_cast<char*>(expanded_args[i].c_str())); in ExpandArgs() 142 strs->push_back(nullptr); in ExpandArgs() 719 std::vector<char*> strs; in Start() local 720 ExpandArgs(args_, &strs); in Start() 721 if (execve(strs[0], (char**) &strs[0], (char**) ENV) < 0) { in Start() 722 PLOG(ERROR) << "cannot execve('" << strs[0] << "')"; in Start()
|