/dragonfly/contrib/wpa_supplicant/src/utils/ |
H A D | os_internal.c | 107 if (f) { in os_daemonize() 109 fclose(f); in os_daemonize() 126 FILE *f; in os_get_random() local 130 if (f == NULL) { in os_get_random() 136 fclose(f); in os_get_random() 217 FILE *f; in os_readfile() local 221 if (f == NULL) in os_readfile() 225 *len = ftell(f); in os_readfile() 230 fclose(f); in os_readfile() 235 fclose(f); in os_readfile() [all …]
|
/dragonfly/crypto/openssh/ |
H A D | authfile.c | 208 FILE *f; in sshkey_try_load_public() local 220 fclose(f); in sshkey_try_load_public() 250 fclose(f); in sshkey_try_load_public() 257 fclose(f); in sshkey_try_load_public() 379 FILE *f; in sshkey_in_file() local 431 fclose(f); in sshkey_in_file() 497 FILE *f = NULL; in sshkey_save_public() local 510 if (ferror(f)) { in sshkey_save_public() 516 f = NULL; in sshkey_save_public() 518 if (f != NULL) { in sshkey_save_public() [all …]
|
/dragonfly/sys/platform/pc64/x86_64/ |
H A D | swtch.s | 184 jne 2f 192 jz 1f 194 je 2f 244 jne 1f 299 je 1f 311 jz 2f 412 jz 1f 520 je 4f 529 je 5f 544 jz 6f [all …]
|
/dragonfly/lib/libc/stdio/ |
H A D | vsnprintf.c | 56 FILE f = FAKE_FILE; in vsnprintf_l() local 74 f.pub._flags = __SWR | __SSTR; in vsnprintf_l() 75 f._bf._base = f.pub._p = (unsigned char *)str; in vsnprintf_l() 76 f._bf._size = f.pub._w = n; in vsnprintf_l() 77 ret = __vfprintf(&f, locale, fmt, ap); in vsnprintf_l() 79 *f.pub._p = '\0'; in vsnprintf_l()
|
H A D | vswscanf.c | 66 FILE f = FAKE_FILE; in vswscanf_l() local 85 f.pub._flags = __SRD; in vswscanf_l() 86 f._bf._base = f.pub._p = (unsigned char *)mbstr; in vswscanf_l() 87 f._bf._size = f.pub._r = mlen; in vswscanf_l() 88 f._read = eofread; in vswscanf_l() 89 r = __vfwscanf(&f, locale, fmt, ap); in vswscanf_l()
|
/dragonfly/contrib/lvm2/dist/lib/filters/ |
H A D | filter_dragonfly.c | 74 static int _passes_lvm_type_device_filter(struct dev_filter *f __attribute((unused)), in _passes_lvm_type_device_filter() 149 struct dev_filter *f; in lvm_type_filter_create() local 151 if (!(f = dm_malloc(sizeof(struct dev_filter)))) { in lvm_type_filter_create() 156 f->passes_filter = _passes_lvm_type_device_filter; in lvm_type_filter_create() 157 f->destroy = lvm_type_filter_destroy; in lvm_type_filter_create() 158 f->private = NULL; in lvm_type_filter_create() 160 return f; in lvm_type_filter_create() 163 void lvm_type_filter_destroy(struct dev_filter *f) in lvm_type_filter_destroy() argument 165 dm_free(f); in lvm_type_filter_destroy()
|
/dragonfly/sys/dev/raid/hptrr/ |
H A D | hptrr_osm_bsd.c | 163 for (f=vbus_ext->freelist_head; f; f=f->next) { in hpt_alloc_mem() 165 f->tag, f->count, f->size, f->count*f->size)); in hpt_alloc_mem() 174 for (f=vbus_ext->freelist_dma_head; f; f=f->next) { in hpt_alloc_mem() 177 HPT_ASSERT((f->size & (f->alignment-1))==0); in hpt_alloc_mem() 183 f->tag, f->count, f->size, f->count*f->size, order)); in hpt_alloc_mem() 217 for (f=vbus_ext->freelist_head; f; f=f->next) { in hpt_free_mem() 219 if (f->count!=f->reserved_count) { in hpt_free_mem() 220 KdPrint(("memory leak for freelist %s (%d/%d)", f->tag, f->count, f->reserved_count)); in hpt_free_mem() 233 for (f=vbus_ext->freelist_dma_head; f; f=f->next) { in hpt_free_mem() 236 if (f->count!=f->reserved_count) { in hpt_free_mem() [all …]
|
/dragonfly/sys/dev/raid/hpt27xx/ |
H A D | hpt27xx_osm_bsd.c | 148 for (f=vbus_ext->freelist_head; f; f=f->next) { in hpt_alloc_mem() 150 f->tag, f->count, f->size, f->count*f->size)); in hpt_alloc_mem() 159 for (f=vbus_ext->freelist_dma_head; f; f=f->next) { in hpt_alloc_mem() 162 HPT_ASSERT((f->size & (f->alignment-1))==0); in hpt_alloc_mem() 167 f->tag, f->count, f->size, f->count*f->size, order)); in hpt_alloc_mem() 201 for (f=vbus_ext->freelist_head; f; f=f->next) { in hpt_free_mem() 203 if (f->count!=f->reserved_count) { in hpt_free_mem() 204 KdPrint(("memory leak for freelist %s (%d/%d)", f->tag, f->count, f->reserved_count)); in hpt_free_mem() 217 for (f=vbus_ext->freelist_dma_head; f; f=f->next) { in hpt_free_mem() 220 if (f->count!=f->reserved_count) { in hpt_free_mem() [all …]
|
/dragonfly/usr.bin/localedef/ |
H A D | localedef.c | 126 close_category(FILE *f) in close_category() argument 128 if (fchmod(fileno(f), 0644) < 0) { in close_category() 129 (void) fclose(f); in close_category() 133 if (fclose(f) < 0) { in close_category() 190 putl_category(const char *s, FILE *f) in putl_category() argument 192 if (s && fputs(s, f) == EOF) { in putl_category() 193 (void) fclose(f); in putl_category() 198 if (fputc('\n', f) == EOF) { in putl_category() 199 (void) fclose(f); in putl_category() 213 if (fwrite(buf, sz, 1, f) < 1) { in wr_category() [all …]
|
/dragonfly/contrib/libarchive/libarchive_fe/ |
H A D | line_reader.c | 51 FILE *f; member 71 lr->f = stdin; in lafe_line_reader() 73 lr->f = fopen(pathname, "r"); in lafe_line_reader() 74 if (lr->f == NULL) in lafe_line_reader() 109 if (lr->f == NULL) { in lafe_line_reader_next() 147 bytes_read = fread(lr->buff_end, 1, bytes_wanted, lr->f); in lafe_line_reader_next() 152 if (ferror(lr->f)) in lafe_line_reader_next() 154 if (feof(lr->f)) { in lafe_line_reader_next() 155 if (lr->f != stdin) in lafe_line_reader_next() 156 fclose(lr->f); in lafe_line_reader_next() [all …]
|
/dragonfly/bin/dd/ |
H A D | ref.ebcdic | 2 00000000 00 01 02 03 37 2d 2e 2f 16 05 25 0b 0c 0d 0e 0f |....7-./..%.....| 3 00000010 10 11 12 13 3c 3d 32 26 18 19 3f 27 1c 1d 1e 1f |....<=2&..?'....| 4 00000020 40 5a 7f 7b 5b 6c 50 7d 4d 5d 5c 4e 6b 60 4b 61 |@Z.{[lP}M]\Nk`Ka| 5 00000030 f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 7a 5e 4c 7e 6e 6f |..........z^L~no| 9 00000070 97 98 99 a2 a3 a4 a5 a6 a7 a8 a9 c0 4f d0 5f 07 |............O._.| 14 000000c0 76 77 78 80 8a 8b 8c 8d 8e 8f 90 6a 9b 9c 9d 9e |vwx........j....| 15 000000d0 9f a0 aa ab ac 4a ae af b0 b1 b2 b3 b4 b5 b6 b7 |.....J..........|
|
H A D | ref.ibm | 2 00000000 00 01 02 03 37 2d 2e 2f 16 05 25 0b 0c 0d 0e 0f |....7-./..%.....| 3 00000010 10 11 12 13 3c 3d 32 26 18 19 3f 27 1c 1d 1e 1f |....<=2&..?'....| 4 00000020 40 5a 7f 7b 5b 6c 50 7d 4d 5d 5c 4e 6b 60 4b 61 |@Z.{[lP}M]\Nk`Ka| 5 00000030 f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 7a 5e 4c 7e 6e 6f |..........z^L~no| 7 00000050 d7 d8 d9 e2 e3 e4 e5 e6 e7 e8 e9 ad e0 bd 5f 6d |.............._m| 9 00000070 97 98 99 a2 a3 a4 a5 a6 a7 a8 a9 c0 4f d0 a1 07 |............O...| 14 000000c0 76 77 78 80 8a 8b 8c 8d 8e 8f 90 9a 9b 9c 9d 9e |vwx.............| 15 000000d0 9f a0 aa ab ac ad ae af b0 b1 b2 b3 b4 b5 b6 b7 |................|
|
H A D | ref.oldebcdic | 2 00000000 00 01 02 03 37 2d 2e 2f 16 05 25 0b 0c 0d 0e 0f |....7-./..%.....| 3 00000010 10 11 12 13 3c 3d 32 26 18 19 3f 27 1c 1d 1e 1f |....<=2&..?'....| 4 00000020 40 4f 7f 7b 5b 6c 50 7d 4d 5d 5c 4e 6b 60 4b 61 |@O.{[lP}M]\Nk`Ka| 5 00000030 f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 7a 5e 4c 7e 6e 6f |..........z^L~no| 7 00000050 d7 d8 d9 e2 e3 e4 e5 e6 e7 e8 e9 4a e0 5a 5f 6d |...........J.Z_m| 14 000000c0 76 77 78 80 8a 8b 8c 8d 8e 8f 90 9a 9b 9c 9d 9e |vwx.............| 15 000000d0 9f a0 aa ab ac ad ae af b0 b1 b2 b3 b4 b5 b6 b7 |................|
|
H A D | ref.oldibm | 2 00000000 00 01 02 03 37 2d 2e 2f 16 05 25 0b 0c 0d 0e 0f |....7-./..%.....| 3 00000010 10 11 12 13 3c 3d 32 26 18 19 3f 27 1c 1d 1e 1f |....<=2&..?'....| 4 00000020 40 5a 7f 7b 5b 6c 50 7d 4d 5d 5c 4e 6b 60 4b 61 |@Z.{[lP}M]\Nk`Ka| 5 00000030 f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 7a 5e 4c 7e 6e 6f |..........z^L~no| 7 00000050 d7 d8 d9 e2 e3 e4 e5 e6 e7 e8 e9 ad e0 bd 5f 6d |.............._m| 9 00000070 97 98 99 a2 a3 a4 a5 a6 a7 a8 a9 c0 4f d0 a1 07 |............O...| 14 000000c0 76 77 78 80 8a 8b 8c 8d 8e 8f 90 9a 9b 9c 9d 9e |vwx.............| 15 000000d0 9f a0 aa ab ac ad ae af b0 b1 b2 b3 b4 b5 b6 b7 |................|
|
H A D | ref.parodd | 2 00000000 80 01 02 83 04 85 86 07 08 89 8a 0b 8c 0d 0e 8f |................| 3 00000010 10 91 92 13 94 15 16 97 98 19 1a 9b 1c 9d 9e 1f |................| 4 00000020 20 a1 a2 23 a4 25 26 a7 a8 29 2a ab 2c ad ae 2f | ..#.%&..)*.,../| 6 00000040 40 c1 c2 43 c4 45 46 c7 c8 49 4a cb 4c cd ce 4f |@..C.EF..IJ.L..O| 9 00000070 70 f1 f2 73 f4 75 76 f7 f8 79 7a fb 7c fd fe 7f |p..s.uv..yz.|...| 10 00000080 80 01 02 83 04 85 86 07 08 89 8a 0b 8c 0d 0e 8f |................| 11 00000090 10 91 92 13 94 15 16 97 98 19 1a 9b 1c 9d 9e 1f |................| 12 000000a0 20 a1 a2 23 a4 25 26 a7 a8 29 2a ab 2c ad ae 2f | ..#.%&..)*.,../| 14 000000c0 40 c1 c2 43 c4 45 46 c7 c8 49 4a cb 4c cd ce 4f |@..C.EF..IJ.L..O| 17 000000f0 70 f1 f2 73 f4 75 76 f7 f8 79 7a fb 7c fd fe 7f |p..s.uv..yz.|...|
|
H A D | ref.pareven | 2 00000000 00 81 82 03 84 05 06 87 88 09 0a 8b 0c 8d 8e 0f |................| 3 00000010 90 11 12 93 14 95 96 17 18 99 9a 1b 9c 1d 1e 9f |................| 5 00000030 30 b1 b2 33 b4 35 36 b7 b8 39 3a bb 3c bd be 3f |0..3.56..9:.<..?| 7 00000050 50 d1 d2 53 d4 55 56 d7 d8 59 5a db 5c dd de 5f |P..S.UV..YZ.\.._| 8 00000060 60 e1 e2 63 e4 65 66 e7 e8 69 6a eb 6c ed ee 6f |`..c.ef..ij.l..o| 10 00000080 00 81 82 03 84 05 06 87 88 09 0a 8b 0c 8d 8e 0f |................| 11 00000090 90 11 12 93 14 95 96 17 18 99 9a 1b 9c 1d 1e 9f |................| 13 000000b0 30 b1 b2 33 b4 35 36 b7 b8 39 3a bb 3c bd be 3f |0..3.56..9:.<..?| 15 000000d0 50 d1 d2 53 d4 55 56 d7 d8 59 5a db 5c dd de 5f |P..S.UV..YZ.\.._| 16 000000e0 60 e1 e2 63 e4 65 66 e7 e8 69 6a eb 6c ed ee 6f |`..c.ef..ij.l..o|
|
/dragonfly/contrib/gcc-8.0/gcc/c-family/ |
H A D | c-pch.c | 100 FILE *f; in pch_init() local 108 f = fopen (pch_file, "w+b"); in pch_init() 109 if (f == NULL) in pch_init() 112 pch_outfile = f; in pch_init() 131 || fwrite (&v, sizeof (v), 1, f) != 1 in pch_init() 343 FILE *f; in c_common_read_pch() local 350 f = fdopen (fd, "rb"); in c_common_read_pch() 351 if (f == NULL) in c_common_read_pch() 368 gt_pch_restore (f); in c_common_read_pch() 375 fclose (f); in c_common_read_pch() [all …]
|
/dragonfly/sys/dev/raid/mps/mpi/ |
H A D | mpi2.h | 987 #define MPI2_SGE_SET_FLAGS(f) ((U32)(f) << MPI2_SGE_FLAGS_SHIFT) argument 988 #define MPI2_SGE_GET_FLAGS(f) (((f) & ~MPI2_SGE_LENGTH_MASK) >> MPI2_SGE_FLAGS_SHIFT) argument 989 #define MPI2_SGE_LENGTH(f) ((f) & MPI2_SGE_LENGTH_MASK) argument 990 #define MPI2_SGE_CHAIN_LENGTH(f) ((f) & MPI2_SGE_CHAIN_LENGTH_MASK) argument 992 #define MPI2_SGE_SET_FLAGS_LENGTH(f,l) (MPI2_SGE_SET_FLAGS(f) | MPI2_SGE_LENGTH(l)) argument 996 #define MPI2_pSGE_SET_FLAGS_LENGTH(psg,f,l) (psg)->FlagsLength = MPI2_SGE_SET_FLAGS_LENGTH(f,l) argument 999 #define MPI2_pSGE_SET_FLAGS(psg,f) (psg)->FlagsLength |= MPI2_SGE_SET_FLAGS(f) argument 1102 #define MPI2_IEEE32_SGE_SET_FLAGS(f) ((U32)(f) << MPI2_IEEE32_SGE_FLAGS_SHIFT) argument 1103 #define MPI2_IEEE32_SGE_GET_FLAGS(f) (((f) & ~MPI2_IEEE32_SGE_LENGTH_MASK) >> MPI2_IEEE32_SGE_F… argument 1104 #define MPI2_IEEE32_SGE_LENGTH(f) ((f) & MPI2_IEEE32_SGE_LENGTH_MASK) argument [all …]
|
/dragonfly/contrib/binutils-2.34/gold/ |
H A D | script-sections.cc | 277 fputc(')', f); in print() 284 fprintf(f, "\n"); in print() 1230 fprintf(f, ")\n"); in print() 1859 fprintf(f, ")"); in print() 1878 fprintf(f, ", "); in print() 1882 fprintf(f, ")"); in print() 1937 fprintf(f, "\n"); in print() 2878 fprintf(f, ": "); in print() 2906 (*p)->print(f); in print() 4569 (*p)->print(f); in print() [all …]
|
/dragonfly/contrib/binutils-2.27/gold/ |
H A D | script-sections.cc | 277 fputc(')', f); in print() 284 fprintf(f, "\n"); in print() 1196 fprintf(f, ")\n"); in print() 1825 fprintf(f, ")"); in print() 1844 fprintf(f, ", "); in print() 1848 fprintf(f, ")"); in print() 1903 fprintf(f, "\n"); in print() 2818 fprintf(f, ": "); in print() 2846 (*p)->print(f); in print() 4475 (*p)->print(f); in print() [all …]
|
/dragonfly/etc/rc.d/ |
H A D | sendmail | 62 for f in genericstable virtusertable domaintable mailertable; do 63 if [ -r "/etc/mail/$f" ] && \ 64 [ "/etc/mail/$f" -nt "/etc/mail/$f.db" ]; then 65 echo "${name}: /etc/mail/$f newer than " \ 66 "/etc/mail/$f.db, regenerating" 67 /usr/sbin/makemap hash /etc/mail/$f < /etc/mail/$f
|
/dragonfly/contrib/bmake/mk/ |
H A D | meta.stage.mk | 40 _stage_file_basename = `basename $$f` 43 _stage_file_basename = $${f\#\#*/} 101 for f in "$$@"; do \ 102 case "$$f" in */*) t=$$dest/${_stage_file_basename};; *) t=$$dest/$$f;; esac; \ 104 LnCp $$f $$t || exit 1; \ 282 …{STAGE_DIR.$s}:${STAGE_DIR_FILTER}} ${STAGE_AS.$s:O:@f@$f ${STAGE_AS_${f:tA}:U${STAGE_AS_${f:T}:U$… 297 …s}:${STAGE_DIR_FILTER}} ${STAGE_AS_AND_SYMLINK.$s:O:@f@$f ${STAGE_AS_${f:tA}:U${STAGE_AS_${f:T}:U$… 298 …_FILTER}} ${STAGE_AS_AND_SYMLINK.$s:O:@f@${STAGE_AS_${f:tA}:U${STAGE_AS_${f:T}:U${f:T}}} ${STAGE_L…
|
/dragonfly/games/fortune/datfiles/ |
H A D | Makefile | 18 .for f in ${FORTUNES} 19 FILES+= $f $f.dat 20 CLEANFILES+= $f.dat 21 .if !(target($f.dat)) 22 $f.dat: $f
|
/dragonfly/sys/dev/misc/syscons/ |
H A D | syscons_nexus.c | 70 int f; in scidentify() local 78 if (resource_int_value(SC_DRIVER_NAME, u, "flags", &f) != 0) in scidentify() 79 f = 0; in scidentify() 83 device_set_flags(child, f); in scidentify() 157 int u, f; in sc_get_cons_priority() local 166 if (resource_int_value(SC_DRIVER_NAME, u, "flags", &f) != 0) in sc_get_cons_priority() 167 f = 0; in sc_get_cons_priority() 169 if (have_efi_fb && !(f & SC_EFI_FB)) in sc_get_cons_priority() 171 if (f & SC_KERNEL_CONSOLE) { in sc_get_cons_priority() 174 *flags = f; in sc_get_cons_priority() [all …]
|
/dragonfly/contrib/bmake/ |
H A D | bsd.after-import.mk | 72 .for f in ${configured_files:M*.[ch]} 73 @echo Capturing $f 74 @mkdir -p ${${.CURDIR}/$f:L:H} 75 @(echo '/* $$${HOST_OS}$$ */'; cat ${HOST_OS}/$f) > ${.CURDIR}/$f 77 .for f in ${configured_files:M*Makefile*} 78 @echo Capturing $f 79 @mkdir -p ${${.CURDIR}/$f:L:H} 84 ${MAKEFILE_SED} ${HOST_OS}/$f ) > ${.CURDIR}/$f
|