H A D | transmogrify.h | 280 const char *to_s, Py_ssize_t to_len, in stringlib_replace_interleave() 302 /* result_len = count * to_len + self_len; */ in stringlib_replace_interleave() 304 if (to_len > (PY_SSIZE_T_MAX - self_len) / count) { in stringlib_replace_interleave() 309 result_len = count * to_len + self_len; in stringlib_replace_interleave() 318 if (to_len > 1) { in stringlib_replace_interleave() 320 memcpy(result_s, to_s, to_len); in stringlib_replace_interleave() 321 result_s += to_len; in stringlib_replace_interleave() 326 memcpy(result_s, to_s, to_len); in stringlib_replace_interleave() 327 result_s += to_len; in stringlib_replace_interleave() 332 result_s += to_len; in stringlib_replace_interleave() 279 stringlib_replace_interleave(PyObject *self, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) stringlib_replace_interleave() argument 493 stringlib_replace_substring_in_place(PyObject *self, const char *from_s, Py_ssize_t from_len, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) stringlib_replace_substring_in_place() argument 545 stringlib_replace_single_character(PyObject *self, char from_c, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) stringlib_replace_single_character() argument 609 stringlib_replace_substring(PyObject *self, const char *from_s, Py_ssize_t from_len, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) stringlib_replace_substring() argument 678 stringlib_replace(PyObject *self, const char *from_s, Py_ssize_t from_len, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) stringlib_replace() argument [all...] |