Home
last modified time | relevance | path

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

12345678910>>...120

/freebsd/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/contrib/bmake/unit-tests/
H A Dcond-func-exists.mk1 # $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(${UNDEF})
[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/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/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/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/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 in linux/fs.h])
[all …]
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-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/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 " \
199 atf_set "descr" "Verify that if the source file does not exists, '-s' " \
252 atf_set "descr" "Verify that link(1) fails if the target exists"
[all …]
/freebsd/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/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/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/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/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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.exists.ksh22 # zfs.exists should accurately report whether a dataset exists, and
38 log_must_program $TESTPOOL $ZCP_ROOT/lua_core/tst.exists.zcp \
43 $TESTPOOL - <<<"return zfs.exists('rpool')"
45 log_pass "zfs.exists() gives correct results"
/freebsd/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/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/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/contrib/atf/atf-c++/detail/
H A Dfs_test.cpp442 ATF_TEST_CASE(exists);
443 ATF_TEST_CASE_HEAD(exists) in ATF_TEST_CASE_HEAD() argument
445 set_md_var("descr", "Tests the exists function"); in ATF_TEST_CASE_HEAD()
447 ATF_TEST_CASE_BODY(exists) in ATF_TEST_CASE_BODY() argument
449 using atf::fs::exists; in ATF_TEST_CASE_BODY()
454 ATF_REQUIRE( exists(path("files"))); in ATF_TEST_CASE_BODY()
455 ATF_REQUIRE(!exists(path("file"))); in ATF_TEST_CASE_BODY()
456 ATF_REQUIRE(!exists(path("files2"))); in ATF_TEST_CASE_BODY()
458 ATF_REQUIRE( exists(path("files/."))); in ATF_TEST_CASE_BODY()
459 ATF_REQUIRE( exists(path("files/.."))); in ATF_TEST_CASE_BODY()
[all …]
/freebsd/usr.sbin/dumpcis/
H A Dcis.h150 * 0x80 - Interface byte exists
151 * Byte 2: (exists only if bit 0x80 set in byte 1)
158 * 0x03 - Power sub-tuple(s) exists
159 * 0x04 - Timing sub-tuple exists
160 * 0x08 - I/O space sub-tuple exists
161 * 0x10 - IRQ sub-tuple exists
162 * 0x60 - Memory space sub-tuple(s) exists
163 * 0x80 - Miscellaneous sub-tuple exists
178 * Byte 1: parameter exists - Each bit (starting from 0x01) indicates
179 * that a parameter block exists - up to 8 parameter blocks
[all …]
/freebsd/usr.bin/bmake/tests/
H A DREADME29 directory already exists an error is printed.
109 the directory already exists (during reset) only the
117 during setup and reset. When the file already exists
120 in the working directory must already exists (see
137 If a file with this name exists in the source directory
141 If this function exists it is executed at the end of the
145 If this function exists it is executed at the end of the
/freebsd/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)
/freebsd/contrib/bmake/mk/
H A Dsrctop.mk25 .elif exists(${SB}/src)
53 .if defined(SRCTOP) && exists(${SRCTOP}/.)
59 .if defined(MAKEOBJDIRPREFIX) && exists(${MAKEOBJDIRPREFIX}${SRCTOP})
61 .elif (exists(${SRCTOP}/Makefile) || exists(${SRCTOP}/makefile))

12345678910>>...120