Lines Matching defs:buf
71 virtual status_t requestBuffer(int bufferIdx, sp<GraphicBuffer>* buf) {
81 *buf = new GraphicBuffer();
82 result = reply.read(**buf);
84 (*buf).clear();
120 virtual status_t dequeueBuffer(int *buf, sp<Fence>* fence, uint32_t width,
132 *buf = reply.readInt32();
198 virtual status_t queueBuffer(int buf,
202 data.writeInt32(buf);
213 virtual status_t cancelBuffer(int buf, const sp<Fence>& fence) {
216 data.writeInt32(buf);
487 int buf = 0;
489 int result = dequeueBuffer(&buf, &fence, width, height, format,
491 reply->writeInt32(buf);
536 int buf = data.readInt32();
542 status_t result = queueBuffer(buf, input, output);
548 int buf = data.readInt32();
551 status_t result = cancelBuffer(buf, fence);