Home
last modified time | relevance | path

Searched full:exists (Results 1 – 25 of 4005) sorted by relevance

12345678910>>...161

/freebsd-src/contrib/pjdfstest/
H A Dconfigure.ac24 [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 Dcond-func-exists.mk1 # $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 Dvarname-vpath.exp2 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 Dvarname-dot-curdir.mk6 # 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 Dconfig.h22 /* 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 Dzfs_config.h72 /* 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 Dtest.164 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 Dacpi_fujitsu.c99 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 Dkernel-inode-times.m486 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 Dkernel-shrink.m481 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 Dkernel-blkdev.m478 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 Dkernel-acl.m473 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 Dkernel-make-request-fn.m486 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 Dln_test.sh73 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 Dmacros_test.cpp294 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 Dcmake_uninstall.cmake.in1 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 Dcmake_uninstall.cmake.in1 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 Dtst.exists.ksh21 # 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 DUninstall.cmake.in3 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 DUninstall.cmake.in3 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 Dsftp-badcmds.sh44 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 Dautoconf.mk33 .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 Dgetenv.9124 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 Dib_uverbs_uapi.c37 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 Dbsd.sysdir.mk9 .if !defined(SYSDIR) && exists(${_dir}/kern/) && exists(${_dir}/conf/kmod.mk)
14 .if !defined(SYSDIR) || !exists(${SYSDIR}/kern/) || \
15 !exists(${SYSDIR}/conf/kmod.mk)

12345678910>>...161