Searched refs:layer_list (Results 1 – 2 of 2) sorted by relevance
338 … struct loader_layer_list *layer_list) { in loader_get_next_layer_property_slot() argument339 if (layer_list->capacity == 0) { in loader_get_next_layer_property_slot()340 layer_list->list = in loader_get_next_layer_property_slot()342 if (layer_list->list == NULL) { in loader_get_next_layer_property_slot()347 layer_list->capacity = sizeof(struct loader_layer_properties) * 64; in loader_get_next_layer_property_slot()351 if ((layer_list->count + 1) * sizeof(struct loader_layer_properties) > layer_list->capacity) { in loader_get_next_layer_property_slot()352 …void *new_ptr = loader_instance_heap_realloc(inst, layer_list->list, layer_list->capacity, layer_l… in loader_get_next_layer_property_slot()358 layer_list->list = new_ptr; in loader_get_next_layer_property_slot()359 memset((uint8_t *)layer_list->list + layer_list->capacity, 0, layer_list->capacity); in loader_get_next_layer_property_slot()360 layer_list->capacity *= 2; in loader_get_next_layer_property_slot()[all …]
116 struct loader_layer_list *layer_list);117 …ayer_list_and_properties(const struct loader_instance *inst, struct loader_layer_list *layer_list);