Lines Matching defs:team
293 Model::Thread::Thread(Team* team, const system_profiler_thread_added* event,
300 fTeam(team),
789 Team* team = TeamByID(event->team);
790 if (team != NULL) {
791 fprintf(stderr, "Duplicate team: %" B_PRId32 "\n", event->team);
793 return team;
796 team = new(std::nothrow) Team(event, time);
797 if (team == NULL)
800 if (!fTeams.BinaryInsert(team, &Team::CompareByID)) {
801 delete team;
805 return team;
841 // get its team
842 Team* team = TeamByID(event->team);
843 if (team == NULL) {
844 fprintf(stderr, "No team for thread: %" B_PRId32 "\n", event->thread);
849 thread = new(std::nothrow) Thread(team, event, time);
857 if (!team->AddThread(thread)) {