/freebsd/sys/contrib/dev/acpica/include/ |
H A D | actbinfo.h | 155 #define ACPI_AGDI_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_AGDI,f) argument 156 #define ACPI_ASPT_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_ASPT,f) argument 157 #define ACPI_FACS_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_FACS,f) argument 158 #define ACPI_GAS_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_GENERIC_ADDRESS,f) argument 159 #define ACPI_HDR_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_HEADER,f) argument 160 #define ACPI_RSDP_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_RSDP,f) argument 161 #define ACPI_BDAT_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_BDAT,f) argument 162 #define ACPI_BERT_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_BERT,f) argument 163 #define ACPI_BGRT_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_BGRT,f) argument 164 #define ACPI_BOOT_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_BOOT,f) argument [all …]
|
/freebsd/contrib/bc/tests/bc/errors/ |
H A D | 02.txt | 1 obase^= 20-f-b-4^-f-4-4^-f-4^-d 2 -f-4>-f-4^-0;759634576394-f-4^-f-4-4^-f-4^-4 3 -f-4^-f>4^-4-f-f-4^-f-4-4^-f-4^-d 4 -f-4>-f-4^-0;7-f-4^-f-4-4^-f-4^-4 5 -f-4^-f>4^-4-f-b-4^-f-4-4^-f-4^-d 6 -f-4>-f-4^-0;7454-f-4^-f-4-4^-f-4^-4 7 -f-4^-f>4^-4-f-f-4^-f-4-4^-f-4^-d 8 -f-4>-f-4^-0;75576394.3946587934658364894^-4-f-f-4^-f-4-4-4^-f-4-4^-f-4^-4 9 -f*.^-f>4^-4-f-b-4^-f-4-4^-f-4^-d 10 -f-4>-f-4^-0;759634576394-f-4^-f-4-4^-f-4^-4 [all …]
|
/freebsd/contrib/tcsh/ |
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 …]
|
/freebsd/usr.sbin/fifolog/lib/ |
H A D | fifolog_write_poll.c | 45 static int fifolog_write_gzip(struct fifolog_writer *f, time_t now); 66 fifolog_write_assert(const struct fifolog_writer *f) in fifolog_write_assert() argument 69 CHECK_OBJ_NOTNULL(f, FIFOLOG_WRITER_MAGIC); in fifolog_write_assert() 70 assert(f->ff->zs->next_out + f->ff->zs->avail_out == \ in fifolog_write_assert() 71 f->obuf + f->obufsize); in fifolog_write_assert() 81 struct fifolog_writer *f; in fifolog_write_new() local 83 ALLOC_OBJ(f, FIFOLOG_WRITER_MAGIC); in fifolog_write_new() 84 assert(f != NULL); in fifolog_write_new() 85 return (f); in fifolog_write_new() 89 fifolog_write_destroy(struct fifolog_writer *f) in fifolog_write_destroy() argument [all …]
|
H A D | fifolog_int.c | 56 fifolog_int_open_i(struct fifolog_file *f, const char *fname, int mode) in fifolog_int_open_i() argument 62 f->fd = open(fname, mode ? O_RDWR : O_RDONLY); in fifolog_int_open_i() 63 if (f->fd < 0) in fifolog_int_open_i() 67 i = ioctl(f->fd, DIOCGSECTORSIZE, &f->recsize); in fifolog_int_open_i() 72 i = fstat(f->fd, &st); in fifolog_int_open_i() 76 f->recsize = 512; in fifolog_int_open_i() 77 f->logsize = st.st_size; in fifolog_int_open_i() 78 } else if (f->recsize < 64) { in fifolog_int_open_i() 81 i = ioctl(f->fd, DIOCGMEDIASIZE, &f->logsize); in fifolog_int_open_i() 87 f->recbuf = malloc(f->recsize); in fifolog_int_open_i() [all …]
|
/freebsd/crypto/heimdal/include/ |
H A D | bits.c | 59 fprintf(f, "%s", tmp2); \ 60 while(tabs-- > 0) fprintf(f, "\t"); \ 61 fprintf(f, "/* %2d bits */\n", b); \ 71 try_signed(FILE *f, int len) __attribute__ ((unused)); 74 try_unsigned(FILE *f, int len) __attribute__ ((unused)); 77 print_bt(FILE *f, int flag) __attribute__ ((unused)); 80 try_signed(FILE *f, int len) in try_signed() argument 89 fprintf(f, "/* There is no %d bit type */\n", len); in try_signed() 93 try_unsigned(FILE *f, int len) in try_unsigned() argument 102 fprintf(f, "/* There is no %d bit type */\n", len); in try_unsigned() [all …]
|
/freebsd/contrib/file/src/ |
H A D | fmtcheck.c | 60 #define RETURN(pf,f,r) do { \ argument 61 *(pf) = (f); \ 69 const char *f; in get_next_format_from_precision() local 73 f = *pf; in get_next_format_from_precision() 74 switch (*f) { in get_next_format_from_precision() 76 f++; in get_next_format_from_precision() 80 f++; in get_next_format_from_precision() 81 if (!*f) RETURN(pf,f,FMTCHECK_UNKNOWN); in get_next_format_from_precision() 82 if (*f == 'l') { in get_next_format_from_precision() 83 f++; in get_next_format_from_precision() [all …]
|
/freebsd/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 …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/tracemem/ |
H A D | tst.dynsize.d.out | 2 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 13 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 24 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 35 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 46 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 57 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 68 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 79 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 90 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 101 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef [all …]
|
/freebsd/sys/dev/usb/ |
H A D | usb_dev.c | 193 struct usb_fifo *f; in usb_ref_device() local 254 f = ppf[cpd->fifo_index + USB_FIFO_TX]; in usb_ref_device() 255 crd->txfifo = f; in usb_ref_device() 257 if (f == NULL || f->refcount == USB_FIFO_REF_MAX) in usb_ref_device() 259 if (f->curr_cpd != cpd) in usb_ref_device() 262 if (f->fs_ep_max != 0) { in usb_ref_device() 270 f = ppf[cpd->fifo_index + USB_FIFO_RX]; in usb_ref_device() 271 crd->rxfifo = f; in usb_ref_device() 273 if (f == NULL || f->refcount == USB_FIFO_REF_MAX) in usb_ref_device() 275 if (f->curr_cpd != cpd) in usb_ref_device() [all …]
|
H A D | usb_generic.c | 113 static int ugen_get_iface_driver(struct usb_fifo *f, struct usb_gen_descriptor *ugd); 115 static int ugen_get32(u_long cmd, struct usb_fifo *f, struct usb_gen_descriptor32 *ugd32); 120 static int ugen_fs_uninit(struct usb_fifo *f); 149 ugen_transfer_setup(struct usb_fifo *f, in ugen_transfer_setup() argument 152 struct usb_endpoint *ep = usb_fifo_softc(f); in ugen_transfer_setup() 153 struct usb_device *udev = f->udev; in ugen_transfer_setup() 157 mtx_unlock(f->priv_mtx); in ugen_transfer_setup() 163 error = usbd_transfer_setup(udev, &iface_index, f->xfer, in ugen_transfer_setup() 164 setup, n_setup, f, f->priv_mtx); in ugen_transfer_setup() 166 if (f->xfer[0]->nframes == 1) { in ugen_transfer_setup() [all …]
|
/freebsd/crypto/openssh/regress/ |
H A D | sshcfgparse.sh | 16 echo "$f" | tr ',' '\n' | grep "^$_expect\$" >/dev/null 25 echo "$f" | tr ',' '\n' | grep "^$_expect\$" >/dev/null 38 f=`${SSH} -GF $OBJ/ssh_config host | awk '/exitonforwardfailure/{print $2}'` 39 test "$f" = "no" || fail "exitonforwardfailure default" 40 f=`${SSH} -GF $OBJ/ssh_config -W a:1 h | awk '/exitonforwardfailure/{print $2}'` 41 test "$f" = "yes" || fail "exitonforwardfailure enable" 42 f=`${SSH} -GF $OBJ/ssh_config -W a:1 -o exitonforwardfailure=no h | \ 44 test "$f" = "no" || fail "exitonforwardfailure override" 46 f=`${SSH} -GF $OBJ/ssh_config host | awk '/clearallforwardings/{print $2}'` 47 test "$f" = "no" || fail "clearallforwardings default" [all …]
|
/freebsd/stand/libsa/ |
H A D | open.c | 86 struct open_file *f; in fd2open_file() local 88 TAILQ_FOREACH(f, &files, f_link) { in fd2open_file() 90 if (f->f_id == fd) in fd2open_file() 95 if (f->f_flags == 0) in fd2open_file() 98 return (f); in fd2open_file() 104 struct open_file *f, *last; in o_gethandle() local 107 f = fd2open_file(-1); in o_gethandle() 108 if (f != NULL) { in o_gethandle() 109 *ptr = f; in o_gethandle() 110 return (f->f_id); in o_gethandle() [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | config_file.c | 85 static struct wpa_ssid * wpa_config_read_network(FILE *f, int *line, int id) in wpa_config_read_network() argument 101 while (wpa_config_get_line(buf, sizeof(buf), f, line, &pos)) { in wpa_config_read_network() 160 static struct wpa_cred * wpa_config_read_cred(FILE *f, int *line, int id) in wpa_config_read_cred() argument 173 while (wpa_config_get_line(buf, sizeof(buf), f, line, &pos)) { in wpa_config_read_cred() 217 static struct wpa_config_blob * wpa_config_read_blob(FILE *f, int *line, in wpa_config_read_blob() argument 229 while (wpa_config_get_line(buf, sizeof(buf), f, line, &pos)) { in wpa_config_read_blob() 273 static int wpa_config_process_blob(struct wpa_config *config, FILE *f, in wpa_config_process_blob() argument 287 blob = wpa_config_read_blob(f, line, bname); in wpa_config_process_blob() 302 FILE *f; in wpa_config_read() local 330 f = fopen(name, "r"); in wpa_config_read() [all …]
|
/freebsd/contrib/bc/src/ |
H A D | file.c | 123 bc_file_flushErr(BcFile* restrict f, BcFlushType type) in bc_file_flushErr() argument 132 if (fflush(f->f) == EOF) s = BC_STATUS_ERROR_FATAL; in bc_file_flushErr() 138 if (f->len) in bc_file_flushErr() 147 if (f->buf[f->len - 1] != '\n' && in bc_file_flushErr() 154 for (i = f->len - 2; i < f->len && f->buf[i] != '\n'; --i) in bc_file_flushErr() 162 bc_vec_string(&vm->history.extras, f in bc_file_flushErr() 184 bc_file_flush(BcFile * restrict f,BcFlushType type) bc_file_flush() argument 213 bc_file_write(BcFile * restrict f,BcFlushType type,const char * buf,size_t n) bc_file_write() argument 258 bc_file_printf(BcFile * restrict f,const char * fmt,...) bc_file_printf() argument 273 bc_file_vprintf(BcFile * restrict f,const char * fmt,va_list args) bc_file_vprintf() argument 395 bc_file_puts(BcFile * restrict f,BcFlushType type,const char * str) bc_file_puts() argument 408 bc_file_putchar(BcFile * restrict f,BcFlushType type,uchar c) bc_file_putchar() argument 441 bc_file_init(BcFile * f,FILE * file) bc_file_init() argument 450 bc_file_init(BcFile * f,int fd,char * buf,size_t cap) bc_file_init() argument 463 bc_file_free(BcFile * f) bc_file_free() argument [all...] |
/freebsd/sys/dev/cxgbe/ |
H A D | t4_filter.c | 140 struct filter_entry *f, *ftmp; in free_hftid_hash() local 151 LIST_FOREACH_SAFE(f, &head[i], link_tid, ftmp) { in free_hftid_hash() 152 LIST_REMOVE(f, link_tid); in free_hftid_hash() 159 LIST_FOREACH_SAFE(f, &head[i], link_4t, ftmp) { in free_hftid_hash() 161 n += f->fs.type ? 2 : 1; in free_hftid_hash() 163 LIST_REMOVE(f, link_4t); in free_hftid_hash() 164 free(f, M_CXGBE); in free_hftid_hash() 186 insert_hf(struct adapter *sc, struct filter_entry *f, uint32_t hash) in insert_hf() argument 193 hash = hf_hashfn_4t(&f->fs); in insert_hf() 194 LIST_INSERT_HEAD(&head[hash & t->hftid_4t_mask], f, link_4 in insert_hf() 199 insert_hftid(struct adapter * sc,struct filter_entry * f) insert_hftid() argument 266 struct filter_entry *f; lookup_hf() local 287 struct filter_entry *f; lookup_hftid() local 303 remove_hf(struct adapter * sc,struct filter_entry * f) remove_hf() argument 314 remove_hftid(struct adapter * sc,struct filter_entry * f) remove_hftid() argument 636 struct filter_entry *f; set_tcamfilter() local 1074 struct filter_entry *f; del_tcamfilter() local 1173 free_filter_resources(struct filter_entry * f) free_filter_resources() argument 1228 struct filter_entry *f; t4_filter_rpl() local 1301 struct filter_entry *f = lookup_atid(sc, atid); t4_hashfilter_ao_rpl() local 1349 struct filter_entry *f; t4_hashfilter_tcb_rpl() local 1384 struct filter_entry *f; t4_del_hashfilter_rpl() local 1413 struct filter_entry *f; get_tcamfilter() local 1470 struct filter_entry *f; get_hashfilter() local 1506 mk_act_open_req6(struct adapter * sc,struct filter_entry * f,int atid,uint64_t ftuple,struct cpl_act_open_req6 * cpl) mk_act_open_req6() argument 1550 mk_act_open_req(struct adapter * sc,struct filter_entry * f,int atid,uint64_t ftuple,struct cpl_act_open_req * cpl) mk_act_open_req() argument 1624 struct filter_entry *f; set_hashfilter() local 1827 struct filter_entry *f; del_hashfilter() local 1891 set_nat_params(struct adapter * sc,struct filter_entry * f,const bool dip,const bool sip,const bool dp,const bool sp) set_nat_params() argument 1963 configure_hashfilter_tcb(struct adapter * sc,struct filter_entry * f) configure_hashfilter_tcb() argument [all...] |
/freebsd/contrib/bmake/ |
H A D | for.c | 94 ForLoop *f = bmake_malloc(sizeof *f); in ForLoop_New() local 96 Vector_Init(&f->vars, sizeof(char *)); in ForLoop_New() 97 SubstringWords_Init(&f->items); in ForLoop_New() 98 Buf_Init(&f->body); in ForLoop_New() 99 f->nextItem = 0; in ForLoop_New() 101 return f; in ForLoop_New() 105 ForLoop_Free(ForLoop *f) in ForLoop_Free() argument 107 while (f->vars.len > 0) in ForLoop_Free() 108 free(*(char **)Vector_Pop(&f->vars)); in ForLoop_Free() 109 Vector_Done(&f->vars); in ForLoop_Free() [all …]
|
/freebsd/contrib/bsddialog/lib/ |
H A D | formbox.c | 93 struct bsddialog_formitem *items, struct privateform *f) in build_privateform() argument 111 f->nitems = nitems; in build_privateform() 117 if (mbtowc(&f->securewch, conf->form.securembch, mbchsize) < 0) in build_privateform() 121 f->securewch = btowc(conf->form.securech); in build_privateform() 124 f->securewch = L' '; in build_privateform() 128 f->pritems = malloc(f->nitems * sizeof(struct privateitem)); in build_privateform() 129 if (f->pritems == NULL) in build_privateform() 131 f->hasbottomdesc = false; in build_privateform() 132 f in build_privateform() 358 return_values(struct bsddialog_conf * conf,struct privateform * f,struct bsddialog_formitem * items) return_values() argument 377 set_first_with_default(struct privateform * f,int * focusitem) set_first_with_default() argument 461 drawitem(struct privateform * f,int idx,bool focus) drawitem() argument 521 DRAWITEM_TRICK(f,idx,focus) global() argument 528 update_formbox(struct bsddialog_conf * conf,struct privateform * f) update_formbox() argument 548 curriteminview(struct privateform * f,struct privateitem * item) curriteminview() argument 565 form_size_position(struct dialog * d,struct privateform * f) form_size_position() argument 606 form_redraw(struct dialog * d,struct privateform * f,bool focusinform) form_redraw() argument [all...] |
/freebsd/contrib/arm-optimized-routines/math/test/ |
H A D | mathbench.c | 171 float (*f) (float); member 183 #define F(func, lo, hi) {#func, 'f', 0, lo, hi, {.f = func}}, 228 double f; in asdouble() member 230 return u.f; in asdouble() 271 run_thruput (double f (double)) in run_thruput() 274 f (A[i]); in run_thruput() 278 runf_thruput (float f (float)) in runf_thruput() 281 f (Af[i]); in runf_thruput() 287 run_latency (double f (double)) in run_latency() 292 prev = f (A[i] + prev * z); in run_latency() [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/stdio/ |
H A D | t_fopen.c | 53 FILE *f; in ATF_TC_BODY() local 65 f = fdopen(fd, "w+"); in ATF_TC_BODY() 67 ATF_REQUIRE(f != NULL); in ATF_TC_BODY() 68 ATF_REQUIRE(fclose(f) == 0); in ATF_TC_BODY() 121 FILE *f; in ATF_TC_BODY() local 135 f = fdopen(fd, "r+"); in ATF_TC_BODY() 137 ATF_REQUIRE(f != NULL); in ATF_TC_BODY() 138 ATF_REQUIRE(ftell(f) == 3); in ATF_TC_BODY() 139 ATF_REQUIRE(fclose(f) == 0); in ATF_TC_BODY() 161 FILE *f; in ATF_TC_BODY() local [all …]
|
/freebsd/contrib/bc/include/ |
H A D | file.h | 55 FILE* f; member 109 #define bc_file_putchar(f, t, c) bc_file_putchar_impl(f, t, c) 110 #define bc_file_flushErr(f, t) bc_file_flushErr_impl(f, t) 111 #define bc_file_flush(f, t) bc_file_flush_impl(f, t) 112 #define bc_file_write(f, t, b, n) bc_file_write_impl(f, t, b, n) 113 #define bc_file_puts(f, 103 bc_file_putchar(f,t,c) global() argument 104 bc_file_flushErr(f,t) global() argument 105 bc_file_flush(f,t) global() argument 106 bc_file_write(f,t,b,n) global() argument 107 bc_file_puts(f,t,s) global() argument 114 bc_file_putchar(f,t,c) global() argument 115 bc_file_flushErr(f,t) global() argument 116 bc_file_flush(f,t) global() argument 117 bc_file_write(f,t,b,n) global() argument 118 bc_file_puts(f,t,s) global() argument [all...] |
/freebsd/contrib/arm-optimized-routines/pl/math/test/ |
H A D | ulp_funcs.h | 10 #define _ZVF1(f) ZVF1 (f) argument 11 #define _ZVD1(f) ZVD1 (f) argument 12 #define _ZVF2(f) ZVF2 (f) argument 13 #define _ZVD2(f) ZVD2 (f) argument 17 #define _ZVF1(f) argument 18 #define _ZVD1(f) argument 19 #define _ZVF2(f) argument 20 #define _ZVD2(f) argument 26 #define _ZSVF1(f) ZSVF1 (f) argument 27 #define _ZSVF2(f) ZSVF2 (f) argument [all …]
|
H A D | pl_test.h | 12 # define PL_TEST_ULP(f, l) PL_TEST_ULP f l argument 14 # define PL_TEST_ULP(f, l) \ argument 15 PL_TEST_EXPECT_FENV_ALWAYS (f) \ 16 PL_TEST_ULP f l 23 #define PL_TEST_EXPECT_FENV(f, e) PL_TEST_EXPECT_FENV_ (f, e) argument 24 #define PL_TEST_EXPECT_FENV_(f, e) PL_TEST_EXPECT_FENV_##e (f) argument 25 #define PL_TEST_EXPECT_FENV_1(f) PL_TEST_EXPECT_FENV_ENABLED f argument 26 #define PL_TEST_EXPECT_FENV_ALWAYS(f) PL_TEST_EXPECT_FENV (f, 1) argument 28 #define PL_TEST_INTERVAL(f, lo, hi, n) PL_TEST_INTERVAL f lo hi n argument 29 #define PL_TEST_SYM_INTERVAL(f, lo, hi, n) \ argument [all …]
|
/freebsd/sys/contrib/libsodium/packaging/dotnet-core/ |
H A D | prepare.py | 67 def make(self, f): argument 68 f.write('\n') 69 f.write('{0}: {1}\n'.format(self.packfile, self.tempfile)) 70 f.write('\t@mkdir -p $(dir $@)\n') 71 f.write('\tcp -f $< $@\n') 72 f.write('\n') 73 f.write('{0}: {1}\n'.format(self.tempfile, self.cachefile)) 74 f.write('\t@mkdir -p $(dir $@)\n') 75 f.write('\tcd {0} && unzip -q -DD -o {1} \'{2}\'\n'.format( 91 def make(self, f): argument [all …]
|
/freebsd/contrib/one-true-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 …]
|