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.cc33 static int AppendChar(char **buff, const char *buff_end, char c) { in AppendChar() argument
34 if (*buff < buff_end) { in AppendChar()
44 static int AppendNumber(char **buff, const char *buff_end, u64 absolute_value, in AppendNumber() argument
56 result += AppendChar(buff, buff_end, '-'); in AppendNumber()
74 result += AppendChar(buff, buff_end, c); in AppendNumber()
76 if (negative && !pad_with_zero) result += AppendChar(buff, buff_end, '-'); in AppendNumber()
79 result += AppendChar(buff, buff_end, (digit < 10) ? '0' + digit in AppendNumber()
85 static int AppendUnsigned(char **buff, const char *buff_end, u64 num, u8 base, in AppendUnsigned() argument
87 return AppendNumber(buff, buff_end, num, base, minimal_num_length, in AppendUnsigned()
91 static int AppendSignedDecimal(char **buff, const char *buff_end, s64 num, in AppendSignedDecimal() argument
[all …]