Home
last modified time | relevance | path

Searched refs:mcontext (Results 1 – 13 of 13) sorted by relevance

/external/v8/src/libsampler/
Dsampler.cc416 mcontext_t& mcontext = ucontext->uc_mcontext; in FillRegisterState() local
420 state->pc = reinterpret_cast<void*>(mcontext.gregs[REG_EIP]); in FillRegisterState()
421 state->sp = reinterpret_cast<void*>(mcontext.gregs[REG_ESP]); in FillRegisterState()
422 state->fp = reinterpret_cast<void*>(mcontext.gregs[REG_EBP]); in FillRegisterState()
424 state->pc = reinterpret_cast<void*>(mcontext.gregs[REG_RIP]); in FillRegisterState()
425 state->sp = reinterpret_cast<void*>(mcontext.gregs[REG_RSP]); in FillRegisterState()
426 state->fp = reinterpret_cast<void*>(mcontext.gregs[REG_RBP]); in FillRegisterState()
431 state->pc = reinterpret_cast<void*>(mcontext.gregs[R15]); in FillRegisterState()
432 state->sp = reinterpret_cast<void*>(mcontext.gregs[R13]); in FillRegisterState()
433 state->fp = reinterpret_cast<void*>(mcontext.gregs[R11]); in FillRegisterState()
[all …]
/external/pcre/dist2/src/
Dpcre2_context.c183 pcre2_match_context *mcontext = PRIV(memctl_malloc)( in pcre2_match_context_create() local
185 if (mcontext == NULL) return NULL; in pcre2_match_context_create()
186 *mcontext = PRIV(default_match_context); in pcre2_match_context_create()
188 *((pcre2_memctl *)mcontext) = *((pcre2_memctl *)gcontext); in pcre2_match_context_create()
189 return mcontext; in pcre2_match_context_create()
222 pcre2_match_context_copy(pcre2_match_context *mcontext) in pcre2_match_context_copy() argument
225 mcontext->memctl.malloc(sizeof(pcre2_real_match_context), in pcre2_match_context_copy()
226 mcontext->memctl.memory_data); in pcre2_match_context_copy()
228 memcpy(new, mcontext, sizeof(pcre2_real_match_context)); in pcre2_match_context_copy()
256 pcre2_match_context_free(pcre2_match_context *mcontext) in pcre2_match_context_free() argument
[all …]
Dpcre2_jit_match.c88 pcre2_match_context *mcontext) in pcre2_jit_match() argument
98 (void)mcontext; in pcre2_jit_match()
133 if (mcontext != NULL) in pcre2_jit_match()
135 arguments.callout = mcontext->callout; in pcre2_jit_match()
136 arguments.callout_data = mcontext->callout_data; in pcre2_jit_match()
137 arguments.offset_limit = mcontext->offset_limit; in pcre2_jit_match()
138 arguments.limit_match = (mcontext->match_limit < re->limit_match)? in pcre2_jit_match()
139 mcontext->match_limit : re->limit_match; in pcre2_jit_match()
140 if (mcontext->jit_callback != NULL) in pcre2_jit_match()
141 jit_stack = mcontext->jit_callback(mcontext->jit_callback_data); in pcre2_jit_match()
[all …]
Dpcre2_jit_misc.c159 pcre2_jit_stack_assign(pcre2_match_context *mcontext, pcre2_jit_callback callback, in pcre2_jit_stack_assign() argument
163 (void)mcontext; in pcre2_jit_stack_assign()
168 if (mcontext == NULL) return; in pcre2_jit_stack_assign()
169 mcontext->jit_callback = callback; in pcre2_jit_stack_assign()
170 mcontext->jit_callback_data = callback_data; in pcre2_jit_stack_assign()
Dpcre2_substitute.c217 pcre2_match_context *mcontext, PCRE2_SPTR replacement, PCRE2_SIZE rlength, in pcre2_substitute() argument
253 pcre2_general_context *gcontext = (mcontext == NULL)? in pcre2_substitute()
255 (pcre2_general_context *)mcontext; in pcre2_substitute()
301 match_data, mcontext); in pcre2_substitute()
Dpcre2_jit_test.c891 static void setstack8(pcre2_match_context_8 *mcontext) in setstack8() argument
893 if (!mcontext) { in setstack8()
900 pcre2_jit_stack_assign_8(mcontext, callback8, getstack8()); in setstack8()
914 static void setstack16(pcre2_match_context_16 *mcontext) in setstack16() argument
916 if (!mcontext) { in setstack16()
923 pcre2_jit_stack_assign_16(mcontext, callback16, getstack16()); in setstack16()
937 static void setstack32(pcre2_match_context_32 *mcontext) in setstack32() argument
939 if (!mcontext) { in setstack32()
946 pcre2_jit_stack_assign_32(mcontext, callback32, getstack32()); in setstack32()
Dpcre2_match.c6444 pcre2_match_context *mcontext) in pcre2_match() argument
6528 if (mcontext == NULL) in pcre2_match()
6529 mcontext = (pcre2_match_context *)(&PRIV(default_match_context)); in pcre2_match()
6598 if (mcontext->offset_limit != PCRE2_UNSET && in pcre2_match()
6612 match_data, mcontext); in pcre2_match()
6622 bumpalong_limit = (mcontext->offset_limit == PCRE2_UNSET)? in pcre2_match()
6623 end_subject : subject + mcontext->offset_limit; in pcre2_match()
6627 mb->callout = mcontext->callout; in pcre2_match()
6628 mb->callout_data = mcontext->callout_data; in pcre2_match()
6629 mb->memctl = mcontext->memctl; in pcre2_match()
[all …]
Dpcre2_dfa_match.c3118 pcre2_match_context *mcontext, int *workspace, size_t wscount) in pcre2_dfa_match() argument
3215 if (mcontext == NULL) in pcre2_dfa_match()
3222 if (mcontext->offset_limit != PCRE2_UNSET) in pcre2_dfa_match()
3226 bumpalong_limit = subject + mcontext->offset_limit; in pcre2_dfa_match()
3228 mb->callout = mcontext->callout; in pcre2_dfa_match()
3229 mb->callout_data = mcontext->callout_data; in pcre2_dfa_match()
3230 mb->memctl = mcontext->memctl; in pcre2_dfa_match()
/external/selinux/libsepol/src/
Dcontext_record.c236 goto mcontext; in hidden_def()
245 goto mcontext; in hidden_def()
270 mcontext: in hidden_def()
/external/valgrind/coregrind/m_sigframe/
Dsigframe-ppc32-linux.c107 struct vki_mcontext mcontext; member
718 stack_mcontext(&frame->mcontext, tst, False/*!use_rt_sigreturn*/, faultaddr); in VG_()
869 mc = &frame->mcontext; in VG_()
/external/python/cpython3/Lib/lib2to3/tests/data/
Dinfinite_recursion.py2091 class mcontext(Structure): class
2093 mcontext._fields_ = [
2190 __darwin_mcontext_t = POINTER(mcontext)
/external/python/cpython2/Lib/lib2to3/tests/data/
Dinfinite_recursion.py2091 class mcontext(Structure): class
2093 mcontext._fields_ = [
2190 __darwin_mcontext_t = POINTER(mcontext)
/external/pcre/dist2/doc/
Dpcre2.txt205 pcre2_match_context *mcontext);
210 pcre2_match_context *mcontext,
274 pcre2_match_context *mcontext);
276 void pcre2_match_context_free(pcre2_match_context *mcontext);
278 int pcre2_set_callout(pcre2_match_context *mcontext,
282 int pcre2_set_match_limit(pcre2_match_context *mcontext,
285 int pcre2_set_offset_limit(pcre2_match_context *mcontext,
288 int pcre2_set_recursion_limit(pcre2_match_context *mcontext,
292 pcre2_match_context *mcontext,
338 pcre2_match_context *mcontext, PCRE2_SPTR replacementzfP,
[all …]