Searched refs:allocated_ptr (Results 1 – 3 of 3) sorted by relevance
89 void* allocated_ptr = base_allocator_->AllocateRaw(alignment, num_bytes); in AllocateRaw() local90 if (allocated_ptr == nullptr) return allocated_ptr; in AllocateRaw()93 void* rv = static_cast<char*>(allocated_ptr) + MASK_BYTES; in AllocateRaw()96 InitMask(stream_exec_, allocated_ptr, before_mask); in AllocateRaw()99 size_t req_size = base_allocator_->RequestedSize(allocated_ptr); in AllocateRaw()101 static_cast<char*>(allocated_ptr) + req_size - MASK_BYTES, in AllocateRaw()166 void* allocated_ptr = base_allocator_->AllocateRaw(alignment, num_bytes); in AllocateRaw() local167 if (allocated_ptr == nullptr) return allocated_ptr; in AllocateRaw()170 size_t req_size = base_allocator_->RequestedSize(allocated_ptr); in AllocateRaw()174 se::DeviceMemoryBase{static_cast<float*>(allocated_ptr), req_size}}; in AllocateRaw()[all …]
58 uintptr_t allocated_ptr = first_ptr + bin_size * bit; in je_iterate() local59 if (allocated_ptr >= end_ptr) { in je_iterate()62 callback(allocated_ptr, bin_size, arg); in je_iterate()
131 static void Construct(void* allocated_ptr) { new (allocated_ptr) T(); } in Construct()