MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / RuneToString

Function RuneToString

extern/re2/re2/prefilter.cc:391–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389}
390
391static std::string RuneToString(Rune r) {
392 char buf[UTFmax];
393 int n = runetochar(buf, &r);
394 return std::string(buf, n);
395}
396
397static std::string RuneToStringLatin1(Rune r) {
398 char c = r & 0xff;

Callers 2

LiteralMethod · 0.85
CClassMethod · 0.85

Calls 1

runetocharFunction · 0.85

Tested by

no test coverage detected