/freebsd/contrib/ntp/sntp/libevent/ |
H A D | event_rpcgen.py | 93 def PrintIndented(filep, ident, code): argument 96 filep.write("%s%s\n" % (ident, entry)) 105 def PrintTags(self, filep): argument 107 filep.write("/* Tag definition for %s */\n" % self._name) 108 filep.write("enum %s_ {\n" % self._name.lower()) 110 filep.write(" %s=%d,\n" % (self.EntryTagName(entry), entry.Tag())) 111 filep.write(" %s_MAX_TAGS\n" % (self._name.upper())) 112 filep.write("};\n\n") 114 def PrintForwardDeclaration(self, filep): argument 115 filep.write("struct %s;\n" % self._name) [all …]
|
/freebsd/contrib/libevent/ |
H A D | event_rpcgen.py | 93 def PrintIndented(filep, ident, code): argument 96 filep.write("%s%s\n" % (ident, entry)) 105 def PrintTags(self, filep): argument 107 filep.write("/* Tag definition for %s */\n" % self._name) 108 filep.write("enum %s_ {\n" % self._name.lower()) 110 filep.write(" %s=%d,\n" % (self.EntryTagName(entry), entry.Tag())) 111 filep.write(" %s_MAX_TAGS\n" % (self._name.upper())) 112 filep.write("};\n\n") 114 def PrintForwardDeclaration(self, filep): argument 115 filep.write("struct %s;\n" % self._name) [all …]
|
/freebsd/usr.bin/tail/ |
H A D | tail.c | 82 file_info_t file, *filep, *files; in main() local 208 for (filep = files; (fn = *argv++); filep++) { in main() 209 filep->file_name = fn; in main() 210 filep->fp = fileargs_fopen(fa, filep->file_name, "r"); in main() 211 if (filep->fp == NULL || in main() 212 fstat(fileno(filep->fp), &filep->st)) { in main() 213 if (filep->fp != NULL) { in main() 214 fclose(filep->fp); in main() 215 filep->fp = NULL; in main() 218 ierr(filep->file_name); in main()
|
/freebsd/contrib/ncurses/ncurses/base/ |
H A D | lib_screen.c | 501 NCURSES_SP_NAME(getwin) (NCURSES_SP_DCLx FILE *filep) in NCURSES_SP_NAME() 506 T((T_CALLED("getwin(%p)"), (void *) filep)); in NCURSES_SP_NAME() 508 if (filep == 0) { in NCURSES_SP_NAME() 516 if (read_block(&tmp, (size_t) 4, filep) < 0) { in NCURSES_SP_NAME() 524 if (read_win(&tmp, filep) < 0) in NCURSES_SP_NAME() 527 } else if (read_block(((char *) &tmp) + 4, sizeof(WINDOW) - 4, filep) < 0) { in NCURSES_SP_NAME() 594 if (read_block(nwin->_line[n].text, linesize, filep) < 0) { in NCURSES_SP_NAME() 611 if ((txt = read_txt(filep)) == 0) { in NCURSES_SP_NAME() 647 getwin(FILE *filep) in getwin() argument 649 return NCURSES_SP_NAME(getwin) (CURRENT_SCREEN, filep); in getwin() [all …]
|
/freebsd/contrib/hyperv/tools/ |
H A D | hv_kvp_daemon.c | 195 FILE *filep; in kvp_update_file() local 199 filep = fopen(kvp_pools[pool].fname, "w"); in kvp_update_file() 200 if (!filep) { in kvp_update_file() 208 kvp_pools[pool].num_records, filep); in kvp_update_file() 210 if (ferror(filep) || fclose(filep)) { in kvp_update_file() 226 FILE *filep; in kvp_update_mem_state() local 235 filep = fopen(kvp_pools[pool].fname, "r"); in kvp_update_mem_state() 236 if (!filep) { in kvp_update_mem_state() 246 filep); in kvp_update_mem_state() 248 if (ferror(filep)) { in kvp_update_mem_state() [all …]
|
/freebsd/usr.sbin/bhyve/ |
H A D | debug.h | 34 #define FPRINTLN(filep, fmt, arg...) \ argument 37 fprintf(filep, fmt "\r\n", ##arg); \ 39 fprintf(filep, fmt "\n", ##arg); \
|
/freebsd/usr.bin/sdiff/ |
H A D | sdiff.c | 1125 struct fileline *filep; in printc() local 1127 filep = STAILQ_FIRST(&delqhead); in printc() 1128 enqueue(filep->line, '<', NULL); in printc() 1130 free(filep); in printc()
|
/freebsd/libexec/tftpd/ |
H A D | tftpd.c | 684 validate_access(int peer, char **filep, int mode) in validate_access() argument 689 char *filename = *filep; in validate_access() 752 *filep = filename = pathname; in validate_access()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_iso9660.c | 1844 struct file_info *file, *filep; in parse_file_info() local 1899 for (filep = parent; filep != NULL; filep = filep->parent) { in parse_file_info() 1900 if (filep->offset == offset) { in parse_file_info()
|
H A D | archive_write_set_format_mtree.c | 1986 mtree_entry_tree_add(struct archive_write *a, struct mtree_entry **filep) 2000 file = *filep; in mtree_entry_tree_add() 2172 *filep = np; in mtree_entry_tree_add() 1987 mtree_entry_tree_add(struct archive_write * a,struct mtree_entry ** filep) mtree_entry_tree_add() argument
|
/freebsd/sys/kern/ |
H A D | subr_witness.c | 2359 witness_save(struct lock_object *lock, const char **filep, int *linep) in witness_save() argument 2366 *filep = NULL; in witness_save() 2393 *filep = instance->li_file; in witness_save()
|
/freebsd/contrib/ncurses/ncurses/ |
H A D | llib-lncursest | 1940 FILE *filep) 1945 FILE *filep) 1951 FILE *filep)
|
H A D | llib-lncurses | 1931 FILE *filep) 1936 FILE *filep) 1942 FILE *filep)
|
H A D | llib-lncursestw | 2521 FILE *filep) 2526 FILE *filep) 2532 FILE *filep)
|
H A D | llib-lncursesw | 2512 FILE *filep) 2517 FILE *filep) 2523 FILE *filep)
|