Oopenvela-robotnuttx_header: add nuttx header file for dfxd
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
libc/lzfcompress: add lzf decompress stream This lib_lzfinstream supports seeking uncompressed files. It can seek backward, but if it seeks forward, the internal implementation will search from the beginning. examples: struct lib_filesistream_s rawstream; struct lib_lzfsistream_s lzfstream; lib_rawoutstream(&rawstream, fd); lib_lzfoutstream(&lzfstream, &rawstream); Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com> | 2 个月前 | |
libc/stream: add base64 encoded stream output Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com> | 2 个月前 | |
libc/lzfcompress: add lzf decompress stream This lib_lzfinstream supports seeking uncompressed files. It can seek backward, but if it seeks forward, the internal implementation will search from the beginning. examples: struct lib_filesistream_s rawstream; struct lib_lzfsistream_s lzfstream; lib_rawoutstream(&rawstream, fd); lib_lzfoutstream(&lzfstream, &rawstream); Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com> | 2 个月前 | |
stream: reduce int use, handle FS_LARGEFILE correctly. offset int -> offset, len int -> size_t, ret int -> ssize_t Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
libc/blkoutstream: When flushing, operate ioctrl to write data to the hardware Does not change the return value of blkoutstream_flush and does not perform ioctl return value judgment Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com> | 2 个月前 | |
stream: reduce int use, handle FS_LARGEFILE correctly. offset int -> offset, len int -> size_t, ret int -> ssize_t Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
printf: Add support for %a, %A, %n.a and %0n.a in printf() Implement POSIX standard %a and %A format specifiers. These specifiers output floating-point numbers in hexadecimal scientific notation, e.g., 0x1.ffffp+127. Signed-off-by: anpeiyun <anpeiyun@xiaomi.com> | 2 个月前 | |
fix the tasking compilation issue. tasking Compiler error: ctc W563: ["/home/mi/code/specific product-bmp-debug/nuttx/libs/libc/stream/lib_dtoa_engine.c" 120/51] '##' does not produce a valid preprocessing token ctc W563: ["/home/mi/code/specific product-bmp-debug/nuttx/libs/libc/stream/lib_dtoa_engine.c" 121/51] '##' does not produce a valid preprocessing token ctc W563: ["/home/mi/code/specific product-bmp-debug/nuttx/libs/libc/stream/lib_dtoa_engine.c" 123/47] '##' does not produce a valid preprocessing token ctc E335: ["/home/mi/code/specific product-bmp-debug/nuttx/libs/libc/stream/lib_dtoa_engine.c" 120/51] invalid constant ctc E259: ["/home/mi/code/specific product-bmp-debug/nuttx/libs/libc/stream/lib_dtoa_engine.c" 120/51] not a function ctc E335: ["/home/mi/code/specific product-bmp-debug/nuttx/libs/libc/stream/lib_dtoa_engine.c" 121/51] invalid constant ctc E259: ["/home/mi/code/specific product-bmp-debug/nuttx/libs/libc/stream/lib_dtoa_engine.c" 121/51] not a function ctc E335: ["/home/mi/code/specific product-bmp-debug/nuttx/libs/libc/stream/lib_dtoa_engine.c" 123/47] invalid constant ctc E259: ["/home/mi/code/specific product-bmp-debug/nuttx/libs/libc/stream/lib_dtoa_engine.c" 123/47] not a function 6 errors, 3 warnings Signed-off-by: anpeiyun <anpeiyun@xiaomi.com> | 2 个月前 | |
printf: Add support for %a, %A, %n.a and %0n.a in printf() Implement POSIX standard %a and %A format specifiers. These specifiers output floating-point numbers in hexadecimal scientific notation, e.g., 0x1.ffffp+127. Signed-off-by: anpeiyun <anpeiyun@xiaomi.com> | 2 个月前 | |
libc/stream: Fix the typo error Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
libc/filesistream: Modify the judgment condition An unsigned long will never be less than 0, and static scanning reveals issues Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com> | 2 个月前 | |
stream: reduce int use, handle FS_LARGEFILE correctly. offset int -> offset, len int -> size_t, ret int -> ssize_t Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
libc: fix void pointer arithmetic issue libs\libc\stream\lib_filesistream.c(70,11): error C2036: 'void *': unknown size libs\libc\stream\lib_libbsprintf.c(201,26): error C2036: 'void *': unknown size Signed-off-by: chenxiaoyi <chenxiaoyi@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
libc: lib_osprintf adds %pV support Signed-off-by: yinshengkai <yinshengkai@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
libc/scanf: Fix %p pointer conversion for 64-bit systems The %p format specifier in sscanf was not properly handling pointer sizes on 64-bit systems. Without an explicit length modifier, the conversion defaulted to 'unsigned int' (typically 4 bytes), causing the upper 32 bits of 64-bit pointers to be truncated. This patch adds automatic modifier selection based on pointer size before processing the %p conversion. The modifier is set according to sizeof(void *): - 2 bytes -> H_MOD (short) - 4 bytes -> NO_MOD (int) - 8 bytes -> L_MOD (long) or LL_MOD (long long) The %p case in the switch statement continues to share the hexadecimal parsing logic with %x and %X, but now uses the correct type based on the platform's pointer size. This ensures that sscanf("%p", &ptr) correctly reads the full pointer value on both 32-bit and 64-bit architectures. Signed-off-by: liaoao <liaoao@xiaomi.com> | 2 个月前 | |
printf: fix printing error when the format specifier is "%*.f". For %f with zero precision, omit decimal point and round to integer. For example: printf("%*.f",-14,321.7654321); The true output is "322" intead of "321" Signed-off-by: anpeiyun <anpeiyun@xiaomi.com> | 2 个月前 | |
syslog: Support lowsyslog. This commit added support for lowsyslog. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 2 个月前 | |
stream: reduce int use, handle FS_LARGEFILE correctly. offset int -> offset, len int -> size_t, ret int -> ssize_t Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
libc/lzfcompress: add lzf decompress stream This lib_lzfinstream supports seeking uncompressed files. It can seek backward, but if it seeks forward, the internal implementation will search from the beginning. examples: struct lib_filesistream_s rawstream; struct lib_lzfsistream_s lzfstream; lib_rawoutstream(&rawstream, fd); lib_lzfoutstream(&lzfstream, &rawstream); Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com> | 2 个月前 | |
stream: reduce int use, handle FS_LARGEFILE correctly. offset int -> offset, len int -> size_t, ret int -> ssize_t Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
nuttx_header: add nuttx header file for dfxd Signed-off-by: yezhonghui <yezhonghui@xiaomi.com> | 2 个月前 | |
stream: Fix lib_sistream_s gets type error Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com> | 2 个月前 | |
stream: reduce int use, handle FS_LARGEFILE correctly. offset int -> offset, len int -> size_t, ret int -> ssize_t Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
blk/mtdoutstream: should flush before free Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
blk/mtdoutstream: should flush before free Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
stream: reduce int use, handle FS_LARGEFILE correctly. offset int -> offset, len int -> size_t, ret int -> ssize_t Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
stream: reduce int use, handle FS_LARGEFILE correctly. offset int -> offset, len int -> size_t, ret int -> ssize_t Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
stream: reduce int use, handle FS_LARGEFILE correctly. offset int -> offset, len int -> size_t, ret int -> ssize_t Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
stream: reduce int use, handle FS_LARGEFILE correctly. offset int -> offset, len int -> size_t, ret int -> ssize_t Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
stream: Fix lib_sistream_s gets type error Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com> | 2 个月前 | |
stream: reduce int use, handle FS_LARGEFILE correctly. offset int -> offset, len int -> size_t, ret int -> ssize_t Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
stream_getc: use lib_stream_eof instead of EOF Will case scanftest break #14778, at " %4c%n" case. Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
stream: reduce int use, handle FS_LARGEFILE correctly. offset int -> offset, len int -> size_t, ret int -> ssize_t Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
stream: Fix lib_sistream_s gets type error Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com> | 2 个月前 | |
stream: reduce int use, handle FS_LARGEFILE correctly. offset int -> offset, len int -> size_t, ret int -> ssize_t Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
libc/syslograwstream: Use memrchr to locate the newline character for output to avoid log disorder. If no newline character is found, and the buffer is full, forced output is required; if the buffer is not full, output is performed according to the newline character to prevent log disorder. Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com> | 2 个月前 | |
stream: reduce int use, handle FS_LARGEFILE correctly. offset int -> offset, len int -> size_t, ret int -> ssize_t Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
libc: Move stream printf/scanf from libc/stdio to libc/stream to keep all related code in one place Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
libc: Move stream printf/scanf from libc/stdio to libc/stream to keep all related code in one place Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
stream: reduce int use, handle FS_LARGEFILE correctly. offset int -> offset, len int -> size_t, ret int -> ssize_t Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 |