Home | History | Annotate | Download | only in test

Lines Matching refs:remove

81     if (irt.remove(cookie, iref0)) {
87 * Add three, check, remove in the order in which they were added.
109 if (!irt.remove(cookie, iref0) ||
110 !irt.remove(cookie, iref1) ||
111 !irt.remove(cookie, iref2))
130 * Add three, remove in the opposite order.
141 if (!irt.remove(cookie, iref2) ||
142 !irt.remove(cookie, iref1) ||
143 !irt.remove(cookie, iref0))
156 * Add three, remove middle / middle / bottom / top. (Second attempt
157 * to remove middle should fail.)
173 if (!irt.remove(cookie, iref1) || irt.remove(cookie, iref1)) {
184 if (!irt.remove(cookie, iref2) || !irt.remove(cookie, iref0)) {
196 * Add four entries. Remove #1, add new entry, verify that table size
197 * is still 4 (i.e. holes are getting filled). Remove #1 and #3, verify
209 if (!irt.remove(cookie, iref1)) {
210 ALOGE("remove 1 of 4 failed");
218 if (!irt.remove(cookie, iref1) || !irt.remove(cookie, iref3)) {
219 ALOGE("remove 1/3 failed");
226 if (!irt.remove(cookie, iref2) || !irt.remove(cookie, iref0)) {
227 ALOGE("remove 2/0 failed");
231 ALOGE("not empty after split remove");
236 * Add an entry, remove it, add a new entry, and try to use the original
242 irt.remove(cookie, iref0);
244 if (irt.remove(cookie, iref0)) {
248 if (!irt.remove(cookie, iref1)) {
263 irt.remove(cookie, iref0);
267 if (irt.remove(cookie, iref0)) {
272 if (!irt.remove(cookie, iref1)) {
289 irt.remove(cookie, iref0);
317 if (!irt.remove(cookie, manyRefs[i])) {
318 ALOGE("multi-remove failed at %d", i);
329 if (!irt.remove(cookie, manyRefs[kTableMax-1])) {
330 ALOGE("multi-remove final failed");
370 irt.remove(cookie, manyRefs[i]);
373 DBUG_MSG("Add/remove %d objects FIFO order, %d iterations, %0.3fms / iteration",
382 irt.remove(cookie, manyRefs[i]);
385 DBUG_MSG("Add/remove %d objects LIFO order, %d iterations, %0.3fms / iteration",
400 irt.remove(cookie, manyRefs[i]);