| /freebsd/contrib/netbsd-tests/include/ |
| H A D | t_paths.c | 39 #include <paths.h> 55 } paths[] = { variable 117 ATF_TC(paths); 118 ATF_TC_HEAD(paths, tc) in ATF_TC_HEAD() argument 120 atf_tc_set_md_var(tc, "descr", "A basic test for <paths.h>"); in ATF_TC_HEAD() 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() [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/geom/multipath/ |
| H A D | gmultipath.8 | 108 Additional device paths also will not be detected automatically. 111 method uses on-disk metadata to detect device and all its paths. 126 It is up to administrator, how to properly identify device paths. 172 If there are other paths present, new requests will be forwarded there. 215 Open underlying providers exclusively, preventing individual paths access. 223 in selecting providers that do indeed represent multiple paths to the 233 on different paths (or even disjoint fabrics) might be considered 239 paths to the same device. 254 In Active/Active mode all paths not marked FAIL may handle I/O at the same time. 255 Requests are distributed between paths to equalize load. [all …]
|
| /freebsd/lib/libc/tests/gen/ |
| 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() 88 * paths exist. errno must be 0 after the traversal ends normally. 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 [all …]
|
| 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 | 81 * With FTS_NOCHDIR and absolute paths, the application may call chdir(2) 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 [all …]
|
| 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 | 66 * relative paths. 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() 93 * fts falls back to FTS_DONTCHDIR and traverses using full paths. 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() [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()
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
| H A D | zpool_import_aux_paths.ksh | 22 # Spare and l2cache vdev paths read from the MOS must survive an 25 # directories (-d) must keep rewriting them, and paths which no 33 # and spare paths were kept. 35 # with -d, then verify the cache and spare paths were rewritten. 36 # 4. Remove the symlinks the cache and spare paths now refer to, 37 # import without -d, then verify the stale paths were replaced 44 # keeps paths for pools whose aux label predates that path being 65 log_assert "Import keeps valid aux vdev paths, rewrites stale or -d ones" 98 # paths to the scanned names, even though the old names are still valid. 104 # Aux paths which no longer refer to the device must not be kept by a [all …]
|
| H A D | import_paths_changed.ksh | 23 # A pool should be importable even if device paths have changed. 28 # 3. Change the paths of some of the devices. 41 log_note "$0: pool '$poolcreate', changing paths of $pathstochange." 69 log_note "$0: pool '$poolcreate', swapping paths of $pathtoswap1" \ 101 log_pass "zpool import succeeded after changing device paths."
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | Hurd.cpp | 27 /// a target-triple directory in the library and header search paths. 82 // The selection of paths to try here is designed to match the patterns which in Hurd() 86 // to the link paths. in Hurd() 87 path_list &Paths = getFilePaths(); in Hurd() local 96 Generic_GCC::AddMultilibPaths(D, SysRoot, OSLibDir, MultiarchTriple, Paths); in Hurd() 99 // of the requested system root, add its parent library paths to in Hurd() 104 addPathIfExists(D, D.Dir + "/../lib/" + MultiarchTriple, Paths); in Hurd() 105 addPathIfExists(D, D.Dir + "/../" + OSLibDir, Paths); in Hurd() 108 addPathIfExists(D, SysRoot + "/lib/" + MultiarchTriple, Paths); in Hurd() 109 addPathIfExists(D, SysRoot + "/lib/../" + OSLibDir, Paths); in Hurd() [all …]
|
| H A D | Managarm.cpp | 80 // The selection of paths to try here is designed to match the patterns which in Managarm() 84 // to the link paths. in Managarm() 85 path_list &Paths = getFilePaths(); in Managarm() local 90 Generic_GCC::AddMultilibPaths(D, SysRoot, OSLibDir, MultiarchTriple, Paths); in Managarm() 92 addPathIfExists(D, concat(SysRoot, "/lib", MultiarchTriple), Paths); in Managarm() 93 addPathIfExists(D, concat(SysRoot, "/lib/..", OSLibDir), Paths); in Managarm() 94 addPathIfExists(D, concat(SysRoot, "/usr/lib", MultiarchTriple), Paths); in Managarm() 95 addPathIfExists(D, concat(SysRoot, "/usr", OSLibDir), Paths); in Managarm() 97 Generic_GCC::AddMultiarchPaths(D, SysRoot, OSLibDir, Paths); in Managarm() 99 addPathIfExists(D, concat(SysRoot, "/lib"), Paths); in Managarm() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | CXXInheritance.cpp | 33 /// isAmbiguous - Determines whether the set of paths provided is 34 /// ambiguous, i.e., there are two or more paths that refer to 45 Paths.clear(); in clear() 56 Paths.swap(Other.Paths); in swap() 66 CXXBasePaths Paths(/*FindAmbiguities=*/false, /*RecordPaths=*/false, in isDerivedFrom() local 68 return isDerivedFrom(Base, Paths); in isDerivedFrom() 72 CXXBasePaths &Paths) const { in isDerivedFrom() 76 Paths.setOrigin(const_cast<CXXRecordDecl*>(this)); in isDerivedFrom() 84 Paths); in isDerivedFrom() 91 CXXBasePaths Paths(/*FindAmbiguities=*/false, /*RecordPaths=*/false, in isVirtuallyDerivedFrom() local [all …]
|
| /freebsd/contrib/libarchive/tar/test/ |
| H A D | test_option_P_upper.c | 32 // I'm unsure how to specify paths with spaces for the test invocation on windows. in DEFINE_TEST() 33 // Adding quotes doesn't seem to work. We should find a way to escape these paths, in DEFINE_TEST() 49 r = systemf("%s --absolute-paths -cf test.tar %s", testprog, temp_absolute_file_name); in DEFINE_TEST() 51 r = systemf("%s --absolute-paths -cf test.tar \"%s\"", testprog, temp_absolute_file_name); in DEFINE_TEST() 57 // Extracting the archive without -P / --absolute-paths should strip leading drive letter or slash in DEFINE_TEST() 71 // Extracting the archive with -P / --absolute-paths should create the file. in DEFINE_TEST() 72 r = systemf("%s --absolute-paths -xf test.tar", testprog); in DEFINE_TEST()
|
| /freebsd/contrib/ofed/opensm/libvendor/ |
| H A D | osm_pkt_randomizer.c | 58 * paths that the given path includes it. 62 * the given paths: 0,1 or 0,3,1,4 - the return value will be FALSE. 110 * First - if not all paths are initialized, it randomally chooses if 112 * Second - if the path is in the fault paths (meaning - it is equal 113 * to or includes one of the fault paths) - then it randomally chooses 167 /* Check if the path given is in one of the fault paths */ in __osm_pkt_randomizer_process_path() 172 /* Check if all paths are initialized */ in __osm_pkt_randomizer_process_path() 177 /* the path is not in the false paths. Check using the rand value in __osm_pkt_randomizer_process_path() 187 /* update the path in the fault paths */ in __osm_pkt_randomizer_process_path() 201 OSM_LOG(p_log, OSM_LOG_VERBOSE, "%s not in fault paths\n", buf); in __osm_pkt_randomizer_process_path() [all …]
|
| /freebsd/release/scripts/ |
| H A D | list-new-changesets.py | 65 print("Changed paths:") 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/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/contrib/llvm-project/llvm/lib/Support/ |
| H A D | FileCollector.cpp | 106 PathStorage Paths; in canonicalize() local 107 Paths.VirtualPath = SrcPath; in canonicalize() 108 makeAbsolute(Paths.VirtualPath); in canonicalize() 113 Paths.CopyFrom = Paths.VirtualPath; in canonicalize() 114 updateWithRealPath(Paths.CopyFrom); in canonicalize() 117 sys::path::remove_dots(Paths.VirtualPath, /*remove_dot_dot=*/true); in canonicalize() 119 return Paths; in canonicalize() 123 PathCanonicalizer::PathStorage Paths = Canonicalizer.canonicalize(SrcPath); in addFileImpl() local 126 sys::path::append(DstPath, sys::path::relative_path(Paths.CopyFrom)); in addFileImpl() 129 // this we map different virtual src paths to the same entry in the VFS in addFileImpl() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | ProfileList.cpp | 28 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS, 32 createOrDie(const std::vector<std::string> &Paths, 46 ProfileSpecialCaseList::create(const std::vector<std::string> &Paths, in create() argument 49 if (PSCL->createInternal(Paths, VFS, Error)) in create() 55 ProfileSpecialCaseList::createOrDie(const std::vector<std::string> &Paths, in createOrDie() argument 58 if (auto PSCL = create(Paths, VFS, Error)) in createOrDie() 65 ProfileList::ProfileList(ArrayRef<std::string> Paths, SourceManager &SM) in ProfileList() argument 67 Paths, SM.getFileManager().getVirtualFileSystem())), in ProfileList()
|
| /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/llvm-project/llvm/tools/llvm-cov/ |
| H A D | CoverageReport.cpp | 93 /// Adjust column widths to fit long file paths and function names. 138 /// Get the number of redundant path components in each path in \p Paths. 139 unsigned getNumRedundantPathComponents(ArrayRef<std::string> Paths) { in getNumRedundantPathComponents() argument 142 SmallVector<StringRef, 8> FirstPathComponents{sys::path::begin(Paths[0]), in getNumRedundantPathComponents() 143 sys::path::end(Paths[0])}; in getNumRedundantPathComponents() 146 for (unsigned I = 1, E = Paths.size(); NumRedundant > 0 && I < E; ++I) { in getNumRedundantPathComponents() 147 StringRef Path = Paths[I]; in getNumRedundantPathComponents() 151 // useful parts of already-visited paths. in getNumRedundantPathComponents() 167 /// Determine the length of the longest redundant prefix of the paths in 168 /// \p Paths. [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Automaton.h | 17 // input symbols will produce one path through the DFA but multiple paths 56 /// The internal class that maintains all possible paths through an NFA based 79 /// The returned paths. This is populated during getPaths. 80 SmallVector<NfaPath, 4> Paths; 123 Paths.clear(); 140 Paths.clear(); 148 Paths.push_back(std::move(P)); in getPaths() 150 return Paths; in getPaths() 186 /// use of transcription, which analyzes the possible paths in the original 249 /// Obtain a set of possible paths throug in canAdd() 82 SmallVector<NfaPath, 4> Paths; global() variable [all...] |
| /freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | HeaderSearchOptions.h | 28 /// \#include directives whose paths are enclosed by string quotes ("") 32 /// '\#include ""' paths, added by 'gcc -iquote'. 35 /// Paths for '\#include <>' added by '-I'. 85 /// A prefix to be matched against paths in \#include directives. 88 /// True if paths beginning with this prefix should be treated as system 97 /// paths. 149 /// that build with different paths without having to rewrite all 150 /// modulemap files to have working directory relative paths. 247 /// Whether to entirely skip writing header search paths. 281 /// header search paths or if we are allowed to look for module maps in [all …]
|
| /freebsd/contrib/kyua/utils/fs/ |
| H A D | path.cpp | 207 /// Less-than comparator for paths. 222 /// Compares two paths for equality. 224 /// Given that the paths are internally normalized, input paths such as 227 /// if the paths actually point to the same object my means of links. 231 /// \returns A boolean indicating whether the paths are equal. 239 /// Compares two paths for inequality. 246 /// \returns A boolean indicating whether the paths are different. 266 /// two paths are incompatible. 282 /// two paths are incompatible.
|