Searched refs:newline (Results 1 – 11 of 11) sorted by relevance
/system/libbase/ |
D | logging_splitters.h | 33 const char* newline = strchr(msg, '\n'); in SplitByLines() local 34 while (newline != nullptr) { in SplitByLines() 35 log_function(msg, newline - msg, args...); in SplitByLines() 36 msg = newline + 1; in SplitByLines() 37 newline = strchr(msg, '\n'); in SplitByLines() 97 const char* newline = strchr(msg, '\n'); in SplitByLogdChunks() local 98 while (newline != nullptr) { in SplitByLogdChunks() 100 if (chunk_position != 0 && chunk_position + (newline - msg) + 1 + file_header_size > max_size) { in SplitByLogdChunks() 106 write_to_logd_chunk(msg, newline - msg); in SplitByLogdChunks() 108 msg = newline + 1; in SplitByLogdChunks() [all …]
|
/system/core/libprocinfo/ |
D | process_map.cpp | 61 char* newline = reinterpret_cast<char*>(memchr(&char_buffer[start], '\n', read_bytes)); in ReadMapFileAsyncSafe() local 62 if (newline == nullptr) { in ReadMapFileAsyncSafe() 65 *newline = '\0'; in ReadMapFileAsyncSafe() 67 start = newline - char_buffer + 1; in ReadMapFileAsyncSafe() 68 read_bytes -= newline - line + 1; in ReadMapFileAsyncSafe()
|
/system/extras/memory_replay/ |
D | NativeInfo.cpp | 67 char* newline = reinterpret_cast<char*>(memchr(&buf[buf_start], '\n', buf_bytes)); in NativeGetInfo() local 68 if (newline == nullptr) { in NativeGetInfo() 71 *newline = '\0'; in NativeGetInfo() 89 buf_bytes -= newline - &buf[buf_start] + 1; in NativeGetInfo() 90 buf_start = newline - buf + 1; in NativeGetInfo()
|
/system/core/logd/ |
D | LogAudit.cpp | 223 static const char newline[] = "\n"; in logPrint() local 232 iov[3].iov_base = const_cast<char*>(newline); in logPrint() 233 iov[3].iov_len = strlen(newline); in logPrint()
|
/system/core/toolbox/ |
D | getevent.c | 521 char *newline = "\n"; in getevent_main() local 546 newline = ""; in getevent_main() 649 printf("%04x%s", sw, newline); in getevent_main() 683 printf("%s", newline); in getevent_main()
|
/system/sepolicy/ |
D | README | 11 final line terminated by a newline character (0x0A). This 14 Adding the newline will also make the intermediate text files 17 newline inserted between each file as these are common failure
|
/system/core/logcat/tests/ |
D | logcat_test.cpp | 1501 char newline; in End_to_End() local 1503 int ret = sscanf(buffer, expect.c_str(), &p, &space, &newline); in End_to_End() 1504 if ((ret == 3) && (p == pid) && (space == ' ') && (newline == '\n')) { in End_to_End()
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | te_macros | 569 # print a message with a trailing newline
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | te_macros | 578 # print a message with a trailing newline
|
/system/core/rootdir/ |
D | init.rc | 21 # explicitly set a sysctl to an empty string, a trailing newline is needed.
|
/system/media/audio_utils/ |
D | Doxyfile | 248 # alias to insert a newline as if a physical newline was in the original file.
|