Home
last modified time | relevance | path

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

/system/core/libstats/socket/
Dstats_event.c36 #define MAX_BYTE_VALUE 127 // parsing side requires that lengths fit in 7 bits macro
206 if (numNodes > MAX_BYTE_VALUE) event->errors |= ERROR_ATTRIBUTION_CHAIN_TOO_LONG; in stats_event_write_attribution_chain()
220 if (numPairs > MAX_BYTE_VALUE) event->errors |= ERROR_TOO_MANY_KEY_VALUE_PAIRS; in stats_event_write_key_value_pairs()
265 if (annotationId > MAX_BYTE_VALUE) event->errors |= ERROR_ANNOTATION_ID_TOO_LARGE; in stats_event_add_bool_annotation()
277 if (annotationId > MAX_BYTE_VALUE) event->errors |= ERROR_ANNOTATION_ID_TOO_LARGE; in stats_event_add_int32_annotation()
308 if (event->numElements > MAX_BYTE_VALUE) { in stats_event_build()