Home
last modified time | relevance | path

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

12

/external/swiftshader/src/Vulkan/
DVkSemaphoreExternalFuchsia.hpp54 void importHandle(zx_handle_t new_handle) in importHandle() argument
57 handle = new_handle; in importHandle()
62 zx_handle_t new_handle = ZX_HANDLE_INVALID; in exportHandle() local
63 zx_status_t status = zx_handle_duplicate(handle, ZX_RIGHT_SAME_RIGHTS, &new_handle); in exportHandle()
69 *pHandle = new_handle; in exportHandle()
/external/tensorflow/tensorflow/compiler/xla/service/
Dchannel_tracker.cc44 ChannelHandle new_handle = AllocateHandle(type); in NewChannel() local
51 opaque_to_channel_[new_handle.handle()] = channel; in NewChannel()
53 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/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/u-boot/lib/efi_loader/
Defi_file.c248 struct efi_file_handle **new_handle, in efi_file_open() argument
254 EFI_ENTRY("%p, %p, \"%ls\", %llx, %llu", file, new_handle, in efi_file_open()
258 if (!file || !new_handle || !file_name) { in efi_file_open()
285 *new_handle = file_open(fh->fs, fh, file_name, open_mode, attributes); in efi_file_open()
286 if (*new_handle) { in efi_file_open()
287 EFI_PRINT("file handle %p\n", *new_handle); in efi_file_open()
755 struct efi_file_handle **new_handle, in efi_file_open_ex() argument
/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/autotest/client/bin/net/
Dnet_tc.py50 def new_handle(): function
356 def __init__(self, handle=new_handle(), bands=3):
386 def __init__(self, handle=new_handle()):
398 def __init__(self, handle=new_handle()):
/external/python/cffi/testing/cffi1/
Dtest_ffi_obj.py192 xp = ffi.new_handle(x)
195 yp = ffi.new_handle([6, 4, 2])
200 assert ffi.new_handle(None) is not ffi.new_handle(None)
201 assert ffi.new_handle(None) != ffi.new_handle(None)
/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()
Dgem_userptr_blits.c386 static void flink_userptr_bo(uint32_t old_handle, uint32_t new_handle) in flink_userptr_bo() argument
391 add_handle_ptr(new_handle, in flink_userptr_bo()
/external/u-boot/lib/efi_selftest/
Defi_selftest_loadimage.c151 struct efi_file_handle **new_handle,
241 struct efi_file_handle **new_handle, in open() argument
247 *new_handle = &file; in open()
/external/python/cpython3/Lib/multiprocessing/
Dspawn.py107 new_handle = reduction.duplicate(pipe_handle,
109 fd = msvcrt.open_osfhandle(new_handle, os.O_RDONLY)
/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()
2335 string new_handle; in TF_SessionPRunSetup() local
2337 target_names, &new_handle); in TF_SessionPRunSetup()
2339 char* buf = new char[new_handle.size() + 1]; in TF_SessionPRunSetup()
2340 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.rst457 ffi.new_handle(), ffi.from_handle()
460 **ffi.new_handle(python_object)**: return a non-NULL cdata of type
466 the cdata object returned by new_handle() is not kept alive!*
473 The ``ffi.new_handle()/from_handle()`` functions *conceptually* work
476 * ``new_handle()`` returns cdata objects that contains references to
492 *New in version 1.4:* two calls to ``new_handle(x)`` are guaranteed to
515 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)
894 `ffi.new_handle()`__, if possible. Example:
909 handle = ffi.new_handle(self)
Dwhatsnew.rst488 * ``ffi.new_handle()`` is now guaranteed to return unique ``void *``
496 result of ffi.new_handle() alive.* (The corresponding `warning in
497 the docs`__ of ``ffi.new_handle()`` has been here since v0.8!)
/external/tensorflow/tensorflow/python/kernel_tests/
Dresource_variable_ops_test.py756 new_handle = array_ops.identity(handle)
763 return new_handle, grad
771 new_handle = differentiable_scatter_update(var.handle, indices, updates)
773 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/u-boot/include/
Defi_api.h1480 struct efi_file_handle **new_handle,
1500 struct efi_file_handle **new_handle,
/external/python/cffi/testing/cffi0/
Dtest_ffi_backend.py36 p = ffi.new_handle(o)
/external/python/cffi/cffi/
Dapi.py536 def new_handle(self, x): member in FFI
/external/python/pyopenssl/src/OpenSSL/
DSSL.py1483 self._ocsp_data = _ffi.new_handle(data)

12