| /NextBSD/contrib/tcsh/ |
| HD | ed.defns.c | 1129 struct KeyFuncs *f; in editinit() local 1138 f = FuncNames; in editinit() 1139 f->name = "backward-char"; in editinit() 1140 f->func = F_CHARBACK; in editinit() 1141 f->desc = CSAVS(3, 1, "Move back a character"); in editinit() 1143 f++; in editinit() 1144 f->name = "backward-delete-char"; in editinit() 1145 f->func = F_DELPREV; in editinit() 1146 f->desc = CSAVS(3, 2, "Delete the character behind cursor"); in editinit() 1148 f++; in editinit() [all …]
|
| /NextBSD/contrib/libreadline/ |
| HD | MANIFEST | 9 COPYING f 10 README f 11 MANIFEST f 12 INSTALL f 13 CHANGELOG f 14 CHANGES f 15 NEWS f 16 USAGE f 17 aclocal.m4 f 18 config.h.in f [all …]
|
| /NextBSD/usr.sbin/fifolog/lib/ |
| HD | 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 …]
|
| HD | 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 …]
|
| /NextBSD/crypto/heimdal/include/ |
| HD | 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 …]
|
| /NextBSD/contrib/compiler-rt/lib/tsan/tests/unit/ |
| HD | tsan_flags_test.cc | 22 Flags f; in TEST() local 23 InitializeFlags(&f, 0); in TEST() 24 InitializeFlags(&f, ""); in TEST() 28 Flags f; in TEST() local 30 f.enable_annotations = false; in TEST() 31 f.exitcode = -11; in TEST() 32 InitializeFlags(&f, ""); in TEST() 33 EXPECT_EQ(66, f.exitcode); in TEST() 34 EXPECT_EQ(true, f.enable_annotations); in TEST() 89 void VerifyOptions1(Flags *f) { in VerifyOptions1() argument [all …]
|
| /NextBSD/lib/libc/gen/ |
| HD | fmtcheck.c | 84 #define RETURN(pf,f,r) do { \ argument 85 *(pf) = (f); \ 93 const char *f; in get_next_format_from_precision() local 95 f = *pf; in get_next_format_from_precision() 96 switch (*f) { in get_next_format_from_precision() 98 f++; in get_next_format_from_precision() 99 if (!*f) RETURN(pf,f,FMTCHECK_UNKNOWN); in get_next_format_from_precision() 100 if (*f == 'h') { in get_next_format_from_precision() 101 f++; in get_next_format_from_precision() 108 f++; in get_next_format_from_precision() [all …]
|
| /NextBSD/contrib/file/src/ |
| HD | fmtcheck.c | 57 #define RETURN(pf,f,r) do { \ argument 58 *(pf) = (f); \ 66 const char *f; in get_next_format_from_precision() local 70 f = *pf; in get_next_format_from_precision() 71 switch (*f) { in get_next_format_from_precision() 73 f++; in get_next_format_from_precision() 77 f++; in get_next_format_from_precision() 78 if (!*f) RETURN(pf,f,FMTCHECK_UNKNOWN); in get_next_format_from_precision() 79 if (*f == 'l') { in get_next_format_from_precision() 80 f++; in get_next_format_from_precision() [all …]
|
| /NextBSD/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/tracemem/ |
| HD | 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 …]
|
| /NextBSD/sys/dev/usb/ |
| HD | 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 …]
|
| HD | usb_generic.c | 109 static int ugen_get_iface_driver(struct usb_fifo *f, struct usb_gen_descriptor *ugd); 115 static int ugen_fs_uninit(struct usb_fifo *f); 142 ugen_transfer_setup(struct usb_fifo *f, in ugen_transfer_setup() argument 145 struct usb_endpoint *ep = usb_fifo_softc(f); in ugen_transfer_setup() 146 struct usb_device *udev = f->udev; in ugen_transfer_setup() 150 mtx_unlock(f->priv_mtx); in ugen_transfer_setup() 156 error = usbd_transfer_setup(udev, &iface_index, f->xfer, in ugen_transfer_setup() 157 setup, n_setup, f, f->priv_mtx); in ugen_transfer_setup() 160 if (f->xfer[0]->nframes == 1) { in ugen_transfer_setup() 161 error = usb_fifo_alloc_buffer(f, in ugen_transfer_setup() [all …]
|
| /NextBSD/contrib/wpa/wpa_supplicant/ |
| HD | config_file.c | 162 static struct wpa_ssid * wpa_config_read_network(FILE *f, int *line, int id) in wpa_config_read_network() argument 178 while (wpa_config_get_line(buf, sizeof(buf), f, line, &pos)) { in wpa_config_read_network() 223 static struct wpa_cred * wpa_config_read_cred(FILE *f, int *line, int id) in wpa_config_read_cred() argument 236 while (wpa_config_get_line(buf, sizeof(buf), f, line, &pos)) { in wpa_config_read_cred() 280 static struct wpa_config_blob * wpa_config_read_blob(FILE *f, int *line, in wpa_config_read_blob() argument 292 while (wpa_config_get_line(buf, sizeof(buf), f, line, &pos)) { in wpa_config_read_blob() 336 static int wpa_config_process_blob(struct wpa_config *config, FILE *f, in wpa_config_process_blob() argument 350 blob = wpa_config_read_blob(f, line, bname); in wpa_config_process_blob() 364 FILE *f; in wpa_config_read() local 392 f = fopen(name, "r"); in wpa_config_read() [all …]
|
| /NextBSD/contrib/libreadline/examples/rlfe/ |
| HD | pty.c | 113 initmaster(f) in initmaster() argument 114 int f; in initmaster() 117 tcflush(f, TCIOFLUSH); 120 (void) ioctl(f, TIOCFLUSH, (char *) 0); 124 (void) ioctl(f, TIOCEXCL, (char *) 0); 129 InitPTY(f) in InitPTY() argument 130 int f; in InitPTY() 132 if (f < 0) 135 if (ioctl(f, I_PUSH, "ptem")) 137 if (ioctl(f, I_PUSH, "ldterm")) [all …]
|
| /NextBSD/contrib/binutils/opcodes/ |
| HD | ia64-opc-f.c | 25 #define f IA64_TYPE_F, 1 macro 101 {"fmin.s0", f, OpXbX6Sf (0, 0, 0x14, 0), {F1, F2, F3}, EMPTY}, 102 {"fmin", f, OpXbX6Sf (0, 0, 0x14, 0), {F1, F2, F3}, PSEUDO, 0, NULL}, 103 {"fmin.s1", f, OpXbX6Sf (0, 0, 0x14, 1), {F1, F2, F3}, EMPTY}, 104 {"fmin.s2", f, OpXbX6Sf (0, 0, 0x14, 2), {F1, F2, F3}, EMPTY}, 105 {"fmin.s3", f, OpXbX6Sf (0, 0, 0x14, 3), {F1, F2, F3}, EMPTY}, 106 {"fmax.s0", f, OpXbX6Sf (0, 0, 0x15, 0), {F1, F2, F3}, EMPTY}, 107 {"fmax", f, OpXbX6Sf (0, 0, 0x15, 0), {F1, F2, F3}, PSEUDO, 0, NULL}, 108 {"fmax.s1", f, OpXbX6Sf (0, 0, 0x15, 1), {F1, F2, F3}, EMPTY}, 109 {"fmax.s2", f, OpXbX6Sf (0, 0, 0x15, 2), {F1, F2, F3}, EMPTY}, [all …]
|
| /NextBSD/contrib/dtc/ |
| HD | treesource.c | 37 yyin = current_srcfile->f; in dt_from_source() 49 static void write_prefix(FILE *f, int level) in write_prefix() argument 54 fputc('\t', f); in write_prefix() 64 static void write_propval_string(FILE *f, struct data val) in write_propval_string() argument 74 fprintf(f, "%s: ", m->ref); in write_propval_string() 77 fprintf(f, "\""); in write_propval_string() 84 fprintf(f, "\\a"); in write_propval_string() 87 fprintf(f, "\\b"); in write_propval_string() 90 fprintf(f, "\\t"); in write_propval_string() 93 fprintf(f, "\\n"); in write_propval_string() [all …]
|
| /NextBSD/sys/contrib/dev/acpica/common/ |
| HD | dmtbinfo.c | 81 #define ACPI_FACS_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_FACS,f) argument 82 #define ACPI_GAS_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_GENERIC_ADDRESS,f) argument 83 #define ACPI_HDR_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_HEADER,f) argument 84 #define ACPI_RSDP_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_RSDP,f) argument 85 #define ACPI_BERT_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_BERT,f) argument 86 #define ACPI_BGRT_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_BGRT,f) argument 87 #define ACPI_BOOT_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_BOOT,f) argument 88 #define ACPI_CPEP_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_CPEP,f) argument 89 #define ACPI_DBG2_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_DBG2,f) argument 90 #define ACPI_DBGP_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_DBGP,f) argument [all …]
|
| /NextBSD/contrib/netbsd-tests/lib/libc/stdio/ |
| HD | 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 …]
|
| /NextBSD/crypto/openssl/crypto/err/ |
| HD | err.h | 203 # define SYSerr(f,r) ERR_PUT_error(ERR_LIB_SYS,(f),(r),__FILE__,__LINE__) argument 204 # define BNerr(f,r) ERR_PUT_error(ERR_LIB_BN,(f),(r),__FILE__,__LINE__) argument 205 # define RSAerr(f,r) ERR_PUT_error(ERR_LIB_RSA,(f),(r),__FILE__,__LINE__) argument 206 # define DHerr(f,r) ERR_PUT_error(ERR_LIB_DH,(f),(r),__FILE__,__LINE__) argument 207 # define EVPerr(f,r) ERR_PUT_error(ERR_LIB_EVP,(f),(r),__FILE__,__LINE__) argument 208 # define BUFerr(f,r) ERR_PUT_error(ERR_LIB_BUF,(f),(r),__FILE__,__LINE__) argument 209 # define OBJerr(f,r) ERR_PUT_error(ERR_LIB_OBJ,(f),(r),__FILE__,__LINE__) argument 210 # define PEMerr(f,r) ERR_PUT_error(ERR_LIB_PEM,(f),(r),__FILE__,__LINE__) argument 211 # define DSAerr(f,r) ERR_PUT_error(ERR_LIB_DSA,(f),(r),__FILE__,__LINE__) argument 212 # define X509err(f,r) ERR_PUT_error(ERR_LIB_X509,(f),(r),__FILE__,__LINE__) argument [all …]
|
| /NextBSD/contrib/one-true-awk/ |
| HD | b.c | 128 fa *f; in mkdfa() local 138 if ((f = (fa *) calloc(1, sizeof(fa) + poscnt*sizeof(rrow))) == NULL) in mkdfa() 140 f->accept = poscnt-1; /* penter has computed number of positions in re */ in mkdfa() 141 cfoll(f, p1); /* set up follow sets */ in mkdfa() 143 if ((f->posns[0] = (int *) calloc(1, *(f->re[0].lfollow)*sizeof(int))) == NULL) in mkdfa() 145 if ((f->posns[1] = (int *) calloc(1, sizeof(int))) == NULL) in mkdfa() 147 *f->posns[1] = 0; in mkdfa() 148 f->initstat = makeinit(f, anchor); in mkdfa() 149 f->anchor = anchor; in mkdfa() 150 f->restr = (uschar *) tostring(s); in mkdfa() [all …]
|
| /NextBSD/contrib/groff/src/devices/xditview/ |
| HD | font.c | 35 DviFontList *f; in LookupFontByPosition() local 37 for (f = dw->dvi.fonts; f; f = f->next) in LookupFontByPosition() 38 if (f->dvi_number == position) in LookupFontByPosition() 40 return f; in LookupFontByPosition() 46 DviFontList *f; in MaxFontPosition() local 49 for (f = dw->dvi.fonts; f; f = f->next) in MaxFontPosition() 50 if (f->dvi_number > n) in MaxFontPosition() 51 n = f->dvi_number; in MaxFontPosition() 56 LookupFontSizeBySize (DviWidget dw, DviFontList *f, int size) in LookupFontSizeBySize() argument 65 if (f->scalable) { in LookupFontSizeBySize() [all …]
|
| /NextBSD/tools/tools/locale/tools/ |
| HD | cldr2def.pl | 375 foreach my $f (sort keys(%{$languages{$l}})) { 376 foreach my $c (sort keys(%{$languages{$l}{$f}{data}})) { 378 || $filter[1] ne $f || $filter[2] ne $c)); 379 next if (defined $languages{$l}{$f}{definitions} 380 && $languages{$l}{$f}{definitions} !~ /$TYPE/); 381 $languages{$l}{$f}{data}{$c}{$DEFENCODING} = 0; # unread 384 $file .= $f . "_" if ($f ne "x"); 389 if (! -f $filename) { 394 print "Reading from $filename for ${l}_${f}_${c}\n"; 395 $languages{$l}{$f}{data}{$c}{$DEFENCODING} = 1; # read [all …]
|
| /NextBSD/contrib/binutils/libiberty/ |
| HD | maint-tool | 55 while ($f = readdir S) { 56 $have{$f} = 1; 60 while ($f = readdir S) { 61 $have{$f} = 1; 70 for $f (sort keys %have) { 71 next unless $have{$f}; 72 if ($f =~ /\.c$/) { 73 print "S $f\n"; 76 for $f (sort keys %listed) { 77 if ($f =~ /(.*)\.c$/) { [all …]
|
| /NextBSD/contrib/gcclibs/libiberty/ |
| HD | maint-tool | 55 while ($f = readdir S) { 56 $have{$f} = 1; 60 while ($f = readdir S) { 61 $have{$f} = 1; 70 for $f (sort keys %have) { 71 next unless $have{$f}; 72 if ($f =~ /\.c$/) { 73 print "S $f\n"; 76 for $f (sort keys %listed) { 77 if ($f =~ /(.*)\.c$/) { [all …]
|
| /NextBSD/usr.sbin/notifyd/ |
| HD | notifyd.c | 108 fprint_client(FILE *f, client_t *c) in fprint_client() argument 114 fprintf(f, "NULL client\n"); in fprint_client() 120 fprintf(f, "client_id: %lu\n", c->client_id); in fprint_client() 121 fprintf(f, "pid: %d\n", c->pid); in fprint_client() 122 fprintf(f, "token: %d\n", token); in fprint_client() 123 fprintf(f, "lastval: %u\n", c->lastval); in fprint_client() 124 fprintf(f, "suspend_count: %u\n", c->suspend_count); in fprint_client() 125 fprintf(f, "type: %s\n", notify_type_name(c->notify_type)); in fprint_client() 138 fprintf(f, "mach port: 0x%08x\n", c->port); in fprint_client() 142 fprintf(f, "fd: %d\n", c->fd); in fprint_client() [all …]
|
| /NextBSD/sys/mips/include/ |
| HD | bus.h | 287 #define bus_space_barrier(t, h, o, l, f) \ argument 288 (*(t)->bs_barrier)((t)->bs_cookie, (h), (o), (l), (f)) 451 #define bs_map_proto(f) \ argument 452 int __bs_c(f,_bs_map) (void *t, bus_addr_t addr, \ 455 #define bs_unmap_proto(f) \ argument 456 void __bs_c(f,_bs_unmap) (void *t, bus_space_handle_t bsh, \ 459 #define bs_subregion_proto(f) \ argument 460 int __bs_c(f,_bs_subregion) (void *t, bus_space_handle_t bsh, \ 464 #define bs_alloc_proto(f) \ argument 465 int __bs_c(f,_bs_alloc) (void *t, bus_addr_t rstart, \ [all …]
|