Home
last modified time | relevance | path

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

/external/v8/src/libsampler/
Dsampler.cc460 mcontext_t& mcontext = ucontext->uc_mcontext; in FillRegisterState() local
464 state->pc = reinterpret_cast<void*>(mcontext.gregs[REG_EIP]); in FillRegisterState()
465 state->sp = reinterpret_cast<void*>(mcontext.gregs[REG_ESP]); in FillRegisterState()
466 state->fp = reinterpret_cast<void*>(mcontext.gregs[REG_EBP]); in FillRegisterState()
468 state->pc = reinterpret_cast<void*>(mcontext.gregs[REG_RIP]); in FillRegisterState()
469 state->sp = reinterpret_cast<void*>(mcontext.gregs[REG_RSP]); in FillRegisterState()
470 state->fp = reinterpret_cast<void*>(mcontext.gregs[REG_RBP]); in FillRegisterState()
475 state->pc = reinterpret_cast<void*>(mcontext.gregs[R15]); in FillRegisterState()
476 state->sp = reinterpret_cast<void*>(mcontext.gregs[R13]); in FillRegisterState()
477 state->fp = reinterpret_cast<void*>(mcontext.gregs[R11]); in FillRegisterState()
[all …]
/external/pcre/dist2/src/
Dpcre2_context.c182 pcre2_match_context *mcontext = PRIV(memctl_malloc)( in pcre2_match_context_create() local
184 if (mcontext == NULL) return NULL; in pcre2_match_context_create()
185 *mcontext = PRIV(default_match_context); in pcre2_match_context_create()
187 *((pcre2_memctl *)mcontext) = *((pcre2_memctl *)gcontext); in pcre2_match_context_create()
188 return mcontext; in pcre2_match_context_create()
251 pcre2_match_context_copy(pcre2_match_context *mcontext) in pcre2_match_context_copy() argument
254 mcontext->memctl.malloc(sizeof(pcre2_real_match_context), in pcre2_match_context_copy()
255 mcontext->memctl.memory_data); in pcre2_match_context_copy()
257 memcpy(new, mcontext, sizeof(pcre2_real_match_context)); in pcre2_match_context_copy()
296 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.c219 pcre2_match_context *mcontext, PCRE2_SPTR replacement, PCRE2_SIZE rlength, in pcre2_substitute() argument
257 pcre2_general_context *gcontext = (mcontext == NULL)? in pcre2_substitute()
259 (pcre2_general_context *)mcontext; in pcre2_substitute()
311 match_data, mcontext); in pcre2_substitute()
Dpcre2_jit_test.c907 static void setstack8(pcre2_match_context_8 *mcontext) in setstack8() argument
909 if (!mcontext) { in setstack8()
916 pcre2_jit_stack_assign_8(mcontext, callback8, getstack8()); in setstack8()
930 static void setstack16(pcre2_match_context_16 *mcontext) in setstack16() argument
932 if (!mcontext) { in setstack16()
939 pcre2_jit_stack_assign_16(mcontext, callback16, getstack16()); in setstack16()
953 static void setstack32(pcre2_match_context_32 *mcontext) in setstack32() argument
955 if (!mcontext) { in setstack32()
962 pcre2_jit_stack_assign_32(mcontext, callback32, getstack32()); in setstack32()
Dpcre2_dfa_match.c3226 pcre2_match_context *mcontext, int *workspace, PCRE2_SIZE wscount) in pcre2_dfa_match() argument
3355 if (mcontext == NULL) in pcre2_dfa_match()
3365 if (mcontext->offset_limit != PCRE2_UNSET) in pcre2_dfa_match()
3369 bumpalong_limit = subject + mcontext->offset_limit; in pcre2_dfa_match()
3371 mb->callout = mcontext->callout; in pcre2_dfa_match()
3372 mb->callout_data = mcontext->callout_data; in pcre2_dfa_match()
3373 mb->memctl = mcontext->memctl; in pcre2_dfa_match()
3374 mb->match_limit = mcontext->match_limit; in pcre2_dfa_match()
3375 mb->match_limit_depth = mcontext->depth_limit; in pcre2_dfa_match()
3376 mb->heap_limit = mcontext->heap_limit; in pcre2_dfa_match()
Dpcre2_match.c6000 pcre2_match_context *mcontext) in pcre2_match() argument
6157 if (mcontext != NULL && mcontext->offset_limit != PCRE2_UNSET && in pcre2_match()
6171 match_data, mcontext); in pcre2_match()
6179 if (mcontext == NULL) in pcre2_match()
6181 mcontext = (pcre2_match_context *)(&PRIV(default_match_context)); in pcre2_match()
6184 else mb->memctl = mcontext->memctl; in pcre2_match()
6189 bumpalong_limit = (mcontext->offset_limit == PCRE2_UNSET)? in pcre2_match()
6190 end_subject : subject + mcontext->offset_limit; in pcre2_match()
6203 mb->callout = mcontext->callout; in pcre2_match()
6204 mb->callout_data = mcontext->callout_data; in pcre2_match()
[all …]
/external/selinux/libsepol/src/
Dcontext_record.c236 goto mcontext; in hidden_def()
245 goto mcontext; in hidden_def()
270 mcontext: in hidden_def()
/external/python/cpython2/Lib/lib2to3/tests/data/
Dinfinite_recursion.py2091 class mcontext(Structure): class
2093 mcontext._fields_ = [
2190 __darwin_mcontext_t = POINTER(mcontext)
/external/python/cpython3/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.txt216 pcre2_match_context *mcontext);
221 pcre2_match_context *mcontext,
288 pcre2_match_context *mcontext);
290 void pcre2_match_context_free(pcre2_match_context *mcontext);
292 int pcre2_set_callout(pcre2_match_context *mcontext,
296 int pcre2_set_offset_limit(pcre2_match_context *mcontext,
299 int pcre2_set_heap_limit(pcre2_match_context *mcontext,
302 int pcre2_set_match_limit(pcre2_match_context *mcontext,
305 int pcre2_set_depth_limit(pcre2_match_context *mcontext,
350 pcre2_match_context *mcontext, PCRE2_SPTR replacementzfP,
[all …]