Lines Matching refs:team
69 AppInfo(team_id team) in AppInfo() argument
70 : fTeam(team), in AppInfo()
204 team_id *team) in operator ()() argument
214 team); in operator ()()
221 team_id *team) in operator ()() argument
224 status_t result = caller(type, messages, argc, argv, team); in operator ()()
225 if (result == B_OK && team) in operator ()()
226 CreateAppInfo(*team); in operator ()()
317 LaunchContext::TerminateApp(team_id team, bool wait) in TerminateApp() argument
320 if (AppInfo *info = AppInfoFor(team)) in TerminateApp()
324 WaitForMessage(team, MSG_TERMINATED); in TerminateApp()
332 team_id team = B_ERROR; in TeamAt() local
334 team = info->Team(); in TeamAt()
335 return team; in TeamAt()
340 LaunchContext::AppMessengerFor(team_id team) const in AppMessengerFor()
344 if (AppInfoFor(team)) { in AppMessengerFor()
359 fake.fTeam = team; in AppMessengerFor()
384 LaunchContext::NextMessageFrom(team_id team, int32 &cookie, bigtime_t *time) in NextMessageFrom() argument
388 if (AppInfo *info = AppInfoFor(team)) { in NextMessageFrom()
397 LaunchContext::CheckNextMessage(LaunchCaller &caller, team_id team, in CheckNextMessage() argument
400 BMessage *message = NextMessageFrom(team, cookie); in CheckNextMessage()
406 LaunchContext::CheckMainArgsMessage(LaunchCaller &caller, team_id team, in CheckMainArgsMessage() argument
416 return CheckMainArgsMessage(caller, team, cookie, appRef, argc, argv, in CheckMainArgsMessage()
422 LaunchContext::CheckMainArgsMessage(LaunchCaller &caller, team_id team, in CheckMainArgsMessage() argument
428 return CheckArgsMessage(caller, team, cookie, appRef, ref, argc, argv, in CheckMainArgsMessage()
434 LaunchContext::CheckArgvMessage(LaunchCaller &caller, team_id team, in CheckArgvMessage() argument
440 result = CheckArgvMessage(caller, team, cookie, appRef, kStandardArgc, in CheckArgvMessage()
448 LaunchContext::CheckArgvMessage(LaunchCaller &caller, team_id team, in CheckArgvMessage() argument
453 return CheckArgvMessage(caller, team, cookie, appRef, ref , argc, argv); in CheckArgvMessage()
458 LaunchContext::CheckArgvMessage(LaunchCaller &caller, team_id team, in CheckArgvMessage() argument
463 return CheckArgsMessage(caller, team, cookie, appRef, ref, argc, argv, in CheckArgvMessage()
469 LaunchContext::CheckArgsMessage(LaunchCaller &caller, team_id team, in CheckArgsMessage() argument
474 BMessage *message = NextMessageFrom(team, cookie); in CheckArgsMessage()
518 LaunchContext::CheckMessageMessages(LaunchCaller &caller, team_id team, in CheckMessageMessages() argument
524 result &= CheckMessageMessage(caller, team, cookie, i); in CheckMessageMessages()
530 LaunchContext::CheckMessageMessage(LaunchCaller &caller, team_id team, in CheckMessageMessage() argument
537 result = CheckMessageMessage(caller, team, cookie, &message); in CheckMessageMessage()
544 LaunchContext::CheckMessageMessage(LaunchCaller &caller, team_id team, in CheckMessageMessage() argument
548 BMessage *message = NextMessageFrom(team, cookie); in CheckMessageMessage()
560 LaunchContext::CheckRefsMessage(LaunchCaller &caller, team_id team, in CheckRefsMessage() argument
565 result = CheckRefsMessage(caller, team, cookie, caller.Ref()); in CheckRefsMessage()
571 LaunchContext::CheckRefsMessage(LaunchCaller &caller, team_id team, in CheckRefsMessage() argument
575 BMessage *message = NextMessageFrom(team, cookie); in CheckRefsMessage()
616 LaunchContext::WaitForMessage(team_id team, uint32 messageCode, bool fromNow, in WaitForMessage() argument
621 if (AppInfo *info = AppInfoFor(team)) { in WaitForMessage()
664 LaunchContext::AppInfoFor(team_id team) const in AppInfoFor()
667 if (info->Team() == team) in AppInfoFor()
682 LaunchContext::CreateAppInfo(team_id team, const BMessenger *messenger) in CreateAppInfo() argument
684 AppInfo *info = AppInfoFor(team); in CreateAppInfo()
686 info = new AppInfo(team); in CreateAppInfo()