Searched refs:irt (Results 1 – 1 of 1) sorted by relevance
34 IndirectRefTable irt; in basicTest() local45 if (!irt.init(kTableMax/2, kTableMax, kIndirectKindGlobal)) { in basicTest()50 if (irt.remove(cookie, iref0)) { in basicTest()59 iref0 = irt.add(cookie, obj0); in basicTest()60 iref1 = irt.add(cookie, obj1); in basicTest()61 iref2 = irt.add(cookie, obj2); in basicTest()67 if (irt.get(iref0) != obj0 || in basicTest()68 irt.get(iref1) != obj1 || in basicTest()69 irt.get(iref2) != obj2) { in basicTest()71 irt.get(iref0), irt.get(iref1), irt.get(iref2), in basicTest()[all …]