rockbox/firmware/include
Thomas Martitz af4e408555 buflib: Change buflib_available() and add buflib_allocatable().
buflib_allocatable() is what buflib_available() was before (it was in fact
simply renamed). It returns the largest contiguous block of memory. This
can be allocated and will definitely succeed, although larger allocations
may also succeed if the buffer can be compacted and shrinked.

buflib_available() now counts all free bytes, contiguous or not. This
better matches the description and how the caller use it.

Change-Id: I511e4eb5f4cf1821d957b3f4ef8a685ce40fe289
Reviewed-on: http://gerrit.rockbox.org/481
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
Tested-by: Thomas Martitz <kugel@rockbox.org>
2013-07-07 10:46:07 +02:00
..
_ansi.h Move some gcc extensions to new gcc_extensions.h header 2010-07-25 14:44:29 +00:00
assert.h strncpy.c / assert.h : need to include _ansi.h 2010-07-25 14:53:06 +00:00
buflib.h buflib: Change buflib_available() and add buflib_allocatable(). 2013-07-07 10:46:07 +02:00
core_alloc.h buflib: Change buflib_available() and add buflib_allocatable(). 2013-07-07 10:46:07 +02:00
crc32-mi4.h
crc32-rkw.h Add RKW firmware file format loader 2012-03-04 00:34:26 +01:00
crc32.h
dbgcheck.h Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). 2010-06-21 16:53:00 +00:00
diacritic.h FS#11187 - diacritic.c is in 'drivers' but it does not belong there 2010-04-07 20:41:18 +00:00
dir.h Also PREFIX() other filesystem functions. I hope I got them all now... 2010-12-29 20:10:11 +00:00
dir_uncached.h Fix __PCTOOL__ dependencies on SIMULATOR 2012-03-03 18:54:47 +01:00
dircache.h Dircache: Allow dircache to be enabled without reboot. 2011-08-30 21:07:46 +00:00
file.h Fix database tool. 2012-07-31 10:33:27 +02:00
font_cache.h font_cache.c: Optimize and simplify cache search. ~25% font rendering boost 2011-10-16 20:17:44 +00:00
format.h format() (and its alias vuprintf) return values are uncheck -> void 2010-09-20 08:55:45 +00:00
gcc_extensions.h Add a NO_INLINE attribute to gcc_extensions. 2012-04-26 16:04:43 -04:00
loader_strerror.h Move load_firmware() to separate file 2013-06-27 13:50:11 +02:00
lru.h Finish r30818 revert 2011-10-22 08:23:52 +00:00
memset16.h Move memset6() declaration to string-extra.h, kills a warning compiling for android since it ships a memory.h. 2010-08-12 13:55:01 +00:00
rb-loader.h Move load_firmware() to separate file 2013-06-27 13:50:11 +02:00
rbunicode.h Add support for cp1252 (Western European) codepage. 2012-05-19 01:42:53 +02:00
strcasecmp.h Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
strcasestr.h Fix tabs in .c and .h files in firmware/ 2011-05-08 11:37:18 +00:00
string-extra.h Move memset6() declaration to string-extra.h, kills a warning compiling for android since it ships a memory.h. 2010-08-12 13:55:01 +00:00
strlcat.h Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
strlcpy.h Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
strnatcmp.h Commit FS#8314. This adds strnat[case]cmp written by Martin Pool, which respects numbers within strings, and gives a more intuitive 2009-03-01 17:55:59 +00:00
strtok_r.h Make the sim buildable with mingw again 2010-05-14 22:57:52 +00:00
timefuncs.h Remove USB time sync code when there's no RTC. 2011-12-16 00:09:28 +00:00