Searched refs:ImIsPowerOfTwo (Results 1 – 3 of 3) sorted by relevance
1150 …IM_ASSERT(ImIsPowerOfTwo((int)(flags & (ImGuiSeparatorFlags_Horizontal | ImGuiSeparatorFlags_Verti… in Separator()1345 IM_ASSERT(ImIsPowerOfTwo(flags & ImGuiComboFlags_HeightMask_)); // Only one in BeginCombo()4124 …IM_ASSERT(ImIsPowerOfTwo((int)(flags & ImGuiColorEditFlags__PickerMask))); // Check that only 1 is… in ColorPicker4()4494 …IM_ASSERT(ImIsPowerOfTwo((int)(flags & ImGuiColorEditFlags__InputsMask))); // Check only 1 optio… in SetColorEditOptions()4495 …IM_ASSERT(ImIsPowerOfTwo((int)(flags & ImGuiColorEditFlags__DataTypeMask))); // Check only 1 optio… in SetColorEditOptions()4496 …IM_ASSERT(ImIsPowerOfTwo((int)(flags & ImGuiColorEditFlags__PickerMask))); // Check only 1 optio… in SetColorEditOptions()
157 static inline bool ImIsPowerOfTwo(int v) { return v != 0 && (v & (v - 1)) == 0; } in ImIsPowerOfTwo() function
6054 …IM_ASSERT(cond == 0 || ImIsPowerOfTwo(cond)); // Make sure the user doesn't attempt to combine mul… in SetWindowPos()6089 …IM_ASSERT(cond == 0 || ImIsPowerOfTwo(cond)); // Make sure the user doesn't attempt to combine mul… in SetWindowSize()6181 …IM_ASSERT(cond == 0 || ImIsPowerOfTwo(cond)); // Make sure the user doesn't attempt to combine mul… in SetNextWindowPos()6190 …IM_ASSERT(cond == 0 || ImIsPowerOfTwo(cond)); // Make sure the user doesn't attempt to combine mul… in SetNextWindowSize()6214 …IM_ASSERT(cond == 0 || ImIsPowerOfTwo(cond)); // Make sure the user doesn't attempt to combine mul… in SetNextWindowCollapsed()