Searched defs:lines (Results 1 - 25 of 25) sorted by relevance

/system/core/libunwindstack/tests/
H A DDwarfOpLogTest.cpp60 std::vector<std::string> lines; local
61 this->op_->GetLogInfo(0, opcode_buffer.size(), &lines);
65 ASSERT_EQ(expected, lines);
/system/core/init/test_service/
H A Dtest_service.cpp49 std::vector<std::string> lines = android::base::Split(status, "\n"); local
50 for (const auto& line : lines) {
/system/media/audio_utils/
H A DErrorLog.cpp40 error_log_t *error_log, int fd, const char *prefix, size_t lines, int64_t limit_ns)
45 return reinterpret_cast<ErrorLog<int32_t> *>(error_log)->dump(fd, prefix, lines, limit_ns);
39 error_log_dump( error_log_t *error_log, int fd, const char *prefix, size_t lines, int64_t limit_ns) argument
H A DPowerLog.cpp108 std::string PowerLog::dumpToString(const char *prefix, size_t lines, int64_t limitNs) const argument
114 if (lines == 0) lines = SIZE_MAX;
125 for (offset = 0; offset < (ssize_t)numberOfEntries && count < lines; ++offset) {
216 status_t PowerLog::dump(int fd, const char *prefix, size_t lines, int64_t limitNs) const argument
222 const std::string s = dumpToString(prefix, lines, limitNs);
254 power_log_t *power_log, int fd, const char *prefix, size_t lines, int64_t limit_ns)
259 return reinterpret_cast<PowerLog *>(power_log)->dump(fd, prefix, lines, limit_ns);
253 power_log_dump( power_log_t *power_log, int fd, const char *prefix, size_t lines, int64_t limit_ns) argument
/system/tools/aidl/tests/
H A Daidl_test_sentinel_searcher.cpp36 bool ReadLines(const string& input_file_path, vector<string>* lines) { argument
45 lines->push_back(line);
51 bool HasSentinel(const vector<string>& lines, const string& sentinel) { argument
52 for (const auto& line : lines) {
85 vector<string> lines; local
92 // Ignore errors when reading lines. The file may not immediately exist
94 lines.clear();
95 ReadLines(input_file_path, &lines);
97 if (HasSentinel(lines, success_sentinel)) {
101 if (HasSentinel(lines, failure_sentine
[all...]
/system/core/debuggerd/client/
H A Ddebuggerd_client_test.cpp97 std::vector<std::string> lines = android::base::Split(result, "\n"); local
98 for (const std::string& line : lines) {
/system/extras/simpleperf/
H A Dcmd_kmem_test.cpp38 std::vector<std::string> lines; member in struct:ReportResult
54 result->lines.clear();
58 result->lines.push_back(s);
61 ASSERT_GE(result->lines.size(), 2u);
H A Dcmd_report_test.cpp56 lines.clear();
60 lines.push_back(s);
63 ASSERT_GE(lines.size(), 2u);
68 std::vector<std::string> lines; member in class:ReportCommandTest
88 while (line_index < lines.size() &&
89 lines[line_index].find("Pid") == std::string::npos) {
92 ASSERT_LT(line_index + 2, lines.size());
99 while (line_index < lines.size() &&
100 lines[line_index].find("Overhead") == std::string::npos) {
103 ASSERT_LT(line_index + 1, lines
132 CheckCalleeMode(std::vector<std::string>& lines) argument
144 CheckCallerMode(std::vector<std::string>& lines) argument
168 AllItemsWithString(std::vector<std::string>& lines, const std::vector<std::string>& strs) argument
[all...]
/system/core/storaged/
H A Dstoraged_info.cpp175 vector<string> lines = Split(buffer, "\n"); local
176 if (lines.empty()) {
181 if (sscanf(lines[0].c_str(), "ufs version: 0x%7s\n", rev) < 1) {
187 for (size_t i = 1; i < lines.size(); i++) {
191 if ((ret = sscanf(lines[i].c_str(),
/system/update_engine/payload_generator/
H A Dmapfile_filesystem.cc89 // Iterate over all the lines in the file and generate one File entry per
91 vector<base::StringPiece> lines = base::SplitStringPiece( local
93 for (const base::StringPiece& line : lines) {
/system/core/adb/
H A Dshell_service_test.cpp142 // Checks if each line in |lines| exists in the same order in |output|. Blank
143 // lines in |output| are ignored for simplicity.
145 const std::vector<std::string>& lines) {
149 for (const std::string& line : lines) {
150 // Skip empty lines in output.
155 ADD_FAILURE() << "Ran out of output lines";
165 EXPECT_EQ(i, output_lines.size()) << "Found unmatched output lines";
144 ExpectLinesEqual(const std::string& output, const std::vector<std::string>& lines) argument
H A Dadb.cpp661 std::vector<std::string> lines = android::base::Split(content, "\n"); local
662 int i = lines.size() - 1;
663 while (i >= 0 && lines[i] != header) --i;
664 while (static_cast<size_t>(i) < lines.size()) fprintf(stderr, "%s\n", lines[i++].c_str());
/system/update_engine/payload_consumer/
H A Dpostinstall_runner_action.cc229 vector<string> lines = base::SplitString( local
231 if (!lines.empty()) {
232 progress_buffer_ = lines.back();
233 lines.pop_back();
234 for (const auto& line : lines) {
/system/core/libbacktrace/
H A Dbacktrace_offline_test.cpp239 std::vector<std::string> lines = android::base::Split(s, "\n"); local
241 for (const auto& line : lines) {
/system/sepolicy/tools/fc_sort/
H A Dfc_sort.c316 int lines; local
339 lines = 0;
481 lines++;
/system/core/libunwindstack/
H A DDwarfOp.cpp99 std::vector<std::string>* lines) {
134 lines->push_back(std::move(log_string));
135 lines->push_back(std::move(raw_string));
98 GetLogInfo(uint64_t start, uint64_t end, std::vector<std::string>* lines) argument
/system/core/libnativeloader/
H A Dnative_loader.cpp378 std::vector<std::string> lines = base::Split(file_content, "\n"); local
380 for (auto& line : lines) {
/system/netd/tests/
H A Dbinder_test.cpp126 std::vector<std::string> lines; local
131 return lines;
138 lines.push_back(std::string(line, linelen));
144 return lines;
209 std::vector<std::string> lines = listIptablesRule(binary, "bw_data_saver"); local
224 EXPECT_GE(lines.size(), 3U);
226 if (lines.size() == 3 && StartsWith(lines[2], "RETURN ")) {
233 if (lines.size() >= minSize && StartsWith(lines[line
[all...]
/system/update_engine/
H A Dtest_http_server.cc100 // Break header into lines.
101 vector<string> lines; local
103 headers.substr(0, headers.length() - strlen(EOL EOL)), EOL, &lines);
106 vector<string> terms = base::SplitString(lines[0], base::kWhitespaceASCII,
114 // Decode remaining lines.
116 for (i = 1; i < lines.size(); i++) {
117 terms = base::SplitString(lines[i], base::kWhitespaceASCII,
145 LOG(WARNING) << "ignoring HTTP attribute: `" << lines[i] << "'";
219 // Writes a predetermined payload of lines of ascending bytes to a file. The
227 LOG(INFO) << "writing payload: " << line_len << "-byte lines startin
[all...]
/system/core/libpixelflinger/codeflinger/
H A DMIPS64Assembler.cpp1329 dstr *lines = (dstr *)mParent->mArmDisassemblyBuffer; local
1333 string_detab(lines[i]);
H A DMIPSAssembler.cpp1334 dstr *lines = (dstr *)mParent->mArmDisassemblyBuffer; local
1338 string_detab(lines[i]);
/system/media/camera/src/
H A Dcamera_metadata.c1134 int lines = count / values_per_line[type]; local
1135 if (count % values_per_line[type] != 0) lines++;
1139 for (j = 0; j < lines; j++) {
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ...
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ...
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ...

Completed in 645 milliseconds