Seven have achieved this in both tests and ODIs. Tendulkar and Ponting are the first two on both lists:
15,921 : 18,426 : SR Tendulkar (IND)
13,378 : 13,704 : RT Ponting (AUS)
13,289 : 11,579 : JH Kallis (RSA)
13,288 : 10,889 : R Dravid (IND)
11,988 : 13,136 : KC Sangakkara (SL)
11,953 : 10,405 : BC Lara (WI)
11,814 : 12,212 : DPMD Jayawardene (SL)
http://stats.espncricinfo.com/ci/content/records/223646.html
http://stats.espncricinfo.com/ci/content/records/83548.html