Home
last modified time | relevance | path

Searched defs:MallocedBuffer (Results 1 – 1 of 1) sorted by relevance

/third_party/node/src/
Dutil.h556 struct MallocedBuffer { struct
573 MallocedBuffer() : data(nullptr), size(0) {} in MallocedBuffer() argument
574 explicit MallocedBuffer(size_t size) : data(Malloc<T>(size)), size(size) {} in MallocedBuffer() function
575 MallocedBuffer(T* data, size_t size) : data(data), size(size) {} in MallocedBuffer() argument
576 MallocedBuffer(MallocedBuffer&& other) : data(other.data), size(other.size) { in MallocedBuffer() function
583 ~MallocedBuffer() { in ~MallocedBuffer() argument
587 MallocedBuffer& operator=(const MallocedBuffer&) = delete; argument