2 invocations of hook_menu()

menu_router_build in includes/menu.inc
Collects and alters the menu definitions.
system_get_module_admin_tasks in modules/system/system.module
Generate a list of tasks offered by a specified module.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.