Home
last modified time | relevance | path

Searched refs:rm_eo (Results 1 - 25 of 37) sorted by relevance

12

/third_party/toybox/toys/posix/
H A Dgrep.c192 mm->rm_eo = (s-start)+strlen(seek->arg); in do_grep()
197 int baseline = mm->rm_eo; in do_grep()
199 mm->rm_so = mm->rm_eo = INT_MAX; in do_grep()
206 shoe->m.rm_eo -= baseline; in do_grep()
214 (shoe->m.rm_so == mm->rm_so && shoe->m.rm_eo >= mm->rm_eo))) in do_grep()
223 if (mm->rm_so || line[mm->rm_eo]) rc = 1; in do_grep()
233 c = start[mm->rm_eo]; in do_grep()
246 mm->rm_eo = ulen-(start-line); in do_grep()
248 start += mm->rm_eo; in do_grep()
[all...]
H A Dsed.c488 mlen = match[0].rm_eo-match[0].rm_so; in sed_line()
499 memcpy(l2+l2used, rline, match[0].rm_eo); in sed_line()
500 l2used += match[0].rm_eo; in sed_line()
501 rline += match[0].rm_eo; in sed_line()
507 if (match[0].rm_eo > INT_MAX) perror_exit(0); in sed_line()
519 newlen += match[cc].rm_eo-match[cc].rm_so; in sed_line()
551 ll = match[cc].rm_eo-match[cc].rm_so; in sed_line()
557 rline += match[0].rm_eo; in sed_line()
H A Dcut.c148 if (!match.rm_eo) break; // zero length match == no delimiter in cut_line()
149 ss += (!--start && j) ? match.rm_so : match.rm_eo; in cut_line()
/third_party/skia/third_party/externals/microhttpd/src/examples/
H A Dmhd2spdy_structures.c88 asprintf(&((*uri)->scheme), "%.*s",pmatch[2].rm_eo - pmatch[2].rm_so, &full_uri[pmatch[2].rm_so]); in parse_uri()
89 asprintf(&((*uri)->host_and_port), "%.*s",pmatch[4].rm_eo - pmatch[4].rm_so, &full_uri[pmatch[4].rm_so]); in parse_uri()
90 asprintf(&((*uri)->path), "%.*s",pmatch[5].rm_eo - pmatch[5].rm_so, &full_uri[pmatch[5].rm_so]); in parse_uri()
91 asprintf(&((*uri)->path_and_more), "%.*s",pmatch[9].rm_eo - pmatch[5].rm_so, &full_uri[pmatch[5].rm_so]); in parse_uri()
92 asprintf(&((*uri)->query), "%.*s",pmatch[7].rm_eo - pmatch[7].rm_so, &full_uri[pmatch[7].rm_so]); in parse_uri()
93 asprintf(&((*uri)->fragment), "%.*s",pmatch[9].rm_eo - pmatch[9].rm_so, &full_uri[pmatch[9].rm_so]); in parse_uri()
/third_party/alsa-lib/src/ucm/
H A Ducm_regex.c47 len = match->rm_eo - match->rm_so; in extract_substring()
66 if (match[0].rm_so < 0 || match[0].rm_eo < 0) in set_variables()
76 if (match[0].rm_so < 0 || match[0].rm_eo < 0) in set_variables()
/third_party/pcre2/pcre2/src/
H A Dpcre2posix_test.c178 if (m->rm_so != *(++rd) || m->rm_eo != *(++rd)) in main()
185 j, rd[-1], rd[0], m->rm_so, m->rm_eo); in main()
188 PRINTF(" (%d %d %d)", j, m->rm_so, m->rm_eo); in main()
H A Dpcre2posix.c380 eo = pmatch[0].rm_eo; in pcre2_regexec()
402 pmatch[i].rm_eo = (ovector[i*2+1] == PCRE2_UNSET)? -1 : in pcre2_regexec()
405 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1; in pcre2_regexec()
H A Dpcre2posix.h116 regoff_t rm_eo; member
/third_party/musl/porting/liteos_m/kernel/src/regex/
H A Dregexec.c782 eo = pmatch[bt].rm_eo; in tre_tnfa_run_backtrack()
950 pmatch[i].rm_eo = match_eo; in tre_fill_pmatch()
952 pmatch[i].rm_eo = tags[submatch_data[i].eo_tag]; in tre_fill_pmatch()
956 if (pmatch[i].rm_so == -1 || pmatch[i].rm_eo == -1) in tre_fill_pmatch()
957 pmatch[i].rm_so = pmatch[i].rm_eo = -1; in tre_fill_pmatch()
966 if (pmatch[i].rm_eo == -1) in tre_fill_pmatch()
968 assert(pmatch[i].rm_so <= pmatch[i].rm_eo); in tre_fill_pmatch()
975 || pmatch[i].rm_eo > pmatch[parents[j]].rm_eo) in tre_fill_pmatch()
976 pmatch[i].rm_so = pmatch[i].rm_eo in tre_fill_pmatch()
[all...]
/third_party/musl/porting/liteos_m_iccarm/kernel/src/regex/
H A Dregexec.c782 eo = pmatch[bt].rm_eo; in tre_tnfa_run_backtrack()
950 pmatch[i].rm_eo = match_eo; in tre_fill_pmatch()
952 pmatch[i].rm_eo = tags[submatch_data[i].eo_tag]; in tre_fill_pmatch()
956 if (pmatch[i].rm_so == -1 || pmatch[i].rm_eo == -1) in tre_fill_pmatch()
957 pmatch[i].rm_so = pmatch[i].rm_eo = -1; in tre_fill_pmatch()
966 if (pmatch[i].rm_eo == -1) in tre_fill_pmatch()
968 assert(pmatch[i].rm_so <= pmatch[i].rm_eo); in tre_fill_pmatch()
975 || pmatch[i].rm_eo > pmatch[parents[j]].rm_eo) in tre_fill_pmatch()
976 pmatch[i].rm_so = pmatch[i].rm_eo in tre_fill_pmatch()
[all...]
/third_party/musl/porting/uniproton/kernel/src/regex/
H A Dregexec.c782 eo = pmatch[bt].rm_eo; in tre_tnfa_run_backtrack()
950 pmatch[i].rm_eo = match_eo; in tre_fill_pmatch()
952 pmatch[i].rm_eo = tags[submatch_data[i].eo_tag]; in tre_fill_pmatch()
956 if (pmatch[i].rm_so == -1 || pmatch[i].rm_eo == -1) in tre_fill_pmatch()
957 pmatch[i].rm_so = pmatch[i].rm_eo = -1; in tre_fill_pmatch()
966 if (pmatch[i].rm_eo == -1) in tre_fill_pmatch()
968 assert(pmatch[i].rm_so <= pmatch[i].rm_eo); in tre_fill_pmatch()
975 || pmatch[i].rm_eo > pmatch[parents[j]].rm_eo) in tre_fill_pmatch()
976 pmatch[i].rm_so = pmatch[i].rm_eo in tre_fill_pmatch()
[all...]
/third_party/musl/src/regex/
H A Dregexec.c782 eo = pmatch[bt].rm_eo; in tre_tnfa_run_backtrack()
950 pmatch[i].rm_eo = match_eo; in tre_fill_pmatch()
952 pmatch[i].rm_eo = tags[submatch_data[i].eo_tag]; in tre_fill_pmatch()
956 if (pmatch[i].rm_so == -1 || pmatch[i].rm_eo == -1) in tre_fill_pmatch()
957 pmatch[i].rm_so = pmatch[i].rm_eo = -1; in tre_fill_pmatch()
966 if (pmatch[i].rm_eo == -1) in tre_fill_pmatch()
968 assert(pmatch[i].rm_so <= pmatch[i].rm_eo); in tre_fill_pmatch()
975 || pmatch[i].rm_eo > pmatch[parents[j]].rm_eo) in tre_fill_pmatch()
976 pmatch[i].rm_so = pmatch[i].rm_eo in tre_fill_pmatch()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DRegex.cpp78 pm[0].rm_eo = String.size(); in match()
101 assert(pm[i].rm_eo >= pm[i].rm_so); in match()
103 pm[i].rm_eo-pm[i].rm_so)); in match()
H A Dregex_impl.h45 llvm_regoff_t rm_eo; /* end of match */ member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DRegex.cpp98 pm[0].rm_eo = String.size(); in match()
123 assert(pm[i].rm_eo >= pm[i].rm_so); in match()
125 pm[i].rm_eo-pm[i].rm_so)); in match()
H A Dregex_impl.h45 llvm_regoff_t rm_eo; /* end of match */ member
/third_party/skia/third_party/externals/microhttpd/src/spdy2http/
H A Dproxy.c253 (int) (pmatch[2].rm_eo - pmatch[2].rm_so), in parse_uri()
256 (int) (pmatch[4].rm_eo - pmatch[4].rm_so), in parse_uri()
260 (int) (pmatch[5].rm_eo - pmatch[5].rm_so), in parse_uri()
264 (int) (pmatch[9].rm_eo - pmatch[5].rm_so), in parse_uri()
268 (int) (pmatch[7].rm_eo - pmatch[7].rm_so), in parse_uri()
272 (int) (pmatch[9].rm_eo - pmatch[9].rm_so), in parse_uri()
/third_party/ltp/tools/sparse/sparse-src/validation/
H A Drestrict-array.c26 regoff_t rm_eo; /* Byte offset from string's start to substring's end. */ member
/third_party/toybox/toys/pending/
H A Dexpr.c116 ret->s = xmprintf("%.*s", (int)(m[1].rm_eo-m[1].rm_so), in re()
120 } else assign_int(ret, m[0].rm_eo); in re()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dregex.h24 regoff_t rm_eo; member
/third_party/musl/porting/liteos_m/kernel/include/
H A Dregex.h24 regoff_t rm_eo; member
/third_party/musl/porting/uniproton/kernel/include/
H A Dregex.h24 regoff_t rm_eo; member
/third_party/musl/include/
H A Dregex.h24 regoff_t rm_eo; member
/third_party/musl/libc-test/src/api/
H A Dregex.c16 F(regoff_t,rm_eo) in f()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.c78 return matches[index].rm_eo - matches[index].rm_so; in match_length()
104 (size_t)matches[i].rm_eo); in regex_helper()

Completed in 15 milliseconds

12