Searched refs:linelen (Results 1 – 4 of 4) sorted by relevance
/system/logging/logd/ |
D | TrustyLog.cpp | 97 size_t linelen = lineend - linestart; in onDataAvailable() local 98 LogMsg(linestart, linelen); in onDataAvailable() 99 linestart += (linelen + 1); // next line, skipping the newline in onDataAvailable() 100 len -= (linelen + 1); in onDataAvailable()
|
/system/hardware/interfaces/net/netd/testutils/ |
D | VtsHalNetNetdTestUtils.cpp | 58 ssize_t linelen = 0; in runCommand() local 59 while ((linelen = getline(&line, &bufsize, f)) >= 0) { in runCommand() 60 lines.push_back(std::string(line, linelen)); in runCommand()
|
/system/netd/tests/ |
D | test_utils.cpp | 50 ssize_t linelen = 0; in runCommand() local 51 while ((linelen = getline(&line, &bufsize, f)) >= 0) { in runCommand() 52 std::string str = std::string(line, linelen); in runCommand()
|
/system/logging/logwrapper/ |
D | logwrap.cpp | 104 static void add_line_to_abbr_buf(struct abbr_buf* a_buf, char* linebuf, int linelen); 237 static void add_line_to_abbr_buf(struct abbr_buf* a_buf, char* linebuf, int linelen) { in add_line_to_abbr_buf() argument 239 a_buf->beginning_buf_full = add_line_to_linear_buf(&a_buf->b_buf, linebuf, linelen); in add_line_to_abbr_buf() 242 add_line_to_circular_buf(&a_buf->e_buf, linebuf, linelen); in add_line_to_abbr_buf()
|