Home | History | Annotate | Download | only in re.results.form

Lines Matching defs:out

16 //   format(OutputIter out, const char_type* fmt_first, const char_type* fmt_last,
31 char out[100] = {0};
33 char* r = m.format(output_iterator<char*>(out),
35 assert(r == out + 58);
36 assert(std::string(out) == "prefix: ab, match: cdefghi, suffix: jk, m[1]: efg, m[2]: e");
43 char out[100] = {0};
45 char* r = m.format(output_iterator<char*>(out),
48 assert(r == out + 59);
49 assert(std::string(out) == "prefix: $`, match: $cdefghi, suffix: $', m[1]: $1, m[2]: $2");
56 char out[100] = {0};
58 char* r = m.format(output_iterator<char*>(out),
61 assert(r == out + 34);
62 assert(std::string(out) == "match: cdefghi, m[1]: efg, m[2]: e");
70 wchar_t out[100] = {0};
72 wchar_t* r = m.format(output_iterator<wchar_t*>(out),
74 assert(r == out + 58);
75 assert(std::wstring(out) == L"prefix: ab, match: cdefghi, suffix: jk, m[1]: efg, m[2]: e");
82 wchar_t out[100] = {0};
84 wchar_t* r = m.format(output_iterator<wchar_t*>(out),
87 assert(r == out + 59);
88 assert(std::wstring(out) == L"prefix: $`, match: $cdefghi, suffix: $', m[1]: $1, m[2]: $2");
95 wchar_t out[100] = {0};
97 wchar_t* r = m.format(output_iterator<wchar_t*>(out),
100 assert(r == out + 34);
101 assert(std::wstring(out) == L"match: cdefghi, m[1]: efg, m[2]: e");