Home | History | Annotate | Download | only in keymaster

Lines Matching refs:buf_ptr

28 bool copy_from_buf(const uint8_t** buf_ptr, const uint8_t* end, void* dest, size_t size) {
29 if (end < *buf_ptr + size)
31 memcpy(dest, *buf_ptr, size);
32 *buf_ptr += size;
36 bool copy_size_and_data_from_buf(const uint8_t** buf_ptr, const uint8_t* end, size_t* size,
38 if (!copy_uint32_from_buf(buf_ptr, end, size) || *buf_ptr + *size > end) {
48 return copy_from_buf(buf_ptr, end, dest->get(), *size);
122 bool Buffer::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) {
124 if (!copy_size_and_data_from_buf(buf_ptr, end, &buffer_size_, &buffer_)) {