Searched refs:CheckOffset (Results 1 – 4 of 4) sorted by relevance
/aosp12/art/compiler/linker/ |
H A D | output_stream_test.cc | 31 void CheckOffset(off_t expected) { in CheckOffset() function in art::linker::OutputStreamTest 42 CheckOffset(3); in GenerateTestOutput() 44 CheckOffset(2); in GenerateTestOutput() 47 CheckOffset(4); in GenerateTestOutput() 49 CheckOffset(6); in GenerateTestOutput() 51 CheckOffset(10); in GenerateTestOutput()
|
/aosp12/system/core/fastboot/ |
H A D | vendor_boot_img_utils.cpp | 92 [[nodiscard]] Result<void> CheckOffset(uint32_t old_offset, uint32_t new_offset) { in CheckOffset() function in __anonf42ad7660110::DataUpdater 241 if (auto res = updater.CheckOffset(o + p, o + new_p); !res.ok()) return res.error(); in replace_default_vendor_ramdisk() 255 if (auto res = updater.CheckOffset(o + p + q + r, o + new_p + q + new_r); !res.ok()) in replace_default_vendor_ramdisk() 359 if (auto res = updater.CheckOffset(o + p, o + new_p); !res.ok()) return res.error(); in replace_vendor_ramdisk_fragment() 385 if (auto res = updater.CheckOffset(o + p + q + r, o + new_p + q + r); !res.ok()) in replace_vendor_ramdisk_fragment()
|
/aosp12/bionic/tests/ |
H A D | struct_layout_test.cpp | 26 template <typename CheckSize, typename CheckOffset> 27 void tests(CheckSize check_size, CheckOffset check_offset) { in tests()
|
/aosp12/art/runtime/ |
H A D | class_linker_test.cc | 463 struct CheckOffset { struct 466 CheckOffset(size_t c, const char* j) : cpp_offset(c), java_name(j) {} in CheckOffset() argument 475 std::vector<CheckOffset> offsets; 524 CheckOffset& offset = offsets[i]; in Check() 538 CheckOffset& offset = offsets[i]; in Check() 546 CheckOffset& offset = offsets[i]; in Check() 560 offsets.push_back(CheckOffset(offset, name)); in addOffset()
|