Searched refs:path (Results 51 - 75 of 3419) sorted by relevance

1234567891011>>

/netbsd-current/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_syscalls_netbsd.inc132 const char *path = (const char *)path_;
133 if (path) {
134 PRE_READ(path, __sanitizer::internal_strlen(path) + 1);
140 const char *path = (const char *)path_;
141 if (path) {
142 POST_READ(path, __sanitizer::internal_strlen(path) + 1);
162 const char *path = (const char *)path_;
164 if (path) {
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-incpath.cc31 prefixed_path (const char *path, const char *iprefix) argument
37 if (!strncmp (path, cpp_PREFIX, len))
40 /* If this path starts with the configure-time prefix,
55 return concat (relocated_prefix, path + len, NULL);
61 if (!strncmp (path, cpp_GCC_INCLUDE_DIR, len))
62 return concat (iprefix, path + len, NULL);
65 return xstrdup (path);
68 /* Add PATHS to the global import lookup path. */
75 if (!global.path)
76 global.path
80 const char *path = (*paths)[i]; local
107 const char *path = (*paths)[i]; local
131 char *path; local
178 const char *path = (*global.params.imppath)[i]; local
189 const char *path = (*global.params.fileImppath)[i]; local
[all...]
/netbsd-current/external/gpl3/gcc/dist/gcc/d/
H A Dd-incpath.cc32 prefixed_path (const char *path, const char *iprefix) argument
36 if (!filename_ncmp (path, cpp_PREFIX, cpp_PREFIX_len))
39 /* If this path starts with the configure-time prefix,
54 return concat (relocated_prefix, path + cpp_PREFIX_len, NULL);
60 if (!filename_ncmp (path, cpp_GCC_INCLUDE_DIR, cpp_GCC_INCLUDE_DIR_len))
61 return concat (iprefix, path + cpp_GCC_INCLUDE_DIR_len, NULL);
64 return xstrdup (path);
67 /* Add PATHS to the global import lookup path. */
74 if (!global.path)
75 global.path
79 const char *path = (*paths)[i]; local
106 const char *path = (*paths)[i]; local
130 char *path; local
177 const char *path = (*global.params.imppath)[i]; local
188 const char *path = (*global.params.fileImppath)[i]; local
[all...]
/netbsd-current/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...]
/netbsd-current/external/gpl2/diffutils/dist/lib/
H A Ddirname.h42 char *base_name PARAMS ((char const *path));
43 char *dir_name PARAMS ((char const *path));
44 size_t base_len PARAMS ((char const *path));
45 size_t dir_len PARAMS ((char const *path));
47 int strip_trailing_slashes PARAMS ((char *path));
/netbsd-current/usr.sbin/cpuctl/arch/
H A Dsparc64.c49 char path[128]; local
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...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/fuzz/
H A Dhelper.py21 THIS_DIR = os.path.abspath(os.path.dirname(__file__))
22 CORPORA_DIR = os.path.abspath(os.path.join(THIS_DIR, "corpora"))
24 FUZZER_DIR = os.path.abspath(os.path.join(CORPORA_DIR, FUZZER))
25 if not os.path.isdir(FUZZER_DIR):
31 dd = os.path.abspath(os.path.join(CORPORA_DIR, d))
32 if not os.path
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/fuzz/
H A Dhelper.py21 THIS_DIR = os.path.abspath(os.path.dirname(__file__))
22 CORPORA_DIR = os.path.abspath(os.path.join(THIS_DIR, "corpora"))
24 FUZZER_DIR = os.path.abspath(os.path.join(CORPORA_DIR, FUZZER))
25 if not os.path.isdir(FUZZER_DIR):
31 dd = os.path.abspath(os.path.join(CORPORA_DIR, d))
32 if not os.path
[all...]
/netbsd-current/external/ibm-public/postfix/dist/src/global/
H A Dmail_trigger.c78 char *path; local
85 path = mail_pathname(class, service);
86 if ((status = stat(path, &st)) < 0) {
87 msg_warn("unable to look up %s: %m", path);
89 status = fifo_trigger(path, req_buf, req_len, var_trigger_timeout);
91 status = LOCAL_TRIGGER(path, req_buf, req_len, var_trigger_timeout);
93 status = LOCAL_TRIGGER(path, req_buf, req_len, var_trigger_timeout);
95 msg_warn("%s is not a socket or a fifo", path);
98 myfree(path);
/netbsd-current/external/gpl2/dtc/dist/tests/
H A Dsupernode_atdepth_offset.c19 static int path_depth(const char *path) argument
24 if (path[0] != '/')
27 if (strcmp(path, "/") == 0)
29 for (p = path; *p; p++)
33 /* Special case for path == "/" */
34 if (p == (path + 1))
40 static int path_prefix(const char *path, int depth) argument
45 if (path[0] != '/')
51 p = path;
55 return p - path;
58 check_supernode_atdepth(struct fdt_header *fdt, const char *path, int depth) argument
97 check_supernode_overdepth(struct fdt_header *fdt, const char *path) argument
112 check_path(struct fdt_header *fdt, const char *path) argument
[all...]
H A Dget_path.c21 static void check_path_buf(void *fdt, const char *path, int pathlen, int buflen) argument
27 offset = fdt_path_offset(fdt, path);
29 FAIL("Couldn't find path \"%s\": %s", path, fdt_strerror(offset));
34 verbose_printf("get_path() %s -> %d -> %s\n", path, offset,
48 if (strcmp(buf, path) != 0)
50 "instead of \"%s\"", buflen, buf, path);
57 static void check_path(void *fdt, const char *path) argument
59 int pathlen = strlen(path);
61 check_path_buf(fdt, path, pathle
[all...]
/netbsd-current/external/bsd/blocklist/port/
H A Dpidfile.c86 /* Given a new pidfile name in 'path', deletes any previously-created pidfile
93 cleanup_old_pidfile(const char* path) argument
96 if (strcmp(pidfile_path, path) != 0) {
114 * path to the pidfile; NULL on failure. */
118 char *path; local
124 if (asprintf(&path, "%s%s.pid", _PATH_VARRUN, bname) == -1)
126 return path;
136 create_pidfile(const char* path) argument
143 if (cleanup_old_pidfile(path) == 0)
146 pidfile_path = strdup(path);
165 pidfile(const char *path) argument
[all...]
/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dsane_basename.c11 /* char *sane_basename(buf, path)
13 /* const char *path;
15 /* char *sane_dirname(buf, path)
17 /* const char *path;
43 /* .IP path
71 char *sane_basename(VSTRING *bp, const char *path) argument
89 if (path == 0 || *path == 0)
96 last = path + strlen(path)
115 sane_dirname(VSTRING *bp, const char *path) argument
[all...]
/netbsd-current/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);
/netbsd-current/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));
/netbsd-current/external/bsd/mdocml/dist/
H A Dcompat_mkdtemp.c36 mkdtemp(char *path) argument
41 start = strchr(path, '\0');
42 while (start > path && start[-1] == 'X')
46 if (mktemp(path) == NULL) {
50 if (mkdir(path, S_IRUSR | S_IWUSR | S_IXUSR) == 0)
51 return path;
/netbsd-current/usr.bin/make/unit-tests/
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
/netbsd-current/external/bsd/atf/dist/tools/
H A Dfs_test.cpp75 // Test cases for the "path" class.
81 set_md_var("descr", "Tests the path's normalization");
85 using tools::fs::path;
87 ATF_REQUIRE_EQ(path(".").str(), ".");
88 ATF_REQUIRE_EQ(path("..").str(), "..");
90 ATF_REQUIRE_EQ(path("foo").str(), "foo");
91 ATF_REQUIRE_EQ(path("foo/bar").str(), "foo/bar");
92 ATF_REQUIRE_EQ(path("foo/bar/").str(), "foo/bar");
94 ATF_REQUIRE_EQ(path("/foo").str(), "/foo");
95 ATF_REQUIRE_EQ(path("/fo
[all...]
/netbsd-current/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...]
/netbsd-current/external/apache2/llvm/dist/clang/tools/scan-build/bin/
H A Dset-xcode-analyzer20 def FindClangSpecs(path):
21 print "(+) Searching for xcspec file in: ", path
22 for root, dirs, files in os.walk(path):
25 yield os.path.join(root, f)
27 def ModifySpec(path, isBuiltinAnalyzer, pathToChecker):
30 with open(path) as f:
34 with open(path) as f2:
52 print "(+) processing:", path
54 shutil.copy(t.name, path)
55 os.chmod(path, sta
[all...]
/netbsd-current/external/bsd/kyua-cli/dist/cli/
H A Dmain.hpp43 class path;
53 utils::fs::path default_log_name(void);
/netbsd-current/external/bsd/kyua-cli/dist/utils/fs/
H A Dpath.cpp29 #include "utils/fs/path.hpp"
41 /// Normalizes an input string to a valid path.
43 /// A normalized path cannot have empty components; i.e. there can be at most
48 /// \return The normalized string, representing a path.
50 /// \throw utils::fs::invalid_path_error If the path is empty.
84 /// Creates a new path object from a textual representation of a path.
86 /// \param text A valid representation of a path in textual form.
89 /// valid path.
90 fs::path function in class:fs::path
[all...]
/netbsd-current/lib/libc/gen/
H A Dexect.c40 exect(const char *path, char *const argv[], char *const envp[]) argument
42 return execve(path, argv, envp);
/netbsd-current/external/bsd/kyua-cli/dist/utils/process/
H A Dchild.hpp54 #include "utils/fs/path.hpp"
75 static std::unique_ptr< child > fork_files_aux(const fs::path&,
76 const fs::path&);
88 static std::unique_ptr< child > fork_files(Hook, const fs::path&,
89 const fs::path&);
92 const fs::path&, const args_vector&);
94 const fs::path&, const args_vector&, const fs::path&, const fs::path&);
/netbsd-current/usr.sbin/certctl/
H A Dcerts.conf9 path /usr/share/certs/mozilla/server

Completed in 291 milliseconds

1234567891011>>