/freebsd-src/contrib/pjdfstest/ |
H A D | configure.ac | 24 [AC_DEFINE([HAVE_BINDAT], [1], [Define if bindat exists])]) 26 [AC_DEFINE([HAVE_CHFLAGS], [1], [Define if chflags exists])]) 28 [AC_DEFINE([HAVE_CHFLAGSAT], [1], [Define if chflagsat exists])]) 30 [AC_DEFINE([HAVE_CONNECTAT], [1], [Define if connectat exists])]) 32 [AC_DEFINE([HAVE_FACCESSAT], [1], [Define if faccessat exists])]) 34 [AC_DEFINE([HAVE_FCHFLAGS], [1], [Define if fchflags exists])]) 36 [AC_DEFINE([HAVE_FCHMODAT], [1], [Define if fchmodat exists])]) 38 [AC_DEFINE([HAVE_FCHOWNAT], [1], [Define if fchownat exists])]) 40 [AC_DEFINE([HAVE_FSTATAT], [1], [Define if fstatat exists])]) 42 [AC_DEFINE([HAVE_LCHFLAGS], [1], [Define if lchflags exists])]) [all …]
|
/freebsd-src/contrib/bmake/unit-tests/ |
H A D | cond-func-exists.mk | 1 # $NetBSD: cond-func-exists.mk,v 1.7 2023/11/19 21:47:52 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( . ) 41 # The exists function does not really look up the file in the file system, [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 | 6 # In all normal situations, the current directory exists, and its name can 12 .if !exists(${.CURDIR}) 15 .if !exists(${.CURDIR}/) 18 .if !exists(${.CURDIR}/.) 21 .if !exists(${.CURDIR}/..)
|
/freebsd-src/tests/sys/pjdfstest/ |
H A D | config.h | 22 /* Define if bindat exists */ 25 /* Define if chflags exists */ 28 /* Define if chflagsat exists */ 31 /* Define if connectat exists */ 34 /* Define if faccessat exists */ 37 /* Define if fchflags exists */ 40 /* Define if fchmodat exists */ 43 /* Define if fchownat exists */ 46 /* Define if fstatat exists */ 52 /* Define if lchflags exists */ [all …]
|
/freebsd-src/sys/modules/zfs/ |
H A D | zfs_config.h | 72 /* bdev_check_media_change() exists */ 75 /* bdev_file_open_by_path() exists */ 84 /* bdev_kobj() exists */ 96 /* bdev_open_by_path() exists */ 99 /* bdev_release() exists */ 111 /* bio->bi_bdev->bd_disk exists */ 129 /* blkdev_get_by_path() exists and takes 4 args */ 150 /* blkdev_put() exists */ 159 /* blkdev_reread_part() exists */ 168 /* blk_alloc_disk() exists */ [all...] |
/freebsd-src/bin/test/ |
H A D | test.1 | 64 exists and is a block special 69 exists and is a character 74 exists and is a directory. 78 exists (regardless of type). 82 exists and is a regular file. 86 exists and its set group ID flag 91 exists and is a symbolic link. 100 exists and its sticky bit is set. 113 exists and is readable. 117 exists and has a size greater [all …]
|
/freebsd-src/sys/dev/acpi_support/ |
H A D | acpi_fujitsu.c | 99 int exists; member 284 if(sc->gmou.exists) { in acpi_fujitsu_resume() 355 int i, exists; in acpi_fujitsu_init() local 385 exists = sc->gmou.exists; in acpi_fujitsu_init() 388 exists = sc->gbll.exists; in acpi_fujitsu_init() 391 exists = sc->gbls.exists; in acpi_fujitsu_init() 395 exists = sc->gvol.exists; in acpi_fujitsu_init() 398 exists = sc->rvol.exists; in acpi_fujitsu_init() 401 exists = sc->rbll.exists; in acpi_fujitsu_init() 405 exists = 1; in acpi_fujitsu_init() [all …]
|
/freebsd-src/sys/contrib/openzfs/config/ |
H A D | kernel-inode-times.m4 | 86 AC_MSG_CHECKING([whether timestamp_truncate() exists]) 90 [timestamp_truncate() exists]) 95 AC_MSG_CHECKING([whether inode_get_ctime() exists]) 99 [inode_get_ctime() exists in linux/fs.h]) 104 AC_MSG_CHECKING([whether inode_set_ctime_to_ts() exists]) 108 [inode_set_ctime_to_ts() exists in linux/fs.h]) 113 AC_MSG_CHECKING([whether inode_get_atime() exists]) 117 [inode_get_atime() exists in linux/fs.h]) 122 AC_MSG_CHECKING([whether inode_set_atime_to_ts() exists]) 126 [inode_set_atime_to_ts() exists i [all...] |
H A D | kernel-shrink.m4 | 81 AC_MSG_CHECKING([whether new var-arg register_shrinker() exists]) 111 AC_MSG_CHECKING([whether shrinker_register() exists]) 114 AC_DEFINE(HAVE_SHRINKER_REGISTER, 1, [shrinker_register exists])
|
H A D | kernel-blkdev.m4 | 78 AC_MSG_CHECKING([whether blkdev_get_by_path() exists and takes 3 args]) 83 AC_MSG_CHECKING([whether blkdev_get_by_path() exists and takes 4 args]) 86 [blkdev_get_by_path() exists and takes 4 args]) 90 AC_MSG_CHECKING([whether bdev_open_by_path() exists]) 93 [bdev_open_by_path() exists]) 97 AC_MSG_CHECKING([whether bdev_file_open_by_path() exists]) 100 [bdev_file_open_by_path() exists]) 190 AC_MSG_CHECKING([whether blkdev_put() exists]) 193 AC_DEFINE(HAVE_BLKDEV_PUT, 1, [blkdev_put() exists]) 203 AC_MSG_CHECKING([whether bdev_release() exists]) [all...] |
H A D | kernel-acl.m4 | 73 AC_MSG_CHECKING([whether iops->get_acl() exists]) 76 AC_DEFINE(HAVE_GET_ACL, 1, [iops->get_acl() exists]) 153 AC_MSG_CHECKING([whether iops->set_acl() with 4 args exists])
|
H A D | kernel-make-request-fn.m4 | 86 AC_MSG_CHECKING([whether blk_alloc_disk() exists]) 89 AC_DEFINE([HAVE_BLK_ALLOC_DISK], 1, [blk_alloc_disk() exists]) 95 AC_MSG_CHECKING([whether blk_cleanup_disk() exists]) 99 [blk_cleanup_disk() exists]) 111 AC_MSG_CHECKING([whether blk_alloc_disk() exists and takes 2 args]) 114 AC_DEFINE([HAVE_BLK_ALLOC_DISK_2ARG], 1, [blk_alloc_disk() exists and takes 2 args]) 134 AC_MSG_CHECKING([whether blk_cleanup_disk() exists]) 138 [blk_cleanup_disk() exists])
|
/freebsd-src/bin/ln/tests/ |
H A D | ln_test.sh | 73 atf_set "descr" "Verify that if the target file already exists, " \ 87 "target file already exists" 92 atf_check -s exit:1 -e inline:'ln: B: File exists\n' \ 100 "the target file already exists" 105 atf_check -s exit:1 -e inline:'ln: B: File exists\n' \ 139 atf_set "descr" "Verify that if the target file already exists " \ 153 atf_set "descr" "Verify that if the target file already exists, " \ 167 atf_set "descr" "Verify that if the target file already exists " \ 195 atf_set "descr" "Verify that if the source file does not exists, '-s' " \ 248 atf_set "descr" "Verify that link(1) fails if the target exists" [all …]
|
/freebsd-src/contrib/atf/atf-c++/ |
H A D | macros_test.cpp | 294 ATF_REQUIRE(atf::fs::exists(atf::fs::path("before"))); in ATF_TEST_CASE_BODY() 295 ATF_REQUIRE(!atf::fs::exists(atf::fs::path("after"))); in ATF_TEST_CASE_BODY() 308 ATF_REQUIRE(atf::fs::exists(atf::fs::path("before"))); in ATF_TEST_CASE_BODY() 309 ATF_REQUIRE(!atf::fs::exists(atf::fs::path("after"))); in ATF_TEST_CASE_BODY() 323 ATF_REQUIRE(atf::fs::exists(atf::fs::path("before"))); in ATF_TEST_CASE_BODY() 324 ATF_REQUIRE(!atf::fs::exists(atf::fs::path("after"))); in ATF_TEST_CASE_BODY() 355 ATF_REQUIRE(atf::fs::exists(before)); in ATF_TEST_CASE_BODY() 358 ATF_REQUIRE(atf::fs::exists(after)); in ATF_TEST_CASE_BODY() 362 ATF_REQUIRE(!atf::fs::exists(after)); in ATF_TEST_CASE_BODY() 405 ATF_REQUIRE(atf::fs::exists(before)); in ATF_TEST_CASE_BODY() [all …]
|
/freebsd-src/contrib/tcpdump/ |
H A D | cmake_uninstall.cmake.in | 1 if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") 3 endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") 9 if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") 18 else(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") 20 endif(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
|
/freebsd-src/contrib/libpcap/ |
H A D | cmake_uninstall.cmake.in | 1 if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") 3 endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") 9 if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") 18 else(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") 20 endif(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
|
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/ |
H A D | tst.exists.ksh | 21 # zfs.exists should accurately report whether a dataset exists, and 36 log_must_program $TESTPOOL $ZCP_ROOT/lua_core/tst.exists.zcp \ 41 $TESTPOOL - <<<"return zfs.exists('rpool')" 43 log_pass "zfs.exists() gives correct results"
|
/freebsd-src/contrib/ntp/sntp/libevent/cmake/ |
H A D | Uninstall.cmake.in | 3 if(NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt") 5 endif(NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt") 11 if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") 20 else(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") 22 endif(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
|
/freebsd-src/contrib/libevent/cmake/ |
H A D | Uninstall.cmake.in | 3 if(NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt") 5 endif(NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt") 11 if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") 20 else(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") 22 endif(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
|
/freebsd-src/crypto/openssh/regress/ |
H A D | sftp-badcmds.sh | 44 test -f ${COPY}.1 && fail "file exists after rename nonexistent" 49 verbose "$tid: rename target exists (directory)" 51 || fail "rename target exists (directory) failed" 52 test -f ${COPY} || fail "oldname missing after rename target exists (directory)" 53 test -d ${COPY}.dd || fail "newname missing after rename target exists (directory)" 54 cmp $DATA ${COPY} >/dev/null 2>&1 || fail "corrupted oldname after rename target exists (directory)"
|
/freebsd-src/contrib/bmake/mk/ |
H A D | autoconf.mk | 33 .if exists(${.OBJDIR}/config.status) 64 .if exists(${AUTOCONF}) 71 .if exists(${.CURDIR}/aclocal.m4) 75 .if exists(${.CURDIR}/acconfig.h) 78 .if exists(${.CURDIR}/configure.ac) 91 .if exists(${.CURDIR}/config.h.in)
|
/freebsd-src/share/man/man9/ |
H A D | getenv.9 | 124 already exists, 136 function is used to determine if a kernel environment variable exists. 139 exists and zero if it does not. 198 If the variable exists, 214 If the environment variable exists and has a valid boolean value, then that 217 If the environment variable exists but is not a boolean value, then a warning 261 if the specified environment variable exists and its value matches the desired
|
/freebsd-src/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_uapi.c | 37 size_t alloc_size, bool *exists) in uapi_add_get_elm() argument 43 *exists = false; in uapi_add_get_elm() 53 *exists = true; in uapi_add_get_elm() 65 bool exists; in uapi_create_write() local 73 &exists); in uapi_create_write() 77 if (WARN_ON(exists && (def->write.is_ex != method_elm->is_ex))) in uapi_create_write() 108 bool exists; in uapi_merge_method() local 114 &exists); in uapi_merge_method() 117 if (exists) { in uapi_merge_method() 177 bool exists; in uapi_merge_obj_tree() local [all …]
|
/freebsd-src/share/mk/ |
H A D | bsd.sysdir.mk | 9 .if !defined(SYSDIR) && exists(${_dir}/kern/) && exists(${_dir}/conf/kmod.mk) 14 .if !defined(SYSDIR) || !exists(${SYSDIR}/kern/) || \ 15 !exists(${SYSDIR}/conf/kmod.mk)
|