Searched refs:uc (Results 1 - 25 of 128) sorted by relevance

123456

/freebsd-10-stable/contrib/binutils/libiberty/
H A Dstrcasecmp.c35 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-stable/contrib/gcclibs/libiberty/
H A Dstrcasecmp.c35 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-stable/lib/libthread_db/arch/mips/
H A Dlibpthread_md.c41 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-stable/lib/libc/mips/gen/
H A Dlongjmp.c47 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-stable/contrib/netbsd-tests/usr.bin/xlint/lint1/
H A Dd_c99_recursive_init.c7 char uc; member in union:top::onion
11 { .s = "foo", .c = 'b', .u = { .uc = 'c' } },
/freebsd-10-stable/sys/arm/include/
H A Ducontext.h102 #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-stable/sys/kern/
H A Dkern_context.c65 ucontext_t uc; local
71 bzero(&uc, sizeof(ucontext_t));
72 get_mcontext(td, &uc.uc_mcontext, GET_MC_CLEAR_RET);
74 uc.uc_sigmask = td->td_sigmask;
76 bzero(uc.__spare__, sizeof(uc.__spare__));
77 ret = copyout(&uc, uap->ucp, UC_COPY_SIZE);
85 ucontext_t uc; local
91 ret = copyin(uap->ucp, &uc, UC_COPY_SIZE);
93 ret = set_mcontext(td, &uc
106 ucontext_t uc; local
[all...]
/freebsd-10-stable/contrib/subversion/subversion/libsvn_subr/utf8proc/
H A Dutf8proc.c137 int32_t uc = -1; local
148 uc = str[0];
151 uc = ((str[0] & 0x1F) << 6) + (str[1] & 0x3F);
152 if (uc < 0x80) uc = -1;
155 uc = ((str[0] & 0x0F) << 12) + ((str[1] & 0x3F) << 6)
157 if (uc < 0x800 || (uc >= 0xD800 && uc < 0xE000) ||
158 (uc >
173 utf8proc_codepoint_valid(int32_t uc) argument
181 utf8proc_encode_char(int32_t uc, uint8_t *dst) argument
212 utf8proc_get_property(int32_t uc) argument
226 utf8proc_decompose_char(int32_t uc, int32_t *dst, ssize_t bufsize, int options, int *last_boundclass) argument
384 int32_t uc; local
441 int32_t uc; local
540 int32_t uc; local
[all...]
/freebsd-10-stable/lib/libthread_db/arch/i386/
H A Dlibpthread_md.c40 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-stable/lib/libthread_db/arch/sparc64/
H A Dlibpthread_md.c40 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-stable/lib/libthread_db/arch/ia64/
H A Dlibpthread_md.c37 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-stable/lib/libc/string/
H A Dmemccpy.c45 unsigned char uc = c; local
47 if ((*tp++ = *fp++) == uc)
/freebsd-10-stable/lib/libc/sys/
H A Dsetcontext.c47 setcontext(const ucontext_t *uc) argument
51 __libc_interposing[INTERPOS_setcontext])(uc));
/freebsd-10-stable/lib/libthread_db/arch/powerpc/
H A Dlibpthread_md.c37 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-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_lwp_create.c81 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 Dt_getcontext.c112 ucontext_t uc[DEPTH]; local
117 ATF_REQUIRE_EQ(getcontext(&uc[i]), 0);
119 uc[i].uc_stack.ss_sp = malloc(STACKSZ);
120 uc[i].uc_stack.ss_size = STACKSZ;
121 uc[i].uc_link = (i > 0) ? &uc[i - 1] : &save;
126 makecontext(&uc[i], (void *)run, 6, i,
130 makecontext(&uc[i], (void *)run, 8, i,
134 makecontext(&uc[i], (void *)run, 6, i,
137 makecontext(&uc[
[all...]
/freebsd-10-stable/gnu/usr.bin/rcs/lib/
H A Drcsfcmp.c159 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-stable/contrib/libc-vis/
H A Dunvis.c204 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-10-stable/contrib/bzip2/
H A Ddecompress.c108 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-stable/contrib/libarchive/libarchive/test/
H A Dtest_archive_string_conversion.c51 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-stable/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXutil.cpp42 unsigned char uc; local
46 uc = val & DATA_MASK;
49 uc |= MORE_BYTES;
50 *a = uc;
/freebsd-10-stable/lib/libthread_db/arch/arm/
H A Dlibpthread_md.c37 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-stable/sys/i386/i386/
H A Dk6_mem.c53 #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-stable/lib/libthread_db/arch/amd64/
H A Dlibpthread_md.c39 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-stable/contrib/gcc/config/rs6000/
H A Dhost-darwin.c70 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));

Completed in 291 milliseconds

123456