Searched refs:TryMerge (Results 1 – 3 of 3) sorted by relevance
/art/dex2oat/linker/ |
D | index_bss_mapping_encoder_test.cc | 30 ASSERT_FALSE(encoder.TryMerge(5u, raw_pointer_size + 1)); // Wrong bss_offset difference. in TEST() 31 ASSERT_FALSE(encoder.TryMerge(18u, raw_pointer_size)); // Index out of range. in TEST() 32 ASSERT_TRUE(encoder.TryMerge(5u, raw_pointer_size)); in TEST() 38 ASSERT_FALSE(encoder.TryMerge(17u, 2 * raw_pointer_size + 1)); // Wrong bss_offset difference. in TEST() 39 ASSERT_FALSE(encoder.TryMerge(18u, 2 * raw_pointer_size)); // Index out of range. in TEST() 40 ASSERT_TRUE(encoder.TryMerge(17u, 2 * raw_pointer_size)); in TEST() 47 ASSERT_FALSE(encoder.TryMerge(18u, 3 * raw_pointer_size)); // Index out of range. in TEST() 56 ASSERT_FALSE(encoder.TryMerge(5u, raw_pointer_size + 1)); // Wrong bss_offset difference. in TEST() 57 ASSERT_FALSE(encoder.TryMerge(26u, raw_pointer_size)); // Index out of range. in TEST() 58 ASSERT_TRUE(encoder.TryMerge(5u, raw_pointer_size)); in TEST() [all …]
|
D | index_bss_mapping_encoder.h | 42 bool TryMerge(uint32_t index, uint32_t bss_offset) { in TryMerge() function
|
D | oat_writer.cc | 2094 if (first_index || !encoder.TryMerge(index, bss_offset)) { in CalculateNumberOfIndexBssMappingEntries() 2956 } else if (!encoder.TryMerge(index, bss_offset)) { in WriteIndexBssMapping()
|