Searched refs:SharedControl (Results 1 – 3 of 3) sorted by relevance
51 MediaBuffer((uint8_t *)mem->pointer() + sizeof(SharedControl), mem->size()) { in MediaBuffer()99 reinterpret_cast<SharedControl *>(mMemory->pointer())->getRemoteRefcount(); in remoteRefcount()111 return reinterpret_cast<SharedControl *>(mMemory->pointer())->addRemoteRefcount(value); in addRemoteRefcount()125 return reinterpret_cast<SharedControl *>(memory->pointer())->isDeadObject(); in isDeadObject()177 struct SharedControl { struct221 inline SharedControl *getSharedControl() const { in getSharedControl() argument223 return reinterpret_cast<SharedControl *>(mMemory->pointer()); in getSharedControl()
63 if (!__builtin_add_overflow(size, sizeof(SharedControl), &newSize)) { in MediaBuffer()75 mData = (uint8_t *)mMemory->pointer() + sizeof(SharedControl); in MediaBuffer()
72 size_t augmented_size = buffer_size + sizeof(MediaBuffer::SharedControl); in init()