Searched refs:maxchar (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython3/Python/ |
D | formatter_unicode.c | 474 const InternalFormatSpec *format, Py_UCS4 *maxchar) in calc_number_widths() argument 553 *maxchar = Py_MAX(*maxchar, grouping_maxchar); in calc_number_widths() 585 *maxchar = Py_MAX(*maxchar, format->fill_char); in calc_number_widths() 588 *maxchar = Py_MAX(*maxchar, PyUnicode_MAX_CHAR_VALUE(locale->decimal_point)); in calc_number_widths() 769 Py_UCS4 maxchar; in format_string_internal() local 811 maxchar = writer->maxchar; in format_string_internal() 813 maxchar = Py_MAX(maxchar, format->fill_char); in format_string_internal() 814 if (PyUnicode_MAX_CHAR_VALUE(value) > maxchar) { in format_string_internal() 816 maxchar = Py_MAX(maxchar, valmaxchar); in format_string_internal() 820 if (_PyUnicodeWriter_Prepare(writer, total, maxchar) == -1) in format_string_internal() [all …]
|
D | compile.c | 237 Py_UCS4 maxchar; in _Py_Mangle() local 277 maxchar = PyUnicode_MAX_CHAR_VALUE(ident); in _Py_Mangle() 278 if (PyUnicode_MAX_CHAR_VALUE(privateobj) > maxchar) in _Py_Mangle() 279 maxchar = PyUnicode_MAX_CHAR_VALUE(privateobj); in _Py_Mangle() 281 result = PyUnicode_New(1 + nlen + plen, maxchar); in _Py_Mangle()
|
/external/python/cpython3/Objects/stringlib/ |
D | localeutil.h | 50 Py_UCS4 *maxchar) in InsertThousandsGrouping_fill() argument 54 if (*maxchar == 127 && thousands_sep) { in InsertThousandsGrouping_fill() 56 *maxchar = Py_MAX(*maxchar, maxchar2); in InsertThousandsGrouping_fill()
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 596 Py_UCS4 maxchar = 0; in _PyUnicode_CheckConsistency() local 604 if (ch > maxchar) in _PyUnicode_CheckConsistency() 605 maxchar = ch; in _PyUnicode_CheckConsistency() 609 CHECK(maxchar >= 128); in _PyUnicode_CheckConsistency() 610 CHECK(maxchar <= 255); in _PyUnicode_CheckConsistency() 613 CHECK(maxchar < 128); in _PyUnicode_CheckConsistency() 616 CHECK(maxchar >= 0x100); in _PyUnicode_CheckConsistency() 617 CHECK(maxchar <= 0xFFFF); in _PyUnicode_CheckConsistency() 620 CHECK(maxchar >= 0x10000); in _PyUnicode_CheckConsistency() 621 CHECK(maxchar <= MAX_UNICODE); in _PyUnicode_CheckConsistency() [all …]
|
/external/python/cpython3/Tools/unicode/ |
D | gencodec.py | 225 maxchar = 0 240 maxchar = max(maxchar, ord(mapchar)) 248 if maxchar < 256:
|
/external/python/cpython3/Include/cpython/ |
D | unicodeobject.h | 462 Py_UCS4 maxchar /* maximum code point value in the string */ 610 Py_UCS4 maxchar; member 641 (((MAXCHAR) <= (WRITER)->maxchar \ 652 Py_ssize_t length, Py_UCS4 maxchar); 1055 Py_UCS4 *maxchar);
|
/external/python/cpython3/Lib/test/ |
D | test_sys.py | 1349 maxchar = ord(max(s)) 1350 if maxchar < 128: 1352 elif maxchar < 256: 1354 elif maxchar < 65536:
|
/external/python/cpython3/Modules/ |
D | _json.c | 230 Py_UCS4 maxchar; in escape_unicode() local 235 maxchar = PyUnicode_MAX_CHAR_VALUE(pystr); in escape_unicode() 262 rval = PyUnicode_New(output_size, maxchar); in escape_unicode()
|
/external/python/cpython3/Doc/c-api/ |
D | unicode.rst | 405 .. c:function:: PyObject* PyUnicode_New(Py_ssize_t size, Py_UCS4 maxchar) 407 Create a new Unicode object. *maxchar* should be the true maximum code point
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2762 PyUnicode_New:Py_UCS4:maxchar::
|