Home
last modified time | relevance | path

Searched refs:TryMerge (Results 1 – 3 of 3) sorted by relevance

/art/dex2oat/linker/
Dindex_bss_mapping_encoder_test.cc30 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 …]
Dindex_bss_mapping_encoder.h42 bool TryMerge(uint32_t index, uint32_t bss_offset) { in TryMerge() function
Doat_writer.cc2094 if (first_index || !encoder.TryMerge(index, bss_offset)) { in CalculateNumberOfIndexBssMappingEntries()
2956 } else if (!encoder.TryMerge(index, bss_offset)) { in WriteIndexBssMapping()