Home
last modified time | relevance | path

Searched refs:uc (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/external/bison/lib/uniwidth/
Dwidth.c315 uc_width (ucs4_t uc, const char *encoding) in uc_width() argument
318 if ((uc >> 9) < 240) in uc_width()
320 int ind = nonspacing_table_ind[uc >> 9]; in uc_width()
322 if ((nonspacing_table_data[64*ind + ((uc >> 3) & 63)] >> (uc & 7)) & 1) in uc_width()
324 if (uc > 0 && uc < 0xa0) in uc_width()
330 else if ((uc >> 9) == (0xe0000 >> 9)) in uc_width()
332 if (uc >= 0xe0100) in uc_width()
334 if (uc <= 0xe01ef) in uc_width()
339 if (uc >= 0xe0020 ? uc <= 0xe007f : uc == 0xe0001) in uc_width()
347 if (uc >= 0x1100 in uc_width()
[all …]
/external/v8/test/cctest/
Dtest-conversions.cc39 UnicodeCache uc; in TEST() local
40 CHECK_EQ(0.0, StringToDouble(&uc, "0x0", ALLOW_HEX | ALLOW_IMPLICIT_OCTAL)); in TEST()
41 CHECK_EQ(0.0, StringToDouble(&uc, "0X0", ALLOW_HEX | ALLOW_IMPLICIT_OCTAL)); in TEST()
42 CHECK_EQ(1.0, StringToDouble(&uc, "0x1", ALLOW_HEX | ALLOW_IMPLICIT_OCTAL)); in TEST()
43 CHECK_EQ(16.0, StringToDouble(&uc, "0x10", ALLOW_HEX | ALLOW_IMPLICIT_OCTAL)); in TEST()
44 CHECK_EQ(255.0, StringToDouble(&uc, "0xff", in TEST()
46 CHECK_EQ(175.0, StringToDouble(&uc, "0xAF", in TEST()
49 CHECK_EQ(0.0, StringToDouble(&uc, "0x0", ALLOW_HEX)); in TEST()
50 CHECK_EQ(0.0, StringToDouble(&uc, "0X0", ALLOW_HEX)); in TEST()
51 CHECK_EQ(1.0, StringToDouble(&uc, "0x1", ALLOW_HEX)); in TEST()
[all …]
/external/clang/test/CodeGen/
DAtomics.c6 unsigned char uc; variable
17 (void) __sync_fetch_and_add (&uc, 1); // CHECK: atomicrmw add i8 in test_op_ignore()
26 (void) __sync_fetch_and_sub (&uc, 1); // CHECK: atomicrmw sub i8 in test_op_ignore()
35 (void) __sync_fetch_and_or (&uc, 1); // CHECK: atomicrmw or i8 in test_op_ignore()
44 (void) __sync_fetch_and_xor (&uc, 1); // CHECK: atomicrmw xor i8 in test_op_ignore()
53 (void) __sync_fetch_and_nand (&uc, 1); // CHECK: atomicrmw nand i8 in test_op_ignore()
62 (void) __sync_fetch_and_and (&uc, 1); // CHECK: atomicrmw and i8 in test_op_ignore()
75 uc = __sync_fetch_and_add (&uc, 11); // CHECK: atomicrmw add in test_fetch_and_op()
84 uc = __sync_fetch_and_sub (&uc, 11); // CHECK: atomicrmw sub in test_fetch_and_op()
93 uc = __sync_fetch_and_or (&uc, 11); // CHECK: atomicrmw or in test_fetch_and_op()
[all …]
Dcomplex-convert.c11 void foo(signed char sc, unsigned char uc, signed long long sll, in foo() argument
129 csc1 = uc; in foo()
159 cuc1 = uc; in foo()
190 csll1 = uc; in foo()
220 cull1 = uc; in foo()
306 csc1 = uc + csc; in foo()
324 cuc1 = uc + cuc; in foo()
342 csll1 = uc + csll; in foo()
356 cull1 = uc + cull; in foo()
500 csc1 = csc + uc; in foo()
[all …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java88 URLConnection uc;
92 uc = url.openConnection();
96 ((HttpURLConnection) uc).disconnect();
157 uc.setRequestProperty("prop", "yo");
158 uc.setRequestProperty("prop", "yo2");
159 assertEquals("yo2", uc.getRequestProperty("prop"));
160 Map<String, List<String>> map = uc.getRequestProperties();
161 List<String> props = uc.getRequestProperties().get("prop");
200 uc.setAllowUserInteraction(false);
201 assertFalse("getAllowUserInteraction should have returned false", uc
[all …]
/external/google-breakpad/src/client/linux/dump_writer_common/
Ducontext_reader.cc43 uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { in GetStackPointer() argument
44 return uc->uc_mcontext.gregs[REG_ESP]; in GetStackPointer()
47 uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { in GetInstructionPointer() argument
48 return uc->uc_mcontext.gregs[REG_EIP]; in GetInstructionPointer()
51 void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, in FillCPUContext() argument
53 const greg_t* regs = uc->uc_mcontext.gregs; in FillCPUContext()
91 uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) {
92 return uc->uc_mcontext.gregs[REG_RSP];
95 uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) {
96 return uc->uc_mcontext.gregs[REG_RIP];
[all …]
/external/libunwind/src/aarch64/
DGresume.c37 unw_tdep_context_t *uc = c->dwarf.as_arg; in aarch64_local_resume() local
44 regs[0] = uc->uc_mcontext.regs[19]; in aarch64_local_resume()
45 regs[1] = uc->uc_mcontext.regs[20]; in aarch64_local_resume()
46 regs[2] = uc->uc_mcontext.regs[21]; in aarch64_local_resume()
47 regs[3] = uc->uc_mcontext.regs[22]; in aarch64_local_resume()
48 regs[4] = uc->uc_mcontext.regs[23]; in aarch64_local_resume()
49 regs[5] = uc->uc_mcontext.regs[24]; in aarch64_local_resume()
50 regs[6] = uc->uc_mcontext.regs[25]; in aarch64_local_resume()
51 regs[7] = uc->uc_mcontext.regs[26]; in aarch64_local_resume()
52 regs[8] = uc->uc_mcontext.regs[27]; in aarch64_local_resume()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_pack_color.h64 enum pipe_format format, union util_color *uc) in util_pack_color_ub() argument
69 uc->ui = (r << 24) | (g << 16) | (b << 8) | a; in util_pack_color_ub()
74 uc->ui = (r << 24) | (g << 16) | (b << 8) | 0xff; in util_pack_color_ub()
79 uc->ui = (a << 24) | (r << 16) | (g << 8) | b; in util_pack_color_ub()
84 uc->ui = (0xff << 24) | (r << 16) | (g << 8) | b; in util_pack_color_ub()
89 uc->ui = (b << 24) | (g << 16) | (r << 8) | a; in util_pack_color_ub()
94 uc->ui = (b << 24) | (g << 16) | (r << 8) | 0xff; in util_pack_color_ub()
99 uc->us = ((r & 0xf8) << 8) | ((g & 0xfc) << 3) | (b >> 3); in util_pack_color_ub()
104 uc->us = ((0x80) << 8) | ((r & 0xf8) << 7) | ((g & 0xf8) << 2) | (b >> 3); in util_pack_color_ub()
109 uc->us = ((a & 0x80) << 8) | ((r & 0xf8) << 7) | ((g & 0xf8) << 2) | (b >> 3); in util_pack_color_ub()
[all …]
/external/libunwind/src/sh/
DGresume.c37 unw_tdep_context_t *uc = c->dwarf.as_arg; in sh_local_resume() local
44 regs[0] = uc->uc_mcontext.gregs[8]; in sh_local_resume()
45 regs[1] = uc->uc_mcontext.gregs[9]; in sh_local_resume()
46 regs[2] = uc->uc_mcontext.gregs[10]; in sh_local_resume()
47 regs[3] = uc->uc_mcontext.gregs[11]; in sh_local_resume()
48 regs[4] = uc->uc_mcontext.gregs[12]; in sh_local_resume()
49 regs[5] = uc->uc_mcontext.gregs[13]; in sh_local_resume()
50 regs[6] = uc->uc_mcontext.gregs[14]; in sh_local_resume()
51 regs[7] = uc->uc_mcontext.gregs[15]; in sh_local_resume()
52 unsigned long pc = uc->uc_mcontext.pr; in sh_local_resume()
[all …]
/external/libunwind/src/arm/
DGresume.c41 unw_tdep_context_t *uc = c->dwarf.as_arg; in arm_local_resume() local
48 regs[0] = uc->regs[4]; in arm_local_resume()
49 regs[1] = uc->regs[5]; in arm_local_resume()
50 regs[2] = uc->regs[6]; in arm_local_resume()
51 regs[3] = uc->regs[7]; in arm_local_resume()
52 regs[4] = uc->regs[8]; in arm_local_resume()
53 regs[5] = uc->regs[9]; in arm_local_resume()
54 regs[6] = uc->regs[10]; in arm_local_resume()
55 regs[7] = uc->regs[11]; /* FP */ in arm_local_resume()
56 regs[8] = uc->regs[13]; /* SP */ in arm_local_resume()
[all …]
/external/mesa3d/src/gallium/state_trackers/vega/
Dvg_translate.c462 union util_color uc; in _vega_unpack_float_span_rgba() local
475 util_pack_color_ub(r, g, b, a, PIPE_FORMAT_R32G32B32A32_FLOAT, &uc); in _vega_unpack_float_span_rgba()
476 rgba[i][0] = uc.f[0]; in _vega_unpack_float_span_rgba()
477 rgba[i][1] = uc.f[1]; in _vega_unpack_float_span_rgba()
478 rgba[i][2] = uc.f[2]; in _vega_unpack_float_span_rgba()
479 rgba[i][3] = uc.f[3]; in _vega_unpack_float_span_rgba()
494 util_pack_color_ub(r, g, b, a, PIPE_FORMAT_R32G32B32A32_FLOAT, &uc); in _vega_unpack_float_span_rgba()
495 rgba[i][0] = uc.f[0]; in _vega_unpack_float_span_rgba()
496 rgba[i][1] = uc.f[1]; in _vega_unpack_float_span_rgba()
497 rgba[i][2] = uc.f[2]; in _vega_unpack_float_span_rgba()
[all …]
/external/bzip2/
Ddecompress.c108 UChar uc; in BZ2_decompress() local
197 GET_UCHAR(BZ_X_MAGIC_1, uc); in BZ2_decompress()
198 if (uc != BZ_HDR_B) RETURN(BZ_DATA_ERROR_MAGIC); in BZ2_decompress()
200 GET_UCHAR(BZ_X_MAGIC_2, uc); in BZ2_decompress()
201 if (uc != BZ_HDR_Z) RETURN(BZ_DATA_ERROR_MAGIC); in BZ2_decompress()
203 GET_UCHAR(BZ_X_MAGIC_3, uc) in BZ2_decompress()
204 if (uc != BZ_HDR_h) RETURN(BZ_DATA_ERROR_MAGIC); in BZ2_decompress()
222 GET_UCHAR(BZ_X_BLKHDR_1, uc); in BZ2_decompress()
224 if (uc == 0x17) goto endhdr_2; in BZ2_decompress()
225 if (uc != 0x31) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
[all …]
/external/valgrind/coregrind/
Dm_signals.c269 # define VG_UCONTEXT_INSTR_PTR(uc) ((uc)->uc_mcontext.eip) argument
270 # define VG_UCONTEXT_STACK_PTR(uc) ((uc)->uc_mcontext.esp) argument
271 # define VG_UCONTEXT_SYSCALL_SYSRES(uc) \ argument
273 VG_(mk_SysRes_x86_linux)( (uc)->uc_mcontext.eax )
274 # define VG_UCONTEXT_TO_UnwindStartRegs(srP, uc) \ argument
275 { (srP)->r_pc = (ULong)((uc)->uc_mcontext.eip); \
276 (srP)->r_sp = (ULong)((uc)->uc_mcontext.esp); \
277 (srP)->misc.X86.r_ebp = (uc)->uc_mcontext.ebp; \
281 # define VG_UCONTEXT_INSTR_PTR(uc) ((uc)->uc_mcontext.rip) argument
282 # define VG_UCONTEXT_STACK_PTR(uc) ((uc)->uc_mcontext.rsp) argument
[all …]
/external/libedit/src/
Dunvis.c196 unsigned char uc = (unsigned char)c; in unvis() local
343 if (isoctal(uc)) { in unvis()
359 if (isoctal(uc)) { in unvis()
369 if (!isxdigit(uc)) in unvis()
373 if (isxdigit(uc)) { in unvis()
374 *cp = xtod(uc); in unvis()
386 if (isxdigit(uc)) { in unvis()
387 *cp = xtod(uc) | (*cp << 4); in unvis()
393 if (uc == '\n' || uc == '\r') { in unvis()
397 if (isxdigit(uc) && (isdigit(uc) || isupper(uc))) { in unvis()
[all …]
/external/libunwind/src/ia64/
DGinit_local.c32 unw_init_local (unw_cursor_t *cursor, unw_context_t *uc) in unw_init_local() argument
40 set_as_arg (struct cursor *c, unw_context_t *uc) in set_as_arg() argument
44 c->as_arg = &uc->sw; in set_as_arg()
46 c->as_arg = uc; in set_as_arg()
51 get_initial_stack_pointers (struct cursor *c, unw_context_t *uc, in get_initial_stack_pointers() argument
58 sol = (uc->sw.ar_pfs >> 7) & 0x7f; in get_initial_stack_pointers()
59 bspstore = uc->sw.ar_bspstore; in get_initial_stack_pointers()
60 *sp = uc->ksp; in get_initial_stack_pointers()
62 sol = (uc->uc_mcontext.sc_ar_pfs >> 7) & 0x7f; in get_initial_stack_pointers()
63 bspstore = uc->uc_mcontext.sc_ar_bsp; in get_initial_stack_pointers()
[all …]
DGinit.c49 tdep_uc_addr (ucontext_t *uc, int reg, uint8_t *nat_bitnr) in tdep_uc_addr() argument
51 return inlined_uc_addr (uc, reg, nat_bitnr); in tdep_uc_addr()
129 ucontext_t *uc = arg; in access_reg() local
135 __uc_get_reason (uc, &reason); in access_reg()
140 if ((ret = __uc_get_grs (uc, (reg - UNW_IA64_GR), 1, &value, &nat))) in access_reg()
144 ret = __uc_set_grs (uc, (reg - UNW_IA64_GR), 1, val, nat); in access_reg()
150 if ((ret = __uc_get_grs (uc, (reg - UNW_IA64_GR), 1, &value, &nat))) in access_reg()
161 ret = __uc_set_grs (uc, (reg - UNW_IA64_GR), 1, &value, nat); in access_reg()
171 ret = __uc_set_ar (uc, (reg - UNW_IA64_AR), *val); in access_reg()
173 ret = __uc_get_ar (uc, (reg - UNW_IA64_AR), val); in access_reg()
[all …]
/external/libvpx/libvpx/vp8/common/
Dloopfilter_filters.c16 typedef unsigned char uc; typedef
27 static signed char vp8_filter_mask(uc limit, uc blimit, in vp8_filter_mask()
28 uc p3, uc p2, uc p1, uc p0, in vp8_filter_mask()
29 uc q0, uc q1, uc q2, uc q3) in vp8_filter_mask()
43 static signed char vp8_hevmask(uc thresh, uc p1, uc p0, uc q0, uc q1) in vp8_hevmask()
51 static void vp8_filter(signed char mask, uc hev, uc *op1, in vp8_filter()
52 uc *op0, uc *oq0, uc *oq1) in vp8_filter()
161 static void vp8_mbfilter(signed char mask, uc hev, in vp8_mbfilter()
162 uc *op2, uc *op1, uc *op0, uc *oq0, uc *oq1, uc *oq2) in vp8_mbfilter()
282 static signed char vp8_simple_filter_mask(uc blimit, uc p1, uc p0, uc q0, uc q1) in vp8_simple_filter_mask()
[all …]
/external/libunwind/src/x86_64/
DGos-linux.c106 x86_64_r_uc_addr (ucontext_t *uc, int reg) in x86_64_r_uc_addr() argument
113 case UNW_X86_64_R8: addr = &uc->uc_mcontext.gregs[REG_R8]; break; in x86_64_r_uc_addr()
114 case UNW_X86_64_R9: addr = &uc->uc_mcontext.gregs[REG_R9]; break; in x86_64_r_uc_addr()
115 case UNW_X86_64_R10: addr = &uc->uc_mcontext.gregs[REG_R10]; break; in x86_64_r_uc_addr()
116 case UNW_X86_64_R11: addr = &uc->uc_mcontext.gregs[REG_R11]; break; in x86_64_r_uc_addr()
117 case UNW_X86_64_R12: addr = &uc->uc_mcontext.gregs[REG_R12]; break; in x86_64_r_uc_addr()
118 case UNW_X86_64_R13: addr = &uc->uc_mcontext.gregs[REG_R13]; break; in x86_64_r_uc_addr()
119 case UNW_X86_64_R14: addr = &uc->uc_mcontext.gregs[REG_R14]; break; in x86_64_r_uc_addr()
120 case UNW_X86_64_R15: addr = &uc->uc_mcontext.gregs[REG_R15]; break; in x86_64_r_uc_addr()
121 case UNW_X86_64_RDI: addr = &uc->uc_mcontext.gregs[REG_RDI]; break; in x86_64_r_uc_addr()
[all …]
DGos-freebsd.c156 x86_64_r_uc_addr (ucontext_t *uc, int reg) in x86_64_r_uc_addr() argument
163 case UNW_X86_64_R8: addr = &uc->uc_mcontext.mc_r8; break; in x86_64_r_uc_addr()
164 case UNW_X86_64_R9: addr = &uc->uc_mcontext.mc_r9; break; in x86_64_r_uc_addr()
165 case UNW_X86_64_R10: addr = &uc->uc_mcontext.mc_r10; break; in x86_64_r_uc_addr()
166 case UNW_X86_64_R11: addr = &uc->uc_mcontext.mc_r11; break; in x86_64_r_uc_addr()
167 case UNW_X86_64_R12: addr = &uc->uc_mcontext.mc_r12; break; in x86_64_r_uc_addr()
168 case UNW_X86_64_R13: addr = &uc->uc_mcontext.mc_r13; break; in x86_64_r_uc_addr()
169 case UNW_X86_64_R14: addr = &uc->uc_mcontext.mc_r14; break; in x86_64_r_uc_addr()
170 case UNW_X86_64_R15: addr = &uc->uc_mcontext.mc_r15; break; in x86_64_r_uc_addr()
171 case UNW_X86_64_RDI: addr = &uc->uc_mcontext.mc_rdi; break; in x86_64_r_uc_addr()
[all …]
/external/valgrind/coregrind/m_sigframe/
Dsigframe-ppc64-linux.c109 struct vki_ucontext uc; member
172 frame->puc = &frame->uc; in VG_()
174 frame->uc.uc_flags = 0; in VG_()
175 frame->uc.uc_link = 0; in VG_()
195 frame->uc.uc_flags = 0; in VG_()
196 frame->uc.uc_link = 0; in VG_()
197 frame->uc.uc_stack = tst->altstack; in VG_()
198 frame->uc.uc_sigmask = tst->sig_mask; in VG_()
200 (Addr)(&frame->uc), sizeof(frame->uc) ); in VG_()
202 # define DO(gpr) frame->uc.uc_mcontext.gp_regs[VKI_PT_R0+gpr] \ in VG_()
[all …]
/external/libunwind/tests/
DGperf-simple.c62 unw_context_t uc; in measure_unwind() local
65 unw_getcontext (&uc); in measure_unwind()
66 if (unw_init_local (&cursor, &uc) < 0) in measure_unwind()
162 unw_context_t uc; in measure_init() member
165 uc[N]; in measure_init() local
177 uc[i].padding[511] = i; /* warm up the TLB */ in measure_init()
180 unw_getcontext (&uc[i].uc); in measure_init()
192 uc[i].padding[511] = i; /* warm up the TLB */ in measure_init()
195 unw_init_local (&cursor[i].c, &uc[i].uc); in measure_init()
207 unw_getcontext (&uc[0].uc); in measure_init()
[all …]
/external/libunwind/src/x86/
DGos-linux.c252 x86_r_uc_addr (ucontext_t *uc, int reg) in x86_r_uc_addr() argument
258 case UNW_X86_GS: addr = &uc->uc_mcontext.gregs[REG_GS]; break; in x86_r_uc_addr()
259 case UNW_X86_FS: addr = &uc->uc_mcontext.gregs[REG_FS]; break; in x86_r_uc_addr()
260 case UNW_X86_ES: addr = &uc->uc_mcontext.gregs[REG_ES]; break; in x86_r_uc_addr()
261 case UNW_X86_DS: addr = &uc->uc_mcontext.gregs[REG_DS]; break; in x86_r_uc_addr()
262 case UNW_X86_EAX: addr = &uc->uc_mcontext.gregs[REG_EAX]; break; in x86_r_uc_addr()
263 case UNW_X86_EBX: addr = &uc->uc_mcontext.gregs[REG_EBX]; break; in x86_r_uc_addr()
264 case UNW_X86_ECX: addr = &uc->uc_mcontext.gregs[REG_ECX]; break; in x86_r_uc_addr()
265 case UNW_X86_EDX: addr = &uc->uc_mcontext.gregs[REG_EDX]; break; in x86_r_uc_addr()
266 case UNW_X86_ESI: addr = &uc->uc_mcontext.gregs[REG_ESI]; break; in x86_r_uc_addr()
[all …]
DGos-freebsd.c304 x86_r_uc_addr (ucontext_t *uc, int reg) in x86_r_uc_addr() argument
310 case UNW_X86_GS: addr = &uc->uc_mcontext.mc_gs; break; in x86_r_uc_addr()
311 case UNW_X86_FS: addr = &uc->uc_mcontext.mc_fs; break; in x86_r_uc_addr()
312 case UNW_X86_ES: addr = &uc->uc_mcontext.mc_es; break; in x86_r_uc_addr()
313 case UNW_X86_DS: addr = &uc->uc_mcontext.mc_ds; break; in x86_r_uc_addr()
314 case UNW_X86_EAX: addr = &uc->uc_mcontext.mc_eax; break; in x86_r_uc_addr()
315 case UNW_X86_EBX: addr = &uc->uc_mcontext.mc_ebx; break; in x86_r_uc_addr()
316 case UNW_X86_ECX: addr = &uc->uc_mcontext.mc_ecx; break; in x86_r_uc_addr()
317 case UNW_X86_EDX: addr = &uc->uc_mcontext.mc_edx; break; in x86_r_uc_addr()
318 case UNW_X86_ESI: addr = &uc->uc_mcontext.mc_esi; break; in x86_r_uc_addr()
[all …]
/external/llvm/test/CodeGen/PowerPC/
DAtomics-64.ll13 @uc = common global i8 0
26 %1 = atomicrmw add i8* @uc, i8 1 monotonic
40 %15 = atomicrmw sub i8* @uc, i8 1 monotonic
54 %29 = atomicrmw or i8* @uc, i8 1 monotonic
68 %43 = atomicrmw xor i8* @uc, i8 1 monotonic
82 %57 = atomicrmw and i8* @uc, i8 1 monotonic
96 %71 = atomicrmw nand i8* @uc, i8 1 monotonic
119 %1 = atomicrmw add i8* @uc, i8 11 monotonic
120 store i8 %1, i8* @uc, align 1
141 %15 = atomicrmw sub i8* @uc, i8 11 monotonic
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidiWriter.java298 char uc; in writeReordered() local
315 uc = LRM_CHAR; in writeReordered()
317 uc = RLM_CHAR; in writeReordered()
319 uc = 0; in writeReordered()
321 if (uc != 0) { in writeReordered()
322 dest.append(uc); in writeReordered()
333 uc = LRM_CHAR; in writeReordered()
335 uc = RLM_CHAR; in writeReordered()
337 uc = 0; in writeReordered()
339 if (uc != 0) { in writeReordered()
[all …]

12345678910>>...12