Searched refs:path (Results 76 - 100 of 1876) sorted by relevance

1234567891011>>

/openbsd-current/lib/libcurses/tinfo/
H A Daccess.c68 _nc_rootname(char *path) argument
70 char *result = _nc_basename(path);
96 _nc_is_abs_path(const char *path)
104 return is_pathname(path);
111 _nc_pathlast(const char *path) argument
113 const char *test = strrchr(path, '/');
116 test = strrchr(path, '\\');
119 test = path;
122 return (unsigned) (test - path);
126 _nc_basename(char *path) argument
132 _nc_access(const char *path, int mode) argument
256 _nc_safe_fopen(const char *path, const char *mode) argument
272 _nc_safe_open3(const char *path, int flags, mode_t mode) argument
[all...]
/openbsd-current/sys/ufs/ext2fs/
H A Dext2fs_extents.c45 *path, daddr_t lbn)
47 struct ext4_extent_header *ehp = path->ep_header;
60 path->ep_index = l - 1;
64 ext4_ext_binsearch(struct inode *ip, struct ext4_extent_path *path, daddr_t lbn) argument
66 struct ext4_extent_header *ehp = path->ep_header;
82 path->ep_ext = l - 1;
130 daddr_t lbn, struct ext4_extent_path *path)
144 path->ep_header = ehp;
147 ext4_ext_binsearch_index(ip, path, lbn);
148 path
44 ext4_ext_binsearch_index(struct inode *ip, struct ext4_extent_path *path, daddr_t lbn) argument
129 ext4_ext_find_extent(struct m_ext2fs *fs, struct inode *ip, daddr_t lbn, struct ext4_extent_path *path) argument
[all...]
/openbsd-current/gnu/llvm/llvm/include/llvm/Support/
H A DPath.h9 // This file declares the llvm::sys::path namespace. It is designed after
11 // path class.
25 namespace path { namespace in namespace:llvm::sys
35 /// Check if \p S uses POSIX path rules.
48 /// Check if \p S uses Windows path rules.
57 /// \a path. The traversal order is as follows:
76 StringRef Path; ///< The entire path.
79 Style S = Style::native; ///< The path style to use.
82 friend const_iterator begin(StringRef path, Style style);
83 friend const_iterator end(StringRef path);
269 make_preferred(SmallVectorImpl<char> &path, Style style = Style::native) argument
[all...]
/openbsd-current/gnu/llvm/llvm/utils/lit/lit/
H A DTestTimes.py6 test_times_file = os.path.join(suite.exec_root, '.lit_test_times.txt')
7 if not os.path.exists(test_times_file):
8 test_times_file = os.path.join(
10 if os.path.exists(test_times_file):
13 time, path = line.split(maxsplit=1)
14 test_times[path.strip('\n')] = float(time)
27 # The "path" here is only used as a key into a dictionary. It is never
28 # used as an actual path to a filesystem API, therefore we use '/' as
35 path = os.path
[all...]
/openbsd-current/regress/sys/nfs/
H A Dmmap-sysctl-copyout.c30 char *p, path[PATH_MAX]; local
41 snprintf(path, sizeof(path), "%s/%s", SERVER, FILE);
42 if ((fd = open(path, O_RDWR|O_CREAT|O_TRUNC, 0777)) == -1)
43 err(1, "open write '%s'", path);
56 snprintf(path, sizeof(path), "%s/%s", CLIENT, FILE);
57 if ((fd = open(path, O_RDWR)) == -1)
58 err(1, "open mmap '%s'", path);
72 snprintf(path, sizeo
[all...]
H A Dmmap-sysctl-copyin.c30 char *p, path[PATH_MAX]; local
40 snprintf(path, sizeof(path), "%s/%s", SERVER, FILE);
41 if ((fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, 0777)) == -1)
42 err(1, "open write '%s'", path);
57 snprintf(path, sizeof(path), "%s/%s", CLIENT, FILE);
58 if ((fd = open(path, O_RDWR)) == -1)
59 err(1, "open mmap '%s'", path);
/openbsd-current/gnu/llvm/llvm/utils/
H A Dwciia.py11 utils/wciia.py path
39 for path in paths.split():
40 owner['paths'].append(path)
83 for path in owner['paths']:
84 # print "searching (" + path + ")"
86 if fpath == path:
88 # see if path ends with a *
89 rstar = path.rfind('*')
93 if len(fpath) < len(path):
94 rpos = path
109 path = str(sys.argv[1]) variable
[all...]
H A Dsysroot.py24 winsdk = os.path.join(p, 'Windows Kits', '10')
27 os.mkdir(os.path.join(out_dir, 'Windows Kits'))
28 mkjunction(os.path.join(out_dir, 'Windows Kits', '10'), winsdk)
30 vswhere = os.path.join(
37 mkjunction(os.path.join(out_dir, 'VC'),
38 os.path.join(vsinstalldir, 'VC'))
41 mkjunction(os.path.join(out_dir, 'DIA SDK'),
42 os.path.join(vsinstalldir, 'DIA SDK'))
52 sdkpath = cmdout(['xcrun', '-sdk', sdk, '-show-sdk-path'])
58 sdkpath = os.path
[all...]
/openbsd-current/gnu/llvm/libcxx/include/__filesystem/
H A Dfilesystem_error.h15 #include <__filesystem/path.h>
36 __storage_(make_shared<_Storage>(path(), path())) {
41 filesystem_error(const string& __what, const path& __p1, error_code __ec)
43 __storage_(make_shared<_Storage>(__p1, path())) {
48 filesystem_error(const string& __what, const path& __p1, const path& __p2,
56 const path& path1() const noexcept { return __storage_->__p1_; }
59 const path& path2() const noexcept { return __storage_->__p2_; }
74 _Storage(const path
[all...]
H A Dpath_iterator.h16 #include <__filesystem/path.h>
32 class _LIBCPP_TYPE_VIS path::iterator {
48 typedef path value_type;
50 typedef const path* pointer;
51 typedef path reference;
103 friend class path;
111 path __stashed_elem_;
112 const path* __path_ptr_;
113 path::__string_view __entry_;
117 inline _LIBCPP_INLINE_VISIBILITY bool operator==(const path
[all...]
/openbsd-current/usr.bin/cvs/
H A Dinit.c104 char path[PATH_MAX]; local
112 (void)xsnprintf(path, PATH_MAX, "%s/%s",
115 init_mkdir(path, 0777);
119 (void)xsnprintf(path, PATH_MAX, "%s/%s",
122 init_mkfile(path, cvsroot_files[i].cf_content);
127 init_mkdir(const char *path, mode_t mode) argument
131 if (mkdir(path, mode) == -1) {
133 (errno == EACCES && (stat(path, &st) == 0) &&
136 path, strerror(errno));
142 init_mkfile(char *path, cha argument
[all...]
/openbsd-current/gnu/usr.bin/perl/ext/B/t/
H A Dstrict.t23 my $path = $INC{ $module . '.pm' };
24 my $check = "$^X -cw -Mstrict $path 2>&1";
26 is( $got, "$path syntax OK\n", "$module.pm compiles without errors" )
/openbsd-current/gnu/llvm/lldb/tools/debugserver/source/MacOSX/
H A DCFBundle.cpp17 CFBundle::CFBundle(const char *path) argument
19 if (path && path[0])
20 SetPath(path);
36 // Set the path for a bundle by supplying a
37 bool CFBundle::SetPath(const char *path) { argument
42 // Make a CFStringRef from the supplied path
44 cf_path.SetFileSystemRepresentation(path);
/openbsd-current/gnu/llvm/llvm/utils/lit/tests/Inputs/config-map-discovery/
H A Ddriver.py6 main_config = os.path.realpath(main_config)
7 main_config = os.path.normcase(main_config)
14 main_config_dir = os.path.dirname(main_config)
/openbsd-current/games/phantasia/
H A Dsetup.c79 char path[PATH_MAX], *prefix;
102 snprintf(path, sizeof(path), "%s%s", prefix?prefix:"", *filename);
103 if (stat(path, &fbuf) == 0)
120 if (unlink(path) == -1)
121 Error("Cannot unlink %s.\n", path);
124 if ((fd = open(path, O_CREAT | O_TRUNC | O_WRONLY, 0660)) == -1)
125 Error("Cannot create %s.\n", path);
136 snprintf(path, sizeof(path), "
78 char path[PATH_MAX], *prefix; local
[all...]
/openbsd-current/gnu/usr.bin/perl/cpan/OpenBSD-Unveil/
H A DUnveil.xs29 _unveil(const char * path = NULL, const char * permissions = NULL)
31 RETVAL = unveil(path, permissions) != -1;
/openbsd-current/gnu/llvm/llvm/utils/lit/tests/Inputs/fake-externals/
H A Dfake_external.py6 .format(os.path.basename(fileName)));
/openbsd-current/gnu/llvm/libcxx/benchmarks/
H A Dlit.cfg.py6 site.addsitedir(os.path.join(os.path.dirname(os.path.dirname(__file__)), 'utils'))
18 config.test_exec_root = os.path.join(config.libcxx_obj_root, 'benchmarks')
/openbsd-current/gnu/llvm/lldb/include/lldb/Symbol/
H A DSourceModule.h20 std::vector<ConstString> path; member in struct:lldb_private::SourceModule
/openbsd-current/usr.bin/rsync/
H A Dmkpath.c42 * path - path
45 mkpath(char *path) argument
51 slash = path;
60 if (mkdir(path, 0777) != 0) {
63 if (stat(path, &sb) == -1) {
/openbsd-current/gnu/llvm/lldb/scripts/
H A Duse_lldb_suite.py7 lldb_root = os.path.dirname(inspect.getfile(inspect.currentframe()))
9 parent = os.path.dirname(lldb_root)
14 test_path = os.path.join(lldb_root, "use_lldb_suite_root.py")
15 if os.path.isfile(test_path):
/openbsd-current/sys/arch/sparc64/stand/ofwboot/
H A Ddiskprobe.c50 len = OF_package_to_path(node, dip->path, sizeof(dip->path));
52 DPRINTF("could not get path for disk node %x\n", node);
54 } else if (len >= sizeof(dip->path)) {
55 printf("disk device path too long: %s", dip->path);
58 dip->path[len] = '\0';
63 if (dip->path[i] == '/')
65 else if (dip->path[i] == '@') {
66 unit = &dip->path[
[all...]
/openbsd-current/gnu/llvm/lldb/bindings/python/
H A DcreatePythonInit.py7 getFileName = lambda f: os.path.splitext(os.path.basename(f))[0]
23 pkgIniFile = os.path.normpath(os.path.join(pkgRelDir, "__init__.py"))
H A Dget-python-config.py9 def relpath_nodots(path, base):
10 rel = os.path.normpath(os.path.relpath(path, base))
11 assert not os.path.isabs(rel)
12 parts = rel.split(os.path.sep)
14 raise ValueError(f"{path} is not under {base}")
22 # LLDB_PYTHON_RELATIVE_PATH is the relative path from lldb's prefix
25 # The way we're going to compute this is to take the relative path from
47 prefix = os.path
[all...]
/openbsd-current/gnu/usr.bin/perl/amigaos4/
H A Damigaos.h22 int myexecve(bool isperlthread, const char *path, char *argv[], char *env[]);
24 int myexecv(bool isperlthread, const char *path, char *argv[]);
25 int myexecl(bool isperlthread, const char *path, ...);
28 #define execve(path, argv, env) myexecve(TRUE, path, argv, env)
30 #define execv(path, argv) myexecv(TRUE, path, argv)
31 #define execl(path, ...) myexecl(TRUE, path, __VA_ARGS__)

Completed in 146 milliseconds

1234567891011>>