Home
last modified time | relevance | path

Searched defs:ImVector (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/imgui/
Dimgui.h1175 struct ImVector struct
1187 inline ImVector() { Size = Capacity = 0; Data = NULL; } in ImVector() argument
1188 …inline ImVector(const ImVector<T>& src) { Size = Capacity = 0; Data = NULL; operat… in ImVector() argument
1190 inline ~ImVector() { if (Data) ImGui::MemFree(Data); } in ~ImVector() argument
1208 …inline void swap(ImVector<T>& rhs) { int rhs_size = rhs.Size; rhs.Size = Size… in swap() argument
1215 …o call push_back/push_front/insert with a reference pointing inside the ImVector data itself! e.g.… argument
1216 …(Size == Capacity) reserve(_grow_capacity(Size + 1)); memcpy(&Data[Size], &v, sizeof(v)); Size++; } in push_back()
1217 inline void pop_back() { IM_ASSERT(Size > 0); Size--; } in pop_back()
1218 … push_front(const T& v) { if (Size == 0) push_back(v); else insert(Data, v); } in push_front()
1219 …const ptrdiff_t off = it - Data; memmove(Data + off, Data + off + 1, ((size_t)Size - (size_t)off -… in erase()
[all …]