Home
last modified time | relevance | path

Searched refs:maxchar (Results 1 - 9 of 9) sorted by relevance

/third_party/python/Python/
H A Dformatter_unicode.c478 const InternalFormatSpec *format, Py_UCS4 *maxchar) in calc_number_widths()
557 *maxchar = Py_MAX(*maxchar, grouping_maxchar); in calc_number_widths()
589 *maxchar = Py_MAX(*maxchar, format->fill_char); in calc_number_widths()
592 *maxchar = Py_MAX(*maxchar, PyUnicode_MAX_CHAR_VALUE(locale->decimal_point)); in calc_number_widths()
773 Py_UCS4 maxchar; in format_string_internal() local
829 maxchar = writer->maxchar; in format_string_internal()
474 calc_number_widths(NumberFieldWidths *spec, Py_ssize_t n_prefix, Py_UCS4 sign_char, Py_ssize_t n_start, Py_ssize_t n_end, Py_ssize_t n_remainder, int has_decimal, const LocaleInfo *locale, const InternalFormatSpec *format, Py_UCS4 *maxchar) calc_number_widths() argument
868 Py_UCS4 maxchar = 127; format_long_internal() local
1059 Py_UCS4 maxchar = 127; format_float_internal() local
1217 Py_UCS4 maxchar = 127; format_complex_internal() local
[all...]
H A Dcompile.c460 Py_UCS4 maxchar; in _Py_Mangle() local
500 maxchar = PyUnicode_MAX_CHAR_VALUE(ident); in _Py_Mangle()
501 if (PyUnicode_MAX_CHAR_VALUE(privateobj) > maxchar) in _Py_Mangle()
502 maxchar = PyUnicode_MAX_CHAR_VALUE(privateobj); in _Py_Mangle()
504 result = PyUnicode_New(1 + nlen + plen, maxchar); in _Py_Mangle()
/third_party/python/Objects/stringlib/
H A Dlocaleutil.h50 Py_UCS4 *maxchar) in InsertThousandsGrouping_fill()
53 /* if maxchar > 127, maxchar is already set */ in InsertThousandsGrouping_fill()
54 if (*maxchar == 127 && thousands_sep) { in InsertThousandsGrouping_fill()
56 *maxchar = Py_MAX(*maxchar, maxchar2); in InsertThousandsGrouping_fill()
46 InsertThousandsGrouping_fill(_PyUnicodeWriter *writer, Py_ssize_t *buffer_pos, PyObject *digits, Py_ssize_t *digits_pos, Py_ssize_t n_chars, Py_ssize_t n_zeros, PyObject *thousands_sep, Py_ssize_t thousands_sep_len, Py_UCS4 *maxchar) InsertThousandsGrouping_fill() argument
/third_party/python/Objects/
H A Dunicodeobject.c583 Py_UCS4 maxchar = 0; in _PyUnicode_CheckConsistency() local
591 if (ch > maxchar) in _PyUnicode_CheckConsistency()
592 maxchar = ch; in _PyUnicode_CheckConsistency()
596 CHECK(maxchar >= 128); in _PyUnicode_CheckConsistency()
597 CHECK(maxchar <= 255); in _PyUnicode_CheckConsistency()
600 CHECK(maxchar < 128); in _PyUnicode_CheckConsistency()
603 CHECK(maxchar >= 0x100); in _PyUnicode_CheckConsistency()
604 CHECK(maxchar <= 0xFFFF); in _PyUnicode_CheckConsistency()
607 CHECK(maxchar >= 0x10000); in _PyUnicode_CheckConsistency()
608 CHECK(maxchar < in _PyUnicode_CheckConsistency()
1366 PyUnicode_New(Py_ssize_t size, Py_UCS4 maxchar) PyUnicode_New() argument
1740 find_maxchar_surrogates(const wchar_t *begin, const wchar_t *end, Py_UCS4 *maxchar, Py_ssize_t *num_surrogates) find_maxchar_surrogates() argument
1783 Py_UCS4 maxchar = 0; _PyUnicode_Ready() local
2076 Py_UCS4 maxchar = ucs1lib_find_max_char( unicode_write_cstr() local
2168 Py_UCS4 maxchar = 0; PyUnicode_FromWideChar() local
2724 Py_UCS4 maxchar; unicode_fromformat_write_str() local
8137 Py_UCS4 maxchar = writer->maxchar; charmap_decode_string() local
8162 Py_UCS4 maxchar = writer->maxchar; charmap_decode_string() local
9496 _PyUnicode_InsertThousandsGrouping( _PyUnicodeWriter *writer, Py_ssize_t n_buffer, PyObject *digits, Py_ssize_t d_pos, Py_ssize_t n_digits, Py_ssize_t min_width, const char *grouping, PyObject *thousands_sep, Py_UCS4 *maxchar) _PyUnicode_InsertThousandsGrouping() argument
9865 do_capitalize(int kind, const void *data, Py_ssize_t length, Py_UCS4 *res, Py_UCS4 *maxchar) do_capitalize() argument
9889 do_swapcase(int kind, const void *data, Py_ssize_t length, Py_UCS4 *res, Py_UCS4 *maxchar) do_swapcase() argument
9914 do_upper_or_lower(int kind, const void *data, Py_ssize_t length, Py_UCS4 *res, Py_UCS4 *maxchar, int lower) do_upper_or_lower() argument
9935 do_upper(int kind, const void *data, Py_ssize_t length, Py_UCS4 *res, Py_UCS4 *maxchar) do_upper() argument
9941 do_lower(int kind, const void *data, Py_ssize_t length, Py_UCS4 *res, Py_UCS4 *maxchar) do_lower() argument
9947 do_casefold(int kind, const void *data, Py_ssize_t length, Py_UCS4 *res, Py_UCS4 *maxchar) do_casefold() argument
9964 do_title(int kind, const void *data, Py_ssize_t length, Py_UCS4 *res, Py_UCS4 *maxchar) do_title() argument
9999 Py_UCS4 maxchar = 0, *tmp, *tmpend; case_operation() local
10070 Py_UCS4 maxchar; _PyUnicode_JoinArray() local
10290 Py_UCS4 maxchar; pad() local
10620 Py_UCS4 maxchar, maxchar_str1, maxchar_str2; replace() local
11428 Py_UCS4 maxchar, maxchar2; PyUnicode_Concat() local
11479 Py_UCS4 maxchar, maxchar2; PyUnicode_Append() local
13779 _PyUnicodeWriter_PrepareInternal(_PyUnicodeWriter *writer, Py_ssize_t length, Py_UCS4 maxchar) _PyUnicodeWriter_PrepareInternal() argument
13859 Py_UCS4 maxchar; _PyUnicodeWriter_PrepareKindInternal() local
13896 Py_UCS4 maxchar; _PyUnicodeWriter_WriteStr() local
13928 Py_UCS4 maxchar; _PyUnicodeWriter_WriteSubstring() local
14023 Py_UCS4 maxchar; _PyUnicodeWriter_WriteLatin1String() local
14994 Py_UCS4 maxchar; unicode_format_arg_output() local
[all...]
/third_party/python/Tools/unicode/
H A Dgencodec.py225 maxchar = 0
240 maxchar = max(maxchar, ord(mapchar))
248 if maxchar < 256:
/third_party/python/Tools/scripts/
H A Ddeepfreeze.py91 maxchar = ' '
93 maxchar = max(maxchar, c)
95 if maxchar <= '\xFF':
97 ascii = maxchar <= '\x7F'
98 elif maxchar <= '\uFFFF':
/third_party/python/Include/cpython/
H A Dunicodeobject.h474 Py_UCS4 maxchar /* maximum code point value in the string */
722 Py_UCS4 maxchar; member
753 (((MAXCHAR) <= (WRITER)->maxchar \
764 Py_ssize_t length, Py_UCS4 maxchar);
1023 Py_UCS4 *maxchar);
/third_party/python/Lib/test/
H A Dtest_sys.py1562 maxchar = ord(max(s)) variable in SizeofTest.test_objecttypes.newstyleclass
1563 if maxchar < 128:
1565 elif maxchar < 256:
1567 elif maxchar < 65536:
/third_party/python/Modules/
H A D_json.c231 Py_UCS4 maxchar; in escape_unicode() local
236 maxchar = PyUnicode_MAX_CHAR_VALUE(pystr); in escape_unicode()
263 rval = PyUnicode_New(output_size, maxchar); in escape_unicode()

Completed in 28 milliseconds