/freebsd-11-stable/lib/libthread_db/arch/arm/ |
H A D | libpthread_md.c | 37 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc) argument 39 mcontext_t *mc = &uc->uc_mcontext; 62 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r) argument 64 const mcontext_t *mc = &uc->uc_mcontext; 88 pt_fpreg_to_ucontext(const struct fpreg *r __unused, ucontext_t *uc) argument 90 mcontext_t *mc = &uc->uc_mcontext; 99 pt_ucontext_to_fpreg(const ucontext_t *uc __unused, struct fpreg *r)
|
/freebsd-11-stable/sys/i386/i386/ |
H A D | k6_mem.c | 53 #define K6_REG_GET(reg, addr, mask, wc, uc) do { \ 57 uc = (reg) & 0x1; \ 60 #define K6_REG_MAKE(addr, mask, wc, uc) \ 61 ((addr) | ((mask) << 2) | ((wc) << 1) | uc) 80 u_int32_t len = 0, wc, uc; local 93 uc = (desc->mr_flags & MDF_UNCACHEABLE) ? 1 : 0; 95 *mtrr = K6_REG_MAKE(desc->mr_base, len, wc, uc); 103 u_int32_t addr, mask, wc, uc; local 117 K6_REG_GET(one, addr, mask, wc, uc); 122 if (uc) [all...] |
/freebsd-11-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64stl_control.c | 99 ipfw_nat64stl_cfg *uc) 103 uc->prefix6 = cfg->base.plat_prefix; 104 uc->plen6 = cfg->base.plat_plen; 105 uc->flags = cfg->base.flags & NAT64STL_FLAGSMASK; 106 uc->set = cfg->no.set; 107 strlcpy(uc->name, cfg->no.name, sizeof(uc->name)); 110 ipfw_export_obj_ntlv(no, &uc->ntlv6); 112 ipfw_export_obj_ntlv(no, &uc->ntlv4); 125 ipfw_nat64stl_cfg *uc; local 98 nat64stl_export_config(struct ip_fw_chain *ch, struct nat64stl_cfg *cfg, ipfw_nat64stl_cfg *uc) argument 180 ipfw_nat64stl_cfg *uc; local 256 ipfw_nat64stl_cfg *uc; local [all...] |
/freebsd-11-stable/contrib/mdocml/ |
H A D | term.c | 439 int sz, uc; local 485 uc = mchars_num2uc(seq + 1, sz - 1); 488 uc = mchars_num2char(seq, sz); 489 if (uc < 0) 498 uc = mchars_spec2cp(seq, sz); 499 if (uc > 0) 500 encode1(p, uc); 531 uc = -p->col; 533 uc = 0; 536 uc 815 int ssz, skip, uc; local [all...] |
/freebsd-11-stable/contrib/llvm-project/libunwind/src/ |
H A D | UnwindLevel1.c | 38 unwind_phase1(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exception_object) { argument 39 __unw_init_local(cursor, uc); 134 unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exception_object) { argument 135 __unw_init_local(cursor, uc); 246 unwind_phase2_forced(unw_context_t *uc, unw_cursor_t *cursor, argument 249 __unw_init_local(cursor, uc); 353 unw_context_t uc; local 355 __unw_getcontext(&uc); 363 _Unwind_Reason_Code phase1 = unwind_phase1(&uc, &cursor, exception_object); 368 return unwind_phase2(&uc, 387 unw_context_t uc; local 412 unw_context_t uc; local [all...] |
H A D | UnwindLevel1-gcc-ext.c | 94 unw_context_t uc; local 96 __unw_getcontext(&uc); 97 __unw_init_local(&cursor, &uc); 110 unw_context_t uc; local 111 __unw_getcontext(&uc); 112 __unw_init_local(&cursor, &uc); 196 unw_context_t uc; local 198 __unw_getcontext(&uc); 199 __unw_init_local(&cursor, &uc);
|
/freebsd-11-stable/lib/libthread_db/arch/amd64/ |
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; 66 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r) argument 68 const mcontext_t *mc = &uc->uc_mcontext; 93 pt_fpreg_to_ucontext(const struct fpreg* r, ucontext_t *uc) argument 96 memcpy(&uc->uc_mcontext.mc_fpstate, r, sizeof(*r)); 100 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r) argument 103 memcpy(r, &uc->uc_mcontext.mc_fpstate, sizeof(*r));
|
/freebsd-11-stable/contrib/gcc/config/rs6000/ |
H A D | host-darwin.c | 70 ucontext_t *uc = (ucontext_t *)scp; local 81 faulting_insn = *(unsigned *)uc->uc_mcontext->MC_FLD(ss).MC_FLD(srr0); 130 uc->uc_mcontext->MC_FLD(es).MC_FLD(dar), 131 uc->uc_mcontext->MC_FLD(ss).MC_FLD(srr0));
|
/freebsd-11-stable/tools/regression/netinet/msocket/ |
H A D | msocket.c | 87 u_char uc; local 93 uc = fakev; 94 socklen = sizeof(uc); 96 ret = getsockopt(sock, IPPROTO_IP, optname, &uc, &socklen); 103 if (uc != defaultv) 105 "%d not %d", socktype, optstring, uc, defaultv); 110 uc = modifiedv; 111 ret = setsockopt(sock, IPPROTO_IP, optname, &uc, sizeof(uc)); 119 uc [all...] |
/freebsd-11-stable/sys/mips/mips/ |
H A D | freebsd32_machdep.c | 253 ucontext32_t uc; local 258 if (copyin(uap->sigcntxp, &uc, sizeof(uc)) != 0) { 263 error = set_mcontext32(td, &uc.uc_mcontext); 267 kern_sigprocmask(td, SIG_SETMASK, &uc.uc_sigmask, NULL, 0); 271 td, uc.uc_mcontext.mc_srr0, uc.uc_mcontext.mc_gpr[1]); 287 ucontext32_t uc; local 293 bzero(&uc, sizeof(uc)); 306 ucontext32_t uc; local 327 ucontext32_t uc; local [all...] |
/freebsd-11-stable/contrib/tcsh/ |
H A D | ed.init.c | 56 #define uc unsigned char macro 59 (uc)CINTR, (uc)CQUIT, (uc)CERASE, (uc)CKILL, 60 (uc)CEOF, (uc)CEOL, (uc)CEOL2, (uc)CSWTCH, 61 (uc)CDSWTC [all...] |
/freebsd-11-stable/contrib/dialog/ |
H A D | trace.c | 93 wchar_t *uc; local 96 || (uc = wunctrl(&cch)) == 0 97 || uc[1] != 0 98 || wcwidth(uc[0]) <= 0) { 103 const wchar_t *ucp = uc; 107 k += wcwidth(uc[0]) - 1;
|
/freebsd-11-stable/lib/libc/rpc/ |
H A D | svc_dg.c | 522 struct cl_cache *uc; local 530 uc = ALLOC(struct cl_cache, 1); 531 if (uc == NULL) { 536 uc->uc_size = size; 537 uc->uc_nextvictim = 0; 538 uc->uc_entries = ALLOC(cache_ptr, size * SPARSENESS); 539 if (uc->uc_entries == NULL) { 541 FREE(uc, struct cl_cache, 1); 545 MEMZERO(uc->uc_entries, cache_ptr, size * SPARSENESS); 546 uc 579 struct cl_cache *uc = (struct cl_cache *) su->su_cache; local 667 struct cl_cache *uc = (struct cl_cache *) su->su_cache; local [all...] |
/freebsd-11-stable/sys/netpfil/ipfw/nptv6/ |
H A D | nptv6.c | 441 ipfw_nptv6_cfg *uc) 444 uc->internal = cfg->internal; 445 uc->external = cfg->external; 446 uc->plen = cfg->plen; 447 uc->flags = cfg->flags & NPTV6_FLAGSMASK; 448 uc->set = cfg->no.set; 449 strlcpy(uc->name, cfg->no.name, sizeof(uc->name)); 462 ipfw_nptv6_cfg *uc; local 464 uc 440 nptv6_export_config(struct ip_fw_chain *ch, struct nptv6_cfg *cfg, ipfw_nptv6_cfg *uc) argument 513 ipfw_nptv6_cfg *uc; local [all...] |
/freebsd-11-stable/sys/powerpc/powerpc/ |
H A D | exec_machdep.c | 306 ucontext_t uc; local 311 if (copyin(uap->sigcntxp, &uc, sizeof(uc)) != 0) { 316 error = set_mcontext(td, &uc.uc_mcontext); 320 kern_sigprocmask(td, SIG_SETMASK, &uc.uc_sigmask, NULL, 0); 323 td, uc.uc_mcontext.mc_srr0, uc.uc_mcontext.mc_gpr[1]); 766 ucontext32_t uc; local 771 if (copyin(uap->sigcntxp, &uc, sizeof(uc)) ! 798 ucontext32_t uc; local 817 ucontext32_t uc; local 838 ucontext32_t uc; local [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_linux.cpp | 369 static AccessInfo GetAccessInfo(siginfo_t *info, ucontext_t *uc) { argument 386 const uptr addr = uc->uc_mcontext.regs[0]; 390 const uptr size = size_log == 0xf ? uc->uc_mcontext.regs[1] : 1U << size_log; 396 uptr pc = (uptr)uc->uc_mcontext.gregs[REG_RIP]; 405 const uptr addr = uc->uc_mcontext.gregs[REG_RDI]; 410 size_log == 0xf ? uc->uc_mcontext.gregs[REG_RSI] : 1U << size_log; 420 ucontext_t *uc, uptr *registers_frame = nullptr) { 424 stack->Unwind(pc, frame, uc, common_flags()->fast_unwind_on_fatal); 441 static bool HwasanOnSIGTRAP(int signo, siginfo_t *info, ucontext_t *uc) { argument 442 AccessInfo ai = GetAccessInfo(info, uc); 419 HandleTagMismatch(AccessInfo ai, uptr pc, uptr frame, ucontext_t *uc, uptr *registers_frame = nullptr) argument [all...] |
/freebsd-11-stable/sys/i386/svr4/ |
H A D | svr4_machdep.c | 93 svr4_getcontext(td, uc, mask, oonstack) 95 struct svr4_ucontext *uc; 101 svr4_greg_t *r = uc->uc_mcontext.greg; 102 struct svr4_sigaltstack *s = &uc->uc_stack; 114 memset(uc, 0, sizeof(struct svr4_ucontext)); 116 uc->uc_link = p->p_emuldata; 171 bsd_to_svr4_sigset(mask, &uc->uc_sigmask); 176 uc->uc_flags = SVR4_UC_SIGMASK|SVR4_UC_CPU|SVR4_UC_STACK; 190 svr4_setcontext(td, uc) 192 struct svr4_ucontext *uc; [all...] |
/freebsd-11-stable/contrib/gcc/ |
H A D | fp-test.c | 70 volatile unsigned char uc; variable 115 uc = f1; 126 f1 = uc; 161 uc = d1; 172 d1 = uc; 207 uc = D1; 218 D1 = uc;
|
/freebsd-11-stable/crypto/openssl/util/ |
H A D | bat.sh | 16 $uc=$lib; 17 $uc =~ s/^lib(.*)\.a/$1/; 18 $uc =~ tr/a-z/A-Z/; 19 $lib_nam{$uc}=$uc; 20 $lib_obj{$uc}.=$libobj." ";
|
/freebsd-11-stable/contrib/less/ |
H A D | ttyin.c | 202 unsigned char uc; 203 result = iread(tty, &uc, sizeof(char)); 204 c = (char) uc;
|
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_string.c | 131 #define IS_HIGH_SURROGATE_LA(uc) ((uc) >= 0xD800 && (uc) <= 0xDBFF) 132 #define IS_LOW_SURROGATE_LA(uc) ((uc) >= 0xDC00 && (uc) <= 0xDFFF) 133 #define IS_SURROGATE_PAIR_LA(uc) ((uc) >= 0xD800 && (uc) <= 0xDFFF) 2430 combine_surrogate_pair(uint32_t uc, uint32_ argument 2488 unicode_to_utf8(char *p, size_t remaining, uint32_t uc) argument 2538 unsigned uc; local 2594 unicode_to_utf16be(char *p, size_t remaining, uint32_t uc) argument 2616 unicode_to_utf16le(char *p, size_t remaining, uint32_t uc) argument 2658 uint32_t uc; local 2721 uint32_t uc; local 2812 get_nfc(uint32_t uc, uint32_t uc2) argument 2936 uint32_t uc, uc2; local 3190 get_nfd(uint32_t *cp1, uint32_t *cp2, uint32_t uc) argument 3243 uint32_t uc, uc2; local 3306 uint32_t uc; member in struct:__anon18 3738 uint32_t uc; local [all...] |
/freebsd-11-stable/lib/libthr/thread/ |
H A D | thr_rtld.c | 188 ucontext_t *uc; local 239 uc = alloca(uc_len); 240 getcontext(uc); 241 __fillcontextx2((char *)uc);
|
H A D | thr_sig.c | 325 ucontext_t *uc; local 336 uc = alloca(uc_len); 337 getcontext(uc); 342 __fillcontextx2((char *)uc); 344 uc->uc_sigmask = curthread->deferred_sigmask; 348 handle_signal(&act, info.si_signo, &info, uc); 733 ucontext_t uc; local 741 (void) memcpy(&uc, ucp, sizeof(uc)); 742 SIGDELSET(uc 749 ucontext_t uc; local [all...] |
/freebsd-11-stable/contrib/gcc/config/mips/ |
H A D | linux-unwind.h | 81 _sig_ucontext_t uc; member in struct:rt_sigframe 83 sc = &rt_->uc.uc_mcontext;
|
/freebsd-11-stable/contrib/gcc/config/s390/ |
H A D | linux-unwind.h | 88 } *uc = context->cfa + 8 + 128; local 90 regs = &uc->uc_mcontext;
|