Searched refs:new_arena (Results 1 – 2 of 2) sorted by relevance
67 zend_arena *new_arena = (zend_arena*)emalloc(arena_size); in zend_arena_alloc() local69 ptr = (char*) new_arena + ZEND_MM_ALIGNED_SIZE(sizeof(zend_arena)); in zend_arena_alloc()70 new_arena->ptr = (char*) new_arena + ZEND_MM_ALIGNED_SIZE(sizeof(zend_arena)) + size; in zend_arena_alloc()71 new_arena->end = (char*) new_arena + arena_size; in zend_arena_alloc()72 new_arena->prev = arena; in zend_arena_alloc()73 *arena_ptr = new_arena; in zend_arena_alloc()
66 zend_arena *new_arena = (zend_arena*)mnd_emalloc(arena_size); in mysqlnd_arena_alloc() local68 ptr = (char*) new_arena + ZEND_MM_ALIGNED_SIZE(sizeof(zend_arena)); in mysqlnd_arena_alloc()69 new_arena->ptr = (char*) new_arena + ZEND_MM_ALIGNED_SIZE(sizeof(zend_arena)) + size; in mysqlnd_arena_alloc()70 new_arena->end = (char*) new_arena + arena_size; in mysqlnd_arena_alloc()71 new_arena->prev = arena; in mysqlnd_arena_alloc()72 *arena_ptr = new_arena; in mysqlnd_arena_alloc()
Completed in 6 milliseconds