Lines Matching refs:xFirstLength
1481 size_t xFirstLength; in prvWriteBytesToBuffer() local
1488 xFirstLength = configMIN( pxStreamBuffer->xLength - xHead, xCount ); in prvWriteBytesToBuffer()
1491 configASSERT( ( xHead + xFirstLength ) <= pxStreamBuffer->xLength ); in prvWriteBytesToBuffer()
1492 …( ( void * ) ( &( pxStreamBuffer->pucBuffer[ xHead ] ) ), ( const void * ) pucData, xFirstLength ); 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()
1527 size_t xFirstLength; in prvReadBytesFromBuffer() local
1534 xFirstLength = configMIN( pxStreamBuffer->xLength - xTail, xCount ); in prvReadBytesFromBuffer()
1538 configASSERT( xFirstLength <= xCount ); in prvReadBytesFromBuffer()
1539 configASSERT( ( xTail + xFirstLength ) <= pxStreamBuffer->xLength ); in prvReadBytesFromBuffer()
1540 …mcpy( ( void * ) pucData, ( const void * ) &( pxStreamBuffer->pucBuffer[ xTail ] ), xFirstLength ); in prvReadBytesFromBuffer()
1544 if( xCount > xFirstLength ) in prvReadBytesFromBuffer()
1547 …id ) memcpy( ( void * ) &( pucData[ xFirstLength ] ), ( void * ) ( pxStreamBuffer->pucBuffer ), xC… in prvReadBytesFromBuffer()