Home
last modified time | relevance | path

Searched refs:filep (Results 1 – 24 of 24) sorted by relevance

/freebsd-12-stable/contrib/libevent/
Devent_rpcgen.py93 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-12-stable/contrib/ntp/sntp/libevent/
Devent_rpcgen.py93 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-12-stable/contrib/ncurses/ncurses/base/
Dlib_screen.c47 NCURSES_SP_NAME(getwin) (NCURSES_SP_DCLx FILE *filep) in NCURSES_EXPORT()
52 T((T_CALLED("getwin(%p)"), (void *) filep)); in NCURSES_EXPORT()
54 if (filep == 0) { in NCURSES_EXPORT()
57 clearerr(filep); in NCURSES_EXPORT()
58 if (fread(&tmp, (size_t) 1, sizeof(WINDOW), filep) < sizeof(WINDOW) in NCURSES_EXPORT()
59 || ferror(filep) in NCURSES_EXPORT()
115 clearerr(filep); in NCURSES_EXPORT()
116 if (fread(nwin->_line[n].text, (size_t) 1, linesize, filep) < linesize in NCURSES_EXPORT()
117 || ferror(filep)) { in NCURSES_EXPORT()
129 getwin(FILE *filep) in getwin() argument
[all …]
/freebsd-12-stable/contrib/hyperv/tools/
Dhv_kvp_daemon.c195 FILE *filep; in kvp_update_file() local
200 filep = fopen(kvp_pools[pool].fname, "w"); in kvp_update_file()
201 if (!filep) { in kvp_update_file()
209 kvp_pools[pool].num_records, filep); in kvp_update_file()
211 if (ferror(filep) || fclose(filep)) { in kvp_update_file()
227 FILE *filep; in kvp_update_mem_state() local
236 filep = fopen(kvp_pools[pool].fname, "r"); in kvp_update_mem_state()
237 if (!filep) { in kvp_update_mem_state()
247 filep); in kvp_update_mem_state()
249 if (ferror(filep)) { in kvp_update_mem_state()
[all …]
/freebsd-12-stable/usr.sbin/bhyve/
Ddebug.h36 #define FPRINTLN(filep, fmt, arg...) \ argument
39 fprintf(filep, fmt "\r\n", ##arg); \
41 fprintf(filep, fmt "\n", ##arg); \
/freebsd-12-stable/usr.bin/sdiff/
Dsdiff.c1106 struct fileline *filep; in printc() local
1108 filep = STAILQ_FIRST(&delqhead); in printc()
1109 enqueue(filep->line, '<', NULL); in printc()
1111 free(filep); in printc()
/freebsd-12-stable/libexec/tftpd/
Dtftpd.c699 validate_access(int peer, char **filep, int mode) in validate_access() argument
706 char *filename = *filep; in validate_access()
775 *filep = filename = pathname; in validate_access()
/freebsd-12-stable/contrib/binutils/bfd/
Dtekhex.c898 void * filep, in tekhex_print_symbol() argument
902 FILE *file = (FILE *) filep; in tekhex_print_symbol()
Delf64-sparc.c734 elf64_sparc_print_symbol_all (bfd *abfd ATTRIBUTE_UNUSED, PTR filep, in elf64_sparc_print_symbol_all() argument
737 FILE *file = (FILE *) filep; in elf64_sparc_print_symbol_all()
Decofflink.c351 bfd_boolean filep; member
420 && (*tail)->filep
440 n->filep = TRUE;
478 n->filep = FALSE;
1583 if (! l->filep)
2478 if (! l->filep)
Dlibcoff-in.h338 (bfd *, void * filep, asymbol *, bfd_print_symbol_type);
Dlibcoff.h342 (bfd *, void * filep, asymbol *, bfd_print_symbol_type);
Dcoffgen.c1864 void * filep, in coff_print_symbol() argument
1868 FILE * file = (FILE *) filep; in coff_print_symbol()
Decoff.c1362 void * filep, in _bfd_ecoff_print_symbol() argument
1368 FILE *file = (FILE *)filep; in _bfd_ecoff_print_symbol()
Delf.c1383 void *filep, in bfd_elf_print_symbol() argument
1387 FILE *file = filep; in bfd_elf_print_symbol()
1410 name = (*bed->elf_backend_print_symbol_all) (abfd, filep, symbol); in bfd_elf_print_symbol()
/freebsd-12-stable/contrib/gcc/
Dpostreload-gcse.c433 dump_hash_table_entry (void **slot, void *filep) in dump_hash_table_entry() argument
436 FILE *file = (FILE *) filep; in dump_hash_table_entry()
/freebsd-12-stable/contrib/libarchive/libarchive/
Darchive_read_support_format_iso9660.c1755 struct file_info *file, *filep; in parse_file_info() local
1810 for (filep = parent; filep != NULL; filep = filep->parent) { in parse_file_info()
1811 if (filep->offset == offset) { in parse_file_info()
Darchive_write_set_format_mtree.c1987 mtree_entry_tree_add(struct archive_write *a, struct mtree_entry **filep) in mtree_entry_tree_add() argument
2001 file = *filep; in mtree_entry_tree_add()
2173 *filep = np; in mtree_entry_tree_add()
/freebsd-12-stable/contrib/gcclibs/libmudflap/
Dmf-hooks2.c2072 WRAPPER2(struct mntent *, getmntent, FILE *filep) in WRAPPER2() argument
2077 MF_VALIDATE_EXTENT (filep, sizeof (*filep), __MF_CHECK_WRITE, in WRAPPER2()
2090 m = getmntent (filep); in WRAPPER2()
/freebsd-12-stable/sys/kern/
Dsubr_witness.c2309 witness_save(struct lock_object *lock, const char **filep, int *linep) in witness_save() argument
2339 *filep = instance->li_file; in witness_save()
/freebsd-12-stable/contrib/ncurses/ncurses/
Dllib-lncurses1888 FILE *filep)
1893 FILE *filep)
1899 FILE *filep)
Dllib-lncursest1907 FILE *filep)
1912 FILE *filep)
1918 FILE *filep)
Dllib-lncursesw2406 FILE *filep)
2411 FILE *filep)
2417 FILE *filep)
Dllib-lncursestw2415 FILE *filep)
2420 FILE *filep)
2426 FILE *filep)