Home
last modified time | relevance | path

Searched refs:buff_end (Results 1 – 1 of 1) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_printf.cc34 static int AppendChar(char **buff, const char *buff_end, char c) { in AppendChar() argument
35 if (*buff < buff_end) { in AppendChar()
45 static int AppendNumber(char **buff, const char *buff_end, u64 absolute_value, in AppendNumber() argument
57 result += AppendChar(buff, buff_end, '-'); in AppendNumber()
75 result += AppendChar(buff, buff_end, c); in AppendNumber()
77 if (negative && !pad_with_zero) result += AppendChar(buff, buff_end, '-'); in AppendNumber()
80 result += AppendChar(buff, buff_end, (digit < 10) ? '0' + digit in AppendNumber()
86 static int AppendUnsigned(char **buff, const char *buff_end, u64 num, u8 base, in AppendUnsigned() argument
88 return AppendNumber(buff, buff_end, num, base, minimal_num_length, in AppendUnsigned()
92 static int AppendSignedDecimal(char **buff, const char *buff_end, s64 num, in AppendSignedDecimal() argument
[all …]