• Home
  • Raw
  • Download

Lines Matching refs:flag

159 static int handle_subopt_val(const char *opt, const char *arg, const struct val_map *map, int *flag)  in handle_subopt_val()  argument
167 *flag = map->val; in handle_subopt_val()
198 …e_suboption_mask(const char *arg, const char *opt, const struct mask_map *map, unsigned long *flag) in handle_suboption_mask() argument
201 apply_mask(flag, "", 0, map, 0); in handle_suboption_mask()
216 if (apply_mask(flag, opt, len, map, neg)) in handle_suboption_mask()
230 struct flag { struct
232 int *flag; argument
233 int (*fun)(const char *arg, const char *opt, const struct flag *, int options); argument
238 static int handle_switches(const char *ori, const char *opt, const struct flag *flags) in handle_switches() argument
265 if (opt[0] == '\0' && flags->flag) { in handle_switches()
270 *flags->flag = val; in handle_switches()
279 static char **handle_onoff_switch(char *arg, char **next, const struct flag flags[]) in handle_onoff_switch()
281 int flag = FLAG_ON; in handle_onoff_switch() local
290 flag = FLAG_FORCE_OFF; in handle_onoff_switch()
295 *flags[i].flag = flag; in handle_onoff_switch()
304 static void handle_onoff_switch_finalize(const struct flag flags[]) in handle_onoff_switch_finalize()
309 if (*flags[i].flag == FLAG_FORCE_OFF) in handle_onoff_switch_finalize()
310 *flags[i].flag = FLAG_OFF; in handle_onoff_switch_finalize()
314 static int handle_switch_setval(const char *arg, const char *opt, const struct flag *flag, int opti… in handle_switch_setval() argument
316 *(flag->flag) = flag->mask; in handle_switch_setval()
325 static int opt_##NAME(const char *arg, const char *opt, TYPE *ptr, int flag) \
332 if ((flag & OPTNUM_UNLIMITED) && !strcmp(opt, "unlimited")) \
337 if ((flag & OPTNUM_ZERO_IS_INF) && val == 0) \
422 static int handle_ftabstop(const char *arg, const char *opt, const struct flag *flag, int options) in handle_ftabstop() argument
438 static int handle_fpasses(const char *arg, const char *opt, const struct flag *flag, int options) in handle_fpasses() argument
442 mask = flag->mask; in handle_fpasses()
469 static int handle_fdiagnostic_prefix(const char *arg, const char *opt, const struct flag *flag, int… in handle_fdiagnostic_prefix() argument
483 static int handle_fdump_ir(const char *arg, const char *opt, const struct flag *flag, int options) in handle_fdump_ir() argument
496 static int handle_fmemcpy_max_count(const char *arg, const char *opt, const struct flag *flag, int … in handle_fmemcpy_max_count() argument
502 static int handle_fmax_errors(const char *arg, const char *opt, const struct flag *flag, int option… in handle_fmax_errors() argument
508 static int handle_fmax_warnings(const char *arg, const char *opt, const struct flag *flag, int opti… in handle_fmax_warnings() argument
514 static struct flag fflags[] = {
628 static int handle_march(const char *opt, const char *arg, const struct flag *flag, int options) in handle_march() argument
635 static int handle_mcmodel(const char *opt, const char *arg, const struct flag *flag, int options) in handle_mcmodel() argument
647 return handle_subopt_val(opt, arg, cmodels, flag->flag); in handle_mcmodel()
650 static int handle_mfloat_abi(const char *opt, const char *arg, const struct flag *flag, int options… in handle_mfloat_abi() argument
657 return handle_subopt_val(opt, arg, fp_abis, flag->flag); in handle_mfloat_abi()
668 static const struct flag mflags[] = {
733 static const struct flag pflags[] = {
803 static struct flag debugs[] = {
831 static const struct flag warnings[] = {
898 if (*warnings[i].flag != FLAG_FORCE_OFF) in handle_switch_W()
899 *warnings[i].flag = FLAG_ON; in handle_switch_W()