S&P 500 drifts near flat as earnings worries weighU.S. stocks were near flat on Tuesday as gains in internet shares were offset by fresh warnings from companies about the impact of the U.S.-China trade dispute on earnings.