Lines Matching defs:other
52 IonBuffer::IonBuffer(IonBuffer&& other) : IonBuffer() {
53 *this = std::move(other);
56 IonBuffer& IonBuffer::operator=(IonBuffer&& other) {
57 ALOGD_IF(TRACE, "IonBuffer::operator=: handle_=%p other.handle_=%p", handle(),
58 other.handle());
60 if (this != &other) {
61 buffer_ = other.buffer_;
62 other.FreeHandle();
161 int IonBuffer::Duplicate(const IonBuffer* other) {
162 if (!other->handle())
165 const int fd_count = other->handle()->numFds;
166 const int int_count = other->handle()->numInts;
177 // Duplicate the file descriptors from the other native handle.
179 handle->data[i] = dup(other->handle()->data[i]);
182 memcpy(handle->data + fd_count, other->handle()->data + fd_count,
186 Import(handle, other->width(), other->height(), other->layer_count(),
187 other->stride(), other->format(), other->usage());