Home
last modified time | relevance | path

Searched refs:handle1 (Results 1 – 16 of 16) sorted by relevance

/third_party/boost/libs/asio/test/windows/
Dstream_handle.cpp58 win::stream_handle handle1(ioc); in test() local
77 handle1 = win::stream_handle(ioc); in test()
78 handle1 = std::move(handle4); in test()
83 windows::stream_handle::executor_type ex = handle1.get_executor(); in test()
89 = handle1.lowest_layer(); in test()
92 const win::stream_handle& handle6 = handle1; in test()
98 handle1.assign(native_handle3); in test()
100 bool is_open = handle1.is_open(); in test()
103 handle1.close(); in test()
104 handle1.close(ec); in test()
[all …]
Drandom_access_handle.cpp59 win::random_access_handle handle1(ioc); in test() local
78 handle1 = win::random_access_handle(ioc); in test()
79 handle1 = std::move(handle4); in test()
84 windows::random_access_handle::executor_type ex = handle1.get_executor(); in test()
90 = handle1.lowest_layer(); in test()
93 const win::random_access_handle& handle6 = handle1; in test()
99 handle1.assign(native_handle3); in test()
101 bool is_open = handle1.is_open(); in test()
104 handle1.close(); in test()
105 handle1.close(ec); in test()
[all …]
Dobject_handle.cpp52 win::object_handle handle1(ioc); in test() local
71 handle1 = win::object_handle(ioc); in test()
72 handle1 = std::move(handle3); in test()
77 win::object_handle::executor_type ex = handle1.get_executor(); in test()
83 = handle1.lowest_layer(); in test()
86 const win::object_handle& handle6 = handle1; in test()
92 handle1.assign(native_handle4); in test()
94 bool is_open = handle1.is_open(); in test()
97 handle1.close(); in test()
98 handle1.close(ec); in test()
[all …]
/third_party/boost/libs/iostreams/test/
Ddeprecated_file_descriptor_test.cpp148 boost_ios::detail::file_handle handle1 = ios_test::open_file_handle(test1.name()); in file_handle_test_impl() local
152 FileDescriptor device1(handle1); in file_handle_test_impl()
153 BOOST_CHECK(device1.handle() == handle1); in file_handle_test_impl()
154 BOOST_CHECK_HANDLE_OPEN(handle1); in file_handle_test_impl()
158 BOOST_CHECK_HANDLE_OPEN(handle1); in file_handle_test_impl()
161 BOOST_CHECK_HANDLE_OPEN(handle1); in file_handle_test_impl()
164 BOOST_CHECK_HANDLE_OPEN(handle1); in file_handle_test_impl()
167 ios_test::close_file_handle(handle1); in file_handle_test_impl()
171 boost_ios::detail::file_handle handle1 = ios_test::open_file_handle(test1.name()); in file_handle_test_impl() local
175 FileDescriptor device1(handle1, true); in file_handle_test_impl()
[all …]
Dfile_descriptor_test.cpp542 boost_ios::detail::file_handle handle1 = open_file_handle(test1.name()); in file_handle_test_impl() local
545 FileDescriptor device1(handle1, boost_ios::never_close_handle); in file_handle_test_impl()
546 BOOST_CHECK(device1.handle() == handle1); in file_handle_test_impl()
550 BOOST_CHECK_HANDLE_OPEN(handle1); in file_handle_test_impl()
552 close_file_handle(handle1); in file_handle_test_impl()
557 boost_ios::detail::file_handle handle1 = open_file_handle(test1.name()); in file_handle_test_impl() local
560 FileDescriptor device1(handle1, boost_ios::close_handle); in file_handle_test_impl()
561 BOOST_CHECK(device1.handle() == handle1); in file_handle_test_impl()
564 BOOST_CHECK_HANDLE_CLOSED(handle1); in file_handle_test_impl()
567 BOOST_CHECK_HANDLE_CLOSED(handle1); in file_handle_test_impl()
[all …]
/third_party/musl/libc-test/src/functionalext/dlns/
Ddlns_set_fun.c105 void *handle1 = dlopen_ns(&dlns, libB, RTLD_LAZY); in dlns_set_namespace_lib_path_0500() local
106 EXPECT_TRUE("dlns_set_namespace_lib_path_0500", handle1); in dlns_set_namespace_lib_path_0500()
107 dlclose(handle1); in dlns_set_namespace_lib_path_0500()
140 void* handle1 = dlopen_ns(&dlns, dllNamePath, RTLD_LAZY); in dlns_set_namespace_separated_0200() local
141 EXPECT_FALSE("dlns_set_namespace_separated_0200", handle1); in dlns_set_namespace_separated_0200()
186 void* handle1 = dlopen_ns(&dlns, dllNamePath, RTLD_LAZY); in dlns_set_namespace_permitted_paths_0200() local
187 EXPECT_TRUE("dlns_set_namespace_permitted_paths_0200", handle1); in dlns_set_namespace_permitted_paths_0200()
188 dlclose(handle1); in dlns_set_namespace_permitted_paths_0200()
214 void* handle1 = dlopen_ns(&dlns, newLibPath, RTLD_LAZY); in dlns_set_namespace_permitted_paths_0300() local
215 EXPECT_TRUE("dlns_set_namespace_permitted_paths_0300", handle1); in dlns_set_namespace_permitted_paths_0300()
[all …]
Ddlns_special_scene.c34 void* handle1 = dlopen_ns(&dlns, dllName, RTLD_LAZY); in dlopen_ns_special_0100() local
35 EXPECT_TRUE("dlopen_ns_special_0100", handle1); in dlopen_ns_special_0100()
43 dlclose(handle1); in dlopen_ns_special_0100()
60 void* handle1 = dlopen_ns(&dlns_no_allowed_libs, dllName, RTLD_LAZY); in dlopen_ns_special_0200() local
61 EXPECT_TRUE("dlopen_ns_special_0200", handle1); in dlopen_ns_special_0200()
69 dlclose(handle1); in dlopen_ns_special_0200()
Ddlns_inherit.c43 void* handle1 = dlopen_ns(&dlnsA, sharedLib, RTLD_LAZY); in dlns_inherit_0100() local
44 EXPECT_TRUE("dlns_inherit_0100", handle1); in dlns_inherit_0100()
45 dlclose(handle1); in dlns_inherit_0100()
66 void* handle1 = dlopen_ns(&dlnsA, sharedLib, RTLD_LAZY); in dlns_inherit_0200() local
67 EXPECT_FALSE("dlns_inherit_0200", handle1); in dlns_inherit_0200()
84 void* handle1 = dlopen_ns(&dlnsA, dllName_inh_003, RTLD_LAZY); in dlns_inherit_0300() local
85 EXPECT_FALSE("dlns_inherit_0300", handle1); in dlns_inherit_0300()
114 void* handle1 = dlopen_ns(&dlnsAA, dllName, RTLD_LAZY); in dlns_inherit_0400() local
115 EXPECT_FALSE("dlns_inherit_0400", handle1); in dlns_inherit_0400()
265 void* handle1 = dlopen_ns(&dlnsA, libB, RTLD_LAZY); in dlns_inherit_0900() local
[all …]
Ddlns_separated.c220 void* handle1 = dlopen_ns(&dlns, libB, RTLD_LAZY); in separated_1100() local
221 EXPECT_FALSE("separated_1100", handle1); in separated_1100()
242 void* handle1 = dlopen_ns(&dlns, libbb, RTLD_LAZY); in separated_1200() local
243 EXPECT_FALSE("separated_1200", handle1); in separated_1200()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcordz_handle_test.cc121 auto* handle1 = new CordzHandle(); in TEST() local
122 EXPECT_TRUE(snapshot1.DiagnosticsHandleIsSafeToInspect(handle1)); in TEST()
124 CordzHandle::Delete(handle1); in TEST()
125 EXPECT_TRUE(snapshot1.DiagnosticsHandleIsSafeToInspect(handle1)); in TEST()
129 EXPECT_TRUE(snapshot1.DiagnosticsHandleIsSafeToInspect(handle1)); in TEST()
131 EXPECT_FALSE(snapshot2.DiagnosticsHandleIsSafeToInspect(handle1)); in TEST()
135 EXPECT_TRUE(snapshot1.DiagnosticsHandleIsSafeToInspect(handle1)); in TEST()
/third_party/musl/libc-test/src/functional/
Ddlopen_ns.c65 void* handle1 = dlopen_ns(&dlns1, dllName, RTLD_LAZY); in test_open_by_sameso_in_diff_ns() local
66 if(!handle1) in test_open_by_sameso_in_diff_ns()
73 if(dlclose(handle1)) in test_open_by_sameso_in_diff_ns()
84 void* handle1 = dlopen_ns(&dlns, dllName, RTLD_LAZY); in test_open_by_ini_mtso_ns() local
85 if(!handle1) in test_open_by_ini_mtso_ns()
92 if(dlclose(handle1) ) in test_open_by_ini_mtso_ns()
/third_party/node/test/parallel/
Dtest-timers-same-timeout-wrong-list-deleted.js16 const handle1 = setTimeout(common.mustCall(function() { constant
18 clearTimeout(handle1);
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/test/
Dlock_test.cc213 PlatformThreadHandle handle1 = kNullThreadHandle; in MutexFourThreads() local
217 EXPECT_TRUE(PlatformThread::Create(&thread1, &handle1)); in MutexFourThreads()
223 PlatformThread::Join(handle1); in MutexFourThreads()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dlock_test.cc213 PlatformThreadHandle handle1 = kNullThreadHandle; in MutexFourThreads() local
217 EXPECT_TRUE(PlatformThread::Create(&thread1, &handle1)); in MutexFourThreads()
223 PlatformThread::Join(handle1); in MutexFourThreads()
/third_party/abseil-cpp/absl/flags/
Dflag_test.cc818 auto* handle1 = absl::FindCommandLineFlag("flag_on_separate_file"); in __anon23eabe6b0c02() local
820 if (handle1 != nullptr && handle2 != nullptr) { in __anon23eabe6b0c02()
821 return handle1->Name() == handle2->Name(); in __anon23eabe6b0c02()
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
Dflag_test.cc860 auto* handle1 = absl::FindCommandLineFlag("flag_on_separate_file"); in __anon5ab0b4400d02() local
862 if (handle1 != nullptr && handle2 != nullptr) { in __anon5ab0b4400d02()
863 return handle1->Name() == handle2->Name(); in __anon5ab0b4400d02()