Searched refs:ub_array (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/compiler/glsl/ |
D | link_uniform_block_active_visitor.cpp | 107 struct uniform_block_array_elements *ub_array = *ub_array_ptr; in process_arrays() local 116 for (i = 0; i < ub_array->num_array_elements; i++) { in process_arrays() 117 if (ub_array->array_elements[i] == idx) in process_arrays() 121 assert(i <= ub_array->num_array_elements); in process_arrays() 123 if (i == ub_array->num_array_elements) { in process_arrays() 124 ub_array->array_elements = reralloc(mem_ctx, in process_arrays() 125 ub_array->array_elements, in process_arrays() 127 ub_array->num_array_elements + 1); in process_arrays() 129 ub_array->array_elements[ub_array->num_array_elements] = idx; in process_arrays() 131 ub_array->num_array_elements++; in process_arrays() [all …]
|
D | link_uniform_blocks.cpp | 235 process_block_array(struct uniform_block_array_elements *ub_array, char **name, in process_block_array() argument 243 for (unsigned j = 0; j < ub_array->num_array_elements; j++) { in process_block_array() 248 ub_array->array_elements[j]); in process_block_array() 250 if (ub_array->array) { in process_block_array() 251 process_block_array(ub_array->array, name, new_length, blocks, in process_block_array() 317 struct uniform_block_array_elements *ub_array) in resize_block_array() argument 321 type->fields.array->is_array() ? ub_array->array : NULL; in resize_block_array() 327 ub_array->num_array_elements); in resize_block_array() 328 ub_array->ir->array->type = new_type; in resize_block_array()
|
/external/u-boot/fs/zfs/ |
D | zfs.c | 399 static uberblock_t *find_bestub(char *ub_array, struct zfs_data *data) in find_bestub() argument 411 ubnext = (uberblock_t *) (i * UBBYTES + ub_array); in find_bestub() 1849 char *ub_array; in zfs_mount() local 1861 ub_array = malloc(VDEV_UBERBLOCK_RING); in zfs_mount() 1862 if (!ub_array) { in zfs_mount() 1869 free(ub_array); in zfs_mount() 1915 0, VDEV_UBERBLOCK_RING, ub_array); in zfs_mount() 1921 ubcur = find_bestub(ub_array, data); in zfs_mount() 1934 free(ub_array); in zfs_mount()
|