| /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/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/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; 24 #[cfg(target_pointer_width = "32")] 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() [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/openhitls/docs/en/4_User Guide/ |
| 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 …]
|
| 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 …]
|
| /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 …]
|
| /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/lzma/DOC/ |
| D | lzma-sdk.txt | 2 -------------- 17 7z is a main file format for 7-Zip compression program (www.7-zip.org). 19 7z also supports AES-256 based encryption. 28 ------- 34 2) SHA-256: Wei Dai (Crypto++ library) 38 any purpose, commercial or non-commercial, and by any means. 45 ----------------- 49 - C / C++ / C# / Java - LZMA compression and decompression 50 - C / C++ - LZMA2 compression and decompression 51 - C / C++ - XZ compression and decompression [all …]
|
| D | lzma-history.txt | 2 ----------------------- 4 24.09 2024-11-29 5 ------------------------- 6 - The default dictionary size values for LZMA/LZMA2 compression methods were increased: 9 32-bit 64-bit 10 8 MB 16 MB 16 MB -mx4 11 16 MB 32 MB 32 MB -mx5 : Normal 12 32 MB 64 MB 64 MB -mx6 13 32 MB 64 MB 128 MB -mx7 : Maximum 14 64 MB 64 MB 256 MB -mx8 [all …]
|
| /third_party/rust/rust/src/doc/rustc/src/ |
| D | platform-support.md | 5 white-space: nowrap; 11 for targets at each tier, see the [Target Tier Policy](target-tier-policy.md). 16 Component availability is tracked [here](https://rust-lang.github.io/rustup-components-history/). 28 see [Tier 1 with Host Tools](target-tier-policy.md#tier-1-with-host-tools) in 34 -------|------- 35 `aarch64-unknown-linux-gnu` | ARM64 Linux (kernel 4.1, glibc 2.17+) [^missing-stack-probes] 36 `i686-pc-windows-gnu` | 32-bit MinGW (Windows 7+) [^windows-support] 37 `i686-pc-windows-msvc` | 32-bit MSVC (Windows 7+) [^windows-support] 38 `i686-unknown-linux-gnu` | 32-bit Linux (kernel 3.2+, glibc 2.17+) 39 `x86_64-apple-darwin` | 64-bit macOS (10.7+, Lion+) [all …]
|
| /third_party/benchmark/src/ |
| D | cycleclock.h | 1 // ---------------------------------------------------------------------- 4 // is actually time since power-on. This is like time() but doesn't 19 // ---------------------------------------------------------------------- 59 // https://setisvn.ssl.berkeley.edu/svn/lib/fftw-3.0.1/kernel/cycle.h 61 // This should return the number of cycles since power-on. Thread-safe. 75 // this goes above x86-specific code because old versions of Emscripten in Now() 85 return (high << 32) | low; in Now() 87 // This returns a time-base, which is not always precisely a cycle-count. in Now() 90 asm volatile("mfspr %0, 268" : "=r"(tb)); in Now() 94 asm volatile( in Now() [all …]
|
| /third_party/rust/rust/src/tools/compiletest/src/header/ |
| D | tests.rs | 13 ) -> test::TestDesc { in make_test_description() 26 let mut s = "normalize-stderr-32bit: \"something (32 bits)\" -> \"something ($WORD bits)\"."; in test_parse_normalization_string() 28 assert_eq!(first, Some("something (32 bits)".to_owned())); in test_parse_normalization_string() 29 assert_eq!(s, " -> \"something ($WORD bits)\"."); in test_parse_normalization_string() 31 // Nothing to normalize (No quotes) in test_parse_normalization_string() 32 let mut s = "normalize-stderr-32bit: something (32 bits) -> something ($WORD bits)."; in test_parse_normalization_string() 35 assert_eq!(s, r#"normalize-stderr-32bit: something (32 bits) -> something ($WORD bits)."#); in test_parse_normalization_string() 38 let mut s = "normalize-stderr-32bit: \"something (32 bits) -> something ($WORD bits)."; in test_parse_normalization_string() 41 assert_eq!(s, "normalize-stderr-32bit: \"something (32 bits) -> something ($WORD bits)."); in test_parse_normalization_string() 44 let mut s = "normalize-stderr-32bit: \"something (32 bits)\" -> \"something ($WORD bits)."; in test_parse_normalization_string() [all …]
|
| /third_party/elfutils/backends/ |
| D | ppc_initreg.c | 37 # include <asm/ptrace.h> 39 # include <linux/ptrace.h> 56 // LR uses both 65 and 108 numbers, there is no consistency for it. in ppc_dwarf_to_regno() 60 case 109 ... (114 - 1) -1: in ppc_dwarf_to_regno() 63 *regno = *regno - 1200 + (114 - 1); in ppc_dwarf_to_regno() 84 /* pt_regs for 32bit processes. Same as 64bit pt_regs but all registers in ppc_set_initial_registers_tid() 85 are 32bit instead of 64bit long. */ in ppc_set_initial_registers_tid() 86 #define GPRS 32 in ppc_set_initial_registers_tid() 112 /* Did we get the full pt_regs or less (the 32bit pt_regs)? */ in ppc_set_initial_registers_tid() 116 dwarf_regs[gpr] = get32 ? regs32->gpr[gpr] : regs.gpr[gpr]; in ppc_set_initial_registers_tid() [all …]
|
| /third_party/zlib/ |
| D | ChangeLog | 5 - Reject overflows of zip header fields in minizip 6 - Fix bug in inflateSync() for data held in bit buffer 7 - Add LIT_MEM define to use more memory for a small deflate speedup 8 - Fix decision on the emission of Zip64 end records in minizip 9 - Add bounds checking to ERR_MSG() macro, used by zError() 10 - Neutralize zip file traversal attacks in miniunz 11 - Fix a bug in ZLIB_DEBUG compiles in check_match() 12 - Various portability and appearance improvements 15 - Remove K&R function definitions and zlib2ansi 16 - Fix bug in deflateBound() for level 0 and memLevel 9 [all …]
|
| /third_party/rust/crates/rustix/ |
| D | build.rs | 6 /// The directory for out-of-line ("outline") libraries. 12 println!("cargo:rerun-if-changed=build.rs"); in main() 16 // Features only used in no-std configurations. in main() 34 let is_x32 = arch == "x86_64" && pointer_width == "32"; in main() 35 let is_arm64_ilp32 = arch == "aarch64" && pointer_width == "32"; in main() 41 // Check for `--features=use-libc`. This allows crate users to enable the in main() 45 // Check for `--features=rustc-dep-of-std`. This is used when rustix is in main() 51 // Check for `RUSTFLAGS=--cfg=rustix_use_libc`. This allows end users to in main() 55 // Check for eg. `RUSTFLAGS=--cfg=rustix_use_experimental_asm`. This is a in main() 57 // and not something we want accidentally enabled via `--all-features`. in main() [all …]
|
| /third_party/vulkan-loader/loader/ |
| D | log.h | 3 * Copyright (c) 2014-2021 The Khronos Group Inc. 4 * Copyright (c) 2014-2021 Valve Corporation 5 * Copyright (c) 2014-2021 LunarG, Inc. 11 * http://www.apache.org/licenses/LICENSE-2.0 21 * Author: Chia-I Wu <olvaffe@gmail.com> 22 * Author: Chia-I Wu <olv@lunarg.com> 47 …ER_FATAL_ERROR_BIT = 0x100, // only forces the output to be printed to stderr, has no other effect 54 // Sets the global debug level - used by global settings files 60 // The asm declaration prevents name mangling which is necessary for macOS 81 // This is a work around for linux 32 bit error handling not passing relocatable strings correctly
|
| /third_party/openhitls/ |
| D | configure.py | 2 # -*- coding: utf-8 -*- 12 # EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, 22 # Compile C code if there is no other parameter. 23 …./configure.py --enable all # Build all features of openHiT… 24 …./configure.py --enable hitls_crypto # Build all features in the lib… 25 … ./configure.py --enable md # Build all sub features of md. 26 …./configure.py --enable sha2 sha3 hmac # Specifies to build certain fe… 31 ./configure.py --enable sm3 aes ... --asm_type armv8 35 # Use 'asm' to specify the assembly feature(s), which is(are) based on the enabled features. 36 …# Compile the assembly code of the features in the asm, and the C code of other features in the en… [all …]
|
| /third_party/openhitls/script/ |
| D | config_parser.py | 2 # -*- coding: utf-8 -*- 12 # EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, 57 with open(file_path, 'r', encoding='utf-8') as f: 170 """Updated the implementation modes of sub-features based on the parent feature.""" 242 "system": {"require": False, "type": str, "choices": ["linux", ""], "default": "linux"}, 243 "bits": {"require": False, "type": int, "choices": [32, 64], "default": 64}, 260 with open(file_path, 'r', encoding='utf-8') as f: 311 …raise ValueError("Feature '%s' has no assembly implementation of type '%s' in %s" % (fea, asm_type… 333 …print("Info: There is no {} implementation by default, you should set its SAL callbacks to make it… 348 for asm_fea in lib_obj.get('asm', []): [all …]
|
| /third_party/openssl/util/perl/OpenSSL/ |
| D | config.pm | 2 # Copyright 1998-2023 The OpenSSL Project Authors. All Rights Reserved. 56 my $v = `$CROSS_COMPILE$CC -v 2>&1`; 57 $v =~ m/(?:(?:clang|LLVM) version|.*based on LLVM)\s+([0-9]+\.[0-9]+)/; 62 my $nul = File::Spec->devnull(); 63 my $v = `$CROSS_COMPILE$CC -dumpversion 2> $nul`; 66 $v =~ s/^[a-zA-Z]*\-//; 77 [ 'A\/UX:.*', 'm68k-apple-aux3' ], 78 [ 'AIX:[3-9]:4:.*', '${MACHINE}-ibm-aix' ], 79 [ 'AIX:.*?:[5-9]:.*', '${MACHINE}-ibm-aix' ], 80 [ 'AIX:.*', '${MACHINE}-ibm-aix3' ], [all …]
|
| /third_party/openssl/crypto/bn/ |
| D | bn_local.h | 2 * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved. 15 * SIXTY_FOUR_BIT in its own environment since it doesn't re-run our 16 * Configure script and needs to support both 32-bit and 64-bit. 33 * itself. BN_DEBUG - turn on various debugging alterations to the bignum 34 * code BN_RAND_DEBUG - uses random poisoning of unused words to trip up 48 * Beyond that size bn_mul_mont is no longer used, and the constant time 53 * While the current OpenSSL version will use non-optimized, but safe code, 58 * "./config -DBN_SOFT_LIMIT=<limit>" if necessary, and the O/S specific 81 * "long long's", are 32bit, and are not using my assembler code. 84 defined(OPENSSL_SYS_WIN32) || defined(linux) [all …]
|
| /third_party/openssl/ |
| D | INSTALL.md | 5 systems (the Unix/Linux family, including macOS), OpenVMS, 11 - [Prerequisites](#prerequisites) 12 - [Notational Conventions](#notational-conventions) 13 - [Quick Installation Guide](#quick-installation-guide) 14 - [Building OpenSSL](#building-openssl) 15 - [Installing OpenSSL](#installing-openssl) 16 - [Configuration Options](#configuration-options) 17 - [API Level](#api-level) 18 - [Cross Compile Prefix](#cross-compile-prefix) 19 - [Build Type](#build-type) [all …]
|
| /third_party/zlib/contrib/gcc_gvmat64/ |
| D | gvmat64.S | 6 ; gvmat64.S -- Asm portion of the optimized longest_match for 32 bits x86_64 9 ; this file is translation from gvmat64.asm to GCC 4.x (for Linux, Mac XCode) 10 ; Copyright (C) 1995-2010 Jean-loup Gailly, Brian Raiter and Gilles Vollant. 13 ; from Jean-loup Gailly in deflate.c of zLib and infoZip zip. 17 ; This software is provided 'as-is', without any express or implied 18 ; warranty. In no event will the authors be held liable for any damages 38 ; gcc -c -arch x86_64 gvmat64.S 73 #define chainlenwmask (rsp + 8 - LocalVarsSize) 74 #define nicematch (rsp + 16 - LocalVarsSize) 76 #define save_rdi (rsp + 24 - LocalVarsSize) [all …]
|
| /third_party/lzma/Asm/x86/ |
| D | AesOpt.asm | 1 ; AesOpt.asm -- AES optimized code for x86 AES hardware instructions 2 ; 2021-12-25 : Igor Pavlov : Public domain 4 include 7zAsm.asm 18 ECHO "-- NO VAES 256" 22 ECHO "x86-64" 28 ECHO "ABI : no CDECL : FASTCALL" 33 ECHO "ABI : LINUX" 77 ; ret-ip <- (r4) 128 ; we use 32 bytes of home space in stack in WIN64-x64 129 NUM_HOME_MM_REGS equ (32 / 16) [all …]
|
| /third_party/openssl/fuzz/ |
| D | README.md | 7 --------- 13 ----------------------------------- 15 Install `clang`, which [ships with `libfuzzer`](http://llvm.org/docs/LibFuzzer.html#fuzzer-usage) 18 sudo apt-get install clang 23 `/usr/lib/llvm-7/lib/clang/7.0.1/lib/linux/libclang_rt.fuzzer-x86_64.a`. 25 CC=clang ./config enable-fuzz-libfuzzer \ 26 --with-fuzzer-lib=$PATH_TO_LIBFUZZER \ 27 -DPEDANTIC enable-asan enable-ubsan no-shared \ 28 -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION \ 29 -fsanitize=fuzzer-no-link \ [all …]
|