Home
last modified time | relevance | path

Searched refs:indexBuf (Results 1 - 2 of 2) sorted by relevance

/developtools/hdc/src/common/
H A Dchannel.cpp114 int indexBuf = 0; in ReadStream() local
140 size = ntohl(*reinterpret_cast<uint32_t *>(hChannel->ioBuf + indexBuf)); // big endian in ReadStream()
150 DWORD_SERIALIZE_SIZE + indexBuf, size); in ReadStream()
161 indexBuf += DWORD_SERIALIZE_SIZE + size; in ReadStream()
163 if (indexBuf > 0 && hChannel->availTailIndex > 0) { in ReadStream()
164 if (memmove_s(hChannel->ioBuf, hChannel->bufSize, hChannel->ioBuf + indexBuf, hChannel->availTailIndex)) { in ReadStream()
H A Dsession.cpp950 int indexBuf = 0; in FetchIOBuf() local
963 childRet = ptrConnect->OnRead(hSession, ioBuf + indexBuf, hSession->availTailIndex); in FetchIOBuf()
966 indexBuf += childRet; in FetchIOBuf()
973 indexBuf = ERR_BUF_SIZE; in FetchIOBuf()
978 if (indexBuf > 0 && hSession->availTailIndex > 0) { in FetchIOBuf()
979 if (memmove_s(hSession->ioBuf, hSession->bufSize, hSession->ioBuf + indexBuf, hSession->availTailIndex) in FetchIOBuf()
986 return indexBuf; in FetchIOBuf()

Completed in 4 milliseconds