Lines Matching refs:has_default
919 * has_default is only meaningful for '[' and '<'
921 * only valid if has_default set
927 char ***format_list, int *format_count, int *has_default,
942 if (has_default != NULL)
943 *has_default = 0;
997 else if (command == '[' && has_default != NULL)
1001 *has_default = args.collon != 0;
1005 if (args.collon && has_default != NULL) {
1006 *has_default = 1;
1142 int choice, num_formats, has_default, num_arguments;
1155 &next_format, &formats, &num_formats, &has_default, NULL, NULL);
1203 if (has_default && (choice < 0 || choice >= num_formats))
1511 int i, k, total_length, length, padding, num_formats, has_default,
1518 &has_default, &comma_width, &line_width);
1581 if (has_default)
1589 if (has_default)
1600 int num_fields = num_formats - (has_default != 0);
1629 if (num_formats - has_default == 1) {
1630 if (has_default && line_width > 0 && comma_width >= 0 &&
1635 string = has_default ? CAR(CDR(strings)) : CAR(strings);
1657 if (has_default && line_width > 0 && comma_width >= 0) {
1701 if (has_default && line_width > 0 && comma_width >= 0) {
1705 if (has_default && length + comma_width > line_width) {