Lines Matching defs:team
21 "activate, a [ <team> ] activates the application specified by <team>\n"
80 // get a list of team IDs
94 // activate the team
95 team_id team = (team_id)(uintptr_t)teamList.ItemAt(0);
96 status_t error = roster.ActivateApp(team);
99 ": %s\n", team, strerror(error));
134 printf("launched \"%s\", team id: %" B_PRId32 "\n", program.c_str(),
147 team_id team = -1;
148 if (sscanf(arg.c_str(), "%" B_PRId32, &team) > 0)
149 teamList->AddItem((void*)(addr_t)team);
158 // get a list of team IDs
165 // print an info for each team
167 printf("%-8s%-40s\n", "team", "signature");
170 team_id team = (team_id)(uintptr_t)teamList.ItemAt(i);
172 status_t error = roster.GetRunningAppInfo(team, &info);
174 printf("%-8" B_PRId32 "%-40s\n", team, info.signature);
176 printf("%-8" B_PRId32 "failed to get the app_info: %s\n", team,
188 // get a list of team IDs
195 // print an info for each team
198 team_id team = (team_id)(uintptr_t)teamList.ItemAt(i);
199 printf("team %8" B_PRId32 "\n", team);
202 status_t error = roster.GetRunningAppInfo(team, &info);
219 // get a list of team IDs
233 // send a B_QUIT_REQUESTED message to each team
235 team_id team = (team_id)(uintptr_t)teamList.ItemAt(i);
237 BMessenger messenger(NULL, team, &error);
242 "message to team %" B_PRId32 "\n", team);
246 printf("quit: failed to create a messenger for team %" B_PRId32
247 "\n", team);