Home
last modified time | relevance | path

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

/lk-master/external/lib/lwip/core/
A Dmemp.c226 char digit[] = "0"; in memp_overflow_check_element_overflow() local
228 digit[0] = '0' + (memp_type/10); in memp_overflow_check_element_overflow()
229 strcat(errstr, digit); in memp_overflow_check_element_overflow()
231 digit[0] = '0' + (memp_type%10); in memp_overflow_check_element_overflow()
232 strcat(errstr, digit); in memp_overflow_check_element_overflow()
259 char digit[] = "0"; in memp_overflow_check_element_underflow() local
261 digit[0] = '0' + (memp_type/10); in memp_overflow_check_element_underflow()
262 strcat(errstr, digit); in memp_overflow_check_element_underflow()
264 digit[0] = '0' + (memp_type%10); in memp_overflow_check_element_underflow()
265 strcat(errstr, digit); in memp_overflow_check_element_underflow()
/lk-master/lib/libc/
A Dprintf.c116 int digit = n % 10; in longlong_to_string() local
120 buf[--pos] = digit + '0'; in longlong_to_string()
145 unsigned int digit = u % 16; in longlong_to_hexstring() local
148 buf[--pos] = table[digit]; in longlong_to_hexstring()
184 uint digit = (uint32_t)exponent % 10; in exponent_to_string() local
186 buf[--i] = digit + '0'; in exponent_to_string()
273 uint digit = frac % 10; in double_to_string() local
275 buf[--i] = digit + '0'; in double_to_string()
348 uint digit = (fraction >> i) & 0xf; in double_to_hexstring() local
350 if (digit == 0) { in double_to_hexstring()
[all …]
/lk-master/external/platform/pico/rp2_common/pico_printf/
A Dprintf.c292 const char digit = (char) (value % base); in _ntoa_long() local
293 … buf[len++] = digit < 10 ? '0' + digit : (flags & FLAGS_UPPERCASE ? 'A' : 'a') + digit - 10; in _ntoa_long()
319 const char digit = (char) (value % base); in _ntoa_long_long() local
320 … buf[len++] = digit < 10 ? '0' + digit : (flags & FLAGS_UPPERCASE ? 'A' : 'a') + digit - 10; in _ntoa_long_long()

Completed in 6 milliseconds