Home
last modified time | relevance | path

Searched refs:bufMaxSize (Results 1 – 4 of 4) sorted by relevance

/developtools/hdc/src/common/
Dtransfer.cpp80 size_t bufMaxSize = static_cast<size_t>(Base::GetUsbffsBulkSize() - payloadPrefixReserve); in SimpleFileIO() local
81 if (bytes < 0 || static_cast<size_t>(bytes) > bufMaxSize) { in SimpleFileIO()
100 if (bytes > 0 && memcpy_s(ioContext->bufIO, bufMaxSize, sendBuf, bytes) != EOK) { in SimpleFileIO()
Dbase.h27 void SetTcpOptions(uv_tcp_t *tcpHandle, int bufMaxSize = HDC_SOCKETPAIR_SIZE);
Dbase.cpp292 void SetTcpOptions(uv_tcp_t *tcpHandle, int bufMaxSize) in SetTcpOptions() argument
301 uv_recv_buffer_size((uv_handle_t *)tcpHandle, &bufMaxSize); in SetTcpOptions()
302 uv_send_buffer_size((uv_handle_t *)tcpHandle, &bufMaxSize); in SetTcpOptions()
/developtools/hdc/src/host/
Dserver_for_client.cpp65 int bufMaxSize = 0; in AcceptClient() local
66 uv_recv_buffer_size((uv_handle_t *)&hChannel->hWorkTCP, &bufMaxSize); in AcceptClient()