Home
last modified time | relevance | path

Searched refs:num_attachments (Results 1 – 2 of 2) sorted by relevance

/external/libmojo/ipc/
Dipc_message.cc195 size_t num_attachments = message.header()->num_brokered_attachments; in FindNext() local
199 if (num_attachments >= max_size_t / BrokerableAttachment::kNonceSize) in FindNext()
202 size_t attachment_length = num_attachments * BrokerableAttachment::kNonceSize; in FindNext()
211 for (size_t i = 0; i < num_attachments; ++i) { in FindNext()
219 pickle_end + num_attachments * BrokerableAttachment::kNonceSize; in FindNext()
/external/mesa3d/src/gallium/state_trackers/dri/drm/
Ddri2.c93 unsigned num_attachments, i; in dri2_drawable_get_buffers() local
98 num_attachments = 0; in dri2_drawable_get_buffers()
102 attachments[num_attachments++] = __DRI_BUFFER_FRONT_LEFT; in dri2_drawable_get_buffers()
175 attachments[num_attachments++] = att; in dri2_drawable_get_buffers()
177 attachments[num_attachments++] = depth; in dri2_drawable_get_buffers()
183 num_attachments /= 2; in dri2_drawable_get_buffers()
186 attachments, num_attachments, in dri2_drawable_get_buffers()
192 attachments, num_attachments, in dri2_drawable_get_buffers()