bionic/libc/stdlib
André Goddard Rosa acdb052030 stdlib: optimize bsearch()
... by checking most probable condition first (elements do differ)

Change-Id: I424eab9c32a6d9eb82b686ca04025ec8c9097035
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
2010-03-28 21:18:56 -03:00
..
_rand48.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
assert.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
atexit.c Fix __eabi_atexit() implementation, as well as a bug in the BSD-originated __cxa_finalize() implementation 2009-05-20 11:42:52 +02:00
atexit.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
atoi.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
atol.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
atoll.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
bsearch.c stdlib: optimize bsearch() 2010-03-28 21:18:56 -03:00
ctype_.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
div.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
exit.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getenv.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
jrand48.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ldiv.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
lldiv.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
locale.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
lrand48.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mrand48.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
nrand48.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
putenv.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
qsort.c Revert "Add qsort_r() implementation to the C library." 2009-12-03 16:14:40 -08:00
seed48.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setenv.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setjmperr.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sha1hash.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
srand48.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strntoimax.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strntoumax.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strtod.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strtoimax.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strtol.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strtoll.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strtoul.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strtoull.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strtoumax.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
tolower_.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
toupper_.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
wchar.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00