MCPcopy Create free account
hub / github.com/chen3feng/toft / ParsePrintSpecifier

Function ParsePrintSpecifier

base/string/format/specification.cpp:181–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181static int ParsePrintSpecifier(const char* format, char* specifier)
182{
183 int n = ParseSpecifier(format, specifier);
184 if (n == 0) {
185 LOG(DFATAL) << "Invalid print specifier: " << format[0];
186 }
187 return n;
188}
189
190int ScanSpecification::Parse(const char* format)
191{

Callers 1

ParseMethod · 0.85

Calls 1

ParseSpecifierFunction · 0.85

Tested by

no test coverage detected