Home
last modified time | relevance | path

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

12345678910>>...25

/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 …]
Dzvector.c5 volatile vector unsigned char uc, uc2; variable
33 uc = uc2; in test_assign()
70 uc = +uc2; in test_pos()
286 uc = uc + uc2; in test_add()
290 uc = uc + bc2; in test_add()
294 uc = bc + uc2; in test_add()
392 uc += uc2; in test_add_assign()
396 uc += bc2; in test_add_assign()
474 uc = uc - uc2; in test_sub()
478 uc = uc - bc2; in test_sub()
[all …]
Dcomplex-convert.c11 void foo(signed char sc, unsigned char uc, signed long long sll, in foo() argument
131 csc1 = uc; in foo()
161 cuc1 = uc; in foo()
192 csll1 = uc; in foo()
222 cull1 = uc; in foo()
308 csc1 = uc + csc; in foo()
326 cuc1 = uc + cuc; in foo()
344 csll1 = uc + csll; in foo()
358 cull1 = uc + cull; in foo()
502 csc1 = csc + uc; in foo()
[all …]
/external/google-breakpad/src/client/linux/dump_writer_common/
Ducontext_reader.cc46 uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { in GetStackPointer() argument
47 return uc->uc_mcontext.gregs[REG_ESP]; in GetStackPointer()
50 uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { in GetInstructionPointer() argument
51 return uc->uc_mcontext.gregs[REG_EIP]; in GetInstructionPointer()
54 void UContextReader::FillCPUContext(RawContextCPU* out, const ucontext_t* uc, in FillCPUContext() argument
56 const greg_t* regs = uc->uc_mcontext.gregs; in FillCPUContext()
94 uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) {
95 return uc->uc_mcontext.gregs[REG_RSP];
98 uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) {
99 return uc->uc_mcontext.gregs[REG_RIP];
[all …]
/external/clang/test/Sema/
Dzvector.c6 vector unsigned char uc, uc2; variable
47 uc = uc2; in foo()
65 uc = sc2; // expected-error {{incompatible type}} in foo()
66 uc = bc2; // expected-error {{incompatible type}} in foo()
72 uc = sc_scalar; // expected-error {{incompatible type}} in foo()
73 uc = uc_scalar; // expected-error {{incompatible type}} in foo()
87 uc = us2; // expected-error {{incompatible type}} in foo()
88 uc = ui2; // expected-error {{incompatible type}} in foo()
89 uc = ul2; // expected-error {{incompatible type}} in foo()
90 uc = fd2; // expected-error {{incompatible type}} in foo()
[all …]
/external/mesa3d/src/util/
Du_pack_color.h64 enum pipe_format format, union util_color *uc) in util_pack_color_ub() argument
69 uc->ui[0] = (r << 24) | (g << 16) | (b << 8) | a; in util_pack_color_ub()
74 uc->ui[0] = (r << 24) | (g << 16) | (b << 8) | 0xff; in util_pack_color_ub()
79 uc->ui[0] = (a << 24) | (r << 16) | (g << 8) | b; in util_pack_color_ub()
84 uc->ui[0] = (0xff << 24) | (r << 16) | (g << 8) | b; in util_pack_color_ub()
89 uc->ui[0] = (b << 24) | (g << 16) | (r << 8) | a; in util_pack_color_ub()
94 uc->ui[0] = (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/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/cronet/stable/third_party/ced/src/compact_enc_det/
Dcompact_enc_det_hint_code.cc113 uint8 uc = static_cast<uint8>(str[i]); in MakeChar44() local
114 if (kIsAlpha[uc]) { in MakeChar44()
116 res[l_ptr] = kCharsetToLowerTbl[uc]; in MakeChar44()
119 } else if (kIsDigit[uc]) { in MakeChar44()
121 res[4 + d_ptr] = kCharsetToLowerTbl[uc]; in MakeChar44()
127 res[7] = kCharsetToLowerTbl[uc]; in MakeChar44()
142 uint8 uc = static_cast<uint8>(str[i]); in MakeChar4() local
143 if (kIsAlpha[uc] | kIsDigit[uc]) { in MakeChar4()
145 res[l_ptr] = kCharsetToLowerTbl[uc]; in MakeChar4()
160 uint8 uc = static_cast<uint8>(str[i]); in MakeChar8() local
[all …]
/external/cronet/tot/third_party/ced/src/compact_enc_det/
Dcompact_enc_det_hint_code.cc113 uint8 uc = static_cast<uint8>(str[i]); in MakeChar44() local
114 if (kIsAlpha[uc]) { in MakeChar44()
116 res[l_ptr] = kCharsetToLowerTbl[uc]; in MakeChar44()
119 } else if (kIsDigit[uc]) { in MakeChar44()
121 res[4 + d_ptr] = kCharsetToLowerTbl[uc]; in MakeChar44()
127 res[7] = kCharsetToLowerTbl[uc]; in MakeChar44()
142 uint8 uc = static_cast<uint8>(str[i]); in MakeChar4() local
143 if (kIsAlpha[uc] | kIsDigit[uc]) { in MakeChar4()
145 res[l_ptr] = kCharsetToLowerTbl[uc]; in MakeChar4()
160 uint8 uc = static_cast<uint8>(str[i]); in MakeChar8() local
[all …]
/external/curl/docs/examples/
Dparseurl.c38 CURLUcode uc; in main() local
47 uc = curl_url_set(h, CURLUPART_URL, "http://example.com/path/index.html", 0); in main()
48 if(uc) in main()
52 uc = curl_url_get(h, CURLUPART_HOST, &host, 0); in main()
53 if(!uc) { in main()
59 uc = curl_url_get(h, CURLUPART_PATH, &path, 0); in main()
60 if(!uc) { in main()
66 uc = curl_url_set(h, CURLUPART_URL, "../another/second.html", 0); in main()
67 if(uc) in main()
71 uc = curl_url_get(h, CURLUPART_PATH, &path, 0); in main()
[all …]
/external/libpcap/
Dfmtutils.c106 uint32_t uc; in utf_16le_to_utf_8_truncated() local
133 uc = REPLACEMENT_CHARACTER; in utf_16le_to_utf_8_truncated()
152 uc = SURROGATE_VALUE(c, c2); in utf_16le_to_utf_8_truncated()
159 uc = REPLACEMENT_CHARACTER; in utf_16le_to_utf_8_truncated()
173 uc = REPLACEMENT_CHARACTER; in utf_16le_to_utf_8_truncated()
179 uc = c; in utf_16le_to_utf_8_truncated()
187 if (uc < 0x0080) { in utf_16le_to_utf_8_truncated()
196 *utf_8++ = (char)uc; in utf_16le_to_utf_8_truncated()
198 } else if (uc < 0x0800) { in utf_16le_to_utf_8_truncated()
207 *utf_8++ = ((uc >> 6) & 0x3F) | 0xC0; in utf_16le_to_utf_8_truncated()
[all …]
/external/vogar/test/vogar/
DScriptBuilderEscapingTest.java41 private final String uc; field in ScriptBuilderEscapingTest.SingleCharacterEscapeTest
45 this.uc = Character.toString(c); in SingleCharacterEscapeTest()
47 setName("Escape '" + uc + "' as '" + qc + "'"); in SingleCharacterEscapeTest()
52 assertEquals(qc, ScriptBuilder.escape(uc)); in runTest()
53 assertEquals("a" + qc, ScriptBuilder.escape("a" + uc)); in runTest()
54 assertEquals(qc + "b", ScriptBuilder.escape(uc + "b")); in runTest()
55 assertEquals("a" + qc + "b", ScriptBuilder.escape("a" + uc + "b")); in runTest()
57 ScriptBuilder.escape(uc + "a" + uc + uc + uc + "b" + uc)); in runTest()
/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/
Dvmx_preemption_timer_test.c163 struct ucall uc; in main() local
190 switch (get_ucall(vcpu, &uc)) { in main()
192 REPORT_GUEST_ASSERT(uc); in main()
199 TEST_FAIL("Unknown ucall %lu", uc.cmd); in main()
203 TEST_ASSERT(!strcmp((const char *)uc.args[0], "hello") && in main()
204 uc.args[1] == stage, "Stage %d: Unexpected register values vmexit, got %lx", in main()
205 stage, (ulong)uc.args[1]); in main()
217 stage, uc.args[2], uc.args[3]); in main()
220 stage, uc.args[4], uc.args[5]); in main()
222 TEST_ASSERT(uc.args[2] >= uc.args[3], in main()
[all …]
/external/linux-kselftest/tools/testing/selftests/arm64/signal/testcases/
Dtestcases.h28 (struct _aarch64_ctx *)(&(sf).uc.uc_mcontext.__reserved)
31 sizeof((sf).uc.uc_mcontext.__reserved)
34 (struct _aarch64_ctx *)(&(buf).uc.uc_mcontext.__reserved)
37 (sizeof(buf) - sizeof(buf.uc) + \
38 sizeof((buf).uc.uc_mcontext.__reserved))
43 #define ASSERT_BAD_CONTEXT(uc) do { \ argument
45 if (!validate_reserved((uc), GET_UCP_RESV_SIZE((uc)), &err)) { \
55 #define ASSERT_GOOD_CONTEXT(uc) do { \ argument
57 if (!validate_reserved((uc), GET_UCP_RESV_SIZE((uc)), &err)) { \
83 ucontext_t uc; member
[all …]
/external/libvpx/vp8/common/
Dloopfilter_filters.c15 typedef unsigned char uc; typedef
24 static signed char vp8_filter_mask(uc limit, uc blimit, uc p3, uc p2, uc p1, in vp8_filter_mask()
25 uc p0, uc q0, uc q1, uc q2, uc q3) { in vp8_filter_mask()
38 static signed char vp8_hevmask(uc thresh, uc p1, uc p0, uc q0, uc q1) { in vp8_hevmask()
45 static void vp8_filter(signed char mask, uc hev, uc *op1, uc *op0, uc *oq0, in vp8_filter()
46 uc *oq1) { in vp8_filter()
138 static void vp8_mbfilter(signed char mask, uc hev, uc *op2, uc *op1, uc *op0, in vp8_mbfilter()
139 uc *oq0, uc *oq1, uc *oq2) { in vp8_mbfilter()
238 static signed char vp8_simple_filter_mask(uc blimit, uc p1, uc p0, uc q0, in vp8_simple_filter_mask()
239 uc q1) { in vp8_simple_filter_mask()
[all …]
/external/libffi/testsuite/libffi.call/
Dreturn_uc.c10 static unsigned char return_uc(unsigned char uc) in return_uc() argument
12 return uc; in return_uc()
22 unsigned char uc; in main() local
25 values[0] = &uc; in main()
31 for (uc = (unsigned char) '\x00'; in main()
32 uc < (unsigned char) '\xff'; uc++) in main()
35 CHECK((unsigned char)rint == uc); in main()
Dpromotion.c10 unsigned char uc, unsigned short us) in promotion() argument
12 int r = (int) sc + (int) ss + (int) uc + (int) us; in promotion()
24 unsigned char uc; in main() local
35 values[2] = &uc; in main()
48 for (uc = (unsigned char) 0; in main()
49 uc <= (unsigned char) 200; uc += 20) in main()
55 (unsigned char) uc + (unsigned short) us); in main()
/external/curl/tests/libtest/
Dlib1559.c58 CURLUcode uc = curl_url_set(u, CURLUPART_URL, longurl, 0); in test() local
60 EXCESSIVE, (int)uc, curl_url_strerror(uc)); in test()
61 uc = curl_url_set(u, CURLUPART_SCHEME, longurl, CURLU_NON_SUPPORT_SCHEME); in test()
63 EXCESSIVE, (int)uc, curl_url_strerror(uc)); in test()
64 uc = curl_url_set(u, CURLUPART_USER, longurl, 0); in test()
66 EXCESSIVE, (int)uc, curl_url_strerror(uc)); in test()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/s390x/
Ducall.c19 struct ucall uc = { in ucall() local
29 uc.args[i] = va_arg(va, uint64_t); in ucall()
33 asm volatile ("diag 0,%0,0x501" : : "a"(&uc) : "memory"); in ucall()
36 uint64_t get_ucall(struct kvm_vcpu *vcpu, struct ucall *uc) in get_ucall() argument
41 if (uc) in get_ucall()
42 memset(uc, 0, sizeof(*uc)); in get_ucall()
54 if (uc) in get_ucall()
55 memcpy(uc, &ucall, sizeof(ucall)); in get_ucall()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/
Ducall.c21 struct ucall uc = { in ucall() local
31 uc.args[i] = va_arg(va, uint64_t); in ucall()
35 : : [port] "d" (UCALL_PIO_PORT), "D" (&uc) : "rax", "memory"); in ucall()
38 uint64_t get_ucall(struct kvm_vcpu *vcpu, struct ucall *uc) in get_ucall() argument
43 if (uc) in get_ucall()
44 memset(uc, 0, sizeof(*uc)); in get_ucall()
54 if (uc) in get_ucall()
55 memcpy(uc, &ucall, sizeof(ucall)); in get_ucall()
/external/abseil-cpp/absl/debugging/
Dstacktrace.cc71 const void* uc, in Unwind() argument
78 int size = (*f)(result, sizes, max_depth, skip_count + 1, uc, in Unwind()
95 int skip_count, const void* uc, in GetStackFramesWithContext() argument
97 return Unwind<true, true>(result, sizes, max_depth, skip_count, uc, in GetStackFramesWithContext()
109 const void* uc, int* min_dropped_frames) { in GetStackTraceWithContext() argument
110 return Unwind<false, true>(result, nullptr, max_depth, skip_count, uc, in GetStackTraceWithContext()
119 const void* uc, int* min_dropped_frames) { in DefaultStackUnwinder() argument
123 if (uc == nullptr) { in DefaultStackUnwinder()
129 if (uc == nullptr) { in DefaultStackUnwinder()
136 int n = (*f)(pcs, sizes, depth, skip, uc, min_dropped_frames); in DefaultStackUnwinder()
/external/cronet/stable/third_party/abseil-cpp/absl/debugging/
Dstacktrace.cc71 const void* uc, in Unwind() argument
78 int size = (*f)(result, sizes, max_depth, skip_count + 1, uc, in Unwind()
95 int skip_count, const void* uc, in GetStackFramesWithContext() argument
97 return Unwind<true, true>(result, sizes, max_depth, skip_count, uc, in GetStackFramesWithContext()
109 const void* uc, int* min_dropped_frames) { in GetStackTraceWithContext() argument
110 return Unwind<false, true>(result, nullptr, max_depth, skip_count, uc, in GetStackTraceWithContext()
119 const void* uc, int* min_dropped_frames) { in DefaultStackUnwinder() argument
123 if (uc == nullptr) { in DefaultStackUnwinder()
129 if (uc == nullptr) { in DefaultStackUnwinder()
136 int n = (*f)(pcs, sizes, depth, skip, uc, min_dropped_frames); in DefaultStackUnwinder()
/external/angle/third_party/abseil-cpp/absl/debugging/
Dstacktrace.cc71 const void* uc, in Unwind() argument
78 int size = (*f)(result, sizes, max_depth, skip_count + 1, uc, in Unwind()
95 int skip_count, const void* uc, in GetStackFramesWithContext() argument
97 return Unwind<true, true>(result, sizes, max_depth, skip_count, uc, in GetStackFramesWithContext()
109 const void* uc, int* min_dropped_frames) { in GetStackTraceWithContext() argument
110 return Unwind<false, true>(result, nullptr, max_depth, skip_count, uc, in GetStackTraceWithContext()
119 const void* uc, int* min_dropped_frames) { in DefaultStackUnwinder() argument
123 if (uc == nullptr) { in DefaultStackUnwinder()
129 if (uc == nullptr) { in DefaultStackUnwinder()
136 int n = (*f)(pcs, sizes, depth, skip, uc, min_dropped_frames); in DefaultStackUnwinder()
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/debugging/
Dstacktrace.cc71 const void* uc, in Unwind() argument
78 int size = (*f)(result, sizes, max_depth, skip_count + 1, uc, in Unwind()
95 int skip_count, const void* uc, in GetStackFramesWithContext() argument
97 return Unwind<true, true>(result, sizes, max_depth, skip_count, uc, in GetStackFramesWithContext()
109 const void* uc, int* min_dropped_frames) { in GetStackTraceWithContext() argument
110 return Unwind<false, true>(result, nullptr, max_depth, skip_count, uc, in GetStackTraceWithContext()
119 const void* uc, int* min_dropped_frames) { in DefaultStackUnwinder() argument
123 if (uc == nullptr) { in DefaultStackUnwinder()
129 if (uc == nullptr) { in DefaultStackUnwinder()
136 int n = (*f)(pcs, sizes, depth, skip, uc, min_dropped_frames); in DefaultStackUnwinder()
/external/cronet/tot/third_party/abseil-cpp/absl/debugging/
Dstacktrace.cc71 const void* uc, in Unwind() argument
78 int size = (*f)(result, sizes, max_depth, skip_count + 1, uc, in Unwind()
95 int skip_count, const void* uc, in GetStackFramesWithContext() argument
97 return Unwind<true, true>(result, sizes, max_depth, skip_count, uc, in GetStackFramesWithContext()
109 const void* uc, int* min_dropped_frames) { in GetStackTraceWithContext() argument
110 return Unwind<false, true>(result, nullptr, max_depth, skip_count, uc, in GetStackTraceWithContext()
119 const void* uc, int* min_dropped_frames) { in DefaultStackUnwinder() argument
123 if (uc == nullptr) { in DefaultStackUnwinder()
129 if (uc == nullptr) { in DefaultStackUnwinder()
136 int n = (*f)(pcs, sizes, depth, skip, uc, min_dropped_frames); in DefaultStackUnwinder()

12345678910>>...25