Home
last modified time | relevance | path

Searched +full:local +full:- +full:dir (Results 1 – 25 of 1051) sorted by relevance

12345678910>>...43

/external/openssh/regress/
Dscp.sh6 #set -x
8 # Figure out if diff understands "-N"
9 if diff -N ${SRC}/scp.sh ${SRC}/scp.sh 2>/dev/null; then
10 DIFFOPT="-rN"
12 DIFFOPT="-r"
16 DIR=${COPY}.dd
20 cp ${SRC}/scp-ssh-wrapper.sh ${OBJ}/scp-ssh-wrapper.scp
21 chmod 755 ${OBJ}/scp-ssh-wrapper.scp
22 scpopts="-q -S ${OBJ}/scp-ssh-wrapper.scp"
23 export SCP # used in scp-ssh-wrapper.scp
[all …]
/external/e2fsprogs/tests/f_badsymlinks2/
Dmkimage.sh5 set -e -u
11 debugfs -w "$@" image
22 local len=$1
23 local src=$2
24 local target=$(perl -e 'print "A" x '$len)
25 ln -s $target $src
26 stat -c %i $src
31 local ino=$1
32 local len=$2
34 echo "zap_block -f <$ino> -p $((len%256)) -o 0 -l 1 0"
[all …]
/external/linux-kselftest/tools/testing/selftests/firmware/
Dfw_fallback.sh2 # SPDX-License-Identifier: GPL-2.0
7 set -e
23 local name="$1"
24 local file="$2"
27 echo -n "$name" >"$DIR"/trigger_request &
30 local timeout=10
31 while [ ! -e "$DIR"/"$name"/loading ]; do
33 timeout=$(( $timeout - 1 ))
34 if [ "$timeout" -eq 0 ]; then
40 echo 1 >"$DIR"/"$name"/loading
[all …]
/external/ltp/testcases/kernel/security/integrity/ima/tests/
Dima_setup.sh35 local type="$1"
36 local default_dir="$2"
37 local dir
39 dir="$(grep ^$type /proc/mounts | cut -d ' ' -f2 | head -1)"
40 [ -n "$dir" ] && { echo "$dir"; return; }
42 if ! mkdir -p $default_dir; then
45 if ! mount -t $type $type $default_dir; then
54 local ret
58 ROD_SILENT mkdir -p mntpoint
61 if [ $ret -ne 0 ]; then
[all …]
Dima_measurements.sh34 [ -f "$POLICY" ] || tst_res TINFO "not using default policy"
38 local template="$(tail -1 $ASCII_MEASUREMENTS | cut -d' ' -f 3)"
39 local i
41 # https://www.kernel.org/doc/html/latest/security/IMA-templates.html#use
43 ima|ima-ng|ima-sig) DIGEST_INDEX=4 ;;
46 local IFS="|"
49 if [ "$word" = 'd' -o "$word" = 'd-ng' ]; then
57 [ -z "$DIGEST_INDEX" ] && tst_brk TCONF \
66 local algorithm="$1"
67 local file="$2"
[all …]
/external/ltp/testcases/network/stress/ipsec/
Dipsec_lib.sh2 # SPDX-License-Identifier: GPL-2.0-or-later
31 echo "r x Num of requests, PING_MAX or netstress' '-r' opt"
79 SPI=${SPI:-1000}
80 VTI_KEY=${VTI_KEY:-10}
85 if [ -n "$IPSEC_MODE" ]; then
94 TST_SETUP=${TST_SETUP:-ipsec_lib_setup}
100 local bits=$1
101 local bytes=$(( $bits / 8))
102 echo "0x$(hexdump -vn $bytes -e '1/1 "%02x"' /dev/urandom)"
109 if [ -n "$IPSEC_MODE" -a -n "$IPSEC_PROTO" ]; then
[all …]
/external/python/setuptools/pkg_resources/_vendor/
Dappdirs.py2 # -*- coding: utf-8 -*-
3 # Copyright (c) 2005-2010 ActiveState Software Inc.
6 """Utilities for determining application-specific dirs.
11 # - MSDN on where to store app data files:
12 # http://support.microsoft.com/default.aspx?scid=kb;en-us;310294#XSLTH3194121123120121120120
13 # - Mac OS X: http://developer.apple.com/documentation/MacOSX/Conceptual/BPFileSystem/index.html
14 # - XDG spec for Un*x: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
46 r"""Return full path to the user-specific data dir for this application.
63 <http://technet.microsoft.com/en-us/library/cc766489(WS.10).aspx>
68 Unix: ~/.local/share/<AppName> # or in $XDG_DATA_HOME, if defined
[all …]
/external/ltp/testcases/open_posix_testsuite/scripts/
Dgenerate-makefiles.sh7 # 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' > 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 …]
/external/ltp/testcases/commands/cp/
Dcp_tests.sh20 ## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ##
34 local dirname=$1
35 local dircnt=$2
36 local filecnt=$3
39 tst_res TINFO "Filling each dir with $filecnt files".
40 while [ $dircnt -gt 0 ]; do
41 dirname=$dirname/dir$dircnt
42 ROD mkdir -p $dirname
44 local fcnt=0
45 while [ $fcnt -lt $filecnt ]; do
[all …]
/external/ltp/testcases/commands/sysctl/
Dsysctl01.sh35 local dir="/proc/sys/kernel/"
36 [ -e "$dir""sched_time_avg_ms" ] && local name="sched_time_avg_ms"
37 [ -e "$dir""sched_time_avg" ] && local name="sched_time_avg"
38 [ -z "$name" ] && tst_brk TCONF \
41 local orig_value=$(cat "$dir""$name")
43 sysctl -w "kernel.""$name"=0 >/dev/null 2>&1
45 local test_value=$(cat "$dir""$name")
47 if [ ${test_value} -eq ${orig_value} ]; then
51 sysctl -w "kernel.""$name"=${orig_value} >/dev/null 2>&1
/external/swiftshader/third_party/LLVM/bindings/ocaml/
DMakefile.ocaml1 ##===- tools/ml/Makefile -----------------------------------*- Makefile -*-===##
8 ##===----------------------------------------------------------------------===##
16 # http://pkg-ocaml-maint.alioth.debian.org/ocaml_packaging_policy.txt
18 ##===----------------------------------------------------------------------===##
23 CXX.Flags += -I"$(shell $(OCAMLC) -where)"
24 C.Flags += -I"$(shell $(OCAMLC) -where)"
29 # user can override this with OCAML_LIBDIR or configure --with-ocaml-libdir=.
33 # Info from llvm-config and similar
36 UsedLibs = $(shell $(LLVM_CONFIG) --libs $(UsedComponents))
37 UsedLibNames = $(shell $(LLVM_CONFIG) --libnames $(UsedComponents))
[all …]
/external/tensorflow/tensorflow/java/maven/
Drun_inside_container.sh8 # http://www.apache.org/licenses/LICENSE-2.0
26 DEPLOY_BINTRAY="${DEPLOY_BINTRAY:-true}"
27 DEPLOY_OSSRH="${DEPLOY_OSSRH:-true}"
29 PROTOC_RELEASE_URL="https://github.com/google/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-
35 set -ex
41 mvn -q clean
42 …rm -rf libtensorflow_jni/src libtensorflow_jni/target libtensorflow_jni_gpu/src libtensorflow_jni_…
43 libtensorflow/src libtensorflow/target tensorflow-android/target proto/src proto/target \
44 …tensorflow-hadoop/src tensorflow-hadoop/target spark-tensorflow-connector/src spark-tensorflow-con…
48 mvn versions:set -DnewVersion="${TF_VERSION}"
[all …]
/external/ImageMagick/
DMakefile.am1 # Copyright 1999-2019 ImageMagick Studio LLC, a non-profit organization
15 # Copyright (C) 2003 - 2008 GraphicsMagick Group
17 # Top-Level Makefile for building ImageMagick.
22 AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir)
24 ACLOCAL_AMFLAGS = -I m4
26 MODULECOMMONFLAGS = -no-undefined -export-symbols-regex ".*" -shared -module -avoid-version
31 # We want to preserve user-provided option variables so the same
35 DISTCLEANFILES = _configs.sed MagickCore/magick-baseconfig.h
77 $(top_srcdir)/config/tap-driver.sh
103 Install-mac.txt \
[all …]
/external/swiftshader/third_party/LLVM/
DMakefile.rules1 #===-- Makefile.rules - Common make rules for LLVM ---------*- Makefile -*--===#
8 #===------------------------------------------------------------------------===#
13 #===-----------------------------------------------------------------------====#
19 #--------------------------------------------------------------------
21 #--------------------------------------------------------------------
22 RecursiveTargets := all clean clean-all install uninstall install-bytecode \
24 LocalTargets := all-local clean-local clean-all-local check-local \
25 install-local printvars uninstall-local \
26 install-bytecode-local
27 TopLevelTargets := check dist dist-check dist-clean dist-gzip dist-bzip2 \
[all …]
/external/icu/icu4c/source/test/testdata/
DMakefile.in5 # 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 …]
/external/autotest/server/site_tests/platform_SyncCrash/
Dplatform_SyncCrash.py2 # Use of this source code is governed by a BSD-style license that can be
21 writer - syncs a file using fsync
22 mapper - syncs a memory mapped file using msync
23 verifier - verifies that content of the file
30 _STATEFUL_DIR = '/usr/local/CrashDir/'
31 _ECRYPT_DIR = '/usr/local/ecryptfs_tst/'
32 _ECRYPT_MOUNT_POINT = '/usr/local/ecryptfs_mnt/'
35 _Testsync = '/usr/local/opt/punybench/bin/testsync'
73 cmd = '%s %s -p verifier' % (self._Testsync, args)
84 options = ('-o'
[all …]
/external/mksh/src/
Dcheck.pl3 #-
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 …]
/external/autotest/server/site_tests/platform_CrashStateful/
Dplatform_CrashStateful.py2 # Use of this source code is governed by a BSD-style license that can be
23 _STATEFUL_DIR = '/usr/local/CrashDir'
24 _ECRYPT_DIR = '/usr/local/ecryptfs_tst'
25 _ECRYPT_MOUNT_POINT = '/usr/local/ecryptfs_mnt'
45 options = ('-o'
52 self._run('mkdir -p %s %s' % (edir, mnt))
53 self._run('mount -t ecryptfs %s %s %s' %
60 @param dir: directory where encrypted file system is stored
64 self._run('rm -R %s' % edir)
65 self._run('rm -R %s' % mnt)
[all …]
/external/mesa3d/src/compiler/
DAndroid.glsl.gen.mk1 # Mesa 3-D graphics library
3 # Copyright (C) 2010-2011 Chia-I Wu <olvaffe@gmail.com>
4 # Copyright (C) 2010-2011 LunarG Inc.
30 intermediates := $(call local-generated-sources-dir)
31 prebuilt_intermediates := $(MESA_TOP)/prebuilt-intermediates
49 MESA_GEN_GLSL_H := $(addprefix $(call local-generated-sources-dir)/, \
54 define local-l-or-ll-to-c-or-cpp
55 @mkdir -p $(dir $@)
57 $(hide) $(LEX) --nounistd -o$@ $<
60 define glsl_local-y-to-c-and-h
[all …]
/external/perfetto/tools/
Dtmux8 # http://www.apache.org/licenses/LICENSE-2.0
15 set -e
25 local out=$1
26 gn args $out --list --short | grep 'monolithic_binaries = true' 2>&1 >/dev/null
31 local out=$1
32 gn args $out --list --short | grep 'target_os = "android"' 2>&1 >/dev/null
37 ! test -d /proc
45 if [ ! -w /sys/kernel/debug ]; then
46 echo "debugfs not accessible, try sudo chown -R $USER /sys/kernel/debug"
47 sudo chown -R $USER /sys/kernel/debug
[all …]
/external/ltp/testcases/commands/ln/
Dln_tests.sh20 ## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ##
34 ROD mkdir -p dir/subdir
36 ROD touch dir/file
41 local dname="$1"
42 local lname="$2"
59 local fname="$1"
60 local lname="$2"
71 local args="$1"
72 local src="$2"
73 local link="$3"
[all …]
/external/webrtc/webrtc/examples/androidtests/
Dbuild.xml1 <?xml version="1.0" encoding="UTF-8"?>
4 <!-- The local.properties file is created and updated by the 'android' tool.
6 Version Control Systems. -->
7 <property file="local.properties" />
9 <!-- The ant.properties file can be created by you. It is only edited by the
14 source.dir
16 out.dir
28 -->
31 <!-- if sdk.dir was not set from one of the property file, then
34 the proguard config can use sdk.dir -->
[all …]
/external/webrtc/talk/app/webrtc/androidtests/
Dbuild.xml1 <?xml version="1.0" encoding="UTF-8"?>
4 <!-- The local.properties file is created and updated by the 'android' tool.
6 Version Control Systems. -->
7 <property file="local.properties" />
9 <!-- The ant.properties file can be created by you. It is only edited by the
14 source.dir
16 out.dir
28 -->
31 <!-- if sdk.dir was not set from one of the property file, then
34 the proguard config can use sdk.dir -->
[all …]
/external/androidplot/Examples/DemoApp/
Dbuild.xml1 <?xml version="1.0" encoding="UTF-8"?>
4 <!-- The local.properties file is created and updated by the 'android' tool.
6 Version Control Systems. -->
7 <property file="local.properties" />
9 <!-- The ant.properties file can be created by you. It is only edited by the
14 source.dir
16 out.dir
28 -->
31 <!-- if sdk.dir was not set from one of the property file, then
34 the proguard config can use sdk.dir -->
[all …]
/external/webrtc/webrtc/examples/androidapp/
Dbuild.xml1 <?xml version="1.0" encoding="UTF-8"?>
4 <!-- The local.properties file is created and updated by the 'android' tool.
6 Version Control Systems. -->
7 <property file="local.properties" />
9 <!-- The ant.properties file can be created by you. It is only edited by the
14 source.dir
16 out.dir
28 -->
31 <!-- if sdk.dir was not set from one of the property file, then
34 the proguard config can use sdk.dir -->
[all …]

12345678910>>...43