Lines Matching refs:xCount
262 size_t xCount,
304 size_t xCount,
1108 size_t xCount, xNextMessageLength; in prvReadMessageFromBuffer() local
1143 xCount = configMIN( xNextMessageLength, xBytesAvailable ); in prvReadMessageFromBuffer()
1145 if( xCount != ( size_t ) 0 ) in prvReadMessageFromBuffer()
1148 …>xTail = prvReadBytesFromBuffer( pxStreamBuffer, ( uint8_t * ) pvRxData, xCount, xNextTail ); /*li… in prvReadMessageFromBuffer()
1151 return xCount; in prvReadMessageFromBuffer()
1278 size_t xCount, in prvWriteBytesToBuffer() argument
1283 configASSERT( xCount > ( size_t ) 0 ); in prvWriteBytesToBuffer()
1288 xFirstLength = configMIN( pxStreamBuffer->xLength - xHead, xCount ); in prvWriteBytesToBuffer()
1296 if( xCount > xFirstLength ) in prvWriteBytesToBuffer()
1299 configASSERT( ( xCount - xFirstLength ) <= pxStreamBuffer->xLength ); in prvWriteBytesToBuffer()
1300 …xStreamBuffer->pucBuffer, ( const void * ) &( pucData[ xFirstLength ] ), xCount - xFirstLength ); … in prvWriteBytesToBuffer()
1307 xHead += xCount; in prvWriteBytesToBuffer()
1324 size_t xCount, in prvReadBytesFromBuffer() argument
1329 configASSERT( xCount != ( size_t ) 0 ); in prvReadBytesFromBuffer()
1334 xFirstLength = configMIN( pxStreamBuffer->xLength - xTail, xCount ); in prvReadBytesFromBuffer()
1338 configASSERT( xFirstLength <= xCount ); in prvReadBytesFromBuffer()
1344 if( xCount > xFirstLength ) in prvReadBytesFromBuffer()
1347 … &( pucData[ xFirstLength ] ), ( void * ) ( pxStreamBuffer->pucBuffer ), xCount - xFirstLength ); … in prvReadBytesFromBuffer()
1355 xTail += xCount; in prvReadBytesFromBuffer()
1369 size_t xCount; in prvBytesInBuffer() local
1371 xCount = pxStreamBuffer->xLength + pxStreamBuffer->xHead; in prvBytesInBuffer()
1372 xCount -= pxStreamBuffer->xTail; in prvBytesInBuffer()
1374 if( xCount >= pxStreamBuffer->xLength ) in prvBytesInBuffer()
1376 xCount -= pxStreamBuffer->xLength; in prvBytesInBuffer()
1383 return xCount; in prvBytesInBuffer()