Lines Matching refs:original_nbytes
2229 size_t original_nbytes; in _PyMem_DebugRawRealloc() local
2237 original_nbytes = read_size_t(head); in _PyMem_DebugRawRealloc()
2244 tail = data + original_nbytes; in _PyMem_DebugRawRealloc()
2251 if (original_nbytes <= sizeof(save)) { in _PyMem_DebugRawRealloc()
2252 memcpy(save, data, original_nbytes); in _PyMem_DebugRawRealloc()
2254 original_nbytes + PYMEM_DEBUG_EXTRA_BYTES); in _PyMem_DebugRawRealloc()
2269 nbytes = original_nbytes; in _PyMem_DebugRawRealloc()
2291 if (original_nbytes <= sizeof(save)) { in _PyMem_DebugRawRealloc()
2292 memcpy(data, save, Py_MIN(nbytes, original_nbytes)); in _PyMem_DebugRawRealloc()
2295 size_t i = original_nbytes - ERASED_SIZE; in _PyMem_DebugRawRealloc()
2307 if (nbytes > original_nbytes) { in _PyMem_DebugRawRealloc()
2309 memset(data + original_nbytes, PYMEM_CLEANBYTE, in _PyMem_DebugRawRealloc()
2310 nbytes - original_nbytes); in _PyMem_DebugRawRealloc()