Home
last modified time | relevance | path

Searched refs:newline (Results 1 – 10 of 10) sorted by relevance

/system/extras/memory_replay/
DLineBuffer.cpp29 char* newline = reinterpret_cast<char*>(memchr(buffer_ + start_, '\n', bytes_)); in GetLine() local
30 if (newline != nullptr) { in GetLine()
31 *newline = '\0'; in GetLine()
33 start_ = newline - buffer_ + 1; in GetLine()
34 bytes_ -= newline - *line + 1; in GetLine()
35 *line_len = newline - *line; in GetLine()
/system/core/libmemunreachable/
DLineBuffer.cpp34 char* newline = reinterpret_cast<char*>(memchr(buffer_ + start_, '\n', bytes_)); in GetLine() local
35 if (newline != nullptr) { in GetLine()
36 *newline = '\0'; in GetLine()
38 start_ = newline - buffer_ + 1; in GetLine()
39 bytes_ -= newline - *line + 1; in GetLine()
40 *line_len = newline - *line; in GetLine()
/system/core/libunwindstack/
DMaps.cpp182 char* newline = static_cast<char*>(memchr(line, '\n', bytes)); in Parse() local
183 if (newline == nullptr) { in Parse()
187 *newline = '\0'; in Parse()
196 bytes -= newline - line + 1; in Parse()
197 line = newline + 1; in Parse()
/system/core/logd/
DLogAudit.cpp199 static const char newline[] = "\n"; in logPrint() local
237 iov[3].iov_base = const_cast<char*>(newline); in logPrint()
238 iov[3].iov_len = strlen(newline); in logPrint()
260 iov[3].iov_base = const_cast<char*>(newline); in logPrint()
261 iov[3].iov_len = strlen(newline); in logPrint()
/system/core/toolbox/
Dgetevent.c521 char *newline = "\n"; in getevent_main() local
543 newline = ""; in getevent_main()
646 printf("%04x%s", sw, newline); in getevent_main()
680 printf("%s", newline); in getevent_main()
/system/sepolicy/
DREADME11 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/bt/tools/mcap_tool/
Dmcap_tool.cc141 bool newline = false; in mcap_data_cb() local
146 newline = true; in mcap_data_cb()
149 newline = false; in mcap_data_cb()
152 if (!newline) printf("\n"); in mcap_data_cb()
/system/core/logcat/tests/
Dlogcat_test.cpp1543 char newline; in End_to_End() local
1545 int ret = sscanf(buffer, expect.c_str(), &p, &space, &newline); in End_to_End()
1546 if ((ret == 3) && (p == pid) && (space == ' ') && (newline == '\n')) { in End_to_End()
/system/sepolicy/prebuilts/api/27.0/public/
Dte_macros578 # print a message with a trailing newline
/system/sepolicy/prebuilts/api/26.0/public/
Dte_macros569 # print a message with a trailing newline