Searched refs:old_p (Results 1 – 2 of 2) sorted by relevance
/system/bt/stack/sdp/ |
D | sdp_discovery.cc | 356 uint8_t* old_p = p; in sdp_copy_raw_data() local 362 if ((int)cpy_len < (p - old_p)) { in sdp_copy_raw_data() 366 cpy_len -= (p - old_p); in sdp_copy_raw_data()
|
/system/chre/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 625 virtual uint8_t *reallocate_downward(uint8_t *old_p, size_t old_size, 630 memcpy_downward(old_p, old_size, new_p, new_size, in_use_back, 632 deallocate(old_p, old_size); 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); 700 inline uint8_t *ReallocateDownward(Allocator *allocator, uint8_t *old_p, 704 return allocator ? allocator->reallocate_downward(old_p, old_size, new_size, 707 old_p, old_size, new_size, in_use_back, in_use_front); 710 return allocator->reallocate_downward(old_p, old_size, new_size,
|