/freebsd-12-stable/contrib/gcclibs/libiberty/ |
H A D | strcasecmp.c | 35 typedef unsigned char uc; typedef 37 (uc)'\000',(uc)'\001',(uc)'\002',(uc)'\003',(uc)'\004',(uc)'\005',(uc)'\006',(uc)'\007', 38 (uc)'\01 [all...] |
/freebsd-12-stable/contrib/binutils/libiberty/ |
H A D | strcasecmp.c | 35 typedef unsigned char uc; typedef 37 (uc)'\000',(uc)'\001',(uc)'\002',(uc)'\003',(uc)'\004',(uc)'\005',(uc)'\006',(uc)'\007', 38 (uc)'\01 [all...] |
/freebsd-12-stable/contrib/file/src/ |
H A D | is_json.c | 72 json_isspace(const unsigned char uc) argument 74 switch (uc) { 86 json_isdigit(unsigned char uc) argument 88 switch (uc) { 98 json_isxdigit(unsigned char uc) argument 100 if (json_isdigit(uc)) 102 switch (uc) { 112 json_skip_space(const unsigned char *uc, const unsigned char *ue) argument 114 while (uc < ue && json_isspace(*uc)) 122 const unsigned char *uc = *ucp; local 175 const unsigned char *uc = *ucp; local 209 const unsigned char *uc = *ucp; local 264 const unsigned char *uc = *ucp; local 315 const unsigned char *uc = *ucp; local 332 const unsigned char *uc; local 396 const unsigned char *uc = CAST(const unsigned char *, b->fbuf); local [all...] |
H A D | is_csv.c | 67 eatquote(const unsigned char *uc, const unsigned char *ue) argument 71 while (uc < ue) { 72 unsigned char c = *uc++; 76 return --uc; 92 csv_parse(const unsigned char *uc, const unsigned char *ue) argument 96 while (uc < ue) { 98 switch (c = *uc++) { 101 uc = eatquote(uc, ue); 136 const unsigned char *uc local [all...] |
/freebsd-12-stable/lib/libthread_db/arch/mips/ |
H A D | libpthread_md.c | 44 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc) argument 47 memcpy(uc->uc_mcontext.mc_regs, &r->r_regs[ZERO], 48 sizeof(uc->uc_mcontext.mc_regs)); 49 uc->uc_mcontext.mc_pc = r->r_regs[PC]; 50 uc->uc_mcontext.mullo = r->r_regs[MULLO]; 51 uc->uc_mcontext.mulhi = r->r_regs[MULHI]; 55 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r) argument 57 memcpy(&r->r_regs[ZERO], uc->uc_mcontext.mc_regs, 58 sizeof(uc->uc_mcontext.mc_regs)); 59 r->r_regs[PC] = uc 65 pt_fpreg_to_ucontext(const struct fpreg* r, ucontext_t *uc) argument 73 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r) argument [all...] |
/freebsd-12-stable/contrib/netbsd-tests/usr.bin/xlint/lint1/ |
H A D | d_c99_recursive_init.c | 7 char uc; member in union:top::onion 11 { .s = "foo", .c = 'b', .u = { .uc = 'c' } },
|
/freebsd-12-stable/sys/kern/ |
H A D | kern_context.c | 67 ucontext_t uc; local 73 bzero(&uc, sizeof(ucontext_t)); 74 get_mcontext(td, &uc.uc_mcontext, GET_MC_CLEAR_RET); 76 uc.uc_sigmask = td->td_sigmask; 78 bzero(uc.__spare__, sizeof(uc.__spare__)); 79 ret = copyout(&uc, uap->ucp, UC_COPY_SIZE); 87 ucontext_t uc; local 93 ret = copyin(uap->ucp, &uc, UC_COPY_SIZE); 95 ret = set_mcontext(td, &uc 108 ucontext_t uc; local [all...] |
/freebsd-12-stable/lib/libthread_db/arch/i386/ |
H A D | libpthread_md.c | 42 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc) argument 44 memcpy(&uc->uc_mcontext.mc_fs, &r->r_fs, 18*4); 45 uc->uc_mcontext.mc_gs = r->r_gs; 49 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r) argument 51 memcpy(&r->r_fs, &uc->uc_mcontext.mc_fs, 18*4); 52 r->r_gs = uc->uc_mcontext.mc_gs; 56 pt_fpreg_to_ucontext(const struct fpreg* r, ucontext_t *uc) argument 59 memcpy(&uc->uc_mcontext.mc_fpstate, r, 63 struct savexmm *sx = (struct savexmm *)&uc->uc_mcontext.mc_fpstate; 71 pt_ucontext_to_fpreg(const ucontext_t *uc, struc argument 85 pt_fxsave_to_ucontext(const char* r, ucontext_t *uc) argument 92 pt_ucontext_to_fxsave(const ucontext_t *uc, char *r) argument 101 ucontext_t uc; local [all...] |
/freebsd-12-stable/lib/libthread_db/arch/sparc64/ |
H A D | libpthread_md.c | 42 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc) argument 45 memcpy(&uc->uc_mcontext, r, MIN(sizeof(uc->uc_mcontext), sizeof(*r))); 49 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r) argument 52 memcpy(r, &uc->uc_mcontext, MIN(sizeof(uc->uc_mcontext), sizeof(*r))); 56 pt_fpreg_to_ucontext(const struct fpreg* r, ucontext_t *uc) argument 58 mcontext_t *mc = &uc->uc_mcontext; 68 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r) argument 70 const mcontext_t *mc = &uc [all...] |
/freebsd-12-stable/sys/dev/rtwn/usb/ |
H A D | rtwn_usb_attach.c | 134 struct rtwn_usb_softc *uc = RTWN_USB_SOFTC(sc); local 137 error = rtwn_usb_alloc_list(sc, uc->uc_rx, RTWN_USB_RX_LIST_COUNT, 138 uc->uc_rx_buf_size * RTWN_USB_RXBUFSZ_UNIT); 142 STAILQ_INIT(&uc->uc_rx_active); 143 STAILQ_INIT(&uc->uc_rx_inactive); 146 STAILQ_INSERT_HEAD(&uc->uc_rx_inactive, &uc->uc_rx[i], next); 154 struct rtwn_usb_softc *uc = RTWN_USB_SOFTC(sc); local 157 error = rtwn_usb_alloc_list(sc, uc->uc_tx, RTWN_USB_TX_LIST_COUNT, 162 STAILQ_INIT(&uc 198 struct rtwn_usb_softc *uc = RTWN_USB_SOFTC(sc); local 212 struct rtwn_usb_softc *uc = RTWN_USB_SOFTC(sc); local 224 struct rtwn_usb_softc *uc = RTWN_USB_SOFTC(sc); local 237 rtwn_usb_reset_tx_list(struct rtwn_usb_softc *uc, rtwn_datahead *head, struct ieee80211vap *vap) argument 267 rtwn_usb_reset_rx_list(struct rtwn_usb_softc *uc) argument 286 struct rtwn_usb_softc *uc = RTWN_USB_SOFTC(sc); local 294 struct rtwn_usb_softc *uc = RTWN_USB_SOFTC(sc); local 355 struct rtwn_usb_softc *uc = RTWN_USB_SOFTC(sc); local 381 struct rtwn_usb_softc *uc = device_get_softc(self); local 427 struct rtwn_usb_softc *uc = device_get_softc(self); local 449 struct rtwn_usb_softc *uc = device_get_softc(self); local 459 struct rtwn_usb_softc *uc = device_get_softc(self); local [all...] |
H A D | rtwn_usb_tx.c | 75 _rtwn_usb_getbuf(struct rtwn_usb_softc *uc) argument 77 struct rtwn_softc *sc = &uc->uc_sc; 80 bf = STAILQ_FIRST(&uc->uc_tx_inactive); 82 STAILQ_REMOVE_HEAD(&uc->uc_tx_inactive, next); 91 rtwn_usb_getbuf(struct rtwn_usb_softc *uc) argument 93 struct rtwn_softc *sc = &uc->uc_sc; 98 bf = _rtwn_usb_getbuf(uc); 107 rtwn_usb_txeof(struct rtwn_usb_softc *uc, struct rtwn_data *data, int status) argument 109 struct rtwn_softc *sc = &uc->uc_sc; 123 STAILQ_INSERT_TAIL(&uc 136 struct rtwn_usb_softc *uc = usbd_xfer_softc(xfer); local 226 struct rtwn_usb_softc *uc = RTWN_USB_SOFTC(sc); local [all...] |
H A D | rtwn_usb_ep.c | 126 rtwn_usb_setup_queues(struct rtwn_usb_softc *uc) argument 128 struct rtwn_softc *sc = &uc->uc_sc; 133 switch (uc->ntx) { 161 rtwn_usb_setup_endpoints(struct rtwn_usb_softc *uc) argument 164 struct rtwn_softc *sc = &uc->uc_sc; 171 uc->ntx = 0; 172 ep = uc->uc_udev->endpoints; 173 ep_end = uc->uc_udev->endpoints + uc->uc_udev->endpoints_max; 187 if (uc 249 struct rtwn_usb_softc *uc = RTWN_USB_SOFTC(sc); local [all...] |
H A D | rtwn_usb_rx.c | 152 rtwn_rxeof_fragmented(struct rtwn_usb_softc *uc, struct rtwn_data *data, argument 155 struct rtwn_softc *sc = &uc->uc_sc; 157 struct rtwn_rx_stat_common *stat = &uc->uc_rx_stat; 164 if (uc->uc_rx_stat_len < sizeof(*stat)) { 165 min_len = min(sizeof(*stat) - uc->uc_rx_stat_len, len); 166 memcpy((uint8_t *)stat + uc->uc_rx_stat_len, buf, min_len); 168 uc->uc_rx_stat_len += min_len; 172 if (uc->uc_rx_stat_len < sizeof(*stat)) 195 m_copyback(data->m, 0, uc->uc_rx_stat_len, 208 uc 242 struct rtwn_usb_softc *uc = RTWN_USB_SOFTC(sc); local 295 rtwn_report_intr(struct rtwn_usb_softc *uc, struct usb_xfer *xfer, struct rtwn_data *data) argument 367 struct rtwn_usb_softc *uc = usbd_xfer_softc(xfer); local [all...] |
/freebsd-12-stable/lib/libc/string/ |
H A D | memccpy.c | 47 unsigned char uc = c; local 49 if ((*tp++ = *fp++) == uc)
|
/freebsd-12-stable/lib/libc/sys/ |
H A D | setcontext.c | 46 setcontext(const ucontext_t *uc) argument 50 __libc_interposing[INTERPOS_setcontext])(uc));
|
/freebsd-12-stable/lib/libthread_db/arch/powerpc/ |
H A D | libpthread_md.c | 39 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc) argument 41 mcontext_t *mc = &uc->uc_mcontext; 47 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r) argument 49 const mcontext_t *mc = &uc->uc_mcontext; 55 pt_fpreg_to_ucontext(const struct fpreg *r, ucontext_t *uc) argument 57 mcontext_t *mc = &uc->uc_mcontext; 64 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r) argument 66 const mcontext_t *mc = &uc->uc_mcontext;
|
/freebsd-12-stable/tools/test/vm86/ |
H A D | vm86_test.c | 56 ucontext_t *uc; local 59 uc = ucp; 60 mc = &uc->uc_mcontext; 78 ucontext_t uc; local 115 memset(&uc, 0, sizeof(uc)); 116 uc.uc_mcontext.mc_ecx = 0x2345; 117 uc.uc_mcontext.mc_eflags = PSL_VM | PSL_USER; 118 uc.uc_mcontext.mc_cs = uc [all...] |
/freebsd-12-stable/contrib/subversion/subversion/libsvn_subr/utf8proc/ |
H A D | utf8proc.c | 116 utf8proc_uint32_t uc; local 122 uc = *str++; 123 if (uc < 0x80) { 124 *dst = uc; 128 if ((uc - 0xc2) > (0xf4-0xc2)) return UTF8PROC_ERROR_INVALIDUTF8; 129 if (uc < 0xe0) { /* 2-byte sequence */ 132 *dst = ((uc & 0x1f)<<6) | (*str & 0x3f); 135 if (uc < 0xf0) { /* 3-byte sequence */ 139 if (uc == 0xed && *str > 0x9f) 141 uc 161 utf8proc_codepoint_valid(utf8proc_int32_t uc) argument 165 utf8proc_encode_char(utf8proc_int32_t uc, utf8proc_uint8_t *dst) argument 192 unsafe_encode_char(utf8proc_int32_t uc, utf8proc_uint8_t *dst) argument 223 unsafe_get_property(utf8proc_int32_t uc) argument 232 utf8proc_get_property(utf8proc_int32_t uc) argument 399 utf8proc_decompose_char(utf8proc_int32_t uc, utf8proc_int32_t *dst, utf8proc_ssize_t bufsize, utf8proc_option_t options, int *last_boundclass) argument 504 utf8proc_int32_t uc; local 563 utf8proc_int32_t uc; local 677 utf8proc_int32_t uc; local [all...] |
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_lwp_create.c | 81 ucontext_t uc; \ 85 getcontext(&uc); \ 86 uc.uc_flags = _UC_CPU; \ 87 ARCH##_##NAME(&uc); \ 89 error = _lwp_create(&uc, 0, &lid); \ 92 static void ARCH##_##NAME(ucontext_t *uc) \ 105 ucontext_t uc; local 112 _lwp_makecontext(&uc, lwp_main_func, NULL, NULL, stack, ssize); 114 error = _lwp_create(&uc, 0, &lid); 123 uc [all...] |
H A D | t_getcontext.c | 110 ucontext_t uc[DEPTH]; local 115 ATF_REQUIRE_EQ(getcontext(&uc[i]), 0); 117 uc[i].uc_stack.ss_sp = malloc(STACKSZ); 118 uc[i].uc_stack.ss_size = STACKSZ; 119 uc[i].uc_link = (i > 0) ? &uc[i - 1] : &save; 127 makecontext(&uc[i], (void *)run, 6, i, 134 makecontext(&uc[i], (void *)run, 8, i, 137 makecontext(&uc[i], (void *)run, 10, i, 141 makecontext(&uc[ [all...] |
/freebsd-12-stable/lib/libthread_db/arch/aarch64/ |
H A D | libpthread_md.c | 42 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc) argument 44 mcontext_t *mc = &uc->uc_mcontext; 54 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r) argument 56 const mcontext_t *mc = &uc->uc_mcontext; 66 pt_fpreg_to_ucontext(const struct fpreg *r, ucontext_t *uc) argument 68 mcontext_t *mc = &uc->uc_mcontext; 75 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r) argument 77 const mcontext_t *mc = &uc->uc_mcontext;
|
/freebsd-12-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64lsn_control.c | 76 nat64lsn_default_config(ipfw_nat64lsn_cfg *uc) argument 79 if (uc->jmaxlen == 0) 80 uc->jmaxlen = NAT64LSN_JMAXLEN; 81 if (uc->jmaxlen > 65536) 82 uc->jmaxlen = 65536; 83 if (uc->nh_delete_delay == 0) 84 uc->nh_delete_delay = NAT64LSN_HOST_AGE; 85 if (uc->pg_delete_delay == 0) 86 uc->pg_delete_delay = NAT64LSN_PG_AGE; 87 if (uc 118 ipfw_nat64lsn_cfg *uc; local 312 nat64lsn_export_config(struct ip_fw_chain *ch, struct nat64lsn_cfg *cfg, ipfw_nat64lsn_cfg *uc) argument 344 ipfw_nat64lsn_cfg *uc; local 406 ipfw_nat64lsn_cfg *uc; local [all...] |
H A D | nat64clat_control.c | 98 ipfw_nat64clat_cfg *uc) 100 uc->plat_prefix = cfg->base.plat_prefix; 101 uc->plat_plen = cfg->base.plat_plen; 102 uc->clat_prefix = cfg->base.clat_prefix; 103 uc->clat_plen = cfg->base.clat_plen; 104 uc->flags = cfg->base.flags & NAT64CLAT_FLAGSMASK; 105 uc->set = cfg->no.set; 106 strlcpy(uc->name, cfg->no.name, sizeof(uc->name)); 119 ipfw_nat64clat_cfg *uc; local 97 nat64clat_export_config(struct ip_fw_chain *ch, struct nat64clat_cfg *cfg, ipfw_nat64clat_cfg *uc) argument 149 ipfw_nat64clat_cfg *uc; local 220 ipfw_nat64clat_cfg *uc; local [all...] |
/freebsd-12-stable/contrib/libc-vis/ |
H A D | unvis.c | 204 unsigned char uc = (unsigned char)c; local 357 if (isoctal(uc)) { 373 if (isoctal(uc)) { 383 if (!isxdigit(uc)) 387 if (isxdigit(uc)) { 388 *cp = xtod(uc); 400 if (isxdigit(uc)) { 401 *cp = xtod(uc) | (*cp << 4); 407 if (uc == '\n' || uc [all...] |
/freebsd-12-stable/contrib/bzip2/ |
H A D | decompress.c | 108 UChar uc; local 197 GET_UCHAR(BZ_X_MAGIC_1, uc); 198 if (uc != BZ_HDR_B) RETURN(BZ_DATA_ERROR_MAGIC); 200 GET_UCHAR(BZ_X_MAGIC_2, uc); 201 if (uc != BZ_HDR_Z) RETURN(BZ_DATA_ERROR_MAGIC); 203 GET_UCHAR(BZ_X_MAGIC_3, uc) 204 if (uc != BZ_HDR_h) RETURN(BZ_DATA_ERROR_MAGIC); 222 GET_UCHAR(BZ_X_BLKHDR_1, uc); 224 if (uc == 0x17) goto endhdr_2; 225 if (uc ! [all...] |