77b3625763
A GNU extension that returns dst + size instead of dst. It's a nice shortcut when copying strings with a known size or back-to-back blocks and you have to do it often. May of course be called directly or alternately through __builtin_mempcpy in some compiler versions. For ASM on native targets, it is implemented as an alternate entrypoint to memcpy which adds minimal code and overhead. Change-Id: I4cbb3483f6df3c1007247fe0a95fd7078737462b
25 lines
677 B
Text
25 lines
677 B
Text
ffs.c
|
|
memset16.c
|
|
#if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(HAVE_ROCKBOX_C_LIBRARY)
|
|
memcpy.c
|
|
memmove.c
|
|
memset.c
|
|
strlen.c
|
|
#endif
|
|
|
|
#if defined(WIN32) || defined(APPLICATION)
|
|
mempcpy.c
|
|
#endif
|
|
|
|
#if (defined(SANSA_E200) || defined(GIGABEAT_F) || defined(GIGABEAT_S) || \
|
|
defined(CREATIVE_ZVx) || defined(SANSA_CONNECT) || defined(SANSA_FUZEPLUS) || \
|
|
defined(COWON_D2) || defined(MINI2440) || defined(SAMSUNG_YPR0) || \
|
|
defined(SAMSUNG_YPR1) || (defined(MROBE_500) && !defined(LCD_USE_DMA)) || \
|
|
defined(CREATIVE_ZEN) || defined(CREATIVE_ZENXFI)) && \
|
|
!defined(SIMULATOR)
|
|
#if LCD_DEPTH == 24
|
|
lcd-as-memframe-24bit.c
|
|
#else
|
|
lcd-as-memframe.c
|
|
#endif
|
|
#endif
|