nuttx/libs/libc/stdio
Xiang Xiao 7568a0df22 libc/stdio: Don't count the output length repeatly in vsprintf_internal
let's reuse the counting from lib_outstream_s::nput instead

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-27 22:59:21 +01:00
..
Kconfig libc/stdio: Let STDIO_DISABLE_BUFFERING depends on FILE_STREAM 2022-09-22 17:41:05 +02:00
lib_asprintf.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
lib_clearerr.c stdio/lib_clearerr: Did not clear stream buffer flags in clearerr 2021-03-17 03:15:17 -07:00
lib_dprintf.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
lib_dtoa_data.c
lib_dtoa_engine.c libc/stream: Rename lib_stream_[put|get]c to lib_stream_[put|get] 2022-11-27 22:59:21 +01:00
lib_dtoa_engine.h Remove the unnecessary math.h inclusion 2021-04-12 22:58:23 -04:00
lib_fclose.c libc/stdio: Remove the one line mutex wrapper 2022-11-09 21:38:10 +01:00
lib_feof.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
lib_ferror.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
lib_fflush.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
lib_fgetc.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
lib_fgetpos.c lib/stdio: Handle 64bits off_t correctly 2021-11-18 10:06:27 -05:00
lib_fgets.c libc/gets: Remove the unnecessary cast 2021-11-27 16:07:39 -03:00
lib_fileno.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
lib_fopen.c fs: Make the binary(no process) mode as the default 2022-06-07 20:22:26 +03:00
lib_fprintf.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
lib_fputc.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
lib_fputs.c Fix -Werror=nonnull-compare and -Werror=format-truncation= 2022-03-02 15:55:38 +08:00
lib_fread.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
lib_freopen.c freopen: Added flush of the read buffers. 2022-10-18 23:29:55 +08:00
lib_fscanf.c NuttX: Johannes Schock: update licenses to Apache 2021-04-01 12:13:12 -05:00
lib_fseek.c lib/stdio: Handle 64bits off_t correctly 2021-11-18 10:06:27 -05:00
lib_fseeko.c lib/stdio: Handle 64bits off_t correctly 2021-11-18 10:06:27 -05:00
lib_fsetpos.c lib/stdio: Handle 64bits off_t correctly 2021-11-18 10:06:27 -05:00
lib_ftell.c lib/stdio: Handle 64bits off_t correctly 2021-11-18 10:06:27 -05:00
lib_ftello.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_fwrite.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
lib_getc.c
lib_getchar.c libc: Make perror/putchar/getchar/puts work without CONFIG_FILE_STREAM 2021-11-18 06:29:09 -08:00
lib_getdelim.c fs/vfs: Add file descriptor based timers support 2021-12-20 04:00:20 -06:00
lib_gets_s.c libc/gets: Remove the unnecessary cast 2021-11-27 16:07:39 -03:00
lib_gets.c libc/gets: Remove the unnecessary cast 2021-11-27 16:07:39 -03:00
lib_libdtoa.c
lib_libfflush.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_libfgets.c lib_fgets: don't check for printability, as it doesn't allow to work with extended ASCII 2021-04-07 08:29:46 -03:00
lib_libfilelock.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_libflushall.c libc/stdio: Remove the one line mutex wrapper 2022-11-09 21:38:10 +01:00
lib_libfread.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_libfwrite.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_libsprintf.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
lib_libstream.c libc/stdio: Remove the one line mutex wrapper 2022-11-09 21:38:10 +01:00
lib_libvscanf.c libc/stream: Rename lib_stream_[put|get]c to lib_stream_[put|get] 2022-11-27 22:59:21 +01:00
lib_libvsprintf.c libc/stdio: Don't count the output length repeatly in vsprintf_internal 2022-11-27 22:59:21 +01:00
lib_perror.c libc: Make perror/putchar/getchar/puts work without CONFIG_FILE_STREAM 2021-11-18 06:29:09 -08:00
lib_printf.c
lib_putc.c
lib_putchar.c libc: Make perror/putchar/getchar/puts work without CONFIG_FILE_STREAM 2021-11-18 06:29:09 -08:00
lib_puts.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_rdflush.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_remove.c libs: Author Sebastien Lorquet: update licenses to Apache 2021-03-20 19:22:58 -07:00
lib_rewind.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_scanf.c NuttX: Johannes Schock: update licenses to Apache 2021-04-01 12:13:12 -05:00
lib_setbuf.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
lib_setvbuf.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_snprintf.c libs: nxstyle fixes 2021-03-03 18:52:53 -08:00
lib_sprintf.c libc/stdio: Move source files to the right Makefile section 2021-11-19 08:21:27 -03:00
lib_sscanf.c NuttX: Johannes Schock: update licenses to Apache 2021-04-01 12:13:12 -05:00
lib_tempnam.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
lib_tmpfile.c
lib_tmpnam.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
lib_ultoa_invert.c Revert "libc/stdio: enable long long formating by CONFIG_HAVE_LONG_LONG" 2022-07-20 18:06:29 +03:00
lib_ultoa_invert.h Revert "libc/stdio: enable long long formating by CONFIG_HAVE_LONG_LONG" 2022-07-20 18:06:29 +03:00
lib_ungetc.c libs/libc/stdio: fix ungetc operation 2022-10-14 23:29:38 +08:00
lib_vasprintf.c lib/vasprintf: Shouldn't call va_end(ap) to avoid the double free 2021-10-11 16:39:44 -03:00
lib_vdprintf.c libs: fix nxstyle errors 2021-04-02 11:12:25 -05:00
lib_vfprintf.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_vfscanf.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_vprintf.c
lib_vscanf.c
lib_vsnprintf.c libs: Gregory Nutt: update licenses to Apache 2021-04-02 11:12:25 -05:00
lib_vsprintf.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
lib_vsscanf.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_wrflush.c libs: Author Gregory Nutt: update licenses to Apache 2021-03-03 18:52:53 -08:00
Make.defs libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00