Lines Matching refs:xCount
272 size_t xCount,
314 size_t xCount,
1281 size_t xCount, xNextMessageLength; in prvReadMessageFromBuffer() local
1316 xCount = configMIN( xNextMessageLength, xBytesAvailable ); in prvReadMessageFromBuffer()
1318 if( xCount != ( size_t ) 0 ) in prvReadMessageFromBuffer()
1324 …uffer->xTail = prvReadBytesFromBuffer( pxStreamBuffer, ( uint8_t * ) pvRxData, xCount, xNextTail ); in prvReadMessageFromBuffer()
1327 return xCount; in prvReadMessageFromBuffer()
1478 size_t xCount, in prvWriteBytesToBuffer() argument
1483 configASSERT( xCount > ( size_t ) 0 ); in prvWriteBytesToBuffer()
1488 xFirstLength = configMIN( pxStreamBuffer->xLength - xHead, xCount ); in prvWriteBytesToBuffer()
1496 if( xCount > xFirstLength ) in prvWriteBytesToBuffer()
1499 configASSERT( ( xCount - xFirstLength ) <= pxStreamBuffer->xLength ); in prvWriteBytesToBuffer()
1500 … pxStreamBuffer->pucBuffer, ( const void * ) &( pucData[ xFirstLength ] ), xCount - xFirstLength ); in prvWriteBytesToBuffer()
1507 xHead += xCount; in prvWriteBytesToBuffer()
1524 size_t xCount, in prvReadBytesFromBuffer() argument
1529 configASSERT( xCount != ( size_t ) 0 ); in prvReadBytesFromBuffer()
1534 xFirstLength = configMIN( pxStreamBuffer->xLength - xTail, xCount ); in prvReadBytesFromBuffer()
1538 configASSERT( xFirstLength <= xCount ); in prvReadBytesFromBuffer()
1544 if( xCount > xFirstLength ) in prvReadBytesFromBuffer()
1547 … ) &( pucData[ xFirstLength ] ), ( void * ) ( pxStreamBuffer->pucBuffer ), xCount - xFirstLength ); in prvReadBytesFromBuffer()
1555 xTail += xCount; in prvReadBytesFromBuffer()
1569 size_t xCount; in prvBytesInBuffer() local
1571 xCount = pxStreamBuffer->xLength + pxStreamBuffer->xHead; in prvBytesInBuffer()
1572 xCount -= pxStreamBuffer->xTail; in prvBytesInBuffer()
1574 if( xCount >= pxStreamBuffer->xLength ) in prvBytesInBuffer()
1576 xCount -= pxStreamBuffer->xLength; in prvBytesInBuffer()
1583 return xCount; in prvBytesInBuffer()