Home
last modified time | relevance | path

Searched refs:LOGGER_ENTRY_MAX_PAYLOAD (Results 1 – 18 of 18) 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.c304 if (len > LOGGER_ENTRY_MAX_PAYLOAD) { in writeToLocalWrite()
305 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.cpp317 size_t str_len = strnlen(str, LOGGER_ENTRY_MAX_PAYLOAD); in logPrint()
320 str_len = (str_len + bug_metadata.length() <= LOGGER_ENTRY_MAX_PAYLOAD) in logPrint()
322 : LOGGER_ENTRY_MAX_PAYLOAD; in logPrint()
379 if (prefix_len > LOGGER_ENTRY_MAX_PAYLOAD) { in logPrint()
380 prefix_len = LOGGER_ENTRY_MAX_PAYLOAD; in logPrint()
382 size_t suffix_len = strnlen(ecomm, LOGGER_ENTRY_MAX_PAYLOAD - prefix_len); 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.cpp48 LOGGER_ENTRY_MAX_PAYLOAD + 1]; in onDataAvailable()
/system/core/libstats/
Dstats_event_list.c22 #define MAX_EVENT_PAYLOAD (LOGGER_ENTRY_MAX_PAYLOAD - sizeof(int32_t))
37 uint8_t storage[LOGGER_ENTRY_MAX_PAYLOAD];
Dstatsd_writer.c203 if (payloadSize > LOGGER_ENTRY_MAX_PAYLOAD) { in statsdWrite()
204 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in statsdWrite()
/system/core/liblog/tests/
Dliblog_benchmark.cpp434 alignas(8) char buf[sizeof(struct packet) + 8 + LOGGER_ENTRY_MAX_PAYLOAD]; in BM_pmsg_long_aligned()
461 write(pstore_fd, &buffer->pmsg_header, LOGGER_ENTRY_MAX_PAYLOAD); in BM_pmsg_long_aligned()
507 alignas(8) char buf[sizeof(struct packet) + 8 + LOGGER_ENTRY_MAX_PAYLOAD]; in BM_pmsg_long_unaligned1()
534 write(pstore_fd, &buffer->pmsg_header, LOGGER_ENTRY_MAX_PAYLOAD); in BM_pmsg_long_unaligned1()
Dliblog_test.cpp443 if ((LOGGER_ENTRY_MAX_PAYLOAD - 4 - 1 - 4) <= length) { in bswrite_test()
570 if ((LOGGER_ENTRY_MAX_PAYLOAD - 2 - sizeof(tag)) <= length) { in buf_write_test()
951 (LOGGER_ENTRY_MAX_PAYLOAD - sizeof(max_payload_tag) - 1)
1188 ((size_t)log_msg.entry.len < LOGGER_ENTRY_MAX_PAYLOAD) || in TEST()
1208 EXPECT_GT(LOGGER_ENTRY_MAX_PAYLOAD * 13 / 8, printLogLine); in TEST()
1277 max_len ? max_len : LOGGER_ENTRY_MAX_PAYLOAD - sizeof(big_payload_tag); in TEST()
1279 EXPECT_LE(LOGGER_ENTRY_MAX_PAYLOAD - sizeof(big_payload_tag), in TEST()
/system/core/liblog/include_vndk/log/
Dlog_read.h131 #define LOGGER_ENTRY_MAX_PAYLOAD 4068 macro
/system/core/liblog/include/log/
Dlog_read.h131 #define LOGGER_ENTRY_MAX_PAYLOAD 4068 macro
/system/core/logcat/
Dlogcat.cpp1508 (int)LOGGER_ENTRY_MAX_PAYLOAD); in __logcat()