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

Function FormatMode

extern/re2/re2/testing/tester.cc:176–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174};
175
176static std::string FormatMode(Regexp::ParseFlags flags) {
177 for (size_t i = 0; i < arraysize(parse_modes); i++)
178 if (parse_modes[i].parse_flags == flags)
179 return parse_modes[i].desc;
180 return StringPrintf("%#x", static_cast<uint32_t>(flags));
181}
182
183// Constructs and saves all the matching engines that
184// will be required for the given tests.

Callers 3

TestInstanceMethod · 0.85
RunCaseMethod · 0.85
LogMatchMethod · 0.85

Calls 1

StringPrintfFunction · 0.85

Tested by

no test coverage detected