Lines Matching defs:team

87 			// the expression in question is a team name match only,
149 KillTeam(team_id team, const char *appName = NULL)
151 // get a team info to verify the team still lives
154 status_t error = get_team_info(team, &info);
157 "team %" B_PRId32 ": %s\n", team, strerror(error));
164 debug_printf("debug_server: Killing team %" B_PRId32 " (%s)\n", team,
167 kill_team(team);
196 TeamDebugHandler(team_id team);
218 void _NotifyAppServer(team_id team);
219 void _NotifyRegistrar(team_id team, bool openAlert, bool stopShutdown);
251 BLocker("team debug handler roster")
281 TeamDebugHandler *RemoveHandler(team_id team)
287 TeamDebugHandlerMap::iterator it = fHandlers.find(team);
296 TeamDebugHandler *HandlerFor(team_id team)
302 TeamDebugHandlerMap::iterator it = fHandlers.find(team);
316 team_id team = message->Data().origin.team;
318 // get the responsible team debug handler
321 TeamDebugHandler *handler = HandlerFor(team);
324 handler = new(nothrow) TeamDebugHandler(team);
326 KillTeam(team);
333 KillTeam(team);
339 KillTeam(team);
389 TeamDebugHandler::TeamDebugHandler(team_id team)
391 BLocker("team debug handler"),
394 fTeam(team),
430 // get the team info for the team
434 "info for team %" B_PRId32 ": %s\n", fTeam, strerror(error));
442 "executable path of team %" B_PRId32 ": %s\n", fTeam,
452 "debug context for team %" B_PRId32 ", port %" B_PRId32 ": %s\n",
457 // set team flags
466 snprintf(name, sizeof(name), "team %" B_PRId32 " message count", fTeam);
475 snprintf(name, sizeof(name), "team %" B_PRId32 " handler", fTeam);
606 TRACE(("debug_server: TeamDebugHandler::_EnterDebugger(): team %" B_PRId32
611 "debugger handover for team %" B_PRId32 "...\n", fTeam));
637 "terminal (debugger) for team %" B_PRId32 "...\n", fTeam));
645 // team.
648 if (message.AddInt32("team", fTeam) == B_OK
698 if (!arguments.Add("--team") || !arguments.Add(debuggerParam))
703 "%s debugger for team %" B_PRId32 "...\n",
720 "for team %" B_PRId32 ": thread: %" B_PRId32 "\n", fTeam, thread));
762 debug_printf("debug_server: Couldn't get core file path for team %"
775 "team %" B_PRId32 "\n", fTeam);
791 debug_printf("debug_server: Failed to write core file for team %"
803 // a team. That means only a few messages are actually possible, while
806 TRACE(("debug_server: TeamDebugHandler::_HandleMessage(): team %" B_PRId32
817 "B_DEBUGGER_MESSAGE_TEAM_DELETED message for team %" B_PRId32
866 // ask the user whether to debug or kill the team
999 TeamDebugHandler::_NotifyAppServer(team_id team)
1004 roster.ApplicationCrashed(team);
1009 TeamDebugHandler::_NotifyRegistrar(team_id team, bool openAlert,
1013 notify.AddInt32("team", team);
1042 TRACE(("debug_server: TeamDebugHandler::_HandlerThread(): team %" B_PRId32
1046 TRACE(("debug_server: TeamDebugHandler::_HandlerThread(): team %" B_PRId32
1061 // kill the team or hand it over to the debugger
1064 // The team shall be killed. Since that is also the handling in case
1065 // an error occurs while handing over the team to the debugger, we do
1072 // wait for the "handed over" or a "team deleted" message
1084 // The team has successfully been handed over to the debugger.
1088 // The team died. Nothing to do.
1098 debug_printf("debug_server: The debugger for team %"
1112 // kill the team
1177 if (BPrivate::get_app_ref(teamInfo.team, &ref) == B_OK) {
1179 return teamInfo.team;
1268 TRACE(("debug_server: Got debug message: team: %" B_PRId32 ", code: %" B_PRId32
1269 "\n", message->Data().origin.team, code));
1299 // create the team debug handler roster
1301 debug_printf("debug_server: Failed to create team debug handler "