Home
last modified time | relevance | path

Searched refs:rm_eo (Results 1 – 25 of 46) sorted by relevance

12

/third_party/toybox/toys/posix/
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()
250 } else mm->rm_eo = mm->rm_so; in do_grep()
[all …]
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()
/third_party/skia/third_party/externals/microhttpd/src/examples/
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].r… 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].r… 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/boost/libs/regex/test/c_compiler_checks/
Dposix_api_check.c47 matches[0].rm_eo = strlen(text); in main()
57 assert((matches[0].rm_so == matches[0].rm_eo) && (matches[0].rm_eo == 1)); in main()
Dwide_posix_api_check.c62 matches[0].rm_eo = wcslen(text); in main()
73 if((matches[0].rm_so != matches[0].rm_eo) || (matches[0].rm_eo != 1)) in main()
Dwide_posix_api_check.cpp63 matches[0].rm_eo = wcslen(text); in main()
76 if((matches[0].rm_so != matches[0].rm_eo) || (matches[0].rm_eo != 1)) in main()
Dposix_api_check.cpp48 matches[0].rm_eo = strlen(text); in main()
58 BOOST_CHECK(matches[0].rm_so == matches[0].rm_eo); in main()
/third_party/musl/porting/liteos_m_iccarm/kernel/src/regex/
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 = -1; in tre_fill_pmatch()
985 pmatch[i].rm_eo = -1; in tre_fill_pmatch()
/third_party/musl/porting/uniproton/kernel/src/regex/
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 = -1; in tre_fill_pmatch()
985 pmatch[i].rm_eo = -1; in tre_fill_pmatch()
/third_party/musl/src/regex/
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 = -1; in tre_fill_pmatch()
985 pmatch[i].rm_eo = -1; in tre_fill_pmatch()
/third_party/musl/porting/liteos_m/kernel/src/regex/
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 = -1; in tre_fill_pmatch()
985 pmatch[i].rm_eo = -1; in tre_fill_pmatch()
/third_party/alsa-lib/src/ucm/
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/gettext/libtextstyle/examples/color-filter/
Dfilter.c187 if (match[0].rm_so < match[0].rm_eo) in main()
191 match[0].rm_eo - match[0].rm_so); in main()
195 index += match[0].rm_eo; in main()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
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()
/third_party/boost/libs/regex/performance/
Dposix.cpp82 text += m[0].rm_eo; in find_all()
83 if(m[0].rm_eo - m[0].rm_so) in find_all()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
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()
/third_party/boost/libs/regex/src/
Dposix_api.cpp242 end = buf + array[0].rm_eo; in regexecA()
273 array[i].rm_eo = (m[i].matched == false) ? -1 : (m[i].second - buf); in regexecA()
279 array[i].rm_eo = -1; in regexecA()
Dwide_posix_api.cpp258 end = buf + array[0].rm_eo; in regexecW()
288 array[i].rm_eo = (m[i].matched == false) ? -1 : (m[i].second - buf); in regexecW()
294 array[i].rm_eo = -1; in regexecW()
/third_party/pcre2/pcre2/src/
Dpcre2posix.c390 eo = pmatch[0].rm_eo; in pcre2_regexec()
412 pmatch[i].rm_eo = (ovector[i*2+1] == PCRE2_UNSET)? -1 : in pcre2_regexec()
415 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1; in pcre2_regexec()
/third_party/ltp/tools/sparse/sparse-src/validation/
Drestrict-array.c26 regoff_t rm_eo; /* Byte offset from string's start to substring's end. */ member
/third_party/musl/porting/uniproton/kernel/include/
Dregex.h24 regoff_t rm_eo; member
/third_party/musl/porting/liteos_m/kernel/include/
Dregex.h24 regoff_t rm_eo; member
/third_party/musl/include/
Dregex.h24 regoff_t rm_eo; member
/third_party/musl/ndk_musl_include/
Dregex.h24 regoff_t rm_eo; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dregex.h24 regoff_t rm_eo; member

12