Home
last modified time | relevance | path

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

/system/memory/lmkd/tests/
Dlmkd_tests.cpp207 size_t line_end = logcat_out.find('\n', line_start); in TEST_F() local
209 line_start, line_end == std::string::npos ? std::string::npos : line_end - line_start); in TEST_F()
214 line_start = logcat_out.find(LMKD_REAP_LINE_START, line_end); in TEST_F()
217 line_start = logcat_out.find(LMKD_REAP_MRELESE_ERR_MARKER, line_end); in TEST_F()
221 line_end = logcat_out.find('\n', line_start); in TEST_F()
222 line = logcat_out.substr(line_start, line_end == std::string::npos ? std::string::npos in TEST_F()
223 : line_end - line_start); in TEST_F()
227 line_end = logcat_out.find('\n', line_start); in TEST_F()
229 line_start, line_end == std::string::npos ? std::string::npos : line_end - line_start); in TEST_F()
/system/extras/simpleperf/
Dkallsyms.cpp248 char* line_end = strchr(p, '\n'); in ProcessKernelSymbols() local
249 if (line_end != nullptr) { in ProcessKernelSymbols()
250 *line_end = '\0'; in ProcessKernelSymbols()
252 size_t line_size = (line_end != nullptr) ? (line_end - p) : (data_end - p); in ProcessKernelSymbols()
260 if (line_end != nullptr) { in ProcessKernelSymbols()
261 *line_end = '\n'; in ProcessKernelSymbols()
262 p = line_end + 1; in ProcessKernelSymbols()
/system/tools/aidl/
Dcode_writer.cpp56 size_t line_end = formatted.find('\n', pos); in Write() local
57 if (line_end != std::string::npos) { in Write()
58 lines.push_back(formatted.substr(pos, (line_end - pos) + 1)); in Write()
59 pos = line_end + 1; in Write()