/external/libunwind/src/ia64/ |
D | regs.h | 34 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 …]
|
D | Gparser.c | 699 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 …]
|
D | Gresume.c | 195 # 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/ |
D | pcre2posix.c | 179 regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) in regerror() argument 187 if (preg != NULL && (int)preg->re_erroffset != -1) in regerror() 190 (int)preg->re_erroffset); in regerror() 208 regfree(regex_t *preg) in regfree() argument 210 pcre2_match_data_free(preg->re_match_data); in regfree() 211 pcre2_code_free(preg->re_pcre2_code); in regfree() 232 regcomp(regex_t *preg, const char *pattern, int cflags) in regcomp() argument 240 patlen = ((cflags & REG_PEND) != 0)? (PCRE2_SIZE)(preg->re_endp - pattern) : in regcomp() 251 preg->re_cflags = cflags; in regcomp() 252 preg->re_pcre2_code = pcre2_compile((PCRE2_SPTR)pattern, patlen, options, in regcomp() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | Regex.cpp | 27 Regex::Regex() : preg(nullptr), error(REG_BADPAT) {} in Regex() 31 preg = new llvm_regex(); in Regex() 32 preg->re_endp = regex.end(); in Regex() 39 error = llvm_regcomp(preg, regex.data(), flags|REG_PEND); in Regex() 43 preg = regex.preg; in Regex() 45 regex.preg = nullptr; in Regex() 50 if (preg) { in ~Regex() 51 llvm_regfree(preg); in ~Regex() 52 delete preg; in ~Regex() 60 size_t len = llvm_regerror(error, preg, nullptr, 0); in isValid() [all …]
|
D | regfree.c | 50 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()
|
D | regerror.c | 84 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()
|
D | regexec.c | 141 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-subzero/lib/Support/ |
D | Regex.cpp | 22 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 …]
|
D | regfree.c | 50 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()
|
D | regerror.c | 84 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()
|
D | regexec.c | 141 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/ |
D | Regex.cpp | 24 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 …]
|
D | regfree.c | 50 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()
|
D | regerror.c | 84 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()
|
D | regexec.c | 141 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/ |
D | Regex.cpp | 24 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()
|
D | regfree.c | 50 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()
|
D | regerror.c | 84 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()
|
D | regexec.c | 141 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/ |
D | Regex.h | 50 std::swap(preg, regex.preg); 55 preg = regex.preg; in Regex() 57 regex.preg = nullptr; in Regex() 100 struct llvm_regex *preg; variable
|
/external/strace/ |
D | basic_filters.c | 111 regerror_msg_and_die(int errcode, const regex_t *preg, in regerror_msg_and_die() argument 116 regerror(errcode, preg, buf, sizeof(buf)); in regerror_msg_and_die() 123 regex_t preg; in qualify_syscall_regex() local 126 if ((rc = regcomp(&preg, s, REG_EXTENDED | REG_NOSUB)) != 0) in qualify_syscall_regex() 127 regerror_msg_and_die(rc, &preg, "regcomp", s); in qualify_syscall_regex() 136 rc = regexec(&preg, sysent_vec[p][i].sys_name, in qualify_syscall_regex() 147 rc = regexec(&preg, name_buf, 0, NULL, 0); in qualify_syscall_regex() 153 regerror_msg_and_die(rc, &preg, "regexec", s); in qualify_syscall_regex() 160 regfree(&preg); in qualify_syscall_regex()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Regex.h | 51 std::swap(preg, regex.preg); 97 struct llvm_regex *preg; variable
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | Regex.h | 51 std::swap(preg, regex.preg); 97 struct llvm_regex *preg; variable
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | RegAllocPBQP.cpp | 229 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 …]
|