Home
last modified time | relevance | path

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

/DragonOS/kernel/src/libs/
H A Dprintk.c440 int js_num = 0; // 临时数字字符串tmp_num的长度 in write_num() local
443 tmp_num[js_num++] = '0'; in write_num()
450 tmp_num[js_num++] = digits[num % base]; // 注意这里,输出的数字,是小端对齐的。低位存低位 in write_num()
455 if (js_num > precision) in write_num()
456 precision = js_num; in write_num()
478 while (js_num < precision) in write_num()
484 while (js_num-- > 0) in write_num()
485 *str++ = tmp_num[js_num]; in write_num()