| /freebsd-12.1/contrib/gcclibs/libiberty/ |
| H A D | strcasecmp.c | 37 (uc)'\000',(uc)'\001',(uc)'\002',(uc)'\003',(uc)'\004',(uc)'\005',(uc)'\006',(uc)'\007', 38 (uc)'\010',(uc)'\011',(uc)'\012',(uc)'\013',(uc)'\014',(uc)'\015',(uc)'\016',(uc)'\017', 39 (uc)'\020',(uc)'\021',(uc)'\022',(uc)'\023',(uc)'\024',(uc)'\025',(uc)'\026',(uc)'\027', 40 (uc)'\030',(uc)'\031',(uc)'\032',(uc)'\033',(uc)'\034',(uc)'\035',(uc)'\036',(uc)'\037', 41 (uc)'\040',(uc)'\041',(uc)'\042',(uc)'\043',(uc)'\044',(uc)'\045',(uc)'\046',(uc)'\047', 42 (uc)'\050',(uc)'\051',(uc)'\052',(uc)'\053',(uc)'\054',(uc)'\055',(uc)'\056',(uc)'\057', 43 (uc)'\060',(uc)'\061',(uc)'\062',(uc)'\063',(uc)'\064',(uc)'\065',(uc)'\066',(uc)'\067', 44 (uc)'\070',(uc)'\071',(uc)'\072',(uc)'\073',(uc)'\074',(uc)'\075',(uc)'\076',(uc)'\077', 45 (uc)'\100',(uc)'\141',(uc)'\142',(uc)'\143',(uc)'\144',(uc)'\145',(uc)'\146',(uc)'\147', 46 (uc)'\150',(uc)'\151',(uc)'\152',(uc)'\153',(uc)'\154',(uc)'\155',(uc)'\156',(uc)'\157', [all …]
|
| /freebsd-12.1/contrib/binutils/libiberty/ |
| H A D | strcasecmp.c | 37 (uc)'\000',(uc)'\001',(uc)'\002',(uc)'\003',(uc)'\004',(uc)'\005',(uc)'\006',(uc)'\007', 38 (uc)'\010',(uc)'\011',(uc)'\012',(uc)'\013',(uc)'\014',(uc)'\015',(uc)'\016',(uc)'\017', 39 (uc)'\020',(uc)'\021',(uc)'\022',(uc)'\023',(uc)'\024',(uc)'\025',(uc)'\026',(uc)'\027', 40 (uc)'\030',(uc)'\031',(uc)'\032',(uc)'\033',(uc)'\034',(uc)'\035',(uc)'\036',(uc)'\037', 41 (uc)'\040',(uc)'\041',(uc)'\042',(uc)'\043',(uc)'\044',(uc)'\045',(uc)'\046',(uc)'\047', 42 (uc)'\050',(uc)'\051',(uc)'\052',(uc)'\053',(uc)'\054',(uc)'\055',(uc)'\056',(uc)'\057', 43 (uc)'\060',(uc)'\061',(uc)'\062',(uc)'\063',(uc)'\064',(uc)'\065',(uc)'\066',(uc)'\067', 44 (uc)'\070',(uc)'\071',(uc)'\072',(uc)'\073',(uc)'\074',(uc)'\075',(uc)'\076',(uc)'\077', 45 (uc)'\100',(uc)'\141',(uc)'\142',(uc)'\143',(uc)'\144',(uc)'\145',(uc)'\146',(uc)'\147', 46 (uc)'\150',(uc)'\151',(uc)'\152',(uc)'\153',(uc)'\154',(uc)'\155',(uc)'\156',(uc)'\157', [all …]
|
| /freebsd-12.1/contrib/subversion/subversion/libsvn_subr/utf8proc/ |
| H A D | utf8proc.c | 122 uc = *str++; in utf8proc_iterate() 124 *dst = uc; in utf8proc_iterate() 144 *dst = uc; in utf8proc_iterate() 227 utf8proc_stage1table[uc >> 8] + (uc & 0xFF) in unsafe_get_property() 233 return uc < 0 || uc >= 0x110000 ? utf8proc_properties : unsafe_get_property(uc); in utf8proc_get_property() 430 if (uc == 0x2018 || uc == 0x2019 || uc == 0x02BC || uc == 0x02C8) in utf8proc_decompose_char() 436 if (uc == 0x2039 || uc == 0x2329 || uc == 0x3008) in utf8proc_decompose_char() 438 if (uc == 0x203A || uc == 0x232A || uc == 0x3009) in utf8proc_decompose_char() 441 if (uc == 0x02C4 || uc == 0x02C6 || uc == 0x2038 || uc == 0x2303) in utf8proc_decompose_char() 567 if (uc == 0x000A || uc == 0x000D || uc == 0x0085 || in utf8proc_normalize_utf32() [all …]
|
| /freebsd-12.1/sys/dev/rtwn/usb/ |
| H A D | rtwn_usb_attach.c | 147 STAILQ_INSERT_HEAD(&uc->uc_rx_inactive, &uc->uc_rx[i], next); in rtwn_usb_alloc_rx_list() 168 STAILQ_INSERT_HEAD(&uc->uc_tx_inactive, &uc->uc_tx[i], next); in rtwn_usb_alloc_tx_list() 203 uc->uc_rx_stat_len = 0; in rtwn_usb_free_rx_list() 204 uc->uc_rx_off = 0; in rtwn_usb_free_rx_list() 229 rtwn_usb_reset_tx_list(uc, &uc->uc_tx_active, vap); in rtwn_usb_reset_lists() 230 rtwn_usb_reset_tx_list(uc, &uc->uc_tx_pending, vap); in rtwn_usb_reset_lists() 280 uc->uc_rx_stat_len = 0; in rtwn_usb_reset_rx_list() 281 uc->uc_rx_off = 0; in rtwn_usb_reset_rx_list() 388 uc->uc_udev = uaa->device; in rtwn_usb_attach() 452 rtwn_suspend(&uc->uc_sc); in rtwn_usb_suspend() [all …]
|
| H A D | rtwn_usb_tx.c | 79 struct rtwn_softc *sc = &uc->uc_sc; in _rtwn_usb_getbuf() 82 bf = STAILQ_FIRST(&uc->uc_tx_inactive); in _rtwn_usb_getbuf() 95 struct rtwn_softc *sc = &uc->uc_sc; in rtwn_usb_getbuf() 100 bf = _rtwn_usb_getbuf(uc); in rtwn_usb_getbuf() 111 struct rtwn_softc *sc = &uc->uc_sc; in rtwn_usb_txeof() 128 if (STAILQ_EMPTY(&uc->uc_tx_active) && STAILQ_EMPTY(&uc->uc_tx_pending)) in rtwn_usb_txeof() 139 struct rtwn_softc *sc = &uc->uc_sc; in rtwn_bulk_tx_callback() 150 rtwn_usb_txeof(uc, data, 0); in rtwn_bulk_tx_callback() 180 rtwn_usb_txeof(uc, data, 1); in rtwn_bulk_tx_callback() 239 data = rtwn_usb_getbuf(uc); in rtwn_usb_tx_start() [all …]
|
| H A D | rtwn_usb_ep.c | 134 switch (uc->ntx) { in rtwn_usb_setup_queues() 172 uc->ntx = 0; in rtwn_usb_setup_endpoints() 173 ep = uc->uc_udev->endpoints; in rtwn_usb_setup_endpoints() 174 ep_end = uc->uc_udev->endpoints + uc->uc_udev->endpoints_max; in rtwn_usb_setup_endpoints() 188 if (uc->ntx == RTWN_MAX_EPOUT) in rtwn_usb_setup_endpoints() 194 if (uc->ntx == 0 || uc->ntx > RTWN_MAX_EPOUT) { in rtwn_usb_setup_endpoints() 197 uc->ntx); in rtwn_usb_setup_endpoints() 206 switch (uc->ntx) { in rtwn_usb_setup_endpoints() 231 uc->uc_xfer, rtwn_config, RTWN_N_TRANSFER, uc, &sc->sc_mtx); in rtwn_usb_setup_endpoints() 242 rtwn_usb_setup_queues(uc); in rtwn_usb_setup_endpoints() [all …]
|
| H A D | rtwn_usb_rx.c | 155 struct rtwn_softc *sc = &uc->uc_sc; in rtwn_rxeof_fragmented() 168 uc->uc_rx_stat_len += min_len; in rtwn_rxeof_fragmented() 208 uc->uc_rx_off = sizeof(*stat); in rtwn_rxeof_fragmented() 216 uc->uc_rx_off += min_len; in rtwn_rxeof_fragmented() 217 if (uc->uc_rx_off == totlen) { in rtwn_rxeof_fragmented() 219 min_len = rtwn_usb_align_rx(uc, in rtwn_rxeof_fragmented() 226 uc->uc_rx_stat_len = 0; in rtwn_rxeof_fragmented() 227 uc->uc_rx_off = 0; in rtwn_rxeof_fragmented() 232 if (uc->uc_rx_stat_len == 0) in rtwn_rxeof_fragmented() 306 uc->uc_rx_stat_len == 0)) { in rtwn_report_intr() [all …]
|
| /freebsd-12.1/contrib/bzip2/ |
| H A D | decompress.c | 108 UChar uc; in BZ2_decompress() local 197 GET_UCHAR(BZ_X_MAGIC_1, uc); in BZ2_decompress() 203 GET_UCHAR(BZ_X_MAGIC_3, uc) in BZ2_decompress() 242 GET_UCHAR(BZ_X_BCRC_1, uc); in BZ2_decompress() 244 GET_UCHAR(BZ_X_BCRC_2, uc); in BZ2_decompress() 246 GET_UCHAR(BZ_X_BCRC_3, uc); in BZ2_decompress() 248 GET_UCHAR(BZ_X_BCRC_4, uc); in BZ2_decompress() 269 if (uc == 1) in BZ2_decompress() 295 if (uc == 0) break; in BZ2_decompress() 539 s->cftabCopy[uc]++; in BZ2_decompress() [all …]
|
| /freebsd-12.1/bin/sh/tests/expansion/ |
| H A D | set-u1.0 | 3 ${SH} -uc 'unset foo; echo $foo' 2>/dev/null && exit 1 4 ${SH} -uc 'foo=; echo $foo' >/dev/null || exit 1 5 ${SH} -uc 'foo=1; echo $foo' >/dev/null || exit 1 12 ${SH} -uc 'foo=; echo ${#foo}' >/dev/null || exit 1 22 ${SH} -uc 'echo $!' 2>/dev/null && exit 1 23 ${SH} -uc ':& echo $!' >/dev/null || exit 1 24 ${SH} -uc 'echo $#' >/dev/null || exit 1 25 ${SH} -uc 'echo $1' 2>/dev/null && exit 1 26 ${SH} -uc 'echo $1' ${SH} x >/dev/null || exit 1 27 ${SH} -uc 'echo $2' ${SH} x 2>/dev/null && exit 1 [all …]
|
| /freebsd-12.1/sys/kern/ |
| H A D | kern_context.c | 67 ucontext_t uc; in sys_getcontext() local 73 bzero(&uc, sizeof(ucontext_t)); in sys_getcontext() 76 uc.uc_sigmask = td->td_sigmask; in sys_getcontext() 78 bzero(uc.__spare__, sizeof(uc.__spare__)); in sys_getcontext() 87 ucontext_t uc; in sys_setcontext() local 95 ret = set_mcontext(td, &uc.uc_mcontext); in sys_setcontext() 108 ucontext_t uc; in sys_swapcontext() local 114 bzero(&uc, sizeof(ucontext_t)); in sys_swapcontext() 116 bzero(uc.__spare__, sizeof(uc.__spare__)); in sys_swapcontext() 118 uc.uc_sigmask = td->td_sigmask; in sys_swapcontext() [all …]
|
| /freebsd-12.1/sys/netpfil/ipfw/nat64/ |
| H A D | nat64lsn_control.c | 79 if (uc->jmaxlen == 0) in nat64lsn_default_config() 82 uc->jmaxlen = 65536; in nat64lsn_default_config() 103 uc->states_chunks = 1 << fls(uc->states_chunks); in nat64lsn_default_config() 118 ipfw_nat64lsn_cfg *uc; in nat64lsn_create() local 135 if (uc->plen4 > 32) in nat64lsn_create() 143 if (nat64_check_prefix6(&uc->prefix6, uc->plen6) != 0 && in nat64lsn_create() 158 if (nat64lsn_find(ni, uc->name, uc->set) != NULL) { in nat64lsn_create() 168 cfg->no.set = uc->set; in nat64lsn_create() 192 if (nat64lsn_find(ni, uc->name, uc->set) != NULL) { in nat64lsn_create() 331 strlcpy(uc->name, cfg->no.name, sizeof(uc->name)); in nat64lsn_export_config() [all …]
|
| H A D | nat64clat_control.c | 105 uc->set = cfg->no.set; in nat64clat_export_config() 106 strlcpy(uc->name, cfg->no.name, sizeof(uc->name)); in nat64clat_export_config() 119 ipfw_nat64clat_cfg *uc; in export_config_cb() local 121 uc = (ipfw_nat64clat_cfg *)ipfw_get_sopt_space(da->sd, sizeof(*uc)); in export_config_cb() 163 nat64_check_prefix6(&uc->plat_prefix, uc->plat_plen) != 0 || in nat64clat_create() 164 nat64_check_prefix6(&uc->clat_prefix, uc->clat_plen) != 0) in nat64clat_create() 170 if (nat64clat_find(ni, uc->name, uc->set) != NULL) { in nat64clat_create() 176 cfg = nat64clat_alloc_config(uc->name, uc->set); in nat64clat_create() 188 if (nat64clat_find(ni, uc->name, uc->set) != NULL) { in nat64clat_create() 263 if (nat64_check_prefix6(&uc->plat_prefix, uc->plat_plen) != 0) { in nat64clat_config() [all …]
|
| H A D | nat64stl_control.c | 99 ipfw_nat64stl_cfg *uc) in nat64stl_export_config() argument 106 uc->set = cfg->no.set; in nat64stl_export_config() 107 strlcpy(uc->name, cfg->no.name, sizeof(uc->name)); in nat64stl_export_config() 125 ipfw_nat64stl_cfg *uc; in export_config_cb() local 127 uc = (ipfw_nat64stl_cfg *)ipfw_get_sopt_space(da->sd, sizeof(*uc)); in export_config_cb() 180 ipfw_nat64stl_cfg *uc; in nat64stl_create() local 194 nat64_check_prefix6(&uc->prefix6, uc->plen6) != 0) in nat64stl_create() 203 if (nat64stl_find(ni, uc->name, uc->set) != NULL) { in nat64stl_create() 209 cfg = nat64stl_alloc_config(uc->name, uc->set); in nat64stl_create() 218 if (nat64stl_find(ni, uc->name, uc->set) != NULL) { in nat64stl_create() [all …]
|
| /freebsd-12.1/lib/libthread_db/arch/mips/ |
| H A D | libpthread_md.c | 48 sizeof(uc->uc_mcontext.mc_regs)); in pt_reg_to_ucontext() 49 uc->uc_mcontext.mc_pc = r->r_regs[PC]; in pt_reg_to_ucontext() 50 uc->uc_mcontext.mullo = r->r_regs[MULLO]; in pt_reg_to_ucontext() 51 uc->uc_mcontext.mulhi = r->r_regs[MULHI]; in pt_reg_to_ucontext() 58 sizeof(uc->uc_mcontext.mc_regs)); in pt_ucontext_to_reg() 59 r->r_regs[PC] = uc->uc_mcontext.mc_pc; in pt_ucontext_to_reg() 60 r->r_regs[MULLO] = uc->uc_mcontext.mullo; in pt_ucontext_to_reg() 61 r->r_regs[MULHI] = uc->uc_mcontext.mulhi; in pt_ucontext_to_reg() 68 memcpy(uc->uc_mcontext.mc_fpregs, r->r_regs, in pt_fpreg_to_ucontext() 69 sizeof(uc->uc_mcontext.mc_fpregs)); in pt_fpreg_to_ucontext() [all …]
|
| /freebsd-12.1/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; in ATF_TC_BODY() local 114 error = _lwp_create(&uc, 0, &lid); in ATF_TC_BODY() 123 uc->uc_flags &= ~_UC_CPU; 188 uc->uc_mcontext.__gregs[_REG_PC] = 0; [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[i], (void *)run, 10, i, 149 ATF_REQUIRE_EQ(setcontext(&uc[DEPTH-1]), 0);
|
| /freebsd-12.1/lib/libthread_db/arch/i386/ |
| H A D | libpthread_md.c | 42 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc) in pt_reg_to_ucontext() argument 44 memcpy(&uc->uc_mcontext.mc_fs, &r->r_fs, 18*4); in pt_reg_to_ucontext() 45 uc->uc_mcontext.mc_gs = r->r_gs; in pt_reg_to_ucontext() 51 memcpy(&r->r_fs, &uc->uc_mcontext.mc_fs, 18*4); in pt_ucontext_to_reg() 52 r->r_gs = uc->uc_mcontext.mc_gs; in pt_ucontext_to_reg() 59 memcpy(&uc->uc_mcontext.mc_fpstate, r, in pt_fpreg_to_ucontext() 85 pt_fxsave_to_ucontext(const char* r, ucontext_t *uc) in pt_fxsave_to_ucontext() argument 92 pt_ucontext_to_fxsave(const ucontext_t *uc, char *r) in pt_ucontext_to_fxsave() argument 101 ucontext_t uc; in pt_md_init() local 103 getcontext(&uc); in pt_md_init() [all …]
|
| /freebsd-12.1/contrib/libc-vis/ |
| H A D | unvis.c | 388 *cp = xtod(uc); in unvis() 407 if (uc == '\n' || uc == '\r') { in unvis() 411 if (isxdigit(uc) && (isdigit(uc) || isupper(uc))) { in unvis() 412 *cp = XTOD(uc); in unvis() 419 if (isxdigit(uc) && (isdigit(uc) || isupper(uc))) { in unvis() 427 switch (uc) { in unvis() 435 *cp = uc; in unvis() 454 if (uc == ';') in unvis() 455 uc = '\0'; in unvis() 467 if (uc != 0) { in unvis() [all …]
|
| /freebsd-12.1/contrib/libarchive/libarchive/test/ |
| H A D | test_archive_string_conversion.c | 88 if (uc > 0xffff) { in unicode_to_utf16be() 91 uc -= 0x10000; in unicode_to_utf16be() 115 if (uc > 0xffff) { in unicode_to_utf16le() 118 uc -= 0x10000; in unicode_to_utf16le() 141 if (uc > 0xffff) { in unicode_to_wc() 144 uc -= 0x10000; in unicode_to_wc() 163 unsigned uc = 0; in scan_unicode_pattern() local 173 uc = (uc << 4) + (*p - '0'); in scan_unicode_pattern() 175 uc = (uc << 4) + (*p - 'A' + 0x0a); in scan_unicode_pattern() 184 switch (uc) { in scan_unicode_pattern() [all …]
|
| /freebsd-12.1/tools/test/vm86/ |
| H A D | vm86_test.c | 56 ucontext_t *uc; in sig_handler() local 59 uc = ucp; in sig_handler() 60 mc = &uc->uc_mcontext; in sig_handler() 78 ucontext_t uc; in main() local 115 memset(&uc, 0, sizeof(uc)); in main() 116 uc.uc_mcontext.mc_ecx = 0x2345; in main() 117 uc.uc_mcontext.mc_eflags = PSL_VM | PSL_USER; in main() 118 uc.uc_mcontext.mc_cs = uc.uc_mcontext.mc_ds = uc.uc_mcontext.mc_es = in main() 119 uc.uc_mcontext.mc_ss = (uintptr_t)vm86_code >> 4; in main() 120 uc.uc_mcontext.mc_esp = 0xfffe; in main() [all …]
|
| /freebsd-12.1/contrib/mandoc/ |
| H A D | term.c | 592 uc = *seq; in term_word() 635 uc = 0; in term_word() 665 lsz = uc; in term_word() 667 uc = -1; in term_word() 685 uc = -1; in term_word() 689 uc = *cp; in term_word() 690 if (uc < 0x20 || (uc > 0x7E && uc < 0xA0)) in term_word() 745 if ((uc < 0x20 && uc != 0x09) || in term_word() 746 (uc > 0x7E && uc < 0xA0)) in term_word() 1013 if ((uc < 0x20 && uc != 0x09) || in term_strlen() [all …]
|
| /freebsd-12.1/lib/libthread_db/arch/sparc64/ |
| H A D | libpthread_md.c | 42 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc) in pt_reg_to_ucontext() argument 45 memcpy(&uc->uc_mcontext, r, MIN(sizeof(uc->uc_mcontext), sizeof(*r))); in pt_reg_to_ucontext() 49 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r) in pt_ucontext_to_reg() argument 52 memcpy(r, &uc->uc_mcontext, MIN(sizeof(uc->uc_mcontext), sizeof(*r))); in pt_ucontext_to_reg() 56 pt_fpreg_to_ucontext(const struct fpreg* r, ucontext_t *uc) in pt_fpreg_to_ucontext() argument 58 mcontext_t *mc = &uc->uc_mcontext; in pt_fpreg_to_ucontext() 68 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r) in pt_ucontext_to_fpreg() argument 70 const mcontext_t *mc = &uc->uc_mcontext; in pt_ucontext_to_fpreg()
|
| /freebsd-12.1/contrib/libarchive/libarchive/ |
| H A D | archive_string_composition.h | 987 #define IS_DECOMPOSABLE_BLOCK(uc) \ argument 988 (((uc)>>8) <= 0x1D2 && u_decomposable_blocks[(uc)>>8]) 1008 #define CCC(uc) \ argument 1009 (((uc) > 0x1D244)?0:\ 1010 ccc_val[ccc_val_index[ccc_index[(uc)>>8]][((uc)>>4)&0x0F]][(uc)&0x0F])
|
| /freebsd-12.1/sys/mips/mips/ |
| H A D | freebsd32_machdep.c | 256 ucontext32_t uc; in freebsd32_sigreturn() local 261 if (copyin(uap->sigcntxp, &uc, sizeof(uc)) != 0) { in freebsd32_sigreturn() 274 td, uc.uc_mcontext.mc_srr0, uc.uc_mcontext.mc_gpr[1]); in freebsd32_sigreturn() 290 ucontext32_t uc; in freebsd32_getcontext() local 296 bzero(&uc, sizeof(uc)); in freebsd32_getcontext() 299 uc.uc_sigmask = td->td_sigmask; in freebsd32_getcontext() 309 ucontext32_t uc; in freebsd32_setcontext() local 320 &uc.uc_sigmask, NULL, 0); in freebsd32_setcontext() 330 ucontext32_t uc; in freebsd32_swapcontext() local 336 bzero(&uc, sizeof(uc)); in freebsd32_swapcontext() [all …]
|
| /freebsd-12.1/lib/libc/rpc/ |
| H A D | svc_dg.c | 524 struct cl_cache *uc; in svc_dg_enablecache() local 533 if (uc == NULL) { in svc_dg_enablecache() 538 uc->uc_size = size; in svc_dg_enablecache() 539 uc->uc_nextvictim = 0; in svc_dg_enablecache() 541 if (uc->uc_entries == NULL) { in svc_dg_enablecache() 549 if (uc->uc_fifo == NULL) { in svc_dg_enablecache() 594 victim = uc->uc_fifo[uc->uc_nextvictim]; in cache_set() 633 su->su_xid, uc->uc_prog, uc->uc_vers, in cache_set() 634 uc->uc_proc, uaddr); in cache_set() 654 uc->uc_fifo[uc->uc_nextvictim++] = victim; in cache_set() [all …]
|