Lines Matching refs:scapset
117 hwcap1_check(Syscapset *scapset, Xword val, Rej_desc *rej)
125 ((mval = (val & ~scapset->sc_hw_1)) != 0)) {
142 hwcap2_check(Syscapset *scapset, Xword val, Rej_desc *rej)
149 if ((mval = (val & ~scapset->sc_hw_2)) != 0) {
167 sfcap1_check(Syscapset *scapset, Xword val, Rej_desc *rej)
194 platcap_check(Syscapset *scapset, const char *str, Rej_desc *rej)
199 if ((scapset->sc_plat == NULL) &&
200 (scapset->sc_platsz == 0))
201 platform_name(scapset);
203 if ((scapset->sc_plat == NULL) ||
204 (str && strcmp(scapset->sc_plat, str))) {
225 machcap_check(Syscapset *scapset, const char *str, Rej_desc *rej)
230 if ((scapset->sc_mach == NULL) &&
231 (scapset->sc_machsz == 0))
232 machine_name(scapset);
234 if ((scapset->sc_mach == NULL) ||
235 (str && strcmp(scapset->sc_mach, str))) {
258 Syscapset *scapset;
268 scapset = alt_scapset;
270 scapset = org_scapset;
286 if (hwcap1_check(scapset, val, rej) == 0)
292 if (sfcap1_check(scapset, val, rej) == 0)
298 if (hwcap2_check(scapset, val, rej) == 0)
315 if (platcap_check(scapset, str, rej) == 0)
333 if (machcap_check(scapset, str, rej) == 0)
1112 Syscapset *scapset;
1123 scapset = alt_scapset;
1125 scapset = org_scapset;
1149 if (hwcap1_check(scapset, val, NULL) == 0)
1157 if (sfcap1_check(scapset, val, NULL) == 0)
1165 if (hwcap2_check(scapset, val, NULL) == 0)
1183 if (platcap_check(scapset, str, NULL) == 0)
1202 if (machcap_check(scapset, str, NULL) == 0)