Home
last modified time | relevance | path

Searched refs:handle2 (Results 1 – 20 of 20) sorted by relevance

/third_party/musl/libc-test/src/functional/
Ddlopen_ns.c71 void* handle2 = dlopen_ns(&dlns1, dllName, RTLD_NOW); in dlopen_same_so_twice_by_same_ns() local
72 if(!handle2) in dlopen_same_so_twice_by_same_ns()
75 if (handle1 != handle2) in dlopen_same_so_twice_by_same_ns()
81 if(dlclose(handle2)) in dlopen_same_so_twice_by_same_ns()
100 void* handle2 = dlopen_ns(&dlns2, dllName, RTLD_NOW); in dlopen_same_so_by_different_ns() local
101 if(!handle2) in dlopen_same_so_by_different_ns()
104 if (handle1 == handle2) in dlopen_same_so_by_different_ns()
110 if(dlclose(handle2)) in dlopen_same_so_by_different_ns()
130 void* handle2 = dlopen_ns(&dlns2, dllName, RTLD_NOW); in dlopen_same_so_by_different_inherit_ns() local
131 if(!handle2) in dlopen_same_so_by_different_inherit_ns()
[all …]
Ddlopen.c57 void* handle2 = dlopen(SO_LOAD_BY_GLOBAL, RTLD_GLOBAL); in dlopen_so_used_by_dlsym() local
58 if(!handle2) in dlopen_so_used_by_dlsym()
67 if(dlclose(handle2)) in dlopen_so_used_by_dlsym()
82 void* handle2 = dlopen(SO_FOR_NO_DELETE, RTLD_NOLOAD); in dlopen_nodelete_and_noload() local
83 if(!handle2) in dlopen_nodelete_and_noload()
86 if (handle1 != handle2) { in dlopen_nodelete_and_noload()
/third_party/musl/libc-test/src/functionalext/dlns/
Ddlns_special_scene.c37 void* handle2 = dlopen_ns(&dlns, dllName, RTLD_LAZY); in dlopen_ns_special_0100() local
38 EXPECT_TRUE("dlopen_ns_special_0100", handle2); in dlopen_ns_special_0100()
44 dlclose(handle2); in dlopen_ns_special_0100()
63 void* handle2 = dlopen_ns(&dlns_normal, dllName, RTLD_LAZY); in dlopen_ns_special_0200() local
64 EXPECT_TRUE("dlopen_ns_special_0200", handle2); in dlopen_ns_special_0200()
70 dlclose(handle2); in dlopen_ns_special_0200()
Ddlns_inherit.c269 void* handle2 = dlopen_ns(&dlnsA, libC, RTLD_LAZY); in dlns_inherit_0900() local
270 EXPECT_TRUE("dlns_inherit_0900", handle2); in dlns_inherit_0900()
271 dlclose(handle2); in dlns_inherit_0900()
309 void* handle2 = dlopen_ns(&dlnsC, dllName, RTLD_LAZY); in dlns_inherit_1000() local
310 EXPECT_TRUE("dlns_inherit_1000", handle2); in dlns_inherit_1000()
311 dlclose(handle2); in dlns_inherit_1000()
Ddlns_set_fun.c257 void* handle2 = dlopen_ns(&dlns, dllNamePath, RTLD_LAZY); in dlns_set_namespace_permitted_paths_0500() local
258 EXPECT_TRUE("dlns_set_namespace_permitted_paths_0500", handle2); in dlns_set_namespace_permitted_paths_0500()
259 dlclose(handle2); in dlns_set_namespace_permitted_paths_0500()
/third_party/rust/crates/tracing/tracing/tests/
Dfilters_dont_leak.rs24 let (subscriber2, handle2) = subscriber::mock() in spans_dont_leak()
43 handle2.assert_finished(); in spans_dont_leak()
63 let (subscriber2, handle2) = subscriber::mock() in events_dont_leak()
80 handle2.assert_finished(); in events_dont_leak()
Dmultiple_max_level_hints.rs43 let (subscriber2, handle2) = subscriber::mock() in multiple_max_level_hints()
68 handle2.assert_finished(); in multiple_max_level_hints()
/third_party/musl/libc-test/src/functionalext/ldso_cfi/
Dldso_cfi_check.c256 void* handle2 = dlopen(LIB_PATH, RTLD_LAZY); in cfi_slowpath_function_test_0007() local
257 EXPECT_PTREQ("cfi_slowpath_function_test_0007", handle, handle2); in cfi_slowpath_function_test_0007()
258 *(void **)(&get_count) = dlsym(handle2, "get_count"); in cfi_slowpath_function_test_0007()
259 *(void **)(&get_type_id) = dlsym(handle2, "get_type_id"); in cfi_slowpath_function_test_0007()
260 *(void **)(&get_address) = dlsym(handle2, "get_address"); in cfi_slowpath_function_test_0007()
261 *(void **)(&get_diag) = dlsym(handle2, "get_diag"); in cfi_slowpath_function_test_0007()
262 *(void **)(&get_global_address) = dlsym(handle2, "get_global_address"); in cfi_slowpath_function_test_0007()
271 dlclose(handle2); in cfi_slowpath_function_test_0007()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgsttask.c356 gpointer handle, handle2; in GST_START_TEST() local
374 handle2 = in GST_START_TEST()
389 gst_task_pool_join (pool, handle2); in GST_START_TEST()
410 gpointer handle, handle2; in GST_START_TEST() local
428 handle2 = in GST_START_TEST()
450 gst_task_pool_join (pool, handle2); in GST_START_TEST()
/third_party/node/test/parallel/
Dtest-timers-same-timeout-wrong-list-deleted.js21 const handle2 = setTimeout(common.mustNotCall(), TIMEOUT);
28 clearTimeout(handle2);
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcordz_handle_test.cc128 auto* handle2 = new CordzHandle(); in TEST() local
130 EXPECT_TRUE(snapshot1.DiagnosticsHandleIsSafeToInspect(handle2)); in TEST()
132 EXPECT_TRUE(snapshot2.DiagnosticsHandleIsSafeToInspect(handle2)); in TEST()
134 CordzHandle::Delete(handle2); in TEST()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dlock_test.cc214 PlatformThreadHandle handle2 = kNullThreadHandle; in MutexFourThreads() local
218 EXPECT_TRUE(PlatformThread::Create(&thread2, &handle2)); in MutexFourThreads()
224 PlatformThread::Join(handle2); in MutexFourThreads()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/test/
Dlock_test.cc214 PlatformThreadHandle handle2 = kNullThreadHandle; in MutexFourThreads() local
218 EXPECT_TRUE(PlatformThread::Create(&thread2, &handle2)); in MutexFourThreads()
224 PlatformThread::Join(handle2); in MutexFourThreads()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Dtjunittest.c380 tjhandle handle2 = tjInitCompress(); in compTest() local
382 if (!handle2) _throwtj(); in compTest()
389 _tj(tjEncodeYUV3(handle2, srcBuf, w, 0, h, pf, yuvBuf, pad, subsamp, in compTest()
391 tjDestroy(handle2); in compTest()
440 tjhandle handle2 = tjInitDecompress(); in _decompTest() local
442 if (!handle2) _throwtj(); in _decompTest()
460 _tj(tjDecodeYUV(handle2, yuvBuf, pad, subsamp, dstBuf, scaledWidth, 0, in _decompTest()
462 tjDestroy(handle2); in _decompTest()
/third_party/libjpeg-turbo/
Dtjunittest.c386 tjhandle handle2 = tjInitCompress(); in compTest() local
388 if (!handle2) THROW_TJ(); in compTest()
395 TRY_TJ(tjEncodeYUV3(handle2, srcBuf, w, 0, h, pf, yuvBuf, pad, subsamp, in compTest()
397 tjDestroy(handle2); in compTest()
447 tjhandle handle2 = tjInitDecompress(); in _decompTest() local
449 if (!handle2) THROW_TJ(); in _decompTest()
467 TRY_TJ(tjDecodeYUV(handle2, yuvBuf, pad, subsamp, dstBuf, scaledWidth, 0, in _decompTest()
469 tjDestroy(handle2); in _decompTest()
/third_party/skia/third_party/externals/libjpeg-turbo/
Dtjunittest.c394 tjhandle handle2 = tjInitCompress(); in compTest() local
396 if (!handle2) THROW_TJ(); in compTest()
404 TRY_TJ(tjEncodeYUV3(handle2, srcBuf, w, 0, h, pf, yuvBuf, pad, subsamp, in compTest()
406 tjDestroy(handle2); in compTest()
456 tjhandle handle2 = tjInitDecompress(); in _decompTest() local
458 if (!handle2) THROW_TJ(); in _decompTest()
477 TRY_TJ(tjDecodeYUV(handle2, yuvBuf, pad, subsamp, dstBuf, scaledWidth, 0, in _decompTest()
479 tjDestroy(handle2); in _decompTest()
/third_party/rust/crates/tracing/tracing-subscriber/tests/env_filter/
Dper_layer.rs272 let (layer2, handle2) = { in multiple_dynamic_filters()
304 handle2.assert_finished(); in multiple_dynamic_filters()
Dmain.rs513 let (layer2, handle2) = { in multiple_dynamic_filters()
545 handle2.assert_finished(); in multiple_dynamic_filters()
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dgstglcontext.c360 guintptr handle, handle2; in GST_START_TEST() local
381 handle2 = gst_gl_context_get_gl_context (wrapped_context); in GST_START_TEST()
385 fail_if (handle != handle2); in GST_START_TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
Dflag_test.cc861 auto* handle2 = absl::FindCommandLineFlag("retired_flag_on_separate_file"); in __anon78bad5ff0d02() local
862 if (handle1 != nullptr && handle2 != nullptr) { in __anon78bad5ff0d02()
863 return handle1->Name() == handle2->Name(); in __anon78bad5ff0d02()