/third_party/python/Python/ |
D | formatter_unicode.c | 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() 819 maxchar = Py_MAX(maxchar, format->fill_char); in format_string_internal() 822 maxchar = Py_MAX(maxchar, valmaxchar); in format_string_internal() 911 maxchar = Py_MAX(maxchar, (Py_UCS4)x); in format_long_internal() 1356 maxchar = Py_MAX(maxchar, format->fill_char); in format_complex_internal()
|
D | suggestions.c | 285 max_cost = MOVE_COST * Py_MAX(size_a, size_b); in _Py_UTF8_Edit_Cost()
|
D | fileutils.c | 2395 first = Py_MAX(first, 0); in _Py_closerange()
|
D | marshal.c | 122 delta = Py_MAX(delta, needed); in w_reserve()
|
D | getargs.c | 2373 for (i = Py_MAX((int)nargs, posonly); i < maxargs; i++) { in _PyArg_UnpackKeywords()
|
/third_party/python/Objects/stringlib/ |
D | localeutil.h | 56 *maxchar = Py_MAX(*maxchar, maxchar2); in InsertThousandsGrouping_fill()
|
D | fastsearch.h | 324 p->period = Py_MAX(p->cut, len_needle - p->cut) + 1; in STRINGLIB() 361 Py_ssize_t i = Py_MAX(cut, memory); in STRINGLIB() 384 window += Py_MAX(shift, memory_shift); in STRINGLIB()
|
/third_party/python/Include/ |
D | pymacro.h | 8 #define Py_MAX(x, y) (((x) > (y)) ? (x) : (y)) macro
|
/third_party/python/Objects/ |
D | unicodeobject.c | 2377 Py_ssize_t new_size = Py_MAX(index * 2, 16); in _PyUnicode_FromId() 2791 arglen = Py_MAX(length, width); in unicode_fromformat_write_str() 2986 arglen = Py_MAX(precision, width); in unicode_fromformat_arg() 9609 maxchar = Py_MAX(maxchar, ch); in PyUnicode_TransformDecimalToASCII() 9834 min_width = Py_MAX(0, min_width); in _PyUnicode_InsertThousandsGrouping() 9893 len = Py_MIN(len, Py_MAX(Py_MAX(remaining, min_width), 1)); in _PyUnicode_InsertThousandsGrouping() 9894 n_zeros = Py_MAX(0, len - remaining); in _PyUnicode_InsertThousandsGrouping() 9895 n_chars = Py_MAX(0, Py_MIN(remaining, len)); in _PyUnicode_InsertThousandsGrouping() 9924 len = Py_MAX(Py_MAX(remaining, min_width), 1); in _PyUnicode_InsertThousandsGrouping() 9925 n_zeros = Py_MAX(0, len - remaining); in _PyUnicode_InsertThousandsGrouping() [all …]
|
D | floatobject.c | 1225 shift = 1 - Py_MAX(DBL_MIN_EXP - e, 0); in float_hex_impl() 1443 lsb = Py_MAX(top_exp, (long)DBL_MIN_EXP) - DBL_MANT_DIG; in float_fromhex()
|
D | longobject.c | 3884 shift = Py_MAX(diff, DBL_MIN_EXP) - DBL_MANT_DIG - 2; in long_true_divide() 3955 extra_bits = Py_MAX(x_bits, DBL_MIN_EXP - shift) - DBL_MANT_DIG; in long_true_divide()
|
/third_party/python/Modules/ |
D | overlapped.c | 981 buf = PyBytes_FromStringAndSize(NULL, Py_MAX(size, 1)); in _overlapped_Overlapped_ReadFile_impl() 1088 buf = PyBytes_FromStringAndSize(NULL, Py_MAX(size, 1)); in _overlapped_Overlapped_WSARecv_impl() 1789 buf = PyBytes_FromStringAndSize(NULL, Py_MAX(size, 1)); in _overlapped_Overlapped_WSARecvFrom_impl()
|
D | socketmodule.c | 6330 char packed[Py_MAX(sizeof(struct in_addr), sizeof(struct in6_addr))]; 6380 char ip[Py_MAX(INET_ADDRSTRLEN, INET6_ADDRSTRLEN)];
|
D | _datetimemodule.c | 6167 return fold?Py_MIN(u1, u2):Py_MAX(u1, u2); in local_to_seconds()
|
D | posixmodule.c | 4384 buflen = Py_MAX(path->length, MAX_PATH); in os__getvolumepathname_impl()
|
/third_party/python/Modules/cjkcodecs/ |
D | cjkcodecs.h | 145 if (_PyUnicodeWriter_Prepare(writer, 2, Py_MAX(_c1, c2)) < 0) \
|
/third_party/python/Modules/_io/ |
D | bytesio.c | 207 if (unshare_buffer(self, Py_MAX(endpos, (size_t)self->string_size)) < 0) { in write_bytes()
|
D | textio.c | 1858 size_hint = (Py_ssize_t)(Py_MAX(self->b2cratio, 1.0) * size_hint); in textiowrapper_read_chunk() 1860 chunk_size = PyLong_FromSsize_t(Py_MAX(self->chunk_size, size_hint)); in textiowrapper_read_chunk()
|
/third_party/python/Parser/ |
D | tokenizer.c | 371 Py_ssize_t newsize = oldsize + Py_MAX(size, oldsize >> 1); in tok_reserve_buf()
|
/third_party/python/Doc/c-api/ |
D | intro.rst | 142 .. c:macro:: Py_MAX(x, y)
|