Searched refs:inname (Results 1 - 9 of 9) sorted by relevance

/netbsd-6-1-5-RELEASE/common/dist/zlib/examples/
H A Dgun.c531 /* Decompress the file inname to the file outnname, of if test is true, just
533 inname is NULL or an empty string, read from stdin. If outname is NULL or
535 structure. When appropriate, copy the file attributes from inname to
541 local int gunzip(z_stream *strm, char *inname, char *outname, int test) argument
547 if (inname == NULL || *inname == 0) {
548 inname = "-";
552 infile = open(inname, O_RDONLY, 0);
554 fprintf(stderr, "gun cannot open %s\n", inname);
584 copymeta(inname, outnam
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/file/dist/src/
H A Dmagic.c381 magic_file(struct magic_set *ms, const char *inname) argument
383 return file_or_fd(ms, inname, STDIN_FILENO);
387 file_or_fd(struct magic_set *ms, const char *inname, int fd) argument
406 switch (file_fsmagic(ms, inname, &sb)) {
416 if (inname == NULL) {
422 if (stat(inname, &sb) == 0 && S_ISFIFO(sb.st_mode)) {
430 if ((fd = open(inname, flags)) < 0) {
431 if (unreadable_info(ms, sb.st_mode, inname) == -1)
458 if (unreadable_info(ms, sb.st_mode, inname) == -1)
466 file_error(ms, errno, "cannot read `%s'", inname);
[all...]
H A Dfile.c422 process(struct magic_set *ms, const char *inname, int wid) argument
425 int std_in = strcmp(inname, "-") == 0;
428 (void)printf("%s", std_in ? "/dev/stdin" : inname);
433 (int) (nopad ? 0 : (wid - file_mbswidth(inname))), "");
436 type = magic_file(ms, std_in ? NULL : inname);
H A Dfuncs.c166 file_buffer(struct magic_set *ms, int fd, const char *inname __attribute__ ((__unused__)),
200 if ((ms->flags & MAGIC_NO_CHECK_APPTYPE) == 0 && inname) {
201 switch (file_os2_apptype(ms, inname, buf, nb)) {
214 if ((m = file_zmagic(ms, fd, inname, ubuf, nb)) != 0) {
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/zlib/examples/
H A Dgun.c529 /* Decompress the file inname to the file outnname, of if test is true, just
531 inname is NULL or an empty string, read from stdin. If outname is NULL or
533 structure. When appropriate, copy the file attributes from inname to
539 local int gunzip(z_stream *strm, char *inname, char *outname, int test) argument
545 if (inname == NULL || *inname == 0) {
546 inname = "-";
550 infile = open(inname, O_RDONLY, 0);
552 fprintf(stderr, "gun cannot open %s\n", inname);
582 copymeta(inname, outnam
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/pcc/dist/pcc/f77/f77/
H A Df77.c534 char *inname, *outname; local
542 inname = NULL;
552 inname = t+1;
583 if(inname)
584 freopen(inname, "r", stdin);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/netpgp/dist/src/lib/
H A Dsignature.c896 const char *inname,
907 unsigned flen = (unsigned)(strlen(inname) + 4 + 1);
914 (void) snprintf(f, flen, "%s.%s", inname, suffix);
925 \param inname Input filename
935 const char *inname,
973 if (!pgp_mem_readfile(infile, inname)) {
978 fd_out = open_output_file(&output, inname, outname,
895 open_output_file(pgp_output_t **output, const char *inname, const char *outname, const char *suffix, const unsigned overwrite) argument
934 pgp_sign_file(pgp_io_t *io, const char *inname, const char *outname, const pgp_seckey_t *seckey, const char *hashname, const int64_t from, const uint64_t duration, const unsigned armored, const unsigned cleartext, const unsigned overwrite) argument
/netbsd-6-1-5-RELEASE/libexec/makewhatis/
H A Dmakewhatis.c772 nroff(const char *inname, gzFile *in) argument
854 data = parsecatpage(inname, in);
863 inname, WEXITSTATUS(status));
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/binutils/
H A Dnlmconv.c1230 const char *inname;
1238 inname = bfd_section_name (inbfd, insec);
1299 if (! bfd_set_section_contents (outbfd, secsec, (void *) inname, secsecoff,
1300 strlen (inname) + 1))
1302 secsecoff += strlen (inname) + 1;
1225 const char *inname; local

Completed in 211 milliseconds