Lines Matching defs:block
4 /* A simple arena block structure.
8 block.
18 /* Total number of bytes owned by this block available to pass out.
35 /* Pointer to the first allocatable byte owned by this block. Read-
39 } block;
47 /* Pointer to the first block allocated for the arena, never NULL.
48 It is used only to find the first block when the arena is
51 block *a_head;
53 /* Pointer to the block currently used for allocation. Its
55 call to block_alloc(), it means a new block has been allocated
58 block *a_cur;
76 static block *
79 /* Allocate header and block as one unit.
81 block *b = (block *)PyMem_Malloc(sizeof(block) + size);
93 block_free(block *b) {
95 block *next = b->ab_next;
102 block_alloc(block *b, size_t size)
109 the default block, allocate a one-off block that is
111 /* TODO(jhylton): Think about space waste at end of block */
112 block *newbl = block_new(
190 /* Reset cur if we allocated a new block. */