Home
last modified time | relevance | path

Searched refs:array_size (Results 1 – 4 of 4) sorted by relevance

/system/extras/libpagemap/
Dpm_memusage.c36 unsigned int array_size; member
67 p_swap->array_size = swap_size / getpagesize(); in pm_memusage_pswap_create()
68 p_swap->offset_array = calloc(p_swap->array_size, sizeof(pm_pswap_refcount_t)); in pm_memusage_pswap_create()
92 if (offset >= mu->p_swap->array_size) { in pm_memusage_pswap_add_offset()
/system/connectivity/shill/test-rpc-proxy/
Dproxy_util.cc62 int array_size = xml_rpc_value_in->size(); in GetVectorFromXmlRpcArray() local
63 for (int i = 0; i < array_size; ++i) { in GetVectorFromXmlRpcArray()
71 int array_size = xml_rpc_value_in->size(); in GetBrilloAnyVectorFromXmlRpcArray() local
72 if (!array_size) { in GetBrilloAnyVectorFromXmlRpcArray()
77 for (int i = 0; i < array_size; ++i) { in GetBrilloAnyVectorFromXmlRpcArray()
172 int array_size = xml_rpc_member_array.size(); in GetVectorFromXmlRpcValueStructMember() local
173 for (int array_pos = 0; array_pos < array_size; ++array_pos) { in GetVectorFromXmlRpcValueStructMember()
/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h53 template <typename T, size_t N> inline size_t array_size(const T (&a)[N]) { in array_size() function
/system/keymaster/
Dandroid_keymaster_messages_test.cpp115 EXPECT_EQ(0, memcmp(deserialized->results, digests, array_size(digests))); in TEST()