/third_party/toybox/toys/posix/ |
D | grep.c | 192 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 …]
|
D | sed.c | 488 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/ |
D | mhd2spdy_structures.c | 88 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/ |
D | posix_api_check.c | 47 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()
|
D | wide_posix_api_check.c | 62 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()
|
D | wide_posix_api_check.cpp | 63 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()
|
D | posix_api_check.cpp | 48 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/ |
D | regexec.c | 782 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/ |
D | regexec.c | 782 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/ |
D | regexec.c | 782 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/ |
D | regexec.c | 782 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/ |
D | ucm_regex.c | 47 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/ |
D | filter.c | 187 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/ |
D | Regex.cpp | 78 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/ |
D | posix.cpp | 82 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/ |
D | Regex.cpp | 98 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/ |
D | posix_api.cpp | 242 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()
|
D | wide_posix_api.cpp | 258 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/ |
D | pcre2posix.c | 390 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/ |
D | restrict-array.c | 26 regoff_t rm_eo; /* Byte offset from string's start to substring's end. */ member
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | regex.h | 24 regoff_t rm_eo; member
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | regex.h | 24 regoff_t rm_eo; member
|
/third_party/musl/include/ |
D | regex.h | 24 regoff_t rm_eo; member
|
/third_party/musl/ndk_musl_include/ |
D | regex.h | 24 regoff_t rm_eo; member
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | regex.h | 24 regoff_t rm_eo; member
|