| /src/contrib/netbsd-tests/include/ |
| H A D | t_paths.c | 55 } 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 137 for (i = 0; i < __arraycount(paths); i++) { in ATF_TC_BODY() 139 (void)fprintf(stderr, "testing '%s'\n", paths[i].path); in ATF_TC_BODY() 142 fd = open(paths[i].path, O_RDONLY); in ATF_TC_BODY() 149 if ((paths[i].flags & PATH_OPT) == 0) { in ATF_TC_BODY() 152 "not exist", paths[i].path); in ATF_TC_BODY() 159 if ((paths[i].flags & PATH_ROOT) == 0) { in ATF_TC_BODY() [all …]
|
| /src/bin/pax/tests/ |
| H A D | legacy_test.pl | 36 my @paths = ( 47 my @l = map { length } @paths; 50 create_file $_ for @paths; 68 push @paths, "$work94/x$x60/${x95}x256"; # 256 chars 69 push @l, length $paths[-1]; 70 create_file $paths[-1]; 75 unlink $paths[-1]; 76 $paths[-1] = "$work94/${x95}xc100"; # 100 char filename 77 $l[-1] = length $paths[-1]; 78 create_file $paths[-1]; [all …]
|
| /src/contrib/netbsd-tests/lib/libc/gen/ |
| H A D | t_realpath.c | 49 } 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()
|
| /src/crypto/krb5/src/lib/krb5/unicode/ucdata/ |
| H A D | ucdata.c | 89 _ucopenfile(char *paths, char *filename, char *mode) in _ucopenfile() argument 97 dp = paths; in _ucopenfile() 136 _ucprop_load(char *paths, int reload) in _ucprop_load() argument 159 if ((in = _ucopenfile(paths, "ctype.dat", "rb")) == 0) in _ucprop_load() 323 _uccase_load(char *paths, int reload) in _uccase_load() argument 340 if ((in = _ucopenfile(paths, "case.dat", "rb")) == 0) in _uccase_load() 518 _uccomp_load(char *paths, int reload) in _uccomp_load() argument 535 if ((in = _ucopenfile(paths, "comp.dat", "rb")) == 0) in _uccomp_load() 716 _ucdcmp_load(char *paths, int reload) in _ucdcmp_load() argument 733 if ((in = _ucopenfile(paths, "decomp.dat", "rb")) == 0) in _ucdcmp_load() [all …]
|
| /src/contrib/mandoc/ |
| H A D | main.c | 504 printf("%s:", conf.manpath.paths[i]); in main() 505 printf("%s\n", conf.manpath.paths[i]); in main() 548 strlen(conf.manpath.paths[resn[i].ipath]); in main() 754 fs_lookup(const struct manpaths *paths, size_t ipath, in fs_lookup() argument 774 paths->paths[ipath], sec, name, sec); in fs_lookup() 780 paths->paths[ipath], sec, name); in fs_lookup() 789 paths->paths[ipath], sec, arch, name, sec); in fs_lookup() 795 cp = file = mandoc_malloc(strlen(paths->paths[ipath]) * 2 + in fs_lookup() 798 glob_esc(&cp, paths->paths[ipath], slman); in fs_lookup() 815 cp = file = mandoc_malloc(strlen(paths->paths[ipath]) * 2 + in fs_lookup() [all …]
|
| H A D | mansearch.c | 85 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 D | manpath.c | 119 if (strcmp(dirs->paths[i], dir) == 0) in manpath_add() 125 dirs->paths = mandoc_reallocarray(dirs->paths, in manpath_add() 126 dirs->sz + 1, sizeof(*dirs->paths)); in manpath_add() 127 dirs->paths[dirs->sz++] = mandoc_strdup(cp); in manpath_add() 142 free(conf->manpath.paths[i]); in manconf_free() 144 free(conf->manpath.paths); in manconf_free()
|
| /src/release/scripts/ |
| H A D | list-new-changesets.py | 66 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'):
|
| /src/tools/build/options/ |
| H A D | WITH_REPRODUCIBLE_PATHS | 1 Modify the paths encoded in binary artifacts to be standard path 5 the paths recorded are /usr/src, regardless of the actual path. With this option 6 disabled, the actual paths are recorded.
|
| /src/usr.bin/stat/tests/ |
| H A D | stat_test.sh | 131 paths="a b c d" 141 for path in $paths; do 204 paths="a b c d" 218 for path in $paths; do 296 paths="a b c d" 298 for path in $paths; do
|
| /src/contrib/kyua/utils/fs/ |
| H A D | path_test.cpp | 254 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()
|
| /src/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | CppModuleConfiguration.cpp | 37 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()
|
| /src/crypto/krb5/src/doc/ |
| H A D | Makefile.in | 55 substhtml: composite paths.py 57 cp paths.py rst_composite 111 paths.py: 133 Doxyfile paths.py $(docsrc)/version.py notice.txt \
|
| /src/contrib/wpa/wpa_supplicant/dbus/ |
| H A D | dbus_new_handlers_p2p.c | 1927 char **paths; member 1939 char **paths; in match_group_where_peer_is_client() local 1951 paths = os_realloc_array(data->paths, data->nb_paths + 1, in match_group_where_peer_is_client() 1953 if (paths == NULL) in match_group_where_peer_is_client() 1956 data->paths = paths; in match_group_where_peer_is_client() 1957 data->paths[data->nb_paths] = wpa_s_go->dbus_groupobj_path; in match_group_where_peer_is_client() 1995 data.paths = os_calloc(1, sizeof(char *)); in wpas_dbus_getter_p2p_peer_groups() 1996 if (data.paths == NULL) in wpas_dbus_getter_p2p_peer_groups() 1998 data.paths[0] = wpa_s_go->dbus_groupobj_path; in wpas_dbus_getter_p2p_peer_groups() 2010 if (data.paths == NULL) { in wpas_dbus_getter_p2p_peer_groups() [all …]
|
| /src/contrib/tcsh/ |
| H A D | ma.setp.c | 154 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()
|
| /src/usr.sbin/certctl/ |
| H A D | certctl.c | 154 char **paths; in split_paths() local 162 if ((paths = calloc(n + 1, sizeof(*paths))) == NULL) in split_paths() 166 if ((paths[i] = strndup(p, q - p)) == NULL) in split_paths() 169 return (paths); in split_paths() 189 char **paths; in expand_paths() local 194 if ((paths = calloc(n + 1, sizeof(*paths))) == NULL) in expand_paths() 197 paths[i] = expand_path(templates[i]); in expand_paths() 198 return (paths); in expand_paths() 383 char *paths[] = { __DECONST(char *, path), NULL }; in read_certs() local 395 if ((fts = fts_open(paths, fts_options, NULL)) == NULL) in read_certs()
|
| /src/bin/ls/tests/ |
| H A D | ls_tests.sh | 217 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) 543 paths=$(find -s . -mindepth 1 -maxdepth 1 \! -name '.*' -exec basename {} \; ) 547 for path in $paths; do 626 paths=$(find -L . -mindepth 1) 627 [ -n "$paths" ] || atf_skip 'Could not find any paths to iterate over (!)' 629 for path in $paths; do 760 paths=$(find -L .) [all …]
|
| /src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zfs_list/ |
| H A D | zfs_list_004_neg.ksh | 53 paths="$TESTPOOL/NONEXISTFS $TESTPOOL/$TESTFS/NONEXISTFS \ 58 for fs in $paths ; do
|
| /src/tests/sys/cddl/zfs/tests/cli_user/zfs_list/ |
| H A D | zfs_list_004_neg.ksh | 61 paths="$TESTPOOL/NONEXISTFS $TESTPOOL/$TESTFS/NONEXISTFS \ 66 for fs in $paths ; do
|
| /src/sys/dev/bhnd/nvram/ |
| H A D | bhnd_nvram_store.c | 124 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()
|
| /src/contrib/nvi/files/ |
| H A D | pathnames.h.in | 1 /* Read standard system paths first. */ 2 #include <paths.h>
|
| /src/tools/test/stress2/tools/ |
| H A D | kldload.sh | 38 paths=`sysctl -n kern.module_path` 44 for path in $paths; do
|
| /src/contrib/pam-krb5/tests/style/ |
| H A D | obsolete-strings-t | 100 my @paths = all_files(); 101 for my $path (@paths) {
|
| /src/contrib/pam-krb5/tests/docs/ |
| H A D | spdx-license-t | 145 my @paths = all_files(); 146 for my $path (@paths) {
|
| /src/lib/libc/gen/ |
| H A D | ftw.c | 33 char * const paths[2] = { (char *)path, NULL }; in ftw() local 44 ftsp = fts_open(paths, FTS_LOGICAL | FTS_COMFOLLOW | FTS_NOCHDIR, NULL); in ftw()
|