/external/python/cpython3/Python/ |
D | bootstrap_hash.c | 123 n = Py_MIN(size, 1024); in py_getrandom() 125 n = Py_MIN(size, LONG_MAX); in py_getrandom() 226 Py_ssize_t len = Py_MIN(size, 256); in py_getentropy()
|
D | getargs.c | 1803 (Py_MIN(pos, min) < i) ? "at least" : "exactly", in vgetargskeywords() 1804 Py_MIN(pos, min), nargs); in vgetargskeywords() 1952 parser->min = Py_MIN(min, len); in parser_init() 1953 parser->max = Py_MIN(max, len); in parser_init() 2152 Py_ssize_t min = Py_MIN(pos, parser->min); in vgetargskeywordsfast_impl()
|
D | fileutils.c | 1630 int isize = (int)Py_MIN(size, INT_MAX); in _Py_wgetcwd()
|
/external/python/cpython3/Modules/ |
D | _bz2module.c | 161 c->bzs.avail_in = (unsigned int)Py_MIN(len, UINT_MAX); in compress() 177 c->bzs.avail_out = (unsigned int)Py_MIN(buffer_left, UINT_MAX); in compress() 430 bzs->avail_out = (unsigned int)Py_MIN(avail, UINT_MAX); in decompress_buf() 431 bzs->avail_in = (unsigned int)Py_MIN(d->bzs_avail_in_real, UINT_MAX); in decompress_buf()
|
D | _cursesmodule.c | 1250 rtn2 = wgetnstr(self->win, rtn, Py_MIN(n, 1023)); in PyCursesWindow_GetStr() 1274 wgetnstr(self->win, rtn, Py_MIN(n, 1023)); in PyCursesWindow_GetStr() 1278 rtn2 = mvwgetnstr(self->win, y, x, rtn, Py_MIN(n, 1023)); in PyCursesWindow_GetStr() 1421 rtn2 = winnstr(self->win, rtn, Py_MIN(n, 1023)); in PyCursesWindow_InStr() 1435 rtn2 = mvwinnstr(self->win, y, x, rtn, Py_MIN(n,1023)); in PyCursesWindow_InStr()
|
D | zlibmodule.c | 136 zst->avail_in = (uInt)Py_MIN((size_t)*remains, UINT_MAX); in arrange_input_buffer() 171 zst->avail_out = (uInt)Py_MIN((size_t)(length - occupied), UINT_MAX); in arrange_output_buffer_with_maximum()
|
D | sha1module.c | 226 n = Py_MIN(inlen, (Py_ssize_t)(SHA1_BLOCKSIZE - sha1->curlen)); in sha1_process()
|
D | overlapped.c | 765 size = Py_MIN(size, (DWORD)PY_SSIZE_T_MAX); in Overlapped_ReadFile() 870 size = Py_MIN(size, (DWORD)PY_SSIZE_T_MAX); in Overlapped_WSARecv()
|
D | md5module.c | 250 n = Py_MIN(inlen, (Py_ssize_t)(MD5_BLOCKSIZE - md5->curlen)); in md5_process()
|
D | _sre.c | 1932 i = Py_MIN(i, length); in match_getslice_by_index() 1933 j = Py_MIN(j, length); in match_getslice_by_index()
|
D | _threadmodule.c | 1372 timeout_max = Py_MIN(timeout_max, time_max); in PyInit__thread()
|
D | ossaudiodev.c | 497 rv = _Py_write(self->fd, cp, Py_MIN(size, INT_MAX)); in oss_writeall()
|
D | _winapi.c | 1656 len = (DWORD)Py_MIN(buf->len, PY_DWORD_MAX); in _winapi_WriteFile_impl()
|
/external/python/cpython3/Include/ |
D | pymacro.h | 5 #define Py_MIN(x, y) (((x) > (y)) ? (y) : (x)) macro
|
/external/python/cpython3/Programs/ |
D | _freeze_importlib.c | 132 size_t i, end = Py_MIN(n + 16, data_size); in main()
|
/external/python/cpython3/Modules/_multiprocessing/ |
D | multiprocessing.c | 107 length = (int)Py_MIN(buf.len, INT_MAX); in multiprocessing_send()
|
/external/python/cpython3/Objects/ |
D | frameobject.c | 198 min_addr = Py_MIN(new_lasti, f->f_lasti); in frame_setlineno() 331 min_delta_iblock = Py_MIN(min_delta_iblock, delta_iblock); in frame_setlineno()
|
D | obmalloc.c | 2202 memcpy(data, save, Py_MIN(nbytes, original_nbytes)); in _PyMem_DebugRawRealloc() 2206 memcpy(data, save, Py_MIN(nbytes, ERASED_SIZE)); in _PyMem_DebugRawRealloc() 2209 Py_MIN(nbytes - i, ERASED_SIZE)); in _PyMem_DebugRawRealloc()
|
D | bytearrayobject.c | 248 Py_MIN((size_t)requested_size, (size_t)Py_SIZE(self))); in PyByteArray_Resize() 1055 Py_MIN(self_size, other_size)); in bytearray_richcompare()
|
D | unicodeobject.c | 1080 copy_length = Py_MIN(length, PyUnicode_GET_LENGTH(unicode)); in resize_copy() 1091 copy_length = Py_MIN(copy_length, length); in resize_copy() 1604 how_many = Py_MIN(PyUnicode_GET_LENGTH(from)-from_start, how_many); in PyUnicode_CopyCharacters() 2549 length = Py_MIN(precision, length); in unicode_fromformat_write_str() 8150 length = Py_MIN(length, 256); in PyUnicode_BuildEncodingMap() 9424 len = Py_MIN(len, Py_MAX(Py_MAX(remaining, min_width), 1)); in _PyUnicode_InsertThousandsGrouping() 9426 n_chars = Py_MAX(0, Py_MIN(remaining, len)); in _PyUnicode_InsertThousandsGrouping() 9457 n_chars = Py_MAX(0, Py_MIN(remaining, len)); in _PyUnicode_InsertThousandsGrouping() 10129 length = Py_MIN(maxlen, length); in PyUnicode_Fill() 10860 len = Py_MIN(len1, len2); in unicode_compare() [all …]
|
D | bytesobject.c | 1635 min_len = Py_MIN(len_a, len_b); in bytes_richcompare() 3409 writer->allocated = Py_MIN(writer->allocated, 10); in _PyBytesWriter_Alloc()
|
D | longobject.c | 2487 strobj = PyBytes_FromStringAndSize(s, Py_MIN(len, 200)); in _PyLong_FromBytes() 3249 size_lo = Py_MIN(size_n, size); in kmul_split() 3520 const Py_ssize_t nbtouse = Py_MIN(bsize, asize); in k_lopsided_mul()
|
D | floatobject.c | 1387 if (ndigits > Py_MIN(DBL_MIN_EXP - DBL_MANT_DIG - LONG_MIN/2, in float_fromhex()
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 1630 min_len = Py_MIN(len_a, len_b); in bytes_richcompare() 3364 writer->allocated = Py_MIN(writer->allocated, 10); in _PyBytesWriter_Alloc()
|
/external/python/cpython3/Modules/_io/ |
D | bufferedio.c | 944 n = Py_MIN(have, n); in _io__Buffered_read1_impl()
|