Home
last modified time | relevance | path

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

/frameworks/base/libs/rs/
DrsThreadIO.cpp60 CoreCmdHeader hdr; in coreHeader() local
61 hdr.bytes = dataLen; in coreHeader()
62 hdr.cmdID = cmdID; in coreHeader()
63 mToCoreSocket.writeAsync(&hdr, sizeof(hdr)); in coreHeader()
209 ClientCmdHeader hdr; in sendToClient() local
210 hdr.bytes = dataLen; in sendToClient()
211 hdr.cmdID = cmdID; in sendToClient()
212 hdr.userID = usrID; in sendToClient()
214 mToClientSocket.writeAsync(&hdr, sizeof(hdr)); in sendToClient()
221 if (!mToClient.makeSpaceNonBlocking(dataLen + sizeof(hdr))) { in sendToClient()
/frameworks/base/media/libstagefright/
DMPEG4Extractor.cpp602 uint32_t hdr[2]; in parseChunk() local
603 if (mDataSource->readAt(*offset, hdr, 8) < 8) { in parseChunk()
606 uint64_t chunk_size = ntohl(hdr[0]); in parseChunk()
607 uint32_t chunk_type = ntohl(hdr[1]); in parseChunk()