Searched defs:maxchar (Results 1 - 6 of 6) sorted by relevance

/external/python/cpython3/Include/
H A Dunicodeobject.h588 Py_UCS4 maxchar /* maximum code point value in the string */
885 Py_UCS4 maxchar; member in struct:__anon19866
916 (((MAXCHAR) <= (WRITER)->maxchar \
927 Py_ssize_t length, Py_UCS4 maxchar);
2153 Py_UCS4 *maxchar);
/external/python/cpython3/Lib/test/
H A Dtest_sys.py1118 maxchar = ord(max(s)) variable in class:SizeofTest.test_objecttypes.newstyleclass
1119 if maxchar < 128:
1121 elif maxchar < 256:
1123 elif maxchar < 65536:
/external/python/cpython3/Modules/
H A D_json.c237 Py_UCS4 maxchar; local
242 maxchar = PyUnicode_MAX_CHAR_VALUE(pystr);
269 rval = PyUnicode_New(output_size, maxchar);
/external/python/cpython3/Python/
H A Dformatter_unicode.c468 const InternalFormatSpec *format, Py_UCS4 *maxchar)
544 *maxchar = Py_MAX(*maxchar, grouping_maxchar);
578 *maxchar = Py_MAX(*maxchar, format->fill_char);
581 *maxchar = Py_MAX(*maxchar, PyUnicode_MAX_CHAR_VALUE(locale->decimal_point));
769 Py_UCS4 maxchar; local
811 maxchar = writer->maxchar;
464 calc_number_widths(NumberFieldWidths *spec, Py_ssize_t n_prefix, Py_UCS4 sign_char, PyObject *number, 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) argument
850 Py_UCS4 maxchar = 127; local
1031 Py_UCS4 maxchar = 127; local
1184 Py_UCS4 maxchar = 127; local
[all...]
H A Dcompile.c227 Py_UCS4 maxchar; local
267 maxchar = PyUnicode_MAX_CHAR_VALUE(ident);
268 if (PyUnicode_MAX_CHAR_VALUE(privateobj) > maxchar)
269 maxchar = PyUnicode_MAX_CHAR_VALUE(privateobj);
271 result = PyUnicode_New(1 + nlen + plen, maxchar);
/external/python/cpython3/Objects/
H A Dunicodeobject.c440 Py_UCS4 maxchar = 0; local
448 if (ch > maxchar)
449 maxchar = ch;
453 assert(maxchar >= 128);
454 assert(maxchar <= 255);
457 assert(maxchar < 128);
460 assert(maxchar >= 0x100);
461 assert(maxchar <= 0xFFFF);
464 assert(maxchar >= 0x10000);
465 assert(maxchar <
1221 PyUnicode_New(Py_ssize_t size, Py_UCS4 maxchar) argument
1597 find_maxchar_surrogates(const wchar_t *begin, const wchar_t *end, Py_UCS4 *maxchar, Py_ssize_t *num_surrogates) argument
1640 Py_UCS4 maxchar = 0; local
1914 Py_UCS4 maxchar = ucs1lib_find_max_char( local
1996 Py_UCS4 maxchar = 0; local
2147 align_maxchar(Py_UCS4 maxchar) argument
2516 Py_UCS4 maxchar; local
7817 Py_UCS4 maxchar = writer->maxchar; local
7842 Py_UCS4 maxchar = writer->maxchar; local
9071 Py_UCS4 maxchar = 127, ch, fixed; local
9122 Py_UCS4 maxchar; local
9324 _PyUnicode_InsertThousandsGrouping( PyObject *unicode, Py_ssize_t index, Py_ssize_t n_buffer, void *digits, Py_ssize_t n_digits, Py_ssize_t min_width, const char *grouping, PyObject *thousands_sep, Py_UCS4 *maxchar) argument
9721 do_capitalize(int kind, void *data, Py_ssize_t length, Py_UCS4 *res, Py_UCS4 *maxchar) argument
9745 do_swapcase(int kind, void *data, Py_ssize_t length, Py_UCS4 *res, Py_UCS4 *maxchar) argument
9770 do_upper_or_lower(int kind, void *data, Py_ssize_t length, Py_UCS4 *res, Py_UCS4 *maxchar, int lower) argument
9791 do_upper(int kind, void *data, Py_ssize_t length, Py_UCS4 *res, Py_UCS4 *maxchar) argument
9797 do_lower(int kind, void *data, Py_ssize_t length, Py_UCS4 *res, Py_UCS4 *maxchar) argument
9803 do_casefold(int kind, void *data, Py_ssize_t length, Py_UCS4 *res, Py_UCS4 *maxchar) argument
9820 do_title(int kind, void *data, Py_ssize_t length, Py_UCS4 *res, Py_UCS4 *maxchar) argument
9854 Py_UCS4 maxchar = 0, *tmp, *tmpend; local
9926 Py_UCS4 maxchar; local
10170 Py_UCS4 maxchar; local
10503 Py_UCS4 maxchar, maxchar_str1, maxchar_str2; local
11294 Py_UCS4 maxchar, maxchar2; local
11333 Py_UCS4 maxchar, maxchar2; local
13437 _PyUnicodeWriter_PrepareInternal(_PyUnicodeWriter *writer, Py_ssize_t length, Py_UCS4 maxchar) argument
13517 Py_UCS4 maxchar; local
13555 Py_UCS4 maxchar; local
13587 Py_UCS4 maxchar; local
13682 Py_UCS4 maxchar; local
14668 Py_UCS4 maxchar; local
[all...]

Completed in 159 milliseconds