Lines Matching defs:nn
70 int nn, nnMax = CPU_SETSIZE;
81 for (nn = 0; nn < nnMax; nn++)
82 F(CPU_ISSET(nn, set));
85 for (nn = 0; nn < nnMax; nn++) {
87 CPU_SET(nn, set);
90 T(CPU_ISSET(mm, set) == (mm == nn));
92 CPU_CLR(nn, set);
97 for (nn = 0; nn < nnMax; nn++) {
99 CPU_SET(nn, set);
100 TEST_INT_EQ(CPU_COUNT(set), nn+1);
102 T(CPU_ISSET(mm, set) == (mm <= nn));
107 for (nn = 0; nn < nnMax; nn++) {
109 CPU_CLR(nn, set);
112 T(CPU_ISSET(mm, set) == (mm != nn));
114 CPU_SET(nn, set);
118 for (nn = nnMax-1; nn >= 0; nn--) {
120 CPU_CLR(nn, set);
121 TEST_INT_EQ(CPU_COUNT(set), nn);
123 T(CPU_ISSET(mm, set) == (mm < nn));
132 int nn, nnMax;
143 for (nn = 0; nn < nnMax; nn++)
144 F(CPU_ISSET_S(nn, setsize, set));
147 for (nn = 0; nn < nnMax; nn++) {
149 CPU_SET_S(nn, setsize, set);
152 T(CPU_ISSET_S(mm, setsize, set) == (mm == nn));
154 CPU_CLR_S(nn, setsize, set);
159 for (nn = 0; nn < nnMax; nn++) {
161 CPU_SET_S(nn, setsize, set);
162 TEST_INT_EQ(CPU_COUNT_S(setsize, set), nn+1);
164 T(CPU_ISSET_S(mm, setsize, set) == (mm <= nn));
169 for (nn = 0; nn < nnMax; nn++) {
171 CPU_CLR_S(nn, setsize, set);
174 T(CPU_ISSET_S(mm, setsize, set) == (mm != nn));
176 CPU_SET_S(nn, setsize, set);
180 for (nn = nnMax-1; nn >= 0; nn--) {
182 CPU_CLR_S(nn, setsize, set);
183 TEST_INT_EQ(CPU_COUNT_S(setsize, set), nn);
185 T(CPU_ISSET_S(mm, setsize, set) == (mm < nn));