Lines Matching refs:objs
46 T* objs[kMaxObjects]; in run_stack() local
50 objs[j] = pool ? (T*) pool->allocate(sizeof(T)) : new T; in run_stack()
55 pool->release(objs[j]); in run_stack()
57 delete objs[j]; in run_stack()
70 T* objs[kMaxObjects]; in run_queue() local
74 objs[j] = pool ? (T*) pool->allocate(sizeof(T)) : new T; in run_queue()
79 pool->release(objs[j]); in run_queue()
81 delete objs[j]; in run_queue()
94 T* objs[kMaxObjects]; in run_pushpop() local
99 objs[j] = (T*) pool->allocate(sizeof(T)); in run_pushpop()
100 pool->release(objs[j]); in run_pushpop()
102 objs[j] = new T; in run_pushpop()
103 delete objs[j]; in run_pushpop()
115 T* objs[kMaxObjects]; in run_random() local
117 objs[i] = nullptr; in run_random()
123 pool->release(objs[j]); in run_random()
125 delete objs[j]; in run_random()
127 objs[j] = nullptr; in run_random()
136 if (objs[k]) { in run_random()
140 objs[k] = pool ? (T*) pool->allocate(sizeof(T)) : new T; in run_random()
146 if (objs[j]) { in run_random()