Home
last modified time | relevance | path

Searched refs:target_buffer (Results 1 – 2 of 2) sorted by relevance

/system/gatekeeper/
Dgatekeeper_messages.cpp70 uint8_t *target_buffer = new(std::nothrow) uint8_t[length]; in read_from_buffer() local
71 if (target_buffer == nullptr) return ERROR_MEMORY_ALLOCATION_FAILED; in read_from_buffer()
73 memcpy(target_buffer, *buffer, length); in read_from_buffer()
75 *target = { target_buffer, length }; in read_from_buffer()
/system/bt/doc/
Dstyle_guide.md190 size_t open_and_read_file(const char *filename, void *target_buffer, size_t max_bytes) {
193 CHECK(target_buffer != NULL);