Home | History | Annotate | Download | only in Python

Lines Matching refs:block

3 /* A simple arena block structure.
7 block.
17 /* Total number of bytes owned by this block available to pass out.
34 /* Pointer to the first allocatable byte owned by this block. Read-
38 } block;
46 /* Pointer to the first block allocated for the arena, never NULL.
47 It is used only to find the first block when the arena is
50 block *a_head;
52 /* Pointer to the block currently used for allocation. It's
54 call to block_alloc(), it means a new block has been allocated
57 block *a_cur;
75 static block *
78 /* Allocate header and block as one unit.
80 block *b = (block *)PyMem_Malloc(sizeof(block) + size);
92 block_free(block *b) {
94 block *next = b->ab_next;
101 block_alloc(block *b, size_t size)
108 the default block, allocate a one-off block that is
110 /* TODO(jhylton): Think about space waste at end of block */
111 block *newbl = block_new(
189 /* Reset cur if we allocated a new block. */