Lines Matching refs:nBytes
53 unsigned char PacketHandler::CalcCheckByte( comm_UINT32 nBytes ) in CalcCheckByte() argument
56 nRes += HIBYTE( HIWORD( nBytes ) ) ^ 0xf0; in CalcCheckByte()
57 nRes += LOBYTE( HIWORD( nBytes ) ) ^ 0x0f; in CalcCheckByte()
58 nRes += HIBYTE( LOWORD( nBytes ) ) ^ 0xf0; in CalcCheckByte()
59 nRes += LOBYTE( LOWORD( nBytes ) ) ^ 0x0f; in CalcCheckByte()
88 comm_UINT32 nBytes = 0; in ReceiveData() local
92 READ_SOCKET( &nBytes, sizeof(nBytes) ) in ReceiveData()
96 …if ( 0xFFFFFFFF == nBytes ) // Expliziter Request f�r dieses Datenpaket auf MultiChannel umzuscha… in ReceiveData()
98 READ_SOCKET( &nBytes, sizeof(nBytes) ) in ReceiveData()
104 nBytes = NETDWORD( nBytes ); in ReceiveData()
115 bWasError |= nLenCheck != CalcCheckByte( nBytes ); in ReceiveData()
122 bWasError |= !(nBytes >= nReadSoFar + nHeaderBytes); in ReceiveData()
158 nBytes -= nReadSoFar; in ReceiveData()
175 pData = ::operator new(nBytes); in ReceiveData()
176 READ_SOCKET( pData, nBytes ) in ReceiveData()
182 nLen = nBytes; in ReceiveData()