Home
last modified time | relevance | path

Searched refs:Py_MEMCPY (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython2/Objects/
Dstringobject.c95 Py_MEMCPY(op->ob_sval, str, size); in PyString_FromStringAndSize()
149 Py_MEMCPY(op->ob_sval, str, size+1); in PyString_FromString()
177 Py_MEMCPY(count, vargs, sizeof(va_list)); in PyString_FromFormatV()
366 Py_MEMCPY(s, p, i); in PyString_FromFormatV()
652 Py_MEMCPY(p, r, rn); in PyString_DecodeEscape()
1073 Py_MEMCPY(op->ob_sval, a->ob_sval, Py_SIZE(a)); in string_concat()
1074 Py_MEMCPY(op->ob_sval + Py_SIZE(a), b->ob_sval, Py_SIZE(b)); in string_concat()
1122 Py_MEMCPY(op->ob_sval, a->ob_sval, Py_SIZE(a)); in string_repeat()
1127 Py_MEMCPY(op->ob_sval+i, op->ob_sval, j); in string_repeat()
1677 Py_MEMCPY(p, PyString_AS_STRING(item), n); in string_join()
[all …]
Dbytearrayobject.c1629 Py_MEMCPY(result_s, to_s, to_len); in replace_interleave()
1635 Py_MEMCPY(result_s, to_s, to_len); in replace_interleave()
1640 Py_MEMCPY(result_s, self_s, self_len-i); in replace_interleave()
1679 Py_MEMCPY(result_s, start, next-start); in replace_delete_single_character()
1683 Py_MEMCPY(result_s, start, end-start); in replace_delete_single_character()
1732 Py_MEMCPY(result_s, start, next-start); in replace_delete_substring()
1737 Py_MEMCPY(result_s, start, end-start); in replace_delete_substring()
1767 Py_MEMCPY(result_s, self_s, self_len); in replace_single_character_in_place()
1816 Py_MEMCPY(result_s, self_s, self_len); in replace_substring_in_place()
1820 Py_MEMCPY(start, to_s, from_len); in replace_substring_in_place()
[all …]
Dbytes_methods.c259 Py_MEMCPY(result, cptr, len); in _Py_bytes_lower()
287 Py_MEMCPY(result, cptr, len); in _Py_bytes_upper()
Dunicodeobject.c724 Py_MEMCPY(count, vargs, sizeof(va_list)); in PyUnicode_FromFormatV()
/external/python/cpython2/Include/
Dpyport.h305 #define Py_MEMCPY(target, source, length) do { \ macro
316 #define Py_MEMCPY memcpy macro
Dunicodeobject.h394 Py_MEMCPY((target), (source), (length)*sizeof(Py_UNICODE))
/external/python/cpython2/Objects/stringlib/
Dtransmogrify.h110 Py_MEMCPY(STRINGLIB_STR(u) + left, in pad()
/external/python/cpython3/Include/
Dpyport.h197 #define Py_MEMCPY memcpy macro
/external/python/cpython2/Modules/
Dzlibmodule.c550 Py_MEMCPY(PyString_AS_STRING(new_data), in save_unconsumed_input()
552 Py_MEMCPY(PyString_AS_STRING(new_data) + old_size, in save_unconsumed_input()
/external/python/cpython3/Misc/NEWS.d/
D3.6.0b2.rst208 Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize
D3.7.0a1.rst1472 Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize