/netbsd-src/usr.bin/make/unit-tests/ |
H A D | cond-func-exists.mk | 1 # $NetBSD: cond-func-exists.mk,v 1.8 2025/01/10 23:00:38 rillig Exp $ 3 # Tests for the exists() function in .if conditions. 5 .if !exists(.) 11 .if exists(".") 15 .if exists('.') 22 .if exists(\.) 26 .if !exists(${:U.}) 32 .if !exists(${.PARSEDIR}/${.PARSEFILE}) 37 .if !exists( . ) 42 .if exists( [all...] |
H A D | varname-vpath.exp | 2 CondParser_Eval: exists(file-in-subdirectory) 3 exists(file-in-subdirectory) result is "" 4 CondParser_Eval: exists(file2-in-subdirectory) 5 exists(file2-in-subdirectory) result is "" 6 CondParser_Eval: exists(file-in-subdirectory) 7 exists(file-in-subdirectory) result is "varname-vpath.dir/file-in-subdirectory" 9 CondParser_Eval: exists(file2-in-subdirectory) 10 exists(file2-in-subdirectory) result is "varname-vpath.dir2/file2-in-subdirectory"
|
H A D | varname-dot-curdir.mk | 12 .if !exists(${.CURDIR}) 15 .if !exists(${.CURDIR}/) 18 .if !exists(${.CURDIR}/.) 21 .if !exists(${.CURDIR}/..)
|
/netbsd-src/external/bsd/atf/dist/atf-c++/ |
H A D | macros_test.cpp | 296 ATF_REQUIRE(atf::fs::exists(atf::fs::path("before"))); in ATF_TEST_CASE_BODY() 297 ATF_REQUIRE(!atf::fs::exists(atf::fs::path("after"))); in ATF_TEST_CASE_BODY() 310 ATF_REQUIRE(atf::fs::exists(atf::fs::path("before"))); in ATF_TEST_CASE_BODY() 311 ATF_REQUIRE(!atf::fs::exists(atf::fs::path("after"))); in ATF_TEST_CASE_BODY() 325 ATF_REQUIRE(atf::fs::exists(atf::fs::path("before"))); in ATF_TEST_CASE_BODY() 326 ATF_REQUIRE(!atf::fs::exists(atf::fs::path("after"))); in ATF_TEST_CASE_BODY() 357 ATF_REQUIRE(atf::fs::exists(before)); in ATF_TEST_CASE_BODY() 360 ATF_REQUIRE(atf::fs::exists(after)); in ATF_TEST_CASE_BODY() 364 ATF_REQUIRE(!atf::fs::exists(after)); in ATF_TEST_CASE_BODY() 407 ATF_REQUIRE(atf::fs::exists(before)); in ATF_TEST_CASE_BODY() [all …]
|
/netbsd-src/common/lib/libc/ |
H A D | Makefile.inc | 10 exists(${COMMON_DIR}/arch/${COMMON_MACHINE_ARCH}) 13 exists(${COMMON_DIR}/arch/${COMMON_MACHINE_CPU}) 16 exists(${KERNDIR}/arch/${LIBKERN_ARCH}) 18 .elif exists(${COMMON_DIR}/arch/${MACHINE_ARCH}) 20 .elif exists(${COMMON_DIR}/arch/${MACHINE_CPU}) 27 .if exists(${COMMON_DIR}/$i) 30 .if exists(${COMMON_ARCHDIR}/${i}/Makefile.inc) 34 exists(${COMMON_ARCHDIR}/$i/small) 38 .if exists(${COMMON_ARCHDIR}/$i)
|
/netbsd-src/external/bsd/atf/dist/tools/ |
H A D | fs_test.cpp | 473 ATF_REQUIRE(!tools::fs::exists(tmpl)); in ATF_TEST_CASE_BODY() 474 ATF_REQUIRE( tools::fs::exists(t1)); in ATF_TEST_CASE_BODY() 475 ATF_REQUIRE( tools::fs::exists(t2)); in ATF_TEST_CASE_BODY() 501 ATF_REQUIRE(!tools::fs::exists(t1)); in ATF_TEST_CASE_BODY() 503 ATF_REQUIRE(!tools::fs::exists(t2)); in ATF_TEST_CASE_BODY() 511 ATF_TEST_CASE(exists); 512 ATF_TEST_CASE_HEAD(exists) in ATF_TEST_CASE_HEAD() argument 516 ATF_TEST_CASE_BODY(exists) in ATF_TEST_CASE_BODY() argument 518 using tools::fs::exists; in ATF_TEST_CASE_BODY() 523 ATF_REQUIRE( exists(path("files"))); in ATF_TEST_CASE_BODY() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
H A D | file_manager.d | 51 if (FileName.exists(sdi) == 1) in lookForSourceFile() 59 if (FileName.exists(sd) == 1) in lookForSourceFile() 64 if (FileName.exists(si) == 1) in lookForSourceFile() 69 if (FileName.exists(sc) == 1) in lookForSourceFile() 73 if (FileName.exists(filename) == 2) in lookForSourceFile() 80 if (FileName.exists(ni) == 1) in lookForSourceFile() 85 if (FileName.exists(n) == 1) in lookForSourceFile() 98 if (FileName.exists(n) == 1) { in lookForSourceFile() 104 if (FileName.exists(n) == 1) { in lookForSourceFile() 110 if (FileName.exists(n) == 1) { in lookForSourceFile() [all …]
|
/netbsd-src/external/bsd/atf/dist/atf-c++/detail/ |
H A D | fs_test.cpp | 445 ATF_TEST_CASE(exists); 446 ATF_TEST_CASE_HEAD(exists) in ATF_TEST_CASE_HEAD() argument 450 ATF_TEST_CASE_BODY(exists) in ATF_TEST_CASE_BODY() argument 452 using atf::fs::exists; in ATF_TEST_CASE_BODY() 457 ATF_REQUIRE( exists(path("files"))); in ATF_TEST_CASE_BODY() 458 ATF_REQUIRE(!exists(path("file"))); in ATF_TEST_CASE_BODY() 459 ATF_REQUIRE(!exists(path("files2"))); in ATF_TEST_CASE_BODY() 461 ATF_REQUIRE( exists(path("files/."))); in ATF_TEST_CASE_BODY() 462 ATF_REQUIRE( exists(path("files/.."))); in ATF_TEST_CASE_BODY() 463 ATF_REQUIRE( exists(path("files/dir"))); in ATF_TEST_CASE_BODY() [all …]
|
/netbsd-src/external/mit/isl/dist/test_inputs/codegen/omega/ |
H A D | iter9-0.in | 1 …exists (e0: exprVar2 = 0 and 8e0 >= -15 + exprVar1 and exprVar1 <= 15 and In_1 >= 1 and 8e0 <= exp…
|
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/datamorph/tests/scripts/ |
H A D | all | 51 drop database if exists db_1; 52 drop database if exists db_2; 53 drop database if exists db_3; 54 drop database if exists db_4; 55 drop database if exists db_5; 56 drop database if exists db_6;
|
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/variant/tests/scripts/ |
H A D | all | 51 drop database if exists db_1; 52 drop database if exists db_2; 53 drop database if exists db_3; 54 drop database if exists db_4; 55 drop database if exists db_5; 56 drop database if exists db_6;
|
/netbsd-src/external/bsd/openldap/dist/tests/scripts/ |
H A D | lloadd-all | 51 drop database if exists db_1; 52 drop database if exists db_2; 53 drop database if exists db_3; 54 drop database if exists db_4; 55 drop database if exists db_5; 56 drop database if exists db_6;
|
H A D | all | 52 drop database if exists db_1; 53 drop database if exists db_2; 54 drop database if exists db_3; 55 drop database if exists db_4; 56 drop database if exists db_5; 57 drop database if exists db_6;
|
/netbsd-src/external/mpl/bind/dist/contrib/scripts/ |
H A D | check-secure-delegation.pl.in | 80 exists($ds{"$words[10] $words[5]"})); 82 if (exists($ds{"$words[10] $words[5]"}) && 83 exists($dnskey{"$words[10] $words[5]"})); 87 if (exists($dnskey{"$words[10] $words[5]"})); 98 if (!exists($dnskeygood{$alg})); 105 if (exists($dsgood{$alg})) {
|
/netbsd-src/external/mit/isl/dist/test_inputs/codegen/ |
H A D | roman.in | 3 …exists (e0 = [(np1 - i)/4294967296], e1 = [(-2 + i + i0)/4294967296], e2 = [(i1)/4294967296]: i0 >… 4 [np1, i] -> { : exists (e0 = [(np1 - i)/4294967296]: 4294967296e0 <= np1 - i and 4294967296e0 >= -…
|
/netbsd-src/external/mpl/dhcp/dist/keama/tests/ |
H A D | existsbx4.out | 2 # exists boolean expression 7 # use exists in a reductible match if 10 /// from: match if exists dhcp.host-name 11 "test": "option[12].exists" 18 // "exists": {
|
H A D | existsbx4.in4 | 1 # exists boolean expression 6 # use exists in a reductible match if 8 match if exists host-name; 12 if exists host-name {
|
/netbsd-src/external/gpl3/gcc.old/dist/contrib/header-tools/ |
H A D | reduce-headers | 73 if os.path.exists (path + "/" + header): 101 if os.path.exists (location): 105 if os.path.exists (location): 123 if os.path.exists (location): 171 if os.path.exists (bld_dir): 180 if not os.path.exists (tpath + "/gcc"): 201 if not os.path.exists (obj): 203 if os.path.exists (obj): 263 if obn and os.path.exists (build_dir + "/gcc/" + obn): 342 if objfile and os.path.exists(t1[1] +"/gcc/"+objfile): [all …]
|
/netbsd-src/external/gpl3/gcc/dist/contrib/header-tools/ |
H A D | reduce-headers | 73 if os.path.exists (path + "/" + header): 101 if os.path.exists (location): 105 if os.path.exists (location): 123 if os.path.exists (location): 171 if os.path.exists (bld_dir): 180 if not os.path.exists (tpath + "/gcc"): 201 if not os.path.exists (obj): 203 if os.path.exists (obj): 263 if obn and os.path.exists (build_dir + "/gcc/" + obn): 342 if objfile and os.path.exists(t1[1] +"/gcc/"+objfile): [all …]
|
/netbsd-src/external/gpl2/dtc/dist/tests/ |
H A D | run_tests.sh | 202 run_test check_path overlay_base_no_symbols.test.dtb not-exists "/__symbols__" 203 run_test check_path overlay_base_no_symbols.test.dtb not-exists "/__fixups__" 204 run_test check_path overlay_base_no_symbols.test.dtb not-exists "/__local_fixups__" 207 run_test check_path overlay_overlay_no_fixups.test.dtb not-exists "/__symbols__" 208 run_test check_path overlay_overlay_no_fixups.test.dtb not-exists "/__fixups__" 209 run_test check_path overlay_overlay_no_fixups.test.dtb exists "/__local_fixups__" 215 run_test check_path overlay_base_manual_symbols.test.dtb exists "/__symbols__" 216 run_test check_path overlay_base_manual_symbols.test.dtb not-exists "/__fixups__" 217 run_test check_path overlay_base_manual_symbols.test.dtb not-exists "/__local_fixups__" 220 run_test check_path overlay_overlay_manual_fixups.test.dtb not-exists "/__symbols__" [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/testsuite/lib/ |
H A D | libphobos.exp | 112 if [info exists testname_with_flags] { 121 if [info exists testname_with_flags] { 167 if ![info exists DEFAULT_DFLAGS] then { 200 if { [file exists $flags_file] } { 208 if [info exists env(EXEEXT)] { 221 if { [file exists "${blddir}/src/.libs/libgphobos.${shlib_ext}"] } { 263 if { [target_info needs_status_wrapper] != "" && [info exists gluefile] } {
|
/netbsd-src/external/bsd/nsd/dist/contrib/bind2nsd/scripts/ |
H A D | s64-sync | 37 if os.path.exists('../bind2nsd/Config.py'): 49 if os.path.exists('../pexpect-2.1'): 75 if os.path.exists(xlate): 86 if not os.path.exists(tmpdir) and not os.path.isdir(tmpdir): 128 if not os.path.exists(tmpdir) and not os.path.isdir(tmpdir): 200 if os.path.exists(named_root) and os.path.isdir(named_root): 213 if os.path.exists(chkconf): 227 if os.path.exists(chkzone): 247 if os.path.exists(zonec):
|
H A D | nsd-sync | 37 if os.path.exists('../bind2nsd/Config.py'): 49 if os.path.exists('../pexpect-2.1'): 75 if os.path.exists(xlate): 86 if not os.path.exists(tmpdir) and not os.path.isdir(tmpdir): 125 if not os.path.exists(tmpdir) and not os.path.isdir(tmpdir): 192 if os.path.exists(named_root) and os.path.isdir(named_root): 205 if os.path.exists(chkconf): 219 if os.path.exists(chkzone): 239 if os.path.exists(zonec):
|
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/variant/tests/ |
H A D | run | 180 drop database if exists db_1; 181 drop database if exists db_2; 182 drop database if exists db_3; 183 drop database if exists db_4; 184 drop database if exists db_5; 185 drop database if exists db_6;
|
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/datamorph/tests/ |
H A D | run | 180 drop database if exists db_1; 181 drop database if exists db_2; 182 drop database if exists db_3; 183 drop database if exists db_4; 184 drop database if exists db_5; 185 drop database if exists db_6;
|