Lines Matching refs:allocator
22 * allocator are provided.
123 * @brief Defines a memory allocator for data in `Parcel`.
137 * @brief Provides the default implementation for a memory allocator.
139 * @note A non-default allocator for a parcel must be specified manually.
181 * @brief Creates a `Parcel` object with the specified memory allocator.
183 * @param allocator Indicates the memory allocator.
185 explicit Parcel(Allocator *allocator);
258 * @note The memory allocator will try to reallocate the data region
690 * @brief Sets a memory allocator for this parcel.
692 * The new allocator will reallocate the data region that has been written.
694 * @param allocator Indicates the pointer to an `Allocator` object.
698 bool SetAllocator(Allocator *allocator);