/external/crosvm/devices/src/virtio/gpu/ |
D | virtio_gpu.rs | 41 resource_id: u32, field 53 pub fn new(resource_id: u32, width: u32, height: u32, size: u64) -> VirtioGpuResource { in new() 55 resource_id, in new() 214 resource_id: u32, in set_scanout() 227 .get_mut(&resource_id) in set_scanout() 231 self.scanout_resource_id = NonZeroU32::new(resource_id); in set_scanout() 244 pub fn flush_resource(&mut self, resource_id: u32) -> VirtioGpuResult { in flush_resource() 245 if resource_id == 0 { in flush_resource() 252 if scanout_resource_id.get() == resource_id { in flush_resource() 253 self.flush_resource_to_surface(resource_id, scanout_surface_id)?; in flush_resource() [all …]
|
D | mod.rs | 263 let resource_id = info.resource_id.to_native(); in process_gpu_command() localVariable 279 .resource_create_3d(resource_id, resource_create_3d) in process_gpu_command() 282 self.virtio_gpu.unref_resource(info.resource_id.to_native()) in process_gpu_command() 286 info.resource_id.to_native(), in process_gpu_command() 290 self.virtio_gpu.flush_resource(info.resource_id.to_native()) in process_gpu_command() 293 let resource_id = info.resource_id.to_native(); in process_gpu_command() localVariable 300 self.virtio_gpu.transfer_write(0, resource_id, transfer) in process_gpu_command() 318 .attach_backing(info.resource_id.to_native(), mem, vecs) in process_gpu_command() 325 self.virtio_gpu.detach_backing(info.resource_id.to_native()) in process_gpu_command() 328 info.resource_id.to_native(), in process_gpu_command() [all …]
|
D | protocol.rs | 183 pub resource_id: Le32, /* update only */ field 209 pub resource_id: Le32, field 220 pub resource_id: Le32, field 235 pub resource_id: Le32, field 246 pub resource_id: Le32, field 259 pub resource_id: Le32, field 280 pub resource_id: Le32, field 291 pub resource_id: Le32, field 340 pub resource_id: Le32, field 354 pub resource_id: Le32, field [all …]
|
/external/crosvm/rutabaga_gfx/src/ |
D | rutabaga_core.rs | 33 pub resource_id: u32, field 330 resource_id: u32, in resource_create_3d() 338 if self.resources.contains_key(&resource_id) { in resource_create_3d() 342 let resource = component.create_3d(resource_id, resource_create_3d)?; in resource_create_3d() 343 self.resources.insert(resource_id, resource); in resource_create_3d() 350 resource_id: u32, in attach_backing() 360 .get_mut(&resource_id) in attach_backing() 363 component.attach_backing(resource_id, &mut vecs)?; in attach_backing() 369 pub fn detach_backing(&mut self, resource_id: u32) -> RutabagaResult<()> { in detach_backing() 377 .get_mut(&resource_id) in detach_backing() [all …]
|
D | virgl_renderer.rs | 66 virgl_renderer_ctx_attach_resource(self.ctx_id as i32, resource.resource_id as i32); in attach() 74 virgl_renderer_ctx_detach_resource(self.ctx_id as i32, resource.resource_id as i32); in detach() 118 fn export_query(resource_id: u32) -> RutabagaResult<Query> { in export_query() 123 query.in_resource_id = resource_id; in export_query() 135 fn map_func(resource_id: u32) -> ExternalMappingResult<(u64, usize)> { in map_func() 142 let ret = unsafe { virgl_renderer_resource_map(resource_id, map_ptr, &mut size) }; in map_func() 154 fn unmap_func(resource_id: u32) { in unmap_func() 163 virgl_renderer_resource_unmap(resource_id); in unmap_func() 221 fn map_info(&self, resource_id: u32) -> RutabagaResult<u32> { in map_info() 226 unsafe { virgl_renderer_resource_get_map_info(resource_id as u32, &mut map_info) }; in map_info() [all …]
|
D | gfxstream.rs | 150 resource.resource_id as i32, in attach() 161 resource.resource_id as i32, in detach() 181 fn map_func(resource_id: u32) -> ExternalMappingResult<(u64, usize)> { in map_func() 187 let ret = unsafe { stream_renderer_resource_map(resource_id, map_ptr, &mut size) }; in map_func() 194 fn unmap_func(resource_id: u32) { in unmap_func() 195 unsafe { stream_renderer_resource_unmap(resource_id) }; in unmap_func() 253 resource_id: u32, in create_3d() 257 handle: resource_id, in create_3d() 276 resource_id, in create_3d() 291 resource_id: u32, in attach_backing() [all …]
|
/external/kernel-headers/original/uapi/linux/ |
D | virtio_gpu.h | 148 __le32 resource_id; /* update only */ member 166 __le32 resource_id; member 173 __le32 resource_id; member 184 __le32 resource_id; member 191 __le32 resource_id; member 200 __le32 resource_id; member 213 __le32 resource_id; member 220 __le32 resource_id; member 247 __le32 resource_id; member 257 __le32 resource_id; member [all …]
|
/external/crosvm/devices/src/virtio/video/decoder/ |
D | mod.rs | 97 resource_id: OutputResourceId, in queue_resource() 99 if !self.queued_res_ids.insert(resource_id) { in queue_resource() 100 error!("resource_id {} is already queued", resource_id); in queue_resource() 109 if *self.eos_resource_id.get_or_insert(resource_id) == resource_id { in queue_resource() 113 Ok(match self.res_id_to_frame_buf_id.entry(resource_id) { in queue_resource() 117 self.res_id_to_frame_buf_id.insert(resource_id, buffer_id); in queue_resource() 118 self.frame_buf_id_to_res_id.insert(buffer_id, resource_id); in queue_resource() 129 let resource_id = match self.frame_buf_id_to_res_id.get(&buffer_id) { in dequeue_frame_buffer() localVariable 140 self.queued_res_ids.take(&resource_id).or_else(|| { in dequeue_frame_buffer() 143 resource_id, stream_id in dequeue_frame_buffer() [all …]
|
/external/python/google-api-python-client/googleapiclient/ |
D | channel.py | 127 def __init__(self, message_number, state, resource_uri, resource_id): argument 140 self.resource_id = resource_id 176 resource_id="", argument 208 self.resource_id = resource_id 228 if self.resource_id: 229 result["resourceId"] = self.resource_id 279 resource_id = headers[X_GOOG_RESOURCE_ID] 280 return Notification(message_number, state, resource_uri, resource_id)
|
/external/libtextclassifier/native/utils/ |
D | resources.cc | 80 int resource_id = -1; in BestResourceForLocales() local 100 resource_id = i; in BestResourceForLocales() 108 return resource_id; in BestResourceForLocales() 111 return resource_id; in BestResourceForLocales() 122 int resource_id = BestResourceForLocales(entry, locales); in GetResourceContent() local 123 if (resource_id < 0) { in GetResourceContent() 126 const auto* resource = entry->resource()->Get(resource_id); in GetResourceContent()
|
/external/crosvm/devices/src/virtio/video/encoder/ |
D | mod.rs | 286 let resource_id = *match self.encoder_input_buffer_ids.get(&input_buffer_id) { in processed_input_buffer() localVariable 294 let resource = match self.src_resources.get_mut(&resource_id) { in processed_input_buffer() 299 resource_id in processed_input_buffer() 310 resource_id in processed_input_buffer() 324 resource_id, in processed_input_buffer() 345 let resource_id = *match self.encoder_output_buffer_ids.get(&output_buffer_id) { in processed_output_buffer() localVariable 353 let resource = match self.dst_resources.get_mut(&resource_id) { in processed_output_buffer() 358 resource_id in processed_output_buffer() 367 …or!("Received processed output buffer event but resource with id {} was not queued.", resource_id); in processed_output_buffer() 380 resource_id, in processed_output_buffer() [all …]
|
/external/tensorflow/tensorflow/core/profiler/convert/ |
D | trace_events_to_json.cc | 73 inline void AddResourceMetadata(uint32 device_id, uint32 resource_id, in AddResourceMetadata() argument 77 resource_id, R"(,"name":"thread_name","args":{"name":)", in AddResourceMetadata() 81 resource.sort_index() ? resource.sort_index() : resource_id; in AddResourceMetadata() 83 resource_id, R"(,"name":"thread_sort_index")", in AddResourceMetadata() 90 event.resource_id(), R"(,"ts":)", in AddTraceEvent() 117 uint32 resource_id = id_and_resource->first; in TraceEventsToJson() local 119 AddResourceMetadata(device_id, resource_id, resource, &json); in TraceEventsToJson()
|
D | xplane_to_trace_events.cc | 49 uint32 resource_id = line.DisplayId(); in BuildDeviceAndResources() local 50 Resource& resource = (*device->mutable_resources())[resource_id]; in BuildDeviceAndResources() 51 resource.set_resource_id(resource_id); in BuildDeviceAndResources() 69 uint32 resource_id = xline.DisplayId(); in ConvertXPlaneToTraceEvents() local 71 [device_id, resource_id, trace](const XEventVisitor& xevent) { in ConvertXPlaneToTraceEvents() 78 event->set_resource_id(resource_id); in ConvertXPlaneToTraceEvents()
|
/external/tensorflow/tensorflow/lite/experimental/resource/ |
D | resource_variable.cc | 83 int resource_id) { in CreateResourceVariableIfNotAvailable() argument 84 if (resources->count(resource_id) != 0) { in CreateResourceVariableIfNotAvailable() 87 resources->emplace(resource_id, in CreateResourceVariableIfNotAvailable() 91 ResourceVariable* GetResourceVariable(ResourceMap* resources, int resource_id) { in GetResourceVariable() argument 92 auto it = resources->find(resource_id); in GetResourceVariable()
|
D | static_hashtable.cc | 96 int resource_id, in CreateHashtableResourceIfNotAvailable() argument 99 if (resources->count(resource_id) != 0) { in CreateHashtableResourceIfNotAvailable() 103 resources->emplace(resource_id, std::unique_ptr<LookupInterface>(hashtable)); in CreateHashtableResourceIfNotAvailable() 106 LookupInterface* GetHashtableResource(ResourceMap* resources, int resource_id) { in GetHashtableResource() argument 107 auto it = resources->find(resource_id); in GetHashtableResource()
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | app_ui_test.py | 111 node = self.app.GetUiNode(resource_id='image_view') 118 node = self.app.GetUiNode(resource_id='com.example.app:id/image_view') 126 resource_id='image_view', content_desc='Promotions') 135 node = self.app.GetUiNode(resource_id='does_not_exist') 144 node = self.app.GetUiNode(resource_id='mini_drawer') 183 node = self.app.WaitForUiNode(resource_id='actionbar_title') 191 self.app.WaitForUiNode(resource_id='actionbar_title')
|
D | app_ui.py | 148 resource_id = kwargs.get('resource_id') 149 if (resource_id is not None and self._package is not None 150 and ':id/' not in resource_id): 151 kwargs['resource_id'] = '%s:id/%s' % (self._package, resource_id)
|
/external/crosvm/sys_util/src/ |
D | external_mapping.rs | 45 resource_id: u32, field 62 pub unsafe fn new(resource_id: u32, map: Map, unmap: Unmap) -> Result<ExternalMapping> { in new() 63 let (ptr, size) = map(resource_id)?; in new() 73 resource_id, in new() 97 (self.unmap)(self.resource_id) in drop()
|
/external/crosvm/devices/src/virtio/video/ |
D | command.rs | 80 resource_id: u32, 87 resource_id: u32, 173 resource_id, in from_reader() 208 resource_id: resource_id.into(), in from_reader() 216 resource_id, in from_reader() 234 resource_id: resource_id.into(), in from_reader()
|
D | error.rs | 26 InvalidResourceId { stream_id: u32, resource_id: u32 }, 48 resource_id, in fmt() 52 resource_id, stream_id in fmt()
|
/external/mesa3d/src/gallium/frontends/clover/core/ |
D | module.hpp | 33 typedef uint32_t resource_id; typedef 47 section(resource_id id, enum type type, size_t size, in section() 52 resource_id id; 133 resource_id section, size_t offset, in symbol() 145 resource_id section;
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/analysis/ |
D | side_effect_analysis.cc | 244 void SideEffectAnalysisInfo::TrackAccess(int64_t resource_id, Operation* op, in TrackAccess() argument 246 if (resource_id == kUnknownResourceId) { in TrackAccess() 258 auto& info = per_resource_access_info_[resource_id]; in TrackAccess() 276 void SideEffectAnalysisInfo::AddPredecessorsForAccess(int64_t resource_id, in AddPredecessorsForAccess() argument 279 auto it = per_resource_access_info_.find(resource_id); in AddPredecessorsForAccess() 414 const auto& resource_id = resource.getFirst(); in AnalyzeRegion() local 416 AddPredecessorsForAccess(resource_id, &op, resource_read_only); in AnalyzeRegion() 418 unknown_access_indirectly_tracked_by_resource(resource_id, in AnalyzeRegion() 421 TrackAccess(resource_id, &op, resource_read_only); in AnalyzeRegion()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | assign_variable.cc | 62 int resource_id = input_resource_id_tensor->data.i32[0]; in Eval() local 64 resource::CreateResourceVariableIfNotAvailable(&resources, resource_id); in Eval() 65 auto* variable = resource::GetResourceVariable(&resources, resource_id); in Eval()
|
/external/python/google-api-python-client/tests/ |
D | test_channel.py | 22 resource_id="the_resource_id", 100 self.assertEqual("http://example.org/v1", n.resource_id) 118 resource_id="the_resource_id", 124 self.assertEqual("http://example.com/resource_1", n.resource_id)
|
/external/tensorflow/tensorflow/core/profiler/protobuf/ |
D | trace_events.proto | 30 // The resources on this device, keyed by resource_id; 42 uint32 resource_id = 2; field 56 // resource_id is unique on a specific device, but not necessarily within the 58 uint32 resource_id = 2; field
|