In building a quirk is a piece of ground taken out of any regular ground plot or floor, so as to make a court, yard, etc.
In architecture a quirk is a small, 'V' shaped channel, deeply recessed in proportion to its width, used to insulate and give relief to a convex rounded moulding. Research Quirk