Searched refs:F_ALT (Results 1 - 4 of 4) sorted by relevance
/third_party/python/Include/internal/ |
H A D | pycore_format.h | 15 * F_ALT '#' 21 #define F_ALT (1<<3) macro
|
/third_party/python/Objects/ |
H A D | bytesobject.c | 430 if (flags & F_ALT) { in formatfloat() 464 return _PyUnicode_FormatLong(v, flags & F_ALT, prec, type); in formatlong() 473 result = _PyUnicode_FormatLong(iobj, flags & F_ALT, prec, type); in formatlong() 712 case '#': flags |= F_ALT; continue; in _PyBytes_FormatEx() 851 int alternate = flags & F_ALT; in _PyBytes_FormatEx() 978 if ((flags & F_ALT) && (c == 'o' || c == 'x' || c == 'X')) { in _PyBytes_FormatEx() 1003 if ((flags & F_ALT) && (c == 'o' || c == 'x' || c == 'X')) { in _PyBytes_FormatEx()
|
H A D | unicodeobject.c | 14386 if (arg->flags & F_ALT) in formatfloat() 14405 * the F_ALT flag, for Python's long (unbounded) ints. It's not used for 14410 * "0x"/"0X" are present only for x and X conversions, with F_ALT 14415 * flags bitmask of format flags; only F_ALT is looked at 14490 /* Get rid of base marker unless F_ALT */ in _PyUnicode_FormatLong() 14592 int alternate = arg->flags & F_ALT; in mainformatlong() 14621 res = _PyUnicode_FormatLong(iobj, arg->flags & F_ALT, arg->prec, type); in mainformatlong() 14755 case '#': arg->flags |= F_ALT; continue; in unicode_format_arg_parse() 14900 if (_PyLong_FormatWriter(writer, v, 10, arg->flags & F_ALT) == -1) in unicode_format_arg_format() 15082 if ((arg->flags & F_ALT) in unicode_format_arg_output() [all...] |
/third_party/python/Python/ |
H A D | ast_opt.c | 311 case '#': *flags |= F_ALT; continue; in simple_format_arg_parse()
|
Completed in 28 milliseconds