Home
last modified time | relevance | path

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

/system/nvram/core/tests/
Dfake_storage.cpp22 #define countof(a) (sizeof(a) / sizeof((a)[0])) macro
97 for (size_t i = 0; i < countof(g_spaces); ++i) { in FindSlotForIndex()
115 for (size_t i = 0; i < countof(g_spaces); ++i) { in FindOrCreateSlotForIndex()
160 for (size_t i = 0; i < countof(g_spaces); ++i) { in Clear()
/system/nvram/client/
Dnvram_client.c25 #define countof(array) (sizeof(array) / sizeof((array)[0])) macro
53 for (size_t i = 0; i < countof(kStatusStringTable); ++i) { in StatusToString()
78 for (size_t i = 0; i < countof(kControlNameTable); ++i) { in ControlToString()
91 for (size_t i = 0; i < countof(kControlNameTable); ++i) { in StringToControl()
373 for (size_t i = 0; i < countof(kCommandHandlers); ++i) { in main()
381 for (size_t i = 0; i < countof(kCommandHandlers); ++i) { in main()