Home
last modified time | relevance | path

Searched refs:paths (Results 1 – 25 of 325) sorted by relevance

12345678910>>...13

/freebsd/contrib/netbsd-tests/include/
H A Dt_paths.c55 } paths[] = { variable
117 ATF_TC(paths);
118 ATF_TC_HEAD(paths, tc) in ATF_TC_HEAD() argument
123 ATF_TC_BODY(paths, tc) in ATF_TC_BODY() argument
142 fd = open(paths[i].path, O_RDONLY); in ATF_TC_BODY()
152 "not exist", paths[i].path); in ATF_TC_BODY()
163 paths[i].path, errno); in ATF_TC_BODY()
181 if ((paths[i].flags & PATH_DEV) != 0) { in ATF_TC_BODY()
189 if ((paths[i].flags & PATH_DIR) != 0) { in ATF_TC_BODY()
197 if ((paths[i].flags & PATH_FILE) != 0) { in ATF_TC_BODY()
[all …]
/freebsd/bin/pax/tests/
H A Dlegacy_test.pl36 my @paths = (
47 my @l = map { length } @paths;
50 create_file $_ for @paths;
69 push @l, length $paths[-1];
70 create_file $paths[-1];
75 unlink $paths[-1];
77 $l[-1] = length $paths[-1];
78 create_file $paths[-1];
82 unlink $paths[-1];
84 $l[-1] = length $paths[-1];
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/gen/
H A Dt_realpath.c49 } paths[] = { variable
79 for (i = 0; i < __arraycount(paths); i++) { in ATF_TC_BODY()
83 ptr = realpath(paths[i].path, buf); in ATF_TC_BODY()
85 if (ptr == NULL && paths[i].result == NULL) in ATF_TC_BODY()
88 if (ptr == NULL && paths[i].result != NULL) in ATF_TC_BODY()
89 atf_tc_fail("realpath failed for '%s'", paths[i].path); in ATF_TC_BODY()
91 if (strcmp(paths[i].result, buf) != 0) in ATF_TC_BODY()
93 paths[i].result, buf); in ATF_TC_BODY()
/freebsd/contrib/mandoc/
H A Dmain.c502 printf("%s:", conf.manpath.paths[i]); in main()
503 printf("%s\n", conf.manpath.paths[i]); in main()
785 paths->paths[ipath], sec, name, sec); in fs_lookup()
791 paths->paths[ipath], sec, name); in fs_lookup()
800 paths->paths[ipath], sec, arch, name, sec); in fs_lookup()
806 cp = file = mandoc_malloc(strlen(paths->paths[ipath]) * 2 + in fs_lookup()
809 glob_esc(&cp, paths->paths[ipath], slman); in fs_lookup()
826 cp = file = mandoc_malloc(strlen(paths->paths[ipath]) * 2 + in fs_lookup()
830 glob_esc(&cp, paths->paths[ipath], slman); in fs_lookup()
856 name, sec, BINM_MAKEWHATIS, paths->paths[ipath]); in fs_lookup()
[all …]
H A Dmansearch.c85 const struct manpaths *paths, in mansearch() argument
141 for (i = 0; i < paths->sz; i++) { in mansearch()
142 if (chdir_status && paths->paths[i][0] != '/') { in mansearch()
144 warnx("%s: getcwd: %s", paths->paths[i], buf); in mansearch()
151 if (chdir(paths->paths[i]) == -1) { in mansearch()
152 warn("%s", paths->paths[i]); in mansearch()
159 warn("%s/%s", paths->paths[i], MANDOC_DB); in mansearch()
189 paths->paths[i], page->file + 1); in mansearch()
195 page->file + 1, paths->paths[i]); in mansearch()
H A Dmanpath.c131 if (strcmp(dirs->paths[i], dir) == 0) in manpath_add()
137 dirs->paths = mandoc_reallocarray(dirs->paths, in manpath_add()
138 dirs->sz + 1, sizeof(*dirs->paths)); in manpath_add()
139 dirs->paths[dirs->sz++] = mandoc_strdup(cp); in manpath_add()
154 free(conf->manpath.paths[i]); in manconf_free()
156 free(conf->manpath.paths); in manconf_free()
H A Dcgi.c979 struct manpaths paths; in pg_search() local
1004 paths.sz = 1; in pg_search()
1005 paths.paths = mandoc_malloc(sizeof(char *)); in pg_search()
1006 paths.paths[0] = mandoc_strdup("."); in pg_search()
1043 else if (mansearch(&search, &paths, argc, argv, &res, &ressz) == 0) in pg_search()
1053 free(paths.paths[0]); in pg_search()
1054 free(paths.paths); in pg_search()
/freebsd/release/scripts/
H A Dlist-new-changesets.py66 for paths in logentry.findall('paths'):
67 for path in paths.findall('path'):
98 for paths in logentry.findall('paths'):
99 for path in paths.findall('path'):
/freebsd/usr.bin/stat/tests/
H A Dstat_test.sh60 paths="a b c d"
70 for path in $paths; do
133 paths="a b c d"
147 for path in $paths; do
225 paths="a b c d"
227 for path in $paths; do
/freebsd/contrib/kyua/utils/fs/
H A Dpath_test.cpp254 std::set< path > paths; in ATF_TEST_CASE_BODY() local
255 paths.insert(path("/a")); in ATF_TEST_CASE_BODY()
256 ATF_REQUIRE(paths.find(path("//a")) != paths.end()); in ATF_TEST_CASE_BODY()
257 ATF_REQUIRE(paths.find(path("a")) == paths.end()); in ATF_TEST_CASE_BODY()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DCppModuleConfiguration.cpp37 llvm::SmallVector<std::string, 2> paths; in getTargetIncludePaths() local
39 paths.push_back("/usr/include/" + triple.str()); in getTargetIncludePaths()
42 paths.push_back(("/usr/include/" + triple.getArchName() + "-" + in getTargetIncludePaths()
46 return paths; in getTargetIncludePaths()
/freebsd/bin/ls/tests/
H A Dls_tests.sh217 paths=$(find -s . -mindepth 1 -maxdepth 1 \! -name '.*' -exec basename {} \; )
218 set -- $paths
226 column_1=$(print_index $i $paths)
227 column_2=$(print_index $(( $i + $max_num_paths_per_column )) $paths)
518 for path in $paths; do
597 paths=$(find -L . -mindepth 1)
598 [ -n "$paths" ] || atf_skip 'Could not find any paths to iterate over (!)'
600 for path in $paths; do
731 paths=$(find -L .)
732 [ -n "$paths" ] || atf_skip 'Could not find any paths to iterate over (!)'
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zfs_list/
H A Dzfs_list_004_neg.ksh52 paths="$TESTPOOL/NONEXISTFS $TESTPOOL/$TESTFS/NONEXISTFS \
57 for fs in $paths ; do
/freebsd/tests/sys/cddl/zfs/tests/cli_user/zfs_list/
H A Dzfs_list_004_neg.ksh61 paths="$TESTPOOL/NONEXISTFS $TESTPOOL/$TESTFS/NONEXISTFS \
66 for fs in $paths ; do
/freebsd/contrib/tcsh/
H A Dma.setp.c154 setpath(char **paths, char **cmds, char *localsyspath, int dosuffix, in setpath() argument
162 if (initpaths(paths) < 0) in setpath()
225 savepaths(paths); in setpath()
231 initpaths(char **paths) in initpaths() argument
238 for (npaths = 0; path = paths[npaths]; npaths++) { in initpaths()
283 savepaths(char **paths) in savepaths() argument
296 paths[npath] = p; in savepaths()
/freebsd/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_new_handlers_p2p.c1875 char **paths; member
1887 char **paths; in match_group_where_peer_is_client() local
1899 paths = os_realloc_array(data->paths, data->nb_paths + 1, in match_group_where_peer_is_client()
1904 data->paths = paths; in match_group_where_peer_is_client()
2016 char **paths; in wpas_dbus_getter_persistent_groups() local
2032 if (!paths) { in wpas_dbus_getter_persistent_groups()
2060 os_free(paths); in wpas_dbus_getter_persistent_groups()
2331 char **paths; in wpas_dbus_getter_p2p_group_members() local
2356 if (!paths) in wpas_dbus_getter_p2p_group_members()
2362 if (!paths[i]) in wpas_dbus_getter_p2p_group_members()
[all …]
/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_store.c124 for (size_t i = 0; i < nitems(sc->paths); i++) in bhnd_nvram_store_new()
125 LIST_INIT(&sc->paths[i]); in bhnd_nvram_store_new()
228 for (size_t i = 0; i < nitems(sc->paths); i++) { in bhnd_nvram_store_free()
230 LIST_FOREACH_SAFE(path, &sc->paths[i], np_link, pnext) in bhnd_nvram_store_free()
327 for (size_t i = 0; i < nitems(sc->paths); i++) { in bhnd_nvstore_parse_data()
330 LIST_FOREACH(path, &sc->paths[i], np_link) { in bhnd_nvstore_parse_data()
370 for (size_t i = 0; i < nitems(sc->paths); i++) { in bhnd_nvstore_parse_data()
373 LIST_FOREACH(path, &sc->paths[i], np_link) { in bhnd_nvstore_parse_data()
897 for (size_t i = 0; i < nitems(sc->paths); i++) { in bhnd_nvram_store_export()
900 LIST_FOREACH(child, &sc->paths[i], np_link) { in bhnd_nvram_store_export()
/freebsd/contrib/nvi/files/
H A Dpathnames.h.in1 /* Read standard system paths first. */
2 #include <paths.h>
/freebsd/tools/test/stress2/tools/
H A Dkldload.sh38 paths=`sysctl -n kern.module_path`
44 for path in $paths; do
/freebsd/lib/libc/gen/
H A Dftw.c33 char * const paths[2] = { (char *)path, NULL }; in ftw() local
44 ftsp = fts_open(paths, FTS_LOGICAL | FTS_COMFOLLOW | FTS_NOCHDIR, NULL); in ftw()
H A Dftw-compat11.c40 char * const paths[2] = { (char *)path, NULL }; in freebsd11_ftw() local
51 ftsp = freebsd11_fts_open(paths, in freebsd11_ftw()
H A Dnftw.c33 char * const paths[2] = { (char *)path, NULL }; in nftw() local
55 ftsp = fts_open(paths, ftsflags, NULL); in nftw()
/freebsd/usr.bin/du/tests/
H A Ddu_test.sh89 paths="$paths_sans_foo_named $paths_foo_named"
93 atf_check -x "mkdir testdir && cd testdir && mkdir -p $paths"
95 atf_check -o save:du_I.out -x "cd testdir && du -I '*foo*' -s $paths"
/freebsd/crypto/openssh/.github/workflows/
H A Dcifuzz.yml4 paths: [ '**.c', '**.h', '**.m4', '**.sh', '.github/**', '**/Makefile.in', 'configure.ac' ]
6 paths: [ '**.c', '**.h', '**.m4', '**.sh', '.github/**', '**/Makefile.in', 'configure.ac' ]
/freebsd/contrib/bmake/unit-tests/
H A Dmodmisc.mk32 paths+= ${d:${MOD_OPT}:${MOD_HOMES}}
37 @echo "paths=${paths}"

12345678910>>...13