Home
last modified time | relevance | path

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

12

/external/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()
/external/pcre/dist2/src/
Dpcre2posix.c178 regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) in regerror() argument
186 if (preg != NULL && (int)preg->re_erroffset != -1) in regerror()
189 (int)preg->re_erroffset); in regerror()
207 regfree(regex_t *preg) in regfree() argument
209 pcre2_match_data_free(preg->re_match_data); in regfree()
210 pcre2_code_free(preg->re_pcre2_code); in regfree()
231 regcomp(regex_t *preg, const char *pattern, int cflags) in regcomp() argument
245 preg->re_cflags = cflags; in regcomp()
246 preg->re_pcre2_code = pcre2_compile((PCRE2_SPTR)pattern, PCRE2_ZERO_TERMINATED, in regcomp()
248 preg->re_erroffset = erroffset; in regcomp()
[all …]
/external/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()
/external/llvm/lib/Support/
DRegex.cpp24 preg = new llvm_regex(); in Regex()
25 preg->re_endp = regex.end(); in Regex()
32 error = llvm_regcomp(preg, regex.data(), flags|REG_PEND); in Regex()
36 if (preg) { in ~Regex()
37 llvm_regfree(preg); in ~Regex()
38 delete preg; in ~Regex()
46 size_t len = llvm_regerror(error, preg, nullptr, 0); in isValid()
49 llvm_regerror(error, preg, &Error[0], len); in isValid()
56 return preg->re_nsub; in getNumMatches()
60 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; in match()
[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()
/external/swiftshader/third_party/LLVM/lib/Support/
DRegex.cpp24 preg = new llvm_regex(); in Regex()
25 preg->re_endp = regex.end(); in Regex()
30 error = llvm_regcomp(preg, regex.data(), flags|REG_EXTENDED|REG_PEND); in Regex()
34 llvm_regfree(preg); in ~Regex()
35 delete preg; in ~Regex()
42 size_t len = llvm_regerror(error, preg, NULL, 0); in isValid()
45 llvm_regerror(error, preg, &Error[0], len); in isValid()
52 return preg->re_nsub; in getNumMatches()
56 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; in match()
64 int rc = llvm_regexec(preg, String.data(), nmatch, pm.data(), REG_STARTEND); in match()
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()
/external/llvm/include/llvm/Support/
DRegex.h50 std::swap(preg, regex.preg);
55 preg = regex.preg; in Regex()
57 regex.preg = nullptr; in Regex()
100 struct llvm_regex *preg; variable
/external/libmicrohttpd/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,
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DRegex.h51 std::swap(preg, regex.preg);
97 struct llvm_regex *preg; variable
/external/strace/
Dqualify.c204 regerror_msg_and_die(int errcode, const regex_t *preg, in regerror_msg_and_die() argument
209 regerror(errcode, preg, buf, sizeof(buf)); in regerror_msg_and_die()
216 regex_t preg; in qualify_syscall_regex() local
219 if ((rc = regcomp(&preg, s, REG_EXTENDED | REG_NOSUB)) != 0) in qualify_syscall_regex()
220 regerror_msg_and_die(rc, &preg, "regcomp", s); in qualify_syscall_regex()
230 rc = regexec(&preg, sysent_vec[p][i].sys_name, in qualify_syscall_regex()
235 regerror_msg_and_die(rc, &preg, "regexec", s); in qualify_syscall_regex()
241 regfree(&preg); in qualify_syscall_regex()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DRegAllocPBQP.cpp229 unsigned preg = rawOrder[i]; in build() local
230 if (!reservedRegs.test(preg)) { in build()
231 vrAllowed.push_back(preg); in build()
239 unsigned preg = *pregItr; in build() local
240 const LiveInterval *pregLI = &lis->getInterval(preg); in build()
252 std::find(vrAllowed.begin(), vrAllowed.end(), preg); in build()
259 const unsigned *aliasItr = tri->getAliasSet(preg); in build()
532 unsigned preg = problem.getPRegForOption(vreg, alloc); in mapPBQPToRegAlloc() local
533 DEBUG(dbgs() << "VREG " << vreg << " -> " << tri->getName(preg) << "\n"); in mapPBQPToRegAlloc()
534 assert(preg != 0 && "Invalid preg selected."); in mapPBQPToRegAlloc()
[all …]
/external/valgrind/VEX/priv/
Dguest_amd64_helpers.c1945 Int stno, preg; in do_put_x87() local
1959 preg = (stno + ftop) & 7; in do_put_x87()
1960 tag = (tagw >> (2*preg)) & 3; in do_put_x87()
1968 vexRegs[preg] = 0; /* IEEE754 64-bit zero */ in do_put_x87()
1969 vexTags[preg] = 0; in do_put_x87()
1974 (UChar*)&vexRegs[preg] ); in do_put_x87()
1975 vexTags[preg] = 1; in do_put_x87()
2004 Int i, stno, preg; in do_get_x87() local
2024 preg = (stno + ftop) & 7; in do_get_x87()
2025 if (vexTags[preg] == 0) { in do_get_x87()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DRegex.h76 struct llvm_regex *preg; variable
/external/llvm/lib/Target/Sparc/
DSparcFrameLowering.cpp329 unsigned preg = (reg - SP::I0) / 2 + SP::I0_I1; in remapRegsForLeafProc() local
330 unsigned mapped_preg = preg - SP::I0_I1 + SP::O0_O1; in remapRegsForLeafProc()
331 MRI.replaceRegWith(preg, mapped_preg); in remapRegsForLeafProc()

12