Searched refs:path (Results 226 - 250 of 2346) sorted by relevance

1234567891011>>

/freebsd-11-stable/lib/libc/gen/
H A Dutime.c41 utime(const char *path, const struct utimbuf *times) argument
52 return (utimes(path, tvp));
/freebsd-11-stable/usr.bin/login/
H A Dlogin_fbtab.c38 absolute paths. A path that ends in "*" refers to all
41 If the tty argument (relative path) matches a login device
42 name (absolute path), the permissions of the devices in the
126 char *path; local
132 path = gl.gl_pathv[i];
134 if (chflags(path, 0) && errno != ENOENT && errno != EOPNOTSUPP)
135 syslog(LOG_ERR, "%s: chflags(%s): %m", table, path);
136 if (chmod(path, mask) && errno != ENOENT)
137 syslog(LOG_ERR, "%s: chmod(%s): %m", table, path);
138 if (chown(path, ui
[all...]
/freebsd-11-stable/sys/i386/ibcs2/
H A Dibcs2_util.c46 * Search an alternate path before passing pathname arguments on
54 ibcs2_emul_find(struct thread *td, char *path, enum uio_seg pathseg, argument
58 return (kern_alternate_path(td, ibcs2_emul_path, path, pathseg, pbuf,
/freebsd-11-stable/contrib/llvm-project/lld/include/lld/Core/
H A DArchiveLibraryFile.h41 ArchiveLibraryFile(StringRef path) : File(path, kindArchiveLibrary) {} argument
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DTildeExpressionResolver.cpp28 namespace path = llvm::sys::path;
36 assert(!llvm::any_of(Expr, [](char c) { return path::is_separator(c); }));
46 assert(!llvm::any_of(Expr, [](char c) { return path::is_separator(c); }));
68 Buffer.append(path::get_separator());
84 namespace path = llvm::sys::path;
86 Expr.take_until([](char c) { return path::is_separator(c); });
/freebsd-11-stable/contrib/netbsd-tests/fs/common/
H A Dfstest_tmpfs.c87 tmpfs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) argument
92 res = rump_sys_mkdir(path, 0777);
96 res = rump_sys_mount(MOUNT_TMPFS, path, flags, &args->ta_uargs,
102 tmpfs_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) argument
106 res = rump_sys_unmount(path, flags);
110 res = rump_sys_rmdir(path);
/freebsd-11-stable/contrib/atf/atf-c++/detail/
H A Dtest_helpers.cpp42 // relative path. Otherwise, the provided path will be used; this is so
67 const atf::fs::path sfilepath =
68 atf::fs::path(tc.get_config_var("srcdir")) / sfile;
86 atf::fs::path
92 return atf::fs::path(tc.get_config_var("srcdir")) /
95 return atf::fs::path(tc.get_config_var("srcdir")) /
98 return atf::fs::path(atf_c_tests_base) / helper;
/freebsd-11-stable/contrib/subversion/
H A D.ycm_extra_conf.py34 compilation_database_folder = os.path.dirname(os.path.realpath(__file__))
53 new_flag = os.path.join( working_directory, flag )
61 path = flag[ len( path_flag ): ]
62 new_flag = path_flag + os.path.join( working_directory, path )
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_getcwd.c63 char *path; local
77 path = malloc(LINUX_PATH_MAX, M_LINUX, M_WAITOK);
79 error = kern___getcwd(td, path, UIO_SYSSPACE, args->bufsize,
82 lenused = strlen(path) + 1;
83 error = copyout(path, args->buf, lenused);
88 free(path, M_LINUX);
/freebsd-11-stable/release/scripts/
H A Dlist-new-changesets.py68 for path in paths.findall('path'):
69 print(" %s %s" % (path.attrib['action'], path.text))
100 for path in paths.findall('path'):
101 if path.attrib['action'] == 'A':
103 elif path.attrib['action'] == 'D':
/freebsd-11-stable/usr.bin/bmake/tests/shell/path_select/
H A DMakefile.test2 # Change the path for builtin shells. There are two methods to do this.
3 # This is the second of them when both a path and a name are specified.
5 # from the specified path.
15 .SHELL: name=sh path=${.CURDIR}/shell
21 .SHELL: name=csh path=${.CURDIR}/shell
27 .SHELL: name=ksh path=${.CURDIR}/shell
/freebsd-11-stable/usr.sbin/ngctl/
H A Dconfig.c54 "config <path> [arguments]",
55 "get or set configuration of node at <path>",
66 char *path; local
73 path = av[1];
84 i = NgSendMsg(csock, path, NGM_GENERIC_COOKIE,
87 i = NgSendMsg(csock, path, NGM_GENERIC_COOKIE,
106 printf("No config available for \"%s\"\n", path);
108 printf("Config for \"%s\":\n%s\n", path, status);
/freebsd-11-stable/usr.bin/stat/tests/
H A Dstat_test.sh71 for path in $paths; do
72 atf_check -o save:$ls_out ls -ldT $path
74 atf_check -o save:$stat_out stat -l $path
148 for path in $paths; do
151 eval $(stat -s $path)
184 local path=$1; shift
186 local atime_s=$(x_output_date -f '%Sa' $path)
187 local ctime_s=$(x_output_date -f '%Sc' $path)
188 local devid=$(stat -f '%Hd,%Ld' $path)
189 local file_type_s=$(stat -f '%HT' $path)
[all...]
/freebsd-11-stable/usr.bin/locate/bigram/
H A Dlocate.bigram.c76 u_char *oldpath = buf1, *path = buf2; local
82 while (fgets(path, sizeof(buf2), stdin) != NULL) {
92 for (cp = path; *cp == *oldpath; cp++, oldpath++)
102 if (path == buf1) {
103 path = buf2;
106 path = buf1;
/freebsd-11-stable/contrib/wpa/wpa_supplicant/examples/
H A Dwpas-dbus-new-signals.py31 for path in ifaces:
32 if_obj = bus.get_object(WPAS_DBUS_SERVICE, path)
89 def scanDone2(success, path=None):
90 print("Scan done: success=%s [path=%s]" % (success, path))
148 path = wpas.GetInterface(ifname)
149 if_obj = bus.get_object(WPAS_DBUS_SERVICE, path)
152 path_keyword='path')
157 path=path)
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Testing/Support/
H A DSupportHelpers.cpp17 SmallString<128> BaseDir = llvm::sys::path::parent_path(Argv0);
22 llvm::sys::path::append(PathInSameDir, "llvm.srcdir.txt");
27 SmallString<128> PathInParentDir = llvm::sys::path::parent_path(BaseDir);
29 llvm::sys::path::append(PathInParentDir, "llvm.srcdir.txt");
50 llvm::sys::path::append(InputFilePath, "Inputs");
51 llvm::sys::path::native(InputFilePath);
/freebsd-11-stable/sys/cam/ata/
H A Data_xpt.c127 CAM_DEBUG((softc)->periph->path, CAM_DEBUG_PROBE, \
173 struct cam_path *path, cam_flags flags,
179 static void ata_device_transport(struct cam_path *path);
182 struct cam_path *path,
296 CAM_DEBUG(periph->path, CAM_DEBUG_PROBE, ("Probe started\n"));
297 ata_device_transport(periph->path);
311 if ((periph->path->device->flags & CAM_DEV_UNCONFIGURED) ||
312 periph->path->device->protocol == PROTO_SATAPM ||
313 periph->path->device->protocol == PROTO_SEMB)
333 struct cam_path *path; local
737 struct cam_path *path; local
1403 struct cam_path *path; local
1565 ata_scan_lun(struct cam_periph *periph, struct cam_path *path, cam_flags flags, union ccb *request_ccb) argument
1677 ata_device_transport(struct cam_path *path) argument
1905 ata_set_transfer_settings(struct ccb_trans_settings *cts, struct cam_path *path, int async_update) argument
2084 struct cam_path path; local
2100 struct cam_path *path = periph->path; local
[all...]
/freebsd-11-stable/contrib/gcc/
H A Dgenpeep.c91 /* Walk the insn's pattern, remembering at all times the path
130 match_rtx (rtx x, struct link *path, int fail_label)
153 print_path (path);
165 print_path (path);
174 print_path (path);
181 link.next = path;
197 print_path (path);
204 link.next = path;
220 print_path (path);
228 link.next = path;
128 match_rtx(rtx x, struct link *path, int fail_label) argument
325 print_path(struct link *path) argument
[all...]
/freebsd-11-stable/contrib/bmake/mk/
H A Dmeta2deps.py76 def resolve(path, cwd, last_dir=None, debug=0, debug_out=sys.stderr):
78 Return an absolute path, resolving via cwd or last_dir if needed.
80 if path.endswith('/.'):
81 path = path[0:-2]
82 if len(path) > 0 and path[0] == '/':
83 return path
84 if path == '.':
86 if path
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dgdb_indent.sh13 for path in $paths
15 if test ! -n "${gindent}" -a -x ${path}/gindent
17 gindent=${path}/gindent
19 elif test ! -n "${indent}" -a -x ${path}/indent
21 indent=${path}/indent
/freebsd-11-stable/usr.sbin/snapinfo/
H A Dsnapinfo.c45 static void find_inum(char *path);
58 char *path; local
90 path = *argv;
93 * so let's do the same with the given path.
95 if (realpath(path, resolved) == NULL || /* can create full path */
100 path = resolved;
106 if (all || strcmp(path, mntbuf[n].f_mntonname) == 0) {
146 compare_function(const char *path, const struct stat *st, int flags, argument
153 printf("%s", path);
165 find_inum(char *path) argument
[all...]
/freebsd-11-stable/stand/i386/libi386/
H A Ddevicename.c37 static int i386_parsedev(struct i386_devdesc **dev, const char *devspec, const char **path);
41 * path in (devspec). If it contains an explicit device specification,
45 i386_getdev(void **vdev, const char *devspec, const char **path) argument
51 * If it looks like this is just a path and no
59 (path != NULL))
60 *path = devspec;
67 return(i386_parsedev(dev, devspec, path));
73 * text in (path).
85 i386_parsedev(struct i386_devdesc **dev, const char *devspec, const char **path) argument
120 err = disk_parsedev((struct disk_devdesc *)idev, np, path);
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Target/
H A DPathMappingList.cpp24 // We must normalize our path pairs that we store because if we don't then
27 // We would store a path pairs of "." and "/tmp" as raw strings. If the debug
28 // info contains "./foo/bar.c", the path will get normalized to "foo/bar.c".
29 // When PathMappingList::RemapPath() is called, it expects the path to start
30 // with the raw path pair, which doesn't work anymore because the paths have
32 // nomalized path pairs to ensure things match up.
33 ConstString NormalizePath(ConstString path) { argument
34 // If we use "path" to construct a FileSpec, it will normalize the path for
36 return ConstString(FileSpec(path
63 Append(ConstString path, ConstString replacement, bool notify) argument
82 Insert(ConstString path, ConstString replacement, uint32_t index, bool notify) argument
97 Replace(ConstString path, ConstString replacement, uint32_t index, bool notify) argument
147 RemapPath(ConstString path, ConstString &new_path) const argument
157 RemapPath(llvm::StringRef path, std::string &new_path) const argument
188 std::string path = file.GetPath(); local
245 Replace(ConstString path, ConstString new_path, bool notify) argument
258 Remove(ConstString path, bool notify) argument
284 FindIteratorForPath(ConstString path) argument
296 GetPathsAtIndex(uint32_t idx, ConstString &path, ConstString &new_path) const argument
307 const ConstString path = NormalizePath(orig_path); local
[all...]
/freebsd-11-stable/sys/cam/scsi/
H A Dscsi_xpt.c173 CAM_DEBUG((softc)->periph->path, CAM_DEBUG_PROBE, \
574 static void probe_purge_old(struct cam_path *path,
581 struct cam_path *path, cam_flags flags,
587 static void scsi_devise_transport(struct cam_path *path);
589 struct cam_path *path,
591 static void scsi_toggle_tags(struct cam_path *path);
676 CAM_DEBUG(periph->path, CAM_DEBUG_PROBE, ("Probe started\n"));
677 scsi_devise_transport(periph->path);
684 cam_periph_freeze_after_event(periph, &periph->path->bus->last_reset,
700 xpt_path_inq(&cpi, periph->path);
1153 struct cam_path *path; local
1812 probe_purge_old(struct cam_path *path, struct scsi_report_luns_data *new, probe_flags flags) argument
1948 struct cam_path *path; local
2084 struct cam_path *path, *oldpath; local
2299 scsi_scan_lun(struct cam_periph *periph, struct cam_path *path, cam_flags flags, union ccb *request_ccb) argument
2429 scsi_devise_transport(struct cam_path *path) argument
2658 scsi_set_transfer_settings(struct ccb_trans_settings *cts, struct cam_path *path, int async_update) argument
2925 scsi_toggle_tags(struct cam_path *path) argument
3023 struct cam_path path; local
3039 struct cam_path *path = periph->path; local
[all...]
/freebsd-11-stable/contrib/groff/src/libs/libgroff/
H A Dsearchpath.cpp34 # define relocate(path) strsave(path)
125 char *path = relocate(origpath); local
128 fprintf(stderr, "trying `%s'\n", path);
130 FILE *fp = fopen(path, "r");
133 *pathp = path;
135 a_delete path; local
138 a_delete path; local
182 char *path = relocate(origpath); local
185 fprintf(stderr, "trying `%s'\n", path);
192 a_delete path; local
196 a_delete path; local
[all...]

Completed in 233 milliseconds

1234567891011>>