Searched refs:ERASED_SIZE (Results 1 – 1 of 1) sorted by relevance
/external/python/cpython3/Objects/ |
D | obmalloc.c | 2150 #define ERASED_SIZE 64 in _PyMem_DebugRawRealloc() macro 2151 uint8_t save[2*ERASED_SIZE]; /* A copy of erased bytes. */ in _PyMem_DebugRawRealloc() 2174 memcpy(save, data, ERASED_SIZE); in _PyMem_DebugRawRealloc() 2175 memset(head, DEADBYTE, ERASED_SIZE + 2*SST); in _PyMem_DebugRawRealloc() 2176 memcpy(&save[ERASED_SIZE], tail - ERASED_SIZE, ERASED_SIZE); in _PyMem_DebugRawRealloc() 2177 memset(tail - ERASED_SIZE, DEADBYTE, ERASED_SIZE + 2*SST); in _PyMem_DebugRawRealloc() 2205 size_t i = original_nbytes - ERASED_SIZE; in _PyMem_DebugRawRealloc() 2206 memcpy(data, save, Py_MIN(nbytes, ERASED_SIZE)); in _PyMem_DebugRawRealloc() 2208 memcpy(data + i, &save[ERASED_SIZE], in _PyMem_DebugRawRealloc() 2209 Py_MIN(nbytes - i, ERASED_SIZE)); in _PyMem_DebugRawRealloc()
|