Home
last modified time | relevance | path

Searched refs:LOGGER_ENTRY_MAX_PAYLOAD (Results 1 – 16 of 16) sorted by relevance

/system/core/liblog/
Dfake_writer.c90 if (len > LOGGER_ENTRY_MAX_PAYLOAD) { in fakeWrite()
91 len = LOGGER_ENTRY_MAX_PAYLOAD; in fakeWrite()
Dpmsg_writer.c161 if (payloadSize > LOGGER_ENTRY_MAX_PAYLOAD) { in pmsgWrite()
162 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in pmsgWrite()
166 payloadSize = LOGGER_ENTRY_MAX_PAYLOAD; in pmsgWrite()
244 packet_len = LOGGER_ENTRY_MAX_PAYLOAD - sizeof(char) - length; in __android_log_pmsg_file_write()
Dstderr_write.c177 if ((log_msg.entry.len + len) > LOGGER_ENTRY_MAX_PAYLOAD) { in stderrWrite()
178 len = LOGGER_ENTRY_MAX_PAYLOAD - log_msg.entry.len; in stderrWrite()
Dlogd_writer.c230 if (payloadSize > LOGGER_ENTRY_MAX_PAYLOAD) { in logdWrite()
231 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in logdWrite()
Dlocal_logger.c303 if (len > LOGGER_ENTRY_MAX_PAYLOAD) { in writeToLocalWrite()
304 len = LOGGER_ENTRY_MAX_PAYLOAD; in writeToLocalWrite()
Dlog_event_list.c30 #define MAX_EVENT_PAYLOAD (LOGGER_ENTRY_MAX_PAYLOAD - sizeof(int32_t))
45 uint8_t storage[LOGGER_ENTRY_MAX_PAYLOAD];
Dpmsg_reader.c188 (buf.p.len > (sizeof(buf) + LOGGER_ENTRY_MAX_PAYLOAD)) || in pmsgRead()
DREADME199 embedded newlines to the maximum length LOGGER_ENTRY_MAX_PAYLOAD.
/system/core/logd/
DLogAudit.cpp288 size_t l = strnlen(str, LOGGER_ENTRY_MAX_PAYLOAD); in logPrint()
342 if (b > LOGGER_ENTRY_MAX_PAYLOAD) { in logPrint()
343 b = LOGGER_ENTRY_MAX_PAYLOAD; in logPrint()
345 size_t e = strnlen(ecomm, LOGGER_ENTRY_MAX_PAYLOAD - b); in logPrint()
DLogKlog.cpp229 char buffer[LOGGER_ENTRY_MAX_PAYLOAD]; in onDataAvailable()
762 if (b > LOGGER_ENTRY_MAX_PAYLOAD) { in log()
763 b = LOGGER_ENTRY_MAX_PAYLOAD; in log()
765 if (taglen > LOGGER_ENTRY_MAX_PAYLOAD) { in log()
766 taglen = LOGGER_ENTRY_MAX_PAYLOAD; in log()
DLogListener.cpp45 LOGGER_ENTRY_MAX_PAYLOAD]; in onDataAvailable()
/system/core/liblog/tests/
Dliblog_benchmark.cpp375 alignas(8) char buf[sizeof(struct packet) + 8 + LOGGER_ENTRY_MAX_PAYLOAD]; in BM_pmsg_long_aligned()
402 write(pstore_fd, &buffer->pmsg_header, LOGGER_ENTRY_MAX_PAYLOAD); in BM_pmsg_long_aligned()
447 alignas(8) char buf[sizeof(struct packet) + 8 + LOGGER_ENTRY_MAX_PAYLOAD]; in BM_pmsg_long_unaligned1()
474 write(pstore_fd, &buffer->pmsg_header, LOGGER_ENTRY_MAX_PAYLOAD); in BM_pmsg_long_unaligned1()
Dliblog_test.cpp436 if ((LOGGER_ENTRY_MAX_PAYLOAD - 4 - 1 - 4) <= length) { in bswrite_test()
563 if ((LOGGER_ENTRY_MAX_PAYLOAD - 2 - sizeof(tag)) <= length) { in buf_write_test()
944 (LOGGER_ENTRY_MAX_PAYLOAD - sizeof(max_payload_tag) - 1)
1181 ((size_t)log_msg.entry.len < LOGGER_ENTRY_MAX_PAYLOAD) || in TEST()
1201 EXPECT_GT(LOGGER_ENTRY_MAX_PAYLOAD * 13 / 8, printLogLine); in TEST()
1270 max_len ? max_len : LOGGER_ENTRY_MAX_PAYLOAD - sizeof(big_payload_tag); in TEST()
1272 EXPECT_LE(LOGGER_ENTRY_MAX_PAYLOAD - sizeof(big_payload_tag), in TEST()
/system/core/liblog/include/log/
Dlog_read.h131 #define LOGGER_ENTRY_MAX_PAYLOAD 4068 macro
/system/core/liblog/include_vndk/log/
Dlog_read.h131 #define LOGGER_ENTRY_MAX_PAYLOAD 4068 macro
/system/core/logcat/
Dlogcat.cpp1508 (int)LOGGER_ENTRY_MAX_PAYLOAD); in __logcat()