Searched refs:array_length (Results 1 – 5 of 5) sorted by relevance
/system/keymaster/ |
D | google_keymaster_messages_test.cpp | 89 rsp.algorithms_length = array_length(algorithms); in TEST() 92 EXPECT_EQ(array_length(algorithms), deserialized->algorithms_length); in TEST() 103 EXPECT_EQ(array_length(digests), deserialized->results_length); in TEST() 117 req.key_description.Reinitialize(params, array_length(params)); in TEST() 126 rsp.key_blob.key_material_size = array_length(TEST_DATA); in TEST() 127 rsp.enforced.Reinitialize(params, array_length(params)); in TEST() 139 rsp.key_blob.key_material_size = array_length(TEST_DATA); in TEST() 140 rsp.enforced.Reinitialize(params, array_length(params)); in TEST() 151 req.additional_params.Reinitialize(params, array_length(params)); in TEST() 163 msg.enforced.Reinitialize(params, array_length(params)); in TEST() [all …]
|
D | authorization_set_test.cpp | 45 AuthorizationSet set(params, array_length(params)); in TEST() 60 AuthorizationSet set(params, array_length(params)); in TEST() 76 AuthorizationSet set(params, array_length(params)); in TEST() 108 AuthorizationSet set(params, array_length(params)); in TEST() 134 AuthorizationSet set(params, array_length(params)); in TEST() 159 AuthorizationSet set(params, array_length(params)); in TEST() 189 AuthorizationSet set(params, array_length(params)); in TEST() 217 AuthorizationSet deserialized(buf, array_length(buf)); in TEST() 221 EXPECT_FALSE(deserialized.Deserialize(&p, p + array_length(buf))); in TEST() 236 AuthorizationSet set(params, array_length(params)); in TEST() [all …]
|
D | google_keymaster_test.cpp | 199 req.key_description.Reinitialize(params, array_length(params)); in TEST_F() 250 req.key_description.Reinitialize(params, array_length(params)); in TEST_F() 309 req.key_description.Reinitialize(params, array_length(params)); in TEST_F() 360 gen_req.key_description.Reinitialize(params, array_length(params)); in TEST_F() 396 generate_request.key_description.Reinitialize(params, array_length(params)); in GenerateKey() 878 import_request.key_description.Reinitialize(params, array_length(params)); in TEST_F() 949 import_request.key_description.Reinitialize(params, array_length(params)); in TEST_F() 1019 import_request.key_description.Reinitialize(params, array_length(params)); in TEST_F()
|
D | google_keymaster.cpp | 248 for (index = 0; index < array_length(supported_export_formats); index++) { in is_supported_export_format() 259 for (index = 0; index < array_length(supported_import_formats); index++) { in is_supported_import_format()
|
/system/keymaster/include/keymaster/ |
D | google_keymaster_utils.h | 59 template <typename T, size_t N> inline size_t array_length(const T (&)[N]) { in array_length() function
|