• Home
  • Raw
  • Download

Lines Matching refs:loc1

84   size_t loc1 = heap_location_collector.FindHeapLocationIndex(ref, field, c1, vec, class_def);  in TEST_F()  local
91 ASSERT_TRUE(loc1 != HeapLocationCollector::kHeapLocationNotFound); in TEST_F()
94 ASSERT_TRUE(loc1 != loc2); in TEST_F()
96 ASSERT_TRUE(loc1 != loc3); in TEST_F()
102 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
103 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc3)); in TEST_F()
104 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc3)); in TEST_F()
171 size_t loc1 = heap_location_collector.GetFieldHeapLocation(object, &get_field10->GetFieldInfo()); in TEST_F() local
176 ASSERT_TRUE(loc1 != HeapLocationCollector::kHeapLocationNotFound); in TEST_F()
179 ASSERT_TRUE(loc1 != loc2); in TEST_F()
181 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
245 size_t loc1 = HeapLocationCollector::kHeapLocationNotFound; in TEST_F() local
249 loc1 = heap_location_collector.GetArrayHeapLocation(array, c0); in TEST_F()
251 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
254 loc1 = heap_location_collector.GetArrayHeapLocation(array, add0); in TEST_F()
256 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
259 loc1 = heap_location_collector.GetArrayHeapLocation(array, add1); in TEST_F()
261 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
264 loc1 = heap_location_collector.GetArrayHeapLocation(array, add1); in TEST_F()
266 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
269 loc1 = heap_location_collector.GetArrayHeapLocation(array, add1); in TEST_F()
271 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
409 size_t loc1, loc2; in TEST_F() local
412 loc1 = heap_location_collector.GetArrayHeapLocation(array, c0); in TEST_F()
414 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
417 loc1 = heap_location_collector.GetArrayHeapLocation(array, c0); in TEST_F()
419 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
422 loc1 = heap_location_collector.GetArrayHeapLocation(array, c1); in TEST_F()
424 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
427 loc1 = heap_location_collector.GetArrayHeapLocation(array, c1); in TEST_F()
429 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
432 loc1 = heap_location_collector.GetArrayHeapLocation(array, c0, 4); in TEST_F()
434 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
437 loc1 = heap_location_collector.GetArrayHeapLocation(array, c1, 4); in TEST_F()
439 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
442 loc1 = heap_location_collector.GetArrayHeapLocation(array, c0); in TEST_F()
444 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
447 loc1 = heap_location_collector.GetArrayHeapLocation(array, index); in TEST_F()
449 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
452 loc1 = heap_location_collector.GetArrayHeapLocation(array, index); in TEST_F()
454 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
457 loc1 = heap_location_collector.GetArrayHeapLocation(array, index); in TEST_F()
459 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
463 loc1 = heap_location_collector.GetArrayHeapLocation(array, i_add6, 4); in TEST_F()
465 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
469 loc1 = heap_location_collector.GetArrayHeapLocation(array, i_add6, 2); in TEST_F()
471 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
474 loc1 = heap_location_collector.GetArrayHeapLocation(array, i_add6, 2); in TEST_F()
476 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
562 size_t loc1 = HeapLocationCollector::kHeapLocationNotFound; in TEST_F() local
566 loc1 = heap_location_collector.GetArrayHeapLocation(array, add_0x80000000); in TEST_F()
568 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
571 loc1 = heap_location_collector.GetArrayHeapLocation(array, add_0x10); in TEST_F()
573 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
576 loc1 = heap_location_collector.GetArrayHeapLocation(array, add_0x7FFFFFFF); in TEST_F()
578 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
581 loc1 = heap_location_collector.GetArrayHeapLocation(array, add_0); in TEST_F()
583 ASSERT_TRUE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
586 loc1 = heap_location_collector.GetArrayHeapLocation(array, sub_0x80000000); in TEST_F()
588 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
591 loc1 = heap_location_collector.GetArrayHeapLocation(array, add_0); in TEST_F()
593 ASSERT_FALSE(heap_location_collector.MayAlias(loc1, loc2)); in TEST_F()
650 size_t loc1 = heap_location_collector.GetArrayHeapLocation(array, c1); in TEST_F() local
654 ASSERT_TRUE(loc1 != HeapLocationCollector::kHeapLocationNotFound); in TEST_F()
655 ASSERT_EQ(loc1, loc2); in TEST_F()
656 ASSERT_EQ(loc1, loc3); in TEST_F()
657 ASSERT_EQ(loc1, loc4); in TEST_F()