Searched refs:pathname (Results 101 - 125 of 142) sorted by relevance

123456

/freebsd-10.0-release/contrib/texinfo/makeinfo/
H A Dnode.c1672 enumerate_filename (char *pathname, char *basename, int number)
1675 const int dos_file_names = !HAVE_LONG_FILENAMES (pathname ? pathname : ".");
1677 char *filename = xmalloc (10 + strlen (pathname) + name_len);
1703 sprintf (filename, "%s%s", pathname, base_filename);
1665 enumerate_filename(char *pathname, char *basename, int number) argument
/freebsd-10.0-release/contrib/libarchive/libarchive/
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
1265 archive_read_disk_open(struct archive *_a, const char *pathname) argument
1274 return (_archive_read_disk_open(_a, pathname));
1278 archive_read_disk_open_w(struct archive *_a, const wchar_t *pathname) argument
1291 if (archive_string_append_from_wcs(&path, pathname,
1292 wcslen(pathname)) != 0) {
1309 _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.
1248 archive_string_empty(&iso9660->pathname);
1250 build_pathname(&iso9660->pathname, file));
1333 iso9660->pathname.s,
1367 &iso9660->previous_pathname, iso9660->pathname.s);
1675 iso9660->pathname.s,
1714 archive_string_free(&iso9660->pathname);
H A Darchive_read_support_format_xar.c180 struct archive_string pathname; member in struct:xar_file
642 &(f2->hardlink), &(file->pathname));
734 if (archive_entry_copy_pathname_l(entry, file->pathname.s,
735 archive_strlen(&(file->pathname)), xar->sconv) != 0) {
1830 archive_string_free(&(file->pathname));
2707 archive_string_concat(&(xar->file->pathname),
2708 &(xar->file->parent->pathname));
2709 archive_strappend_char(&(xar->file->pathname), '/');
2714 &(xar->file->pathname), s, len);
2716 archive_strncat(&(xar->file->pathname),
[all...]
H A Darchive_write_set_format_xar.c1942 const char *pathname)
1951 archive_entry_set_pathname(file->entry, pathname);
2004 * Generate a parent directory name and a base name from a pathname.
2032 "Can't translate pathname '%s' to UTF-8",
2153 /* The pathname doesn't have a parent directory. */
2405 const char *pathname; local
2408 pathname = archive_entry_hardlink(file->entry);
2409 if (pathname == NULL) {
2426 &(xar->hardlink_rbtree), pathname);
1941 file_create_virtual_dir(struct archive_write *a, struct xar *xar, const char *pathname) argument
H A Darchive_write_set_format_iso9660.c4694 * Generate a parent directory name and a base name from a pathname.
4700 const char *pathname; local
4712 pathname = archive_entry_pathname(file->entry);
4713 if (pathname == NULL || pathname[0] == '\0') {/* virtual root */
4807 archive_strcpy(&(file->parentdir), pathname);
4919 pathname = archive_entry_symlink(file->entry);
4920 archive_strcpy(&(file->symlink), pathname);
4963 /* The pathname doesn't have a parent directory. */
4988 const char *pathname; local
5175 isoent_create_virtual_dir(struct archive_write *a, struct iso9660 *iso9660, const char *pathname) argument
[all...]
H A Darchive_read_support_format_cab.c247 struct archive_string pathname; member in struct:cffile
814 /* Copy a pathname. */
815 archive_string_init(&(file->pathname));
816 archive_strncpy(&(file->pathname), p, len);
943 /* If a pathname is UTF-8, prepare a string conversion object
971 r = cab_convert_path_separator_1(&(file->pathname), file->attr);
972 if (archive_entry_copy_pathname_l(entry, file->pathname.s,
973 archive_strlen(&(file->pathname)), sconv) != 0) {
2029 archive_string_free(&(hd->file_array[i].pathname));
/freebsd-10.0-release/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-10.0-release/crypto/openssh/
H A Dsftp-server.c929 char pathname[MAXPATHLEN]; local
940 snprintf(pathname, sizeof pathname, "%s%s%s", path,
942 if (lstat(pathname, &st) < 0)
H A Dsftp.c523 pathname_is_dir(char *pathname) argument
525 size_t l = strlen(pathname);
527 return l > 0 && pathname[l - 1] == '/';
1190 /* Get first pathname (mandatory) */
1197 /* Get second pathname (optional) */
1231 /* Get pathname (mandatory) */
1288 /* Get pathname (mandatory) */
/freebsd-10.0-release/sys/compat/freebsd32/
H A Dfreebsd32.h387 char pathname[MAXPATHLEN]; member in struct:kld32_file_stat
/freebsd-10.0-release/usr.bin/rpcgen/
H A Drpc_main.c448 generate_guard(const char *pathname) argument
453 filename = strrchr(pathname, '/'); /* find last component */
454 filename = ((filename == 0) ? pathname : filename+1);
/freebsd-10.0-release/contrib/sendmail/src/
H A Dutil.c2400 ** pathname -- pathname to check for directory-ness.
2404 ** true -- if the indicated pathname is a directory
2409 path_is_dir(pathname, createflag)
2410 char *pathname;
2416 if (lstat(pathname, &statbuf) < 0)
2418 if (stat(pathname, &statbuf) < 0)
2423 if (mkdir(pathname, 0755) < 0)
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Interpreter/
H A DScriptInterpreterPython.cpp2749 ScriptInterpreterPython::LoadScriptingModule (const char* pathname, argument
2754 if (!pathname || !pathname[0])
2756 error.SetErrorString("invalid pathname");
2769 FileSpec target_file(pathname, true);
2784 if (strchr(pathname,'\\') || strchr(pathname,'/'))
2786 error.SetErrorString("invalid pathname");
2789 basename = pathname; // not a filename, probably a package of some sort, let it go through
/freebsd-10.0-release/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_pool.c2426 char *pathname = NULL; local
2432 &pathname) == 0);
2444 pathname += strlen(DISK_ROOT) + 1;
2445 (void) zpool_relabel_disk(hdl, pathname);
3787 char *pathname, size_t len)
3796 (void) snprintf(pathname, len, "<metadata>:<0x%llx>", obj);
3806 (void) snprintf(pathname, len, "<0x%llx>:<0x%llx>",
3821 (void) snprintf(pathname, len, "%s%s", mntpnt,
3824 (void) snprintf(pathname, len, "%s:%s",
3828 (void) snprintf(pathname, le
3786 zpool_obj_to_path(zpool_handle_t *zhp, uint64_t dsobj, uint64_t obj, char *pathname, size_t len) argument
[all...]
/freebsd-10.0-release/contrib/gdb/gdb/
H A Dtracepoint.c2269 char *indent, *actionline, *pathname; local
2281 pathname = tilde_expand (args);
2282 if (!(fp = fopen (pathname, "w")))
2285 xfree (pathname);
/freebsd-10.0-release/tools/regression/usr.bin/env/
H A Dregress-sb.rb350 optval.gsub!(/\[%- script\.pathname -%\]/x, $scriptfile)
/freebsd-10.0-release/sys/cddl/dev/fbt/
H A Dfbt_powerpc.c511 printf("Bad magic value in CTF data of '%s'\n",lf->pathname);
516 printf("No symbol table in '%s'\n",lf->pathname);
H A Dfbt.c588 printf("Bad magic value in CTF data of '%s'\n",lf->pathname);
593 printf("No symbol table in '%s'\n",lf->pathname);
/freebsd-10.0-release/sys/compat/linux/
H A Dlinux_stats.c612 LCONVPATHEXIST_AT(td, args->pathname, &path, dfd);
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_main.c3934 char *pathname; local
3946 pathname = safe_malloc(len);
3957 zpool_obj_to_path(zhp, dsobj, obj, pathname, len);
3958 (void) printf("%7s %s\n", "", pathname);
3960 free(pathname);
/freebsd-10.0-release/sys/amd64/linux32/
H A Dlinux32_proto.h907 char pathname_l_[PADL_(const char *)]; const char * pathname; char pathname_r_[PADR_(const char *)]; member in struct:linux_mkdirat_args
930 char pathname_l_[PADL_(char *)]; char * pathname; char pathname_r_[PADR_(char *)]; member in struct:linux_fstatat64_args
936 char pathname_l_[PADL_(const char *)]; const char * pathname; char pathname_r_[PADR_(const char *)]; member in struct:linux_unlinkat_args
H A Dlinux32_systrace_args.c1935 uarg[1] = (intptr_t) p->pathname; /* const char * */
1974 uarg[1] = (intptr_t) p->pathname; /* char * */
1984 uarg[1] = (intptr_t) p->pathname; /* const char * */
/freebsd-10.0-release/sys/i386/linux/
H A Dlinux_proto.h926 char pathname_l_[PADL_(const char *)]; const char * pathname; char pathname_r_[PADR_(const char *)]; member in struct:linux_mkdirat_args
949 char pathname_l_[PADL_(char *)]; char * pathname; char pathname_r_[PADR_(char *)]; member in struct:linux_fstatat64_args
955 char pathname_l_[PADL_(const char *)]; const char * pathname; char pathname_r_[PADR_(const char *)]; member in struct:linux_unlinkat_args
H A Dlinux_systrace_args.c2026 uarg[1] = (intptr_t) p->pathname; /* const char * */
2065 uarg[1] = (intptr_t) p->pathname; /* char * */
2075 uarg[1] = (intptr_t) p->pathname; /* const char * */

Completed in 759 milliseconds

123456