Home
last modified time | relevance | path

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

/DragonOS-0.1.7/user/libs/libc/src/
Dprintf.c409 int js_num = 0; // 临时数字字符串tmp_num的长度 in write_num() local
412 tmp_num[js_num++] = '0'; in write_num()
419 tmp_num[js_num++] = digits[num % base]; // 注意这里,输出的数字,是小端对齐的。低位存低位 in write_num()
424 if (js_num > precision) in write_num()
425 precision = js_num; in write_num()
447 while (js_num < precision) in write_num()
453 while (js_num-- > 0) in write_num()
454 *str++ = tmp_num[js_num]; in write_num()
/DragonOS-0.1.7/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()