Home
last modified time | relevance | path

Searched refs:data_len (Results 1 – 5 of 5) sorted by relevance

/system/keymaster/
Dserializable.cpp22 uint8_t* append_to_buf(uint8_t* buf, const uint8_t* end, const void* data, size_t data_len) { in append_to_buf() argument
23 if (buf + data_len <= end) in append_to_buf()
24 memcpy(buf, data, data_len); in append_to_buf()
25 return buf + data_len; in append_to_buf()
78 bool Buffer::Reinitialize(const void* data, size_t data_len) { in Reinitialize() argument
80 buffer_.reset(new uint8_t[data_len]); in Reinitialize()
83 buffer_size_ = data_len; in Reinitialize()
84 memcpy(buffer_.get(), data, data_len); in Reinitialize()
/system/core/libdiskconfig/
Dwrite_lst.c30 alloc_wl(uint32_t data_len) in alloc_wl() argument
34 if (!(item = malloc(sizeof(struct write_list) + data_len))) { in alloc_wl()
39 item->len = data_len; in alloc_wl()
/system/keymaster/include/keymaster/
Dserializable.h70 uint8_t* append_to_buf(uint8_t* buf, const uint8_t* end, const void* data, size_t data_len);
98 size_t data_len) { in append_size_and_data_to_buf() argument
99 buf = append_uint32_to_buf(buf, end, data_len); in append_size_and_data_to_buf()
100 return append_to_buf(buf, end, data, data_len); in append_size_and_data_to_buf()
/system/core/include/diskconfig/
Ddiskconfig.h107 struct write_list *alloc_wl(uint32_t data_len);
/system/core/sdcard/
Dsdcard.c1478 const struct fuse_in_header *hdr, const void *data, size_t data_len) in handle_fuse_request() argument
1626 size_t data_len = len - sizeof(struct fuse_in_header); in handle_fuse_requests() local
1628 int res = handle_fuse_request(fuse, handler, hdr, data, data_len); in handle_fuse_requests()