Lines Matching defs:dest
334 void CloneBuffer(uint8_t* dest, const uint8_t* src, size_t totalSize)
336 if (dest == nullptr || src == nullptr) {
359 uint8_t* current_dest = dest;
385 void WriteToFile(std::string prefixPath, std::string pid, void* dest, size_t size, int32_t format, int32_t width,
388 if (dest == nullptr) {
389 BLOGE("dest is nulltr");
405 free(dest);
410 rawDataFile.write(static_cast<const char *>(dest), size);
415 free(dest);
440 uint8_t* dest = static_cast<uint8_t*>(malloc(size));
441 if (dest != nullptr) {
443 CloneBuffer(dest, src, size);
452 std::thread file_writer(WriteToFile, prefixPath, std::to_string(pid), dest, size, buffer->GetFormat(),
456 BLOGE("dest is a nullptr.");