| /freebsd/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 …]
|
| /freebsd/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 …]
|
| /freebsd/lib/libc/tests/gen/ |
| H A D | fts_set_test.c | 37 char *paths[] = { ".", NULL }; in ATF_TC_BODY() local 41 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, NULL)) != NULL); in ATF_TC_BODY() 61 char *paths[] = { "dir", NULL }; in ATF_TC_BODY() local 69 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, NULL)) != NULL); in ATF_TC_BODY() 103 char *paths[] = { "file", NULL }; in ATF_TC_BODY() local 110 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, NULL)) != NULL); in ATF_TC_BODY() 139 char *paths[] = { "dir", NULL }; in ATF_TC_BODY() local 148 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, NULL)) != NULL); in ATF_TC_BODY() 177 char *paths[] = { "dir", NULL }; in ATF_TC_BODY() local 187 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, NULL)) != NULL); in ATF_TC_BODY() [all …]
|
| H A D | fts_misc_test.c | 94 char *paths[2]; in ATF_TC_BODY() local 111 paths[0] = abspath; in ATF_TC_BODY() 112 paths[1] = NULL; in ATF_TC_BODY() 114 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL | FTS_NOCHDIR, in ATF_TC_BODY() 155 char *paths[] = { "root", NULL }; in ATF_TC_BODY() local 164 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, in ATF_TC_BODY() 188 char *paths[] = { "top", NULL }; in ATF_TC_BODY() local 203 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, in ATF_TC_BODY() 252 char *paths[] = { "dir", NULL }; in ATF_TC_BODY() local 260 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, in ATF_TC_BODY() [all …]
|
| H A D | fts_open_test.c | 36 char *paths[] = { ".", NULL }; in ATF_TC_BODY() local 38 ATF_REQUIRE_ERRNO(EINVAL, fts_open(paths, 0x10000, NULL) == NULL); in ATF_TC_BODY() 52 char *paths[] = { NULL }; in ATF_TC_BODY() local 55 fts_open(paths, FTS_PHYSICAL, NULL) == NULL); in ATF_TC_BODY() 71 char *paths[] = { "", NULL }; in ATF_TC_BODY() local 75 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, NULL)) != NULL); in ATF_TC_BODY() 98 char *paths[] = { "this-path-does-not-exist", NULL }; in ATF_TC_BODY() local 102 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, NULL)) != NULL); in ATF_TC_BODY() 132 char *paths[] = { "dir/", NULL }; in ATF_TC_BODY() local 140 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, NULL)) != NULL); in ATF_TC_BODY()
|
| H A D | fts_children_test.c | 41 char *paths[] = { "dir", NULL }; in ATF_TC_BODY() local 49 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, NULL)) != NULL); in ATF_TC_BODY() 81 char *paths[] = { "dir", NULL }; in ATF_TC_BODY() local 87 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, NULL)) != NULL); in ATF_TC_BODY() 117 char *paths[] = { "dir", NULL }; in ATF_TC_BODY() local 127 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, in ATF_TC_BODY() 162 char *paths[] = { "dir", NULL }; in ATF_TC_BODY() local 171 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, NULL)) != NULL); in ATF_TC_BODY() 215 char *paths[] = { "dir", NULL }; in ATF_TC_BODY() local 224 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, NULL)) != NULL); in ATF_TC_BODY() [all …]
|
| H A D | fts_regress_test.c | 80 char *paths[] = { "dir", NULL }; in ATF_TC_BODY() local 89 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, NULL)) != NULL); in ATF_TC_BODY() 131 char *paths[] = { "dir", NULL }; in ATF_TC_BODY() local 149 fts = fts_open(paths, FTS_LOGICAL, NULL); in ATF_TC_BODY() 182 char *paths[] = { "dir", NULL }; in ATF_TC_BODY() local 196 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, NULL)) != NULL); in ATF_TC_BODY() 230 char *paths[] = { "dir", NULL }; in ATF_TC_BODY() local 253 fts = fts_open(paths, FTS_PHYSICAL, NULL); in ATF_TC_BODY() 278 char *paths[] = { "dir", NULL }; in ATF_TC_BODY() local 295 fts = fts_open(paths, FTS_PHYSICAL, NULL); in ATF_TC_BODY() [all …]
|
| H A D | fts_openat_test.c | 48 char *paths[2]; in ATF_TC_BODY() local 77 paths[0] = abspath; in ATF_TC_BODY() 78 paths[1] = NULL; in ATF_TC_BODY() 81 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, in ATF_TC_BODY() 92 ATF_REQUIRE((fts = fts_openat(AT_FDCWD, paths, FTS_PHYSICAL, in ATF_TC_BODY() 135 char *paths[] = { ".", NULL }; in ATF_TC_BODY() local 152 ATF_REQUIRE((fts = fts_openat(dirfd, paths, in ATF_TC_BODY() 185 char *paths[] = { "dir1", "dir2", NULL }; in ATF_TC_BODY() local 204 ATF_REQUIRE((fts = fts_openat(dirfd, paths, in ATF_TC_BODY()
|
| H A D | fts_capsicum_test.c | 35 char *paths[] = { "dir", NULL }; in ATF_TC_BODY() local 45 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, NULL)) != NULL); in ATF_TC_BODY() 92 char *paths[] = { ".", NULL }; in ATF_TC_BODY() local 108 ATF_REQUIRE((fts = fts_openat(dirfd, paths, in ATF_TC_BODY() 155 char *paths[] = { "dir", NULL }; in ATF_TC_BODY() local 170 ATF_REQUIRE((fts = fts_open(paths, FTS_PHYSICAL, NULL)) != NULL); in ATF_TC_BODY()
|
| /freebsd/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()
|
| /freebsd/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 …]
|
| /freebsd/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_append() 774 paths->paths[ipath], sec, name, sec); in fs_append() 780 paths->paths[ipath], sec, name); in fs_lookup() 789 paths->paths[ipat in fs_lookup() 778 fs_lookup(const struct manpaths * paths,size_t ipath,const char * sec,const char * arch,const char * name,struct manpage ** res,size_t * ressz) fs_lookup() argument 882 fs_search(const struct mansearch * cfg,const struct manpaths * paths,const char * name,struct manpage ** res,size_t * ressz) fs_search() argument 1083 check_xr(struct manpaths * paths) check_xr() argument [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()
|
| /freebsd/contrib/pkgconf/libpkgconf/ |
| H A D | personality.c | 84 char **paths; in build_default_search_path() 86 if (find_paths(B_FIND_PATH_DEVELOP_LIB_DIRECTORY, "pkgconfig", &paths, &count) == B_OK) { in build_default_search_path() 88 pkgconf_path_add(paths[i], dirlist, true); in build_default_search_path() 89 free(paths); in build_default_search_path() 90 paths = NULL; in build_default_search_path() 92 if (find_paths(B_FIND_PATH_DATA_DIRECTORY, "pkgconfig", &paths, &count) == B_OK) { in build_default_search_path() 94 pkgconf_path_add(paths[i], dirlist, true); in build_default_search_path() 95 free(paths); in build_default_search_path() 96 paths = NULL; in build_default_search_path()
|
| /freebsd/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'):
|
| /freebsd/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.
|
| /freebsd/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()
|
| /freebsd/usr.bin/stat/tests/ |
| H A D | stat_test.sh | 135 paths="a b c d" 145 for path in $paths; do 208 paths="a b c d" 222 for path in $paths; do 300 paths="a b c d" 302 for path in $paths; do
|
| /freebsd/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()
|
| /freebsd/contrib/pkgconf/doc/ |
| H A D | libpkgconf-path.rst | 5 The `path` module provides functions for manipulating lists of paths in a cross-platform manner. N… 20 Splits a given text input and inserts paths into a path list. 30 …Adds the paths specified in an environment variable to a path list. If the environment variable i… 31 an optional default set of paths is added. 34 :param char* fallback: The fallback paths to use if the environment variable is not set.
|
| /freebsd/contrib/pkgconf/ |
| H A D | configure.ac | 99 Default personality search paths: ${PERSONALITY_PATH} 100 Default package search paths: ${PKG_DEFAULT_PATH} 101 Default include search paths: ${SYSTEM_INCLUDEDIR} 102 Default library search paths: ${SYSTEM_LIBDIR} 104 Incorrect paths may result in unexpected behavior from pkgconf.
|
| /freebsd/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 \
|
| /freebsd/contrib/wpa/wpa_supplicant/dbus/ |
| H A D | dbus_new_handlers_p2p.c | 1949 char **paths; member 1961 char **paths; in match_group_where_peer_is_client() local 1973 paths = os_realloc_array(data->paths, data->nb_paths + 1, in match_group_where_peer_is_client() 1975 if (paths == NULL) in match_group_where_peer_is_client() 1978 data->paths = paths; in match_group_where_peer_is_client() 1979 data->paths[data->nb_paths] = wpa_s_go->dbus_groupobj_path; in match_group_where_peer_is_client() 2017 data.paths = os_calloc(1, sizeof(char *)); in wpas_dbus_getter_p2p_peer_groups() 2018 if (data.paths == NULL) in wpas_dbus_getter_p2p_peer_groups() 2020 data.paths[0] = wpa_s_go->dbus_groupobj_path; in wpas_dbus_getter_p2p_peer_groups() 2032 if (data.paths == NULL) { in wpas_dbus_getter_p2p_peer_groups() [all …]
|
| /freebsd/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 …]
|