Home
last modified time | relevance | path

Searched refs:countof (Results 1 – 3 of 3) 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()
/system/core/trusty/utils/rpmb_dev/
Drpmb_dev.c292 #define countof(arr) (sizeof(arr) / sizeof(arr[0])) macro
300 uint16_t cmd_index = req_resp < countof(rpmb_dev_cmd_table) ? req_resp : 0; in rpmb_dev_process_cmd()