Home
last modified time | relevance | path

Searched refs:ucp (Results 1 – 25 of 156) sorted by relevance

1234567

/external/linux-kselftest/tools/testing/selftests/powerpc/signal/
Dsigfuz.c91 ucontext_t *ucp = uc; in trap_signal_handler() local
93 ucp->uc_link = tmp_uc; in trap_signal_handler()
102 memset(ucp->uc_link, rand(), sizeof(ucontext_t)); in trap_signal_handler()
104 memcpy(ucp->uc_link, uc, sizeof(ucontext_t)); in trap_signal_handler()
111 ucp->uc_link = tmp_uc; in trap_signal_handler()
113 madvise(ucp->uc_link, sizeof(ucontext_t), MADV_DONTNEED); in trap_signal_handler()
119 ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] |= MSR_TS_S; in trap_signal_handler()
122 ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] |= in trap_signal_handler()
125 ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] |= in trap_signal_handler()
132 ucp->uc_mcontext.gp_regs[PT_MSR] |= MSR_TS_S; in trap_signal_handler()
[all …]
/external/linux-kselftest/tools/testing/selftests/powerpc/tm/
Dtm-signal-context-force-tm.c51 ucontext_t *ucp = uc; in usr_signal_handler() local
59 ucp->uc_link = mmap(NULL, sizeof(ucontext_t), in usr_signal_handler()
62 if (ucp->uc_link == (void *)-1) { in usr_signal_handler()
68 ret = madvise(ucp->uc_link, sizeof(ucontext_t), MADV_DONTNEED); in usr_signal_handler()
74 memcpy(&ucp->uc_link->uc_mcontext, &ucp->uc_mcontext, in usr_signal_handler()
75 sizeof(ucp->uc_mcontext)); in usr_signal_handler()
78 UCONTEXT_MSR(ucp) |= MSR_TS_S; in usr_signal_handler()
Dtm-trap.c63 ucontext_t *ucp = uc; in trap_signal_handler() local
67 thread_endianness = MSR_LE & ucp->uc_mcontext.gp_regs[PT_MSR]; in trap_signal_handler()
116 ucp->uc_mcontext.gp_regs[PT_NIP] += 16; in trap_signal_handler()
123 ucp->uc_mcontext.gp_regs[PT_MSR] |= 1UL; in trap_signal_handler()
124 ucp->uc_mcontext.gp_regs[PT_NIP] += 4; in trap_signal_handler()
141 ucp->uc_mcontext.gp_regs[PT_MSR] |= 1UL; in trap_signal_handler()
171 ucp->uc_mcontext.gp_regs[PT_MSR] &= ~1UL; in trap_signal_handler()
172 ucp->uc_mcontext.gp_regs[PT_NIP] += 8; in trap_signal_handler()
Dtm-signal-msr-resv.c35 ucontext_t *ucp = uc; in signal_usr1() local
38 ucp->uc_link = ucp; in signal_usr1()
41 ucp->uc_mcontext.gp_regs[PT_MSR] |= (7ULL << 32); in signal_usr1()
43 ucp->uc_mcontext.uc_regs->gregs[PT_MSR] |= (7ULL); in signal_usr1()
Dtm-signal-context-chk-gpr.c52 ucontext_t *ucp = uc; in signal_usr1() local
53 ucontext_t *tm_ucp = ucp->uc_link; in signal_usr1()
57 fail = (ucp->uc_mcontext.gp_regs[R14 + i] != gprs[i]); in signal_usr1()
61 R14 + i, ucp->uc_mcontext.gp_regs[R14 + i], gprs[i]); in signal_usr1()
Dtm-signal-context-chk-fpu.c50 ucontext_t *ucp = uc; in signal_usr1() local
51 ucontext_t *tm_ucp = ucp->uc_link; in signal_usr1()
55 fail = (ucp->uc_mcontext.fp_regs[FPR14 + i] != fps[i]); in signal_usr1()
59 FPR14 + i, ucp->uc_mcontext.fp_regs[FPR14 + i], fps[i]); in signal_usr1()
Dtm-signal-context-chk-vmx.c59 ucontext_t *ucp = uc; in signal_usr1() local
60 ucontext_t *tm_ucp = ucp->uc_link; in signal_usr1()
64 fail = memcmp(ucp->uc_mcontext.v_regs->vrregs[VMX20 + i], in signal_usr1()
71 printf("%08x", ucp->uc_mcontext.v_regs->vrregs[VMX20 + i][j]); in signal_usr1()
Dtm-signal-context-chk-vsx.c62 ucontext_t *ucp = uc; in signal_usr1() local
63 ucontext_t *tm_ucp = ucp->uc_link; in signal_usr1()
96 long *vsx_ptr = (long *)(ucp->uc_mcontext.v_regs + 1); in signal_usr1()
106 memcpy(vsx, &ucp->uc_mcontext.fp_regs[FPR20 + i], 8); in signal_usr1()
Dtm-signal-sigreturn-nt.c22 ucontext_t *ucp = (ucontext_t *) uc; in trap_signal_handler() local
27 ucp->uc_mcontext.regs->nip += 4; in trap_signal_handler()
/external/pcre/dist2/testdata/
Dtestinput1448 /\x{c1}+\x{e1}/iB,ucp
52 /\x{120}\x{c1}/i,ucp,no_start_optimize
55 /\x{120}\x{c1}/i,ucp
61 /[^\x{120}]/i,ucp,no_start_optimize
68 /[^\x{120}]/i,ucp
72 /\x{120}{2}/i,ucp
75 /[^\x{120}]{2}/i,ucp
Dtestinput12272 /[[:blank:]]/B,ucp
361 /[\s[:^ascii:]]/B,ucp
363 /\pP/ucp
448 /aa/utf,ucp,match_invalid_utf,global
451 /aa/utf,ucp,match_invalid_utf,global
477 /\x{c1}/i,I,ucp
479 /[\x{120}\x{121}]/iB,ucp
481 /[ab\x{120}]+/iB,ucp
488 /\x{120}\x{c1}/i,ucp,no_start_optimize
491 /\x{120}\x{c1}/i,ucp
[all …]
Dtestinput521 /^[[:graph:]]+$/utf,ucp
29 /^[[:print:]]+$/utf,ucp
37 /^[[:^graph:]]+$/utf,ucp
41 /^[[:^print:]]+$/utf,ucp
50 /^>[[:blank:]]*/utf,ucp
53 /^A\s+Z/utf,ucp
56 /^A[\s]+Z/utf,ucp
60 /^[[:graph:]]+$/utf,ucp
64 /^[[:print:]]+$/utf,ucp
67 /^[[:^graph:]]+$/utf,ucp
[all …]
Dtestoutput14-1673 /\x{c1}+\x{e1}/iB,ucp
88 /\x{120}\x{c1}/i,ucp,no_start_optimize
92 /\x{120}\x{c1}/i,ucp
100 /[^\x{120}]/i,ucp,no_start_optimize
109 /[^\x{120}]/i,ucp
114 /\x{120}{2}/i,ucp
118 /[^\x{120}]{2}/i,ucp
Dtestoutput14-3273 /\x{c1}+\x{e1}/iB,ucp
88 /\x{120}\x{c1}/i,ucp,no_start_optimize
92 /\x{120}\x{c1}/i,ucp
100 /[^\x{120}]/i,ucp,no_start_optimize
109 /[^\x{120}]/i,ucp
114 /\x{120}{2}/i,ucp
118 /[^\x{120}]{2}/i,ucp
Dtestoutput14-873 /\x{c1}+\x{e1}/iB,ucp
88 /\x{120}\x{c1}/i,ucp,no_start_optimize
92 /\x{120}\x{c1}/i,ucp
100 /[^\x{120}]/i,ucp,no_start_optimize
109 /[^\x{120}]/i,ucp
114 /\x{120}{2}/i,ucp
118 /[^\x{120}]{2}/i,ucp
/external/ppp/pppd/
Dipxcp.c610 ipxcp_addci(f, ucp, lenp) in ipxcp_addci() argument
612 u_char *ucp;
619 PUTCHAR (IPX_NETWORK_NUMBER, ucp);
620 PUTCHAR (CILEN_NETN, ucp);
621 PUTLONG (go->our_network, ucp);
626 PUTCHAR (IPX_NODE_NUMBER, ucp);
627 PUTCHAR (CILEN_NODEN, ucp);
629 PUTCHAR (go->our_node[indx], ucp);
635 PUTCHAR (IPX_ROUTER_NAME, ucp);
636 PUTCHAR (CILEN_NAME + cilen - 1, ucp);
[all …]
Dipv6cp.c563 ipv6cp_addci(f, ucp, lenp) in ipv6cp_addci() argument
565 u_char *ucp;
575 PUTCHAR(opt, ucp); \
576 PUTCHAR(vjlen, ucp); \
577 PUTSHORT(val, ucp); \
587 PUTCHAR(opt, ucp); \
588 PUTCHAR(idlen, ucp); \
589 eui64_put(val1, ucp); \
912 u_char *ucp = inp; /* Pointer to current output char */ local
1033 ucp = inp; /* Backup */
[all …]
Dipcp.c768 ipcp_addci(f, ucp, lenp) in ipcp_addci() argument
770 u_char *ucp;
780 PUTCHAR(opt, ucp); \
781 PUTCHAR(CILEN_ADDRS, ucp); \
783 PUTLONG(l, ucp); \
785 PUTLONG(l, ucp); \
795 PUTCHAR(opt, ucp); \
796 PUTCHAR(vjlen, ucp); \
797 PUTSHORT(val, ucp); \
799 PUTCHAR(maxslotindex, ucp); \
[all …]
Dlcp.c707 lcp_addci(f, ucp, lenp) in lcp_addci() argument
709 u_char *ucp;
713 u_char *start_ucp = ucp;
717 PUTCHAR(opt, ucp); \
718 PUTCHAR(CILEN_VOID, ucp); \
722 PUTCHAR(opt, ucp); \
723 PUTCHAR(CILEN_SHORT, ucp); \
724 PUTSHORT(val, ucp); \
728 PUTCHAR((opt), ucp); \
729 PUTCHAR(CILEN_CHAP, ucp); \
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_clip.c50 STATIC_ASSERT(sizeof(clip.ucp) <= sizeof(ctx->Transform._ClipUserPlane)); in st_update_clip()
60 memcpy(clip.ucp, in st_update_clip()
62 : ctx->Transform._ClipUserPlane, sizeof(clip.ucp)); in st_update_clip()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_linux.cpp71 ucontext_t *ucp = (ucontext_t *)context; in ReadContextStack() local
72 *stack = (uptr)ucp->uc_stack.ss_sp; in ReadContextStack()
73 *ssize = ucp->uc_stack.ss_size; in ReadContextStack()
/external/pcre/dist2/src/
Dpcre2_auto_possess.c308 get_chr_property_list(PCRE2_SPTR code, BOOL utf, BOOL ucp, const uint8_t *fcc, in get_chr_property_list() argument
321 (void)ucp; in get_chr_property_list()
401 if (chr < 128 || (chr < 256 && !utf && !ucp)) in get_chr_property_list()
518 compare_opcodes(PCRE2_SPTR code, BOOL utf, BOOL ucp, const compile_block *cb, in compare_opcodes() argument
657 if (!compare_opcodes(code, utf, ucp, cb, base_list, base_end, rec_limit)) in compare_opcodes()
678 if (!compare_opcodes(next_code, utf, ucp, cb, base_list, base_end, in compare_opcodes()
695 code = get_chr_property_list(code, utf, ucp, cb->fcc, list); in compare_opcodes()
1122 BOOL ucp = (cb->external_options & PCRE2_UCP) != 0; in PRIV() local
1134 get_chr_property_list(code, utf, ucp, cb->fcc, list) : NULL; in PRIV()
1137 if (end != NULL && compare_opcodes(end, utf, ucp, cb, list, end, in PRIV()
[all …]
Dpcre2_study.c782 BOOL ucp) in set_table_bit() argument
787 (void)ucp; in set_table_bit()
817 if (utf || ucp) in set_table_bit()
953 set_start_bits(pcre2_real_code *re, PCRE2_SPTR code, BOOL utf, BOOL ucp, in set_start_bits() argument
1124 rc = set_start_bits(re, tcode, utf, ucp, depthptr); in set_start_bits()
1180 rc = set_start_bits(re, ++tcode, utf, ucp, depthptr); in set_start_bits()
1202 tcode = set_table_bit(re, tcode + 1, FALSE, utf, ucp); in set_start_bits()
1211 tcode = set_table_bit(re, tcode + 1, TRUE, utf, ucp); in set_start_bits()
1219 tcode = set_table_bit(re, tcode + 1 + IMM2_SIZE, FALSE, utf, ucp); in set_start_bits()
1225 tcode = set_table_bit(re, tcode + 1 + IMM2_SIZE, TRUE, utf, ucp); in set_start_bits()
[all …]
/external/compiler-rt/lib/asan/
Dasan_linux.cc160 ucontext_t *ucp = (ucontext_t*)context; in ReadContextStack() local
161 *stack = (uptr)ucp->uc_stack.ss_sp; in ReadContextStack()
162 *ssize = ucp->uc_stack.ss_size; in ReadContextStack()
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c1053 unsigned char *ucp; in show_buffer_under_overrun_page() local
1059 ucp = &resp[0] + 4; in show_buffer_under_overrun_page()
1061 pl = ucp[3] + 4; in show_buffer_under_overrun_page()
1062 count_basis = (ucp[1] >> 5) & 0x7; in show_buffer_under_overrun_page()
1081 cause = (ucp[1] >> 1) & 0xf; in show_buffer_under_overrun_page()
1095 if (ucp[1] & 1) in show_buffer_under_overrun_page()
1101 xp = ucp + 4; in show_buffer_under_overrun_page()
1114 ucp += pl; in show_buffer_under_overrun_page()
1121 unsigned char *ucp; in show_error_counter_page() local
1144 ucp = &resp[0] + 4; in show_error_counter_page()
[all …]

1234567