| /third_party/vulkan-loader/.github/workflows/ |
| D | build.yml | 1 # Copyright (c) 2021-2024 Valve Corporation 2 # Copyright (c) 2021-2024 LunarG, Inc. 8 # http://www.apache.org/licenses/LICENSE-2.0 21 # https://docs.github.com/en/actions/using-jobs/using-concurrency 25 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} 26 cancel-in-progress: true 32 - main 34 permissions: read-all 37 linux: 39 runs-on: ${{matrix.os}} [all …]
|
| /third_party/rust/rust/tests/ui/asm/ |
| D | bad-template.rs | 3 // [x86_64_thirunsafeck] compile-flags: -Z thir-unsafeck --target x86_64-unknown-linux-gnu 4 // [aarch64_thirunsafeck] compile-flags: -Z thir-unsafeck --target aarch64-unknown-linux-gnu 5 // [x86_64_mirunsafeck] compile-flags: --target x86_64-unknown-linux-gnu 6 // [aarch64_mirunsafeck] compile-flags: --target aarch64-unknown-linux-gnu 8 // [x86_64_thirunsafeck] needs-llvm-components: x86 9 // [x86_64_mirunsafeck] needs-llvm-components: x86 10 // [aarch64_thirunsafeck] needs-llvm-components: aarch64 11 // [aarch64_mirunsafeck] needs-llvm-components: aarch64 17 macro_rules! asm { macro 31 asm!("{}"); in main() [all …]
|
| D | inline-syntax.rs | 2 //[x86_64] compile-flags: --target x86_64-unknown-linux-gnu 3 //[x86_64] check-pass 4 //[x86_64] needs-llvm-components: x86 5 //[x86_64_allowed] compile-flags: --target x86_64-unknown-linux-gnu 6 //[x86_64_allowed] check-pass 7 //[x86_64_allowed] needs-llvm-components: x86 8 //[arm] compile-flags: --target armv7-unknown-linux-gnueabihf 9 //[arm] build-fail 10 //[arm] needs-llvm-components: arm 11 // needs-asm-support [all …]
|
| /third_party/musl/ |
| D | WHATSNEW | 1 0.5.0 - initial release 5 0.5.9 - signal ABI bugfix, various cleanup and fixes: 25 many internal improvements have been made to the syscall-related code 30 0.6.0 - x86_64 port, various important bugs fixed 48 0.7.0 - major improvements to posix conformance and completeness 59 added syscall wrappers for the linux inotify interface. 61 malloc(0) now returns a non-null pointer. 64 hanging), and non-default-type mutex behavior. 67 libgcc with dwarf2 unwind support, and possibly other low-level tools. 69 improved musl-gcc compiler wrapper. [all …]
|
| /third_party/musl/scripts/build_lite/ |
| D | Makefile | 1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 2 # Copyright (c) 2020-2022 Huawei Device Co., Ltd. All rights reserved. 21 # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 35 MULTILIB = $(patsubst %.,%,$(shell $(CC) -print-multi-directory)) 37 TARGET = $(ARCH)-liteos-ohos 39 CROSS_COMPILE = $(CLANG:%clang=%llvm-) 40 CC = $(CLANG) --target=$(TARGET) $(ARCH_CFLAGS) 41 …subst $(dir $(shell $(filter-out $(ARCH_CFLAGS),$(CC)) -print-libgcc-file-name))%,/%,$(dir $(shell… 46 SED_ARGS = -e '/install-libs:/s/if/and/g' 50 LINUXKERNELDIR = $(TOPDIR)/kernel/linux/linux-5.10 [all …]
|
| /third_party/rust/rust/src/ci/docker/host-x86_64/dist-various-2/ |
| D | Dockerfile | 3 COPY scripts/cross-apt-packages.sh /scripts/ 4 RUN sh /scripts/cross-apt-packages.sh 7 RUN sed -i 's/^# deb-src/deb-src/' /etc/apt/sources.list 9 RUN apt-get update && apt-get build-dep -y clang llvm && apt-get install -y --no-install-recommends… 10 build-essential \ 11 # gcc-multilib can not be installed together with gcc-arm-linux-gnueabi 12 g++-8-multilib \ 13 libedit-dev \ 14 libgmp-dev \ 15 libisl-dev \ [all …]
|
| /third_party/rust/rust/tests/run-make/simd-ffi/ |
| D | Makefile | 7 TARGETS += arm-linux-androideabi arm-unknown-linux-gnueabihf arm-unknown-linux-gnueabi 17 LINUX=$(filter aarch64 mips,$(LLVM_COMPONENTS)) $(X86_ARCHS) macro 19 LINUX += mipsel 23 # fails with: failed to get iphonesimulator SDK path: no such file or directory 27 $(foreach arch,$(LINUX),$(eval TARGETS += $(arch)-unknown-linux-gnu)) 28 $(foreach arch,$(WINDOWS),$(eval TARGETS += $(arch)-pc-windows-gnu)) 29 #$(foreach arch,$(IOS),$(eval TARGETS += $(arch)-apple-ios)) 30 $(foreach arch,$(DARWIN),$(eval TARGETS += $(arch)-apple-darwin)) 35 # compile the rust file to the given target, but only to asm and IR 39 # enabled by-default for i686 and ARM; these features will be invalid [all …]
|
| /third_party/ltp/ |
| D | configure.ac | 2 AC_INIT([ltp], [LTP_VERSION], [ltp@lists.linux.it]) 9 include/mk/config-openposix.mk \ 32 …[m4_fatal([must install pkg-config or pkgconfig and pkg.m4 macro (usual dependency), see INSTALL])… 36 AC_CHECK_DECLS([IFLA_NET_NS_PID],,,[#include <linux/if_link.h>]) 42 asm/ldt.h \ 47 linux/can.h \ 48 linux/cgroupstats.h \ 49 linux/cryptouser.h \ 50 linux/close_range.h \ 51 linux/dccp.h \ [all …]
|
| /third_party/rust/crates/rustix/src/backend/linux_raw/ |
| D | vdso_wrappers.rs | 3 //! <https://man7.org/linux/man-pages/man7/vdso.7.html> 18 #[cfg(all(asm, target_arch = "x86"))] 19 use core::arch::asm; 29 pub(crate) fn clock_gettime(which_clock: ClockId) -> __kernel_timespec { in clock_gettime() 32 // the side effect of writing to the result buffer, and no others. in clock_gettime() 46 pub(crate) fn clock_gettime_dynamic(which_clock: DynamicClockId<'_>) -> io::Result<Timespec> { in clock_gettime_dynamic() 51 // See `FD_TO_CLOCKID` in Linux's `clock_gettime` documentation. in clock_gettime_dynamic() 69 // the side effect of writing to the result buffer, and no others. in clock_gettime_dynamic() 71 const EINVAL: c::c_int = -(c::EINVAL as c::c_int); in clock_gettime_dynamic() 89 use crate::backend::arch::asm; [all …]
|
| /third_party/openhitls/docs/en/4_User Guide/ |
| D | 1_Build and Installation Guide.md | 8 | -------- | ------------ | -------- | 9 | Gcc | ≥ 7.3.0 | Linux | 10 | Python | ≥ 3.5 | Linux | 11 | CMake | ≥ 3.16 | Linux | 12 | Sctp | No restriction on versions | Linux | 30 git clone --recurse-submodules https://gitcode.com/openhitls/openhitls.git 48 ├── README-en.md 58 - configure.py: provides the command line function for build configuration 59 - config and script: stores build-related scripts 60 - bsl: stores the code related to basic functions [all …]
|
| D | 4_Configuration guide.md | 6 …e defines the features of openHiTLS. It serves both as a comprehensive, full-featured configuratio… 16 "sha1": null, // md sub-feature 17 "sha2": { // md sub-feature 18 "sha224": null, // sha2 sub-feature 19 "sha256": null, // sha2 sub-feature 28 "deps": ["hmac"] // Features required by kdf, inherited by kdf sub-features 38 "asm": { 58 |---|---|---|---|---| 61 |c|object|No|None|C language implementation features| 62 |feature or sub-feature|object|No|None|Feature| [all …]
|
| /third_party/rust/rust/compiler/rustc_error_codes/src/error_codes/ |
| D | E0472.md | 1 Inline assembly (`asm!`) is not supported on this target. 5 ```ignore (cannot-change-target) 6 // compile-flags: --target sparc64-unknown-linux-gnu 9 use core::arch::asm; 13 asm!(""); // error: inline assembly is not supported on this target 18 The Rust compiler does not support inline assembly, with the `asm!` macro 25 There is no way to easily fix this issue, however: 30 * Consider contributing to <https://github.com/rust-lang/rust> and help
|
| /third_party/backends/backend/ |
| D | plustek-pp_sysdep.h | 1 /* @file plustek-pp_sysdep.h 3 * kernel-versions some stuff is maybe not relevant, but anyway... 5 * Copyright (C) 2000-2013 Gerhard Jaeger <gerhard@gjaeger.de> 8 * 0.30 - initial version 9 * 0.38 - added this header 10 * 0.39 - added kernel 2.4 stuff 11 * 0.40 - added slab.h/malloc.h stuff for kernel >= 2.4.17 12 * 0.41 - no changes 13 * 0.42 - added _GET_TIME 14 * - added LINUX_26 for new kernel [all …]
|
| /third_party/rust/rust/tests/codegen/ |
| D | stack-probes-inline.rs | 1 // Check the "probe-stack" attribute for targets with `StackProbeType::Inline`, 4 // compile-flags: -C no-prepopulate-passes 6 //[powerpc] compile-flags: --target powerpc-unknown-linux-gnu 7 //[powerpc] needs-llvm-components: powerpc 8 //[powerpc64] compile-flags: --target powerpc64-unknown-linux-gnu 9 //[powerpc64] needs-llvm-components: powerpc 10 //[powerpc64le] compile-flags: --target powerpc64le-unknown-linux-gnu 11 //[powerpc64le] needs-llvm-components: powerpc 12 //[s390x] compile-flags: --target s390x-unknown-linux-gnu 13 //[s390x] needs-llvm-components: systemz [all …]
|
| /third_party/ltp/include/lapi/ |
| D | rt_sigaction.h | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #define INVAL_SA_PTR ((void *)-1) 39 * From asm/signal.h -- this value isn't exported anywhere outside of glibc and 40 * asm/signal.h and is only required for the rt_sig* function family because 49 * x86-64 should always use SA_RESTORER. 51 * -- thus SA_RESTORER must always be defined along with 67 int ret_code = -1; in sig_initial() 80 /* And voila -- we just tricked the kernel into giving us our in sig_initial() 96 * Based on glibc/sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c 105 : /* no outputs */ in __rt_sigreturn_stub() [all …]
|
| /third_party/ltp/testcases/kernel/syscalls/fork/ |
| D | fork05.c | 22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 34 * Linux Test Project - Silicon Graphics, Inc. 52 *>There is no need to look at it, I know it cannot work anymore on recent 56 *>- -- 57 *>- --------------. ,-. 444 Castro Street 58 *>Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA 59 *>Red Hat `--' drepper at redhat.com `--------------------------- 63 *On Sat, Aug 12, 2000 at 12:47:31PM -0700, Ulrich Drepper wrote: 65 *> appended test program worked. Now with 2.4.0-test6 it's not working 90 *> add this program. It's mostly self-contained. The correct handling [all …]
|
| /third_party/ltp/testcases/cve/ |
| D | cve-2015-3290.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 2018-2022 Linux Test Project 12 http://www.openwall.com/lists/oss-security/2015/08/04/8 14 > +++++ CVE-2015-3290 +++++ 19 > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9b6e6a8334d56354853f9c… 21 > The other fix (synchronous modify_ldt) does *not* fix CVE-2015-3290. 23 > You can mitigate CVE-2015-3290 by blocking modify_ldt or 24 > perf_event_open using seccomp. A fully-functional, portable, reliable 32 reliable privilege escalation on any Linux x86_64 system in which 36 Glossing over a lot of details, the basic structure of Linux' nested NMI [all …]
|
| D | cve-2017-17053.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 /* Regression test for CVE-2017-17053, original reproducer can be found 7 …* https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ccd5b3235180eef3cf… 16 #include <asm/ldt.h> 70 shm->segfaulted = 1; in handler() 71 shm->do_exit = 1; in handler() 89 MAP_SHARED | MAP_ANONYMOUS, -1, 0); in setup() 111 if (shm->do_exit) in run_test() 130 shm->do_exit = 0; in run() 131 shm->segfaulted = 0; in run() [all …]
|
| /third_party/iptables/include/linux/ |
| D | types.h | 4 #include <asm/types.h> 8 #include <linux/posix_types.h> 12 * Below are truly Linux-specific types that should never collide with 13 * any application/library that wants linux/types.h. 38 * aligned_u64 should be used in defining kernel<->userspace ABIs to avoid 39 * common 32/64-bit compat problems. 40 * 64-bit values align to 4-byte boundaries on x86_32 (and possibly other 41 * architectures) and to 8-byte boundaries on 64-bit architetures. The new 42 * aligned_64 type enforces 8-byte alignment so that structs containing 43 * aligned_64 values have the same alignment on 32-bit and 64-bit architectures. [all …]
|
| /third_party/mesa3d/bin/ |
| D | perf-annotate-jit.py | 4 # Copyright 2008-2009 Jose Fonseca 18 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 Linux `perf annotate` does not work with JIT code. This script takes the data 29 into /tmp/perf-XXXXX.map.asm and produces output similar to `perf annotate`. 55 """Base class for parsers that read line-based formats.""" 106 stream = open(filename + '.asm', 'rt') 110 asm = [] 115 asm.append((addr, instr)) 118 return asm 126 """Parser for linux perf callgraph output. [all …]
|
| /third_party/python/Modules/ |
| D | socketmodule.h | 57 * interface at all, so there is no point including the code that 89 # include <asm/types.h> 91 # include <linux/netlink.h> 98 # include <asm/types.h> 100 # include <linux/qrtr.h> 127 # include <linux/tipc.h> 131 # include <linux/can.h> 140 #include <linux/can/raw.h> 144 #include <linux/can/bcm.h> 148 #include <linux/can/j1939.h> [all …]
|
| /third_party/openhitls/testcode/script/ |
| D | mini_build_test.sh | 12 # EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, 17 set -eu 47 printf " %-25s %s\n" "help" "Print this help." 48 printf " %-25s %s\n" "macro" "INFO: Obtains the macro of the hitls." 49 …printf " %-25s %s\n" "no-size" "INFO: Do not list the detail of the object files … 50 printf " %-25s %s\n" "no-build" "BUILD: Do not build hitls." 51 printf " %-25s %s\n" "enable=a;b;c" "BUILD: Specify the features of the build." 52 printf " %-25s %s\n" "x8664|armv8" "BUILD: Specify the type of assembly to build." 53 printf " %-25s %s\n" "linux|dopra" "BUILD: Specify the type of system to build." 54 …printf " %-25s %s\n" "32" "BUILD: Specify the number of system bits to 32, d… [all …]
|
| /third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
| D | lp_bld_debug.cpp | 3 * Copyright 2009-2011 VMware, Inc. 20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 21 * IN NO EVENT SHALL VMWARE AND/OR ITS SUPPLIERS BE LIABLE FOR 33 #include <llvm/Config/llvm-config.h> 34 #include <llvm-c/Core.h> 35 #include <llvm-c/Disassembler.h> 63 * and stack variables would often make the check a no op, defeating the 70 return ((uintptr_t)ptr & (alignment - 1)) == 0; in lp_check_alignment() 92 * - http://blog.llvm.org/2010/01/x86-disassembler.html 93 * - http://blog.llvm.org/2010/04/intro-to-llvm-mc-project.html [all …]
|
| /third_party/rust/rust/compiler/rustc_codegen_gcc/ |
| D | test.sh | 3 # TODO(antoyo): rewrite to cargo-make (or just) or something like that to only rebuild the sysroot … 5 set -e 7 if [ -f ./gcc_path ]; then 25 while [[ $# -gt 0 ]]; do 27 --release) 32 --release-sysroot) 33 sysroot_channel="--release" 36 --no-default-features) 38 flags="$flags --no-default-features" 41 --features) [all …]
|
| /third_party/skia/third_party/externals/libpng/contrib/arm-neon/ |
| D | linux-auxv.c | 1 /* contrib/arm-neon/linux-auxv.c 3 * Copyright (c) 2014 Glenn Randers-Pehrson 11 * SEE contrib/arm-neon/README before reporting bugs 14 * BUG REPORTS: png-mng-implement@sourceforge.net 16 * png_have_neon implemented for Linux versions which allow access to 18 * read /proc/cpuinfo in contrib/arm-neon/linux, however it is yet another piece 32 #include <asm/hwcap.h> 34 /* A read call may be interrupted, in which case it returns -1 and sets errno to 61 if (iread == -1) in safe_read() 64 * bytes read because of EINTR, yet it still returns -1 otherwise end in safe_read() [all …]
|