| /external/toybox/toys/posix/ |
| D | pwd.c | 1 /* pwd.c - Print working directory. 5 * See http://opengroup.org/onlinepubs/9699919799/utilities/pwd.html 7 USE_PWD(NEWTOY(pwd, ">0LP[-LP]", TOYFLAG_BIN|TOYFLAG_MAYFORK)) 9 config PWD 10 bool "pwd" 13 usage: pwd [-L|-P] 17 -L Use shell's path from $PWD (when applicable) 26 char *s, *pwd = getcwd(0, 0), *PWD; in pwd_main() local 28 // Only use $PWD if it's an absolute path alias for cwd with no "." or ".." in pwd_main() 29 if (!FLAG(P) && (s = PWD = getenv("PWD"))) { in pwd_main() [all …]
|
| /external/aws-crt-java/utils/ |
| D | mqtt5_test_setup.sh | 30 unset $(grep -v '^#' ${PWD}/environment_files.txt | xargs | cut -d "=" -f 1) 37 rm "${PWD}/environment_files.txt" 38 rm "${PWD}/crt_certificate.pem" 39 rm "${PWD}/crt_privatekey.pem" 40 rm "${PWD}/iot_certificate.pem" 41 rm "${PWD}/iot_privatekey.pem" 48 aws s3 cp ${testing_env_bucket} ${PWD}/environment_files.txt 64 … ${region} | cut -f2 -d":" | cut -f2 -d\") && echo -e "$crt_cert_file" > ${PWD}/crt_certificate.pem 65 …on ${region} | cut -f2 -d":" | cut -f2 -d\") && echo -e "$crt_key_file" > ${PWD}/crt_privatekey.pem 74 rm "${PWD}/environment_files.txt" [all …]
|
| /external/python/cpython3/Lib/test/ |
| D | test_pwd.py | 5 pwd = import_helper.import_module('pwd') variable 7 @unittest.skipUnless(hasattr(pwd, 'getpwall'), 'Does not have getpwall()') 11 entries = pwd.getpwall() 32 # self.assertEqual(pwd.getpwuid(e.pw_uid), e) 37 entries = pwd.getpwall() 53 self.assertIn(pwd.getpwnam(e.pw_name), entriesbyname[e.pw_name]) 54 self.assertIn(pwd.getpwuid(e.pw_uid), entriesbyuid[e.pw_uid]) 57 self.assertRaises(TypeError, pwd.getpwuid) 58 self.assertRaises(TypeError, pwd.getpwuid, 3.14) 59 self.assertRaises(TypeError, pwd.getpwnam) [all …]
|
| /external/elfutils/tests/ |
| D | run-debuginfod-tmp-home.sh | 25 DB=${PWD}/.debuginfod_tmp.sqlite 27 export DEBUGINFOD_CACHE_PATH=${PWD}/.client_cache 61 echo "int main() { return 0; }" > ${PWD}/p+r%o\$g.c 65 gcc -Wl,--build-id -g -o p+r%o\$g ${PWD}/foobar///./../p+r%o\$g.c 66 testrun ${abs_top_builddir}/src/strip -g -f p+r%o\$g.debug ${PWD}/p+r%o\$g 84 testrun env HOME=$PWD/tmphome XDG_CACHE_HOME= DEBUGINFOD_CACHE_PATH= ${abs_top_builddir}/debuginfod… 85 if [ ! -f $PWD/tmphome/.cache/debuginfod_client/$BUILDID/debuginfo ]; then 86 echo "could not find cache in $PWD/tmphome/.cache" 91 testrun env HOME=$PWD/tmphome XDG_CACHE_HOME= DEBUGINFOD_CACHE_PATH= ${abs_top_builddir}/debuginfod… 92 if [ ! -f $PWD/tmphome/.cache/debuginfod_client/$BUILDID/executable ]; then [all …]
|
| D | run-prelink-addr-test.sh | 39 00111000-00112000 r-xp 00000000 fd:01 1 `pwd`/testfile52-32.so 40 00112000-00113000 rw-p 00000000 fd:01 1 `pwd`/testfile52-32.so 41 41000000-41001000 r-xp 00000000 fd:01 2 `pwd`/testfile52-32.prelink.so 42 41001000-41002000 rw-p 00000000 fd:01 2 `pwd`/testfile52-32.prelink.so 43 42000000-42001000 r-xp 00000000 fd:01 3 `pwd`/testfile52-32.noshdrs.so 44 42001000-42002000 rw-p 00000000 fd:01 3 `pwd`/testfile52-32.noshdrs.so 68 1000000000-1000001000 r-xp 00000000 fd:11 1 `pwd`/testfile52-64.so 69 1000001000-1000200000 ---p 00001000 fd:11 1 `pwd`/testfile52-64.so 70 1000200000-1000201000 rw-p 00000000 fd:11 1 `pwd`/testfile52-64.so 71 3000000000-3000001000 r-xp 00000000 fd:11 2 `pwd`/testfile52-64.prelink.so [all …]
|
| D | run-debuginfod-artifact-running.sh | 30 DB=${PWD}/.debuginfod_tmp.sqlite 32 export DEBUGINFOD_CACHE_PATH=${PWD}/.client_cache 34 echo 'int main(int argc, char * argv){ return 0; }' > ${PWD}/prog.c 35 gcc -Wl,--build-id -g -o prog ${PWD}/prog.c 36 testrun ${abs_top_builddir}/src/strip -g -f prog.debug ${PWD}/prog 68 echo "int main() { return 0; }" > ${PWD}/prog2.c 70 gcc -Wl,--build-id -g -o prog2 ${PWD}/prog2.c 71 #testrun ${abs_top_builddir}/src/strip -g -f prog.debug ${PWD}/prog 95 filename=`testrun ${abs_top_builddir}/debuginfod/debuginfod-find source $BUILDID ${PWD}/foobar///./… 96 cmp $filename ${PWD}/prog.c [all …]
|
| D | run-debuginfod-percent-escape.sh | 27 DB=${PWD}/.debuginfod_tmp.sqlite 31 -F -R -d $DB -p $PORT1 -t0 -g0 -v R ${PWD}/F > vlog$PORT1 2>&1 & 41 echo "int main() { return 0; }" > ${PWD}/F/p++r\$\#o^^g.c 42 gcc -Wl,--build-id -g -o ${PWD}/F/p++r\$\#o^^g ${PWD}/F/p++r\$\#o^^g.c 44 -a ${PWD}/F/p++r\\$\#o^^g | grep 'Build ID' | cut -d ' ' -f 7` 45 tempfiles ${PWD}/F/p++r\$\#o^^g.c ${PWD}/F/p++r\$\#o^^g 53 env DEBUGINFOD_CACHE_PATH=${PWD}/.client_cache DEBUGINFOD_URLS="http://127.0.0.1:$PORT1" \
|
| /external/toybox/toys/pending/ |
| D | useradd.c | 46 struct passwd pwd; local 65 pwd.pw_name = s; 66 pwd.pw_passwd = "x"; 67 pwd.pw_gecos = TT.gecos ? TT.gecos : "Linux User,"; 68 pwd.pw_dir = TT.dir ? TT.dir : xmprintf("/home/%s", *toys.optargs); 80 pwd.pw_shell = TT.shell; 91 pwd.pw_uid = TT.uid; 98 if (getgrnam(pwd.pw_name)) error_exit("group '%s' in use", pwd.pw_name); 102 pwd.pw_gid = TT.gid; 106 char *s = xmprintf("-g%ld", (long)pwd.pw_gid); [all …]
|
| /external/wpa_supplicant_8/src/eap_peer/ |
| D | eap_pwd.c | 2 * EAP peer method: EAP-pwd (RFC 5931) 66 return "PWD-ID-Req"; in eap_pwd_state_txt() 68 return "PWD-Commit-Req"; in eap_pwd_state_txt() 70 return "PWD-Confirm-Req"; in eap_pwd_state_txt() 78 return "PWD-UNK"; in eap_pwd_state_txt() 86 wpa_printf(MSG_DEBUG, "EAP-PWD: %s -> %s", in eap_pwd_state() 103 wpa_printf(MSG_INFO, "EAP-PWD: No password configured!"); in eap_pwd_init() 109 wpa_printf(MSG_INFO, "EAP-PWD: No identity configured!"); in eap_pwd_init() 114 wpa_printf(MSG_INFO, "EAP-PWD: memory allocation data fail"); in eap_pwd_init() 119 wpa_printf(MSG_INFO, "EAP-PWD: memory allocation id fail"); in eap_pwd_init() [all …]
|
| /external/toybox/tests/ |
| D | pwd.test | 9 testing "pwd" "[ $(stat -c %i "$(pwd)") = $(stat -c %i .) ] && echo yes" \ 11 testing "-P" "[ $(stat -c %i "$(pwd -P)") = $(stat -c %i .) ] && echo yes" \ 17 testing "pwd2" "[ $(stat -c %i "$(pwd)") = $(stat -c %i "$PWD") ] && echo yes" \ 19 testing "-P2" "[ $(stat -c %i "$(pwd -P)") = $(stat -c %i "$PWD") ] || echo yes" \ 24 export PWD=walrus 25 testing "(bad PWD)" "[ "$(pwd)" = "$(cd . ; pwd)" ] && echo yes" \
|
| D | realpath.test | 8 export PWD 26 testcmd '--relative-to4' '"$PWD" --relative-to one' '..\n' '' '' 27 testcmd '--relative-to5' '--relative-to "$PWD" one' 'one\n' '' '' 38 testcmd '-m with relative-base2' '-sm --relative-base wurble .' "$PWD\n" '' '' 50 # The -s tests use $PWD instead of $TOP because symlinks in path _to_ here 51 # should not be resolved either. The shell exports $PWD: use it. 52 testcmd '-s' '-s uno/two' "$PWD/uno/two\n" '' '' 53 testcmd '-s link/..' '-es dos/three' "$PWD/dos/three\n" '' '' 54 testcmd '-s .. eats symlink' '-s dos/..' "$PWD\n" '' '' 56 toyonly testing '-s .. eats symlink in $PWD' \ [all …]
|
| /external/libwebsockets/test-apps/android/app/src/main/jni/ |
| D | NativeLibs.mk | 187 -DCMAKE_C_COMPILER=$(shell pwd)/$(TOOLCHAIN_X86)/bin/$(TOOLCHAIN_X86_PREFIX)-gcc \ 188 -DCMAKE_AR=$(shell pwd)/$(TOOLCHAIN_X86)/bin/$(TOOLCHAIN_X86_PREFIX)-ar \ 189 -DCMAKE_RANLIB=$(shell pwd)/$(TOOLCHAIN_X86)/bin/$(TOOLCHAIN_X86_PREFIX)-ranlib \ 202 -DCMAKE_C_COMPILER=$(shell pwd)/$(TOOLCHAIN_X86_64)/bin/$(TOOLCHAIN_X86_64_PREFIX)-gcc \ 203 -DCMAKE_AR=$(shell pwd)/$(TOOLCHAIN_X86_64)/bin/$(TOOLCHAIN_X86_64_PREFIX)-ar \ 204 -DCMAKE_RANLIB=$(shell pwd)/$(TOOLCHAIN_X86_64)/bin/$(TOOLCHAIN_X86_64_PREFIX)-ranlib \ 217 -DCMAKE_C_COMPILER=$(shell pwd)/$(TOOLCHAIN_ARM)/bin/$(TOOLCHAIN_ARM_PREFIX)-gcc \ 218 -DCMAKE_AR=$(shell pwd)/$(TOOLCHAIN_ARM)/bin/$(TOOLCHAIN_ARM_PREFIX)-ar \ 219 -DCMAKE_RANLIB=$(shell pwd)/$(TOOLCHAIN_ARM)/bin/$(TOOLCHAIN_ARM_PREFIX)-ranlib \ 232 -DCMAKE_C_COMPILER=$(shell pwd)/$(TOOLCHAIN_ARM_V7A)/bin/$(TOOLCHAIN_ARM_V7A_PREFIX)-gcc \ [all …]
|
| /external/wpa_supplicant_8/src/eap_server/ |
| D | eap_server_pwd.c | 2 * hostapd / EAP-pwd (RFC 5931) server 62 return "PWD-ID-Req"; in eap_pwd_state_txt() 64 return "PWD-Commit-Req"; in eap_pwd_state_txt() 66 return "PWD-Confirm-Req"; in eap_pwd_state_txt() 72 return "PWD-Unk"; in eap_pwd_state_txt() 79 wpa_printf(MSG_DEBUG, "EAP-pwd: %s -> %s", in eap_pwd_state() 91 wpa_printf(MSG_INFO, "EAP-PWD (server): Password is not " in eap_pwd_init() 101 wpa_printf(MSG_DEBUG, "EAP-pwd: Selected group number %d", in eap_pwd_init() 111 wpa_printf(MSG_INFO, "EAP-PWD: Memory allocation password " in eap_pwd_init() 126 "EAP-pwd: Memory allocation of salt failed"); in eap_pwd_init() [all …]
|
| /external/toybox/toys/other/ |
| D | login.c | 42 struct passwd *pwd = 0; in login_main() local 73 if ((pwd = getpwnam(username))) { in login_main() 75 if (TT.f || !*pwd->pw_passwd) break; in login_main() 78 if (*(pass = pwd->pw_passwd) == 'x') { in login_main() 106 pwd = 0; in login_main() 110 if (!pwd) error_exit("max retries (3)"); in login_main() 114 if (pwd->pw_uid && !access("/etc/nologin", R_OK)) { in login_main() 123 if (fchown(tty, pwd->pw_uid, pwd->pw_gid) || fchmod(tty, 0600)) in login_main() 125 xsetuser(pwd); in login_main() 126 reset_env(pwd, !FLAG(p)); in login_main() [all …]
|
| /external/webrtc/p2p/base/ |
| D | transport_description_unittest.cc | 19 auto result = IceParameters::Parse("ufrag", "22+characters+long+pwd"); in TEST() 23 EXPECT_EQ("22+characters+long+pwd", parameters.pwd); in TEST() 27 auto result = IceParameters::Parse("3ch", "22+characters+long+pwd"); in TEST() 33 auto result = IceParameters::Parse(ufrag, "22+characters+long+pwd"); in TEST() 38 auto result = IceParameters::Parse("ufrag", "21+character+long+pwd"); in TEST() 43 std::string pwd(257, '+'); in TEST() local 44 auto result = IceParameters::Parse("ufrag", pwd); in TEST() 49 auto result = IceParameters::Parse("ufrag\r\n", "22+characters+long+pwd"); in TEST() 54 auto result = IceParameters::Parse("ufrag", "22+characters+long+pwd\r\n"); in TEST()
|
| /external/python/cpython3/Modules/ |
| D | pwdmodule.c | 14 #include <pwd.h> // getpwuid() 19 module pwd 35 "pwd.struct_passwd: Results from getpw*() routines.\n\n\ 41 "pwd.struct_passwd", 52 items from the password database (see `<pwd.h>'), in order:\n\ 123 pwd.getpwuid 130 See `help(pwd)` for more on password database entries. 152 /* Note: 'pwd' will be used via pointer 'p' on getpwuid_r success. */ in pwd_getpwuid() 153 struct passwd pwd; in pwd_getpwuid() local 169 status = getpwuid_r(uid, &pwd, buf, bufsize, &p); in pwd_getpwuid() [all …]
|
| /external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/cares/cares/ci/ |
| D | test.sh | 18 PWD=`pwd` 19 TESTDIR="${PWD}/test" 22 TOOLSBIN="${PWD}/cmakebld/bin" 23 TESTSBIN="${PWD}/cmakebld/bin" 25 TOOLSBIN="${PWD}/atoolsbld/src/tools" 26 TESTSBIN="${PWD}/atoolsbld/test" 37 cd "${PWD}"
|
| /external/ltp/testcases/kernel/device-drivers/usb/tusb/ |
| D | Makefile | 13 PWD := $(shell pwd) macro 16 $(MAKE) -C $(KDIR) M=$(PWD) modules 17 # $(MAKE) -C $(KERNELDIR) M=$(PWD) modules 20 $(MAKE) -C $(KDIR) M=$(PWD) clean 24 $(MAKE) -C $(KDIR) M=$(PWD) help 27 $(MAKE) -C $(KDIR) M=$(PWD) modules_install
|
| /external/protobuf/benchmarks/ |
| D | Makefile.am | 33 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --cpp_ou… 37 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --cpp_ou… 40 all_data = $$(find $$(cd $(srcdir) && pwd) -type f -name "dataset.*.pb" -not -path "$$(cd $(srcdir)… 93 oldpwd=`pwd` 249 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out… 250 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out… 251 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out… 252 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out… 253 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out… 254 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out… [all …]
|
| /external/cronet/stable/third_party/protobuf/benchmarks/ |
| D | Makefile.am | 33 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --cpp_ou… 37 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --cpp_ou… 40 all_data = $$(find $$(cd $(srcdir) && pwd) -type f -name "dataset.*.pb" -not -path "$$(cd $(srcdir)… 93 oldpwd=`pwd` 249 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out… 250 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out… 251 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out… 252 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out… 253 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out… 254 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out… [all …]
|
| /external/cronet/tot/third_party/protobuf/benchmarks/ |
| D | Makefile.am | 33 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --cpp_ou… 37 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --cpp_ou… 40 all_data = $$(find $$(cd $(srcdir) && pwd) -type f -name "dataset.*.pb" -not -path "$$(cd $(srcdir)… 93 oldpwd=`pwd` 249 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out… 250 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out… 251 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out… 252 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out… 253 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out… 254 …oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/../src/protoc$(EXEEXT) -I. -I$(top_srcdir)/src --go_out… [all …]
|
| /external/bazelbuild-rules_go/tests/core/go_test/ |
| D | pwd_test.go | 1 package pwd package 11 pwd := os.Getenv("PWD") 13 if !strings.HasSuffix(pwd, filepath.FromSlash(suffix)) { 14 t.Errorf("PWD not set. got %q; want something ending with %q", pwd, suffix)
|
| /external/flac/test/ |
| D | common.sh.in | 29 LD_LIBRARY_PATH="$(pwd)/../objs/$BUILD/lib:$LD_LIBRARY_PATH" 30 LD_LIBRARY_PATH="$(pwd)/../src/libFLAC/.libs:$LD_LIBRARY_PATH" 31 LD_LIBRARY_PATH="$(pwd)/../src/share/getopt/.libs:$LD_LIBRARY_PATH" 32 LD_LIBRARY_PATH="$(pwd)/../src/share/grabbag/.libs:$LD_LIBRARY_PATH" 33 LD_LIBRARY_PATH="$(pwd)/../src/share/replaygain_analysis/.libs:$LD_LIBRARY_PATH" 34 LD_LIBRARY_PATH="$(pwd)/../src/share/replaygain_synthesis/.libs:$LD_LIBRARY_PATH" 35 LD_LIBRARY_PATH="$(pwd)/../src/share/utf8/.libs:$LD_LIBRARY_PATH" 46 PATH="$(pwd)/../objs/$CMAKE_CONFIG_TYPE:$PATH" 47 PATH="$(pwd)/../objs:$PATH"
|
| /external/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_allocator_module/ |
| D | Makefile | 9 PWD := $(shell pwd) macro 12 $(MAKE) -C $(KDIR) M=$(PWD) modules 15 $(MAKE) -C $(KDIR) M=$(PWD) clean 19 $(MAKE) -C $(KDIR) M=$(PWD) help 22 $(MAKE) -C $(KDIR) M=$(PWD) modules_install
|
| /external/ltp/testcases/kernel/device-drivers/v4l/kernel_space/ |
| D | Makefile | 9 PWD := $(shell pwd) macro 12 $(MAKE) -C $(KDIR) M=$(PWD) modules 15 $(MAKE) -C $(KDIR) M=$(PWD) clean 19 $(MAKE) -C $(KDIR) M=$(PWD) help 22 $(MAKE) -C $(KDIR) M=$(PWD) modules_install
|