Searched refs:line (Results 126 - 150 of 193) sorted by relevance

12345678

/system/extras/simpleperf/scripts/
H A Dreport_html.py193 # map from (source_file_id, line) to [event_count, subtree_event_count].
218 def build_line_hit_map(self, source_file_id, line, event_count, subtree_event_count):
221 key = (source_file_id, line)
364 self.line_to_code = {} # map from line to code in that line.
374 for line in self.requested_lines:
375 if line > 0 and line <= max_line:
376 self.line_to_code[line] = source_code[line
[all...]
H A Dreport_html.js1085 this.showLines = {}; // map from line number to {eventCount, subtreeEventCount}.
1099 let line = this.showLines[lineNumber];
1100 if (line) {
1101 line.eventCount += eventCount;
1102 line.subtreeEventCount += subtreeEventCount;
1242 for (let line of rawCode) {
1243 let code = line[0];
1244 let addr = line[1];
1249 // Objdump sets addr to 0 when a disassembly line is not associated with an addr.
1275 for (let line o
[all...]
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
H A Dgrep.c73 /* 6*/ "\t[--context[=num]] [--directories=action] [--label] [--line-buffered]\n",
97 /* Command-line flags */
109 bool nflag; /* -n: show line numbers in front of matching lines */
115 bool xflag; /* -x: pattern must match entire line */
116 bool lbflag; /* --line-buffered */
176 {"line-buffered", no_argument, NULL, LINEBUF_OPT},
204 {"line-number", no_argument, NULL, 'n'},
215 {"line-regexp", no_argument, NULL, 'x'},
288 char *line; local
294 line
[all...]
H A Dgrep.h116 /* Command line flags */
147 void printline(struct str *line, int sep, regmatch_t *matches, int m);
/system/core/adb/
H A Dadb_listeners_test.cpp33 for (const std::string& line : android::base::Split(format_listeners(), "\n")) {
34 std::vector<std::string> info = android::base::Split(line, " ");
/system/core/init/
H A Dueventd_parser.cpp76 const std::string& filename, int line) {
112 Result<Success> SubsystemParser::ParseLineSection(std::vector<std::string>&& args, int line) { argument
75 ParseSection(std::vector<std::string>&& args, const std::string& filename, int line) argument
H A Daction_manager.cpp79 << ":" << action->line() << ")";
/system/core/storaged/tools/
H A Dranker.py19 file through command line argument -i/--input.
42 """Get arguments from command line.
98 for line in fin:
99 words = line.split()
104 # get task command line
/system/extras/boottime_tools/io_analysis/
H A Dcheck_verity.py82 def handle_line(self, line):
83 match = self.re.match(line)
/system/extras/simpleperf/
H A Dcmd_kmem_test.cpp55 for (const auto& line : raw_lines) {
56 std::string s = android::base::Trim(line);
H A Dcmd_report_test.cpp57 for (const auto& line : raw_lines) {
58 std::string s = android::base::Trim(line);
295 for (const auto& line : lines) {
296 if (!after_overhead && line.find("Overhead") != std::string::npos) {
301 if (sscanf(line.c_str(), "%*f%%%s%s", from, to) == 2) {
479 for (auto& line : lines) {
480 if (line.find("SleepFunction") != std::string::npos) {
481 ASSERT_NE(line.find("38.77%"), std::string::npos);
H A Dcommand.cpp105 const char*, const char* file, unsigned int line, const char* message) {
108 fprintf(stderr, "simpleperf %c %s:%u] %s\n", severity_char, file, line, message);
144 LOG(ERROR) << "malformed command line: unknown command " << args[0];
104 StderrLogger(android::base::LogId, android::base::LogSeverity severity, const char*, const char* file, unsigned int line, const char* message) argument
/system/core/libziparchive/
H A Dunzip.cpp112 char* line = nullptr; local
114 if (getline(&line, &n, stdin) == -1) {
120 char cmd = line[0];
121 free(line);
/system/update_engine/payload_consumer/
H A Dpostinstall_runner_action.cc233 // Process every line.
239 for (const auto& line : lines) {
240 ProcessProgressLine(line);
253 bool PostinstallRunnerAction::ProcessProgressLine(const string& line) { argument
255 if (sscanf(line.c_str(), "global_progress %lf", &frac) == 1 &&
/system/core/fs_mgr/
H A Dfs_mgr_fstab.cpp422 // Each element in fstab_dt_entries is <mount point, the line format in fstab file>.
511 char *line = NULL; local
520 while ((len = getline(&line, &alloc_len, fstab_file)) != -1) {
522 if (line[len - 1] == '\n') {
523 line[len - 1] = '\0';
526 p = line;
550 while ((len = getline(&line, &alloc_len, fstab_file)) != -1) {
552 if (line[len - 1] == '\n') {
553 line[len - 1] = '\0';
557 p = line;
[all...]
/system/core/base/include/android-base/
H A Dlogging.h119 unsigned int line, const char* message);
426 LogMessage(const char* file, unsigned int line, LogId id, LogSeverity severity, const char* tag,
436 static void LogLine(const char* file, unsigned int line, LogId id, LogSeverity severity,
443 LogMessage(const char* file, unsigned int line, LogId id, LogSeverity severity, int error);
444 static void LogLine(const char* file, unsigned int line, LogId id, LogSeverity severity,
/system/extras/cpustats/
H A Dcpustats.c192 char line[MAX_BUF_SIZE]; local
197 if (!fgets(line, MAX_BUF_SIZE, file)) die("Could not get %s contents\n", filename);
200 if (strcmp(line, "0\n") == 0) {
204 if (1 == sscanf(line, "0-%d\n", &cpu_count)) {
208 die("Unexpected input in file %s (%s).\n", filename, line);
/system/update_engine/scripts/update_payload/
H A Dchecker.py113 def _Indent(indent, line):
114 """Indents a line by a given indentation amount.
118 line: The line content (string).
121 The properly indented line (string).
123 return '%*s%s' % (indent, '', line)
129 base_indent: Base indentation for each line.
157 ['%*s%s' % (self.indent, '', line) for line in value_lines])
164 indented_value_lines.extend(['%*s%s' % (cont_line_indent, '', line)
[all...]
/system/update_engine/
H A Dtest_http_server.cc52 // HTTP end-of-line delimiter; sorry, this needs to be a macro.
107 // Decode URL line.
222 // first byte of output is appropriately offset with respect to the request line
233 // Populate line of ascending characters.
234 string line; local
235 line.reserve(line_len);
239 line += byte++;
245 // If start offset is not aligned with line boundary, output partial line up
246 // to the first line boundar
[all...]
/system/core/debuggerd/libdebuggerd/
H A Dutility.cpp190 // On 32-bit machines, there are still 16 bytes per line but addresses and
195 for (size_t line = 0; line < MEMORY_BYTES_TO_DUMP / MEMORY_BYTES_PER_LINE; line++) {
/system/netd/libbpf/
H A DBpfUtils.cpp152 for (std::string line; std::getline(iss, line);) {
153 ALOGE("%s", line.c_str());
/system/bt/osi/src/
H A Dconfig.cc344 char line[1024];
348 while (fgets(line, sizeof(line), fp)) {
349 char* line_ptr = trim(line);
358 VLOG(1) << __func__ << ": unterminated section name on line "
367 VLOG(1) << __func__ << ": no key/value separator found on line "
/system/chre/build/sys_support/qcom/
H A Duimage.lcs.toolv80191 .line 0 : { *(.line) }
/system/tools/aidl/
H A Dtype_cpp.h45 int line = -1);
/system/vold/
H A DUtils.cpp237 for (const auto& line : output) {
239 FindValue(line, "TYPE", fsType);
240 FindValue(line, "UUID", fsUuid);
241 FindValue(line, "LABEL", fsLabel);
329 char line[1024]; local
330 while (fgets(line, sizeof(line), fp) != nullptr) {
331 LOG(VERBOSE) << line;
332 output.push_back(std::string(line));

Completed in 426 milliseconds

12345678