Lines Matching refs:n_obj
62 long i, k, mid, n_mid, n_obj, meth;
125 n_obj = 0; /* test ordering */
127 { n_obj += 1;
132 if(n_obj != N_OBJ)
133 terror("%s: Bad object count %d != %d", n_obj, N_OBJ);
138 n_obj = 0; /* test atmost/next */
141 n_obj += 1;
144 if(n_obj != R_OBJ)
145 terror("%s: dtatmost/dtnext count n_obj=%d != %d", name, n_obj, R_OBJ);
147 n_obj = 0; /* test atleast/prev */
150 n_obj += 1;
153 if(n_obj != R_OBJ)
154 terror("%s: dtatleast/dtprev count n_obj=%d != %d", name, n_obj, R_OBJ);
156 n_obj = 0; /* test linear order */
158 { n_obj += 1;
163 if(n_obj != N_OBJ)
164 terror("%s: Bad object count %d != %d", n_obj, N_OBJ);
167 n_mid = n_obj = 0; /* walk forward and count objects */
169 { n_obj += 1;
173 if(n_obj != N_OBJ)
174 terror("%s: Walk forward n_obj=%d != %d", name, n_obj, N_OBJ);
178 n_mid = n_obj = 0; /* walk backward and count objects */
180 { n_obj += 1;
184 if(n_obj != N_OBJ)
185 terror("%s: Walk backward n_obj=%d != %d", name, n_obj, N_OBJ);
189 n_mid = n_obj = 0; /* walk flattened list and count objects */
191 { n_obj += 1;
195 if(n_obj != N_OBJ)
196 terror("%s: Walk flattened list n_obj=%d != %d", name, n_obj, N_OBJ);
219 n_obj = 0; /* count the left over */
221 n_obj += 1;
222 if((n_obj+n_mid) != N_OBJ)
223 terror("%s: wrong count (n_obj=%d + n_del=%d) != %d", name, n_obj, n_mid, N_OBJ);
228 if(stat.size != n_obj)
229 terror("%s: stat.size=%d != %d (actual size)", name, stat.size, n_obj);