Home
last modified time | relevance | path

Searched refs:buffer_handle (Results 1 – 25 of 32) sorted by relevance

12

/external/libdrm/tests/amdgpu/
Dbo_tests.c38 static amdgpu_bo_handle buffer_handle; variable
94 buffer_handle = buf_handle; in suite_bo_tests_init()
111 r = amdgpu_bo_va_op(buffer_handle, 0, BUFFER_SIZE, in suite_bo_tests_clean()
121 r = amdgpu_bo_free(buffer_handle); in suite_bo_tests_clean()
138 r = amdgpu_bo_export(buffer_handle, type, &shared_handle); in amdgpu_bo_export_import_do_type()
144 CU_ASSERT_EQUAL(res.buf_handle, buffer_handle); in amdgpu_bo_export_import_do_type()
171 r = amdgpu_bo_set_metadata(buffer_handle, &meta); in amdgpu_bo_metadata()
174 r = amdgpu_bo_query_info(buffer_handle, &info); in amdgpu_bo_metadata()
186 r = amdgpu_bo_cpu_map(buffer_handle, (void **)&ptr); in amdgpu_bo_map_unmap()
193 r = amdgpu_bo_cpu_unmap(buffer_handle); in amdgpu_bo_map_unmap()
/external/tensorflow/tensorflow/lite/
Dinterpreter.cc242 TfLiteBufferHandle buffer_handle, in SetBufferHandle() argument
251 if (tensor->buffer_handle != kTfLiteNullBufferHandle) { in SetBufferHandle()
254 &tensor->buffer_handle); in SetBufferHandle()
256 tensor->buffer_handle = buffer_handle; in SetBufferHandle()
262 TfLiteBufferHandle* buffer_handle, in GetBufferHandle() argument
269 *buffer_handle = tensor->buffer_handle; in GetBufferHandle()
Dinterpreter.h395 TfLiteBufferHandle buffer_handle,
402 TfLiteBufferHandle* buffer_handle,
Dinterpreter_test.cc1156 TfLiteBufferHandle buffer_handle, in SimpleDelegate()
1163 TfLiteBufferHandle buffer_handle, in SimpleDelegate() argument
1256 ASSERT_EQ(tensor->buffer_handle, kTfLiteNullBufferHandle); in TEST_F()
1263 EXPECT_EQ(tensor->buffer_handle, handle); in TEST_F()
1276 ASSERT_EQ(tensor->buffer_handle, kTfLiteNullBufferHandle); in TEST_F()
1283 EXPECT_EQ(tensor->buffer_handle, handle); in TEST_F()
1299 ASSERT_EQ(tensor->buffer_handle, kTfLiteNullBufferHandle); in TEST_F()
1308 EXPECT_EQ(tensor->buffer_handle, kTfLiteNullBufferHandle); in TEST_F()
/external/tensorflow/tensorflow/lite/delegates/flex/
Ddelegate.cc77 TfLiteBufferHandle buffer_handle, in CopyFromBufferHandle() argument
82 if (!buffer_map->HasTensor(buffer_handle)) { in CopyFromBufferHandle()
83 context->ReportError(context, "Invalid tensor index %d.", buffer_handle); in CopyFromBufferHandle()
87 tensorflow::Tensor t = buffer_map->GetTensor(buffer_handle); in CopyFromBufferHandle()
93 buffer_handle); in CopyFromBufferHandle()
Dkernel_test.cc80 TfLiteBufferHandle buffer_handle, in ConfigureDelegate()
84 if (!buffer_map->HasTensor(buffer_handle)) { in ConfigureDelegate()
85 context->ReportError(context, "Tensor '%d' not found", buffer_handle); in ConfigureDelegate()
89 buffer_map->GetTensor(buffer_handle).tensor_data(); in ConfigureDelegate()
/external/libchrome/mojo/public/c/system/
Dbuffer.h169 MojoHandle buffer_handle,
197 MojoMapBuffer(MojoHandle buffer_handle,
230 MojoGetBufferInfo(MojoHandle buffer_handle,
Dthunks.cc256 MojoHandle buffer_handle, in MojoDuplicateBufferHandle() argument
259 return INVOKE_THUNK(DuplicateBufferHandle, buffer_handle, options, in MojoDuplicateBufferHandle()
263 MojoResult MojoMapBuffer(MojoHandle buffer_handle, in MojoMapBuffer() argument
268 return INVOKE_THUNK(MapBuffer, buffer_handle, offset, num_bytes, options, in MojoMapBuffer()
276 MojoResult MojoGetBufferInfo(MojoHandle buffer_handle, in MojoGetBufferInfo() argument
279 return INVOKE_THUNK(GetBufferInfo, buffer_handle, options, info); in MojoGetBufferInfo()
Dthunks.h131 MojoHandle buffer_handle,
134 MojoResult (*MapBuffer)(MojoHandle buffer_handle,
140 MojoResult (*GetBufferInfo)(MojoHandle buffer_handle,
/external/libchrome/mojo/core/
Dentrypoints.cc192 MojoHandle buffer_handle, in MojoDuplicateBufferHandleImpl() argument
195 return g_core->DuplicateBufferHandle(buffer_handle, options, in MojoDuplicateBufferHandleImpl()
199 MojoResult MojoMapBufferImpl(MojoHandle buffer_handle, in MojoMapBufferImpl() argument
204 return g_core->MapBuffer(buffer_handle, offset, num_bytes, options, buffer); in MojoMapBufferImpl()
211 MojoResult MojoGetBufferInfoImpl(MojoHandle buffer_handle, in MojoGetBufferInfoImpl() argument
214 return g_core->GetBufferInfo(buffer_handle, options, info); in MojoGetBufferInfoImpl()
Dcore.h268 MojoHandle buffer_handle,
271 MojoResult MapBuffer(MojoHandle buffer_handle,
277 MojoResult GetBufferInfo(MojoHandle buffer_handle,
Dcore.cc894 MojoHandle buffer_handle, in DuplicateBufferHandle() argument
898 scoped_refptr<Dispatcher> dispatcher(GetDispatcher(buffer_handle)); in DuplicateBufferHandle()
919 MojoResult Core::MapBuffer(MojoHandle buffer_handle, in MapBuffer() argument
924 scoped_refptr<Dispatcher> dispatcher(GetDispatcher(buffer_handle)); in MapBuffer()
969 MojoResult Core::GetBufferInfo(MojoHandle buffer_handle, in GetBufferInfo() argument
981 scoped_refptr<Dispatcher> dispatcher(GetDispatcher(buffer_handle)); in GetBufferInfo()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmwgfx_drm.h859 uint32_t buffer_handle; member
933 uint32_t buffer_handle; member
955 uint32_t buffer_handle; member
Dvmw_screen_ioctl.c203 uint32_t buffer_handle, in vmw_ioctl_gb_surface_create() argument
244 if (buffer_handle) in vmw_ioctl_gb_surface_create()
245 req->buffer_handle = buffer_handle; in vmw_ioctl_gb_surface_create()
247 req->buffer_handle = SVGA3D_INVALID_ID; in vmw_ioctl_gb_surface_create()
256 region->handle = rep->buffer_handle; in vmw_ioctl_gb_surface_create()
377 region->handle = rep->crep.buffer_handle; in vmw_ioctl_gb_surface_ref()
774 sh_arg.buffer_handle = SVGA3D_INVALID_ID; in vmw_ioctl_shader_create()
/external/tensorflow/tensorflow/lite/c/
Dc_api_internal.h324 TfLiteBufferHandle buffer_handle; member
563 TfLiteBufferHandle buffer_handle,
570 TfLiteBufferHandle buffer_handle,
/external/libdrm/include/drm/
Dvmwgfx_drm.h861 __u32 buffer_handle; member
935 __u32 buffer_handle; member
957 __u32 buffer_handle; member
/external/kernel-headers/original/uapi/drm/
Dvmwgfx_drm.h852 __u32 buffer_handle; member
926 __u32 buffer_handle; member
948 __u32 buffer_handle; member
/external/libchrome/mojo/public/cpp/base/
Dbig_buffer.cc16 mojo::ScopedSharedBufferHandle buffer_handle, in BigBufferSharedMemoryRegion() argument
19 buffer_handle_(std::move(buffer_handle)), in BigBufferSharedMemoryRegion()
Dbig_buffer_mojom_traits.h27 static mojo::ScopedSharedBufferHandle buffer_handle( in COMPONENT_EXPORT()
Dbig_buffer.h29 BigBufferSharedMemoryRegion(mojo::ScopedSharedBufferHandle buffer_handle, in COMPONENT_EXPORT()
Dbig_buffer_mojom_traits.cc26 buffer_handle(mojo_base::internal::BigBufferSharedMemoryRegion& region) { in buffer_handle() function in mojo::StructTraits::mojom::BigBufferSharedMemoryRegionDataView::internal::BigBufferSharedMemoryRegion
/external/libchrome/mojo/public/mojom/base/
Dbig_buffer.mojom8 handle<shared_buffer> buffer_handle;
/external/tensorflow/tensorflow/lite/java/src/test/native/
Dinterpreter_test_jni.cc64 context->tensors[i].buffer_handle = static_cast<int>(i); in Java_org_tensorflow_lite_InterpreterTest_getNativeHandleForDelegate()
/external/tensorflow/tensorflow/lite/core/
Dsubgraph.h253 TF_LITE_ENSURE(context_, t->buffer_handle != kTfLiteNullBufferHandle); in EnsureTensorDataIsReadable()
257 context_, t->delegate, t->buffer_handle, t)); in EnsureTensorDataIsReadable()
/external/tensorflow/tensorflow/lite/experimental/micro/
Dsimple_tensor_allocator.cc144 result->buffer_handle = 0; in AllocateTensor()

12