Home
last modified time | relevance | path

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

/system/core/libstats/socket/
Dstats_event.c219 uint8_t numPairs) { in stats_event_write_key_value_pairs() argument
220 if (numPairs > MAX_BYTE_VALUE) event->errors |= ERROR_TOO_MANY_KEY_VALUE_PAIRS; in stats_event_write_key_value_pairs()
224 append_byte(event, numPairs); in stats_event_write_key_value_pairs()
226 for (uint8_t i = 0; i < numPairs; i++) { in stats_event_write_key_value_pairs()
/system/core/libstats/socket/tests/
Dstats_event_test.cpp218 uint8_t numPairs = 4; in TEST() local
219 struct key_value_pair pairs[numPairs]; in TEST()
229 stats_event_write_key_value_pairs(event, pairs, numPairs); in TEST()
240 checkScalar(&buffer, numPairs); in TEST()
/system/core/libstats/socket/include/
Dstats_event.h123 uint8_t numPairs);