Searched refs:canAdd (Results 1 – 6 of 6) sorted by relevance
114 var canAdd = false;119 canAdd = addPath && 0 <= addPathNewPos && addPathNewPos < newLen;124 if (!canAdd && !canRemove) {135 if (!canRemove || canAdd && removePath.oldPos + 1 < addPath.oldPos) {
246 bool canAdd(const ActionT &A) { in canAdd() function
90 var canAdd = false;95 canAdd = addPath && 0 <= addPathNewPos && addPathNewPos < newLen;100 if (!canAdd && !canRemove) {111 if (!canRemove || canAdd && removePath.oldPos + 1 < addPath.oldPos) {
96 var canAdd = false;101 canAdd = addPath && 0 <= addPathNewPos && addPathNewPos < newLen;106 if (!canAdd && !canRemove) {117 if (!canRemove || canAdd && removePath.oldPos + 1 < addPath.oldPos) {
61 return A.canAdd(Action); in canReserveResources()