Lines Matching full:static_cast
37 static_cast<gralloc1_capability_t>(GRALLOC1_LAST_CAPABILITY + 1);
40 static_cast<gralloc1_function_descriptor_t>(GRALLOC1_LAST_FUNCTION + 1);
42 static_cast<gralloc1_function_descriptor_t>(GRALLOC1_LAST_FUNCTION + 2);
44 static_cast<gralloc1_function_descriptor_t>(GRALLOC1_LAST_FUNCTION + 3);
68 return static_cast<gralloc1_device_t*>(this);
73 return static_cast<Gralloc1On0Adapter*>(device);
114 return static_cast<int32_t>(error);
121 return static_cast<int32_t>(error);
174 return static_cast<int32_t>(GRALLOC1_ERROR_BAD_DESCRIPTOR);
177 return static_cast<int32_t>(error);
182 auto usage = static_cast<gralloc1_consumer_usage_t>(intUsage);
202 auto usage = static_cast<gralloc1_producer_usage_t>(intUsage);
292 return static_cast<int32_t>(GRALLOC1_ERROR_BAD_HANDLE);
295 return static_cast<int32_t>(error);
311 *outUsage = static_cast<uint64_t>(usage);
322 *outUsage = static_cast<uint64_t>(usage);
351 return static_cast<int32_t>(GRALLOC1_ERROR_BAD_HANDLE);
355 return static_cast<int32_t>(error);
407 return static_cast<int32_t>(GRALLOC1_ERROR_BAD_VALUE);
412 static_cast<gralloc1_producer_usage_t>(uintProducerUsage);
414 static_cast<gralloc1_consumer_usage_t>(uintConsumerUsage);
420 return static_cast
423 return static_cast<int32_t>(GRALLOC1_ERROR_BAD_VALUE);
429 return static_cast<int32_t>(GRALLOC1_ERROR_BAD_HANDLE);
434 return static_cast<int32_t>(GRALLOC1_ERROR_BAD_VALUE);
440 return static_cast<int32_t>(error);
451 return static_cast<int32_t>(GRALLOC1_ERROR_BAD_HANDLE);
459 return static_cast<int32_t>(error);