Searched refs:new_p (Results 1 – 2 of 2) sorted by relevance
/system/core/fastboot/ |
D | vendor_boot_img_utils.cpp | 237 const uint32_t new_p = round_up(new_hdr->vendor_ramdisk_size, new_hdr->page_size); in replace_default_vendor_ramdisk() local 238 if (auto res = updater.Skip(p - hdr->vendor_ramdisk_size, new_p - new_hdr->vendor_ramdisk_size); in replace_default_vendor_ramdisk() 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() 355 const uint32_t new_p = round_up(new_hdr->vendor_ramdisk_size, new_hdr->page_size); in replace_vendor_ramdisk_fragment() local 356 if (auto res = updater.Skip(p - hdr->vendor_ramdisk_size, new_p - new_hdr->vendor_ramdisk_size); in replace_vendor_ramdisk_fragment() 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()
|
/system/chre/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 629 uint8_t *new_p = allocate(new_size); 630 memcpy_downward(old_p, old_size, new_p, new_size, in_use_back, 633 return new_p; 641 void memcpy_downward(uint8_t *old_p, size_t old_size, uint8_t *new_p, 644 memcpy(new_p + new_size - in_use_back, old_p + old_size - in_use_back, 646 memcpy(new_p, old_p, in_use_front);
|