Home
last modified time | relevance | path

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

/AliOS-Things-master/components/py_engine/engine/py/
A Dobjint.h52 char *mp_obj_int_formatted(char **buf, size_t *buf_size, size_t *fmt_size, mp_const_obj_t self_in,
54 char *mp_obj_int_formatted_impl(char **buf, size_t *buf_size, size_t *fmt_size, mp_const_obj_t self…
A Dmpprint.c261 size_t fmt_size = 0; in mp_print_mp_int() local
271 str = mp_obj_int_formatted(&buf, &buf_size, &fmt_size, in mp_print_mp_int()
275 fmt_size--; in mp_print_mp_int()
278 str = mp_obj_int_formatted(&buf, &buf_size, &fmt_size, in mp_print_mp_int()
290 int prec_width = fmt_size; // The digits in mp_print_mp_int()
330 len += mp_print_strn(print, str, fmt_size, flags, fill, width); in mp_print_mp_int()
A Dobjint.c186 size_t fmt_size; in mp_obj_int_print() local
188 char *str = mp_obj_int_formatted(&buf, &buf_size, &fmt_size, self_in, 10, NULL, '\0', '\0'); in mp_obj_int_print()
224 char *mp_obj_int_formatted(char **buf, size_t *buf_size, size_t *fmt_size, mp_const_obj_t self_in, in mp_obj_int_formatted() argument
243 …return mp_obj_int_formatted_impl(buf, buf_size, fmt_size, self_in, base, prefix, base_char, comma); in mp_obj_int_formatted()
298 *fmt_size = *buf + needed_size - b - 1; in mp_obj_int_formatted()
A Dobjint_mpz.c93 char *mp_obj_int_formatted_impl(char **buf, size_t *buf_size, size_t *fmt_size, mp_const_obj_t self… in mp_obj_int_formatted_impl() argument
105 *fmt_size = mpz_as_str_inpl(&self->mpz, base, prefix, base_char, comma, str); in mp_obj_int_formatted_impl()

Completed in 9 milliseconds