Lines Matching refs:group

125 // - if inGroup is non-0, visits only nodes in that group.
175 if(inGroup && targetRef->group() != inGroup) {
176 // PRINT(("# .group mismatch\n"));
215 if(inGroup && targetRef->group() != inGroup) {
216 // PRINT(("# .group mismatch\n"));
242 NodeGroup* group) {
243 Autolock _l(group);
247 // stop group before clearing [10aug99]
248 group->_stop();
251 while((n = group->countNodes()) > 0) {
252 group->removeNode(n-1);
255 // // [e.moon 7nov99] release the group
256 // status_t err = remove_observer(this, group);
260 // "!!! NodeManager::_clearGroup(): remove_observer(group %ld):\n"
262 // group->id(),
760 // this ensures that the group set won't change. The methods do lock
761 // the group internally, so locking isn't explicitly required.
782 // look up a group by unique ID; returns B_BAD_VALUE if no
783 // matching group was found
803 // look up a group by name; returns B_NAME_NOT_FOUND if
804 // no group matching the name was found.
824 // merge the given source group to the given destination;
825 // empties and releases the source group
850 // [7nov99 e.moon] delete the source group
858 // split group: given two nodes currently in the same group
861 // to outsideNode, from the common group. These nodes are
862 // then added to a new group, returned in 'outGroup'. The
863 // new group has " split" appended to the end of the original
864 // group's name.
868 // route exists from one to the other), or B_OK if the group
888 NodeGroup* oldGroup = node->group();
917 // make sure the nodes share a common group
918 NodeGroup* oldGroup = insideNode->group();
920 PRINT(("!!! NodeManager::splitGroup(): invalid group\n"));
923 if(oldGroup != outsideNode->group()) {
932 // create the new group
941 // move nodes connected to outsideNode from old to new group
954 // [e.moon 1dec99] a single-node group takes that node's name
1829 NodeGroup* group) {
1831 ASSERT(group);
1837 // precondition: group not already in set
1842 group) == m_nodeGroupSet.end());
1845 m_nodeGroupSet.push_back(group);
1848 // add_observer(this, group);
1852 NodeGroup* group) {
1854 ASSERT(group);
1863 group);
1865 // precondition: group in set
1868 "* NodeManager::_removeGroup(%" B_PRId32 "): group not in set.\n",
1869 group->id()));
2450 // refresh cached latency for every node in the given group
2451 // (or all nodes if no group given.)
2454 NodeGroup* group) {
2457 if(group) {
2458 ASSERT(group->isLocked());
2461 if(group) {
2462 for(NodeGroup::node_set::iterator it = group->m_nodes.begin();
2463 it != group->m_nodes.end(); ++it) {