Searched refs:countof (Results 1 – 5 of 5) sorted by relevance
/system/core/trusty/confirmationui/fuzz/ |
D | msg_fuzzer.cpp | 33 #define countof(arr) (sizeof(arr) / sizeof(arr[0])) macro 100 int rc = tipc_send(chan, iov, countof(iov), &shm, 1); in Init() 134 int rc = tipc_send(chan, iov, countof(iov), NULL, 0); in Msg() 139 rc = readv(chan, iov, countof(iov)); in Msg()
|
/system/nvram/core/tests/ |
D | fake_storage.cpp | 22 #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/core/trusty/confirmationui/ |
D | TrustyApp.cpp | 25 #define countof(arr) (sizeof(arr) / sizeof(arr[0])) macro 65 int rc = tipc_send(handle_, iov, countof(iov), NULL, 0); in TrustyRpc() 71 rc = readv(handle_, iov, countof(iov)); in TrustyRpc()
|
/system/nvram/client/ |
D | nvram_client.c | 25 #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/ |
D | rpmb_dev.c | 293 #define countof(arr) (sizeof(arr) / sizeof(arr[0])) macro 301 uint16_t cmd_index = req_resp < countof(rpmb_dev_cmd_table) ? req_resp : 0; in rpmb_dev_process_cmd()
|