Searched refs:list_size (Results 1 – 4 of 4) sorted by relevance
/system/nvram/client/ |
D | nvram_client.c | 153 uint32_t list_size = 0; in HandleGetSpaceList() local 154 nvram_result_t result = device->get_space_list(device, 0, NULL, &list_size); in HandleGetSpaceList() 159 uint32_t* space_index_list = calloc(list_size, sizeof(uint32_t)); in HandleGetSpaceList() 165 device->get_space_list(device, list_size, space_index_list, &list_size); in HandleGetSpaceList() 171 for (uint32_t i = 0; i < list_size; ++i) { in HandleGetSpaceList() 197 uint32_t list_size = 0; in HandleGetSpaceControls() local 199 device->get_space_controls(device, index, 0, NULL, &list_size); in HandleGetSpaceControls() 204 uint32_t* controls_list = calloc(list_size, sizeof(nvram_control_t)); in HandleGetSpaceControls() 209 result = device->get_space_controls(device, index, list_size, controls_list, in HandleGetSpaceControls() 210 &list_size); in HandleGetSpaceControls() [all …]
|
/system/nvram/hal/ |
D | nvram_device_adapter.cpp | 104 uint32_t* list_size) { in device_get_space_list() argument 111 *list_size = std::min(get_info_response.space_list.size(), in device_get_space_list() 113 for (size_t i = 0; i < *list_size; ++i) { in device_get_space_list() 117 *list_size = get_info_response.space_list.size(); in device_get_space_list() 139 uint32_t* list_size) { in device_get_space_controls() argument 147 *list_size = std::min(get_space_info_response.controls.size(), in device_get_space_controls() 149 for (size_t i = 0; i < *list_size; ++i) { in device_get_space_controls() 153 *list_size = get_space_info_response.controls.size(); in device_get_space_controls() 177 uint32_t list_size, in device_create_space() argument 183 if (!create_space_request.controls.Resize(list_size)) { in device_create_space() [all …]
|
/system/nvram/hal/tests/ |
D | scoped_nvram_device.cc | 109 uint32_t list_size = 0; in GetSpaceList() local 111 space_index_list->data(), &list_size); in GetSpaceList() 115 space_index_list->resize(list_size); in GetSpaceList() 134 uint32_t list_size = 0; in GetSpaceControls() local 136 device_, index, kMaxControls, control_list->data(), &list_size); in GetSpaceControls() 140 control_list->resize(list_size); in GetSpaceControls()
|
/system/teeui/libteeui_jni/ |
D | libteeui_jni.cpp | 200 size_t list_size = lang_list.size; in Java_com_android_framebufferizer_NativeRenderer_getLanguageIdList() local 202 language_ids = (jobjectArray)env->NewObjectArray(list_size, env->FindClass("java/lang/String"), in Java_com_android_framebufferizer_NativeRenderer_getLanguageIdList() 205 for (size_t i = 0; i < list_size; i++) in Java_com_android_framebufferizer_NativeRenderer_getLanguageIdList() 221 size_t list_size = NUM_LAYOUTS; in Java_com_android_framebufferizer_NativeRenderer_getAvailableLayouts() local 224 list_size, env->FindClass("java/lang/String"), env->NewStringUTF("")); in Java_com_android_framebufferizer_NativeRenderer_getAvailableLayouts() 226 for (size_t i = 0; i < list_size; i++) in Java_com_android_framebufferizer_NativeRenderer_getAvailableLayouts()
|