Home
last modified time | relevance | path

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

/system/core/liblog/
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()
252 packet_len = LOGGER_ENTRY_MAX_PAYLOAD - sizeof(char) - length; in __android_log_pmsg_file_write()
Dlogd_writer.c215 if (payloadSize > LOGGER_ENTRY_MAX_PAYLOAD) { in logdWrite()
216 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in logdWrite()
Dlog_event_list.c30 #define MAX_EVENT_PAYLOAD (LOGGER_ENTRY_MAX_PAYLOAD - sizeof(int32_t))
45 uint8_t storage[LOGGER_ENTRY_MAX_PAYLOAD];
DREADME160 embedded newlines to the maximum length LOGGER_ENTRY_MAX_PAYLOAD.
Dpmsg_reader.c185 || (buf.p.len > (sizeof(buf) + LOGGER_ENTRY_MAX_PAYLOAD)) in pmsgRead()
/system/core/logd/
DLogAudit.cpp162 size_t l = strnlen(str, LOGGER_ENTRY_MAX_PAYLOAD); in logPrint()
216 if (b > LOGGER_ENTRY_MAX_PAYLOAD) { in logPrint()
217 b = LOGGER_ENTRY_MAX_PAYLOAD; in logPrint()
219 size_t e = strnlen(ecomm, LOGGER_ENTRY_MAX_PAYLOAD - b); in logPrint()
DLogKlog.cpp239 char buffer[LOGGER_ENTRY_MAX_PAYLOAD]; in onDataAvailable()
758 if (b > LOGGER_ENTRY_MAX_PAYLOAD) { in log()
759 b = LOGGER_ENTRY_MAX_PAYLOAD; in log()
761 if (taglen > LOGGER_ENTRY_MAX_PAYLOAD) { in log()
762 taglen = LOGGER_ENTRY_MAX_PAYLOAD; in log()
DLogListener.cpp48 + LOGGER_ENTRY_MAX_PAYLOAD]; in onDataAvailable()
/system/core/liblog/tests/
Dliblog_benchmark.cpp360 char buf[sizeof(struct packet) + 8 + LOGGER_ENTRY_MAX_PAYLOAD] __aligned(8); in BM_pmsg_long_aligned()
387 write(pstore_fd, &buffer->pmsg_header, LOGGER_ENTRY_MAX_PAYLOAD); in BM_pmsg_long_aligned()
433 char buf[sizeof(struct packet) + 8 + LOGGER_ENTRY_MAX_PAYLOAD] __aligned(8); in BM_pmsg_long_unaligned1()
460 write(pstore_fd, &buffer->pmsg_header, LOGGER_ENTRY_MAX_PAYLOAD); in BM_pmsg_long_unaligned1()
Dliblog_test.cpp771 #define SIZEOF_MAX_PAYLOAD_BUF (LOGGER_ENTRY_MAX_PAYLOAD - \
990 || ((size_t)log_msg.entry.len < LOGGER_ENTRY_MAX_PAYLOAD) in TEST()
1010 EXPECT_GT(LOGGER_ENTRY_MAX_PAYLOAD * 13 / 8, printLogLine); in TEST()
1071 EXPECT_LE(LOGGER_ENTRY_MAX_PAYLOAD - sizeof(big_payload_tag), in TEST()
/system/core/include/log/
Dlogger.h84 #define LOGGER_ENTRY_MAX_PAYLOAD 4068 macro
/system/core/logcat/
Dlogcat.cpp1110 (int) LOGGER_ENTRY_MAX_PAYLOAD); in main()