Searched refs:filename (Results 126 - 150 of 942) sorted by relevance

1234567891011>>

/freebsd-current/crypto/openssl/test/
H A Dbio_readbuffer_test.c13 static const char *filename = NULL; variable
35 if (!TEST_ptr(in = BIO_new_file(filename, "r"))
45 || !TEST_ptr(in_bio = BIO_new_file(filename, "r")))
127 filename = test_get_argument(0);
H A Dpkits-test.pl42 # can be converted into the filename to test.
768 my $filename = $title;
770 $filename =~ tr/ -//d;
771 $filename = "Signed${filename}.eml";
772 if ( !-f "$pkitsdir/$filename" ) {
773 print "\"$filename\" not found\n";
780 $cmd .= "-in $pkitsdir/$filename -policy anyPolicy";
794 print "Filename: $pkitsdir/$filename\n";
805 my $filename
[all...]
/freebsd-current/crypto/openssl/test/recipes/
H A D02-test_ordinals.t21 my $filename = shift;
28 open(my $fh, '<', $filename);
H A D80-test_ca.t118 my ($filename, $opts) = @_;
120 subtest "Revoke certificate and generate CRL: $filename" => sub {
132 $ENV{CN2} = $filename;
139 '-out', "$filename-req.pem",
151 '-in', "$filename-req.pem",
152 '-out', "$filename-cert.pem",
161 '-revoke', "$filename-cert.pem",
181 '-out', "$filename-crl.pem",
194 my $crl_lastupdate = crl_field("$filename-crl.pem", 'lastUpdate');
212 my $crl_nextupdate = crl_field("$filename
[all...]
/freebsd-current/usr.bin/which/
H A Dwhich.c121 print_matches(char *path, char *filename) argument
127 if (strchr(filename, '/') != NULL)
128 return (is_there(filename) ? 0 : -1);
134 filename) >= (int)sizeof(candidate))
/freebsd-current/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-current/sys/contrib/openzfs/tests/zfs-tests/cmd/file/
H A Drandfree_file.c50 "[-n section-len] filename\n", progname);
57 char *filename = NULL; local
83 filename = argv[optind];
87 if ((fd = open(filename, O_RDWR | O_CREAT | O_TRUNC, mode)) < 0) {
/freebsd-current/sys/contrib/zstd/examples/
H A Dsimple_compression.c40 static char* createOutFilename_orDie(const char* filename) argument
42 size_t const inL = strlen(filename);
46 strcat(outSpace, filename);
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionSourceCode.h45 static ClangExpressionSourceCode *CreateWrapped(llvm::StringRef filename, argument
49 return new ClangExpressionSourceCode(filename, "$__lldb_expr", prefix, body,
76 ClangExpressionSourceCode(llvm::StringRef filename, llvm::StringRef name,
/freebsd-current/crypto/openssl/include/internal/
H A Ddso.h23 * By default, DSO_load() will translate the provided filename into a form
31 * filename should be interpreted as-is.
64 * a filename to transform. They should either return NULL (if there is an
93 * These functions can be used to get/set the platform-independent filename
97 int DSO_set_filename(DSO *dso, const char *filename);
100 * filename, or if the callback isn't set it will instead use the DSO_METHOD's
101 * converter. If "filename" is NULL, the "filename" in the DSO itself will be
102 * used. If the DSO_FLAG_NO_NAME_TRANSLATION flag is set, then the filename is
108 char *DSO_convert_filename(DSO *dso, const char *filename);
[all...]
/freebsd-current/usr.bin/etdump/
H A Detdump.c118 const char *filename, struct outputter *outputter)
127 errx(1, "%s: section header out of bounds", filename);
130 outputter->output_section(outfile, filename, sh);
141 filename);
144 outputter->output_entry(outfile, filename, entry,
153 dump_eltorito(FILE *iso, const char *filename, FILE *outfile, argument
167 warnx("%s: not a valid ISO", filename);
170 warnx("%s: not an El Torito bootable ISO", filename);
181 warnx("%s: boot catalog checksum is invalid", filename);
184 outputter->output_image(outfile, filename, bv
117 dump_section(char *buffer, size_t bufsize, size_t offset, FILE *outfile, const char *filename, struct outputter *outputter) argument
[all...]
/freebsd-current/tests/sys/cddl/zfs/tests/devices/
H A Ddevices_common.kshlib38 typeset filename=$2
91 log_must $MKNOD $filename b $major $minor
97 log_must $MKNOD $filename c 13 2
/freebsd-current/contrib/sendmail/libsm/
H A Dtest.c101 ** filename -- guess...
109 sm_test(success, expr, filename, lineno)
112 char *filename;
123 (void) fprintf(stderr, "bad! %s:%d %s\n", filename, lineno,
/freebsd-current/stand/i386/libi386/
H A Dmultiboot.c57 extern int elf32_loadfile_raw(char *filename, uint64_t dest,
60 extern int elf64_obj_loadfile(char *filename, uint64_t dest,
78 multiboot_loadfile(char *filename, uint64_t dest, argument
93 if (filename == NULL)
95 if ((fd = open(filename, O_RDONLY)) == -1)
134 error = elf32_loadfile_raw(filename, dest, result, 1);
319 multiboot_obj_loadfile(char *filename, uint64_t dest, argument
342 rfp = file_loadraw(filename, "elf kernel", 0);
346 filename);
351 setenv("kernelname", filename,
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_file.h59 fd_t OpenFile(const char *filename, FileAccessMode mode,
80 bool FileExists(const char *filename);
93 pid_t StartSubprocess(const char *filename, const char *const argv[],
/freebsd-current/tools/pkgbase/
H A Dmetalog_reader.lua31 local filename
76 filename = args[i]
81 if filename == nil then
82 io.stderr:write('Missing filename.\n')
86 local sess = Analysis_session(filename, verbose, w_notagdirs)
186 -- filename = ./usr/share/man/man3/inet6_rthdr_segments.3.gz
201 local filename, rest = line:match('^(%S+) (.+)$')
208 res.filename = filename
221 if not ignore_name and l.filename ~
[all...]
/freebsd-current/crypto/openssl/crypto/dso/
H A Ddso_dlfcn.c44 static char *dlfcn_name_converter(DSO *dso, const char *filename);
100 char *filename = DSO_convert_filename(dso, NULL); local
104 if (filename == NULL) {
113 if (filename[strlen(filename) - 1] == ')')
116 ptr = dlopen(filename, flags);
119 "filename(%s): %s", filename, dlerror());
132 dso->loaded_filename = filename;
136 OPENSSL_free(filename);
253 dlfcn_name_converter(DSO *dso, const char *filename) argument
[all...]
/freebsd-current/crypto/heimdal/lib/hdb/
H A Dmkey.c111 read_master_keytab(krb5_context context, const char *filename, argument
120 ret = krb5_kt_resolve(context, filename, &id);
148 read_master_mit(krb5_context context, const char *filename, argument
157 fd = open(filename, O_RDONLY | O_BINARY);
161 filename, strerror(save_errno));
194 read_master_encryptionkey(krb5_context context, const char *filename, argument
204 fd = open(filename, O_RDONLY | O_BINARY);
208 filename, strerror(save_errno));
217 filename, strerror(save_errno));
241 read_master_krb4(krb5_context context, const char *filename, argument
285 hdb_read_master_key(krb5_context context, const char *filename, hdb_master_key *mkey) argument
342 hdb_write_master_key(krb5_context context, const char *filename, hdb_master_key mkey) argument
[all...]
H A Dhdb.c277 const char *filename,
287 p = strchr(filename, ':');
293 len = p - filename;
294 *rest = filename + len + 1;
299 strlcpy(prefix, filename, len + 1);
363 * find the relevant method for `filename', returning a pointer to the
369 find_method (const char *filename, const char **rest) argument
374 if (strncmp (filename, h->prefix, strlen(h->prefix)) == 0) {
375 *rest = filename + strlen(h->prefix);
380 if (strncmp(filename, "/",
276 find_dynamic_method(krb5_context context, const char *filename, const char **rest) argument
452 hdb_create(krb5_context context, HDB **db, const char *filename) argument
[all...]
/freebsd-current/sys/contrib/zstd/programs/
H A Dzstdcli_trace.c35 void TRACE_enable(char const* filename) argument
37 int const writeHeader = !UTIL_isRegularFile(filename);
40 g_traceFile = fopen(filename, "a");
165 void TRACE_enable(char const* filename) argument
167 (void)filename;
/freebsd-current/contrib/file/src/
H A Dapptype.c5 * Notes: 1. Qualify the filename so that DosQueryAppType does not do extraneous
13 * 3. apptype() uses the filename if given, otherwise a tmp file is created with
51 char *filename; local
55 filename = strdup(fn);
56 else if ((filename = tempnam("./", "tmp")) == NULL) {
60 /* qualify the filename to prevent extraneous searches */
61 _splitpath(filename, drive, dir, fname, ext);
84 free(filename);
/freebsd-current/libexec/atrun/
H A Datrun.c119 run_file(const char *filename, uid_t uid, gid_t gid) argument
149 if (chmod(filename, S_IRUSR) != 0)
171 (unsigned long) uid, filename);
185 filename, pam_strerror(pamh, pam_err));
194 stream=fopen(filename, "r");
199 perr("cannot open input file %s", filename);
207 if (lstat(filename, &lbuf) == -1)
211 perrx("Symbolic link encountered in job %s - aborting", filename);
217 filename);
220 perrx("Somebody is trying to run a linked script for job %s", filename);
[all...]
/freebsd-current/usr.sbin/pmcstat/
H A Dpmcpl_annotate_cg.c89 char filename[PATH_MAX], funcname[PATH_MAX]; local
98 filename[0] = '\0';
113 filename, sizeof(filename), &sline, funcname, sizeof(funcname));
120 filename,
/freebsd-current/contrib/libarchive/libarchive/test/
H A Dtest_pax_filename_encoding.c39 * the right filename returned and that we get a warning only
50 char filename[] = "abc\314\214mno\374xyz"; local
70 assertEqualString(filename, archive_entry_pathname(entry));
78 assertEqualString(filename, archive_entry_pathname(entry));
90 char filename[] = "abc\314\214mno\374xyz"; local
124 archive_entry_copy_pathname(entry, filename);
125 archive_entry_copy_gname(entry, filename);
126 archive_entry_copy_uname(entry, filename);
127 archive_entry_copy_hardlink(entry, filename);
135 archive_entry_copy_pathname(entry, filename);
[all...]
/freebsd-current/contrib/processor-trace/libipt/src/windows/
H A Dpt_section_windows.c41 static int pt_sec_windows_fstat(const char *filename, struct _stat *stat) argument
45 if (!filename || !stat)
48 fd = _open(filename, _O_RDONLY);
62 int pt_section_mk_status(void **pstatus, uint64_t *psize, const char *filename) argument
71 errcode = pt_sec_windows_fstat(filename, &stat);
233 const char *filename; local
253 filename = section->filename;
254 if (!filename) {
259 fh = CreateFileA(filename, GENERIC_REA
[all...]

Completed in 369 milliseconds

1234567891011>>