Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util: s/0/NULL/ for pointer | Eric Engestrom | 2018-10-30 | 1 | -1/+1 |
| | | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Emil Velikov <[email protected]> | ||||
* | util: Add foreach_reverse for dynarray | Caio Marcelo de Oliveira Filho | 2018-10-15 | 1 | -0/+6 |
| | | | | | | | | | Useful to walk the array removing elements by swapping them with the last element. v2: Change iteration to make sure we never underflow. (Jason) Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | util: Add macro to get number of elements in dynarray | Caio Marcelo de Oliveira Filho | 2018-09-21 | 1 | -0/+1 |
| | | | | Reviewed-by: Christian Gmeiner <[email protected]> | ||||
* | util/dynarray: add a clone function | Caio Marcelo de Oliveira Filho | 2018-08-22 | 1 | -0/+9 |
| | | | | | | | v2: Fix mem_ctx parameter type. (Thomas) Reviewed-by: Thomas Helland <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> | ||||
* | util: include string.h in u_dynarray.h | Brian Paul | 2018-01-17 | 1 | -0/+1 |
| | | | | | | To get memset() prototype. Reviewed-by: Nicolai Hähnle <[email protected]> | ||||
* | mesa/util: add util_dynarray_clear() helper | Samuel Pitoiset | 2017-06-18 | 1 | -0/+6 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | mesa/util: add new util_dynarray_delete_unordered helper | Samuel Pitoiset | 2017-06-14 | 1 | -0/+14 |
| | | | | | | | | This helper function will be used for managing dynamic arrays of resident texture/image handles. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> | ||||
* | u_dynarray: fix coverity warning about ignoring return value from reralloc | Dave Airlie | 2017-06-13 | 1 | -1/+1 |
| | | | | | | | | >>> Ignoring storage allocated by "reralloc_size(buf->mem_ctx, buf->data, buf->size)" leaks it. Reviewed-by: Thomas Helland<[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> Signed-off-by: Dave Airlie <[email protected]> | ||||
* | util: Add extern c to u_dynarray.h | Thomas Helland | 2017-06-07 | 1 | -0/+8 |
| | | | | | Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> | ||||
* | util: Port nir_array functionality to u_dynarray | Thomas Helland | 2017-06-07 | 1 | -10/+37 |
| | | | | | Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> | ||||
* | util: Remove unused includes and convert to lower-case memory ops | Thomas Helland | 2017-06-07 | 1 | -15/+12 |
| | | | | | | | | Also, prepare for the next commit by correcting some coding style changes. This should be all non-functional changes. Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> | ||||
* | util: Move u_dynarray to src/util | Thomas Helland | 2017-06-07 | 1 | -0/+114 |
This will be used as the basis for unification Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> |