Lines Matching refs:enforce
259 import std.exception : enforce;
829 enforce(!empty); in removeBack()
883 enforce(r._outer._data is _data && r._a <= length);
900 enforce(r._outer._data is _data && r._a <= length);
925 enforce(_data);
927 enforce(offset <= length);
942 enforce(r._outer._data is _data); in insertAfter()
945 enforce(offset <= length); in insertAfter()
956 enforce(r._outer._data is _data);
978 enforce(r._outer._data is _data);
1007 enforce(r._outer._data is _data); in linearRemove()
1008 enforce(_data.refCountedStore.isInitialized); in linearRemove()
1009 enforce(r._a <= r._b && r._b <= length); in linearRemove()
1523 import std.exception : enforce;
1568 enforce(!empty, "Attempting to access the front of an empty Array"); in front()
1574 enforce(!empty, "Attempting to set the front of an empty Array"); in front()
1580 enforce(!empty, "Attempting to move the front of an empty Array"); in moveFront()
1586 enforce(!empty, "Attempting to popFront an empty Array"); in popFront()
1592 enforce(!empty, "Attempting to access the back of an empty Array"); in back()
1598 enforce(!empty, "Attempting to set the back of an empty Array"); in back()
1604 enforce(!empty, "Attempting to move the back of an empty Array"); in moveBack()
1610 enforce(!empty, "Attempting to popBack an empty Array"); in popBack()
1732 enforce(a <= b && b <= length); in opSlice()
1747 enforce(!empty); in front()
1754 enforce(!empty); in front()
1770 enforce(!empty); in back()
1777 enforce(!empty); in back()
1800 enforce(div < data.length); in opIndex()
1809 enforce(div < data.length); in opIndexAssign()
1819 enforce(div < data.length); in opIndexOpAssign()
2005 enforce(_store._length); in removeBack()