/third_party/skia/third_party/externals/microhttpd/src/examples/ |
H A 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].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() [all...] |
/third_party/toybox/toys/posix/ |
H A 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)! in do_grep() [all...] |
H A 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/ |
H A D | rc_test_helpers.c | 78 return matches[index].rm_eo - matches[index].rm_so; in match_length() 103 (size_t)matches[i].rm_so, in regex_helper() 153 tokens.Negate.String = src_str + matches[1].rm_so; in init_rc_normal_src() 155 tokens.Abs.String = src_str + matches[2].rm_so; in init_rc_normal_src() 157 tokens.File.String = src_str + matches[3].rm_so; in init_rc_normal_src() 159 tokens.Index.String = src_str + matches[4].rm_so; in init_rc_normal_src() 161 tokens.Swizzle.String = src_str + matches[5].rm_so; in init_rc_normal_src() 281 tokens.File.String = dst_str + matches[1].rm_so; in init_rc_normal_dst() 283 tokens.Index.String = dst_str + matches[2].rm_so; in init_rc_normal_dst() 285 tokens.WriteMask.String = dst_str + matches[3].rm_so; in init_rc_normal_dst() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A 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()
|
H A D | regex_impl.h | 44 llvm_regoff_t rm_so; /* start of match */ member
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A 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()
|
H A D | regex_impl.h | 44 llvm_regoff_t rm_so; /* start of match */ member
|
/third_party/alsa-lib/src/ucm/ |
H A 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/pcre2/pcre2/src/ |
H A D | pcre2posix_test.c | 177 if (m->rm_so < 0) continue; in main() 178 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 D | pcre2posix.c | 379 so = pmatch[0].rm_so; in pcre2_regexec() 400 pmatch[i].rm_so = (ovector[i*2] == 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 D | pcre2posix.h | 115 regoff_t rm_so; member
|
/third_party/skia/third_party/externals/microhttpd/src/spdy2http/ |
H A 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/musl/porting/liteos_m/kernel/src/regex/ |
H A 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 in tre_fill_pmatch() [all...] |
/third_party/musl/porting/liteos_m_iccarm/kernel/src/regex/ |
H A 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 in tre_fill_pmatch() [all...] |
/third_party/musl/porting/uniproton/kernel/src/regex/ |
H A 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 in tre_fill_pmatch() [all...] |
/third_party/musl/src/regex/ |
H A 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 in tre_fill_pmatch() [all...] |
/third_party/toybox/toys/pending/ |
H A 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/ltp/tools/sparse/sparse-src/validation/ |
H A 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/ |
H A D | regex.h | 23 regoff_t rm_so; member
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | regex.h | 23 regoff_t rm_so; member
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | regex.h | 23 regoff_t rm_so; member
|
/third_party/musl/include/ |
H A D | regex.h | 23 regoff_t rm_so; member
|
/third_party/musl/libc-test/src/api/ |
H A D | regex.c | 15 F(regoff_t,rm_so) in f()
|
/third_party/musl/libc-test/src/functional/ |
H A D | test-malloc-stats-print.c | 58 return output + pmatch[0].rm_so; in find_thread_in_output()
|