Lines Matching refs:loc2
87 size_t loc2 = heap_location_collector.FindHeapLocationIndex( in TEST_F() local
96 ASSERT_TRUE(loc2 != HeapLocationCollector::kHeapLocationNotFound); in TEST_F()
98 ASSERT_TRUE(loc1 != loc2); in TEST_F()
99 ASSERT_TRUE(loc2 != loc3); in TEST_F()
106 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
178 size_t loc2 = heap_location_collector.GetFieldHeapLocation(object, &get_field20->GetFieldInfo()); in TEST_F() local
183 ASSERT_TRUE(loc2 != HeapLocationCollector::kHeapLocationNotFound); in TEST_F()
185 ASSERT_TRUE(loc1 != loc2); in TEST_F()
187 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
254 size_t loc2 = HeapLocationCollector::kHeapLocationNotFound; in TEST_F() local
258 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set2); in TEST_F()
259 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
263 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set5); in TEST_F()
264 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
268 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set6); in TEST_F()
269 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
273 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set7); in TEST_F()
274 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
278 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set8); in TEST_F()
279 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
419 size_t loc1, loc2; in TEST_F() local
423 loc2 = heap_location_collector.GetArrayHeapLocation(vstore_0); in TEST_F()
424 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
428 loc2 = heap_location_collector.GetArrayHeapLocation(vstore_1); in TEST_F()
429 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
433 loc2 = heap_location_collector.GetArrayHeapLocation(vstore_8); in TEST_F()
434 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
438 loc2 = heap_location_collector.GetArrayHeapLocation(vstore_8); in TEST_F()
439 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
443 loc2 = heap_location_collector.GetArrayHeapLocation(vstore_0); in TEST_F()
444 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
448 loc2 = heap_location_collector.GetArrayHeapLocation(vstore_8); in TEST_F()
449 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
453 loc2 = heap_location_collector.GetArrayHeapLocation(vstore_1); in TEST_F()
454 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
458 loc2 = heap_location_collector.GetArrayHeapLocation(vstore_i); in TEST_F()
459 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
463 loc2 = heap_location_collector.GetArrayHeapLocation(vstore_0); in TEST_F()
464 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
468 loc2 = heap_location_collector.GetArrayHeapLocation(vstore_i); in TEST_F()
469 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
473 loc2 = heap_location_collector.GetArrayHeapLocation(vstore_i_add8); in TEST_F()
474 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
479 loc2 = heap_location_collector.GetArrayHeapLocation(vstore_i_add8); in TEST_F()
480 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
485 loc2 = heap_location_collector.GetArrayHeapLocation(vstore_i); in TEST_F()
486 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
490 loc2 = heap_location_collector.GetArrayHeapLocation(vstore_i_add8); in TEST_F()
491 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
578 size_t loc2 = HeapLocationCollector::kHeapLocationNotFound; in TEST_F() local
582 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set_2); in TEST_F()
583 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
587 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set_4); in TEST_F()
588 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
592 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set_6); in TEST_F()
593 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
597 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set_8); in TEST_F()
598 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
602 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set_6); in TEST_F()
603 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
607 loc2 = heap_location_collector.GetArrayHeapLocation(arr_set_2); in TEST_F()
608 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
666 size_t loc2 = heap_location_collector.GetArrayHeapLocation(array_get2); in TEST_F() local
670 ASSERT_EQ(loc1, loc2); in TEST_F()