Home
last modified time | relevance | path

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

/external/pcre/dist2/src/
Dpcre2_context.c184 pcre2_match_context *mcontext = PRIV(memctl_malloc)( in pcre2_match_context_create() local
186 if (mcontext == NULL) return NULL; in pcre2_match_context_create()
187 *mcontext = PRIV(default_match_context); in pcre2_match_context_create()
189 *((pcre2_memctl *)mcontext) = *((pcre2_memctl *)gcontext); in pcre2_match_context_create()
190 return mcontext; in pcre2_match_context_create()
253 pcre2_match_context_copy(pcre2_match_context *mcontext) in pcre2_match_context_copy() argument
256 mcontext->memctl.malloc(sizeof(pcre2_real_match_context), in pcre2_match_context_copy()
257 mcontext->memctl.memory_data); in pcre2_match_context_copy()
259 memcpy(new, mcontext, sizeof(pcre2_real_match_context)); in pcre2_match_context_copy()
298 pcre2_match_context_free(pcre2_match_context *mcontext) in pcre2_match_context_free() argument
[all …]
Dpcre2_jit_match.c87 pcre2_match_context *mcontext) in pcre2_jit_match() argument
97 (void)mcontext; in pcre2_jit_match()
132 if (mcontext != NULL) in pcre2_jit_match()
134 arguments.callout = mcontext->callout; in pcre2_jit_match()
135 arguments.callout_data = mcontext->callout_data; in pcre2_jit_match()
136 arguments.offset_limit = mcontext->offset_limit; in pcre2_jit_match()
137 arguments.limit_match = (mcontext->match_limit < re->limit_match)? in pcre2_jit_match()
138 mcontext->match_limit : re->limit_match; in pcre2_jit_match()
139 if (mcontext->jit_callback != NULL) in pcre2_jit_match()
140 jit_stack = mcontext->jit_callback(mcontext->jit_callback_data); in pcre2_jit_match()
[all …]
Dpcre2_jit_misc.c164 pcre2_jit_stack_assign(pcre2_match_context *mcontext, pcre2_jit_callback callback, in pcre2_jit_stack_assign() argument
168 (void)mcontext; in pcre2_jit_stack_assign()
173 if (mcontext == NULL) return; in pcre2_jit_stack_assign()
174 mcontext->jit_callback = callback; in pcre2_jit_stack_assign()
175 mcontext->jit_callback_data = callback_data; in pcre2_jit_stack_assign()
Dpcre2_substitute.c222 pcre2_match_context *mcontext, PCRE2_SPTR replacement, PCRE2_SIZE rlength, in pcre2_substitute() argument
280 gcontext = (mcontext == NULL)? in pcre2_substitute()
282 (pcre2_general_context *)mcontext; in pcre2_substitute()
290 pcre2_general_context *gcontext = (mcontext == NULL)? in pcre2_substitute()
292 (pcre2_general_context *)mcontext; in pcre2_substitute()
368 match_data, mcontext); in pcre2_substitute()
897 if (!overflowed && mcontext != NULL && mcontext->substitute_callout != NULL) in pcre2_substitute()
901 rc = mcontext->substitute_callout(&scb, mcontext->substitute_callout_data); in pcre2_substitute()
Dpcre2_dfa_match.c3242 pcre2_match_context *mcontext, int *workspace, PCRE2_SIZE wscount) in pcre2_dfa_match() argument
3387 if (mcontext == NULL) in pcre2_dfa_match()
3397 if (mcontext->offset_limit != PCRE2_UNSET) in pcre2_dfa_match()
3401 bumpalong_limit = subject + mcontext->offset_limit; in pcre2_dfa_match()
3403 mb->callout = mcontext->callout; in pcre2_dfa_match()
3404 mb->callout_data = mcontext->callout_data; in pcre2_dfa_match()
3405 mb->memctl = mcontext->memctl; in pcre2_dfa_match()
3406 mb->match_limit = mcontext->match_limit; in pcre2_dfa_match()
3407 mb->match_limit_depth = mcontext->depth_limit; in pcre2_dfa_match()
3408 mb->heap_limit = mcontext->heap_limit; in pcre2_dfa_match()
Dpcre2_match.c6104 pcre2_match_context *mcontext) in pcre2_match() argument
6247 if (mcontext != NULL && mcontext->offset_limit != PCRE2_UNSET && in pcre2_match()
6346 match_data, mcontext); in pcre2_match()
6508 if (mcontext == NULL) in pcre2_match()
6510 mcontext = (pcre2_match_context *)(&PRIV(default_match_context)); in pcre2_match()
6513 else mb->memctl = mcontext->memctl; in pcre2_match()
6518 bumpalong_limit = (mcontext->offset_limit == PCRE2_UNSET)? in pcre2_match()
6519 true_end_subject : subject + mcontext->offset_limit; in pcre2_match()
6533 mb->callout = mcontext->callout; in pcre2_match()
6534 mb->callout_data = mcontext->callout_data; in pcre2_match()
[all …]
Dpcre2_jit_test.c936 static void setstack8(pcre2_match_context_8 *mcontext) in setstack8() argument
938 if (!mcontext) { in setstack8()
945 pcre2_jit_stack_assign_8(mcontext, callback8, getstack8()); in setstack8()
959 static void setstack16(pcre2_match_context_16 *mcontext) in setstack16() argument
961 if (!mcontext) { in setstack16()
968 pcre2_jit_stack_assign_16(mcontext, callback16, getstack16()); in setstack16()
982 static void setstack32(pcre2_match_context_32 *mcontext) in setstack32() argument
984 if (!mcontext) { in setstack32()
991 pcre2_jit_stack_assign_32(mcontext, callback32, getstack32()); in setstack32()
/external/google-breakpad/src/client/linux/dump_writer_common/
Dthread_info.cc234 return mcontext.pc;
247 out->iregs[i] = mcontext.gregs[i];
249 out->mdhi = mcontext.mdhi;
250 out->mdlo = mcontext.mdlo;
251 out->dsp_control = mcontext.dsp;
253 out->hi[0] = mcontext.hi1;
254 out->lo[0] = mcontext.lo1;
255 out->hi[1] = mcontext.hi2;
256 out->lo[1] = mcontext.lo2;
257 out->hi[2] = mcontext.hi3;
[all …]
Dthread_info.h73 mcontext_t mcontext; member
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_ptrace_dumper.cc272 reinterpret_cast<void*>(PC), &info->mcontext.pc); in GetThreadInfoByIndex()
274 reinterpret_cast<void*>(DSP_BASE), &info->mcontext.hi1); in GetThreadInfoByIndex()
276 reinterpret_cast<void*>(DSP_BASE + 1), &info->mcontext.lo1); in GetThreadInfoByIndex()
278 reinterpret_cast<void*>(DSP_BASE + 2), &info->mcontext.hi2); in GetThreadInfoByIndex()
280 reinterpret_cast<void*>(DSP_BASE + 3), &info->mcontext.lo2); in GetThreadInfoByIndex()
282 reinterpret_cast<void*>(DSP_BASE + 4), &info->mcontext.hi3); in GetThreadInfoByIndex()
284 reinterpret_cast<void*>(DSP_BASE + 5), &info->mcontext.lo3); in GetThreadInfoByIndex()
286 reinterpret_cast<void*>(DSP_CONTROL), &info->mcontext.dsp); in GetThreadInfoByIndex()
300 reinterpret_cast<uint8_t*>(info->mcontext.gregs[MD_CONTEXT_MIPS_REG_SP]); in GetThreadInfoByIndex()
Dlinux_core_dumper.cc114 reinterpret_cast<uint8_t*>(info->mcontext.gregs[MD_CONTEXT_MIPS_REG_SP]); in GetThreadInfoByIndex()
203 info.mcontext.gregs[i - EF_R0] = status->pr_reg[i]; in EnumerateThreads()
206 info.mcontext.gregs[i - EF_REG0] = status->pr_reg[i]; in EnumerateThreads()
208 info.mcontext.mdlo = status->pr_reg[EF_LO]; in EnumerateThreads()
209 info.mcontext.mdhi = status->pr_reg[EF_HI]; in EnumerateThreads()
210 info.mcontext.pc = status->pr_reg[EF_CP0_EPC]; in EnumerateThreads()
Dlinux_ptrace_dumper_unittest.cc464 reinterpret_cast<pid_t*>(one_thread.mcontext.gregs[1]); in TEST()
561 uintptr_t heap_addr = thread_info.mcontext.gregs[1]; in TEST_F()
/external/google-breakpad/src/tools/linux/md2core/
Dminidump-2-core.cc312 mcontext_t mcontext; member
514 thread->mcontext.gregs[i] = rawregs->iregs[i]; in ParseThreadRegisters()
516 thread->mcontext.pc = rawregs->epc; in ParseThreadRegisters()
518 thread->mcontext.mdlo = rawregs->mdlo; in ParseThreadRegisters()
519 thread->mcontext.mdhi = rawregs->mdhi; in ParseThreadRegisters()
521 thread->mcontext.hi1 = rawregs->hi[0]; in ParseThreadRegisters()
522 thread->mcontext.lo1 = rawregs->lo[0]; in ParseThreadRegisters()
523 thread->mcontext.hi2 = rawregs->hi[1]; in ParseThreadRegisters()
524 thread->mcontext.lo2 = rawregs->lo[1]; in ParseThreadRegisters()
525 thread->mcontext.hi3 = rawregs->hi[2]; in ParseThreadRegisters()
[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/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.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_substitute_callout(pcre2_match_context *mcontext,
300 int pcre2_set_offset_limit(pcre2_match_context *mcontext,
303 int pcre2_set_heap_limit(pcre2_match_context *mcontext,
306 int pcre2_set_match_limit(pcre2_match_context *mcontext,
309 int pcre2_set_depth_limit(pcre2_match_context *mcontext,
[all …]