/freebsd-10.1-release/contrib/groff/src/libs/libbib/ |
H A D | linear.cpp | 44 int load(int fd, const char *filename); 304 int file_buffer::load(int fd, const char *filename) argument 308 error("can't fstat `%1': %2", filename, strerror(errno)); 310 error("`%1' is not a regular file", filename); 321 error("error reading `%1': %2", filename, strerror(errno)); 323 error("size of `%1' decreased", filename); 328 error("size of `%1' increased", filename); 330 error("database `%1' is a binary file", filename); 430 linear_search_item(const char *filename, int fid); 447 search_item *make_linear_search_item(int fd, const char *filename, in argument 458 linear_search_item(const char *filename, int fid) argument [all...] |
/freebsd-10.1-release/contrib/groff/src/preproc/eqn/ |
H A D | lex.cpp | 293 friend void init_lex(const char *str, const char *filename, int lineno); 298 char *filename; member in class:file_input 323 char *filename; member in class:top_input 362 filename = strsave(fn); 367 a_delete filename; local 419 *fnp = filename; 453 filename = strsave(fn); 458 a_delete filename; local 471 *fnp = filename; 648 void init_lex(const char *str, const char *filename, in argument 662 char *filename; local 888 const char *filename = token_buffer.contents(); local 1154 char *filename; local 1164 char *filename; local [all...] |
/freebsd-10.1-release/contrib/openbsm/bin/auditdistd/ |
H A D | receiver.c | 278 receiver_open(const char *filename) argument 288 filename, adhost->adh_trail_name); 292 if (!trail_validate_name(filename, NULL)) { 294 filename); 298 switch (trail_name_compare(filename, adhost->adh_trail_name)) { 303 adhost->adh_directory, filename); 307 adhost->adh_trail_dirfd, filename) == -1) { 311 adhost->adh_directory, filename); 317 adhost->adh_directory, filename); 321 fd = openat(adhost->adh_trail_dirfd, filename, 396 receiver_close(const char *filename) argument [all...] |
/freebsd-10.1-release/contrib/gdb/gdb/ |
H A D | symmisc.c | 266 psymtab->filename); 285 printf_filtered ("%s at ", symtab->filename); 361 if (msymbol->filename) 362 fprintf_filtered (outfile, " %s", msymbol->filename); 381 psymtab->filename); 424 psymtab->dependencies[i]->filename); 454 fprintf_filtered (outfile, "\nSymtab for file %s\n", symtab->filename); 542 char *filename = DEV_TTY; 561 filename = argv[0]; 569 filename 541 char *filename = DEV_TTY; local 781 char *filename = DEV_TTY; local 928 char *filename = DEV_TTY; local [all...] |
H A D | macrotab.c | 369 const char *filename) 376 f->filename = macro_bcache_str (t, filename); 396 macro_bcache_free (src->table, (char *) src->filename); 403 const char *filename) 409 t->main_source = new_source_file (t, filename); 453 (*link)->filename, source->filename, line); 482 if (strcmp (name, source->filename) == 0) 485 /* The filename i 364 new_source_file(struct macro_table *t, const char *filename) argument 398 macro_set_main(struct macro_table *t, const char *filename) argument [all...] |
/freebsd-10.1-release/crypto/heimdal/appl/ftp/ftpd/ |
H A D | ls.c | 83 char *filename; member in struct:fileinfo 96 free(f->filename); 150 make_fileinfo(FILE *out, const char *filename, struct fileinfo *file, int flags) argument 283 const char *p = strrchr(filename, '/'); 287 p = filename; 289 if (asprintf(&file->filename, "%s%c", p, file_type) == -1) 290 file->filename = NULL; 292 file->filename = strdup(p); 293 if (file->filename == NULL) { 300 n = readlink((char *)filename, bu 746 hide_file(const char *filename, int flags) argument [all...] |
/freebsd-10.1-release/contrib/groff/src/preproc/pic/ |
H A D | main.cpp | 44 void do_file(const char *filename); 230 string filename; local 234 filename += char(c); 244 if (filename.length() == 0) 245 error("missing filename after `<'"); 247 filename += '\0'; 251 do_file(strsave(filename.contents())); 301 void do_file(const char *filename) argument 304 if (strcmp(filename, "-") == 0) 308 fp = fopen(filename, " 454 do_whole_file(const char *filename) argument [all...] |
/freebsd-10.1-release/contrib/ntp/ntpd/ |
H A D | ntp_filegen.c | 42 * redefine this if your system dislikes filename suffixes like 105 char *filename; /* name without designation extension */ local 112 /* get basic filename in buffer, leave room for extensions */ 114 filename = emalloc(len); 117 snprintf(filename, len, "%s%s", gen->dir, gen->fname); 120 suflen = strlcpy(fullname, filename, len); 133 gen->type, filename); 223 if (stat(filename, &stats) == 0) { 233 filename, SUFFIX_SEP, 236 if (rename(filename, savenam [all...] |
/freebsd-10.1-release/contrib/ntp/util/ |
H A D | ntp-keygen.c | 174 char filename[MAXFILENAME + 1]; /* file name */ variable 201 * and later), hardlink the linkname to the original filename. On 208 char * filename, 236 link_created = (*pCreateHardLinkA)(linkname, filename, NULL); 243 linkname, filename); 263 * followlink() - replace filename with its target if symlink. 501 snprintf(filename, sizeof(filename), "ntpkey_cert_%s", hostname); 502 if ((fstr = fopen(filename, "r")) != NULL) { 575 snprintf(filename, sizeo 207 symlink( char * filename, char* linkname ) argument [all...] |
/freebsd-10.1-release/contrib/binutils/bfd/ |
H A D | opncls.c | 160 bfd *bfd_fopen (const char *filename, const char *target, 164 Open the file @var{filename} with the target @var{target}. 181 bfd_fopen (const char *filename, const char *target, const char *mode, int fd) argument 202 nbfd->iostream = real_fopen (filename, mode); 211 nbfd->filename = filename; 244 bfd *bfd_openr (const char *filename, const char *target); 247 Open the file @var{filename} (using <<fopen>>) with the target 259 bfd_openr (const char *filename, const char *target) argument 261 return bfd_fopen (filename, targe 298 bfd_fdopenr(const char *filename, const char *target, int fd) argument 342 bfd_openstreamr(const char *filename, const char *target, void *streamarg) argument 513 bfd_openr_iovec(const char *filename, const char *target, void *(*open) (struct bfd *nbfd, void *open_closure), void *open_closure, file_ptr (*pread) (struct bfd *abfd, void *stream, void *buf, file_ptr nbytes, file_ptr offset), int (*close) (struct bfd *nbfd, void *stream), int (*stat) (struct bfd *abfd, void *stream, struct stat *sb)) argument 587 bfd_openw(const char *filename, const char *target) argument 756 bfd_create(const char *filename, bfd *templ) argument 1361 bfd_create_gnu_debuglink_section(bfd *abfd, const char *filename) argument 1423 bfd_fill_in_gnu_debuglink_section(bfd *abfd, struct bfd_section *sect, const char *filename) argument [all...] |
H A D | archive.c | 61 format and back again, the filename may be truncated. 87 /* Some formats provide a way to cram a long filename into the short 90 entry. If the filename is too long to fit, put it in the extended 91 name table, and use its index as the filename. To prevent 105 BSD 4.4 uses a third scheme: It writes a long filename 121 "filename.o/ " - Regular file, System 5 style (embedded spaces ok). 122 "filename.o " - Regular file, Berkeley style (no embedded spaces). 378 char *filename = NULL; 405 /* Extract the filename from the archive - there are two ways to 413 filename 375 char *filename = NULL; local 1171 const char *filename = strrchr (file, '/'); local 1361 bfd_ar_hdr_from_filesystem(bfd *abfd, const char *filename, bfd *member) argument 1432 bfd_special_undocumented_glue(bfd *abfd, const char *filename) argument 1507 const char *filename; local 1539 const char *filename = strrchr (pathname, '/'); local 1587 const char *filename = strrchr (pathname, '/'); local [all...] |
/freebsd-10.1-release/contrib/gcclibs/libiberty/testsuite/ |
H A D | test-expandargv.c | 158 char filename[256]; local 163 /* Unique filename per test */ 164 sprintf (filename, FILENAME_PATTERN, test); 165 fd = fopen (filename, "w"); 190 char filename[256]; local 191 sprintf (filename, FILENAME_PATTERN, test); 192 if (unlink (filename) != 0)
|
/freebsd-10.1-release/contrib/libarchive/libarchive/test/ |
H A D | test_tar_filenames.c | 38 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));
|
/freebsd-10.1-release/contrib/texinfo/info/ |
H A D | footnotes.c | 94 char *filename; local 96 filename = node->parent; 97 if (!filename) 98 filename = node->filename; 100 fn_node = info_get_node (filename, refname);
|
/freebsd-10.1-release/crypto/heimdal/kpasswd/ |
H A D | kpasswd-generator.c | 39 read_words (const char *filename, char ***ret_w) argument 46 f = fopen (filename, "r"); 48 err (1, "cannot open %s", filename); 60 errx(1, "%s is an empty file, no words to try", filename); 77 generate_requests (const char *filename, unsigned nreq) argument 89 nwords = read_words (filename, &words);
|
/freebsd-10.1-release/sbin/rcorder/ |
H A D | rcorder.c | 119 char *filename; member in struct:filenode 137 static void satisfy_req(f_reqnode *rnode, char *filename); 223 * from the filename's given and the dependancies and provisions 228 * we have a new filename, create a new filenode structure. 232 filenode_new(char *filename) argument 238 temp->filename = estrdup(filename); 333 warnx("file `%s' provides `%s'.", fnode->filename, s); 335 head->next->fnode->filename); 441 crunch_file(char *filename) argument 622 satisfy_req(f_reqnode *rnode, char *filename) argument [all...] |
/freebsd-10.1-release/contrib/groff/src/utils/lkbib/ |
H A D | lkbib.cpp | 104 char *filename = getenv("REFER"); local 105 if (filename) 106 list.add_file(filename);
|
/freebsd-10.1-release/contrib/ldns/drill/ |
H A D | drill.h | 88 ldns_pkt *read_hex_pkt(char *filename); 89 ldns_buffer *read_hex_buffer(char *filename); 91 ldns_rr_list *read_root_hints(const char *filename);
|
/freebsd-10.1-release/contrib/openpam/t/ |
H A D | t_file.c | 55 t_fopen(const char *filename) argument 62 if (filename) { 63 if ((tf->name = strdup(filename)) == NULL)
|
/freebsd-10.1-release/sbin/ddb/ |
H A D | ddb.c | 57 ddb_readfile(char *filename) argument 62 if ((f = fopen(filename, "r")) == NULL) 63 err(EX_UNAVAILABLE, "fopen: %s", filename);
|
/freebsd-10.1-release/contrib/ntp/scripts/deprecated/ |
H A D | html2man.in | 65 my($filename) = @_; 66 $fileinfo = $manfiles{$filename}; 68 $p = HTML::TokeParser->new("$filename.html") || die "Can't open $filename.html: $!"; 120 if ($filename eq "ntpd" && 168 print MANOUT $table_headers{$filename};
|
/freebsd-10.1-release/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/baddof/ |
H A D | baddof.c | 156 char *filename = argv[1]; local 166 if ((fp = fopen(filename, "r")) == NULL) 167 fatal("couldn't open %s", filename); 181 fatal("failed to compile script %s: %s\n", filename,
|
/freebsd-10.1-release/contrib/apr/include/arch/unix/ |
H A D | apr_arch_shm.h | 67 const char *filename; /* NULL if anonymous */ member in struct:apr_shm_t
|
/freebsd-10.1-release/contrib/com_err/ |
H A D | compile_et.h | 51 extern char *filename;
|
/freebsd-10.1-release/contrib/gdb/gdb/mi/ |
H A D | mi-cmd-file.c | 48 Apparently, filename does not need to be tested for NULL. 61 /* Print to the user the line, filename and fullname */ 63 ui_out_field_string (uiout, "file", st.symtab->filename);
|