Lines Matching defs:newline
2711 * Prints a backslash+newline combo if the number of characters needs it. This
2727 * Prints a character after a backslash+newline, if needed.
2729 * @param bslash Whether to print a backslash+newline.
2748 * @param bslash True if a backslash+newline should be printed if the character
2770 * @param bslash True if a backslash+newline should be printed if the character
2809 * @param bslash True if a backslash+newline should be printed if the character
2829 * @param newline Whether to print backslash+newlines on long enough lines.
2832 bc_num_printDecimal(const BcNum* restrict n, bool newline)
2872 // the last needs explaining. I don't want to print a newline
2877 !newline || (j > temp || i != 0));
2890 * @param newline Whether to print backslash+newlines on long enough lines.
2893 bc_num_printExponent(const BcNum* restrict n, bool eng, bool newline)
2944 bc_num_printDecimal(&temp, newline);
2947 bc_num_putchar('e', !newline);
2952 bc_num_printHex(0, 1, false, !newline);
2964 bc_num_printDecimal(&exp, newline);
3094 BcNumDigitOp print, bool newline)
3115 print(0, len, false, !newline);
3252 // needs explaining. I don't want to print a backslash+newline when the
3275 !newline || (n->scale != 0 || i < stack.len - 1));
3326 // needs explaining. I don't want to print a newline when the last digit
3330 print(dig, len, radix, !newline || idigits != n->scale);
3361 * @param newline Whether to print backslash+newlines on long enough lines.
3364 bc_num_printBase(BcNum* restrict n, BcBigDig base, bool newline)
3389 bc_num_printNum(n, base, width, print, newline);
3561 bc_num_print(BcNum* restrict n, BcBigDig base, bool newline)
3566 // We may need a newline, just to start.
3582 bc_num_printHex(0, 1, false, !newline);
3587 if (BC_NUM_ZERO(n)) bc_num_printHex(0, 1, false, !newline);
3588 else if (base == BC_BASE) bc_num_printDecimal(n, newline);
3592 bc_num_printExponent(n, base != 0, newline);
3595 else bc_num_printBase(n, base, newline);
3597 if (newline) bc_num_putchar('\n', false);