Lines Matching refs:buffer
436 *pRemoteRW_Size = sValueBuffer.buffer[0];
447 *pRemoteMIU = PHFRINFC_LLCP_MIU_DEFAULT + (((sValueBuffer.buffer[0] << 8) | sValueBuffer.buffer[1]) & PHFRINFC_LLCP_TLV_MIUX_MASK);
514 && !memcmp(sServiceName.buffer,psTransport->pSocketTable[index].sServiceName.buffer,sServiceName.length))
814 /* Test if the DM buffer is correct */
855 dmOpCode = psData->buffer[0];
917 phFriNfc_Llcp_Buffer2Sequence( psData->buffer, offset, &sLlcpLocalSequence);
920 /* Update the buffer pointer */
921 psData->buffer = psData->buffer + PHFRINFC_LLCP_PACKET_SEQUENCE_SIZE;
1018 /* Test if the Linear Buffer length is null */
1027 /* Save I_FRAME into the Receive Buffer */
1028 memcpy(psLocalLlcpSocket->sSocketRecvBuffer->buffer,psData->buffer,psData->length);
1064 memcpy(psLocalLlcpSocket->sSocketRwBufferTable[(psLocalLlcpSocket->indexRwWrite%psLocalLlcpSocket->localRW)].buffer,psData->buffer,psData->length);
1083 /* Copy the buffer into the RW buffer */
1084 memcpy(psLocalLlcpSocket->sSocketRwBufferTable[(psLocalLlcpSocket->indexRwWrite%psLocalLlcpSocket->localRW)].buffer,psData->buffer,psData->length);
1089 /* Test the length of the available place in the linear buffer */
1094 /* Store Data into the linear buffer */
1096 psLocalLlcpSocket->sSocketRwBufferTable[(psLocalLlcpSocket->indexRwWrite%psLocalLlcpSocket->localRW)].buffer,
1178 phFriNfc_Llcp_Buffer2Sequence( psData->buffer, offset, &sLlcpLocalSequence);
1296 phFriNfc_Llcp_Buffer2Sequence( psData->buffer, offset, &sLlcpLocalSequence);
1639 * \param[in] psWorkingBuffer A working buffer to be used by the library.
1648 * \retval NFCSTATUS_BUFFER_TOO_SMALL The working buffer is too small for the MIU and RW
1672 /* Set the pointer and the length for the Receive Window Buffer */
1675 pLlcpSocket->sSocketRwBufferTable[i].buffer = psWorkingBuffer->buffer + (i*pLlcpSocket->sSocketOption.miu);
1679 /* Set the pointer and the length for the Send Buffer */
1680 pLlcpSocket->sSocketSendBuffer.buffer = psWorkingBuffer->buffer + pLlcpSocket->bufferRwMaxLength;
1683 /* Set the pointer and the length for the Linear Buffer */
1684 pLlcpSocket->sSocketLinearBuffer.buffer = psWorkingBuffer->buffer + pLlcpSocket->bufferRwMaxLength + pLlcpSocket->bufferSendMaxLength;
1691 pLlcpSocket->sSocketLinearBuffer.buffer,
1755 /* Update Send Buffer length value */
1770 /* Update Send Buffer length value */
1936 psUri->buffer);
1949 /* Update Send Buffer length value */
1956 /* Update Send Buffer length value */
2117 if (pLlcpSocket->sServiceName.buffer != NULL) {
2118 phOsalNfc_FreeMemory(pLlcpSocket->sServiceName.buffer);
2120 pLlcpSocket->sServiceName.buffer = NULL;
2181 if (pLlcpSocket->sServiceName.buffer != NULL) {
2182 phOsalNfc_FreeMemory(pLlcpSocket->sServiceName.buffer);
2184 pLlcpSocket->sServiceName.buffer = NULL;
2201 * \param[in] psBuffer The buffer containing the data to send.
2234 /* Store send buffer pointer */
2242 /* Store send buffer pointer */
2285 * size of the reception buffer, but can also return less bytes if less bytes
2292 * \param[in] psBuffer The buffer receiving the data.
2327 /* Test If data is present in the RW Buffer */
2332 /* Save I_FRAME into the Receive Buffer */
2333 memcpy(psBuffer->buffer,pLlcpSocket->sSocketRwBufferTable[(pLlcpSocket->indexRwRead%pLlcpSocket->localRW)].buffer,pLlcpSocket->sSocketRwBufferTable[(pLlcpSocket->indexRwRead%pLlcpSocket->localRW)].length);
2341 /* Update RW Buffer length */
2368 /* Store the buffer pointer */
2381 /* Test if data is present in the linear buffer*/
2391 /* Read data from the linear buffer */
2393 psBuffer->buffer,
2398 /* Test If data is present in the RW Buffer */
2401 /* Get the data length available in the linear buffer */
2404 /* Exit if not enough memory available in linear buffer */
2410 /* Write data into the linear buffer */
2412 pLlcpSocket->sSocketRwBufferTable[(pLlcpSocket->indexRwRead%pLlcpSocket->localRW)].buffer,
2420 /* Update RW Buffer length */
2430 /* Get the data length available in the linear buffer */
2462 /* Store the buffer pointer */