Home
last modified time | relevance | path

Searched refs:preg (Results 1 – 25 of 34) 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/dist/
Dpcreposix.c210 regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) in regerror() argument
220 addlength = (preg != NULL && (int)preg->re_erroffset != -1)? in regerror()
226 sprintf(errbuf, "%s%s%-6d", message, addmessage, (int)preg->re_erroffset); in regerror()
245 regfree(regex_t *preg) in regfree() argument
247 (PUBL(free))(preg->re_pcre); in regfree()
268 regcomp(regex_t *preg, const char *pattern, int cflags) in regcomp() argument
284 preg->re_pcre = pcre_compile2(pattern, options, &errorcode, &errorptr, in regcomp()
286 preg->re_erroffset = erroffset; in regcomp()
291 if (preg->re_pcre == NULL) in regcomp()
297 (void)pcre_fullinfo((const pcre *)preg->re_pcre, NULL, PCRE_INFO_CAPTURECOUNT, in regcomp()
[all …]
/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()
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()
/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/ltrace/
Dglob.c180 globcomp(regex_t *preg, const char *glob, int cflags) in globcomp() argument
187 status = regcomp(preg, regex, cflags); in globcomp()
220 regex_t preg; in try_match() local
221 int status = globcomp(&preg, glob, 0); in try_match()
223 status = regexec(&preg, str, 0, NULL, 0); in try_match()
225 regfree(&preg); in try_match()
Dglob.h30 int globcomp(regex_t *preg, const char *glob, int cflags);
/external/valgrind/VEX/priv/
Dguest_amd64_helpers.c1849 Int stno, preg; in do_put_x87() local
1864 preg = (stno + ftop) & 7; in do_put_x87()
1865 tag = (tagw >> (2*preg)) & 3; in do_put_x87()
1873 vexRegs[preg] = 0; /* IEEE754 64-bit zero */ in do_put_x87()
1874 vexTags[preg] = 0; in do_put_x87()
1879 (UChar*)&vexRegs[preg] ); in do_put_x87()
1880 vexTags[preg] = 1; in do_put_x87()
1909 Int i, stno, preg; in do_get_x87() local
1929 preg = (stno + ftop) & 7; in do_get_x87()
1930 if (vexTags[preg] == 0) { in do_get_x87()
[all …]
Dguest_x86_helpers.c1605 Int stno, preg; in do_put_x87() local
1620 preg = (stno + ftop) & 7; in do_put_x87()
1621 tag = (tagw >> (2*preg)) & 3; in do_put_x87()
1629 vexRegs[preg] = 0; /* IEEE754 64-bit zero */ in do_put_x87()
1630 vexTags[preg] = 0; in do_put_x87()
1635 (UChar*)&vexRegs[preg] ); in do_put_x87()
1636 vexTags[preg] = 1; in do_put_x87()
1665 Int i, stno, preg; in do_get_x87() local
1685 preg = (stno + ftop) & 7; in do_get_x87()
1686 if (vexTags[preg] == 0) { in do_get_x87()
[all …]
/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()
/external/libmicrohttpd/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()
/external/toybox/lib/
Dxwrap.c709 void xregcomp(regex_t *preg, char *regex, int cflags) in xregcomp() argument
711 int rc = regcomp(preg, regex, cflags); in xregcomp()
714 regerror(rc, preg, libbuf, sizeof(libbuf)); in xregcomp()
/external/squashfs-tools/squashfs-tools/
Dunsquashfs.c1286 if(paths->name[i].preg) { in free_path()
1287 regfree(paths->name[i].preg); in free_path()
1288 free(paths->name[i].preg); in free_path()
1330 paths->name[i].preg = malloc(sizeof(regex_t)); in add_path()
1331 if(paths->name[i].preg == NULL) in add_path()
1333 error = regcomp(paths->name[i].preg, targname, in add_path()
1338 regerror(error, paths->name[i].preg, str, 1024); in add_path()
1344 paths->name[i].preg = NULL; in add_path()
1434 regexec(path->name[i].preg, name, (size_t) 0, in matches()
Dunsquashfs.h214 regex_t *preg; member
Daction.c2509 regex_t *preg = malloc(sizeof(regex_t)); in parse_file_arg() local
2511 if (preg == NULL) in parse_file_arg()
2514 res = regcomp(preg, atom->argv[0], REG_EXTENDED); in parse_file_arg()
2518 regerror(res, preg, str, 1024); in parse_file_arg()
2519 free(preg); in parse_file_arg()
2525 atom->data = preg; in parse_file_arg()
2536 regex_t *preg = atom->data; in file_fn() local
2594 res = regexec(preg, buffer, (size_t) 0, NULL, 0); in file_fn()
/external/llvm/test/CodeGen/X86/
Dsink-hoist.ll69 ; sinking more conservative about sinking instructions that define a preg into a
70 ; block when we don't know if the preg is killed within the current block.
/external/llvm/docs/
DLibFuzzer.rst133 regex_t preg;
134 if (0 == regcomp(&preg, str, 0)) {
135 regexec(&preg, str, 0, 0, 0);
136 regfree(&preg);
/external/toybox/toys/posix/
Dsed.c215 static int ghostwheel(regex_t *preg, char *string, long len, int nmatch, in ghostwheel() argument
230 rc = regexec(preg, s, nmatch, pmatch, eflags); in ghostwheel()

12