Searched +full:local +full:- +full:dir (Results 1 – 25 of 932) sorted by relevance
12345678910>>...38
| /third_party/ltp/testcases/lib/ |
| D | tst_security.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 5 if [ -z "$TST_LIB_LOADED" ]; then 10 [ -n "$TST_SECURITY_LOADED" ] && return 0 15 local cmd 16 local profiles 26 [ -z "$profiles" ] && profiles="none" 39 [ -z "$profiles" ] && profiles="none" 48 local f="/sys/module/apparmor/parameters/enabled" 49 [ -f "$f" ] && [ "$(cat $f)" = "Y" ] 58 [ $# -eq 1 ] || tst_brk TCONF "usage tst_apparmor_used_profile CMD" [all …]
|
| /third_party/ltp/testcases/commands/cp/ |
| D | cp_tests.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 16 local dirname=$1 17 local dircnt=$2 18 local filecnt=$3 21 tst_res TINFO "Filling each dir with $filecnt files". 22 while [ $dircnt -gt 0 ]; do 23 dirname=$dirname/dir$dircnt 24 ROD mkdir -p $dirname 26 local fcnt=0 27 while [ $fcnt -lt $filecnt ]; do [all …]
|
| /third_party/ltp/testcases/network/stress/ipsec/ |
| D | ipsec_lib.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 3 # Copyright (c) 2018-2022 Petr Vorel <pvorel@suse.cz> 21 TST_SETUP=${TST_SETUP:-ipsec_lib_setup} 36 echo "r x Num of requests, PING_MAX or netstress' '-r' opt" 84 SPI=${SPI:-1000} 85 VTI_KEY=${VTI_KEY:-10} 90 if [ -n "$IPSEC_MODE" ]; then 91 tst_net_run -q "tst_check_drivers xfrm_user" || \ 99 local bits=$1 100 local bytes=$(( $bits / 8)) [all …]
|
| /third_party/ltp/testcases/kernel/security/integrity/ima/tests/ |
| D | ima_setup.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 4 # Copyright (c) 2018-2020 Petr Vorel <pvorel@suse.cz> 25 local algorithm="$1" 26 local file="$2" 27 local digest 29 digest="$(${algorithm}sum $file 2>/dev/null | cut -f1 -d ' ')" 30 if [ -n "$digest" ]; then 35 digest="$(openssl $algorithm $file 2>/dev/null | cut -f2 -d ' ')" 36 if [ -n "$digest" ]; then 42 local arg="$algorithm" [all …]
|
| D | ima_measurements.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 4 # Copyright (c) 2018-2021 Petr Vorel <pvorel@suse.cz> 18 [ -f "$IMA_POLICY" ] || tst_res TINFO "not using default policy" 23 local device mount fs 25 tst_kvcmp -ge "4.16" && return 0 27 device="$(df . | sed -e 1d | cut -f1 -d ' ')" 28 mount="$(grep $device /proc/mounts | head -1)" 32 ext[2-4]) 33 if ! echo "$mount" | grep -q -w "i_version"; then 34 …e '$device' is not mounted with iversion, please mount it with 'mount $device -o remount,iversion'" [all …]
|
| /third_party/ltp/testcases/commands/sysctl/ |
| D | sysctl01.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 19 local dir="/proc/sys/kernel/" 20 [ -e "$dir""sched_time_avg_ms" ] && local name="sched_time_avg_ms" 21 [ -e "$dir""sched_time_avg" ] && local name="sched_time_avg" 22 [ -z "$name" ] && tst_brk TCONF \ 25 local orig_value=$(cat "$dir""$name") 27 sysctl -w "kernel.""$name"=0 >/dev/null 2>&1 29 local test_value=$(cat "$dir""$name") 31 if [ ${test_value} -eq ${orig_value} ]; then 35 sysctl -w "kernel.""$name"=${orig_value} >/dev/null 2>&1
|
| /third_party/icu/icu4c/source/test/testdata/ |
| D | Makefile.in | 5 # Copyright (C) 1998-2015, International Business Machines 9 ## Top-level Makefile.in for ICU 28 -include Makefile.local 31 .PHONY : all all-local all-recursive install install-local \ 32 install-recursive clean clean-local clean-recursive distclean \ 33 distclean-local distclean-recursive doc dist dist-local dist-recursive \ 34 check check-local check-recursive build-dir testdata.jar xcheck check-exhaustive 36 xcheck: all-local 38 .NOTPARALLEL: build-dir 44 all: all-local [all …]
|
| /third_party/mesa3d/android/ |
| D | mesa3d_cross.mk | 1 # Mesa 3-D graphics library 24 MY_PATH := $(call my-dir) 27 define relative-to-absolute 34 m_dummy := $(local-generated-sources-dir)/dummy.c 36 mkdir -p $(dir $@) 66 MESA3D_GALLIUM_DRI_DIR := $(MESON_OUT_DIR)/install/usr/local/lib/dri 67 $(M_TARGET_PREFIX)MESA3D_GALLIUM_DRI_BIN := $(MESON_OUT_DIR)/install/usr/local/lib/libgallium_dri.so 68 $(M_TARGET_PREFIX)MESA3D_LIBEGL_BIN := $(MESON_OUT_DIR)/install/usr/local/lib/libEGL.so.1.0.0 69 $(M_TARGET_PREFIX)MESA3D_LIBGLESV1_BIN := $(MESON_OUT_DIR)/install/usr/local/lib/libGLESv1_CM.so.… 70 $(M_TARGET_PREFIX)MESA3D_LIBGLESV2_BIN := $(MESON_OUT_DIR)/install/usr/local/lib/libGLESv2.so.2.0… [all …]
|
| /third_party/ltp/testcases/commands/ln/ |
| D | ln_tests.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 16 ROD mkdir -p dir/subdir 18 ROD touch dir/file 23 local dname="$1" 24 local lname="$2" 41 local fname="$1" 42 local lname="$2" 53 local args="$1" 54 local src="$2" 55 local link="$3" [all …]
|
| /third_party/ltp/lib/newlib_tests/ |
| D | runtest.sh | 4 LTP_C_API_TESTS="${LTP_C_API_TESTS:-test05 test07 test09 test15 test_runtime01 10 LTP_SHELL_API_TESTS="${LTP_SHELL_API_TESTS:-shell/tst_check_driver.sh 11 shell/tst_check_kconfig0[1-5].sh shell/tst_errexit.sh shell/net/*.sh}" 21 Usage: $0 [-b DIR ] [-c|-s] 22 -b DIR build directory (required for out-of-tree build) 23 -c run C API tests only 24 -s run shell API tests only 25 -h print this help 43 if [ $# -eq 0 ]; then 48 local res="$1" [all …]
|
| /third_party/ltp/testcases/open_posix_testsuite/scripts/ |
| D | generate-makefiles.sh | 7 # but as long as you follow the criterion set in locate-test, then the 8 # end-result for modifying and/or adding tests can be achieved by merely 19 readonly buildonly_compiler_args="-c" 23 local maketype=$1; shift 27 locate-test --$maketype | sed -e 's,^./,,g' | sort > make-gen.$maketype 29 generate_makefiles make-gen.$maketype $* 31 rm -f make-gen.$maketype 36 local link_libs= 37 local make_rule_prereq_cache= 38 local make_copy_prereq_cache= [all …]
|
| /third_party/ltp/ |
| D | build.sh | 2 # Copyright (c) 2017-2021 Petr Vorel <pvorel@suse.cz> 5 set -e 7 CFLAGS="${CFLAGS:--Wformat -Werror=format-security -Werror=implicit-function-declaration -Werror=re… 8 CC="${CC:-gcc}" 10 DEFAULT_PREFIX="$HOME/ltp-install" 14 CONFIGURE_OPTS_IN_TREE="--with-open-posix-testsuite --with-realtime-testsuite $CONFIGURE_OPT_EXTRA" 15 # TODO: open posix testsuite is currently broken in out-tree-build. Enable it once it's fixed. 16 CONFIGURE_OPTS_OUT_TREE="--with-realtime-testsuite $CONFIGURE_OPT_EXTRA" 19 BUILD_DIR="$SRC_DIR/../ltp-build" 21 MAKE_OPTS="-j$(getconf _NPROCESSORS_ONLN)" [all …]
|
| /third_party/openssl/util/ |
| D | mkdir-p.pl | 2 # Copyright 1999-2021 The OpenSSL Project Authors. All Rights Reserved. 9 # On some systems, the -p option to mkdir (= also create any missing parent 21 local($dir) = @_; 23 $dir =~ s|/*\Z(?!\n)||s; 25 if (-d $dir) { 29 if ($dir =~ m|[^/]/|s) { 30 local($parent) = $dir; 36 unless (mkdir($dir, 0777)) { 37 local($err) = $!; 38 if (-d $dir) { [all …]
|
| /third_party/icu/tools/currency/ |
| D | build.xml | 1 <!-- 5 * Copyright (C) 2012-2013, International Business Machines Corporation and * 8 --> 9 <project name="currency-numeric" default="build" basedir="."> 10 <property name="out.dir" value="${basedir}/out"/> 11 <property name="src.dir" value="${basedir}/src"/> 12 <property name="classes.dir" value="${out.dir}/bin"/> 13 <property name="res.dir" value="${out.dir}/res"/> 14 <property name="xml.dir" value="${out.dir}/xml"/> 16 …operty name="base.url" value="https://www.six-group.com/dam/download/financial-information/data-ce… [all …]
|
| /third_party/mksh/ |
| D | check.pl | 3 #- 10 # is granted to deal in this work without restriction, including un- 22 #- 24 # name: a-test 27 # arguments: !-x!-f! 29 # echo -n * 31 # expected-stdout: ! 33 # expected-stderr: 34 # + echo -n * 36 # expected-exit: 1 [all …]
|
| /third_party/mindspore/mindspore-src/source/scripts/docker/mindspore-gpu/2.1.0/cuda11.1/ |
| D | Dockerfile | 1 FROM nvidia/cuda:11.1.1-cudnn8-devel-ubuntu18.04 6 ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5 7 ENV OMPI_ROOT_PATH /usr/local/openmpi-4.0.3 8 ENV CUDA_PATH /usr/local/cuda 9 ENV PATH ${PYTHON_ROOT_PATH}/bin:${OMPI_ROOT_PATH}/bin:${CUDA_PATH}/bin:/usr/local/bin:$PATH 13 RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ 14 DEBIAN_FRONTEND=noninteractive apt install -y \ 18 xz-utils \ 19 net-tools \ 20 openssh-client \ [all …]
|
| /third_party/mindspore/mindspore-src/source/scripts/docker/mindspore-gpu/2.0.0/cuda11.1/ |
| D | Dockerfile | 1 FROM nvidia/cuda:11.1.1-cudnn8-devel-ubuntu18.04 6 ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5 7 ENV OMPI_ROOT_PATH /usr/local/openmpi-4.0.3 8 ENV CUDA_PATH /usr/local/cuda 9 ENV PATH ${PYTHON_ROOT_PATH}/bin:${OMPI_ROOT_PATH}/bin:${CUDA_PATH}/bin:/usr/local/bin:$PATH 13 RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ 14 DEBIAN_FRONTEND=noninteractive apt install -y \ 18 xz-utils \ 19 net-tools \ 20 openssh-client \ [all …]
|
| /third_party/ltp/testcases/kernel/fs/fs_bind/ |
| D | fs_bind_lib.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 4 # Copyright (c) 2021 Joerg Vehlow <joerg.vehlow@aox-tech.de> 5 # Copyright (c) Linux Test Project, 2022-2023 11 TST_SETUP="${TST_SETUP:-fs_bind_setup}" 12 TST_CLEANUP="${TST_CLEANUP:-fs_bind_cleanup}" 30 # Creates a directory and bind-mounts it to itself. 33 # share_mode is one of the --make-{shared,priv,...} 39 local bind_type dir 42 dir="$2" 49 if [ -e "$dir" ]; then [all …]
|
| /third_party/icu/icu4j/main/shared/build/ |
| D | locations.properties | 4 #* Copyright (C) 2009-2014, International Business Machines Corporation and * 8 icu4j.collate.dir = ${shared.dir}/../classes/collate 9 icu4j.core.dir = ${shared.dir}/../classes/core 10 icu4j.charset.dir = ${shared.dir}/../classes/charset 11 icu4j.currdata.dir = ${shared.dir}/../classes/currdata 12 icu4j.langdata.dir = ${shared.dir}/../classes/langdata 13 icu4j.localespi.dir = ${shared.dir}/../classes/localespi 14 icu4j.regiondata.dir = ${shared.dir}/../classes/regiondata 15 icu4j.translit.dir = ${shared.dir}/../classes/translit 17 icu4j.test-framework.dir = ${shared.dir}/../tests/framework [all …]
|
| /third_party/ltp/testcases/kernel/fs/fs_readonly/ |
| D | test_robind.sh | 17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 28 # it by -z option when running runltp. 30 # b) mount --bind dir2 31 # c) mount -o remount,ro 34 # into dir. 39 # 09/06/2008 Veerendra Chandrappa For Container, testing of RO-Bind mount 47 DIRS="dir1 dir2-bound dir3-ro" 57 usage: $0 -c command [ext3,ext2,jfs,xfs,reiserfs,ramfs] 59 This script verifies ReadOnly-filesystem, by mounting block device and 63 -h display this message and exit [all …]
|
| /third_party/mindspore/mindspore-src/source/scripts/docker/mindspore-cpu/2.1.0/ |
| D | Dockerfile | 6 ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5 7 ENV PATH ${PYTHON_ROOT_PATH}/bin:/usr/local/bin:/root/.local/bin:$PATH 11 && DEBIAN_FRONTEND=noninteractive apt install -y \ 15 xz-utils \ 16 net-tools \ 17 openssh-client \ 23 bash-completion 26 RUN DEBIAN_FRONTEND=noninteractive apt install -y \ 31 libgmp-dev \ 37 libjpeg8-dev [all …]
|
| /third_party/mindspore/mindspore-src/source/scripts/docker/mindspore-cpu/2.0.0/ |
| D | Dockerfile | 6 ENV PYTHON_ROOT_PATH /usr/local/python-3.7.5 7 ENV PATH ${PYTHON_ROOT_PATH}/bin:/usr/local/bin:/root/.local/bin:$PATH 11 && DEBIAN_FRONTEND=noninteractive apt install -y \ 15 xz-utils \ 16 net-tools \ 17 openssh-client \ 23 bash-completion 26 RUN DEBIAN_FRONTEND=noninteractive apt install -y \ 31 libgmp-dev \ 37 libjpeg8-dev [all …]
|
| /third_party/curl/docs/cmdline-opts/ |
| D | create-dirs.md | 1 --- 3 SPDX-License-Identifier: curl 4 Long: create-dirs 5 Help: Create necessary local directory hierarchy 9 See-also: 10 - ftp-create-dirs 11 - output-dir 13 - --create-dirs --output local/dir/file $URL 14 --- 16 # `--create-dirs` [all …]
|
| /third_party/icu/icu4c/source/extra/uconv/ |
| D | Makefile.in | 5 ## * Copyright (C) 1999-2014, International Business Machines 9 ## Makefile.in for ICU - uconv 47 CPPFLAGS += -I$(srcdir) -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(srcdir)/../toolutil 48 CPPFLAGS += -DUNISTR_FROM_CHAR_EXPLICIT=explicit -DUNISTR_FROM_STRING_EXPLICIT=explicit 52 PKGDATA_OPTS = -O pkgdata.inc 55 ## generic settings for data - common. 58 UCONVMSG_LIB=package-resfiles 62 DEFS += -DUCONVMSG_LINK=$(MSGNAME) 71 DEFS += -DUCONVMSG_LINK=$(MSGNAME) 72 LIBS += -L$(RESDIR) -l$(MSGNAME) [all …]
|
| /third_party/skia/third_party/externals/icu/source/extra/uconv/ |
| D | Makefile.in | 5 ## * Copyright (C) 1999-2014, International Business Machines 9 ## Makefile.in for ICU - uconv 47 CPPFLAGS += -I$(srcdir) -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(srcdir)/../toolutil 48 CPPFLAGS += -DUNISTR_FROM_CHAR_EXPLICIT=explicit -DUNISTR_FROM_STRING_EXPLICIT=explicit 52 PKGDATA_OPTS = -O pkgdata.inc 55 ## generic settings for data - common. 58 UCONVMSG_LIB=package-resfiles 62 DEFS += -DUCONVMSG_LINK=$(MSGNAME) 71 DEFS += -DUCONVMSG_LINK=$(MSGNAME) 72 LIBS += -L$(RESDIR) -l$(MSGNAME) [all …]
|
12345678910>>...38