Home
last modified time | relevance | path

Searched refs:Py_MEMCPY (Results 1 – 8 of 8) 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()
646 Py_MEMCPY(p, r, rn); in PyString_DecodeEscape()
1067 Py_MEMCPY(op->ob_sval, a->ob_sval, Py_SIZE(a)); in string_concat()
1068 Py_MEMCPY(op->ob_sval + Py_SIZE(a), b->ob_sval, Py_SIZE(b)); in string_concat()
1116 Py_MEMCPY(op->ob_sval, a->ob_sval, Py_SIZE(a)); in string_repeat()
1121 Py_MEMCPY(op->ob_sval+i, op->ob_sval, j); in string_repeat()
1671 Py_MEMCPY(p, PyString_AS_STRING(item), n); in string_join()
[all …]
Dbytearrayobject.c1609 Py_MEMCPY(result_s, to_s, to_len); in replace_interleave()
1615 Py_MEMCPY(result_s, to_s, to_len); in replace_interleave()
1620 Py_MEMCPY(result_s, self_s, self_len-i); in replace_interleave()
1659 Py_MEMCPY(result_s, start, next-start); in replace_delete_single_character()
1663 Py_MEMCPY(result_s, start, end-start); in replace_delete_single_character()
1712 Py_MEMCPY(result_s, start, next-start); in replace_delete_substring()
1717 Py_MEMCPY(result_s, start, end-start); in replace_delete_substring()
1747 Py_MEMCPY(result_s, self_s, self_len); in replace_single_character_in_place()
1796 Py_MEMCPY(result_s, self_s, self_len); in replace_substring_in_place()
1800 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/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()