Lines Matching refs:val
276 static int parse_comma_flags(char *val, const char *words, const char *error_in) in parse_comma_flags() argument
286 arg = strchr(val, ','); in parse_comma_flags()
289 n = index_in_strings(words, val); in parse_comma_flags()
291 bb_error_msg_and_die(bb_msg_invalid_arg_to, val, error_in); in parse_comma_flags()
296 val = arg + 1; /* skip this keyword and ',' */ in parse_comma_flags()
405 char *val; in dd_main() local
414 val = strchr(arg, '='); in dd_main()
415 if (val == NULL) in dd_main()
417 *val = '\0'; in dd_main()
422 val++; in dd_main()
426 ibs = xatoul_range_sfx(val, 1, ((size_t)-1L)/2, cwbkMG_suffixes); in dd_main()
430 obs = xatoul_range_sfx(val, 1, ((size_t)-1L)/2, cwbkMG_suffixes); in dd_main()
434 G.flags |= parse_comma_flags(val, conv_words, "conv"); in dd_main()
438 G.flags |= parse_comma_flags(val, iflag_words, "iflag") << FLAG_IFLAG_SHIFT; in dd_main()
442 G.flags |= parse_comma_flags(val, oflag_words, "oflag") << FLAG_OFLAG_SHIFT; in dd_main()
447 ibs = xatoul_range_sfx(val, 1, ((size_t)-1L)/2, cwbkMG_suffixes); in dd_main()
454 count = XATOU_SFX(val, cwbkMG_suffixes); in dd_main()
458 seek = XATOU_SFX(val, cwbkMG_suffixes); in dd_main()
462 skip = XATOU_SFX(val, cwbkMG_suffixes); in dd_main()
466 infile = val; in dd_main()
470 outfile = val; in dd_main()
476 n = index_in_strings(status_words, val); in dd_main()
478 bb_error_msg_and_die(bb_msg_invalid_arg_to, val, "status"); in dd_main()