/freebsd-current/lib/libc/db/db/ |
H A D | db.c | 54 dbopen(const char *fname, int flags, int mode, DBTYPE type, const void *openinfo) argument 65 return (__bt_open(fname, flags & USE_OPEN_FLAGS, 68 return (__hash_open(fname, flags & USE_OPEN_FLAGS, 71 return (__rec_open(fname, flags & USE_OPEN_FLAGS,
|
/freebsd-current/contrib/file/src/ |
H A D | apptype.c | 50 fname[_MAX_FNAME], ext[_MAX_EXT]; local 61 _splitpath(filename, drive, dir, fname, ext); 64 fname, 88 printf("%s: not an executable file\n", fname); 90 printf("%s: not found\n", fname); 92 printf("%s: access denied\n", fname); 94 printf("%s: error code = %lu\n", fname, rc);
|
/freebsd-current/contrib/bearssl/tools/ |
H A D | chain.c | 104 const char *fname; local 108 fname = argv[i]; 109 if (fname == NULL) { 113 fprintf(stderr, "Reading file '%s': ", fname); 116 xcs = read_certificates(fname, &num);
|
H A D | files.c | 35 read_file(const char *fname, size_t *len) argument 41 f = fopen(fname, "rb"); 44 "ERROR: could not open file '%s' for reading\n", fname); 58 fname); 74 write_file(const char *fname, const void *data, size_t len) argument 79 f = fopen(fname, "wb"); 82 "ERROR: could not open file '%s' for reading\n", fname); 93 fname); 101 fprintf(stderr, "ERROR: write error on file '%s'\n", fname); 250 read_certificates(const char *fname, size_ argument [all...] |
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | mktree.c | 100 char fname[MAXPATHLEN] = {0}; local 122 (void) memset(fname, '\0', sizeof (fname)); 123 (void) strcpy(fname, 125 crtfile(fname); 131 (void) memset(fname, '\0', sizeof (fname)); 132 (void) strcpy(fname, getfdname(pdir, TYPE_F, level, d, f)); 133 crtfile(fname);
|
/freebsd-current/tests/sys/cddl/zfs/bin/ |
H A D | mktree.c | 100 char fname[MAXPATHLEN] = {0}; local 122 (void) memset(fname, '\0', sizeof (fname)); 123 (void) strcpy(fname, 125 crtfile(fname); 131 (void) memset(fname, '\0', sizeof (fname)); 132 (void) strcpy(fname, getfdname(pdir, TYPE_F, level, d, f)); 133 crtfile(fname);
|
/freebsd-current/contrib/tcsh/ |
H A D | gethost.c | 226 const char *fname = "stdin"; local 247 if ((fp = fopen(fname = argv[1], "r")) == NULL) { 248 (void) fprintf(stderr, "%s: Cannot open `%s'\n", pname, fname); 296 pname, fname, lineno); 301 pname, fname, lineno); 311 pname, fname, lineno); 323 pname, fname, lineno); 340 pname, fname, lineno); 345 pname, fname, lineno); 350 (void) fprintf(stdout, "# %d \"%s\"\n", lineno + 1, fname); [all...] |
/freebsd-current/contrib/less/ |
H A D | lglob.h | 51 #define DECL_GLOB_NAME(fnd,drive,dir,fname,ext,handle) \ 55 char fname[_MAX_FNAME]; \ 66 #define DECL_GLOB_NAME(fnd,drive,dir,fname,ext,handle) \ 70 char fname[_MAX_FNAME]; \ 82 #define DECL_GLOB_NAME(fnd,drive,dir,fname,ext,handle) \ 86 char fname[MAXFILE]; \
|
/freebsd-current/usr.bin/truss/ |
H A D | main.c | 70 char *fname; local 76 fname = NULL; 116 fname = optarg; 140 if (fname != NULL) { /* Use output file */ 145 if ((trussinfo->outfile = fopen(fname, "we")) == NULL) 146 err(1, "cannot open %s", fname);
|
/freebsd-current/sbin/fsck_msdosfs/ |
H A D | check.c | 47 checkfilesys(const char *fname) argument 60 printf("** %s", fname); 62 dosfs = open(fname, rdonly ? O_RDONLY : O_RDWR, 0); 64 dosfs = open(fname, O_RDONLY, 0); 74 perr("Can't open `%s'", fname); 86 printf("%s: ", fname);
|
/freebsd-current/usr.bin/ldd/ |
H A D | ldd.c | 72 static int is_executable(const char *fname, int fd, int *is_shlib, 266 has_freebsd_abi_tag(const char *fname, Elf *elf, GElf_Ehdr *ehdr, off_t offset, argument 279 warnx("%s: %s", fname, elf_errmsg(0)); 296 warnx("%s: failed to parse notes: %s", fname, elf_errmsg(0)); 334 is_pie(const char *fname, Elf *elf, GElf_Ehdr *ehdr, off_t offset, size_t len) argument 346 warnx("%s: %s", fname, elf_errmsg(0)); 352 warnx("%s: %s", fname, elf_errmsg(0)); 370 warnx("%s: failed to parse .dynamic: %s", fname, elf_errmsg(0)); 390 is_executable(const char *fname, int fd, int *is_shlib, int *type) argument 410 warnx("%s: %s", fname, elf_errms [all...] |
/freebsd-current/contrib/ntp/sntp/libopts/ |
H A D | load.c | 79 * arg: + char const * + fname + The input name + 125 optionMakePath(char * p_buf, int b_sz, char const * fname, char const * prg_path) argument 128 size_t len = strlen(fname); 137 if (*fname != '$') { 138 char const * src = fname; 155 else switch (fname[1]) { 160 if (! add_prog_path(p_buf, b_sz, fname, prg_path)) 169 program_pkgdatadir, fname + 2) >= b_sz) 174 if (! add_env_val(p_buf, b_sz, fname)) 185 add_prog_path(char * buf, int b_sz, char const * fname, cha argument [all...] |
H A D | pgusage.c | 68 mk_pager_cmd(char const * fname) argument 88 bfsz = 2 * strlen(fname) + strlen(pager) + PAGE_USAGE_FMT_LEN; 90 snprintf(res, bfsz, PAGE_USAGE_FMT, pager, fname); 91 AGFREE(fname);
|
/freebsd-current/contrib/ntp/ntpd/ |
H A D | ntp_filegen.c | 62 const char * fname, 68 fgp->fname = estrdup(fname); 86 free(fgp->fname); 113 len = strlen(gen->dir) + strlen(gen->fname) + 65; 117 snprintf(filename, len, "%s%s", gen->dir, gen->fname); 407 const char * fname, 419 if (strcmp(dir, gen->dir) == 0 && strcmp(fname, gen->fname) == 0 426 if (!valid_fileref(dir, fname)) 60 filegen_init( const char * dir, const char * fname, FILEGEN * fgp ) argument 404 filegen_config( FILEGEN * gen, const char * dir, const char * fname, u_int type, u_int flag ) argument [all...] |
/freebsd-current/crypto/openssl/crypto/asn1/ |
H A D | tasn_prn.c | 106 const char *fname, const char *sname, 114 const char *fname, const char *sname, 118 const char *fname, const char *sname, 136 const char *fname, const char *sname, 157 if (!nohdr && !asn1_print_fsname(out, indent, fname, sname, pctx)) 175 if (!asn1_primitive_print(out, fld, it, indent, fname, sname, pctx)) 180 if (!nohdr && !asn1_print_fsname(out, indent, fname, sname, pctx)) 213 if (!nohdr && !asn1_print_fsname(out, indent, fname, sname, pctx)) 215 if (fname || sname) { 268 const char *sname, *fname; local 134 asn1_item_print_ctx(BIO *out, const ASN1_VALUE **fld, int indent, const ASN1_ITEM *it, const char *fname, const char *sname, int nohdr, const ASN1_PCTX *pctx) argument 331 asn1_print_fsname(BIO *out, int indent, const char *fname, const char *sname, const ASN1_PCTX *pctx) argument 433 asn1_primitive_print(BIO *out, const ASN1_VALUE **fld, const ASN1_ITEM *it, int indent, const char *fname, const char *sname, const ASN1_PCTX *pctx) argument [all...] |
/freebsd-current/contrib/libpcap/ |
H A D | sf-pcap.c | 795 pcap_setup_dump(pcap_t *p, int linktype, FILE *f, const char *fname) argument 813 errno, "Can't write to %s", fname); 822 * Initialize so that sf_write() will output to the file named 'fname'. 825 pcap_dump_open(pcap_t *p, const char *fname) argument 837 fname); 844 fname, p->linktype); 849 if (fname == NULL) { 854 if (fname[0] == '-' && fname[1] == '\0') { 856 fname 928 pcap_dump_open_append(pcap_t *p, const char *fname) argument [all...] |
/freebsd-current/usr.bin/truncate/ |
H A D | truncate.c | 64 char *fname, *rname; local 153 while ((fname = *argv++) != NULL) { 156 if ((fd = open(fname, oflags, omode)) == -1) { 158 warn("%s", fname); 165 warn("%s", fname); 172 warn("%s", fname); 180 warn("%s", fname); 208 warn("%s", fname);
|
/freebsd-current/usr.bin/sed/ |
H A D | extern.h | 43 extern const char *fname, *outfname;
|
/freebsd-current/contrib/libedit/ |
H A D | hist.h | 67 #define HIST_LOAD(el, fname) HIST_FUN(el, H_LOAD fname) 68 #define HIST_SAVE(el, fname) HIST_FUN(el, H_SAVE fname)
|
/freebsd-current/contrib/ntp/include/ |
H A D | ntp_filegen.h | 40 char * fname; /* filename prefix of generation file */ member in struct:filegen_tag
|
/freebsd-current/contrib/ntp/sntp/libevent/ |
H A D | evutil_rand.c | 47 evutil_secure_rng_set_urandom_device_file(char *fname) argument 49 (void) fname; 158 evutil_secure_rng_set_urandom_device_file(char *fname) argument 162 arc4random_urandom_filename = fname;
|
/freebsd-current/usr.sbin/fifolog/lib/ |
H A D | libfifolog.h | 42 struct fifolog_reader *fifolog_reader_open(const char *fname);
|
/freebsd-current/contrib/libevent/ |
H A D | evutil_rand.c | 47 evutil_secure_rng_set_urandom_device_file(char *fname) argument 49 (void) fname; 158 evutil_secure_rng_set_urandom_device_file(char *fname) argument 162 arc4random_urandom_filename = fname;
|
/freebsd-current/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_str.h | 62 kmp_str_fname_t fname = __kmp_str_fname_init( path ); 63 // Use fname.path (copy of original path ), fname.dir, fname.base. 64 // Note fname.dir concatenated with fname.base gives exact copy of path. 65 __kmp_str_fname_free( & fname ); 73 void __kmp_str_fname_init(kmp_str_fname_t *fname, char const *path); 74 void __kmp_str_fname_free(kmp_str_fname_t *fname); 75 // Compares file name with specified pattern. If pattern is NULL, any fname 94 kmp_str_fname_t fname; // Will be initialized if init_fname is true. member in struct:kmp_str_loc [all...] |
/freebsd-current/sys/contrib/zstd/examples/ |
H A D | simple_compression.c | 17 static void compress_orDie(const char* fname, const char* oname) argument 20 void* const fBuff = mallocAndLoadFile_orDie(fname, &fSize); 34 printf("%25s : %6u -> %7u - %s \n", fname, (unsigned)fSize, (unsigned)cSize, oname);
|