Home
last modified time | relevance | path

Searched refs:preg (Results 1 – 25 of 39) sorted by relevance

12

/third_party/libunwind/src/ia64/
Dregs.h34 int preg; in rotate_gr() local
40 preg = reg; in rotate_gr()
43 preg = reg + rrb_gr; /* apply rotation */ in rotate_gr()
44 if ((unsigned) (preg - 32) >= sor) in rotate_gr()
45 preg -= sor; /* wrap around */ in rotate_gr()
48 Debug (15, "sor=%u rrb.gr=%u, r%d -> r%d\n", sor, rrb_gr, reg, preg); in rotate_gr()
49 return preg; in rotate_gr()
59 int preg; in rotate_fr() local
63 preg = reg; /* register not part of the rotating partition */ in rotate_fr()
66 preg = reg + rrb_fr; /* apply rotation */ in rotate_fr()
[all …]
DGparser.c699 int preg; in lookup_preg() local
703 case UNW_IA64_AR_BSP: preg = IA64_REG_BSP; break; in lookup_preg()
704 case UNW_IA64_AR_BSPSTORE: preg = IA64_REG_BSPSTORE; break; in lookup_preg()
705 case UNW_IA64_AR_FPSR: preg = IA64_REG_FPSR; break; in lookup_preg()
706 case UNW_IA64_AR_LC: preg = IA64_REG_LC; break; in lookup_preg()
707 case UNW_IA64_AR_PFS: preg = IA64_REG_PFS; break; in lookup_preg()
708 case UNW_IA64_AR_RNAT: preg = IA64_REG_RNAT; break; in lookup_preg()
709 case UNW_IA64_AR_UNAT: preg = IA64_REG_UNAT; break; in lookup_preg()
710 case UNW_IA64_BR + 0: preg = IA64_REG_IP; break; in lookup_preg()
711 case UNW_IA64_PR: preg = IA64_REG_PR; break; in lookup_preg()
[all …]
DGresume.c195 # define MEMIFY(preg, reg) \ in remote_install_cursor() argument
197 if (IA64_IS_REG_LOC (c->loc[(preg)])) \ in remote_install_cursor()
198 c->loc[(preg)] = IA64_LOC_ADDR ((unw_word_t) \ in remote_install_cursor()
/third_party/pcre2/pcre2/src/
Dpcre2posix.c206 regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size)
208 return pcre2_regerror(errcode, preg, errbuf, errbuf_size);
214 regfree(regex_t *preg)
216 pcre2_regfree(preg);
222 regcomp(regex_t *preg, const char *pattern, int cflags)
224 return pcre2_regcomp(preg, pattern, cflags);
231 regexec(const regex_t *preg, const char *string, size_t nmatch,
234 return pcre2_regexec(preg, string, nmatch, pmatch, eflags);
244 pcre2_regerror(int errcode, const regex_t *preg, char *errbuf, in pcre2_regerror() argument
253 if (preg != NULL && (int)preg->re_erroffset != -1) in pcre2_regerror()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DRegex.cpp26 Regex::Regex() : preg(nullptr), error(REG_BADPAT) {} in Regex()
30 preg = new llvm_regex(); in Regex()
31 preg->re_endp = regex.end(); in Regex()
38 error = llvm_regcomp(preg, regex.data(), flags|REG_PEND); in Regex()
42 preg = regex.preg; in Regex()
44 regex.preg = nullptr; in Regex()
49 if (preg) { in ~Regex()
50 llvm_regfree(preg); in ~Regex()
51 delete preg; in ~Regex()
58 void RegexErrorToString(int error, struct llvm_regex *preg, in RegexErrorToString() argument
[all …]
Dregfree.c50 llvm_regfree(llvm_regex_t *preg) in llvm_regfree() argument
54 if (preg->re_magic != MAGIC1) /* oops */ in llvm_regfree()
57 g = preg->re_g; in llvm_regfree()
60 preg->re_magic = 0; /* mark it invalid */ in llvm_regfree()
Dregerror.c84 llvm_regerror(int errcode, const llvm_regex_t *preg, char *errbuf, size_t errbuf_size) in llvm_regerror() argument
93 s = regatoi(preg, convbuf, sizeof convbuf); in llvm_regerror()
123 regatoi(const llvm_regex_t *preg, char *localbuf, int localbufsize) in regatoi() argument
128 if (strcmp(r->name, preg->re_endp) == 0) in regatoi()
Dregexec.c141 llvm_regexec(const llvm_regex_t *preg, const char *string, size_t nmatch, in llvm_regexec() argument
144 struct re_guts *g = preg->re_g; in llvm_regexec()
151 if (preg->re_magic != MAGIC1 || g->magic != MAGIC2) in llvm_regexec()
Dregcomp.c293 llvm_regcomp(llvm_regex_t *preg, const char *pattern, int cflags) in llvm_regcomp() argument
311 if (preg->re_endp < pattern) in llvm_regcomp()
313 len = preg->re_endp - pattern; in llvm_regcomp()
374 preg->re_nsub = g->nsub; in llvm_regcomp()
375 preg->re_g = g; in llvm_regcomp()
376 preg->re_magic = MAGIC1; in llvm_regcomp()
385 llvm_regfree(preg); in llvm_regcomp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DRegex.cpp22 Regex::Regex() : preg(nullptr), error(REG_BADPAT) {} in Regex()
26 preg = new llvm_regex(); in Regex()
27 preg->re_endp = regex.end(); in Regex()
34 error = llvm_regcomp(preg, regex.data(), flags|REG_PEND); in Regex()
38 preg = regex.preg; in Regex()
40 regex.preg = nullptr; in Regex()
45 if (preg) { in ~Regex()
46 llvm_regfree(preg); in ~Regex()
47 delete preg; in ~Regex()
55 size_t len = llvm_regerror(error, preg, nullptr, 0); in isValid()
[all …]
Dregfree.c50 llvm_regfree(llvm_regex_t *preg) in llvm_regfree() argument
54 if (preg->re_magic != MAGIC1) /* oops */ in llvm_regfree()
57 g = preg->re_g; in llvm_regfree()
60 preg->re_magic = 0; /* mark it invalid */ in llvm_regfree()
Dregerror.c84 llvm_regerror(int errcode, const llvm_regex_t *preg, char *errbuf, size_t errbuf_size) in llvm_regerror() argument
93 s = regatoi(preg, convbuf, sizeof convbuf); in llvm_regerror()
123 regatoi(const llvm_regex_t *preg, char *localbuf, int localbufsize) in regatoi() argument
128 if (strcmp(r->name, preg->re_endp) == 0) in regatoi()
Dregexec.c141 llvm_regexec(const llvm_regex_t *preg, const char *string, size_t nmatch, in llvm_regexec() argument
144 struct re_guts *g = preg->re_g; in llvm_regexec()
151 if (preg->re_magic != MAGIC1 || g->magic != MAGIC2) in llvm_regexec()
Dregcomp.c165 llvm_regcomp(llvm_regex_t *preg, const char *pattern, int cflags) in llvm_regcomp() argument
183 if (preg->re_endp < pattern) in llvm_regcomp()
185 len = preg->re_endp - pattern; in llvm_regcomp()
246 preg->re_nsub = g->nsub; in llvm_regcomp()
247 preg->re_g = g; in llvm_regcomp()
248 preg->re_magic = MAGIC1; in llvm_regcomp()
257 llvm_regfree(preg); in llvm_regcomp()
/third_party/skia/third_party/externals/microhttpd/src/examples/
Dmhd2spdy_structures.c47 init_parse_uri(regex_t * preg) in init_parse_uri() argument
59 return regcomp(preg, "^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?", REG_EXTENDED); in init_parse_uri()
63 deinit_parse_uri(regex_t * preg) in deinit_parse_uri() argument
65 regfree(preg); in deinit_parse_uri()
69 parse_uri(regex_t * preg, in parse_uri() argument
79 if (0 != (ret = regexec(preg, full_uri, nmatch, pmatch, 0))) in parse_uri()
Dmhd2spdy_structures.h272 init_parse_uri(regex_t * preg);
276 deinit_parse_uri(regex_t * preg);
280 parse_uri(regex_t * preg,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DRegex.h51 std::swap(preg, regex.preg);
97 struct llvm_regex *preg; variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DRegex.h53 std::swap(preg, regex.preg);
104 struct llvm_regex *preg; variable
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_ra_pipeline.c113 unsigned preg = SSA_FIXED_REGISTER(24 + pipeline_count); in mir_pipeline_ins() local
119 mir_rewrite_index_src_single(q, node, preg); in mir_pipeline_ins()
121 mir_rewrite_index_dst_single(q, node, preg); in mir_pipeline_ins()
/third_party/musl/src/regex/
Dregerror.c30 size_t regerror(int e, const regex_t *restrict preg, char *restrict buf, size_t size) in regerror() argument
/third_party/skia/third_party/externals/microhttpd/src/spdy2http/
Dproxy.c209 init_parse_uri(regex_t * preg) in init_parse_uri() argument
221 return regcomp(preg, "^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?", REG_EXTENDED); in init_parse_uri()
226 deinit_parse_uri(regex_t * preg) in deinit_parse_uri() argument
228 regfree(preg); in deinit_parse_uri()
233 parse_uri(regex_t * preg, const char * full_uri, struct URI ** uri) in parse_uri() argument
242 if (0 != (ret = regexec(preg, full_uri, nmatch, pmatch, 0))) in parse_uri()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcFrameLowering.cpp346 unsigned preg = (reg - SP::I0) / 2 + SP::I0_I1; in remapRegsForLeafProc() local
347 unsigned mapped_preg = preg - SP::I0_I1 + SP::O0_O1; in remapRegsForLeafProc()
348 MRI.replaceRegWith(preg, mapped_preg); in remapRegsForLeafProc()
/third_party/toybox/lib/
Dxwrap.c923 void xregcomp(regex_t *preg, char *regex, int cflags) in xregcomp() argument
934 if ((rc = regcomp(preg, regex, cflags))) { in xregcomp()
935 regerror(rc, preg, libbuf, sizeof(libbuf)); in xregcomp()
/third_party/musl/porting/liteos_m/kernel/src/regex/
Dregcomp.c2691 regcomp(regex_t *restrict preg, const char *restrict regex, int cflags) in regcomp() argument
2731 preg->re_nsub = parse_ctx.submatch_id - 1; in regcomp()
2739 if (parse_ctx.max_backref > (int)preg->re_nsub) in regcomp()
2886 preg->TRE_REGEX_T_FIELD = (void *)tnfa; in regcomp()
2898 preg->TRE_REGEX_T_FIELD = (void *)tnfa; in regcomp()
2899 regfree(preg); in regcomp()
2907 regfree(regex_t *preg) in regfree() argument
2913 tnfa = (void *)preg->TRE_REGEX_T_FIELD; in regfree()
/third_party/musl/porting/liteos_m_iccarm/kernel/src/regex/
Dregcomp.c2692 regcomp(regex_t *restrict preg, const char *restrict regex, int cflags) in regcomp() argument
2732 preg->re_nsub = parse_ctx.submatch_id - 1; in regcomp()
2740 if (parse_ctx.max_backref > (int)preg->re_nsub) in regcomp()
2887 preg->TRE_REGEX_T_FIELD = (void *)tnfa; in regcomp()
2899 preg->TRE_REGEX_T_FIELD = (void *)tnfa; in regcomp()
2900 regfree(preg); in regcomp()
2908 regfree(regex_t *preg) in regfree() argument
2914 tnfa = (void *)preg->TRE_REGEX_T_FIELD; in regfree()

12