Home
last modified time | relevance | path

Searched refs:GetHandle (Results 1 – 25 of 48) sorted by relevance

12

/external/webrtc/rtc_base/
Dplatform_thread_unittest.cc22 EXPECT_EQ(thread.GetHandle(), absl::nullopt); in TEST()
28 EXPECT_NE(thread.GetHandle(), absl::nullopt); in TEST()
64 EXPECT_EQ(thread1.GetHandle(), thread2.GetHandle()); in TEST()
67 EXPECT_NE(thread1.GetHandle(), thread2.GetHandle()); in TEST()
69 EXPECT_NE(thread1.GetHandle(), thread2.GetHandle()); in TEST()
71 EXPECT_EQ(thread1.GetHandle(), thread2.GetHandle()); in TEST()
Dtask_queue_win.cc209 RTC_CHECK(thread_.GetHandle() != absl::nullopt); in Delete()
211 !::PostThreadMessage(GetThreadId(*thread_.GetHandle()), WM_QUIT, 0, 0)) { in Delete()
234 RTC_CHECK(thread_.GetHandle() != absl::nullopt); in PostDelayedTask()
235 if (!::PostThreadMessage(GetThreadId(*thread_.GetHandle()), in PostDelayedTask()
Dplatform_thread.h97 absl::optional<Handle> GetHandle() const;
/external/libchrome/ipc/
Dipc_platform_file.h37 HANDLE GetHandle() const;
58 return transit.GetHandle(); in PlatformFileForTransitToPlatformFile()
67 return base::File(transit.GetHandle()); in PlatformFileForTransitToFile()
Dipc_platform_file.cc34 HANDLE PlatformFileForTransit::GetHandle() const { in GetHandle() function in IPC::PlatformFileForTransit
Dipc_message_utils.cc657 HandleWin handle_win(p.GetHandle()); in Write()
660 HandleFuchsia handle_fuchsia(p.GetHandle()); in Write()
679 base::ScopedFD(p.GetHandle())))) in Write()
683 new internal::PlatformFileAttachment(p.GetHandle()))) in Write()
776 LogParam(p.GetHandle(), l); in Log()
782 LogParam(p.GetHandle(), l); in Log()
1066 HandleWin handle_win(p.GetHandle()); in Write()
1068 ::CloseHandle(p.GetHandle()); in Write()
1092 LogParam(p.GetHandle(), l); in Log()
/external/cronet/ipc/
Dipc_platform_file.h37 HANDLE GetHandle() const;
58 return transit.GetHandle(); in PlatformFileForTransitToPlatformFile()
67 return base::File(transit.GetHandle()); in PlatformFileForTransitToFile()
Dipc_platform_file.cc34 HANDLE PlatformFileForTransit::GetHandle() const { in GetHandle() function in IPC::PlatformFileForTransit
/external/openscreen/platform/impl/
Dudp_socket_reader_posix.cc30 if (socket->GetHandle() == handle) { in ProcessReadyHandle()
44 waiter_->Subscribe(this, std::cref(read_socket->GetHandle())); in OnCreate()
62 waiter_->OnHandleDeletion(this, std::cref(socket->GetHandle()), in OnDelete()
Dudp_socket_posix.h48 const SocketHandle& GetHandle() const;
/external/libchrome/base/memory/
Dshared_memory_handle.h89 HANDLE GetHandle() const;
102 zx_handle_t GetHandle() const;
142 int GetHandle() const;
Dshared_memory_unittest.cc421 0, *zx::unowned_vmo(handle.GetHandle()), 0, in TEST_P()
426 EXPECT_NE(ZX_OK, zx::unowned_vmo(handle.GetHandle()) in TEST_P()
430 EXPECT_EQ(ZX_OK, zx::unowned_vmo(handle.GetHandle()) in TEST_P()
449 EXPECT_EQ(NULL, MapViewOfFile(handle.GetHandle(), FILE_MAP_WRITE, 0, 0, 0)) in TEST_P()
453 BOOL rv = ::DuplicateHandle(GetCurrentProcess(), handle.GetHandle(), in TEST_P()
460 rv = ::DuplicateHandle(GetCurrentProcess(), handle.GetHandle(), in TEST_P()
764 ::GetCurrentProcess(), shared_memory_handle_dummy.handle().GetHandle(), in TEST_P()
903 int region_fd = memory.handle().GetHandle(); in TEST()
Dshared_memory_posix.cc77 return handle.GetHandle(); in GetFdFromSharedMemoryHandle()
273 int ashmem_bytes = ashmem_get_size_region(shm_.GetHandle()); in MapAt()
297 MAP_SHARED, shm_.GetHandle(), offset); in MapAt()
Dshared_memory_android.cc37 int err = ashmem_set_prot_region(shm_.GetHandle(), flags); in Create()
Dshared_memory_handle_posix.cc33 int SharedMemoryHandle::GetHandle() const { in GetHandle() function in base::SharedMemoryHandle
/external/selinux/libselinux/fuzzers/
Dselabel_lookup_fuzzer.cpp25 selabel_handle *GetHandle(FuzzedDataProvider &fdp) { in GetHandle() function
40 static auto handle = GetHandle(fdp); in LLVMFuzzerTestOneInput()
/external/libchrome/base/test/
Dtest_shared_memory_util.cc129 return CheckReadOnlySharedMemoryFuchsiaHandle(handle.GetHandle()); in CheckReadOnlySharedMemoryHandleForTesting()
131 return CheckReadOnlySharedMemoryWindowsHandle(handle.GetHandle()); in CheckReadOnlySharedMemoryHandleForTesting()
133 return CheckReadOnlySharedMemoryFdPosix(handle.GetHandle()); in CheckReadOnlySharedMemoryHandleForTesting()
/external/libchrome/mojo/public/cpp/platform/
Dplatform_channel.cc81 CHECK(!::ConnectNamedPipe(local_endpoint->GetHandle().Get(), nullptr)); in CreateChannel()
173 info->push_back(remote_endpoint_.platform_handle().GetHandle().Get()); in PrepareToPassRemoteEndpoint()
175 HandleToLong(remote_endpoint_.platform_handle().GetHandle().Get())); in PrepareToPassRemoteEndpoint()
178 info->push_back({id, remote_endpoint_.platform_handle().GetHandle().get()}); in PrepareToPassRemoteEndpoint()
Dplatform_handle.h104 const base::win::ScopedHandle& GetHandle() const { return handle_; } in COMPONENT_EXPORT()
119 const zx::handle& GetHandle() const { return handle_; } in COMPONENT_EXPORT()
/external/cronet/base/win/
Daccess_token_unittest.cc100 ASSERT_TRUE(::GetTokenInformation(atl_token.GetHandle(), TokenIntegrityLevel, in CompareIntegrityLevel()
114 ASSERT_TRUE(::GetTokenInformation(atl_token.GetHandle(), TokenElevation, in CompareElevated()
123 if (!::GetTokenInformation(token.GetHandle(), TokenLinkedToken, &value, size, in GetLinkedToken()
323 &tmp_token, process_token.GetHandle(), TOKEN_ALL_ACCESS, nullptr, in CompareAppContainer()
365 AccessToken::FromToken(atl_token.GetHandle()); in TEST()
371 AccessToken::FromToken(atl_token.GetHandle(), kTokenAllNoQuery); in TEST()
387 AccessToken::FromToken(atl_token.GetHandle()); in TEST()
396 CheckTokenError(AccessToken::FromToken(pri_token.GetHandle()), in TEST()
635 AccessToken::FromToken(atl_restricted.GetHandle()); in TEST()
669 AccessToken::FromToken(atl_anon_token.GetHandle()); in TEST()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dsession_ops.cc60 tk.GetHandle(name())); in Compute()
66 handle->flat<tstring>().setConstant(tk.GetHandle(name())); in Compute()
/external/tensorflow/tensorflow/core/tfrt/fallback/
Dfallback_state_test.cc51 auto status = pflr.RunSync(opts, pflr.GetHandle("dummy_fn"), {}, nullptr); in TEST()
/external/tensorflow/tensorflow/core/framework/
Dsession_state.h65 std::string GetHandle(const std::string& tensor_name) { in GetHandle() function
/external/libchrome/mojo/core/
Dplatform_wrapper_unittest.cc130 os_buffer.value = reinterpret_cast<uint64_t>(memory_handle.GetHandle()); in TEST_F()
134 os_buffer.value = static_cast<uint64_t>(memory_handle.GetHandle()); in TEST_F()
/external/tensorflow/tensorflow/core/common_runtime/
Dsession_state.cc81 string key = it->second.GetHandle(op_name); in SaveTensors()

12