Lines Matching refs:search_group
842 grrr_group_t search_group;
847 search_group = (grrr_group_t)queue_first(&rq->sorted_group_list);
848 while (!queue_end(&rq->sorted_group_list, (queue_entry_t)search_group) ) {
850 if (search_group->weight < group->weight) {
852 search_group = (grrr_group_t)queue_prev((queue_entry_t)search_group);
854 } if (search_group->weight == group->weight) {
856 if (search_group->index < group->index) {
857 search_group = (grrr_group_t)queue_prev((queue_entry_t)search_group);
863 search_group = (grrr_group_t)queue_next((queue_entry_t)search_group);
866 if (queue_end(&rq->sorted_group_list, (queue_entry_t)search_group)) {
869 insque((queue_entry_t)group, (queue_entry_t)search_group);