Home
last modified time | relevance | path

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

/packages/modules/StatsD/lib/libstatssocket/
Dstats_event.c28 #define MAX_PULL_EVENT_PAYLOAD (50 * 1024) // 50 KB macro
134 if (totalBytesNeeded > MAX_PULL_EVENT_PAYLOAD) { in overflows()
140 if (event->bufSize < MAX_PULL_EVENT_PAYLOAD && totalBytesNeeded > event->bufSize) { in overflows()
145 if (event->bufSize > MAX_PULL_EVENT_PAYLOAD) { in overflows()
146 event->bufSize = MAX_PULL_EVENT_PAYLOAD; in overflows()
197 size_t size = strnlen(buf, MAX_PULL_EVENT_PAYLOAD); in append_string()
198 if (size == MAX_PULL_EVENT_PAYLOAD) { in append_string()