Home
last modified time | relevance | path

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

/drivers/peripheral/usb/gadget/function/mtp/include/
Dusbfn_mtp_impl.h241 uint32_t BufCopyToVector(void *buf, uint32_t bufSize, std::vector<uint8_t> &vectorData);
243 void *buf, uint32_t bufSize, const std::vector<uint8_t> &vectorData, uint32_t vectorOffset);
/drivers/peripheral/usb/gadget/function/mtp/src/
Dusbfn_mtp_impl.cpp993 …nt32_t UsbfnMtpImpl::BufCopyToVector(void *buf, uint32_t bufSize, std::vector<uint8_t> &vectorData) in BufCopyToVector() argument
996 vectorData.assign(addr, addr + bufSize); in BufCopyToVector()
1001 void *buf, uint32_t bufSize, const std::vector<uint8_t> &vectorData, uint32_t vectorOffset) in BufCopyFromVector() argument
1003 …uint32_t count = (bufSize + vectorOffset) < vectorData.size() ? bufSize : vectorData.size() - vect… in BufCopyFromVector()
1006 addr[i] = vectorData.at(vectorOffset + i); in BufCopyFromVector()