Lines Matching refs:elements
47 Id select = selection->elements[i] & SOLVER_SELECTMASK; in selection_prune()
54 Repo *repo = pool_id2repo(pool, selection->elements[i + 1]); in selection_prune()
61 FOR_JOB_SELECT(p, pp, select, selection->elements[i + 1]) in selection_prune()
66 selection->elements[j] = selection->elements[i]; in selection_prune()
67 selection->elements[j + 1] = selection->elements[i + 1]; in selection_prune()
88 Id select = selection->elements[i] & SOLVER_SELECTMASK; in selection_solvables()
97 Repo *repo = pool_id2repo(pool, selection->elements[i + 1]); in selection_solvables()
104 FOR_JOB_SELECT(p, pp, select, selection->elements[i + 1]) in selection_solvables()
111 solv_sort(pkgs->elements, pkgs->count, sizeof(Id), selection_solvables_sortcmp, NULL); in selection_solvables()
112 lastid = pkgs->elements[0]; in selection_solvables()
114 if (pkgs->elements[i] != lastid) in selection_solvables()
115 pkgs->elements[j++] = lastid = pkgs->elements[i]; in selection_solvables()
127 if ((selection->elements[i] & SOLVER_SELECTMASK) == SOLVER_SOLVABLE_ALL) in selection_flatten()
129 selection->elements[0] = selection->elements[i]; in selection_flatten()
130 selection->elements[1] = selection->elements[i + 1]; in selection_flatten()
144 selection->elements[0] = SOLVER_SOLVABLE_ONE_OF; in selection_flatten()
145 selection->elements[1] = pool_queuetowhatprovides(pool, &q); in selection_flatten()
149 selection->elements[0] = SOLVER_SOLVABLE | SOLVER_NOAUTOSET; in selection_flatten()
150 selection->elements[1] = q.elements[0]; in selection_flatten()
161 Id select = selection->elements[i] & SOLVER_SELECTMASK; in selection_filter_rel()
162 Id id = selection->elements[i + 1]; in selection_filter_rel()
189 selection->elements[i] = SOLVER_SOLVABLE | SOLVER_NOAUTOSET; in selection_filter_rel()
190 selection->elements[i + 1] = q.elements[0]; in selection_filter_rel()
194 selection->elements[i] = SOLVER_SOLVABLE_ONE_OF; in selection_filter_rel()
195 selection->elements[i + 1] = pool_queuetowhatprovides(pool, &q); in selection_filter_rel()
209 selection->elements[i + 1] = pool_rel2id(pool, id, relevr, relflags, 1); in selection_filter_rel()
214 selection->elements[i] |= SOLVER_SETARCH; in selection_filter_rel()
218 selection->elements[i] |= SOLVER_SETEVR; /* debian can't match version only like rpm */ in selection_filter_rel()
222 selection->elements[i] |= rel ? SOLVER_SETEVR : SOLVER_SETEV; in selection_filter_rel()
241 if (selection->elements[i] != SOLVER_SOLVABLE_NAME) in selection_addsrc()
243 name = selection->elements[i + 1]; in selection_addsrc()
265 selection->elements[i] = SOLVER_SOLVABLE | SOLVER_NOAUTOSET; in selection_addsrc()
266 selection->elements[i + 1] = q.elements[0]; in selection_addsrc()
270 selection->elements[i] = SOLVER_SOLVABLE_ONE_OF; in selection_addsrc()
271 selection->elements[i + 1] = pool_queuetowhatprovides(pool, &q); in selection_addsrc()
405 … if (selection->elements[i] == SOLVER_SOLVABLE_NAME && selection->elements[i + 1] == id) in selection_depglob()
510 queue_push2(selection, SOLVER_SOLVABLE | SOLVER_NOAUTOSET, q.elements[0]); in selection_filelist()
588 Id select = selection->elements[i] & SOLVER_SELECTMASK; in selection_filter_evr()
589 Id id = selection->elements[i + 1]; in selection_filter_evr()
639 selection->elements[j] = (selection->elements[i] & ~SOLVER_SELECTMASK) | SOLVER_SOLVABLE_ONE_OF; in selection_filter_evr()
640 selection->elements[j + 1] = pool_queuetowhatprovides(pool, &q); in selection_filter_evr()
645 queue_push2(&q, selection->elements[i], selection->elements[i + 1]); in selection_filter_evr()
649 selection->elements[j] = q.elements[0]; in selection_filter_evr()
650 selection->elements[j + 1] = q.elements[1]; in selection_filter_evr()
793 if (sel1->count == 2 && (sel1->elements[0] & SOLVER_SELECTMASK) == SOLVER_SOLVABLE_ALL) in selection_filter()
804 Id select = sel2->elements[i] & SOLVER_SELECTMASK; in selection_filter()
814 Repo *repo = pool_id2repo(pool, sel2->elements[i + 1]); in selection_filter()
821 FOR_JOB_SELECT(p, pp, select, sel2->elements[i + 1]) in selection_filter()
826 setflags = sel2->elements[0] & SOLVER_SETMASK & ~SOLVER_NOAUTOSET; in selection_filter()
829 Id select = sel1->elements[i] & SOLVER_SELECTMASK; in selection_filter()
845 Repo *repo = pool_id2repo(pool, sel1->elements[i + 1]); in selection_filter()
857 FOR_JOB_SELECT(p, pp, select, sel1->elements[i + 1]) in selection_filter()
869 sel1->elements[j] = sel1->elements[i] | setflags; in selection_filter()
870 sel1->elements[j + 1] = sel1->elements[i + 1]; in selection_filter()
874 sel1->elements[j] = (sel1->elements[i] & ~SOLVER_SELECTMASK) | SOLVER_SOLVABLE_ONE_OF | setflags; in selection_filter()
875 sel1->elements[j + 1] = pool_queuetowhatprovides(pool, &q1); in selection_filter()
879 …sel1->elements[j] = (sel1->elements[i] & ~SOLVER_SELECTMASK) | SOLVER_SOLVABLE | SOLVER_NOAUTOSET … in selection_filter()
880 sel1->elements[j + 1] = q1.elements[0]; in selection_filter()
894 queue_push(sel1, sel2->elements[i]); in selection_add()