Searched refs:Py_MEMCPY (Results 1 – 11 of 11) sorted by relevance
/external/python/cpython2/Objects/ |
D | stringobject.c | 95 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 …]
|
D | bytearrayobject.c | 1629 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 …]
|
D | bytes_methods.c | 259 Py_MEMCPY(result, cptr, len); in _Py_bytes_lower() 287 Py_MEMCPY(result, cptr, len); in _Py_bytes_upper()
|
D | unicodeobject.c | 724 Py_MEMCPY(count, vargs, sizeof(va_list)); in PyUnicode_FromFormatV()
|
/external/python/cpython2/Include/ |
D | pyport.h | 305 #define Py_MEMCPY(target, source, length) do { \ macro 316 #define Py_MEMCPY memcpy macro
|
D | unicodeobject.h | 394 Py_MEMCPY((target), (source), (length)*sizeof(Py_UNICODE))
|
/external/python/cpython2/Objects/stringlib/ |
D | transmogrify.h | 110 Py_MEMCPY(STRINGLIB_STR(u) + left, in pad()
|
/external/python/cpython3/Include/ |
D | pyport.h | 197 #define Py_MEMCPY memcpy macro
|
/external/python/cpython2/Modules/ |
D | zlibmodule.c | 550 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/ |
D | 3.6.0b2.rst | 208 Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize
|
D | 3.7.0a1.rst | 1472 Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize
|