Lines Matching refs:ret
229 uint8_t* ret; in AllocWithMemoryTool() local
231 ret = AllocFromNewArenaWithMemoryTool(rounded_bytes); in AllocWithMemoryTool()
233 ret = ptr_; in AllocWithMemoryTool()
236 MEMORY_TOOL_MAKE_DEFINED(ret, bytes); in AllocWithMemoryTool()
238 DCHECK(std::all_of(ret, ret + bytes, [](uint8_t val) { return val == 0u; })); in AllocWithMemoryTool()
239 return ret; in AllocWithMemoryTool()
251 uint8_t* ret; in AllocWithMemoryToolAlign16() local
254 ret = AllocFromNewArenaWithMemoryTool(rounded_bytes); in AllocWithMemoryToolAlign16()
257 ret = ptr_; in AllocWithMemoryToolAlign16()
260 MEMORY_TOOL_MAKE_DEFINED(ret, bytes); in AllocWithMemoryToolAlign16()
262 DCHECK(std::all_of(ret, ret + bytes, [](uint8_t val) { return val == 0u; })); in AllocWithMemoryToolAlign16()
263 return ret; in AllocWithMemoryToolAlign16()
297 uint8_t* ret = AllocFromNewArena(bytes); in AllocFromNewArenaWithMemoryTool() local
298 uint8_t* noaccess_begin = ret + bytes; in AllocFromNewArenaWithMemoryTool()
300 if (ret == arena_head_->Begin()) { in AllocFromNewArenaWithMemoryTool()
301 DCHECK(ptr_ - bytes == ret); in AllocFromNewArenaWithMemoryTool()
306 DCHECK(ret == arena_head_->next_->Begin()); in AllocFromNewArenaWithMemoryTool()
311 return ret; in AllocFromNewArenaWithMemoryTool()