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.c900 block *freeblock; /* pool's free list head */ member
1415 bp = pool->freeblock; in pymalloc_alloc()
1417 if ((pool->freeblock = *(block **)bp) != NULL) { in pymalloc_alloc()
1426 pool->freeblock = (block*)pool + in pymalloc_alloc()
1429 *(block **)(pool->freeblock) = NULL; in pymalloc_alloc()
1512 bp = pool->freeblock; in pymalloc_alloc()
1514 pool->freeblock = *(block **)bp; in pymalloc_alloc()
1527 pool->freeblock = bp + size; in pymalloc_alloc()
1528 *(block **)(pool->freeblock) = NULL; in pymalloc_alloc()
1643 *(block **)p = 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.c136 freeblock(block *b) in freeblock() function
197 freeblock(deque->rightblock); in deque_pop()
235 freeblock(deque->leftblock); in deque_popleft()
653 freeblock(prevblock); in deque_clear()
659 freeblock(leftblock); in deque_clear()
915 freeblock(b); in _deque_rotate()
1315 freeblock(deque->leftblock); in deque_dealloc()