Searched refs:filename (Results 51 - 75 of 942) sorted by relevance

1234567891011>>

/freebsd-current/usr.sbin/crunch/crunchide/
H A Dcrunchide.c80 static void add_file_to_keep_list(char *filename);
82 static int hide_syms(const char *filename);
182 add_file_to_keep_list(char *filename) argument
188 if((keepf = fopen(filename, "r")) == NULL) {
189 perror(filename);
219 hide_syms(const char *filename) argument
223 fd = open(filename, O_RDWR, 0);
225 perror(filename);
234 perror(filename);
237 if ((*exec_formats[i].check)(fd, filename) !
[all...]
/freebsd-current/crypto/openssl/test/
H A Dcms-examples.pl60 my ( $filename, $data );
73 $filename = $1;
77 $filename = "$exdir/$filename";
78 if ( $filename =~ /\.bin$/ || $filename =~ /\.eml$/ ) {
80 open OUT, ">$filename";
84 push @cleanup, $filename;
86 elsif ( $filename =~ /\.cer$/ ) {
87 write_pem( $filename, "CERTIFICAT
[all...]
/freebsd-current/contrib/ntp/sntp/tests/
H A DfileHandlingTest.c13 const char * filename,
18 size_t plen = sizeof(srcdir) + strlen(filename) + 1;
24 retc = snprintf(path, plen, "%s%s", srcdir, filename);
92 const char * filename
95 if (!truncate(filename, 0))
12 CreatePath( const char * filename, enum DirectoryType argument ) argument
H A Dutilities.c14 void InitDebugTest(const char * filename);
51 InitDebugTest(const char * filename) { argument
54 outputFile = fopen(filename, "w+");
149 char * filename = "debug-output-pkt"; local
150 InitDebugTest(filename);
165 FinishDebugTest(CreatePath("debug-input-pkt", INPUT_DIR), filename);
171 char * filename = "debug-output-lfp-bin";//CreatePath("debug-output-lfp-bin", OUTPUT_DIR); local
172 InitDebugTest(filename);
183 FinishDebugTest(CreatePath("debug-input-lfp-bin", INPUT_DIR), filename);
189 char * filename local
[all...]
/freebsd-current/sbin/ipf/libipf/
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-current/tools/tools/sortbench/
H A Dbench.py53 filename = '{}/{}{}'.format(datadir, test, sort) variable
54 files.append(filename)
55 with open(filename, 'w+') as f:
66 for filename in files:
67 command += '{} '.format(filename)
/freebsd-current/crypto/openssl/crypto/conf/
H A Dconf_sap.c48 const char *filename; local
57 filename = settings ? settings->filename : NULL;
64 filename, appname, flags);
69 filename, appname, flags);
/freebsd-current/contrib/libarchive/tar/test/
H A Dtest_option_C_mtree.c37 char *filename = "output.tar"; local
61 r = systemf("%s -cf %s -C bar @%s >step1.out 2>step1.err", testprog, filename, absolute_path);
62 failure("Error invoking %s -cf %s -C bar @%s", testprog, filename, absolute_path);
64 r = systemf("%s -cf %s -C bar \"@%s\" >step1.out 2>step1.err", testprog, filename, absolute_path);
65 failure("Error invoking %s -cf %s -C bar \"@%s\"", testprog, filename, absolute_path);
/freebsd-current/contrib/expat/tests/
H A Dudiffer.py37 def _read_lines(filename):
39 with open(filename) as f:
42 with open(filename, encoding='utf_16') as f:
/freebsd-current/tests/sys/cddl/zfs/bin/
H A Drandfree_file.c42 "[-n section-len] filename\n", progname);
49 char *filename, *buf; local
73 filename = argv[optind];
79 if ((fd = open(filename, O_RDWR|O_CREAT|O_TRUNC)) < 0) {
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_read_open_filename.c80 char m[1];/* MBS filename. */
81 wchar_t w[1];/* WCS filename. */
82 } filename; /* Must be last! */ member in struct:read_file_data
95 archive_read_open_file(struct archive *a, const char *filename, argument
98 return (archive_read_open_filename(a, filename, block_size));
102 archive_read_open_filename(struct archive *a, const char *filename, argument
106 filenames[0] = filename;
116 const char *filename = NULL; local
118 filename = *(filenames++);
123 if (filename
253 const char *filename = NULL; local
[all...]
H A Darchive_write_set_format_filter_by_ext.c99 archive_write_set_format_filter_by_ext(struct archive *a, const char *filename) argument
101 int names_index = get_array_index(filename);
112 archive_set_error(a, EINVAL, "No such format '%s'", filename);
118 archive_write_set_format_filter_by_ext_def(struct archive *a, const char *filename, const char * def_ext) argument
120 int names_index = get_array_index(filename);
134 archive_set_error(a, EINVAL, "No such format '%s'", filename);
/freebsd-current/crypto/heimdal/kuser/
H A Dgenerate-requests.c37 read_words (const char *filename, char ***ret_w) argument
44 f = fopen (filename, "r");
46 err (1, "cannot open %s", filename);
58 errx(1, "%s is an empty file, no words to try", filename);
64 generate_requests (const char *filename, unsigned nreq) argument
78 nwords = read_words (filename, &words);
/freebsd-current/sys/contrib/openzfs/scripts/
H A Ddkms.mkconf12 f) filename=$OPTARG ;;
17 if [ -z "${pkgname}" ] || [ -z "${pkgver}" ] || [ -z "${filename}" ] ||
19 echo "Usage: $PROG -n <pkgname> -v <pkgver> -c <pkgcfg> -f <filename>"
23 exec cat >"${filename}" <<EOF
/freebsd-current/tools/test/stress2/misc/
H A Ddatagram.sh56 char *filename = "/tmp/datagram.socket";
65 unlink(filename);
68 strncpy(addr.sun_path, filename, 104);
/freebsd-current/contrib/sendmail/libsmutil/
H A Dlockfile.c24 ** filename -- the file name (for error messages). [unused]
25 ** ext -- the filename extension. [unused]
37 lockfile(fd, filename, ext, type)
39 char *filename;
/freebsd-current/contrib/ntp/libntp/lib/isc/unix/
H A Dfile.c317 isc_file_remove(const char *filename) { argument
320 REQUIRE(filename != NULL);
322 r = unlink(filename);
353 isc_file_isplainfile(const char *filename) { argument
355 * This function returns success if filename is a plain file.
360 if ((stat(filename, &filestat)) == -1)
370 isc_file_isabsolute(const char *filename) { argument
371 REQUIRE(filename != NULL);
372 return (ISC_TF(filename[0] == '/'));
376 isc_file_iscurrentdir(const char *filename) { argument
382 isc_file_ischdiridempotent(const char *filename) argument
392 isc_file_basename(const char *filename) argument
405 isc_file_progname(const char *filename, char *buf, size_t buflen) argument
454 isc_file_absolutepath(const char *filename, char *path, size_t pathlen) argument
466 isc_file_truncate(const char *filename, isc_offset_t size) argument
475 isc_file_safecreate(const char *filename, FILE **fp) argument
[all...]
/freebsd-current/lib/libsecureboot/
H A Dvesigned.c41 verify_signed(const char *filename, int flags) argument
48 snprintf(buf, sizeof(buf), "%s.%s", filename, *se);
/freebsd-current/share/mk/
H A Dversion_gen.awk112 # Set meaningful filename for diagnostics.
113 filename = FILENAME != "" ? FILENAME : "<stdin>";
129 filename, FNR) > stderr;
134 "library version `%s'.\n", filename, FNR, $1) > stderr;
161 filename, FNR, $1,
171 filename, FNR, $1, current_version) > stderr;
179 filename, FNR, $1) > stderr;
189 filename, FNR, $1) > stderr;
200 filename, FNR, $0) > stderr;
/freebsd-current/stand/common/
H A Dinterp_lua.c143 const char *filename; local
148 filename = getenv("loader_lua");
149 if (filename == NULL)
150 filename = LOADER_LUA;
151 if (interp_include(filename) != 0) {
221 interp_include(const char *filename) argument
225 LDBG("loading file %s", filename);
227 return (luaL_dofile(softc->luap, filename));
/freebsd-current/contrib/openpam/lib/libpam/
H A Dopenpam_configure.c60 * string consisting entirely of characters in the POSIX portable filename
120 * string consisting entirely of characters in the POSIX portable filename
156 const char *filename,
193 filename, lineno);
209 filename, lineno);
216 filename, lineno);
240 filename, lineno);
250 filename, lineno);
312 openpam_log(PAM_LOG_ERROR, "%s: %m", filename);
342 const char *filename,
152 openpam_parse_chain(pam_handle_t *pamh, const char *service, pam_facility_t facility, FILE *f, const char *filename, openpam_style_t style) argument
339 openpam_load_file(pam_handle_t *pamh, const char *service, pam_facility_t facility, const char *filename, openpam_style_t style) argument
389 char filename[PATH_MAX]; local
[all...]
/freebsd-current/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);
/freebsd-current/crypto/heimdal/lib/sl/
H A Dslc.h50 extern char *filename;
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dtruncate_test.c29 static char *filename = NULL; variable
50 fd = open(filename, O_RDWR|O_CREAT, 0666);
64 if (truncate(filename, fsize) < 0) {
99 (void) fprintf(stderr, "No filename specified\n");
102 filename = argv[optind];
/freebsd-current/crypto/openssl/crypto/dso/
H A Ddso_dl.c22 static char *dl_name_converter(DSO *dso, const char *filename);
59 * platform-independent filename and try once with that.
61 char *filename = DSO_convert_filename(dso, NULL); local
63 if (filename == NULL) {
67 ptr = shl_load(filename, BIND_IMMEDIATE |
75 "filename(%s): %s", filename, errbuf);
78 "filename(%s): errno %d", filename, errno);
86 * Success, stick the converted filename w
219 dl_name_converter(DSO *dso, const char *filename) argument
[all...]

Completed in 198 milliseconds

1234567891011>>