/netbsd-current/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_syscalls_netbsd.inc | 132 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 D | d-incpath.cc | 31 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 D | d-incpath.cc | 32 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 D | sanitizer_syscalls_netbsd.inc | 133 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 D | dirname.h | 42 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 D | sparc64.c | 49 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 D | helper.py | 21 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 D | helper.py | 21 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 D | mail_trigger.c | 78 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 D | supernode_atdepth_offset.c | 19 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 D | get_path.c | 21 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 D | pidfile.c | 86 /* 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 D | sane_basename.c | 11 /* 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 D | secure_path.c | 50 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 D | mkpath.c | 50 * 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 D | compat_mkdtemp.c | 36 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 D | dir-expand-path.exp | 1 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 D | fs_test.cpp | 75 // 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 D | ext2fs_extents.c | 59 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 D | set-xcode-analyzer | 20 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 D | main.hpp | 43 class path; 53 utils::fs::path default_log_name(void);
|
/netbsd-current/external/bsd/kyua-cli/dist/utils/fs/ |
H A D | path.cpp | 29 #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 D | exect.c | 40 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 D | child.hpp | 54 #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 D | certs.conf | 9 path /usr/share/certs/mozilla/server
|