Home | History | Annotate | Download | only in tests

Lines Matching refs:Container

6438 typedef __gnu_cxx::hash_map<int, int> Container;
6440 typedef std::map<int,int> Container;
6443 static Container container;
6445 // Here we use swap to pass a Container between threads.
6461 Container tmp;
6465 container.swap(tmp);
6466 // we are unpublishing the old container.
6467 ANNOTATE_UNPUBLISH_MEMORY_RANGE(&container, sizeof(container));
6468 // we are publishing the new container.
6469 ANNOTATE_PUBLISH_MEMORY_RANGE(&container, sizeof(container));
6473 // tmp (which is the old version of container) is destroyed here.
6478 container[1]++;
6479 int *v = &container[2];
6490 printf("test140: negative (swap) %p\n", &container);