| /third_party/mesa3d/src/tool/dlclose-skip/ |
| D | meson.build | 2 # SPDX-License-Identifier: MIT 4 shared_library('dlclose-skip', build 5 'dlclose-skip.c',
|
| /third_party/mesa3d/src/tool/ |
| D | meson.build | 3 # SPDX-License-Identifier: MIT 9 if with_tools.contains('dlclose-skip') 10 subdir('dlclose-skip') subdir
|
| /third_party/musl/libc-test/src/functionalext/supplement/ldso/ |
| D | dl_iterate_phdr.c | 7 * http://www.apache.org/licenses/LICENSE-2.0 34 void *addrhead = (void *)(info->dlpi_addr + info->dlpi_phdr[0].p_vaddr); in header_handler() 35 if ((strcmp(info->dlpi_name, "/data/libtest.so") == 0) && (addrhead != NULL)) { in header_handler() 45 void *addrhead = (void *)(info->dlpi_addr + info->dlpi_phdr[0].p_vaddr); in same_name_count_handler() 46 if ((strcmp(info->dlpi_name, "/data/libtest.so") == 0) && (addrhead != NULL)) { in same_name_count_handler() 82 dlclose(handle_globle); in child_func() 97 dlclose(handle); in dl_iterate_phdr_0100() 104 …* @tc.desc : Call dlopen twice, dlclose twice, the target so cannot find when second dlclose … 118 dlclose(handle); in dl_iterate_phdr_0200() 122 dlclose(handle); in dl_iterate_phdr_0200() [all …]
|
| /third_party/skia/third_party/externals/angle2/src/gpu_info_util/ |
| D | SystemInfo_libpci.cpp | 3 // Use of this source code is governed by a BSD-style license that can be 7 // SystemInfo_libpci.cpp: implementation of the libPCI-specific parts of SystemInfo.h 70 dlclose(mHandle); in ~LibPCI() 103 for (pci_dev *device = access->devices; device != nullptr; device = device->next) in GetPCIDevicesWithLibPCI() 107 // Skip non-GPU devices in GetPCIDevicesWithLibPCI() 108 if (device->device_class >> 8 != PCI_BASE_CLASS_DISPLAY) in GetPCIDevicesWithLibPCI() 113 // Skip unknown devices in GetPCIDevicesWithLibPCI() 114 if (device->vendor_id == 0 || device->device_id == 0) in GetPCIDevicesWithLibPCI() 120 info.vendorId = device->vendor_id; in GetPCIDevicesWithLibPCI() 121 info.deviceId = device->device_id; in GetPCIDevicesWithLibPCI() [all …]
|
| /third_party/cares/src/lib/ |
| D | ares_sysconfig_mac.c | 3 * Copyright (c) 2024 The c-ares project and its contributors 24 * SPDX-License-Identifier: MIT 46 * https://opensource.apple.com/source/configd/configd-1109.140.1/dnsinfo/dnsinfo.h 52 # pragma GCC diagnostic ignored "-Wc11-extensions" 79 if (dnsinfo->handle) { in dnsinfo_destroy() 80 dlclose(dnsinfo->handle); in dnsinfo_destroy() 112 dnsinfo->handle = dlopen(searchlibs[i], RTLD_LAZY /* | RTLD_NOLOAD */); in dnsinfo_init() 113 if (dnsinfo->handle == NULL) { in dnsinfo_init() 118 dnsinfo->dns_configuration_copy = (dns_config_t * (*)(void)) in dnsinfo_init() 119 dlsym(dnsinfo->handle, "dns_configuration_copy"); in dnsinfo_init() [all …]
|
| /third_party/mesa3d/src/util/u_gralloc/ |
| D | u_gralloc_cros_api.c | 2 * Mesa 3-D graphics library 5 * SPDX-License-Identifier: MIT 21 * offsets and strides. If we have this, we can skip straight to 55 gralloc_module_t *gr_mod = gr->gralloc_module; in cros_get_buffer_info() 57 if (gr_mod->perform(gr_mod, CROS_GRALLOC_DRM_GET_BUFFER_INFO, hnd->handle, in cros_get_buffer_info() 59 out->drm_fourcc = info.drm_fourcc; in cros_get_buffer_info() 60 out->modifier = info.modifier; in cros_get_buffer_info() 61 out->num_planes = info.num_fds; in cros_get_buffer_info() 62 for (int i = 0; i < out->num_planes; i++) { in cros_get_buffer_info() 63 out->fds[i] = info.fds[i]; in cros_get_buffer_info() [all …]
|
| /third_party/mesa3d/.gitlab-ci/build/ |
| D | gitlab-ci.yml | 2 .build-common: 3 extends: .container+build-rules 7 # Build jobs don't take more than 1-3 minutes. 5-8 min max on a fresh runner 22 - _build/meson-logs/*.txt 23 - _build/meson-logs/strace 24 - _build/.ninja_log 25 - artifacts 28 .build-linux: 29 extends: .build-common 36 - !reference [default, before_script] [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/runtime/hardware/ |
| D | device_context_manager.cc | 2 * Copyright 2021-2023 Huawei Technologies Co., Ltd 8 * http://www.apache.org/licenses/LICENSE-2.0 86 MS_LOG(DEBUG) << "Start exec " << nvcc_path << " --version"; in GetCudaVersionFromNvcc() 87 if (execl(nvcc_path.c_str(), "nvcc", "--version", nullptr) == -1) { in GetCudaVersionFromNvcc() 90 exit(-1); in GetCudaVersionFromNvcc() 96 if (waitpid(pid, &status, 0) == -1) { in GetCudaVersionFromNvcc() 208 if (dlclose(handle) != 0) { in CloseDynamicLib() 261 MS_LOG(INFO) << "Plugin path is invalid: [" << plugin_so_path << "], skip!"; in GetPluginPath() 266 MS_LOG(INFO) << "Plugin path is invalid: [" << plugin_so_path << "], skip!"; in GetPluginPath() 281 auto ud_target = node->user_data<std::string>(kAttrPrimitiveTarget); in FetchRealDeviceContext() [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/backend/common/graph_kernel/symbol_engine/jit/ |
| D | cpp_visitor.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 61 dlclose(dynlib_); in ~CppVisitor() 72 var_tag_ = std::vector<int32_t>(symbols_table_->size(), 0); in CodeGen() 79 for (size_t j = 0; j < shape->smbls_.size(); ++j) { in CodeGen() 80 shape->smbls_[j]->Accept(this); in CodeGen() 102 // skip compile if no function is generated in Compile() 120 // --- generate .cc file in CompileImpl() 136 cmd << "g++ -fPIC -shared -std=c++17 " << real_filename.value() << " -o " << so_name << " 2>&1"; in CompileImpl() 204 ope_string = "-"; in Visit() 218 op.a_->Accept(this); in Visit() [all …]
|
| /third_party/musl/ldso/linux/ |
| D | dynlink.c | 79 #define MAXP2(a,b) (-(-(a)&-(b))) 80 #define ALIGN(x,y) ((x)+(y)-1 & -(y)) 83 size_t f = bloomwords[gho & (ght[2] - 1)]; \ 88 #define container_of(p,t,m) ((t*)((char *)(p)-offsetof(t,m))) 100 #define INVALID_FD_INHIBIT_FURTHER_SEARCH (-2) 124 /* Used for dlclose */ 299 ssize_t sz = datasz - *off; in parse_prot() 305 if (pr->pr_datasz > sz) in parse_prot() 307 ret = parse_elf_property(pr->pr_type, data + o); in parse_prot() 317 ssize_t sz = ph->p_filesz > BUF_MAX ? BUF_MAX : ph->p_filesz; in parse_extra_prot_fd() [all …]
|
| /third_party/libuv/src/unix/ |
| D | fsevents.c | 26 /* iOS (currently) doesn't provide the FSEvents-API (nor CoreServices) */ 44 #include "darwin-stub.h" 112 /* Lazy-loaded by uv__fsevents_global_init(). */ 157 uv_mutex_lock(&(handle)->cf_mutex); \ 158 /* Split-off all events and empty original queue */ \ 159 uv__queue_move(&(handle)->cf_events, &events); \ 161 err = (handle)->cf_error; \ 162 (handle)->cf_error = 0; \ 163 uv_mutex_unlock(&(handle)->cf_mutex); \ 178 (handle)->cb((handle), NULL, 0, err); \ [all …]
|
| /third_party/openssl/crypto/ |
| D | init.c | 2 * Copyright 2016-2022 The OpenSSL Project Authors. All Rights Reserved. 49 /* Guards simultaneous INIT_LOAD_CONFIG calls with non-NULL settings */ 164 * In case of No!, it is uncertain our exit()-handlers can still be in DEFINE_RUN_ONCE_STATIC() 165 * called. After dlclose() the whole library might have been unloaded in DEFINE_RUN_ONCE_STATIC() 370 currhandler->handler(); in OPENSSL_cleanup() 372 currhandler = currhandler->next; in OPENSSL_cleanup() 385 * We assume we are single-threaded for this function, i.e. no race in OPENSSL_cleanup() 401 * - ossl_rand_cleanup_int could call an ENGINE's RAND cleanup function so in OPENSSL_cleanup() 403 * - ENGINEs use CRYPTO_EX_DATA and therefore, must be cleaned up in OPENSSL_cleanup() 405 * - ossl_config_modules_free() can end up in ENGINE code so must be called in OPENSSL_cleanup() [all …]
|
| /third_party/musl/porting/linux/user/ldso/ |
| D | dynlink.c | 58 #define MAXP2(a,b) (-(-(a)&-(b))) 59 #define ALIGN(x,y) ((x)+(y)-1 & -(y)) 62 size_t f = bloomwords[gho & (ght[2]-1)]; \ 67 #define container_of(p,t,m) ((t*)((char *)(p)-offsetof(t,m))) 79 #define INVALID_FD_INHIBIT_FURTHER_SEARCH (-2) 95 /* Used for dlclose */ 243 app->namespace = default_ns; in init_default_namespace() 262 ns_set_separated(ns, conf->get_separated(ns->ns_name)); in set_ns_attrs() 264 lib_paths = conf->get_lib_paths(ns->ns_name); in set_ns_attrs() 267 asan_lib_paths = conf->get_asan_lib_paths(ns->ns_name); in set_ns_attrs() [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/hal/hccl_adapter/ |
| D | hccl_adapter.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 161 (void)dlclose(plugin_handle_); in FinalizePlugin() 168 bool is_graph_mode = context->get_param<int>(MS_CTX_EXECUTION_MODE) == kGraphMode; in GetCurrentHcclMode() 169 bool is_task_sink = context->get_param<bool>(MS_CTX_ENABLE_TASK_SINK); in GetCurrentHcclMode() 170 bool graph_kbk = context->IsKByKExecutorMode(); in GetCurrentHcclMode() 203 MS_LOG(INFO) << "Hccl has been inited, skip."; in InitHccl() 226 MS_LOG(INFO) << "Hccl has been inited, skip."; in InitHccl() 259 MS_LOG(INFO) << "Hccl has never been inited, skip."; in FinalizeHccl() 336 MS_LOG(INFO) << "Get builder " << iter->first; in InitKernelInfoStore() 337 ops_kernel_builder_ = iter->second; in InitKernelInfoStore() [all …]
|
| /third_party/sqlite/patch/ |
| D | 0011-Support-compress-db.patch | 6 --- 7 ext/misc/cksumvfs.c | 4 +- 9 src/sqlite3.c | 575 +++++++++++++++++++++--- 10 3 files changed, 1552 insertions(+), 71 deletions(-) 13 diff --git a/ext/misc/cksumvfs.c b/ext/misc/cksumvfs.c 15 --- a/ext/misc/cksumvfs.c 17 @@ -966,7 +966,7 @@ static int cksmRegisterVfs(void){ 18 cksm_vfs.iVersion = pOrig->iVersion; 20 cksm_vfs.szOsFile = pOrig->szOsFile + sizeof(CksmFile); 21 - rc = sqlite3_vfs_register(&cksm_vfs, 1); [all …]
|
| /third_party/mesa3d/ |
| D | meson_options.txt | 1 # Copyright © 2017-2019 Intel Corporation 2 # SPDX-License-Identifier: MIT 5 'split-debug', 8 …ription : 'split debug information (-gsplit-dwarf compile flag) and debug information in the gdb i… 22 'egl-native-platform', 33 'android-stub', 36 description : 'Build against android-stub', 40 'android-strict', 49 'android-libbacktrace', 55 'dri-drivers-path', [all …]
|
| D | meson.build | 1 # Copyright © 2017-2020 Intel Corporation 2 # SPDX-License-Identifier: MIT 12 'b_ndebug=if-release', 22 add_project_arguments('-fobjc-arc', language : 'objc') 45 …ug') == 'true' or (get_option('buildtype') == 'release' and get_option('b_ndebug') == 'if-release') 51 '-D__STDC_CONSTANT_MACROS', 52 '-D__STDC_FORMAT_MACROS', 53 '-D__STDC_LIMIT_MACROS', 54 '-DPACKAGE_VERSION="@0@"'.format(meson.project_version()), 55 '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"', [all …]
|
| /third_party/ffmpeg/libavfilter/ |
| D | vf_frei0r.c | 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 83 Frei0rContext *s = ctx->priv; in load_sym() 84 void *sym = dlsym(s->dl_handle, sym_name); in load_sym() 92 Frei0rContext *s = ctx->priv; in set_param() 117 if (av_parse_color(rgba, param, -1, ctx) < 0) in set_param() 135 s->set_param_value(s->instance, &val, index); in set_param() 146 Frei0rContext *s = ctx->priv; in set_params() 152 for (i = 0; i < s->plugin_info.num_params; i++) { in set_params() 157 s->get_param_info(&info, i); in set_params() 163 params++; /* skip ':' */ in set_params() [all …]
|
| /third_party/astc-encoder/Source/ |
| D | astcenc_internal.h | 1 // SPDX-License-Identifier: Apache-2.0 2 // ---------------------------------------------------------------------------- 3 // Copyright 2011-2024 Arm Limited 9 // http://www.apache.org/licenses/LICENSE-2.0 16 // ---------------------------------------------------------------------------- 56 * once, or that the loop iteration count is a multiple of a vector length, which avoids pre-loop 57 * checks and can avoid loop tails if loops are unrolled by the auto-vectorizer. 159 * we only use it where it has the most value - low quant levels with wide 164 * one 8-wide vector. Decreasing by one doesn't buy much performance, and 275 // Unreachable - the enum is fully described in get_quant_level() [all …]
|
| /third_party/backends/backend/ |
| D | dll.c | 1 /* sane - Scanner Access Now Easy. 2 Copyright (C) 1996, 1997 David Mosberger-Tang 80 # pragma GCC diagnostic ignored "-Wpedantic" 93 the pointed-to type, the behavior is undefined. Although GCC is 101 # pragma GCC diagnostic ignored "-Wpragmas" /* backward compatibility */ 102 # pragma GCC diagnostic ignored "-Wcast-function-type" 125 # include <mach-o/dyld.h> 249 #include "dll-preload.h" 312 DBG (0, "add_backend: remove the dll-backend from your dll.conf!\n"); in add_backend() 316 for (prev = 0, be = first_backend; be; prev = be, be = be->next) in add_backend() [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/ |
| D | acl_adapter.cc | 2 * Copyright 2022-2023 Huawei Technologies Co., Ltd 8 * http://www.apache.org/licenses/LICENSE-2.0 47 // 310.tar.gz skip this check in InitPlugin() 48 if (MsContext::GetInstance() != nullptr && !MsContext::GetInstance()->IsAscendPluginLoaded()) { in InitPlugin() 223 (void)dlclose(plugin_handle_); in FinalizePlugin()
|
| /third_party/ntfs-3g/libfuse-lite/ |
| D | fuse.c | 3 Copyright (C) 2001-2007 Miklos Szeredi <miklos@szeredi.hu> 167 return -1; in fuse_load_so_name() 171 so->handle = dlopen(soname, RTLD_NOW); in fuse_load_so_name() 173 if (!so->handle) { in fuse_load_so_name() 177 if (!so->ctr) { in fuse_load_so_name() 184 if (so->handle) in fuse_load_so_name() 185 dlclose(so->handle); in fuse_load_so_name() 187 return -1; in fuse_load_so_name() 196 return -1; in fuse_load_so_module() 207 for (m = fuse_modules; m; m = m->next) { in fuse_find_module() [all …]
|
| /third_party/mesa3d/docs/relnotes/ |
| D | 22.2.0.rst | 1 Mesa 22.2.0 Release Notes / 2022-09-21 20 --------------- 24 b1f9c8fd08f2cae3adf83355bef4d2398e8025f44947332880f2d0066bdafa8c mesa-22.2.0.tar.xz 29 ------------ 31 - WGL_ARB_create_context_robustness 33 - d3d12 ARB_robust_buffer_access_behavior 35 - VK_EXT_robustness2 for lavapipe 37 - VK_EXT_image_2d_view_of_3d on RADV 39 - zink and d3d12 GL_EXT_memory_object_win32 and GL_EXT_semaphore_win32 support 41 - vertexAttributeInstanceRateZeroDivisor support for lavapipe [all …]
|
| /third_party/skia/m133/third_party/externals/icu/source/common/ |
| D | putil.cpp | 6 * Copyright (C) 1997-2016, International Business Machines 18 * for assumed case. Non-UNIX platforms must be 19 * special-cased. Rewrote numeric methods dealing 84 #error U_COMMON_IMPLEMENTATION not set - must be set for all ICU source files in common/ - see http… 110 # include <qliept.h> /* EPT_CALL macro - this include must be after all other "QSYSINCs" */ 173 /* floating point implementations ------------------------------------------- */ 186 /*--------------------------------------------------------------------------- 189 are non-POSIX must declare themselves so. The default POSIX implementation 190 will sometimes work for non-POSIX platforms as well (e.g., the NaN-related 192 ---------------------------------------------------------------------------*/ [all …]
|
| /third_party/skia/third_party/externals/icu/source/common/ |
| D | putil.cpp | 6 * Copyright (C) 1997-2016, International Business Machines 18 * for assumed case. Non-UNIX platforms must be 19 * special-cased. Rewrote numeric methods dealing 84 #error U_COMMON_IMPLEMENTATION not set - must be set for all ICU source files in common/ - see http… 110 # include <qliept.h> /* EPT_CALL macro - this include must be after all other "QSYSINCs" */ 173 /* floating point implementations ------------------------------------------- */ 186 /*--------------------------------------------------------------------------- 189 are non-POSIX must declare themselves so. The default POSIX implementation 190 will sometimes work for non-POSIX platforms as well (e.g., the NaN-related 192 ---------------------------------------------------------------------------*/ [all …]
|