Lines Matching refs:loc1
85 size_t loc1 = heap_location_collector.FindHeapLocationIndex( in TEST_F() local
95 ASSERT_TRUE(loc1 != HeapLocationCollector::kHeapLocationNotFound); in TEST_F()
98 ASSERT_TRUE(loc1 != loc2); in TEST_F()
100 ASSERT_TRUE(loc1 != loc3); in TEST_F()
106 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
107 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc3)); in TEST_F()
108 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc3)); in TEST_F()
177 size_t loc1 = heap_location_collector.GetFieldHeapLocation(object, &get_field10->GetFieldInfo()); in TEST_F() local
182 ASSERT_TRUE(loc1 != 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()
253 size_t loc1 = HeapLocationCollector::kHeapLocationNotFound; in TEST_F() local
257 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set1); in TEST_F()
259 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
262 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set3); in TEST_F()
264 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
267 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set4); in TEST_F()
269 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
272 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set4); in TEST_F()
274 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
277 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set4); in TEST_F()
279 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
419 size_t loc1, loc2; in TEST_F() local
422 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_0); in TEST_F()
424 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
427 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_0); in TEST_F()
429 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
432 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_0); in TEST_F()
434 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
437 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_1); in TEST_F()
439 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
442 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_1); in TEST_F()
444 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
447 loc1 = heap_location_collector.GetArrayHeapLocation(vstore_0); in TEST_F()
449 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
452 loc1 = heap_location_collector.GetArrayHeapLocation(vstore_0); in TEST_F()
454 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
457 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_0); in TEST_F()
459 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
462 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_i); in TEST_F()
464 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
467 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_i); in TEST_F()
469 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
472 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_i); in TEST_F()
474 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
478 loc1 = heap_location_collector.GetArrayHeapLocation(vstore_i_add6); in TEST_F()
480 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
484 loc1 = heap_location_collector.GetArrayHeapLocation(vstore_i_add6_vlen2); in TEST_F()
486 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
489 loc1 = heap_location_collector.GetArrayHeapLocation(vstore_i_add6_vlen2); in TEST_F()
491 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
577 size_t loc1 = HeapLocationCollector::kHeapLocationNotFound; in TEST_F() local
581 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_1); in TEST_F()
583 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
586 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_3); in TEST_F()
588 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
591 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_5); in TEST_F()
593 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
596 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_7); in TEST_F()
598 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
601 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_2); in TEST_F()
603 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
606 loc1 = heap_location_collector.GetArrayHeapLocation(arr_set_7); in TEST_F()
608 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
665 size_t loc1 = heap_location_collector.GetArrayHeapLocation(array_get1); in TEST_F() local
669 ASSERT_TRUE(loc1 != HeapLocationCollector::kHeapLocationNotFound); in TEST_F()
670 ASSERT_EQ(loc1, loc2); in TEST_F()
671 ASSERT_EQ(loc1, loc3); in TEST_F()
672 ASSERT_EQ(loc1, loc4); in TEST_F()