/freebsd-10.3-release/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-10.3-release/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-10.3-release/lib/libthread_db/arch/mips/ |
H A D | libpthread_md.c | 41 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc) argument 44 memcpy(uc->uc_mcontext.mc_regs, &r->r_regs[ZERO], 45 sizeof(uc->uc_mcontext.mc_regs)); 46 uc->uc_mcontext.mc_pc = r->r_regs[PC]; 47 uc->uc_mcontext.mullo = r->r_regs[MULLO]; 48 uc->uc_mcontext.mulhi = r->r_regs[MULHI]; 52 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r) argument 54 memcpy(&r->r_regs[ZERO], uc->uc_mcontext.mc_regs, 55 sizeof(uc->uc_mcontext.mc_regs)); 56 r->r_regs[PC] = uc 62 pt_fpreg_to_ucontext(const struct fpreg* r, ucontext_t *uc) argument 70 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r) argument [all...] |
/freebsd-10.3-release/lib/libc/mips/gen/ |
H A D | longjmp.c | 47 ucontext_t uc; local 63 uc.uc_flags = _UC_CPU | (sc->sc_onstack ? _UC_SETSTACK : _UC_CLRSTACK); 68 uc.uc_link = 0; 71 uc.uc_mcontext.__gregs[_R_V0] = val; 74 uc.uc_mcontext.__gregs[_REG_S0] = sc->sc_regs[_R_S0]; 75 uc.uc_mcontext.__gregs[_REG_S1] = sc->sc_regs[_R_S1]; 76 uc.uc_mcontext.__gregs[_REG_S2] = sc->sc_regs[_R_S2]; 77 uc.uc_mcontext.__gregs[_REG_S3] = sc->sc_regs[_R_S3]; 78 uc.uc_mcontext.__gregs[_REG_S4] = sc->sc_regs[_R_S4]; 79 uc [all...] |
/freebsd-10.3-release/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-10.3-release/sys/arm/include/ |
H A D | ucontext.h | 102 #define _UC_MACHINE_SP(uc) ((uc)->uc_mcontext.__gregs[_REG_SP]) 103 #define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_PC]) 104 #define _UC_MACHINE_INTRV(uc) ((uc)->uc_mcontext.__gregs[_REG_R0]) 106 #define _UC_MACHINE_SET_PC(uc, pc) _UC_MACHINE_PC(uc) = (pc)
|
/freebsd-10.3-release/lib/libthread_db/arch/i386/ |
H A D | libpthread_md.c | 40 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc) argument 42 memcpy(&uc->uc_mcontext.mc_fs, &r->r_fs, 18*4); 43 uc->uc_mcontext.mc_gs = r->r_gs; 47 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r) argument 49 memcpy(&r->r_fs, &uc->uc_mcontext.mc_fs, 18*4); 50 r->r_gs = uc->uc_mcontext.mc_gs; 54 pt_fpreg_to_ucontext(const struct fpreg* r, ucontext_t *uc) argument 57 memcpy(&uc->uc_mcontext.mc_fpstate, r, 61 struct savexmm *sx = (struct savexmm *)&uc->uc_mcontext.mc_fpstate; 69 pt_ucontext_to_fpreg(const ucontext_t *uc, struc argument 83 pt_fxsave_to_ucontext(const char* r, ucontext_t *uc) argument 90 pt_ucontext_to_fxsave(const ucontext_t *uc, char *r) argument 99 ucontext_t uc; local [all...] |
/freebsd-10.3-release/sys/kern/ |
H A D | kern_context.c | 65 ucontext_t uc; local 71 get_mcontext(td, &uc.uc_mcontext, GET_MC_CLEAR_RET); 73 uc.uc_sigmask = td->td_sigmask; 75 bzero(uc.__spare__, sizeof(uc.__spare__)); 76 ret = copyout(&uc, uap->ucp, UC_COPY_SIZE); 84 ucontext_t uc; local 90 ret = copyin(uap->ucp, &uc, UC_COPY_SIZE); 92 ret = set_mcontext(td, &uc.uc_mcontext); 94 kern_sigprocmask(td, SIG_SETMASK, &uc 105 ucontext_t uc; local [all...] |
/freebsd-10.3-release/lib/libthread_db/arch/sparc64/ |
H A D | libpthread_md.c | 40 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc) argument 43 memcpy(&uc->uc_mcontext, r, MIN(sizeof(uc->uc_mcontext), sizeof(*r))); 47 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r) argument 50 memcpy(r, &uc->uc_mcontext, MIN(sizeof(uc->uc_mcontext), sizeof(*r))); 54 pt_fpreg_to_ucontext(const struct fpreg* r, ucontext_t *uc) argument 56 mcontext_t *mc = &uc->uc_mcontext; 66 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r) argument 68 const mcontext_t *mc = &uc [all...] |
/freebsd-10.3-release/lib/libthread_db/arch/ia64/ |
H A D | libpthread_md.c | 37 pt_reg_to_ucontext(const struct reg *r __unused, ucontext_t *uc __unused) 42 pt_ucontext_to_reg(const ucontext_t *uc __unused, struct reg *r __unused) 47 pt_fpreg_to_ucontext(const struct fpreg* r __unused, ucontext_t *uc __unused) 52 pt_ucontext_to_fpreg(const ucontext_t *uc __unused, struct fpreg *r __unused)
|
/freebsd-10.3-release/lib/libc/sys/ |
H A D | setcontext.c | 47 setcontext(const ucontext_t *uc) argument 51 __libc_interposing[INTERPOS_setcontext])(uc));
|
/freebsd-10.3-release/lib/libthread_db/arch/powerpc/ |
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; 45 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r) argument 47 const mcontext_t *mc = &uc->uc_mcontext; 53 pt_fpreg_to_ucontext(const struct fpreg *r, ucontext_t *uc) argument 55 mcontext_t *mc = &uc->uc_mcontext; 62 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r) argument 64 const mcontext_t *mc = &uc->uc_mcontext;
|
/freebsd-10.3-release/lib/libc/string/ |
H A D | memccpy.c | 45 unsigned char uc = c; local 47 if ((*tp++ = *fp++) == uc)
|
/freebsd-10.3-release/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 | 104 ucontext_t uc[DEPTH]; local 109 ATF_REQUIRE_EQ(getcontext(&uc[i]), 0); 111 uc[i].uc_stack.ss_sp = malloc(STACKSZ); 112 uc[i].uc_stack.ss_size = STACKSZ; 113 uc[i].uc_link = (i > 0) ? &uc[i - 1] : &save; 117 makecontext(&uc[i], (void *)run, 6, i, 120 makecontext(&uc[i], (void *)run, 10, i, 128 ATF_REQUIRE_EQ(setcontext(&uc[DEPTH-1]), 0);
|
/freebsd-10.3-release/gnu/usr.bin/rcs/lib/ |
H A D | rcsfcmp.c | 159 register int xc, uc; local 183 Igeteof_(ufp, uc, ueof=true;) 186 if (xc != uc) 193 uc = 0; /* Keep lint happy. */ 201 Igeteof_(ufp, uc, ueof=true;) 209 Igeteof_(ufp, uc, ueof=true;) 212 if (xc != uc) 226 (xc==KDELIM || xc==VDELIM) && (uc==KDELIM || uc==VDELIM) && 234 if (xc != uc) { [all...] |
/freebsd-10.3-release/contrib/libc-vis/ |
H A D | unvis.c | 204 unsigned char uc = (unsigned char)c; local 351 if (isoctal(uc)) { 367 if (isoctal(uc)) { 377 if (!isxdigit(uc)) 381 if (isxdigit(uc)) { 382 *cp = xtod(uc); 394 if (isxdigit(uc)) { 395 *cp = xtod(uc) | (*cp << 4); 401 if (uc == '\n' || uc [all...] |
/freebsd-10.3-release/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...] |
/freebsd-10.3-release/contrib/libarchive/libarchive/test/ |
H A D | test_archive_string_conversion.c | 51 unicode_to_utf8(char *p, uint32_t uc) argument 56 if (uc <= 0x7f) { 57 *p++ = (char)uc; 58 } else if (uc <= 0x7ff) { 59 *p++ = 0xc0 | ((uc >> 6) & 0x1f); 60 *p++ = 0x80 | (uc & 0x3f); 61 } else if (uc <= 0xffff) { 62 *p++ = 0xe0 | ((uc >> 12) & 0x0f); 63 *p++ = 0x80 | ((uc >> 6) & 0x3f); 64 *p++ = 0x80 | (uc 84 unicode_to_utf16be(char *p, uint32_t uc) argument 111 unicode_to_utf16le(char *p, uint32_t uc) argument 135 unicode_to_wc(wchar_t *wp, uint32_t uc) argument 163 unsigned uc = 0; local [all...] |
/freebsd-10.3-release/contrib/llvm/lib/Target/NVPTX/ |
H A D | NVPTXutil.cpp | 42 unsigned char uc; local 46 uc = val & DATA_MASK; 49 uc |= MORE_BYTES; 50 *a = uc;
|
/freebsd-10.3-release/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; 97 pt_ucontext_to_fpreg(const ucontext_t *uc __unused, struct fpreg *r)
|
/freebsd-10.3-release/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-10.3-release/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-10.3-release/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-10.3-release/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...] |