These are in: (install location)/hardware/arduino/avr/cores/arduino That does not cover the low-level libraries like Tone, Print, main, etc.
As at IDE 1.6.4 (Ubuntu version) some are in: (install location)/librariesīut these are the high-level libraries, in particular: Bridge There are multiple places where you can look.