| /dflybsd-src/sys/contrib/dev/acpica/source/include/ |
| H A D | actbinfo.h | 155 #define ACPI_AGDI_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_AGDI,f) argument 156 #define ACPI_FACS_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_FACS,f) argument 157 #define ACPI_GAS_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_GENERIC_ADDRESS,f) argument 158 #define ACPI_HDR_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_HEADER,f) argument 159 #define ACPI_RSDP_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_RSDP,f) argument 160 #define ACPI_BDAT_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_BDAT,f) argument 161 #define ACPI_BERT_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_BERT,f) argument 162 #define ACPI_BGRT_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_BGRT,f) argument 163 #define ACPI_BOOT_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_BOOT,f) argument 164 #define ACPI_CPEP_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_CPEP,f) argument [all …]
|
| /dflybsd-src/contrib/tcsh-6/ |
| H A D | ed.defns.c | 1121 struct KeyFuncs *f; in editinit() local 1130 f = FuncNames; in editinit() 1131 f->name = "backward-char"; in editinit() 1132 f->func = F_CHARBACK; in editinit() 1133 f->desc = CSAVS(3, 1, "Move back a character"); in editinit() 1135 f++; in editinit() 1136 f->name = "backward-delete-char"; in editinit() 1137 f->func = F_DELPREV; in editinit() 1138 f->desc = CSAVS(3, 2, "Delete the character behind cursor"); in editinit() 1140 f++; in editinit() [all …]
|
| /dflybsd-src/contrib/lvm2/dist/lib/format_text/ |
| H A D | export.c | 32 typedef int (*out_with_comment_fn) (struct formatter * f, const char *comment, 34 typedef int (*nl_fn) (struct formatter * f); 41 #define _out_with_comment(f, buffer, fmt, ap) \ argument 44 r = f->out_with_comment(f, buffer, fmt, ap); \ 95 static void _inc_indent(struct formatter *f) in _inc_indent() argument 97 if (++f->indent > MAX_INDENT) in _inc_indent() 98 f->indent = MAX_INDENT; in _inc_indent() 101 static void _dec_indent(struct formatter *f) in _dec_indent() argument 103 if (!f->indent--) { in _dec_indent() 105 f->indent = 0; in _dec_indent() [all …]
|
| /dflybsd-src/lib/libc/gen/ |
| H A D | fmtcheck.c | 83 #define RETURN(pf,f,r) do { \ argument 84 *(pf) = (f); \ 92 const char *f; in get_next_format_from_precision() local 94 f = *pf; in get_next_format_from_precision() 95 switch (*f) { in get_next_format_from_precision() 97 f++; in get_next_format_from_precision() 98 if (!*f) RETURN(pf,f,FMTCHECK_UNKNOWN); in get_next_format_from_precision() 99 if (*f == 'h') { in get_next_format_from_precision() 100 f++; in get_next_format_from_precision() 107 f++; in get_next_format_from_precision() [all …]
|
| /dflybsd-src/sys/bus/u4b/ |
| H A D | usb_dev.c | 193 struct usb_fifo *f; in usb_ref_device() local 248 f = ppf[cpd->fifo_index + USB_FIFO_TX]; in usb_ref_device() 249 crd->txfifo = f; in usb_ref_device() 251 if (f == NULL || f->refcount == USB_FIFO_REF_MAX) in usb_ref_device() 253 if (f->curr_cpd != cpd) in usb_ref_device() 256 if (f->fs_ep_max != 0) { in usb_ref_device() 264 f = ppf[cpd->fifo_index + USB_FIFO_RX]; in usb_ref_device() 265 crd->rxfifo = f; in usb_ref_device() 267 if (f == NULL || f->refcount == USB_FIFO_REF_MAX) in usb_ref_device() 269 if (f->curr_cpd != cpd) in usb_ref_device() [all …]
|
| H A D | usb_generic.c | 102 static int ugen_get_iface_driver(struct usb_fifo *f, struct usb_gen_descriptor *ugd); 108 static int ugen_fs_uninit(struct usb_fifo *f); 137 ugen_transfer_setup(struct usb_fifo *f, in ugen_transfer_setup() argument 140 struct usb_endpoint *ep = usb_fifo_softc(f); in ugen_transfer_setup() 141 struct usb_device *udev = f->udev; in ugen_transfer_setup() 145 lockmgr(f->priv_lock, LK_RELEASE); in ugen_transfer_setup() 151 error = usbd_transfer_setup(udev, &iface_index, f->xfer, in ugen_transfer_setup() 152 setup, n_setup, f, f->priv_lock); in ugen_transfer_setup() 155 if (f->xfer[0]->nframes == 1) { in ugen_transfer_setup() 156 error = usb_fifo_alloc_buffer(f, in ugen_transfer_setup() [all …]
|
| /dflybsd-src/contrib/gcc-8.0/gcc/ |
| H A D | fixed-value.c | 40 fixed_hash (const FIXED_VALUE_TYPE *f) in fixed_hash() argument 42 return (unsigned int) (f->data.low ^ f->data.high); in fixed_hash() 111 fixed_from_string (FIXED_VALUE_TYPE *f, const char *str, scalar_mode mode) in fixed_from_string() argument 118 f->mode = mode; in fixed_from_string() 122 temp = check_real_for_fixed_mode (&real_value, f->mode); in fixed_from_string() 126 || (temp == FIXED_MAX_EPS && ALL_ACCUM_MODE_P (f->mode))) in fixed_from_string() 133 f->data.low = w.ulow (); in fixed_from_string() 134 f->data.high = w.elt (1); in fixed_from_string() 136 if (temp == FIXED_MAX_EPS && ALL_FRACT_MODE_P (f->mode)) in fixed_from_string() 139 f->data.low = -1; in fixed_from_string() [all …]
|
| H A D | hsa-dump.c | 710 dump_hsa_reg (FILE *f, hsa_op_reg *reg, bool dump_type = false) 713 fprintf (f, "$%c%i", reg->m_reg_class, reg->m_hard_num); 715 fprintf (f, "$_%i", reg->m_order); 717 fprintf (f, " (%s)", hsa_type_name (reg->m_type)); 723 dump_hsa_immed (FILE *f, hsa_op_immed *imm) in dump_hsa_immed() argument 730 print_generic_expr (f, imm->m_tree_value); in dump_hsa_immed() 734 fprintf (f, HOST_WIDE_INT_PRINT_DEC, imm->m_int_value); in dump_hsa_immed() 736 fprintf (f, HOST_WIDE_INT_PRINT_UNSIGNED, in dump_hsa_immed() 740 fprintf (f, " (%s)", hsa_type_name (imm->m_type)); in dump_hsa_immed() 746 dump_hsa_address (FILE *f, hsa_op_address *addr) in dump_hsa_address() argument [all …]
|
| /dflybsd-src/contrib/gcc-4.7/gcc/ |
| H A D | fixed-value.c | 40 fixed_hash (const FIXED_VALUE_TYPE *f) in fixed_hash() argument 42 return (unsigned int) (f->data.low ^ f->data.high); in fixed_hash() 87 fixed_from_string (FIXED_VALUE_TYPE *f, const char *str, enum machine_mode mode) in fixed_from_string() argument 93 f->mode = mode; in fixed_from_string() 97 temp = check_real_for_fixed_mode (&real_value, f->mode); in fixed_from_string() 101 || (temp == FIXED_MAX_EPS && ALL_ACCUM_MODE_P (f->mode))) in fixed_from_string() 106 real_to_integer2 ((HOST_WIDE_INT *)&f->data.low, &f->data.high, in fixed_from_string() 109 if (temp == FIXED_MAX_EPS && ALL_FRACT_MODE_P (f->mode)) in fixed_from_string() 112 f->data.low = -1; in fixed_from_string() 113 f->data.high = -1; in fixed_from_string() [all …]
|
| /dflybsd-src/contrib/gdb-7/gdb/common/ |
| H A D | format.c | 34 char *f, *string; in parse_format_string() local 48 f = string = (char *) alloca (strlen (s) + 1); in parse_format_string() 62 *f++ = '\\'; in parse_format_string() 65 *f++ = '\a'; in parse_format_string() 68 *f++ = '\b'; in parse_format_string() 71 *f++ = '\f'; in parse_format_string() 74 *f++ = '\n'; in parse_format_string() 77 *f++ = '\r'; in parse_format_string() 80 *f++ = '\t'; in parse_format_string() 83 *f++ = '\v'; in parse_format_string() [all …]
|
| /dflybsd-src/contrib/wpa_supplicant/wpa_supplicant/ |
| H A D | config_file.c | 176 static struct wpa_ssid * wpa_config_read_network(FILE *f, int *line, int id) in wpa_config_read_network() argument 192 while (wpa_config_get_line(buf, sizeof(buf), f, line, &pos)) { in wpa_config_read_network() 237 static struct wpa_cred * wpa_config_read_cred(FILE *f, int *line, int id) in wpa_config_read_cred() argument 250 while (wpa_config_get_line(buf, sizeof(buf), f, line, &pos)) { in wpa_config_read_cred() 294 static struct wpa_config_blob * wpa_config_read_blob(FILE *f, int *line, in wpa_config_read_blob() argument 306 while (wpa_config_get_line(buf, sizeof(buf), f, line, &pos)) { in wpa_config_read_blob() 350 static int wpa_config_process_blob(struct wpa_config *config, FILE *f, in wpa_config_process_blob() argument 364 blob = wpa_config_read_blob(f, line, bname); in wpa_config_process_blob() 378 FILE *f; in wpa_config_read() local 406 f = fopen(name, "r"); in wpa_config_read() [all …]
|
| /dflybsd-src/contrib/bmake/ |
| H A D | for.c | 78 ForLoop *f = bmake_malloc(sizeof *f); in ForLoop_New() local 80 Vector_Init(&f->vars, sizeof(char *)); in ForLoop_New() 81 SubstringWords_Init(&f->items); in ForLoop_New() 82 Buf_Init(&f->body); in ForLoop_New() 83 f->nextItem = 0; in ForLoop_New() 85 return f; in ForLoop_New() 89 ForLoop_Free(ForLoop *f) in ForLoop_Free() argument 91 while (f->vars.len > 0) in ForLoop_Free() 92 free(*(char **)Vector_Pop(&f->vars)); in ForLoop_Free() 93 Vector_Done(&f->vars); in ForLoop_Free() [all …]
|
| /dflybsd-src/sys/crypto/serpent/ |
| H A D | serpent.c | 42 #define sb0(a,b,c,d,e,f,g,h) \ argument 56 f = t10 ^ t12; \ 61 #define ib0(a,b,c,d,e,f,g,h) \ argument 73 f = t4 ^ t9; \ 74 t12 = t5 | f; \ 81 #define sb1(a,b,c,d,e,f,g,h) \ argument 93 f = h ^ t11; \ 100 #define ib1(a,b,c,d,e,f,g,h) \ argument 111 f = t1 ^ t9; \ 113 t12 = h & f; \ [all …]
|
| /dflybsd-src/contrib/awk/ |
| H A D | b.c | 122 intalloc(size_t n, const char *f) in intalloc() argument 126 overflo(f); in intalloc() 131 resizesetvec(const char *f) in resizesetvec() argument 140 overflo(f); in resizesetvec() 144 resize_state(fa *f, int state) in resize_state() argument 151 if (++state < f->state_count) in resize_state() 156 p = (gtt *) realloc(f->gototab, new_count * sizeof(gtt)); in resize_state() 159 f->gototab = p; in resize_state() 161 p2 = (uschar *) realloc(f->out, new_count * sizeof(f->out[0])); in resize_state() 164 f->out = p2; in resize_state() [all …]
|
| /dflybsd-src/tools/tools/locale/tools/ |
| H A D | cldr2def.pl | 363 foreach my $f (sort keys(%{$languages{$l}})) { 364 foreach my $c (sort keys(%{$languages{$l}{$f}{data}})) { 366 || $filter[1] ne $f || $filter[2] ne $c)); 367 next if (defined $languages{$l}{$f}{definitions} 368 && $languages{$l}{$f}{definitions} !~ /$TYPE/); 369 $languages{$l}{$f}{data}{$c}{$DEFENCODING} = 0; # unread 372 $file .= $f . "_" if ($f ne "x"); 377 if (! -f $filename) { 382 print "Reading from $filename for ${l}_${f}_${c}\n"; 383 $languages{$l}{$f}{data}{$c}{$DEFENCODING} = 1; # read [all …]
|
| /dflybsd-src/crypto/libressl/include/openssl/ |
| H A D | err.h | 205 #define SYSerr(f,r) ERR_PUT_error(ERR_LIB_SYS,(f),(r),__FILE__,__LINE__) argument 206 #define BNerr(f,r) ERR_PUT_error(ERR_LIB_BN,(f),(r),__FILE__,__LINE__) argument 207 #define RSAerr(f,r) ERR_PUT_error(ERR_LIB_RSA,(f),(r),__FILE__,__LINE__) argument 208 #define DHerr(f,r) ERR_PUT_error(ERR_LIB_DH,(f),(r),__FILE__,__LINE__) argument 209 #define EVPerr(f,r) ERR_PUT_error(ERR_LIB_EVP,(f),(r),__FILE__,__LINE__) argument 210 #define BUFerr(f,r) ERR_PUT_error(ERR_LIB_BUF,(f),(r),__FILE__,__LINE__) argument 211 #define OBJerr(f,r) ERR_PUT_error(ERR_LIB_OBJ,(f),(r),__FILE__,__LINE__) argument 212 #define PEMerr(f,r) ERR_PUT_error(ERR_LIB_PEM,(f),(r),__FILE__,__LINE__) argument 213 #define DSAerr(f,r) ERR_PUT_error(ERR_LIB_DSA,(f),(r),__FILE__,__LINE__) argument 214 #define X509err(f,r) ERR_PUT_error(ERR_LIB_X509,(f),(r),__FILE__,__LINE__) argument [all …]
|
| /dflybsd-src/contrib/libarchive/libarchive/ |
| H A D | archive_write_add_filter_bzip2.c | 85 struct archive_write_filter *f = __archive_write_allocate_filter(_a); in archive_write_add_filter_bzip2() local 98 f->data = data; in archive_write_add_filter_bzip2() 99 f->options = &archive_compressor_bzip2_options; in archive_write_add_filter_bzip2() 100 f->close = &archive_compressor_bzip2_close; in archive_write_add_filter_bzip2() 101 f->free = &archive_compressor_bzip2_free; in archive_write_add_filter_bzip2() 102 f->open = &archive_compressor_bzip2_open; in archive_write_add_filter_bzip2() 103 f->code = ARCHIVE_FILTER_BZIP2; in archive_write_add_filter_bzip2() 104 f->name = "bzip2"; in archive_write_add_filter_bzip2() 125 archive_compressor_bzip2_options(struct archive_write_filter *f, in archive_compressor_bzip2_options() argument 128 struct private_data *data = (struct private_data *)f->data; in archive_compressor_bzip2_options() [all …]
|
| H A D | archive_write_add_filter_xz.c | 144 common_setup(struct archive_write_filter *f) in common_setup() argument 147 struct archive_write *a = (struct archive_write *)f->archive; in common_setup() 153 f->data = data; in common_setup() 156 f->open = &archive_compressor_xz_open; in common_setup() 157 f->close = archive_compressor_xz_close; in common_setup() 158 f->free = archive_compressor_xz_free; in common_setup() 159 f->options = &archive_compressor_xz_options; in common_setup() 169 struct archive_write_filter *f; in archive_write_add_filter_xz() local 174 f = __archive_write_allocate_filter(_a); in archive_write_add_filter_xz() 175 r = common_setup(f); in archive_write_add_filter_xz() [all …]
|
| /dflybsd-src/crypto/libressl/crypto/gost/ |
| H A D | gost2814789.c | 64 f(const GOST2814789_KEY *c, unsigned int x) in f() function 80 n2 ^= f(key, n1 + key->key[0]); n1 ^= f(key, n2 + key->key[1]); in Gost2814789_encrypt() 81 n2 ^= f(key, n1 + key->key[2]); n1 ^= f(key, n2 + key->key[3]); in Gost2814789_encrypt() 82 n2 ^= f(key, n1 + key->key[4]); n1 ^= f(key, n2 + key->key[5]); in Gost2814789_encrypt() 83 n2 ^= f(key, n1 + key->key[6]); n1 ^= f(key, n2 + key->key[7]); in Gost2814789_encrypt() 85 n2 ^= f(key, n1 + key->key[0]); n1 ^= f(key, n2 + key->key[1]); in Gost2814789_encrypt() 86 n2 ^= f(key, n1 + key->key[2]); n1 ^= f(key, n2 + key->key[3]); in Gost2814789_encrypt() 87 n2 ^= f(key, n1 + key->key[4]); n1 ^= f(key, n2 + key->key[5]); in Gost2814789_encrypt() 88 n2 ^= f(key, n1 + key->key[6]); n1 ^= f(key, n2 + key->key[7]); in Gost2814789_encrypt() 90 n2 ^= f(key, n1 + key->key[0]); n1 ^= f(key, n2 + key->key[1]); in Gost2814789_encrypt() [all …]
|
| /dflybsd-src/usr.sbin/syslogd/ |
| H A D | syslogd.c | 238 #define REPEATTIME(f) ((f)->f_time + repeatinterval[(f)->f_repeatcount]) argument 239 #define BACKOFF(f) { if (++(f)->f_repeatcount > MAXREPEAT) \ argument 240 (f)->f_repeatcount = MAXREPEAT; \ 897 struct filed *f; in logmsg() local 964 f = &consfile; in logmsg() 969 f->f_file = open(ctty, O_WRONLY | O_NONBLOCK, 0); in logmsg() 971 if (f->f_file >= 0) { in logmsg() 972 (void)strlcpy(f->f_lasttime, timestamp, in logmsg() 973 sizeof(f->f_lasttime)); in logmsg() 974 fprintlog(f, flags, msg); in logmsg() [all …]
|
| /dflybsd-src/test/stress/fsstress/ |
| H A D | fsstress.c | 957 int f; in make_freq_table() local 961 for (p = ops, f = 0; p < ops_end; p++) in make_freq_table() 962 f += p->freq; in make_freq_table() 963 freq_table = malloc(f * sizeof(*freq_table)); in make_freq_table() 964 freq_table_size = f; in make_freq_table() 966 for (f = 0; f < p->freq; f++, i++) in make_freq_table() 1219 int f; in show_ops() local 1220 for (f = 0, p = ops; p < ops_end; p++) in show_ops() 1221 f += p->freq; in show_ops() 1223 if (f == 0) in show_ops() [all …]
|
| /dflybsd-src/sys/dev/drm/amd/amdgpu/ |
| H A D | amdgpu_sync.c | 66 struct dma_fence *f) in amdgpu_sync_same_dev() argument 68 struct drm_sched_fence *s_fence = to_drm_sched_fence(f); in amdgpu_sync_same_dev() 87 static void *amdgpu_sync_get_owner(struct dma_fence *f) in amdgpu_sync_get_owner() argument 92 if (!f) in amdgpu_sync_get_owner() 95 s_fence = to_drm_sched_fence(f); in amdgpu_sync_get_owner() 99 kfd_fence = to_amdgpu_amdkfd_fence(f); in amdgpu_sync_get_owner() 133 static bool amdgpu_sync_add_later(struct amdgpu_sync *sync, struct dma_fence *f, bool explicit) in amdgpu_sync_add_later() argument 137 hash_for_each_possible(sync->fences, e, node, f->context) { in amdgpu_sync_add_later() 138 if (unlikely(e->fence->context != f->context)) in amdgpu_sync_add_later() 141 amdgpu_sync_keep_later(&e->fence, f); in amdgpu_sync_add_later() [all …]
|
| /dflybsd-src/usr.sbin/installer/libdfui/ |
| H A D | form.c | 475 struct dfui_form *f; in dfui_form_new() local 477 AURA_MALLOC(f, dfui_form); in dfui_form_new() 478 f->id = aura_strdup(id); in dfui_form_new() 479 f->info = info; in dfui_form_new() 480 f->multiple = 0; in dfui_form_new() 481 f->extensible = 0; in dfui_form_new() 482 f->field_head = NULL; in dfui_form_new() 483 f->action_head = NULL; in dfui_form_new() 484 f->dataset_head = NULL; in dfui_form_new() 485 f->property_head = NULL; in dfui_form_new() [all …]
|
| /dflybsd-src/lib/libc/stdio/ |
| H A D | tempnam.c | 51 char *f, *name; in tempnam() local 59 if (issetugid() == 0 && (f = getenv("TMPDIR"))) { in tempnam() 60 snprintf(name, MAXPATHLEN, "%s%s%sXXXXXX", f, in tempnam() 61 *(f + strlen(f) - 1) == '/'? "": "/", pfx); in tempnam() 62 if ((f = _mktemp(name))) in tempnam() 63 return(f); in tempnam() 66 if ((f = (char *)dir)) { in tempnam() 67 snprintf(name, MAXPATHLEN, "%s%s%sXXXXXX", f, in tempnam() 68 *(f + strlen(f) - 1) == '/'? "": "/", pfx); in tempnam() 69 if ((f = _mktemp(name))) in tempnam() [all …]
|
| /dflybsd-src/stand/lib/ |
| H A D | open.c | 80 o_rainit(struct open_file *f) in o_rainit() argument 82 f->f_rabuf = malloc(SOPEN_RASIZE); in o_rainit() 83 f->f_ralen = 0; in o_rainit() 84 f->f_raoffset = 0; in o_rainit() 90 struct open_file *f; in open() local 99 f = &files[fd]; in open() 100 f->f_flags = mode + 1; in open() 101 f->f_dev = NULL; in open() 102 f->f_ops = NULL; in open() 103 f->f_offset = 0; in open() [all …]
|