Searched refs:max_char_size (Results 1 – 5 of 5) sorted by relevance
276 const Py_ssize_t max_char_size = 2; in STRINGLIB() local278 const Py_ssize_t max_char_size = 3; in STRINGLIB() local280 const Py_ssize_t max_char_size = 4; in STRINGLIB() local284 if (size > PY_SSIZE_T_MAX / max_char_size) { in STRINGLIB()291 p = _PyBytesWriter_Alloc(writer, size * max_char_size); in STRINGLIB()351 writer->min_size -= max_char_size * (endpos - startpos); in STRINGLIB()361 writer->min_size -= max_char_size * (endpos - startpos); in STRINGLIB()391 writer->min_size -= max_char_size * (newpos - startpos); in STRINGLIB()
80 size_t max_char_size() const;
157 const uint32_t limit = source_length * to.max_char_size(); in Transcode()387 size_t Converter::max_char_size() const { in max_char_size() function in node::i18n::Converter
77 max_len_=cvt.max_char_size(); in icu_std_converter()123 int max_char_size() in max_char_size() function
5492 const Py_ssize_t max_char_size = 4; in _Py_EncodeUTF8Ex() local5513 if (len > PY_SSIZE_T_MAX / max_char_size - 1) { in _Py_EncodeUTF8Ex()5518 bytes = PyMem_RawMalloc((len + 1) * max_char_size); in _Py_EncodeUTF8Ex()5521 bytes = PyMem_Malloc((len + 1) * max_char_size); in _Py_EncodeUTF8Ex()