Home
last modified time | relevance | path

Searched refs:ab_offset (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Python/
Dpyarena.c29 size_t ab_offset; member
89 b->ab_offset = ROUNDUP((Py_uintptr_t)(b->ab_mem)) - in block_new()
109 if (b->ab_offset + size > b->ab_size) { in block_alloc()
124 assert(b->ab_offset + size <= b->ab_size); in block_alloc()
125 p = (void *)(((char *)b->ab_mem) + b->ab_offset); in block_alloc()
126 b->ab_offset += size; in block_alloc()
/external/python/cpython3/Python/
Dpyarena.c26 size_t ab_offset; member
86 b->ab_offset = (char *)_Py_ALIGN_UP(b->ab_mem, ALIGNMENT) - in block_new()
106 if (b->ab_offset + size > b->ab_size) { in block_alloc()
121 assert(b->ab_offset + size <= b->ab_size); in block_alloc()
122 p = (void *)(((char *)b->ab_mem) + b->ab_offset); in block_alloc()
123 b->ab_offset += size; in block_alloc()