Home | History | Annotate | Download | only in tests

Lines Matching defs:MAP

81 #include <map>
181 std::map<int, Test> TheMapOfTests;
238 for (std::map<int,Test>::iterator it = TheMapOfTests.begin();
244 for (std::map<int,Test>::iterator it = TheMapOfTests.begin();
261 for (std::map<int,Test>::iterator it = TheMapOfTests.begin();
3841 typedef std::map<int, int> map_t;
3843 map_t MAP;
3846 // Here we use swap to pass MAP between threads.
3853 // We swap the new empty map 'tmp' with 'MAP'.
3854 MAP.swap(tmp);
3856 // tmp (which is the old version of MAP) is destroyed here.
3861 MAP[1]++; // Just update MAP under MU.
6249 typedef std::map<int, int> map_t;
6251 map_t map;
6253 // Here we use swap to pass map between threads.
6259 // arc between any prior access to map and here.
6267 ANNOTATE_HAPPENS_AFTER(&map);
6268 // We swap the new empty map 'tmp' with 'map'.
6269 map.swap(tmp);
6270 ANNOTATE_HAPPENS_BEFORE(&map);
6271 // tmp (which is the old version of map) is destroyed here.
6276 ANNOTATE_HAPPENS_AFTER(&map);
6277 map[1]++;
6278 ANNOTATE_HAPPENS_BEFORE(&map);
6436 typedef std::map<int,int> Container;
6450 // arc between any prior access to map and here.