US companies post mixed results in third quarter