Lines Matching refs:pData
177 static int AppendToComBuf (struct ComBuf *pBuf, const unsigned char *pData,
197 static int MessageIsComplete (unsigned char *pData, size_t size);
202 static struct DeviceRecord *ProcessFindResponse (unsigned char *pData, size_t size);
211 static int ProcessUdpResponse (unsigned char *pData, size_t size,
1045 \note If pData is NULL then buffer size will be increased but no copying will take place
1049 AppendToComBuf (struct ComBuf *pBuf, const unsigned char *pData,
1071 if (pData)
1072 memcpy (pBuf->m_pBuf + pBuf->m_used, pData, datSize);
1164 MessageIsComplete (unsigned char *pData, size_t size)
1173 dataSize = (((unsigned short) pData[6]) << 8) | pData[7];
1190 ProcessFindResponse (unsigned char *pData, size_t size)
1201 DBG (10, "ProcessFindResponse: processing %lu bytes, pData=%p\n",
1202 (unsigned long) size, (void *) pData);
1205 if (!MessageIsComplete (pData, size))
1212 messageSize = (((unsigned short) (pData[6])) << 8) | pData[7];
1215 pItem = pData + 8;
1344 ProcessUdpResponse (unsigned char *pData, size_t size,
1355 HexDump (15, pData, size);
1357 DBG (10, "ProcessUdpResponse: processing %lu bytes, pData=%p\n",
1358 (unsigned long) size, (void *) pData);
1361 if (!MessageIsComplete (pData, size))
1371 messageSize = (((unsigned short) (pData[6])) << 8) | pData[7];
1374 pItem = pData + 8;
1482 unsigned char *pData = pTcpBuf->m_pBuf;
1488 DBG (10, "ProcessTcpResponse: processing %lu bytes, pData=%p\n",
1489 (unsigned long) pTcpBuf->m_used, (void *) pData);
1490 HexDump (15, pData, pTcpBuf->m_used);
1493 if (!MessageIsComplete (pData, pTcpBuf->m_used))
1507 messageSize = (((unsigned short) (pData[6])) << 8) | pData[7];
1510 pItem = pData + 8;