/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 …tf(&((*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 …tf(&((*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/toybox/toys/posix/ |
D | grep.c | 191 mm->rm_so = (s-start); in do_grep() 199 mm->rm_so = mm->rm_eo = INT_MAX; in do_grep() 205 shoe->m.rm_so -= baseline; in do_grep() 207 if (!matched || shoe->m.rm_so<0) in do_grep() 213 if (!shoe->rc && (shoe->m.rm_so < mm->rm_so || 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() 228 if ((start+mm->rm_so)!=line) { in do_grep() 229 c = start[mm->rm_so-1]; in do_grep() 237 start += mm->rm_so+1; in do_grep() [all …]
|
D | sed.c | 488 mlen = match[0].rm_eo-match[0].rm_so; in sed_line() 519 newlen += match[cc].rm_eo-match[cc].rm_so; in sed_line() 527 if (match[0].rm_so) { in sed_line() 528 memcpy(l2+l2used, rline, match[0].rm_so); in sed_line() 529 l2used += match[0].rm_so; in sed_line() 550 if (match[cc].rm_so != -1) { in sed_line() 551 ll = match[cc].rm_eo-match[cc].rm_so; in sed_line() 552 memcpy(l2+l2used+mlen, rline+match[cc].rm_so, ll); in sed_line()
|
/third_party/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
D | rc_test_helpers.c | 78 return matches[index].rm_eo - matches[index].rm_so; in match_length() 103 matches[i].rm_so, matches[i].rm_eo); in regex_helper() 152 tokens.Negate.String = src_str + matches[1].rm_so; in init_rc_normal_src() 154 tokens.Abs.String = src_str + matches[2].rm_so; in init_rc_normal_src() 156 tokens.File.String = src_str + matches[3].rm_so; in init_rc_normal_src() 158 tokens.Index.String = src_str + matches[4].rm_so; in init_rc_normal_src() 160 tokens.Swizzle.String = src_str + matches[5].rm_so; in init_rc_normal_src() 280 tokens.File.String = dst_str + matches[1].rm_so; in init_rc_normal_dst() 282 tokens.Index.String = dst_str + matches[2].rm_so; in init_rc_normal_dst() 284 tokens.WriteMask.String = dst_str + matches[3].rm_so; in init_rc_normal_dst() [all …]
|
/third_party/gettext/libtextstyle/examples/color-filter/ |
D | filter.c | 183 if (match[0].rm_so > 0) in main() 184 ostream_write_mem (stream, buffer + index, match[0].rm_so); in main() 187 if (match[0].rm_so < match[0].rm_eo) in main() 190 ostream_write_mem (stream, buffer + index + match[0].rm_so, in main() 191 match[0].rm_eo - match[0].rm_so); in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Regex.cpp | 77 pm[0].rm_so = 0; in match() 96 if (pm[i].rm_so == -1) { in match() 101 assert(pm[i].rm_eo >= pm[i].rm_so); in match() 102 Matches->push_back(StringRef(String.data()+pm[i].rm_so, in match() 103 pm[i].rm_eo-pm[i].rm_so)); in match()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | Regex.cpp | 97 pm[0].rm_so = 0; in match() 118 if (pm[i].rm_so == -1) { in match() 123 assert(pm[i].rm_eo >= pm[i].rm_so); in match() 124 Matches->push_back(StringRef(String.data()+pm[i].rm_so, in match() 125 pm[i].rm_eo-pm[i].rm_so)); in match()
|
/third_party/alsa-lib/src/ucm/ |
D | ucm_regex.c | 47 len = match->rm_eo - match->rm_so; in extract_substring() 51 memcpy(s, data + match->rm_so, len); 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/boost/libs/regex/example/timer/ |
D | regex_timer.cpp | 343 if(matches[i].rm_so >= 0) in main() 345 ts.assign(s2.begin() + matches[i].rm_so, s2.begin() + matches[i].rm_eo); in main() 346 …cout << "\tmatch " << i << ": \"" << ts << "\" (matched=" << (matches[i].rm_so != -1) << ")"<< end… in main() 349 …cout << "\tmatch " << i << ": \"\" (matched=" << (matches[i].rm_so != -1) << ")" << endl; // no … in main() 353 ts.assign(s2.begin(), s2.begin() + matches[0].rm_so); in main() 355 cout << "\" (matched=" << (matches[0].rm_so != 0) << ")" << endl; in main()
|
/third_party/musl/porting/liteos_m/kernel/src/regex/ |
D | regexec.c | 781 so = pmatch[bt].rm_so; in tre_tnfa_run_backtrack() 945 pmatch[i].rm_so = match_eo; in tre_fill_pmatch() 947 pmatch[i].rm_so = tags[submatch_data[i].so_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() 967 assert(pmatch[i].rm_so == -1); in tre_fill_pmatch() 968 assert(pmatch[i].rm_so <= pmatch[i].rm_eo); in tre_fill_pmatch() 974 if (pmatch[i].rm_so < pmatch[parents[j]].rm_so in tre_fill_pmatch() 976 pmatch[i].rm_so = pmatch[i].rm_eo = -1; in tre_fill_pmatch() 984 pmatch[i].rm_so = -1; in tre_fill_pmatch()
|
/third_party/musl/src/regex/ |
D | regexec.c | 781 so = pmatch[bt].rm_so; in tre_tnfa_run_backtrack() 945 pmatch[i].rm_so = match_eo; in tre_fill_pmatch() 947 pmatch[i].rm_so = tags[submatch_data[i].so_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() 967 assert(pmatch[i].rm_so == -1); in tre_fill_pmatch() 968 assert(pmatch[i].rm_so <= pmatch[i].rm_eo); in tre_fill_pmatch() 974 if (pmatch[i].rm_so < pmatch[parents[j]].rm_so in tre_fill_pmatch() 976 pmatch[i].rm_so = pmatch[i].rm_eo = -1; in tre_fill_pmatch() 984 pmatch[i].rm_so = -1; in tre_fill_pmatch()
|
/third_party/musl/porting/liteos_m_iccarm/kernel/src/regex/ |
D | regexec.c | 781 so = pmatch[bt].rm_so; in tre_tnfa_run_backtrack() 945 pmatch[i].rm_so = match_eo; in tre_fill_pmatch() 947 pmatch[i].rm_so = tags[submatch_data[i].so_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() 967 assert(pmatch[i].rm_so == -1); in tre_fill_pmatch() 968 assert(pmatch[i].rm_so <= pmatch[i].rm_eo); in tre_fill_pmatch() 974 if (pmatch[i].rm_so < pmatch[parents[j]].rm_so in tre_fill_pmatch() 976 pmatch[i].rm_so = pmatch[i].rm_eo = -1; in tre_fill_pmatch() 984 pmatch[i].rm_so = -1; in tre_fill_pmatch()
|
/third_party/musl/porting/uniproton/kernel/src/regex/ |
D | regexec.c | 781 so = pmatch[bt].rm_so; in tre_tnfa_run_backtrack() 945 pmatch[i].rm_so = match_eo; in tre_fill_pmatch() 947 pmatch[i].rm_so = tags[submatch_data[i].so_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() 967 assert(pmatch[i].rm_so == -1); in tre_fill_pmatch() 968 assert(pmatch[i].rm_so <= pmatch[i].rm_eo); in tre_fill_pmatch() 974 if (pmatch[i].rm_so < pmatch[parents[j]].rm_so in tre_fill_pmatch() 976 pmatch[i].rm_so = pmatch[i].rm_eo = -1; in tre_fill_pmatch() 984 pmatch[i].rm_so = -1; in tre_fill_pmatch()
|
/third_party/boost/libs/regex/test/c_compiler_checks/ |
D | posix_api_check.c | 46 matches[0].rm_so = 0; in main() 57 assert((matches[0].rm_so == matches[0].rm_eo) && (matches[0].rm_eo == 1)); in main()
|
D | posix_api_check.cpp | 47 matches[0].rm_so = 0; in main() 58 BOOST_CHECK(matches[0].rm_so == matches[0].rm_eo); in main()
|
D | wide_posix_api_check.cpp | 62 matches[0].rm_so = 0; in main() 76 if((matches[0].rm_so != matches[0].rm_eo) || (matches[0].rm_eo != 1)) in main()
|
D | wide_posix_api_check.c | 61 matches[0].rm_so = 0; in main() 73 if((matches[0].rm_so != matches[0].rm_eo) || (matches[0].rm_eo != 1)) in main()
|
/third_party/skia/third_party/externals/microhttpd/src/spdy2http/ |
D | proxy.c | 253 (int) (pmatch[2].rm_eo - pmatch[2].rm_so), in parse_uri() 254 &full_uri[pmatch[2].rm_so]); in parse_uri() 256 (int) (pmatch[4].rm_eo - pmatch[4].rm_so), in parse_uri() 257 &full_uri[pmatch[4].rm_so]); in parse_uri() 260 (int) (pmatch[5].rm_eo - pmatch[5].rm_so), in parse_uri() 261 &full_uri[pmatch[5].rm_so]); in parse_uri() 264 (int) (pmatch[9].rm_eo - pmatch[5].rm_so), in parse_uri() 265 &full_uri[pmatch[5].rm_so]); in parse_uri() 268 (int) (pmatch[7].rm_eo - pmatch[7].rm_so), in parse_uri() 269 &full_uri[pmatch[7].rm_so]); in parse_uri() [all …]
|
/third_party/toybox/toys/pending/ |
D | expr.c | 113 if (!regexec(&pat, target, 2, m, 0) && !m[0].rm_so) { in re() 116 ret->s = xmprintf("%.*s", (int)(m[1].rm_eo-m[1].rm_so), in re() 117 target+m[1].rm_so); in re()
|
/third_party/boost/libs/regex/src/ |
D | posix_api.cpp | 241 start = buf + array[0].rm_so; in regexecA() 272 array[i].rm_so = (m[i].matched == false) ? -1 : (m[i].first - buf); in regexecA() 278 array[i].rm_so = -1; in regexecA()
|
D | wide_posix_api.cpp | 257 start = buf + array[0].rm_so; in regexecW() 287 array[i].rm_so = (m[i].matched == false) ? -1 : (m[i].first - buf); in regexecW() 293 array[i].rm_so = -1; in regexecW()
|
/third_party/pcre2/pcre2/src/ |
D | pcre2posix.c | 389 so = pmatch[0].rm_so; in pcre2_regexec() 410 pmatch[i].rm_so = (ovector[i*2] == 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 | 25 regoff_t rm_so; /* Byte offset from string's start to substring's start. */ member
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | regex.h | 23 regoff_t rm_so; member
|
/third_party/musl/ndk_musl_include/ |
D | regex.h | 23 regoff_t rm_so; member
|