Home
last modified time | relevance | path

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

/DragonOS-0.1.3/user/libs/libc/src/
Dprintf.c407 int js_num = 0; // 临时数字字符串tmp_num的长度 in write_num() local
410 tmp_num[js_num++] = '0'; in write_num()
417 tmp_num[js_num++] = digits[num % base]; // 注意这里,输出的数字,是小端对齐的。低位存低位 in write_num()
422 if (js_num > precision) in write_num()
423 precision = js_num; in write_num()
445 while (js_num < precision) in write_num()
451 while (js_num-- > 0) in write_num()
452 *str++ = tmp_num[js_num]; in write_num()
/DragonOS-0.1.3/kernel/src/libs/
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()