Lines Matching refs:xd
157 const ExtraData *xd = getExtraData(o); in isValid() local
159 return xd != nullptr && xd->magic == MAGIC; in isValid()
171 ExtraData xd = { in WrapAndMoveNativeHandle() local
179 *getExtraData(res) = xd; in WrapAndMoveNativeHandle()
206 const ExtraData *xd = getExtraData(handle); in UnwrapNativeHandle() local
207 if (xd == nullptr || xd->magic != MAGIC) { in UnwrapNativeHandle()
220 const ExtraData *xd = getExtraData(handle); in UnwrapNativeHandle() local
221 if (xd == nullptr || xd->magic != MAGIC) { in UnwrapNativeHandle()
224 *generation = xd->generation; in UnwrapNativeHandle()
225 *igbp_id = unsigned(xd->igbp_id_lo) | uint64_t(unsigned(xd->igbp_id_hi)) << 32; in UnwrapNativeHandle()
226 *igbp_slot = xd->igbp_slot; in UnwrapNativeHandle()
239 const ExtraData *xd = getExtraData(handle); in Import() local
240 if (xd == nullptr) { in Import()
243 *width = xd->width; in Import()
244 *height = xd->height; in Import()
245 *format = xd->format; in Import()
246 *usage = xd->usage_lo | (uint64_t(xd->usage_hi) << 32); in Import()
247 *stride = xd->stride; in Import()
248 *generation = xd->generation; in Import()
249 *igbp_id = xd->igbp_id_lo | (uint64_t(xd->igbp_id_hi) << 32); in Import()
250 *igbp_slot = xd->igbp_slot; in Import()