Where is template_preprocess() located
It's in 

includes/theme.inc. 


Docs are here.

Next time just put the name of the function in Google...the docs on Drupal.org will tell you what file any function is in.