Over-the-calf dress socks in the first picture. I believe they are just too short to qualify as knee-highs.
The second picture shows socks of the GoldToe brand. They make these in different kinds of lengths, the guy could be wearing ankle socks for all we know, but I suppose they are also over-the-calf dress socks.