Searched refs:host_lpc_buf (Results 1 – 2 of 2) sorted by relevance
35 LpcRegion host_lpc_buf; in sendContents() local36 host_lpc_buf.address = address; in sendContents()37 host_lpc_buf.length = length; in sendContents()39 std::vector<std::uint8_t> payload(sizeof(host_lpc_buf)); in sendContents()48 std::memcpy(payload.data(), &host_lpc_buf, sizeof(host_lpc_buf)); in sendContents()89 host_lpc_buf.length = bytes.length; in sendContents()90 host_lpc_buf.address += bytes.offset; in sendContents()109 auto readBuffer = std::make_unique<std::uint8_t[]>(host_lpc_buf.length); in sendContents()129 sys->read(inputFd, readBuffer.get(), host_lpc_buf.length); in sendContents()132 if (!io->write(host_lpc_buf.address, bytesRead, in sendContents()
42 LpcRegion host_lpc_buf; in TEST() local43 host_lpc_buf.address = address; in TEST()44 host_lpc_buf.length = length; in TEST()46 std::vector<std::uint8_t> bytes(sizeof(host_lpc_buf)); in TEST()47 std::memcpy(bytes.data(), &host_lpc_buf, sizeof(host_lpc_buf)); in TEST()