Lines Matching refs:zone
146 Zone zone;
148 UniqueSet<String>* set = new(&zone) UniqueSet<String>();
151 set->Add(A, &zone);
153 set->Add(A, &zone);
155 set->Add(B, &zone);
157 set->Add(C, &zone);
159 set->Add(C, &zone);
161 set->Add(B, &zone);
163 set->Add(A, &zone);
173 Zone zone;
175 UniqueSet<String>* set = new(&zone) UniqueSet<String>();
177 set->Add(A, &zone);
178 set->Add(B, &zone);
179 set->Add(C, &zone);
213 Zone zone;
215 UniqueSet<String>* set = new(&zone) UniqueSet<String>();
218 set->Add(A, &zone);
223 set->Add(A, &zone);
228 set->Add(B, &zone);
232 set->Add(C, &zone);
244 Zone zone;
246 UniqueSet<String>* set = new(&zone) UniqueSet<String>();
249 set->Add(A, &zone);
252 set->Add(A, &zone);
255 set->Add(B, &zone);
259 set->Add(C, &zone);
281 Zone zone;
283 UniqueSet<String>* set1 = new(&zone) UniqueSet<String>();
284 UniqueSet<String>* set2 = new(&zone) UniqueSet<String>();
288 set1->Add(A, &zone);
292 set2->Add(A, &zone);
296 set1->Add(B, &zone);
300 set2->Add(C, &zone);
304 set1->Add(C, &zone);
308 set2->Add(B, &zone);
319 Zone zone;
321 UniqueSet<String>* set1 = new(&zone) UniqueSet<String>();
322 UniqueSet<String>* set2 = new(&zone) UniqueSet<String>();
327 set1->Add(A, &zone);
332 set2->Add(B, &zone);
337 set2->Add(A, &zone);
342 set1->Add(B, &zone);
354 Zone zone;
356 UniqueSet<String>* set1 = new(&zone) UniqueSet<String>();
357 UniqueSet<String>* set2 = new(&zone) UniqueSet<String>();
359 set1->Add(A, &zone);
360 set1->Add(C, &zone);
361 set1->Add(E, &zone);
363 set2->Add(A, &zone);
364 set2->Add(B, &zone);
365 set2->Add(C, &zone);
366 set2->Add(D, &zone);
367 set2->Add(E, &zone);
368 set2->Add(F, &zone);
373 set1->Add(G, &zone);
381 static UniqueSet<T>* MakeSet(Zone* zone, int which, Unique<T>* elements) {
382 UniqueSet<T>* set = new(zone) UniqueSet<T>();
384 if ((which & (1 << i)) != 0) set->Add(elements[i], zone);
397 Zone zone;
406 UniqueSet<String>* set1 = MakeSet(&zone, i, elements);
407 UniqueSet<String>* set2 = MakeSet(&zone, j, elements);
420 Zone zone;
422 UniqueSet<String>* set1 = new(&zone) UniqueSet<String>();
423 UniqueSet<String>* set2 = new(&zone) UniqueSet<String>();
429 set1->Add(A, &zone);
431 result = set1->Intersect(set2, &zone);
436 set2->Add(A, &zone);
438 result = set1->Intersect(set2, &zone);
444 set2->Add(B, &zone);
445 set2->Add(C, &zone);
447 result = set1->Intersect(set2, &zone);
461 Zone zone;
470 UniqueSet<String>* set1 = MakeSet(&zone, i, elements);
471 UniqueSet<String>* set2 = MakeSet(&zone, j, elements);
473 UniqueSet<String>* result = set1->Intersect(set2, &zone);
474 UniqueSet<String>* expected = MakeSet(&zone, i & j, elements);
488 Zone zone;
490 UniqueSet<String>* set1 = new(&zone) UniqueSet<String>();
491 UniqueSet<String>* set2 = new(&zone) UniqueSet<String>();
497 set1->Add(A, &zone);
499 result = set1->Union(set2, &zone);
504 set2->Add(A, &zone);
506 result = set1->Union(set2, &zone);
512 set2->Add(B, &zone);
513 set2->Add(C, &zone);
515 result = set1->Union(set2, &zone);
529 Zone zone;
538 UniqueSet<String>* set1 = MakeSet(&zone, i, elements);
539 UniqueSet<String>* set2 = MakeSet(&zone, j, elements);
541 UniqueSet<String>* result = set1->Union(set2, &zone);
542 UniqueSet<String>* expected = MakeSet(&zone, i | j, elements);