Searched refs:LOGGER_ENTRY_MAX_PAYLOAD (Results 1 – 18 of 18) sorted by relevance
90 if (len > LOGGER_ENTRY_MAX_PAYLOAD) { in fakeWrite()91 len = LOGGER_ENTRY_MAX_PAYLOAD; in fakeWrite()
161 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()
177 if ((log_msg.entry.len + len) > LOGGER_ENTRY_MAX_PAYLOAD) { in stderrWrite()178 len = LOGGER_ENTRY_MAX_PAYLOAD - log_msg.entry.len; in stderrWrite()
230 if (payloadSize > LOGGER_ENTRY_MAX_PAYLOAD) { in logdWrite()231 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in logdWrite()
304 if (len > LOGGER_ENTRY_MAX_PAYLOAD) { in writeToLocalWrite()305 len = LOGGER_ENTRY_MAX_PAYLOAD; in writeToLocalWrite()
30 #define MAX_EVENT_PAYLOAD (LOGGER_ENTRY_MAX_PAYLOAD - sizeof(int32_t))45 uint8_t storage[LOGGER_ENTRY_MAX_PAYLOAD];
188 (buf.p.len > (sizeof(buf) + LOGGER_ENTRY_MAX_PAYLOAD)) || in pmsgRead()
199 embedded newlines to the maximum length LOGGER_ENTRY_MAX_PAYLOAD.
317 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()
229 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()
48 LOGGER_ENTRY_MAX_PAYLOAD + 1]; in onDataAvailable()
22 #define MAX_EVENT_PAYLOAD (LOGGER_ENTRY_MAX_PAYLOAD - sizeof(int32_t))37 uint8_t storage[LOGGER_ENTRY_MAX_PAYLOAD];
203 if (payloadSize > LOGGER_ENTRY_MAX_PAYLOAD) { in statsdWrite()204 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in statsdWrite()
434 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()
443 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()
131 #define LOGGER_ENTRY_MAX_PAYLOAD 4068 macro
1508 (int)LOGGER_ENTRY_MAX_PAYLOAD); in __logcat()