Home
last modified time | relevance | path

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

/DragonOS-0.1.3/user/libs/libc/src/
Dprintf.c497 int js_num_z = 0, js_num_d = 0; // 临时数字字符串tmp_num_z tmp_num_d的长度 in write_float_point_num() local
502 tmp_num_z[js_num_z++] = '0'; in write_float_point_num()
508 tmp_num_z[js_num_z++] = digits[num_z % 10]; // 注意这里,输出的数字,是小端对齐的。低位存低位 in write_float_point_num()
519 field_width -= (precision + 1 + js_num_z); in write_float_point_num()
532 while (js_num_z > 0) in write_float_point_num()
534 *str++ = tmp_num_z[js_num_z - 1]; in write_float_point_num()
535 --js_num_z; in write_float_point_num()
/DragonOS-0.1.3/kernel/src/libs/
Dprintk.c530 …int js_num_z = 0, js_num_d = 0; // 临时数字字符串tmp_… in write_float_point_num() local
535 tmp_num_z[js_num_z++] = '0'; in write_float_point_num()
541 tmp_num_z[js_num_z++] = digits[num_z % 10]; // 注意这里,输出的数字,是小端对齐的。低位存低位 in write_float_point_num()
552 field_width -= (precision + 1 + js_num_z); in write_float_point_num()
563 while (js_num_z > 0) in write_float_point_num()
565 *str++ = tmp_num_z[js_num_z - 1]; in write_float_point_num()
566 --js_num_z; in write_float_point_num()