MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / get_length

Function get_length

strings/my_vsnprintf.c:66–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64*/
65
66static const char *get_length(const char *fmt, size_t *length, uint *pre_zero)
67{
68 for (; my_isdigit(&my_charset_latin1, *fmt); fmt++)
69 {
70 *length= *length * 10 + (uint)(*fmt - '0');
71 if (!*length)
72 *pre_zero|= PREZERO_ARG; /* first digit was 0 */
73 }
74 return fmt;
75}
76
77
78/**

Callers 3

process_argsFunction · 0.85
my_vsnprintf_exFunction · 0.85
ProcessMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected