| /external/clang/test/Driver/ |
| D | dynamic-linker.c | 1 // RUN: %clang -target armv7-unknown-linux-gnueabi -### /dev/null -o /dev/null 2>&1 | FileCheck -ch… 2 // RUN: %clang -target i386-unknown-linux-gnu -### /dev/null -o /dev/null 2>&1 | FileCheck -check-p… 3 // RUN: %clang -target mips64-unknown-linux-gnu -### /dev/null -o /dev/null 2>&1 | FileCheck -check… 4 // RUN: %clang -target powerpc64-unknown-linux-gnu -### /dev/null -o /dev/null 2>&1 | FileCheck -ch… 5 // RUN: %clang -target x86_64-unknown-linux-gnu -### /dev/null -o /dev/null 2>&1 | FileCheck -check… 7 // RUN: %clang -target armv7-unknown-linux-gnueabi -### -shared /dev/null -o /dev/null 2>&1 | FileC… 8 // RUN: %clang -target i386-unknown-linux-gnu -### -shared /dev/null -o /dev/null 2>&1 | FileCheck … 9 // RUN: %clang -target mips64-unknown-linux-gnu -### -shared /dev/null -o /dev/null 2>&1 | FileChec… 10 // RUN: %clang -target powerpc64-unknown-linux-gnu -### -shared /dev/null -o /dev/null 2>&1 | FileC… 11 // RUN: %clang -target x86_64-unknown-linux-gnu -### -shared /dev/null -o /dev/null 2>&1 | FileChec… [all …]
|
| D | woa-fp.c | 1 // RUN: %clang -target armv7-windows-msvc -### -S %s -O0 -o /dev/null 2>&1 | FileCheck %s -check-pr… 2 // RUN: %clang -target armv7-windows-msvc -### -S %s -O1 -o /dev/null 2>&1 | FileCheck %s -check-pr… 3 // RUN: %clang -target armv7-windows-msvc -### -S %s -O2 -o /dev/null 2>&1 | FileCheck %s -check-pr… 4 // RUN: %clang -target armv7-windows-msvc -### -S %s -O3 -o /dev/null 2>&1 | FileCheck %s -check-pr… 5 // RUN: %clang -target armv7-windows-msvc -### -S %s -Os -o /dev/null 2>&1 | FileCheck %s -check-pr… 7 // RUN: %clang -target armv7-windows-itanium -### -S %s -O0 -o /dev/null 2>&1 | FileCheck %s -check… 8 // RUN: %clang -target armv7-windows-itanium -### -S %s -O1 -o /dev/null 2>&1 | FileCheck %s -check… 9 // RUN: %clang -target armv7-windows-itanium -### -S %s -O2 -o /dev/null 2>&1 | FileCheck %s -check… 10 // RUN: %clang -target armv7-windows-itanium -### -S %s -O3 -o /dev/null 2>&1 | FileCheck %s -check… 11 // RUN: %clang -target armv7-windows-itanium -### -S %s -Os -o /dev/null 2>&1 | FileCheck %s -check… [all …]
|
| D | msc-version.c | 2 // Verify -fms-compatibility-version parsing 5 …lang -target i686-windows -fms-compatibility -fms-compatibility-version=14 -dM -E - </dev/null -o … 7 // CHECK-MSC-VERSION-MAJOR: _MSC_BUILD 1 8 // CHECK-MSC-VERSION-MAJOR: _MSC_FULL_VER 140000000 9 // CHECK-MSC-VERSION-MAJOR: _MSC_VER 1400 11 … -target i686-windows -fms-compatibility -fms-compatibility-version=15.00 -dM -E - </dev/null -o -… 13 // CHECK-MSC-VERSION-MAJOR-MINOR: _MSC_BUILD 1 14 // CHECK-MSC-VERSION-MAJOR-MINOR: _MSC_FULL_VER 150000000 15 // CHECK-MSC-VERSION-MAJOR-MINOR: _MSC_VER 1500 17 …-target i686-windows -fms-compatibility -fms-compatibility-version=15.00.20706 -dM -E - </dev/null… [all …]
|
| D | arm-multilibs.c | 1 …N: %clang -target armv7-linux-gnueabi --sysroot=%S/Inputs/multilib_arm_linux_tree -### -c %s -o /d… 2 …: %clang -target thumbv7-linux-gnueabi --sysroot=%S/Inputs/multilib_arm_linux_tree -### -c %s -o /… 4 … %clang -target armv7-linux-gnueabihf --sysroot=%S/Inputs/multilib_armhf_linux_tree -### -c %s -o … 5 …%clang -target thumbv7-linux-gnueabihf --sysroot=%S/Inputs/multilib_armhf_linux_tree -### -c %s -o… 7 … %clang -target armv7eb-linux-gnueabi --sysroot=%S/Inputs/multilib_armeb_linux_tree -### -c %s -o … 8 …%clang -target thumbv7eb-linux-gnueabi --sysroot=%S/Inputs/multilib_armeb_linux_tree -### -c %s -o… 10 …clang -target armv7eb-linux-gnueabihf --sysroot=%S/Inputs/multilib_armebhf_linux_tree -### -c %s -… 11 …lang -target thumbv7eb-linux-gnueabihf --sysroot=%S/Inputs/multilib_armebhf_linux_tree -### -c %s … 13 // CHECK-ARM: "-internal-externc-isystem" "{{.*}}/usr/include/arm-linux-gnueabi" 14 // CHECK-ARMHF: "-internal-externc-isystem" "{{.*}}/usr/include/arm-linux-gnueabihf" [all …]
|
| /external/llvm/test/CodeGen/X86/ |
| D | cpus.ll | 4 ; CHECK-ERROR: not a recognized processor for this target 5 ; RUN: llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=foobar 2>&1 | FileCheck %s --che… 8 ; CHECK-NO-ERROR-NOT: not a recognized processor for this target 10 ; RUN: llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=nocona 2>&1 | FileCheck %s --che… 11 ; RUN: llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=core2 2>&1 | FileCheck %s --chec… 12 ; RUN: llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=penryn 2>&1 | FileCheck %s --che… 13 ; RUN: llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=nehalem 2>&1 | FileCheck %s --ch… 14 ; RUN: llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=westmere 2>&1 | FileCheck %s --c… 15 ; RUN: llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=sandybridge 2>&1 | FileCheck %s … 16 ; RUN: llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=ivybridge 2>&1 | FileCheck %s --… [all …]
|
| /external/trusty/arm-trusted-firmware/drivers/arm/mhu/ |
| D | mhu_v2_x.h | 2 * Copyright (c) 2020-2022, Arm Limited. All rights reserved. 4 * SPDX-License-Identifier: BSD-3-Clause 46 MHU_V_2_X_ERR_NOT_INIT = -1, 47 MHU_V_2_X_ERR_ALREADY_INIT = -2, 48 MHU_V_2_X_ERR_UNSUPPORTED_VERSION = -3, 49 MHU_V_2_X_ERR_INVALID_ARG = -4, 50 MHU_V_2_X_ERR_GENERAL = -5 56 * dev MHU device struct mhu_v2_x_dev_t. 66 * This function doesn't check if dev is NULL. 68 enum mhu_v2_x_error_t mhu_v2_x_driver_init(struct mhu_v2_x_dev_t *dev, [all …]
|
| /external/clang/test/Misc/ |
| D | dev-fd-fs.c | 1 // Check that we can operate on files from /dev/fd. 2 // REQUIRES: dev-fd-fs 4 // Check reading from named pipes. We cat the input here instead of redirecting 5 // it to ensure that /dev/fd/0 is a named pipe, not just a redirected file. 7 // RUN: cat %s | %clang -x c /dev/fd/0 -E > %t 8 // RUN: FileCheck --check-prefix DEV-FD-INPUT < %t %s 10 // DEV-FD-INPUT: int x; 13 // Check writing to /dev/fd named pipes. We use cat here as before to ensure we 16 // RUN: %clang -x c %s -E -o /dev/fd/1 | cat > %t 17 // RUN: FileCheck --check-prefix DEV-FD-FIFO-OUTPUT < %t %s [all …]
|
| /external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/ |
| D | fib_offload.sh | 2 # SPDX-License-Identifier: GPL-2.0 40 ip link set dev $spine_p1 up 41 ip link set dev $spine_p2 up 52 ip link set dev $spine_p2 down 53 ip link set dev $spine_p1 down 65 num=$(ip -6 route show match ${pfx} | grep "offload" | wc -l) 67 if [ $num -eq $expected_num ]; then 78 # Add a prefix route and check that it is offloaded. 79 ip -6 route add 2001:db8:3::/64 dev $spine_p1 metric 100 80 ipv6_offload_check "2001:db8:3::/64 dev $spine_p1 metric 100" 1 [all …]
|
| /external/linux-kselftest/tools/testing/selftests/bpf/ |
| D | test_tunnel.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # End-to-end eBPF tunnel test suite 8 # --------- 11 # ----------- | ----------- 12 # | tnl dev | | | tnl dev | (overlay network) 13 # ----------- | ----------- 14 # metadata-mode | native-mode 17 # ---------- | ---------- 18 # | veth1 | --------- | veth0 | (underlay network) 19 # ---------- peer ---------- [all …]
|
| /external/llvm/test/MC/ARM/ |
| D | directive-arch_extension-mp.s | 1 @ RUN: not llvm-mc -triple armv6-eabi -filetype asm -o /dev/null 2>&1 %s \ 2 @ RUN: | FileCheck %s -check-prefix CHECK-ARMv6 -check-prefix CHECK-V6 3 @ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o /dev/null 2>&1 %s \ 4 @ RUN: | FileCheck %s -check-prefix CHECK-ARMv7 -check-prefix CHECK-V7 5 @ RUN: not llvm-mc -triple armv7m-eabi -filetype asm -o /dev/null 2>&1 %s \ 6 @ RUN: | FileCheck %s -check-prefix CHECK-ARMv7M -check-prefix CHECK-V7M 7 @ RUN: not llvm-mc -triple thumbv6-eabi -filetype asm -o /dev/null 2>&1 %s \ 8 @ RUN: | FileCheck %s -check-prefix CHECK-THUMBv6 -check-prefix CHECK-V6 9 @ RUN: not llvm-mc -triple thumbv7-eabi -filetype asm -o /dev/null 2>&1 %s \ 10 @ RUN: | FileCheck %s -check-prefix CHECK-THUMBv7 -check-prefix CHECK-V7 [all …]
|
| D | directive-arch_extension-idiv.s | 1 @ RUN: not llvm-mc -triple armv6-eabi -filetype asm -o /dev/null 2>&1 %s \ 2 @ RUN: | FileCheck %s -check-prefix CHECK-ARMv6 -check-prefix CHECK-V6 3 @ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o /dev/null 2>&1 %s \ 4 @ RUN: | FileCheck %s -check-prefix CHECK-ARMv7 -check-prefix CHECK-V7 5 @ RUN: not llvm-mc -triple armv7m-eabi -filetype asm -o /dev/null 2>&1 %s \ 6 @ RUN: | FileCheck %s -check-prefix CHECK-ARMv7M -check-prefix CHECK-V7M 7 @ RUN: not llvm-mc -triple thumbv6-eabi -filetype asm -o /dev/null 2>&1 %s \ 8 @ RUN: | FileCheck %s -check-prefix CHECK-THUMBv6 -check-prefix CHECK-V6 9 @ RUN: not llvm-mc -triple thumbv7-eabi -filetype asm -o /dev/null 2>&1 %s \ 10 @ RUN: | FileCheck %s -check-prefix CHECK-THUMBv7 -check-prefix CHECK-V7 [all …]
|
| D | directive-arch_extension-sec.s | 1 @ RUN: not llvm-mc -triple armv6-eabi -filetype asm -o /dev/null 2>&1 %s \ 2 @ RUN: | FileCheck %s -check-prefix CHECK-V6 3 @ RUN: not llvm-mc -triple armv6k-eabi -filetype asm -o /dev/null 2>&1 %s \ 4 @ RUN: | FileCheck %s -check-prefix CHECK-V7 5 @ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o /dev/null 2>&1 %s \ 6 @ RUN: | FileCheck %s -check-prefix CHECK-V7 7 @ RUN: not llvm-mc -triple thumbv6-eabi -filetype asm -o /dev/null 2>&1 %s \ 8 @ RUN: | FileCheck %s -check-prefix CHECK-V6 9 @ RUN: not llvm-mc -triple thumbv7-eabi -filetype asm -o /dev/null 2>&1 %s \ 10 @ RUN: | FileCheck %s -check-prefix CHECK-V7 [all …]
|
| /external/e2fsprogs/scrub/ |
| D | e2scrub.in | 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. 21 # Automatically check an LVM-managed filesystem online. 23 # check filesystems in VGs that have at least 256MB (or so) of 39 test -f "${conffile}" && . "${conffile}" 44 echo "mountpoint must be on an LVM-managed block device" 45 echo "-n: Show what commands e2scrub would execute." 46 echo "-r: Remove e2scrub snapshot and exit, do not check anything." 47 echo "-t: Run fstrim if successful." 48 echo "-V: Print version information and exit." 69 if [ -n "${SERVICE_MODE}" -a "${ret}" -ne 0 ]; then [all …]
|
| /external/clang/test/Preprocessor/ |
| D | sysroot-prefix.c | 1 // RUN: %clang_cc1 -v -isysroot /var/empty -I /var/empty/include -E %s -o /dev/null 2>&1 | FileChec… 2 // RUN: %clang_cc1 -v -isysroot /var/empty -I =/var/empty/include -E %s -o /dev/null 2>&1 | FileChe… 3 // RUN: %clang_cc1 -v -I =/var/empty/include -E %s -o /dev/null 2>&1 | FileCheck -check-prefix CHEC… 4 // RUN: %clang_cc1 -v -isysroot /var/empty -I =null -E %s -o /dev/null 2>&1 | FileCheck -check-pref… 5 // RUN: %clang_cc1 -v -isysroot /var/empty -isysroot /var/empty/root -I =null -E %s -o /dev/null 2>… 6 // RUN: %clang_cc1 -v -isysroot /var/empty/root -isysroot /var/empty -I =null -E %s -o /dev/null 2>… 8 // CHECK-ISYSROOT_NO_SYSROOT: ignoring nonexistent directory "/var/empty/include" 9 // CHECK-ISYSROOT_NO_SYSROOT-NOT: ignoring nonexistent directory "/var/empty/var/empty/include" 11 // CHECK-ISYSROOT_SYSROOT_DEV_NULL: ignoring nonexistent directory "/var/empty/var/empty/include" 12 // CHECK-ISYSROOT_SYSROOT_DEV_NULL-NOT: ignoring nonexistent directory "/var/empty" [all …]
|
| /external/autotest/client/site_tests/hardware_StorageTrim/ |
| D | hardware_StorageTrim.py | 3 # Use of this source code is governed by a BSD-style license that can be 22 def run_once(self, dev='/dev/sda'): argument 28 @param dev: block device to test 30 logging.info('Target device: %s', dev) 32 # Check that device exist. 33 if not os.path.exists(dev): 34 msg = 'Test failed with error: %s not exist' % dev 37 # Check that device is not rootdev. 39 if dev == rootdev: 45 dev=dev, [all …]
|
| /external/autotest/client/site_tests/hardware_SsdDetection/ |
| D | hardware_SsdDetection.py | 3 # Use of this source code is governed by a BSD-style license that can be 31 system booted to /dev/dm-0. 35 def is_fixed(dev): argument 36 """ Check the device is fixed. 38 @param dev: device to check, i.e. 'sda'. 40 sysfs_path = '/sys/block/%s/removable' % dev 45 device_re = re.compile(r'^/dev/([a-zA-Z0-9]+)$') 46 dev = device_re.findall(device) 47 if len(dev) != 1 or not is_fixed(dev[0]): 48 raise error.TestFail('The main disk %s is not fixed' % dev) [all …]
|
| /external/llvm/test/MC/Disassembler/ARM/ |
| D | thumb2-preloads.txt | 1 # RUN: not llvm-mc -triple=thumbv6t2-none-eabi -disassemble < %s 2>/dev/null | FileCheck… 2 # RUN: not llvm-mc -triple=thumbv7a-none-eabi -disassemble -mattr=-mp < %s 2>/dev/null | FileCheck… 3 … llvm-mc -triple=thumbv7a-none-eabi -disassemble -mattr=+mp < %s 2>/dev/null | FileCheck %s -… 4 # RUN: not llvm-mc -triple=thumbv7m-none-eabi -disassemble < %s 2>/dev/null | FileCheck… 6 …: not llvm-mc -triple=thumbv6t2-none-eabi -disassemble < %s 2>&1 >/dev/null | FileCheck… 7 # RUN: not llvm-mc -triple=thumbv7a-none-eabi -disassemble -mattr=-mp < %s 2>&1 >/dev/null | FileC… 8 # RUN: llvm-mc -triple=thumbv7a-none-eabi -disassemble -mattr=+mp < %s 2>&1 >/dev/null 9 # RUN: not llvm-mc -triple=thumbv7m-none-eabi -disassemble < %s 2>&1 >/dev/null | FileC… 14 # V6T2: pld [r2, #-5] 18 # MP-ERR: invalid instruction encoding [all …]
|
| /external/linux-kselftest/tools/testing/selftests/drivers/net/netdevsim/ |
| D | ethtool-fec.sh | 2 # SPDX-License-Identifier: GPL-2.0-only 4 source ethtool-common.sh 9 set -o pipefail 12 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2) 13 check $? "$s" "Configured FEC encodings: None 17 $ETHTOOL --set-fec $NSIM_NETDEV encoding auto 18 check $? 19 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2) 20 check $? "$s" "Configured FEC encodings: Auto 23 # Test case in-sensitivity [all …]
|
| /external/pigweed/pw_presubmit/py/pw_presubmit/ |
| D | todo_check.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 14 """Check the formatting of TODOs.""" 43 # todo-check: disable 44 # pylint: disable=line-too-long 47 r'(?:\bTODO: b/\d+(?:, ?b/\d+)* - )|' 48 r'(?:\bTODO: https://issues.pigweed.dev/issues/\d+ - )|' 49 r'(?:\bTODO: https://pwbug.dev/\d+ - )|' 50 r'(?:\bTODO: pwbug.dev/\d+ - )|' 51 r'(?:\bTODO: <pwbug.dev/\d+> - )|' 52 r'(?:\bTODO: https://github\.com/bazelbuild/[a-z][-_a-z0-9]*/issues/\d+[ ]-[ ])' [all …]
|
| /external/ltp/testcases/kernel/controllers/cpuctl/ |
| D | parameters.sh | 19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # 29 # setup(): creaes /dev/cpuctl, mounts cgroup fs on it, creates # 46 [ -d /dev/cpuctl/group_def ] || mkdir /dev/cpuctl/group_def; 47 if [ $? -ne 0 ] 50 "Check your permissions..Exiting test"; 52 exit -1; 56 echo 10000 > /dev/cpuctl/group_def/cpu.rt_runtime_us; 57 for task in `cat /dev/cpuctl/tasks`; do 58 echo $task > /dev/cpuctl/group_def/tasks 2>/dev/null 1>&2; 62 get_num_groups() # Number of tasks should be >= number of cpu's (to check scheduling fairnes… [all …]
|
| /external/linux-kselftest/tools/testing/selftests/net/ |
| D | devlink_port_split.py | 2 # SPDX-License-Identifier: GPL-2.0 12 # Test port split configuration using devlink-port lanes attribute. 15 # First, check that all the ports with 1 lane fail to split. 16 # Second, check that all the ports with more than 1 lane can be split 21 # Kselftest framework requirement - SKIP code is 4 49 def get_if_names(dev): argument 57 cmd = "devlink -j port show" 63 if dev in port: 69 def __init__(self, dev): argument 70 self.if_names = devlink_ports.get_if_names(dev) [all …]
|
| /external/llvm/test/FileCheck/ |
| D | check-empty.txt | 1 // RUN: not FileCheck -check-prefix=FOO %s </dev/null 2>&1 | FileCheck -check-prefix=EMPTY-ERR %s 2 // RUN: not FileCheck -check-prefix=NOFOO %s </dev/null 2>&1 | FileCheck -check-prefix=EMPTY-ERR %s 3 // RUN: not FileCheck -check-prefix=FOO -allow-empty %s </dev/null 2>&1 | FileCheck -check-prefix=N… 4 // RUN: FileCheck -check-prefix=NOFOO -allow-empty %s </dev/null 2>&1 | FileCheck -allow-empty -che… 7 ; NOFOO-NOT: foo 9 ; EMPTY-ERR: FileCheck error: '-' is empty. 10 ; EMPTY-ERR-NEXT: FileCheck command line: {{.*}}FileCheck{{.*}}-check-prefix={{.*}}FOO {{.*}}check-… 11 ; NO-EMPTY-ERR-NOT: FileCheck error: '-' is empty. 12 ; NOT-FOUND: error: expected string not found in input
|
| /external/ot-br-posix/tests/scripts/ |
| D | bootstrap.sh | 30 set -euxo pipefail 33 [[ -d $TOOLS_HOME ]] || mkdir -p "$TOOLS_HOME" 41 if [[ -f ${OTBR_APT_CONF_FILE} ]] && grep Install-Recommends "${OTBR_APT_CONF_FILE}"; then 45 sudo tee -a /etc/apt/apt.conf <<EOF 46 APT::Get::Install-Recommends "false"; 47 APT::Get::Install-Suggests "false"; 54 sudo apt-get install --no-install-recommends -y \ 55 libdbus-1-dev \ 56 ninja-build \ 59 net-tools \ [all …]
|
| /external/autotest/site_utils/admin/ |
| D | start_dev_server.sh | 4 # Use of this source code is governed by a BSD-style license that can be 9 # Small cron script which uses a PID file to check if Dev Server is running. If 10 # not, the Dev Server is started and the PID is recorded. 12 # Script is written with the layout of Kirkland test lab's Dev Server in mind. 16 # Path to Dev Server source code. 17 declare -r DEV_SERVER_PATH="/usr/local/google/chromeos/src/platform/dev/" 19 # Path to Dev Server images directory. 20 declare -r IMAGES_PATH="/usr/local/google/images" 23 declare -r PID_FILE="/tmp/dev_server.pid" 27 echo "Starting a new Dev Server instance..." [all …]
|
| /external/linux-kselftest/tools/testing/selftests/powerpc/eeh/ |
| D | eeh-functions.sh | 2 # SPDX-License-Identifier: GPL-2.0-only 7 echo >/dev/stderr $* 11 local dev="$1" 12 local path="/sys/bus/pci/devices/$dev/eeh_pe_state" 15 # device is recovered by removing and re-probing it. This causes the 18 local eeh_state="$(cat $path 2>/dev/null)" 19 if [ -z "$eeh_state" ]; then 23 local fw_state="$(echo $eeh_state | cut -d' ' -f1)" 24 local sw_state="$(echo $eeh_state | cut -d' ' -f2)" 28 if [ "$((sw_state & 0x3))" -ne 0 ] ; then [all …]
|