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
assert.h
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
diacritic.h
dir.h
dir_uncached.h Fix __PCTOOL__ dependencies on SIMULATOR 2012-03-03 18:54:47 +01:00
dircache.h
file.h Fix database tool. 2012-07-31 10:33:27 +02:00
font_cache.h
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
memset16.h
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
strcasestr.h
string-extra.h
strlcat.h
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
timefuncs.h Remove USB time sync code when there's no RTC. 2011-12-16 00:09:28 +00:00