Searched refs:F_ALT (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Include/internal/ |
D | pycore_format.h | 21 #define F_ALT (1<<3) macro
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 407 #define F_ALT (1<<3) macro 432 (flags & F_ALT) ? Py_DTSF_ALT : 0, NULL); in formatfloat() 461 return _PyUnicode_FormatLong(v, flags & F_ALT, prec, type); in formatlong() 475 result = _PyUnicode_FormatLong(iobj, flags & F_ALT, prec, type); in formatlong() 726 case '#': flags |= F_ALT; continue; in _PyBytes_FormatEx() 865 int alternate = flags & F_ALT; in _PyBytes_FormatEx() 992 if ((flags & F_ALT) && (c == 'o' || c == 'x' || c == 'X')) { in _PyBytes_FormatEx() 1017 if ((flags & F_ALT) && (c == 'o' || c == 'x' || c == 'X')) { in _PyBytes_FormatEx()
|
D | stringobject.c | 3949 #define F_ALT (1<<3) macro 3972 (flags & F_ALT) ? Py_DTSF_ALT : 0, NULL); in formatfloat() 4063 if ((flags & F_ALT) == 0 && len - sign > 1) in _PyString_FormatLong() 4070 if ((flags & F_ALT) == 0) in _PyString_FormatLong() 4170 if ((flags & F_ALT) && in formatint() 4197 sign, (flags&F_ALT) ? "#" : "", in formatint() 4361 case '#': flags |= F_ALT; continue; in PyString_Format() 4630 if ((flags & F_ALT) && (c == 'x' || c == 'X')) { in PyString_Format() 4652 if ((flags & F_ALT) && in PyString_Format()
|
D | unicodeobject.c | 8125 #define F_ALT (1<<3) macro 8170 (flags & F_ALT) ? Py_DTSF_ALT : 0, NULL); in formatfloat() 8240 if ((flags & F_ALT) && in formatint() 8267 sign, (flags&F_ALT) ? "#" : "", in formatint() 8478 case '#': flags |= F_ALT; continue; in PyUnicode_Format() 8748 if ((flags & F_ALT) && (c == 'x' || c == 'X')) { in PyUnicode_Format() 8770 if ((flags & F_ALT) && (c == 'x' || c == 'X')) { in PyUnicode_Format()
|
/external/python/cpython3/Objects/ |
D | bytesobject.c | 465 (flags & F_ALT) ? Py_DTSF_ALT : 0, NULL); in formatfloat() 494 return _PyUnicode_FormatLong(v, flags & F_ALT, prec, type); in formatlong() 503 result = _PyUnicode_FormatLong(iobj, flags & F_ALT, prec, type); in formatlong() 742 case '#': flags |= F_ALT; continue; in _PyBytes_FormatEx() 881 int alternate = flags & F_ALT; in _PyBytes_FormatEx() 1008 if ((flags & F_ALT) && (c == 'o' || c == 'x' || c == 'X')) { in _PyBytes_FormatEx() 1033 if ((flags & F_ALT) && (c == 'o' || c == 'x' || c == 'X')) { in _PyBytes_FormatEx()
|
D | unicodeobject.c | 14713 if (arg->flags & F_ALT) in formatfloat() 14921 int alternate = arg->flags & F_ALT; in mainformatlong() 14950 res = _PyUnicode_FormatLong(iobj, arg->flags & F_ALT, arg->prec, type); in mainformatlong() 15084 case '#': arg->flags |= F_ALT; continue; in unicode_format_arg_parse() 15229 if (_PyLong_FormatWriter(writer, v, 10, arg->flags & F_ALT) == -1) in unicode_format_arg_format() 15411 if ((arg->flags & F_ALT) && (arg->ch == 'x' || arg->ch == 'X' || arg->ch == 'o')) { in unicode_format_arg_output() 15441 if ((arg->flags & F_ALT) && (arg->ch == 'x' || arg->ch == 'X' || arg->ch == 'o')) { in unicode_format_arg_output()
|