Home
last modified time | relevance | path

Searched refs:line_end (Results 1 – 3 of 3) sorted by relevance

/system/testing/gtest_extras/
DTest.cpp155 size_t line_end = output_.find('\n'); in SetResultFromOutput() local
156 if (line_end == std::string::npos) { in SetResultFromOutput()
159 std::string second_line(output_.substr(line_end, 9)); in SetResultFromOutput()
160 if (output_.substr(line_end, 9) != "\nSkipped\n") { in SetResultFromOutput()
164 if (failure_index == std::string::npos || failure_index >= line_end) { in SetResultFromOutput()
169 output_ = output_.substr(line_end + 9); in SetResultFromOutput()
/system/tools/aidl/
Dcode_writer.cpp54 size_t line_end = formatted.find('\n', pos); in Write() local
55 if (line_end != std::string::npos) { in Write()
56 lines.push_back(formatted.substr(pos, (line_end - pos) + 1)); in Write()
57 pos = line_end + 1; in Write()
/system/extras/simpleperf/
Dutils.cpp343 char* line_end = strchr(p, '\n'); in ProcessKernelSymbols() local
344 if (line_end != nullptr) { in ProcessKernelSymbols()
345 *line_end = '\0'; in ProcessKernelSymbols()
347 size_t line_size = (line_end != nullptr) ? (line_end - p) : (data_end - p); in ProcessKernelSymbols()
355 if (line_end != nullptr) { in ProcessKernelSymbols()
356 *line_end = '\n'; in ProcessKernelSymbols()
357 p = line_end + 1; in ProcessKernelSymbols()