Searched refs:line_end (Results 1 – 3 of 3) sorted by relevance
/system/extras/memory_replay/ |
D | Alloc.cpp | 42 const char* line_end = &line[line_pos]; in AllocGetData() local 47 if (sscanf(line_end, "%zu", &entry->size) != 1) { in AllocGetData() 58 if (sscanf(line_end, "%" SCNd64 " %zu", &entry->u.n_elements, &entry->size) != 2) { in AllocGetData() 65 if (sscanf(line_end, "%" SCNx64 " %zu", &entry->u.old_ptr, &entry->size) != 2) { in AllocGetData() 72 if (sscanf(line_end, "%" SCNd64 " %zu", &entry->u.align, &entry->size) != 2) { in AllocGetData()
|
/system/tools/aidl/ |
D | code_writer.cpp | 54 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/ |
D | utils.cpp | 342 char* line_end = strchr(p, '\n'); in ProcessKernelSymbols() local 343 if (line_end != nullptr) { in ProcessKernelSymbols() 344 *line_end = '\0'; in ProcessKernelSymbols() 346 size_t line_size = (line_end != nullptr) ? (line_end - p) : (data_end - p); in ProcessKernelSymbols() 354 if (line_end != nullptr) { in ProcessKernelSymbols() 355 *line_end = '\n'; in ProcessKernelSymbols() 356 p = line_end + 1; in ProcessKernelSymbols()
|