Searched defs:tst (Results 1 - 25 of 70) sorted by relevance

123

/external/valgrind/coregrind/m_sigframe/
H A Dsigframe-common.c57 Bool ML_(sf_maybe_extend_stack) ( const ThreadState *tst, Addr addr, argument
60 ThreadId tid = tst->tid;
112 Bool ML_(sf_maybe_extend_stack) ( const ThreadState *tst, Addr addr, argument
116 track_frame_memory(addr, size, tst->tid);
H A Dsigframe-solaris.c63 ThreadState *tst = VG_(get_ThreadState)(tid); local
72 if (!ML_(sf_maybe_extend_stack)(tst, esp, sp_top_of_frame - esp, flags))
148 tst->os_state.oldcontext = &frame->ucontext;
182 tst->arch.vex.guest_RDI = signo;
185 tst->arch.vex.guest_RSI = (Addr)&frame->siginfo;
188 tst->arch.vex.guest_RDX = (Addr)&frame->ucontext;
205 if (on_altstack && tst->os_state.ustack
206 && VG_(am_is_valid_for_client)((Addr)tst->os_state.ustack,
207 sizeof(*tst->os_state.ustack),
217 *tst
[all...]
H A Dsigframe-amd64-darwin.c82 static void synthesize_ucontext(ThreadState *tst, argument
89 uc->uc_stack = tst->altstack;
92 # define SC2(reg,REG) uc->__mcontext_data.__ss.reg = tst->arch.vex.guest_##REG
110 uc->__mcontext_data.__ss.__rflags = LibVEX_GuestAMD64_get_rflags(&tst->arch.vex);
117 static void restore_from_ucontext(ThreadState *tst, argument
120 # define SC2(REG,reg) tst->arch.vex.guest_##REG = uc->__mcontext_data.__ss.reg
157 ThreadState* tst; local
169 tst = VG_(get_ThreadState)(tid);
170 if (! ML_(sf_maybe_extend_stack)(tst, rsp, sp_top_of_frame - rsp, flags))
186 frame->vex = tst
235 ThreadState *tst; local
[all...]
H A Dsigframe-mips32-linux.c78 void setup_sigcontext2 ( ThreadState* tst, struct vki_sigcontext **sc1, argument
84 VG_TRACK( pre_mem_write, Vg_CoreSignal, tst->tid, "signal frame mcontext",
86 sc->sc_regs[1] = tst->arch.vex.guest_r1;
87 sc->sc_regs[2] = tst->arch.vex.guest_r2;
88 sc->sc_regs[3] = tst->arch.vex.guest_r3;
89 sc->sc_regs[4] = tst->arch.vex.guest_r4;
90 sc->sc_regs[5] = tst->arch.vex.guest_r5;
91 sc->sc_regs[6] = tst->arch.vex.guest_r6;
92 sc->sc_regs[7] = tst->arch.vex.guest_r7;
93 sc->sc_regs[8] = tst
134 ThreadState* tst = VG_(get_ThreadState)(tid); local
268 ThreadState *tst; local
[all...]
H A Dsigframe-mips64-linux.c74 static void setup_sigcontext ( ThreadState* tst, struct vki_sigcontext **sc1, argument
79 VG_TRACK(pre_mem_write, Vg_CoreSignal, tst->tid, "signal frame mcontext",
81 sc->sc_regs[1] = tst->arch.vex.guest_r1;
82 sc->sc_regs[2] = tst->arch.vex.guest_r2;
83 sc->sc_regs[3] = tst->arch.vex.guest_r3;
84 sc->sc_regs[4] = tst->arch.vex.guest_r4;
85 sc->sc_regs[5] = tst->arch.vex.guest_r5;
86 sc->sc_regs[6] = tst->arch.vex.guest_r6;
87 sc->sc_regs[7] = tst->arch.vex.guest_r7;
88 sc->sc_regs[8] = tst
129 ThreadState* tst = VG_(get_ThreadState)(tid); local
208 ThreadState *tst; local
[all...]
H A Dsigframe-ppc32-linux.c122 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,
142 VG_TRACK( pre_mem_write, Vg_CoreSignal, tst->tid, "signal frame mcontext",
145 # define DO(gpr) mc->mc_gregs[VKI_PT_R0+gpr] = tst->arch.vex.guest_GPR##gpr
152 mc->mc_gregs[VKI_PT_NIP] = tst->arch.vex.guest_CIA;
154 mc->mc_gregs[VKI_PT_ORIG_R3] = tst->arch.vex.guest_GPR3;
155 mc->mc_gregs[VKI_PT_CTR] = tst
137 stack_mcontext( struct vki_mcontext *mc, ThreadState* tst, Bool use_rt_sigreturn, UInt fault_addr ) argument
638 ThreadState *tst; local
838 ThreadState *tst; local
[all...]
H A Dsigframe-ppc64-linux.c120 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; local
160 tst = VG_(get_ThreadState)(tid);
161 if (! ML_(sf_maybe_extend_stack)(tst, sp, sp_top_of_frame - sp, flags))
182 *(Addr *)sp = tst->arch.vex.guest_GPR1;
189 faultaddr = tst->arch.vex.guest_CIA;
198 frame->uc.uc_stack = tst
293 ThreadState *tst; local
[all...]
H A Dsigframe-tilegx-linux.c71 void setup_sigcontext2 ( ThreadState* tst, struct vki_sigcontext **sc1, argument
77 VG_TRACK( pre_mem_write, Vg_CoreSignal, tst->tid, "signal frame mcontext",
79 sc->gregs[0] = tst->arch.vex.guest_r0;
80 sc->gregs[1] = tst->arch.vex.guest_r1;
81 sc->gregs[2] = tst->arch.vex.guest_r2;
82 sc->gregs[3] = tst->arch.vex.guest_r3;
83 sc->gregs[4] = tst->arch.vex.guest_r4;
84 sc->gregs[5] = tst->arch.vex.guest_r5;
85 sc->gregs[6] = tst->arch.vex.guest_r6;
86 sc->gregs[7] = tst
149 ThreadState* tst; local
248 ThreadState *tst; local
[all...]
H A Dsigframe-x86-darwin.c86 static void synthesize_ucontext(ThreadState *tst, argument
93 uc->uc_stack = tst->altstack;
96 # define SC2(reg,REG) uc->__mcontext_data.__ss.reg = tst->arch.vex.guest_##REG
106 uc->__mcontext_data.__ss.__eflags = LibVEX_GuestX86_get_eflags(&tst->arch.vex);
113 static void restore_from_ucontext(ThreadState *tst, argument
116 # define SC2(REG,reg) tst->arch.vex.guest_##REG = uc->__mcontext_data.__ss.reg
145 ThreadState* tst; local
157 tst = VG_(get_ThreadState)(tid);
158 if (! ML_(sf_maybe_extend_stack)(tst, esp, sp_top_of_frame - esp, flags))
174 frame->vex = tst
222 ThreadState *tst; local
[all...]
/external/valgrind/coregrind/
H A Dm_threadstate.c121 ThreadState *tst = VG_(get_ThreadState)(tid); local
124 // tst->os_state.lwpid == VG_(gettid)() && // check we're this tid
126 tst->status == VgTs_Runnable; // and we're runnable
/external/e2fsprogs/lib/uuid/
H A Dtst_uuid.c73 uuid_t buf, tst; local
156 uuid_parse(str, tst);
157 if (!uuid_compare(buf, tst)) {
163 uuid_clear(tst);
164 if (uuid_is_null(tst))
170 uuid_copy(buf, tst);
171 if (!uuid_compare(buf, tst))
/external/valgrind/coregrind/m_gdbserver/
H A Dvalgrind-low-arm.c181 ThreadState* tst = VG_(get_ThreadState)(tid); local
186 VexGuestARMState* arm = (VexGuestARMState*) get_arch (set, tst);
288 static CORE_ADDR** target_get_dtv (ThreadState *tst) argument
290 VexGuestARMState* arm = (VexGuestARMState*)&tst->arch.vex;
H A Dvalgrind-low-arm64.c142 ThreadState* tst = VG_(get_ThreadState)(tid); local
147 VexGuestARM64State* arm = (VexGuestARM64State*) get_arch (set, tst);
263 static CORE_ADDR** target_get_dtv (ThreadState *tst) argument
265 VexGuestARM64State* arm64 = (VexGuestARM64State*)&tst->arch.vex;
H A Dvalgrind-low-ppc32.c181 ThreadState* tst = VG_(get_ThreadState)(tid); local
186 VexGuestPPC32State* ppc32 = (VexGuestPPC32State*) get_arch (set, tst);
334 static CORE_ADDR** target_get_dtv (ThreadState *tst) argument
336 VexGuestPPC32State* ppc32 = (VexGuestPPC32State*)&tst->arch.vex;
H A Dvalgrind-low-ppc64.c178 ThreadState* tst = VG_(get_ThreadState)(tid); local
183 VexGuestPPC64State* ppc64 = (VexGuestPPC64State*) get_arch (set, tst);
331 static CORE_ADDR** target_get_dtv (ThreadState *tst) argument
333 VexGuestPPC64State* ppc64 = (VexGuestPPC64State*)&tst->arch.vex;
H A Dvalgrind-low-s390x.c123 ThreadState* tst = VG_(get_ThreadState)(tid); local
128 VexGuestS390XState* s390x = (VexGuestS390XState*) get_arch (set, tst);
199 static CORE_ADDR** target_get_dtv (ThreadState *tst) argument
201 VexGuestS390XState* s390x = (VexGuestS390XState*)&tst->arch.vex;
H A Dvalgrind-low-tilegx.c147 ThreadState* tst = VG_(get_ThreadState)(tid); local
152 VexGuestTILEGXState* tilegx = (VexGuestTILEGXState*) get_arch (set, tst);
237 static CORE_ADDR** target_get_dtv (ThreadState *tst) argument
239 VexGuestTILEGXState* tilegx = (VexGuestTILEGXState*)&tst->arch.vex;
H A Dvalgrind-low-amd64.c154 ThreadState* tst = VG_(get_ThreadState)(tid); local
159 VexGuestAMD64State* amd64 = (VexGuestAMD64State*) get_arch (set, tst);
348 static CORE_ADDR** target_get_dtv (ThreadState *tst) argument
350 VexGuestAMD64State* amd64 = (VexGuestAMD64State*)&tst->arch.vex;
H A Dvalgrind-low-x86.c121 ThreadState* tst = VG_(get_ThreadState)(tid); local
126 VexGuestX86State* x86 = (VexGuestX86State*) get_arch (set, tst);
259 static CORE_ADDR** target_get_dtv (ThreadState *tst) argument
261 VexGuestX86State* x86 = (VexGuestX86State*)&tst->arch.vex;
/external/valgrind/coregrind/m_syswrap/
H A Dsyswrap-amd64-solaris.c88 ThreadState *tst = VG_(get_ThreadState)(tid); local
89 UWord *stack = (UWord*)tst->os_state.valgrind_stack_init_SP;
104 uc->uc_mcontext.gregs[VKI_REG_RDI] = (UWord)tst; /* the parameter */
113 ThreadState *tst = VG_(get_ThreadState)(tid); local
120 uc->uc_mcontext.gregs[VKI_REG_RIP] = tst->arch.vex.guest_RIP;
123 uc->uc_mcontext.gregs[VKI_REG_RAX] = tst->arch.vex.guest_RAX;
126 uc->uc_mcontext.gregs[VKI_REG_RBX] = tst->arch.vex.guest_RBX;
129 uc->uc_mcontext.gregs[VKI_REG_RCX] = tst->arch.vex.guest_RCX;
132 uc->uc_mcontext.gregs[VKI_REG_RDX] = tst->arch.vex.guest_RDX;
135 uc->uc_mcontext.gregs[VKI_REG_RBP] = tst
316 ThreadState *tst = VG_(get_ThreadState)(tid); local
[all...]
H A Dsyswrap-amd64-darwin.c242 ThreadState *tst = VG_(get_ThreadState)(tid); local
249 thread_state_to_vex(state, flavor, count, &tst->arch.vex);
254 find_stack_segment(tid, tst->arch.vex.guest_RSP);
256 return tst;
261 // The real thread will run start_thread_NORETURN(tst)
266 ThreadState *tst)
274 stack = (char *)allocstack(tst->tid);
279 mach->__rdi = (uintptr_t)tst; // arg1 = tst
340 ThreadState *tst local
263 hijack_thread_state(thread_state_t mach_generic, thread_state_flavor_t flavor, mach_msg_type_number_t count, ThreadState *tst) argument
435 ThreadState *tst; local
[all...]
H A Dsyswrap-amd64-linux.c459 ThreadState* tst; local
468 tst = VG_(get_ThreadState)(tid);
469 tst->arch.vex.guest_RSP -= sizeof(Addr);
474 ML_(fixup_guest_state_to_restart_syscall)(&tst->arch);
491 ThreadState* tst; local
506 tst = VG_(get_ThreadState)(tid);
507 tst->arch.vex.guest_FS_CONST = ARG2;
511 tst = VG_(get_ThreadState)(tid);
512 *(unsigned long *)ARG2 = tst->arch.vex.guest_FS_CONST;
516 tst
[all...]
H A Dsyswrap-mips64-linux.c560 ThreadState* tst; local
567 tst = VG_(get_ThreadState)(tid);
571 ML_(fixup_guest_state_to_restart_syscall)(&tst->arch);
/external/webrtc/webrtc/libjingle/xmpp/
H A Dpingtask_unittest.cc26 PingXmppClient(rtc::TaskParent* parent, PingTaskTest* tst) : argument
27 FakeXmppClient(parent), test(tst) {
/external/libxml2/
H A DtestRegexp.c185 testReduce(xmlExpCtxtPtr ctxt, xmlExpNodePtr expr, const char *tst) { argument
190 sub = xmlExpParse(ctxt, tst);
192 printf("Subset %s failed to parse\n", tst);

Completed in 263 milliseconds

123