Lines Matching defs:pymalloc

97        return a pointer with no memory behind it, which would break pymalloc.
110 pymalloc. To solve these problems, allocate an extra byte. */
287 else if (strcmp(name, "pymalloc") == 0) {
335 PyMemAllocatorEx pymalloc = PYMALLOC_ALLOC;
336 PyMem_SetAllocator(PYMEM_DOMAIN_MEM, &pymalloc);
337 PyMem_SetAllocator(PYMEM_DOMAIN_OBJ, &pymalloc);
380 PyMemAllocatorEx pymalloc = PYMALLOC_ALLOC;
391 pymemallocator_eq(&_PyMem, &pymalloc) &&
392 pymemallocator_eq(&_PyObject, &pymalloc))
394 return "pymalloc";
415 pymemallocator_eq(&_PyMem_Debug.mem.alloc, &pymalloc) &&
416 pymemallocator_eq(&_PyMem_Debug.obj.alloc, &pymalloc))
1120 pymalloc strives at all levels (arena, pool, and block) never to touch a piece
1684 pymalloc. When the radix tree is used, 'poolp' is unused.
1695 Return true if and only if P is an address that was allocated by pymalloc.
1713 Obscure: A PyMem "free memory" function can call the pymalloc free or realloc
1939 /* pymalloc allocator
1941 Return a pointer to newly allocated memory if pymalloc allocated memory.
1943 Return NULL if pymalloc failed to allocate the memory block: on bigger
2284 /* pymalloc didn't allocate this address */
2291 /* pymalloc realloc.
2296 Return 1 if pymalloc reallocated memory and wrote the new pointer into
2299 Return 0 if pymalloc didn't allocated p. */
2318 /* pymalloc is not managing this block.
2333 /* pymalloc is in charge of this block */
2380 /* pymalloc not enabled: Redirect the entry points to malloc. These will
2381 * only be used by extensions that are compiled with pymalloc enabled. */
2462 &p[2*S] is returned. Note that this is 8-byte aligned if pymalloc
2950 /* Print summary info to "out" about the state of pymalloc's structures.