Searched defs:ImVector (Results 1 – 3 of 3) sorted by relevance
/third_party/mesa3d/src/imgui/ |
D | imgui.h | 1175 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() function 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 …]
|
/third_party/flutter/skia/third_party/externals/imgui/ |
D | imgui.h | 1167 struct ImVector struct 1179 inline ImVector() { Size = Capacity = 0; Data = NULL; } in ImVector() argument 1180 …inline ImVector(const ImVector<T>& src) { Size = Capacity = 0; Data = NULL; operat… in ImVector() argument 1182 inline ~ImVector() { if (Data) ImGui::MemFree(Data); } in ~ImVector() argument 1200 …inline void swap(ImVector<T>& rhs) { int rhs_size = rhs.Size; rhs.Size = Size… in swap() argument 1207 …o call push_back/push_front/insert with a reference pointing inside the ImVector data itself! e.g.… argument 1208 …(Size == Capacity) reserve(_grow_capacity(Size + 1)); memcpy(&Data[Size], &v, sizeof(v)); Size++; } in push_back() 1209 inline void pop_back() { IM_ASSERT(Size > 0); Size--; } in pop_back() 1210 … push_front(const T& v) { if (Size == 0) push_back(v); else insert(Data, v); } in push_front() 1211 …const ptrdiff_t off = it - Data; memmove(Data + off, Data + off + 1, ((size_t)Size - (size_t)off -… in erase() [all …]
|
/third_party/skia/third_party/externals/imgui/ |
D | imgui.h | 1695 struct ImVector struct 1707 inline ImVector() { Size = Capacity = 0; Data = NULL; } in ImVector() argument 1708 …inline ImVector(const ImVector<T>& src) { Size = Capacity = 0; Data = NULL; operat… in ImVector() argument 1710 …inline ~ImVector() { if (Data) IM_FREE(Data); } // Important:… in ~ImVector() argument 1732 …inline void swap(ImVector<T>& rhs) { int rhs_size = rhs.Size; rhs.Size = Size… in swap() argument 1740 …o call push_back/push_front/insert with a reference pointing inside the ImVector data itself! e.g.… argument 1741 …(Size == Capacity) reserve(_grow_capacity(Size + 1)); memcpy(&Data[Size], &v, sizeof(v)); Size++; } in push_back() 1742 inline void pop_back() { IM_ASSERT(Size > 0); Size--; } in pop_back() 1743 … push_front(const T& v) { if (Size == 0) push_back(v); else insert(Data, v); } in push_front() 1744 …; const ptrdiff_t off = it - Data; memmove(Data + off, Data + off + 1, ((size_t)Size - (size_t)off… in erase() [all …]
|