In Match Play the hole is over when one of two things happen:
One player (A) completes the hole in less strokes than the other player. If losing player (B) still has not completed the hole (and has no chance of completing the hole in the same amount of stokes) the player picks up the ball and precedes to the next hole.
Both players finish the hole in the same amount of stokes. This is called Halving the hole.
In senario #1 the winning player is awarded the hole. If this was hole 1 of the match the score would read:
Player A: 1 Up & 17
Player B: 1 Down & 17
The 17 indicates that there are 17 holes remaining.
In senario #2 (again after hole #1) the score would read
All Square & 17
Mathmatically a match play must go at least 10 holes (barring a forfit or disqualification etc). If player A wins every hole when they finish hole 10 he would be 10 up & 8. It would be impossible for player B to catch him. The match would be over and player A advances.
The examples you give are the final scores. In each example the winning players were 2 up & 1 hole to play, 3 up & 2 to play, and in the last example the players were All Square after 18 and needed to play 2 more holes (just like a playoff) before one player won.
Hope this makes sense.