Lines Matching refs:original_nbytes
2545 size_t original_nbytes; in _PyMem_DebugRawRealloc() local
2553 original_nbytes = read_size_t(head); in _PyMem_DebugRawRealloc()
2560 tail = data + original_nbytes; in _PyMem_DebugRawRealloc()
2567 if (original_nbytes <= sizeof(save)) { in _PyMem_DebugRawRealloc()
2568 memcpy(save, data, original_nbytes); in _PyMem_DebugRawRealloc()
2570 original_nbytes + PYMEM_DEBUG_EXTRA_BYTES); in _PyMem_DebugRawRealloc()
2585 nbytes = original_nbytes; in _PyMem_DebugRawRealloc()
2607 if (original_nbytes <= sizeof(save)) { in _PyMem_DebugRawRealloc()
2608 memcpy(data, save, Py_MIN(nbytes, original_nbytes)); in _PyMem_DebugRawRealloc()
2611 size_t i = original_nbytes - ERASED_SIZE; in _PyMem_DebugRawRealloc()
2623 if (nbytes > original_nbytes) { in _PyMem_DebugRawRealloc()
2625 memset(data + original_nbytes, PYMEM_CLEANBYTE, in _PyMem_DebugRawRealloc()
2626 nbytes - original_nbytes); in _PyMem_DebugRawRealloc()