Brakes - all of a sudden no stop

If no external leak the master cylinder piston is not pushing fluid due to internal leak/bypass (bad cups or bore). Also if pedal doesn't return all the way to the top the pistons cannot replenish fluid through the replenish port or it is blocked with sludge/ debris.