Lines Matching defs:copy
681 char *copy = PyMem_RawMalloc(size);
682 if (copy == NULL) {
685 memcpy(copy, str, size);
686 return copy;
694 char *copy = PyMem_Malloc(size);
695 if (copy == NULL) {
698 memcpy(copy, str, size);
699 return copy;
2321 over this block. However, if we do, we need to copy the valid data
2328 memory fault can occur if we try to copy nbytes bytes starting at p.
2338 If it's shrinking, there's a tradeoff: it costs cycles to copy the
2339 block to a smaller size class, but it wastes memory not to copy it.
2341 The compromise here is to copy on shrink only if at least 25% of
2594 uint8_t save[2*ERASED_SIZE]; /* A copy of erased bytes. */
2612 ERASED_SIZE bytes at the end as dead and save the copy of erased bytes.