Searched refs:path (Results 1 - 25 of 1775) sorted by relevance

1234567891011>>

/src/sbin/mount_portal/examples/
H A Dsysctlfs.sh.sh3 ## Fast hack at a sysctl filesystem. The path can be either in
6 for path in $*; do
8 path=`echo $path | tr '/' '.'`
14 sysctl $path | sed -e "s/$path//;s/^\.//;s/^ = //"
/src/usr.sbin/sysinst/arch/amd64/
H A Dmd.c7 void amd64_md_boot_cfg_finalize(const char *path);
10 amd64_md_boot_cfg_finalize(const char *path) argument
19 "< %s > %s.1", path, path);
20 snprintf(buf, sizeof buf, "%s.1", path);
21 mv_within_target_or_die(buf, path);
/src/lib/libc/stdio/
H A Dmktemp.c45 _mktemp(char *path) argument
48 _DIAGASSERT(path != NULL);
50 return GETTEMP(path, NULL, 0, 0, 0) ? path : NULL;
57 mktemp(char *path)
60 _DIAGASSERT(path != NULL);
62 return GETTEMP(path, NULL, 0, 0, 0) ? path : NULL;
H A Dmkdtemp.c46 mkdtemp(char *path) argument
48 _DIAGASSERT(path != NULL);
50 return GETTEMP(path, NULL, 1, 0, 0) ? path : NULL;
H A Dmkostemp.c31 mkostemp(char *path, int oflags) argument
35 return GETTEMP(path, &fd, 0, 0, oflags) ? fd : -1;
H A Dmkostemps.c31 mkostemps(char *path, int slen, int oflags) argument
35 return GETTEMP(path, &fd, 0, slen, oflags) ? fd : -1;
H A Dmkstemps.c33 mkstemps(char *path, int slen) argument
37 return GETTEMP(path, &fd, 0, slen, 0) ? fd : -1;
H A Dmkstemp.c49 mkstemp(char *path)
53 _DIAGASSERT(path != NULL);
55 return GETTEMP(path, &fd, 0, 0, 0) ? fd : -1;
/src/sys/external/bsd/acpica/dist/generate/lint/
H A Dlset.bat1 set path=%PATH%;$G variable
/src/usr.bin/make/unit-tests/
H A Dvarmod-path.exp1 varmod-path.subdir/varmod-path.phony
2 varmod-path.subdir/varmod-path.real
3 varmod-path.enoent
H A Ddir-expand-path.mk1 # $NetBSD: dir-expand-path.mk,v 1.1 2020/08/22 21:55:54 rillig Exp $
3 # Tests for filename expansion in the search path.
5 _!= rm -rf dir-expand-path.dir.*
6 _!= mkdir dir-expand-path.dir.1
7 _!= mkdir dir-expand-path.dir.2
8 _!= touch dir-expand-path.dir.1/file1.src
9 _!= touch dir-expand-path.dir.1/file2.src
10 _!= touch dir-expand-path.dir.2/file3.src
12 .PATH: dir-expand-path.dir.1
13 .PATH: dir-expand-path
[all...]
H A Ddir-expand-path.exp1 dir-expand-path.dir.1/file1.src
2 dir-expand-path.dir.1/file2.src
3 dir-expand-path.dir.2/file3.src
/src/sys/external/bsd/compiler_rt/dist/lib/profile/
H A DInstrProfilingUtil.c23 void __llvm_profile_recursive_mkdir(char *path) { argument
26 for (i = 1; path[i] != '\0'; ++i) {
27 if (path[i] != '/') continue;
28 path[i] = '\0';
30 _mkdir(path);
32 mkdir(path, 0755); /* Some of these will fail, ignore it. */
34 path[i] = '/';
/src/usr.sbin/cpuctl/arch/
H A Dsparc.c49 char path[128]; local in function:identifycpu
60 snprintf(path, sizeof path, "hw.%s.cacheinfo", cpuname);
62 if (sysctlbyname(path, &cacheinfo, &len, 0, 0) == -1)
63 err(1, "couldn't get %s", path);
65 snprintf(path, sizeof path, "hw.%s.mid", cpuname);
67 if (sysctlbyname(path, &mid, &len, 0, 0) == -1)
68 err(1, "couldn't get %s", path);
70 snprintf(path, sizeo
[all...]
H A Dsparc64.c49 char path[128]; local in function:identifycpu
62 snprintf(path, sizeof path, "hw.%s.cacheinfo", cpuname);
64 if (sysctlbyname(path, &cacheinfo, &len, 0, 0) == -1)
65 err(1, "couldn't get %s", path);
67 snprintf(path, sizeof path, "hw.%s.id", cpuname);
69 if (sysctlbyname(path, &id, &len, 0, 0) == -1)
70 err(1, "couldn't get %s", path);
72 snprintf(path, sizeo
[all...]
/src/lib/libc/gen/
H A Ddirname.c48 xdirname_r(const char *path, char *buf, size_t buflen)
54 * If `path' is a null pointer or points to an empty string,
57 if (path == NULL || *path == '\0') {
58 path = ".";
64 endp = path + strlen(path) - 1;
65 while (endp != path && *endp == '/')
69 while (endp > path && *endp != '/')
72 if (endp == path) {
95 dirname(char * path) argument
[all...]
H A Dutimens.c43 utimens(const char *path, const struct timespec times[2]) argument
45 return utimensat(AT_FDCWD, path, times, 0);
49 lutimens(const char *path, const struct timespec times[2]) argument
51 return utimensat(AT_FDCWD, path, times, AT_SYMLINK_NOFOLLOW);
H A Dexect.c40 exect(const char *path, char *const argv[], char *const envp[])
42 return execve(path, argv, envp);
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_syscalls_netbsd.inc133 const char *path = (const char *)path_;
134 if (path) {
135 PRE_READ(path, __sanitizer::internal_strlen(path) + 1);
141 const char *path = (const char *)path_;
142 if (path) {
143 POST_READ(path, __sanitizer::internal_strlen(path) + 1);
163 const char *path = (const char *)path_;
165 if (path) {
[all...]
/src/lib/libutil/
H A Dsecure_path.c50 secure_path(const char *path) argument
54 _DIAGASSERT(path != NULL);
60 if (lstat(path, &sb) < 0)
61 /* syslog(LOG_ERR, "cannot stat %s: %m", path) */;
63 syslog(LOG_ERR, "%s: not a regular file", path);
65 syslog(LOG_ERR, "%s: not owned by root", path);
67 syslog(LOG_ERR, "%s: writable by non-root", path);
/src/usr.bin/patch/
H A Dmkpath.c50 * path - path
53 mkpath(char *path) argument
59 slash = path;
68 if (stat(path, &sb)) {
69 if (errno != ENOENT || (mkdir(path, 0777) &&
71 warn("%s", path);
75 warnx("%s: %s", path, strerror(ENOTDIR));
/src/sys/ufs/ext2fs/
H A Dext2fs_extents.c59 ext4_ext_binsearch_index(struct inode *ip, struct ext4_extent_path *path, argument
62 struct ext4_extent_header *ehp = path->ep_header;
78 path->ep_sparse_ext.e_blk = *first_lbn;
79 path->ep_sparse_ext.e_len = first->ei_blk - *first_lbn;
80 path->ep_sparse_ext.e_start_hi = 0;
81 path->ep_sparse_ext.e_start_lo = 0;
82 path->ep_is_sparse = true;
85 path->ep_index = l - 1;
86 *first_lbn = path->ep_index->ei_blk;
87 if (path
93 ext4_ext_binsearch(struct inode * ip,struct ext4_extent_path * path,daddr_t lbn,daddr_t first_lbn,daddr_t last_lbn) argument
181 ext4_ext_find_extent(struct m_ext2fs * fs,struct inode * ip,daddr_t lbn,struct ext4_extent_path * path) argument
[all...]
/src/usr.sbin/certctl/
H A Dcerts.conf9 path /usr/share/certs/mozilla/server
/src/sbin/efi/
H A Ddevpath1.h33 void devpath_hw(devpath_t *, devpath_elm_t *path, devpath_elm_t *dbg);
/src/lib/libc/compat-43/
H A Dcreat.c46 creat(const char *path, mode_t mode) argument
49 _DIAGASSERT(path != NULL);
51 return(open(path, O_WRONLY|O_CREAT|O_TRUNC, mode));

Completed in 13 milliseconds

1234567891011>>