Lines Matching defs:out
16 // format(OutputIter out, const basic_string<char_type, ST, SA>& fmt,
36 char out[100] = {0};
38 char* r = m.format(output_iterator<char*>(out), fmt).base();
39 assert(r == out + 58);
40 assert(std::string(out) == "prefix: ab, match: cdefghi, suffix: jk, m[1]: efg, m[2]: e");
47 char out[100] = {0};
49 char* r = m.format(output_iterator<char*>(out),
51 assert(r == out + 59);
52 assert(std::string(out) == "prefix: $`, match: $cdefghi, suffix: $', m[1]: $1, m[2]: $2");
59 char out[100] = {0};
61 char* r = m.format(output_iterator<char*>(out),
63 assert(r == out + 34);
64 assert(std::string(out) == "match: cdefghi, m[1]: efg, m[2]: e");
72 wchar_t out[100] = {0};
74 wchar_t* r = m.format(output_iterator<wchar_t*>(out), fmt).base();
75 assert(r == out + 58);
76 assert(std::wstring(out) == L"prefix: ab, match: cdefghi, suffix: jk, m[1]: efg, m[2]: e");
83 wchar_t out[100] = {0};
85 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),
99 assert(r == out + 34);
100 assert(std::wstring(out) == L"match: cdefghi, m[1]: efg, m[2]: e");