Home | History | Annotate | Download | only in tests

Lines Matching defs:Container

6434 typedef __gnu_cxx::hash_map<int, int> Container;
6436 typedef std::map<int,int> Container;
6439 static Container container;
6441 // Here we use swap to pass a Container between threads.
6457 Container tmp;
6461 container.swap(tmp);
6462 // we are unpublishing the old container.
6463 ANNOTATE_UNPUBLISH_MEMORY_RANGE(&container, sizeof(container));
6464 // we are publishing the new container.
6465 ANNOTATE_PUBLISH_MEMORY_RANGE(&container, sizeof(container));
6469 // tmp (which is the old version of container) is destroyed here.
6474 container[1]++;
6475 int *v = &container[2];
6486 printf("test140: negative (swap) %p\n", &container);