Searched defs:filename (Results 1 - 25 of 626) sorted by relevance

1234567891011>>

/freebsd-head/contrib/libarchive/libarchive/test/
H A Dtest_archive_read_close_twice_open_filename.c31 const char *filename = "empty.file"; local
34 assertMakeFile(filename, 0644, "");
36 assertEqualInt(ARCHIVE_OK, archive_read_open_filename(a, filename, 0));
H A Dtest_write_disk_no_hfs_compression.c36 has_xattr(const char *filename, const char *xattrname) argument
42 r = listxattr(filename, NULL, 0, XATTR_SHOWCOMPRESSION);
52 r = listxattr(filename, nl, r, XATTR_SHOWCOMPRESSION);
H A Dtest_write_format_gnutar_filenames.c32 * This writes a filename of every length from 1 to 2000 bytes and
36 static char filename[2048]; variable
60 filename[i] = 'a';
61 filename[i + 1] = '\0';
62 archive_entry_copy_pathname(template, filename);
75 /* Read back and verify the filename. */
82 assertEqualString(filename, archive_entry_pathname(ae));
120 filename[i] = 'a';
121 filename[i + 1] = '\0';
122 archive_entry_copy_symlink(template, filename);
[all...]
H A Dtest_tar_filenames.c38 char filename[400]; local
46 p = filename;
48 strcpy(filename, prefix);
60 strcpy(dirname, filename);
73 archive_entry_copy_pathname(ae, filename);
114 /* Read the file and check the filename. */
116 assertEqualString(filename, archive_entry_pathname(ae));
H A Dtest_ustar_filenames.c36 char filename[400]; local
45 strcpy(filename, prefix);
50 filename[i] = 'a';
51 filename[i++] = '/';
55 filename[i] = 'b';
56 filename[i] = '\0';
58 strcpy(dirname, filename);
71 archive_entry_copy_pathname(ae, filename);
125 /* Read the file and check the filename. */
128 assertEqualString(filename, archive_entry_pathnam
[all...]
/freebsd-head/bin/setfacl/
H A Dfile.c43 get_acl_from_file(const char *filename) argument
49 if (filename == NULL)
50 err(1, "(null) filename in get_acl_from_file()");
52 if (strcmp(filename, "-") == 0) {
58 file = fopen(filename, "r");
60 err(1, "fopen() %s failed", filename);
67 err(1, "error reading from %s", filename);
70 errx(1, "line too long in %s", filename);
H A Dmask.c43 set_acl_mask(acl_t *prev_acl, const char *filename) argument
62 err(1, "%s: acl_dup() failed", filename);
73 warn("%s: acl_calc_mask() failed", filename);
90 filename);
104 warnx("%s: warning: no mask entry", filename);
/freebsd-head/lib/libsecureboot/
H A Dvesigned.c43 verify_signed(const char *filename, int flags) argument
50 snprintf(buf, sizeof(buf), "%s.%s", filename, *se);
/freebsd-head/contrib/capsicum-test/
H A Drename.cc18 const char * create_tmp_src(const char* filename) { argument
19 const char *src_path = TmpFile(filename);
/freebsd-head/crypto/openssl/include/internal/
H A Dconf.h21 char *filename; member in struct:ossl_init_settings_st
/freebsd-head/contrib/gdb/gdb/mi/
H A Dmi-symbol-cmds.c35 char *filename; local
43 filename = argv[0];
44 s = lookup_symtab (filename);
/freebsd-head/contrib/binutils/gas/
H A Doutput-file.c54 output_file_close (char *filename) argument
69 as_fatal (_("can't close %s: %s"), filename,
/freebsd-head/contrib/binutils/libiberty/
H A Dlrealpath.c28 version of the filename. Symlinks will be resolved, and ``.'' and ``..''
76 lrealpath (const char *filename) argument
78 /* Method 1: The system has a compile time upper bound on a filename
85 const char *rp = realpath (filename, buf);
87 rp = filename;
97 char *rp = canonicalize_file_name (filename);
99 return strdup (filename);
123 rp = realpath (filename, buf);
124 ret = strdup (rp ? rp : filename);
141 DWORD len = GetFullPathName (filename, MAX_PAT
[all...]
/freebsd-head/crypto/heimdal/lib/roken/
H A Ddumpdata.c39 * Write datablob to a filename, don't care about errors.
43 rk_dumpdata (const char *filename, const void *buf, size_t size) argument
47 fd = open(filename, O_WRONLY|O_TRUNC|O_CREAT, 0640);
55 * Read all data from a filename, care about errors.
59 rk_undumpdata(const char *filename, void **buf, size_t *size) argument
67 fd = open(filename, O_RDONLY, 0);
H A Dwrite_pid.c57 pid_file_delete (char **filename) argument
59 if (*filename != NULL) {
60 unlink (*filename);
61 free (*filename);
62 *filename = NULL;
/freebsd-head/contrib/libarchive/tar/test/
H A Dtest_option_C_mtree.c38 char *filename = "output.tar"; local
62 r = systemf("%s -cf %s -C bar @%s >step1.out 2>step1.err", testprog, filename, absolute_path);
63 failure("Error invoking %s -cf %s -C bar @%s", testprog, filename, absolute_path);
65 r = systemf("%s -cf %s -C bar \"@%s\" >step1.out 2>step1.err", testprog, filename, absolute_path);
66 failure("Error invoking %s -cf %s -C bar \"@%s\"", testprog, filename, absolute_path);
/freebsd-head/crypto/openssl/crypto/conf/
H A Dconf_sap.c46 const char *filename; local
53 filename = settings ? settings->filename : NULL;
59 filename, appname, flags);
69 ret = CONF_modules_load_file(filename, appname, flags);
/freebsd-head/contrib/gdb/gdb/
H A Dcoff-solib.c83 char *filename; local
94 filename = (char *) ent + nameoffset * 4;
96 objfile = symbol_file_add (filename, from_tty,
H A Dmacrotab.h39 - Answer 2: "Compilation unit, filename, and line number." This is
129 const char *filename; member in struct:macro_source_file
188 const char *filename);
213 none. NAME is only the final portion of the filename, not the full
/freebsd-head/contrib/ldns/drill/
H A Droot.c77 read_root_hints(const char *filename) argument
87 fp = fopen(filename, "r");
89 fprintf(stderr, "Unable to open %s for reading: %s\n", filename, strerror(errno));
/freebsd-head/contrib/unvis/
H A Dunvis.c108 process(FILE *fp, const char *filename, int eflags) argument
125 warnx("%s: offset: %d: can't decode", filename, offset);
/freebsd-head/contrib/ipfilter/lib/
H A Dload_file.c13 load_file(char *filename) argument
20 fp = fopen(filename + 7, "r");
22 fprintf(stderr, "load_file cannot open '%s'\n", filename);
40 linenum, filename);
90 filename, linenum, t);
/freebsd-head/contrib/netbsd-tests/fs/ffs/
H A Dh_ffs_server.c55 const char *filename; local
78 filename = argv[0];
93 rump_pub_etfs_register("/diskdev", filename, RUMP_ETFS_BLK);
/freebsd-head/contrib/netbsd-tests/modules/k_helper3/
H A Dk_helper3.c61 char filename[MAXPATHLEN], *propsstr, *shortname, *dot; local
73 (void)vsnprintf(filename, sizeof(filename), fmt, ap);
76 ml.ml_filename = filename;
81 printf("Loading module %s\n", filename);
89 shortname = strrchr(filename, '/');
93 shortname = filename;
/freebsd-head/contrib/smbfs/smbutil/
H A Dprint.c64 char *filename; local
90 filename = argv[optind + 1];
92 if (strcmp(filename, "-") == 0) {
94 filename = "stdin";
96 file = open(filename, O_RDONLY, 0);
98 smb_error("could not open file %s\n", errno, filename);
111 ctx->ct_ssn.ioc_srvname, filename);

Completed in 151 milliseconds

1234567891011>>