Home
last modified time | relevance | path

Searched refs:freeblock (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Objects/
Dobmalloc.c283 block *freeblock; /* pool's free list head */ member
829 bp = pool->freeblock; in PyObject_Malloc()
831 if ((pool->freeblock = *(block **)bp) != NULL) { in PyObject_Malloc()
840 pool->freeblock = (block*)pool + in PyObject_Malloc()
843 *(block **)(pool->freeblock) = NULL; in PyObject_Malloc()
928 bp = pool->freeblock; in PyObject_Malloc()
929 pool->freeblock = *(block **)bp; in PyObject_Malloc()
943 pool->freeblock = bp + size; in PyObject_Malloc()
944 *(block **)(pool->freeblock) = NULL; in PyObject_Malloc()
1023 *(block **)p = lastfree = pool->freeblock; in PyObject_Free()
[all …]
/external/python/cpython3/Objects/
Dobmalloc.c941 block *freeblock; /* pool's free list head */ member
1436 pool->freeblock = (block*)pool + pool->nextoffset; in pymalloc_pool_extend()
1438 *(block **)(pool->freeblock) = NULL; in pymalloc_pool_extend()
1561 bp = pool->freeblock; in allocate_from_new_pool()
1563 pool->freeblock = *(block **)bp; in allocate_from_new_pool()
1576 pool->freeblock = bp + size; in allocate_from_new_pool()
1577 *(block **)(pool->freeblock) = NULL; in allocate_from_new_pool()
1618 bp = pool->freeblock; in pymalloc_alloc()
1621 if (UNLIKELY((pool->freeblock = *(block **)bp) == NULL)) { in pymalloc_alloc()
1878 block *lastfree = pool->freeblock; in pymalloc_free()
[all …]
/external/python/cpython2/Modules/
D_collectionsmodule.c86 freeblock(block *b) in freeblock() function
181 freeblock(deque->rightblock); in deque_pop()
218 freeblock(deque->leftblock); in deque_popleft()
457 freeblock(deque->rightblock); in _deque_rotate()
491 freeblock(deque->leftblock); in _deque_rotate()
699 freeblock(prevblock); in deque_clear()
703 freeblock(leftblock); in deque_clear()
830 freeblock(deque->leftblock); in deque_dealloc()
/external/python/cpython3/Modules/
D_collectionsmodule.c145 freeblock(block *b) in freeblock() function
206 freeblock(deque->rightblock); in deque_pop()
244 freeblock(deque->leftblock); in deque_popleft()
625 freeblock(prevblock); in deque_clear()
631 freeblock(leftblock); in deque_clear()
887 freeblock(b); in _deque_rotate()
1293 freeblock(deque->leftblock); in deque_dealloc()