Home
last modified time | relevance | path

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

/external/mesa3d/src/imgui/
Dimgui_internal.h252 struct ImBoolVector struct
255 ImBoolVector() { } in ImBoolVector() function
256 ….resize((sz + 31) >> 5); memset(Storage.Data, 0, (size_t)Storage.Size * sizeof(Storage.Data[0])); } in Resize()
257 void Clear() { Storage.clear(); } in Clear()
258 …t n) const { int off = (n >> 5); int mask = 1 << (n & 31); return (Storage[off] & mask) != 0; } in GetBit()
259 …ff = (n >> 5); int mask = 1 << (n & 31); if (v) Storage[off] |= mask; else Storage[off] &= ~mask; } in SetBit()