diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-11-10 09:38:50 -0500 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2022-11-12 06:22:16 -0500 |
commit | c756a8a89d6970090b060a179dcabb93a67d8f21 (patch) | |
tree | 868fa2b1393c512ecfa445688635ada71086dea7 /firmware/SOURCES | |
parent | dd1fbd51fc7bb3fa7237b3bc34335e99bef29e35 (diff) | |
download | rockbox-c756a8a89d6970090b060a179dcabb93a67d8f21.tar.gz rockbox-c756a8a89d6970090b060a179dcabb93a67d8f21.zip |
make splash split on control characters
splits on spaces also considers \r\n\f\v\t as mandatory breaks
I'm still working on the strptokspn function
my goal is to use it directly rather than storing the matched char
and modifying the source string with \0 in order to tokenize the output
--Done
Change-Id: I7f378b5b9c4df8f10899b9a55a98950afb3931dc
Diffstat (limited to 'firmware/SOURCES')
-rw-r--r-- | firmware/SOURCES | 64 |
1 files changed, 33 insertions, 31 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES index bbd67631a9..4aa7c38daf 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES | |||
@@ -205,39 +205,10 @@ target/hosted/samsungypr/ypr1/wmcodec-ypr1.c | |||
205 | target/hosted/maemo/maemo-thread.c | 205 | target/hosted/maemo/maemo-thread.c |
206 | #endif | 206 | #endif |
207 | 207 | ||
208 | /* Standard library */ | ||
209 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(__MINGW32__) || defined(__CYGWIN__) | ||
210 | libc/strtok.c | ||
211 | #endif /* PLATFORM_NATIVE || __MINGW32__ || __CYGWIN__ */ | ||
212 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(HAVE_ROCKBOX_C_LIBRARY) | ||
213 | libc/atoi.c | ||
214 | libc/errno.c | ||
215 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) | ||
216 | /* our ctype.[ch] comes from newlib and is incompitble with most desktop's ctype */ | ||
217 | libc/ctype.c | ||
218 | /* alsa on linux requires a more advanced sprintf, i.e. not ours */ | ||
219 | libc/sprintf.c | ||
220 | #endif | ||
221 | |||
222 | libc/memchr.c | ||
223 | libc/memcmp.c | ||
224 | |||
225 | libc/qsort.c | ||
226 | libc/random.c | ||
227 | libc/strcat.c | ||
228 | libc/strchr.c | ||
229 | libc/strcmp.c | ||
230 | libc/strcpy.c | ||
231 | |||
232 | libc/strncmp.c | ||
233 | libc/strrchr.c | ||
234 | libc/strstr.c | ||
235 | libc/mktime.c | ||
236 | libc/gmtime.c | ||
237 | #endif /* CONFIG_PLATFORM || HAVE_ROCKBOX_C_LIBRARY */ | ||
238 | |||
239 | /* Common */ | 208 | /* Common */ |
240 | #ifndef BOOTLOADER | 209 | #ifndef BOOTLOADER |
210 | common/strptokspn.c | ||
211 | #define HAVE_STRTOK_R | ||
241 | common/ap_int.c | 212 | common/ap_int.c |
242 | #endif | 213 | #endif |
243 | common/version.c | 214 | common/version.c |
@@ -277,6 +248,37 @@ common/zip.c | |||
277 | common/adler32.c | 248 | common/adler32.c |
278 | common/inflate.c | 249 | common/inflate.c |
279 | 250 | ||
251 | /* Standard library */ | ||
252 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(__MINGW32__) || defined(__CYGWIN__) | ||
253 | libc/strtok.c | ||
254 | #endif /* PLATFORM_NATIVE || __MINGW32__ || __CYGWIN__ */ | ||
255 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(HAVE_ROCKBOX_C_LIBRARY) | ||
256 | libc/atoi.c | ||
257 | libc/errno.c | ||
258 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) | ||
259 | /* our ctype.[ch] comes from newlib and is incompitble with most desktop's ctype */ | ||
260 | libc/ctype.c | ||
261 | /* alsa on linux requires a more advanced sprintf, i.e. not ours */ | ||
262 | libc/sprintf.c | ||
263 | #endif | ||
264 | |||
265 | libc/memchr.c | ||
266 | libc/memcmp.c | ||
267 | |||
268 | libc/qsort.c | ||
269 | libc/random.c | ||
270 | libc/strcat.c | ||
271 | libc/strchr.c | ||
272 | libc/strcmp.c | ||
273 | libc/strcpy.c | ||
274 | |||
275 | libc/strncmp.c | ||
276 | libc/strrchr.c | ||
277 | libc/strstr.c | ||
278 | libc/mktime.c | ||
279 | libc/gmtime.c | ||
280 | #endif /* CONFIG_PLATFORM || HAVE_ROCKBOX_C_LIBRARY */ | ||
281 | |||
280 | /* Display */ | 282 | /* Display */ |
281 | scroll_engine.c | 283 | scroll_engine.c |
282 | 284 | ||