Searched defs:new_capacity (Results 1 - 10 of 10) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dstring_buffer.c34 uint32_t new_capacity = str->capacity * 2; local in function:ensure_capacity
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dstring_buffer.c34 uint32_t new_capacity = str->capacity * 2; local in function:ensure_capacity
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/
H A Dtu_cs.c123 uint32_t new_capacity = MAX2(4, 2 * cs->bo_capacity); local in function:tu_cs_add_bo
169 uint32_t new_capacity = MAX2(4, cs->entry_capacity * 2); local in function:tu_cs_reserve_entry
H A Dtu_cmd_buffer.c74 uint32_t new_capacity = MAX2(2 * list->count, 16); local in function:tu_bo_list_add_info
/xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/
H A Dtu_cs.c100 uint32_t new_capacity = MAX2(4, 2 * cs->bo_capacity); local in function:tu_cs_add_bo
148 uint32_t new_capacity = MAX2(4, cs->entry_capacity * 2); local in function:tu_cs_reserve_entry
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/winsys/amdgpu/
H A Dradv_amdgpu_cs.c1382 unsigned new_capacity = MAX2(count, ws->syncobj_capacity * 2); local in function:radv_amdgpu_cache_alloc_syncobjs
1415 unsigned new_capacity = MAX2(ws->syncobj_count + cache_count, ws->syncobj_capacity * 2); local in function:radv_amdgpu_cache_free_syncobjs
/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui.cpp2137 int new_capacity = Buf.Capacity * 2; local in function:ImGuiTextBuffer::append
2172 int new_capacity = Buf.Capacity * 2; local in function:ImGuiTextBuffer::appendfv
H A Dimgui.h1210 inline int _grow_capacity(int sz) const { int new_capacity = Capacity ? (Capacity + Capacity/2) : 8; return new_capacity > sz ? new_capacity : sz; } local in function:ImVector::_grow_capacity
1213 inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)ImGui::MemAlloc((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); ImGui::MemFree(Data); } Data = new_data; Capacity = new_capacity; } argument
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui.cpp2137 int new_capacity = Buf.Capacity * 2; local in function:ImGuiTextBuffer::append
2172 int new_capacity = Buf.Capacity * 2; local in function:ImGuiTextBuffer::appendfv
H A Dimgui.h1210 inline int _grow_capacity(int sz) const { int new_capacity = Capacity ? (Capacity + Capacity/2) : 8; return new_capacity > sz ? new_capacity : sz; } local in function:ImVector::_grow_capacity
1213 inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)ImGui::MemAlloc((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); ImGui::MemFree(Data); } Data = new_data; Capacity = new_capacity; } argument

Completed in 60 milliseconds