Searched refs:line (Results 151 - 175 of 193) sorted by relevance

12345678

/system/core/adb/
H A Dshell_service_test.cpp122 // Checks if each line in |lines| exists in the same order in |output|. Blank
129 for (const std::string& line : lines) {
138 EXPECT_EQ(line, output_lines[i]);
/system/core/libunwindstack/tools/
H A Dunwind_reg_info.cpp59 for (auto& line : lines) {
60 printf(" %s\n", line.c_str());
/system/extras/simpleperf/
H A Devent_type.cpp67 for (auto& line : android::base::Split(s, "\n")) {
68 std::vector<std::string> items = android::base::Split(line, " ");
/system/extras/simpleperf/scripts/
H A Dtest.py213 This function checks for each entry, if the line containing [name]
222 for line in summary.split('\n'):
225 if not fulfilled[i] and name in line:
226 m = self.summary_check_re.search(line)
239 for line in data.split('\n'):
242 if fulfilled[i] or line.find(entry[0]) == -1:
244 m = re.search(r'(\d+\.\d+)%', line)
407 ("line 23", 80, 0)])
488 ("line 24", 20, 0),
489 ("line 3
[all...]
H A Dapp_profiler.py211 for line in output.split('\n'):
212 strs = line.split()
/system/netd/tests/
H A Dbinder_test.cpp160 char *line = nullptr; local
163 while ((linelen = getline(&line, &bufsize, f)) >= 0) {
164 lines.push_back(std::string(line, linelen));
165 free(line);
166 line = nullptr;
442 for (std::string line : rules) {
443 if (android::base::StartsWith(line, prefix) && android::base::EndsWith(line, suffix)) {
/system/timezone/
H A Dupdate-tzdata.py70 for line in open(zic_input_file):
71 fields = line.split()
/system/extras/boottime_tools/io_analysis/
H A Dcheck_file_read.py241 def handle_line(self, line):
242 match = self.re_open.match(line)
246 match = self.re_ext4_access.match(line)
250 match = self.re_bio_remap.match(line)
254 match = self.re_block_issue.match(line)
/system/extras/perfprofd/
H A Dperfprofdcore.cc269 std::string line; local
270 while (std::getline(ss,line,'\n')) {
271 if (line.find("Camera module API version:") !=
275 if (line.find("No camera module available") !=
277 line.find("No active camera clients yet") !=
536 // record the final command line in the error output file for
/system/libhidl/
H A Dtest_main.cpp54 for (std::string line; std::getline(ifs, line);) {
55 if (line.size() >= lib.size() && line.substr(line.size() - lib.size()) == lib) {
/system/core/logd/
H A DLogAudit.cpp114 std::string line; local
123 while (std::getline(bug_file, line)) {
124 std::stringstream split_line(line);
/system/core/include/backtrace/
H A DBacktraceMap.h168 virtual bool ParseLine(const char* line, backtrace_map_t* map);
/system/core/libbacktrace/include/backtrace/
H A DBacktraceMap.h168 virtual bool ParseLine(const char* line, backtrace_map_t* map);
/system/core/toolbox/
H A Dgetevent.c286 char line[2048]; local
300 while (fgets(line, sizeof(line), file)) {
302 fputs(line, stdout);
/system/core/logcat/tests/
H A Dlogcat_test.cpp370 // Hard to predict 100% if first (overlap) or second line will match.
371 // -v nsec will in a substantial majority be the second line.
937 char* line = NULL; local
939 NULL; // this line is allowed to stutter, one-line overlap
943 while (getline(&line, &len, fp) != -1) {
945 first_line = line;
946 line = NULL;
951 last_line = line;
952 line
[all...]
/system/extras/perfprofd/tests/
H A Dperfprofd_test.cc95 unsigned int line,
103 android::base::StderrLogger(log_id, severity, tag, file, line, message);
277 void addToConfig(const std::string &line) argument
279 config_text_ += line;
628 W: line 6: malformed unsigned value (ignored)
629 W: line 7: unknown option 'nonexistent_key' ignored
630 W: line 8: line malformed (no '=' found)
91 TestLogFunction(LogId log_id, LogSeverity severity, const char* tag, const char* file, unsigned int line, const char* message) argument
/system/update_engine/payload_generator/
H A Dsquashfs_filesystem.cc120 for (const auto& line : lines) {
122 base::SplitStringPiece(line,
/system/iot/attestation/at-factory-tool/
H A Datftman.py562 for line in lines:
563 if line.startswith(BOOTLOADER_STRING):
564 key_value = re.split(r':[\s]*|=', line.replace(BOOTLOADER_STRING, ''))
1044 for line in out.splitlines():
1045 if line.startswith('(bootloader) '):
1048 line.replace('(bootloader) ', ''))
/system/libhidl/transport/
H A DServiceManagement.cpp263 for (std::string line; std::getline(ifs, line);) {
264 // The last token of line should look like
268 if (line.back() != 'o') continue;
269 if (line.rfind('@') == std::string::npos) continue;
271 auto spacePos = line.rfind(' ');
273 auto libFileName = line.substr(spacePos + 1);
/system/media/camera/docs/
H A Dmetadata_helpers.py306 # pad with spaces to make string len == size. add new line if too big
310 the string length == size. Adds a new line if the string was too big.
351 # If string is too long, insert a new line with 'col' spaces instead
355 If the string overflows the column, put the string on a new line and pad it.
367 This keeps track of the line written by Mako so far, so it will always
862 def line_filter(line):
863 # Indent each line
866 return (comment_prefix + line).rstrip()
868 # Process each line with above filter
961 def line_filter(line)
[all...]
/system/core/libunwindstack/tests/
H A DMapsTest.cpp29 static void VerifyLine(std::string line, MapInfo* info) { argument
30 BufferMaps maps(line.c_str());
33 ASSERT_FALSE(maps.Parse()) << "Failed on: " + line;
35 ASSERT_TRUE(maps.Parse()) << "Failed on: " + line;
37 ASSERT_TRUE(element != nullptr) << "Failed on: " + line;
132 // Line to verify that the parser will detect a completely malformed line
439 // complete line.
/system/core/libnativeloader/
H A Dnative_loader.cpp488 for (auto& line : lines) {
489 auto trimmed_line = base::Trim(line);
497 if (error_msg) *error_msg = "Malformed line: " + line;
/system/core/liblog/
H A Dlogprint.c198 * returns 1 if this log line should be printed based on its priority
1107 /* We overflowed :-(, let's repaint the line w/o format dressings */
1335 char* line = NULL; local
1337 while (getline(&line, &len, p) > 0) {
1345 char *cp, *e = line;
1369 } else if ((e = strstr(line, resume))) {
1371 } else if (((e = strstr(line, healthd))) &&
1376 } else if ((e = strstr(line, suspended))) {
1762 * The line-end finding here must match the line
[all...]
/system/update_engine/common/
H A Dhttp_fetcher_unittest.cc136 string line; local
137 while (line.find('\n') == string::npos) {
143 line.append(buf.data(), read);
147 // Parse the port from the output line.
149 if (line.size() < listening_msg_prefix_len) {
155 line.substr(0, listening_msg_prefix_len));
156 string port_str = line.substr(listening_msg_prefix_len);
/system/core/init/
H A Dservice.h265 int line) override;
266 Result<Success> ParseLineSection(std::vector<std::string>&& args, int line) override;

Completed in 3034 milliseconds

12345678