Searched refs:pathname (Results 76 - 100 of 141) sorted by relevance

123456

/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DCompileUnit.h55 /// \param[in] pathname
77 const char *pathname, lldb::user_id_t uid,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Symbol/
H A DCompileUnit.cpp21 const char *pathname, const lldb::user_id_t cu_sym_id,
24 : CompileUnit(module_sp, user_data, FileSpec(pathname), cu_sym_id, language,
20 CompileUnit(const lldb::ModuleSP &module_sp, void *user_data, const char *pathname, const lldb::user_id_t cu_sym_id, lldb::LanguageType language, lldb_private::LazyBool is_optimized) argument
/freebsd-11-stable/tests/sys/file/
H A Dflock_helper.c72 make_file(const char *pathname, off_t sz) argument
80 if (stat(pathname, &st) == 0) {
82 fd = open(pathname, O_RDWR);
84 err(1, "open(%s)", pathname);
91 len = strlen(pathname) + strlen(template) + 1;
93 strcpy(filename, pathname);
/freebsd-11-stable/usr.sbin/crunch/crunchgen/
H A Dcrunchgen.c111 int is_dir(const char *pathname);
112 int is_nonempty_file(const char *pathname);
1223 is_dir(const char *pathname) argument
1227 if (stat(pathname, &buf) == -1)
1234 is_nonempty_file(const char *pathname) argument
1238 if (stat(pathname, &buf) == -1)
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc1199 PRE_SYSCALL(unlink)(const void *pathname) {
1200 if (pathname)
1201 PRE_READ(pathname,
1202 __sanitizer::internal_strlen((const char *)pathname) + 1);
1205 POST_SYSCALL(unlink)(long res, const void *pathname) {}
1389 PRE_SYSCALL(creat)(const void *pathname, long mode) {
1390 if (pathname)
1391 PRE_READ(pathname,
1392 __sanitizer::internal_strlen((const char *)pathname) + 1);
1395 POST_SYSCALL(creat)(long res, const void *pathname, lon
[all...]
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_disk_posix.c367 const char *pathname);
816 * Fixup uses the unedited pathname from archive_entry_pathname(),
1978 * If pathname is longer than PATH_MAX, chdir to a suitable
1981 * fails for any reason, we just go ahead with the long pathname. The
2679 new_fixup(struct archive_write_disk *a, const char *pathname) argument
2692 fe->name = strdup(pathname);
2700 current_fixup(struct archive_write_disk *a, const char *pathname) argument
2703 a->current_fixup = new_fixup(a, pathname);
3125 * Canonicalize the pathname. In particular, this strips duplicate
3141 "Invalid empty ", "pathname");
4060 set_mac_metadata(struct archive_write_disk *a, const char *pathname, const void *metadata, size_t metadata_size) argument
4071 fixup_appledouble(struct archive_write_disk *a, const char *pathname) argument
4194 create_tempdatafork(struct archive_write_disk *a, const char *pathname) argument
4267 set_mac_metadata(struct archive_write_disk *a, const char *pathname, const void *metadata, size_t metadata_size) argument
4314 fixup_appledouble(struct archive_write_disk *a, const char *pathname) argument
[all...]
H A Darchive_read_support_format_lha.c479 struct archive_wstring pathname; local
604 * Make a pathname from a dirname and a filename, after converting to Unicode.
607 archive_string_init(&pathname);
624 archive_wstring_free(&pathname);
628 archive_wstring_copy(&pathname, &conv_buffer.aes_wcs);
646 archive_wstring_free(&pathname);
650 archive_wstring_concat(&pathname, &conv_buffer.aes_wcs);
655 * Extract the symlink-name if it's included in the pathname.
657 if (!lha_parse_linkname(&linkname, &pathname)) {
662 archive_wstring_free(&pathname);
1695 lha_parse_linkname(struct archive_wstring *linkname, struct archive_wstring *pathname) argument
[all...]
H A Darchive_read_disk_posix.c115 * pathname-length limits (other than the size of 'int'), handles
127 * string length of the parent directory's pathname), and some markers
317 * The current full pathname, length of the full pathname, and a name
1323 archive_read_disk_open(struct archive *_a, const char *pathname) argument
1332 return (_archive_read_disk_open(_a, pathname));
1336 archive_read_disk_open_w(struct archive *_a, const wchar_t *pathname) argument
1349 if (archive_string_append_from_wcs(&path, pathname,
1350 wcslen(pathname)) != 0) {
1367 _archive_read_disk_open(struct archive *_a, const char *pathname) argument
[all...]
H A Darchive_read_support_format_iso9660.c323 struct archive_string pathname; member in struct:iso9660
370 * Buffers for a full pathname in UTF-16BE in Joliet extensions.
1252 const char *path = build_pathname(&iso9660->pathname, file, 0);
1259 archive_string_empty(&iso9660->pathname);
1344 iso9660->pathname.s,
1378 &iso9660->previous_pathname, iso9660->pathname.s);
1686 iso9660->pathname.s,
1725 archive_string_free(&iso9660->pathname);
/freebsd-11-stable/contrib/bmake/
H A Dmain.c2007 cached_realpath(const char *pathname, char *resolved) argument
2012 if (!pathname || !pathname[0])
2017 if ((rp = Var_Value(pathname, cache, &cp)) != NULL) {
2020 } else if ((rp = realpath(pathname, resolved)) != NULL) {
2021 Var_Set(pathname, rp, cache, 0);
/freebsd-11-stable/tools/regression/usr.bin/env/
H A Dregress-sb.rb349 optval.gsub!(/\[%- testpgm\.pathname -%\]/x, $testpgm)
351 optval.gsub!(/\[%- script\.pathname -%\]/x, $scriptfile)
/freebsd-11-stable/contrib/unbound/smallapp/
H A Dunbound-anchor.c221 printf("-x path pathname to xml in url, default %s\n", XMLNAME);
222 printf("-s path pathname to p7s in url, default %s\n", P7SNAME);
1049 write_http_get(SSL* ssl, const char* pathname, const char* urlname) argument
1051 if(write_ssl_line(ssl, "GET /%s HTTP/1.1", pathname) &&
1121 /** https to an IP addr, return BIO with pathname or NULL */
1123 https_to_ip(struct ip_list* ip, const char* pathname, const char* urlname, argument
1144 if(!write_http_get(ssl, pathname, urlname)) {
1159 * @param pathname: pathname of file on server to GET.
1166 https(struct ip_list* ip_list, const char* pathname, cons argument
[all...]
/freebsd-11-stable/lib/libprocstat/
H A Dlibprocstat.c166 char *pathname, size_t maxlen);
167 static int procstat_getpathname_sysctl(pid_t pid, char *pathname,
2206 procstat_getpathname_sysctl(pid_t pid, char *pathname, size_t maxlen) argument
2216 error = sysctl(name, nitems(name), pathname, &len, NULL, 0);
2218 warn("sysctl: kern.proc.pathname: %d", pid);
2220 pathname[0] = '\0';
2225 procstat_getpathname_core(struct procstat_core *core, char *pathname, argument
2238 strncpy(pathname, files[i].kf_path, maxlen);
2248 char *pathname, size_t maxlen)
2254 pathname[
2247 procstat_getpathname(struct procstat *procstat, struct kinfo_proc *kp, char *pathname, size_t maxlen) argument
[all...]
H A Dlibprocstat.h216 char *pathname, size_t maxlen);
/freebsd-11-stable/tests/sys/aio/
H A Daio_test.c664 char pathname[PATH_MAX]; local
694 snprintf(pathname, PATH_MAX, "/dev/md%d", unit);
695 fd = open(pathname, O_RDWR);
697 "opening %s failed: %s", pathname, strerror(errno));
/freebsd-11-stable/sys/compat/freebsd32/
H A Dfreebsd32.h341 char pathname[MAXPATHLEN]; member in struct:kld32_file_stat
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp698 INTERCEPTOR(int, fstatat, int fd, char *pathname, void *buf, int flags) { argument
700 int res = REAL(fstatat)(fd, pathname, buf, flags);
706 INTERCEPTOR(int, __fxstatat, int magic, int fd, char *pathname, void *buf, argument
709 int res = REAL(__fxstatat)(magic, fd, pathname, buf, flags);
717 INTERCEPTOR(int, __fxstatat64, int magic, int fd, char *pathname, void *buf, argument
720 int res = REAL(__fxstatat64)(magic, fd, pathname, buf, flags);
/freebsd-11-stable/sbin/restore/
H A Ddirs.c275 * Lookup a pathname which is always assumed to start from the ROOTINO.
278 pathsearch(const char *pathname) argument
284 strcpy(buffer, pathname);
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dmergeinfo.c88 /* pathname -> PATHNAME */
92 const char **pathname,
98 /* A pathname may contain colons, so find the last colon before END
99 or newline. We'll consider this the divider between the pathname
114 *pathname = svn_fspath__canonicalize(apr_pstrndup(pool, *input,
728 const char *pathname = ""; local
734 SVN_ERR(parse_pathname(input, end, &pathname, scratch_pool));
747 "empty revision range"), pathname);
768 klen = strlen(pathname);
769 existing_rangelist = apr_hash_get(hash, pathname, kle
90 parse_pathname(const char **input, const char *end, const char **pathname, apr_pool_t *pool) argument
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libevent/
H A Dutil-internal.h256 /* As open(pathname, flags, mode), except that the file is always opened with
259 int evutil_open_closeonexec_(const char *pathname, int flags, unsigned mode);
/freebsd-11-stable/sys/net/
H A Dnetmap_user.h567 win_nm_open(char* pathname, int flags) argument
570 if (strcmp(pathname, NETMAP_DEVICE_NAME) == 0) {
579 return open(pathname, flags);
/freebsd-11-stable/usr.bin/rpcgen/
H A Drpc_main.c431 generate_guard(const char *pathname) argument
436 filename = strrchr(pathname, '/'); /* find last component */
437 filename = ((filename == NULL) ? pathname : filename+1);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.cpp298 llvm::StringRef scheme, hostname, pathname;
299 if (!UriParser::Parse(url, scheme, hostname, port, pathname))
303 path = pathname;
/freebsd-11-stable/contrib/sendmail/src/
H A Dutil.c2401 ** pathname -- pathname to check for directory-ness.
2405 ** true -- if the indicated pathname is a directory
2410 path_is_dir(pathname, createflag)
2411 char *pathname;
2417 if (lstat(pathname, &statbuf) < 0)
2419 if (stat(pathname, &statbuf) < 0)
2424 if (mkdir(pathname, 0755) < 0)
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptInterpreterPython.cpp2739 const char *pathname, bool init_session, lldb_private::Status &error,
2741 if (!pathname || !pathname[0]) {
2742 error.SetErrorString("invalid pathname");
2749 FileSpec target_file(pathname);
2771 if (strchr(pathname, '\\') || strchr(pathname, '/')) {
2772 error.SetErrorString("invalid pathname");
2775 basename = pathname; // not a filename, probably a package of some sort,
2738 LoadScriptingModule( const char *pathname, bool init_session, lldb_private::Status &error, StructuredData::ObjectSP *module_sp) argument

Completed in 233 milliseconds

123456