Home
last modified time | relevance | path

Searched refs:new_handle (Results 1 – 25 of 30) sorted by relevance

12

/external/swiftshader/src/Vulkan/
DVkSemaphoreExternalFuchsia.hpp58 VkResult importHandle(zx_handle_t new_handle) override in importHandle() argument
61 handle = new_handle; in importHandle()
67 zx_handle_t new_handle = ZX_HANDLE_INVALID; in exportHandle() local
68 zx_status_t status = zx_handle_duplicate(handle, ZX_RIGHT_SAME_RIGHTS, &new_handle); in exportHandle()
74 *pHandle = new_handle; in exportHandle()
/external/tpm2-tss/test/integration/
Desys-tr-fromTpmPublic-session.int.c65 ESYS_TR new_handle = ESYS_TR_NONE; in test_esys_tr_fromTpmPublic_session() local
72 &new_handle); in test_esys_tr_fromTpmPublic_session()
75 r = Esys_TRSess_SetAttributes(ectx, new_handle, in test_esys_tr_fromTpmPublic_session()
88 r = Esys_GetCapability(ectx, new_handle, ESYS_TR_NONE, ESYS_TR_NONE, in test_esys_tr_fromTpmPublic_session()
102 session = new_handle; in test_esys_tr_fromTpmPublic_session()
/external/tensorflow/tensorflow/compiler/xla/service/
Dchannel_tracker.cc43 ChannelHandle new_handle = AllocateHandle(type); in NewChannel() local
50 opaque_to_channel_[new_handle.handle()] = channel; in NewChannel()
52 return new_handle; in NewChannel()
/external/python/cpython2/Lib/multiprocessing/
Dreduction.py70 new_handle = duplicate(handle, process_handle)
71 conn.send(new_handle)
157 new_handle = recv_handle(conn)
159 return new_handle
/external/crosvm/rutabaga_gfx/src/rutabaga_os/sys/windows/
Ddescriptor.rs56 let mut new_handle: RawHandle = std::ptr::null_mut(); in duplicate_handle_from_source_process() localVariable
61 /* lpTargetHandle= */ &mut new_handle, in duplicate_handle_from_source_process()
70 Ok(new_handle) in duplicate_handle_from_source_process()
/external/mesa3d/src/drm-shim/
Ddevice.c325 for (int new_handle = 1; ; new_handle++) { in drm_shim_bo_get_handle() local
326 void *key = (void *)(uintptr_t)new_handle; in drm_shim_bo_get_handle()
331 return new_handle; in drm_shim_bo_get_handle()
/external/libchrome/mojo/public/cpp/platform/tests/
Dplatform_handle_unittest.cc207 auto new_handle = std::move(test_handle()); in TEST_P() local
209 EXPECT_TRUE(new_handle.is_valid()); in TEST_P()
211 EXPECT_EQ(kTestData, GetObjectContents(new_handle)); in TEST_P()
/external/python/cffi/testing/cffi1/
Dtest_ffi_obj.py196 xp = ffi.new_handle(x)
199 yp = ffi.new_handle([6, 4, 2])
204 assert ffi.new_handle(None) is not ffi.new_handle(None)
205 assert ffi.new_handle(None) != ffi.new_handle(None)
/external/trace-cmd/lib/trace-cmd/
Dtrace-input.c5522 struct tracecmd_input *new_handle; in tracecmd_buffer_instance_handle() local
5534 new_handle = malloc(sizeof(*handle)); in tracecmd_buffer_instance_handle()
5535 if (!new_handle) in tracecmd_buffer_instance_handle()
5538 *new_handle = *handle; in tracecmd_buffer_instance_handle()
5539 memset(&new_handle->top_buffer, 0, sizeof(new_handle->top_buffer)); in tracecmd_buffer_instance_handle()
5540 new_handle->cpu_data = NULL; in tracecmd_buffer_instance_handle()
5541 new_handle->nr_buffers = 0; in tracecmd_buffer_instance_handle()
5542 new_handle->buffers = NULL; in tracecmd_buffer_instance_handle()
5543 new_handle->version = NULL; in tracecmd_buffer_instance_handle()
5544 new_handle->sections = NULL; in tracecmd_buffer_instance_handle()
[all …]
/external/crosvm/win_util/src/
Dlib.rs186 let mut new_handle: RawHandle = ptr::null_mut(); in duplicate_handle_from_source_process() localVariable
191 /* lpTargetHandle= */ &mut new_handle, in duplicate_handle_from_source_process()
200 Ok(new_handle) in duplicate_handle_from_source_process()
/external/webrtc/modules/audio_device/win/
Dcore_audio_utility_win.h231 void Set(HANDLE new_handle) { in Set() argument
236 if (new_handle != INVALID_HANDLE_VALUE) { in Set()
237 handle_ = new_handle; in Set()
/external/libchrome/mojo/core/test/
Dmojo_test_base.cc206 MojoHandle new_handle; in DuplicateBuffer() local
213 MojoDuplicateBufferHandle(h, &options, &new_handle)); in DuplicateBuffer()
214 return new_handle; in DuplicateBuffer()
/external/igt-gpu-tools/tests/i915/
Dgem_stolen.c230 uint32_t new_handle; in stolen_fill_purge_test() local
267 new_handle = gem_create_stolen(fd, SIZE); in stolen_fill_purge_test()
289 gem_close(fd, new_handle); in stolen_fill_purge_test()
/external/python/cpython3/Lib/multiprocessing/
Dspawn.py107 new_handle = reduction.duplicate(pipe_handle,
109 fd = msvcrt.open_osfhandle(new_handle, os.O_RDONLY)
/external/trace-cmd/tracecmd/
Dtrace-hist.c1059 struct tracecmd_input *new_handle; in trace_hist() local
1063 new_handle = tracecmd_buffer_instance_handle(handle, i); in trace_hist()
1064 if (!new_handle) { in trace_hist()
1068 do_trace_hist(new_handle); in trace_hist()
1069 tracecmd_close(new_handle); in trace_hist()
Dtrace-read.c1290 struct tracecmd_input *new_handle; in read_data_info() local
1298 new_handle = tracecmd_buffer_instance_handle(handles->handle, i); in read_data_info()
1299 if (!new_handle) { in read_data_info()
1303 add_handle(new_handle, name); in read_data_info()
/external/tensorflow/tensorflow/c/
Dc_api.cc516 string new_handle; in TF_PRunSetup() local
518 target_oper_names, &new_handle); in TF_PRunSetup()
520 char* buf = new char[new_handle.size() + 1]; in TF_PRunSetup()
521 memcpy(buf, new_handle.c_str(), new_handle.size() + 1); in TF_PRunSetup()
2364 string new_handle; in TF_SessionPRunSetup() local
2366 target_names, &new_handle); in TF_SessionPRunSetup()
2368 char* buf = new char[new_handle.size() + 1]; in TF_SessionPRunSetup()
2369 memcpy(buf, new_handle.c_str(), new_handle.size() + 1); in TF_SessionPRunSetup()
/external/mesa3d/src/gallium/frontends/nine/
Dswapchain9.c847 D3DWindowBuffer *new_handle; in present() local
849 create_present_buffer(This, target_width, target_height, &new_resource, &new_handle); in present()
851 if (new_handle) { in present()
853 This->present_handles[0] = new_handle; in present()
/external/igt-gpu-tools/tests/
Deviction_common.c36 void (*flink)(uint32_t old_handle, uint32_t new_handle);
/external/python/cffi/doc/source/
Dref.rst470 ffi.new_handle(), ffi.from_handle()
473 **ffi.new_handle(python_object)**: return a non-NULL cdata of type
479 the cdata object returned by new_handle() is not kept alive!*
486 The ``ffi.new_handle()/from_handle()`` functions *conceptually* work
489 * ``new_handle()`` returns cdata objects that contains references to
505 *New in version 1.4:* two calls to ``new_handle(x)`` are guaranteed to
528 h = ffi.new_handle(self)
Dusing.rst620 can use ``ffi.new_handle()`` and ``ffi.from_handle()`` to pass a
649 userdata = ffi.new_handle(self)
677 userdata = ffi.new_handle(self)
910 `ffi.new_handle()`__, if possible. Example:
925 handle = ffi.new_handle(self)
/external/tensorflow/tensorflow/python/kernel_tests/variables/
Dresource_variable_ops_test.py854 new_handle = array_ops.identity(handle)
861 return new_handle, grad
869 new_handle = differentiable_scatter_update(var.handle, indices, updates)
871 new_handle, indices, dtype=var.dtype)
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_batchbuffer.c375 uint32_t old_handle, uint32_t new_handle) in replace_bo_in_reloc_list() argument
379 rlist->relocs[i].target_handle = new_handle; in replace_bo_in_reloc_list()
/external/python/cffi/testing/cffi0/
Dtest_ffi_backend.py36 p = ffi.new_handle(o)
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dpfor.py3966 new_handle = list_ops.tensor_list_reserve(
3975 [0, new_handle])[1]
4114 new_handle = list_ops.tensor_list_reserve(new_element_shape, length,
4116 new_handle = control_flow_ops.while_loop(lambda i, _: i < length,
4117 _transpose_elem, [0, new_handle])[1]
4119 input_handle=new_handle,

12