Searched refs:MallocedBuffer (Results 1 – 10 of 10) sorted by relevance
556 struct MallocedBuffer { struct573 MallocedBuffer() : data(nullptr), size(0) {} in MallocedBuffer() function574 explicit MallocedBuffer(size_t size) : data(Malloc<T>(size)), size(size) {} in MallocedBuffer() function575 MallocedBuffer(T* data, size_t size) : data(data), size(size) {} in MallocedBuffer() argument576 MallocedBuffer(MallocedBuffer&& other) : data(other.data), size(other.size) { in MallocedBuffer() function579 MallocedBuffer& operator=(MallocedBuffer&& other) {580 this->~MallocedBuffer();581 return *new(this) MallocedBuffer(std::move(other));583 ~MallocedBuffer() { in ~MallocedBuffer() argument586 MallocedBuffer(const MallocedBuffer&) = delete;[all …]
9 using node::MallocedBuffer;88 MallocedBuffer<char> buffer(0); in ReportPipeEndpoints()95 buffer = MallocedBuffer<char>(buffer_size); in ReportPipeEndpoints()109 buffer = MallocedBuffer<char>(buffer_size); in ReportPipeEndpoints()123 MallocedBuffer<char> buffer(0); in ReportPath()140 buffer = MallocedBuffer<char>(size + 1); in ReportPath()
47 explicit Message(MallocedBuffer<char>&& payload = MallocedBuffer<char>());99 MallocedBuffer<char> main_message_buf_;
396 MallocedBuffer<char> buffer(kBufferGrowStep); in GetLoadedLibraries()401 buffer = MallocedBuffer<char>(buffer.size + kBufferGrowStep); in GetLoadedLibraries()444 MallocedBuffer<HMODULE> modules(size_1); in GetLoadedLibraries()
214 const MallocedBuffer<T>& value,
222 MallocedBuffer<unsigned char> buf;322 data->buf = MallocedBuffer<unsigned char>(buf_copy, answer_len); in Callback()
231 const MallocedBuffer<T>& value, in TrackField()
72 Message::Message(MallocedBuffer<char>&& buffer) in Message()511 MallocedBuffer<char>(reinterpret_cast<char*>(data.first), data.second); in Serialize()
2794 * [[`33351a112d`](https://github.com/nodejs/node/commit/33351a112d)] - **src**: use MallocedBuffer …2802 …s://github.com/nodejs/node/commit/ecacf33356)] - **src**: fix bug in MallocedBuffer constructor (T…
1484 * [[`3d76ab9287`](https://github.com/nodejs/node/commit/3d76ab9287)] - **src**: use MallocedBuffer …1489 …s://github.com/nodejs/node/commit/a663d5674d)] - **src**: fix bug in MallocedBuffer constructor (T…3387 * [[`418739c021`](https://github.com/nodejs/node/commit/418739c021)] - **src**: fix MallocedBuffer …