Home
last modified time | relevance | path

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

/DragonOS-0.1.7/user/libs/libc/src/
Dprintf.c499 int js_num_z = 0, js_num_d = 0; // 临时数字字符串tmp_num_z tmp_num_d的长度 in write_float_point_num() local
504 tmp_num_z[js_num_z++] = '0'; in write_float_point_num()
510 tmp_num_z[js_num_z++] = digits[num_z % 10]; // 注意这里,输出的数字,是小端对齐的。低位存低位 in write_float_point_num()
521 field_width -= (precision + 1 + js_num_z); in write_float_point_num()
534 while (js_num_z > 0) in write_float_point_num()
536 *str++ = tmp_num_z[js_num_z - 1]; in write_float_point_num()
537 --js_num_z; in write_float_point_num()
/DragonOS-0.1.7/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()