/external/valgrind/coregrind/m_sigframe/ |
D | sigframe-s390x-linux.c | 145 static void save_sigregs(ThreadState *tst, _vki_sigregs *sigregs) in save_sigregs() argument 147 sigregs->regs.gprs[0] = tst->arch.vex.guest_r0; in save_sigregs() 148 sigregs->regs.gprs[1] = tst->arch.vex.guest_r1; in save_sigregs() 149 sigregs->regs.gprs[2] = tst->arch.vex.guest_r2; in save_sigregs() 150 sigregs->regs.gprs[3] = tst->arch.vex.guest_r3; in save_sigregs() 151 sigregs->regs.gprs[4] = tst->arch.vex.guest_r4; in save_sigregs() 152 sigregs->regs.gprs[5] = tst->arch.vex.guest_r5; in save_sigregs() 153 sigregs->regs.gprs[6] = tst->arch.vex.guest_r6; in save_sigregs() 154 sigregs->regs.gprs[7] = tst->arch.vex.guest_r7; in save_sigregs() 155 sigregs->regs.gprs[8] = tst->arch.vex.guest_r8; in save_sigregs() [all …]
|
D | sigframe-mips32-linux.c | 78 void setup_sigcontext2 ( ThreadState* tst, struct vki_sigcontext **sc1, in setup_sigcontext2() argument 84 VG_TRACK( pre_mem_write, Vg_CoreSignal, tst->tid, "signal frame mcontext", in setup_sigcontext2() 86 sc->sc_regs[1] = tst->arch.vex.guest_r1; in setup_sigcontext2() 87 sc->sc_regs[2] = tst->arch.vex.guest_r2; in setup_sigcontext2() 88 sc->sc_regs[3] = tst->arch.vex.guest_r3; in setup_sigcontext2() 89 sc->sc_regs[4] = tst->arch.vex.guest_r4; in setup_sigcontext2() 90 sc->sc_regs[5] = tst->arch.vex.guest_r5; in setup_sigcontext2() 91 sc->sc_regs[6] = tst->arch.vex.guest_r6; in setup_sigcontext2() 92 sc->sc_regs[7] = tst->arch.vex.guest_r7; in setup_sigcontext2() 93 sc->sc_regs[8] = tst->arch.vex.guest_r8; in setup_sigcontext2() [all …]
|
D | sigframe-mips64-linux.c | 74 static void setup_sigcontext ( ThreadState* tst, struct vki_sigcontext **sc1, in setup_sigcontext() argument 79 VG_TRACK(pre_mem_write, Vg_CoreSignal, tst->tid, "signal frame mcontext", in setup_sigcontext() 81 sc->sc_regs[1] = tst->arch.vex.guest_r1; in setup_sigcontext() 82 sc->sc_regs[2] = tst->arch.vex.guest_r2; in setup_sigcontext() 83 sc->sc_regs[3] = tst->arch.vex.guest_r3; in setup_sigcontext() 84 sc->sc_regs[4] = tst->arch.vex.guest_r4; in setup_sigcontext() 85 sc->sc_regs[5] = tst->arch.vex.guest_r5; in setup_sigcontext() 86 sc->sc_regs[6] = tst->arch.vex.guest_r6; in setup_sigcontext() 87 sc->sc_regs[7] = tst->arch.vex.guest_r7; in setup_sigcontext() 88 sc->sc_regs[8] = tst->arch.vex.guest_r8; in setup_sigcontext() [all …]
|
D | sigframe-amd64-linux.c | 331 ThreadState *tst = VG_(get_ThreadState)(tid); in synth_ucontext() local 339 uc->uc_stack = tst->altstack; in synth_ucontext() 344 # define SC2(reg,REG) sc->reg = tst->arch.vex.guest_##REG in synth_ucontext() 363 sc->eflags = LibVEX_GuestAMD64_get_rflags(&tst->arch.vex); in synth_ucontext() 378 ThreadState *tst, in build_vg_sigframe() argument 385 frame->vex_shadow1 = tst->arch.vex_shadow1; in build_vg_sigframe() 386 frame->vex_shadow2 = tst->arch.vex_shadow2; in build_vg_sigframe() 388 frame->vex = tst->arch.vex; in build_vg_sigframe() 390 frame->mask = tst->sig_mask; in build_vg_sigframe() 396 static Addr build_rt_sigframe(ThreadState *tst, in build_rt_sigframe() argument [all …]
|
D | sigframe-x86-linux.c | 354 ThreadState *tst = VG_(get_ThreadState)(tid); in synth_ucontext() local 362 uc->uc_stack = tst->altstack; in synth_ucontext() 367 # define SC2(reg,REG) sc->reg = tst->arch.vex.guest_##REG in synth_ucontext() 384 sc->eflags = LibVEX_GuestX86_get_eflags(&tst->arch.vex); in synth_ucontext() 398 ThreadState *tst, in build_vg_sigframe() argument 404 frame->vex_shadow1 = tst->arch.vex_shadow1; in build_vg_sigframe() 405 frame->vex_shadow2 = tst->arch.vex_shadow2; in build_vg_sigframe() 407 frame->vex = tst->arch.vex; in build_vg_sigframe() 409 frame->mask = tst->sig_mask; in build_vg_sigframe() 415 static Addr build_sigframe(ThreadState *tst, in build_sigframe() argument [all …]
|
D | sigframe-ppc32-linux.c | 122 do { tst->arch.vex.guest_LR = (zzval); \ 123 VG_TRACK( post_reg_write, Vg_CoreSignal, tst->tid, \ 129 do { tst->arch.vex.guest_GPR##zzn = (zzval); \ 130 VG_TRACK( post_reg_write, Vg_CoreSignal, tst->tid, \ 138 ThreadState* tst, in stack_mcontext() argument 142 VG_TRACK( pre_mem_write, Vg_CoreSignal, tst->tid, "signal frame mcontext", in stack_mcontext() 145 # define DO(gpr) mc->mc_gregs[VKI_PT_R0+gpr] = tst->arch.vex.guest_GPR##gpr in stack_mcontext() 152 mc->mc_gregs[VKI_PT_NIP] = tst->arch.vex.guest_CIA; in stack_mcontext() 154 mc->mc_gregs[VKI_PT_ORIG_R3] = tst->arch.vex.guest_GPR3; in stack_mcontext() 155 mc->mc_gregs[VKI_PT_CTR] = tst->arch.vex.guest_CTR; in stack_mcontext() [all …]
|
D | sigframe-ppc64-linux.c | 120 do { tst->arch.vex.guest_LR = (zzval); \ 121 VG_TRACK( post_reg_write, Vg_CoreSignal, tst->tid, \ 127 do { tst->arch.vex.guest_GPR##zzn = (zzval); \ 128 VG_TRACK( post_reg_write, Vg_CoreSignal, tst->tid, \ 148 ThreadState* tst; in VG_() local 160 tst = VG_(get_ThreadState)(tid); in VG_() 161 if (! ML_(sf_maybe_extend_stack)(tst, sp, sp_top_of_frame - sp, flags)) in VG_() 182 *(Addr *)sp = tst->arch.vex.guest_GPR1; in VG_() 198 frame->uc.uc_stack = tst->altstack; in VG_() 199 frame->uc.uc_sigmask = tst->sig_mask; in VG_() [all …]
|
D | sigframe-arm64-linux.c | 86 ThreadState *tst = VG_(get_ThreadState)(tid); in synth_ucontext() local 94 uc->uc_stack = tst->altstack; in synth_ucontext() 96 # define SC2(reg) sc->regs[reg] = tst->arch.vex.guest_X##reg in synth_ucontext() 106 sc->sp = tst->arch.vex.guest_XSP; in synth_ucontext() 107 sc->pc = tst->arch.vex.guest_PC; in synth_ucontext() 116 static void build_sigframe(ThreadState *tst, in build_sigframe() argument 129 VG_TRACK( pre_mem_write, Vg_CoreSignal, tst->tid, "signal handler frame", in build_sigframe() 140 synth_ucontext(tst->tid, siginfo, trapno, err, mask, &frame->uc); in build_sigframe() 142 VG_TRACK( post_mem_write, Vg_CoreSignal, tst->tid, in build_sigframe() 147 priv->vex = tst->arch.vex; in build_sigframe() [all …]
|
D | sigframe-arm-linux.c | 88 ThreadState *tst = VG_(get_ThreadState)(tid); in synth_ucontext() local 96 uc->uc_stack = tst->altstack; in synth_ucontext() 98 # define SC2(reg,REG) sc->arm_##reg = tst->arch.vex.guest_##REG in synth_ucontext() 123 static void build_sigframe(ThreadState *tst, in build_sigframe() argument 136 VG_TRACK( pre_mem_write, Vg_CoreSignal, tst->tid, "signal handler frame", in build_sigframe() 147 synth_ucontext(tst->tid, siginfo, trapno, err, mask, &frame->uc); in build_sigframe() 149 VG_TRACK( post_mem_write, Vg_CoreSignal, tst->tid, in build_sigframe() 154 priv->vex = tst->arch.vex; in build_sigframe() 155 priv->vex_shadow1 = tst->arch.vex_shadow1; in build_sigframe() 156 priv->vex_shadow2 = tst->arch.vex_shadow2; in build_sigframe() [all …]
|
D | sigframe-amd64-darwin.c | 82 static void synthesize_ucontext(ThreadState *tst, in synthesize_ucontext() argument 89 uc->uc_stack = tst->altstack; in synthesize_ucontext() 92 # define SC2(reg,REG) uc->__mcontext_data.__ss.reg = tst->arch.vex.guest_##REG in synthesize_ucontext() 110 uc->__mcontext_data.__ss.__rflags = LibVEX_GuestAMD64_get_rflags(&tst->arch.vex); in synthesize_ucontext() 117 static void restore_from_ucontext(ThreadState *tst, in restore_from_ucontext() argument 120 # define SC2(REG,reg) tst->arch.vex.guest_##REG = uc->__mcontext_data.__ss.reg in restore_from_ucontext() 157 ThreadState* tst; in VG_() local 169 tst = VG_(get_ThreadState)(tid); in VG_() 170 if (! ML_(sf_maybe_extend_stack)(tst, rsp, sp_top_of_frame - rsp, flags)) in VG_() 186 frame->vex = tst->arch.vex; in VG_() [all …]
|
D | sigframe-x86-darwin.c | 86 static void synthesize_ucontext(ThreadState *tst, in synthesize_ucontext() argument 93 uc->uc_stack = tst->altstack; in synthesize_ucontext() 96 # define SC2(reg,REG) uc->__mcontext_data.__ss.reg = tst->arch.vex.guest_##REG in synthesize_ucontext() 106 uc->__mcontext_data.__ss.__eflags = LibVEX_GuestX86_get_eflags(&tst->arch.vex); in synthesize_ucontext() 113 static void restore_from_ucontext(ThreadState *tst, in restore_from_ucontext() argument 116 # define SC2(REG,reg) tst->arch.vex.guest_##REG = uc->__mcontext_data.__ss.reg in restore_from_ucontext() 145 ThreadState* tst; in VG_() local 157 tst = VG_(get_ThreadState)(tid); in VG_() 158 if (! ML_(sf_maybe_extend_stack)(tst, esp, sp_top_of_frame - esp, flags)) in VG_() 174 frame->vex = tst->arch.vex; in VG_() [all …]
|
D | sigframe-solaris.c | 63 ThreadState *tst = VG_(get_ThreadState)(tid); in VG_() local 72 if (!ML_(sf_maybe_extend_stack)(tst, esp, sp_top_of_frame - esp, flags)) in VG_() 148 tst->os_state.oldcontext = &frame->ucontext; in VG_() 182 tst->arch.vex.guest_RDI = signo; in VG_() 185 tst->arch.vex.guest_RSI = (Addr)&frame->siginfo; in VG_() 188 tst->arch.vex.guest_RDX = (Addr)&frame->ucontext; in VG_() 205 if (on_altstack && tst->os_state.ustack in VG_() 206 && VG_(am_is_valid_for_client)((Addr)tst->os_state.ustack, in VG_() 207 sizeof(*tst->os_state.ustack), in VG_() 217 *tst->os_state.ustack = altstack; in VG_() [all …]
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-x86-darwin.c | 179 ThreadState *tst = VG_(get_ThreadState)(tid); in build_thread() local 186 thread_state_to_vex(state, flavor, count, &tst->arch.vex); in build_thread() 191 find_stack_segment(tid, tst->arch.vex.guest_ESP); in build_thread() 193 return tst; in build_thread() 203 ThreadState *tst) in hijack_thread_state() argument 211 stack = (char *)allocstack(tst->tid); in hijack_thread_state() 214 *(uintptr_t *)stack = (uintptr_t)tst; // set parameter in hijack_thread_state() 280 ThreadState *tst = (ThreadState *)func_arg; in pthread_hijack() local 281 VexGuestX86State *vex = &tst->arch.vex; in pthread_hijack() 287 semaphore_wait(tst->os_state.child_go); in pthread_hijack() [all …]
|
D | syswrap-amd64-darwin.c | 242 ThreadState *tst = VG_(get_ThreadState)(tid); in build_thread() local 249 thread_state_to_vex(state, flavor, count, &tst->arch.vex); in build_thread() 254 find_stack_segment(tid, tst->arch.vex.guest_RSP); in build_thread() 256 return tst; in build_thread() 266 ThreadState *tst) in hijack_thread_state() argument 274 stack = (char *)allocstack(tst->tid); in hijack_thread_state() 279 mach->__rdi = (uintptr_t)tst; // arg1 = tst in hijack_thread_state() 340 ThreadState *tst = (ThreadState *)func_arg; in pthread_hijack() local 341 VexGuestAMD64State *vex = &tst->arch.vex; in pthread_hijack() 347 semaphore_wait(tst->os_state.child_go); in pthread_hijack() [all …]
|
D | syswrap-x86-solaris.c | 94 ThreadState *tst = VG_(get_ThreadState)(tid); in ML_() local 95 UWord *stack = (UWord*)tst->os_state.valgrind_stack_init_SP; in ML_() 109 stack[1] = (UWord)tst; /* the parameter */ in ML_() 137 ThreadState *tst = VG_(get_ThreadState)(tid); in ML_() local 144 uc->uc_mcontext.gregs[VKI_EIP] = tst->arch.vex.guest_EIP; in ML_() 147 uc->uc_mcontext.gregs[VKI_EAX] = tst->arch.vex.guest_EAX; in ML_() 150 uc->uc_mcontext.gregs[VKI_EBX] = tst->arch.vex.guest_EBX; in ML_() 153 uc->uc_mcontext.gregs[VKI_ECX] = tst->arch.vex.guest_ECX; in ML_() 156 uc->uc_mcontext.gregs[VKI_EDX] = tst->arch.vex.guest_EDX; in ML_() 159 uc->uc_mcontext.gregs[VKI_EBP] = tst->arch.vex.guest_EBP; in ML_() [all …]
|
D | syswrap-amd64-solaris.c | 88 ThreadState *tst = VG_(get_ThreadState)(tid); in ML_() local 89 UWord *stack = (UWord*)tst->os_state.valgrind_stack_init_SP; in ML_() 104 uc->uc_mcontext.gregs[VKI_REG_RDI] = (UWord)tst; /* the parameter */ in ML_() 113 ThreadState *tst = VG_(get_ThreadState)(tid); in ML_() local 120 uc->uc_mcontext.gregs[VKI_REG_RIP] = tst->arch.vex.guest_RIP; in ML_() 123 uc->uc_mcontext.gregs[VKI_REG_RAX] = tst->arch.vex.guest_RAX; in ML_() 126 uc->uc_mcontext.gregs[VKI_REG_RBX] = tst->arch.vex.guest_RBX; in ML_() 129 uc->uc_mcontext.gregs[VKI_REG_RCX] = tst->arch.vex.guest_RCX; in ML_() 132 uc->uc_mcontext.gregs[VKI_REG_RDX] = tst->arch.vex.guest_RDX; in ML_() 135 uc->uc_mcontext.gregs[VKI_REG_RBP] = tst->arch.vex.guest_RBP; in ML_() [all …]
|
/external/libxml2/result/ |
D | att10.sax | 5 SAX.elementDecl(tst, 3, ...) 6 SAX.attributeDecl(tst, a, 8, 3, NULL, ...) 7 SAX.attributeDecl(tst, b, 1, 3, NULL, ...) 21 SAX.startElement(tst, a=' xyz', b=' xyz') 22 SAX.endElement(tst) 35 SAX.startElement(tst, a='&d;&d;A&a; &a;B&da;', b='&d;&d;A&a; &a;B&da;') 36 SAX.endElement(tst) 39 SAX.startElement(tst, a=' 50 SAX.endElement(tst) 53 SAX.startElement(tst, a=' x y ', b=' x y ') [all …]
|
D | att10.sax2 | 5 SAX.elementDecl(tst, 3, ...) 6 SAX.attributeDecl(tst, a, 8, 3, NULL, ...) 7 SAX.attributeDecl(tst, b, 1, 3, NULL, ...) 21 SAX.startElementNs(tst, NULL, NULL, 0, 2, 0, a='xyz"...', 3, b=' xy...', 5) 22 SAX.endElementNs(tst, NULL, NULL) 35 SAX.startElementNs(tst, NULL, NULL, 0, 2, 0, a='&d;&...', 19, b='&d;&...', 19) 36 SAX.endElementNs(tst, NULL, NULL) 39 SAX.startElementNs(tst, NULL, NULL, 0, 2, 0, a=' 46 SAX.endElementNs(tst, NULL, NULL) 49 SAX.startElementNs(tst, NULL, NULL, 0, 2, 0, a='x y...', 3, b=' x ...', 6) [all …]
|
D | att10.rde | 5 1 1 tst 1 0 8 1 1 tst 1 0 11 1 1 tst 1 0 14 1 1 tst 1 0 17 1 1 tst 1 0 20 1 1 tst 1 0
|
/external/libxml2/result/noent/ |
D | att10.sax2 | 5 SAX.elementDecl(tst, 3, ...) 6 SAX.attributeDecl(tst, a, 8, 3, NULL, ...) 7 SAX.attributeDecl(tst, b, 1, 3, NULL, ...) 21 SAX.startElementNs(tst, NULL, NULL, 0, 2, 0, a='xyz"...', 3, b=' xy...', 5) 22 SAX.endElementNs(tst, NULL, NULL) 35 SAX.startElementNs(tst, NULL, NULL, 0, 2, 0, a='A B...', 3, b=' A ...', 9) 36 SAX.endElementNs(tst, NULL, NULL) 39 SAX.startElementNs(tst, NULL, NULL, 0, 2, 0, a=' 46 SAX.endElementNs(tst, NULL, NULL) 49 SAX.startElementNs(tst, NULL, NULL, 0, 2, 0, a='x y...', 3, b=' x ...', 6) [all …]
|
/external/tensorflow/tensorflow/python/debug/cli/ |
D | analyzer_cli_test.py | 94 def assert_column_header_command_shortcut(tst, argument 100 tst.assertFalse(reverse and "-r" in command) 101 tst.assertFalse(not(op_type_regex) and ("-t %s" % op_type_regex) in command) 102 tst.assertFalse( 104 tst.assertFalse( 108 def assert_listed_tensors(tst, argument 140 tst.assertEqual("%d dumped tensor(s):" % num_tensors, next(line_iter)) 142 tst.assertEqual("%d dumped tensor(s) passing filter \"%s\":" % 147 tst.assertEqual("Op type regex filter: \"%s\"" % op_type_regex, 152 tst.assertEqual("Node name regex filter: \"%s\"" % node_name_regex, [all …]
|
/external/valgrind/coregrind/m_scheduler/ |
D | scheduler.c | 267 ThreadState *tst; in VG_() local 282 tst = VG_(get_ThreadState)(tid); in VG_() 284 vg_assert(tst->status != VgTs_Runnable); in VG_() 286 tst->status = VgTs_Runnable; in VG_() 317 ThreadState *tst = VG_(get_ThreadState)(tid); in VG_() local 319 vg_assert(tst->status == VgTs_Runnable); in VG_() 324 tst->status = sleepstate; in VG_() 487 static void os_state_clear(ThreadState *tst) in os_state_clear() argument 489 tst->os_state.lwpid = 0; in os_state_clear() 490 tst->os_state.threadgroup = 0; in os_state_clear() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
D | 1-1.c | 46 struct unique *tst; in main() local 48 tst = sym; in main() 49 while (tst->name) { in main() 51 printf("Policy: %s\n", tst->name); in main() 54 policy = tst->value; in main() 68 tst->name); in main() 72 tst++; in main() 84 tst->name); in main() 90 tst->name); in main() 94 tst++; in main()
|
/external/llvm/test/CodeGen/AArch64/ |
D | analyze-branch.ll | 15 %tst = icmp eq i32 %in, 42 16 br i1 %tst, label %true, label %false, !prof !0 38 %tst = icmp eq i32 %in, 42 39 br i1 %tst, label %true, label %false, !prof !1 61 %tst = icmp eq i32 %in, 0 62 br i1 %tst, label %true, label %false, !prof !0 82 %tst = icmp eq i64 %in, 0 83 br i1 %tst, label %true, label %false, !prof !1 103 %tst = icmp ne i32 %in, 0 104 br i1 %tst, label %true, label %false, !prof !0 [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sched_h/ |
D | 10-1.c | 39 struct unique *tst; in main() local 41 tst = sym; in main() 43 while (tst->name) { in main() 45 if (tst->value == sym[i].value in main() 46 && strcmp(tst->name, sym[i].name)) { in main() 48 tst->name, sym[i].name); in main() 52 tst++; in main()
|