Searched refs:MemoryAllocation (Results 1 – 4 of 4) sorted by relevance
77 MemoryAllocation::MemoryAllocation(const void* ptr, size_t num_bytes, in MemoryAllocation() function in tflite::MemoryAllocation84 MemoryAllocation::~MemoryAllocation() {} in ~MemoryAllocation()86 const void* MemoryAllocation::base() const { return buffer_; } in base()88 size_t MemoryAllocation::bytes() const { return buffer_size_bytes_; } in bytes()90 bool MemoryAllocation::valid() const { return buffer_ != nullptr; } in valid()
78 class MemoryAllocation : public Allocation {83 MemoryAllocation(const void* ptr, size_t num_bytes,85 virtual ~MemoryAllocation();
129 new MemoryAllocation(caller_owned_buffer, buffer_size, error_reporter)); in BuildFromBuffer()
79 class MemoryAllocation : public Allocation {84 MemoryAllocation(const void* ptr, size_t num_bytes,86 virtual ~MemoryAllocation();