plan9fox/sys/include/ape
cinap_lenrek 1787584ad8 libdraw: avoid BPSHORT()/BPLONG() expansion, cleanup loadchar(),cachechars()
assigning the expression value to a temporary variable in
BPSHORT() and BPLONG() saves arround 2K of text in rio on
arm and arround 1K on amd64.

loadchar(): use the passed in "h" as the char index instead
of recomputing it from c-f->cache. dont recompute wid.

cachechars(): do cache lookup and find oldest entry in a
single loop pass.
2016-04-13 00:34:48 +02:00
..
arpa
netinet
sys ape: include <sys/types.h> in <sys/wait.h> for pid_t (thanks jens staal) 2015-05-27 21:48:42 +02:00
ar.h
assert.h
auth.h ape: add libauth, libbio, libmp and libsec as replacements for openssl 2016-04-11 20:23:34 +02:00
bio.h ape: add libauth, libbio, libmp and libsec as replacements for openssl 2016-04-11 20:23:34 +02:00
bsd.h ape: move strdup() from libbsd to libap (from sources) 2013-12-28 05:14:10 +01:00
bzlib.h
ctype.h
cursor.h
dirent.h
draw.h libdraw: avoid BPSHORT()/BPLONG() expansion, cleanup loadchar(),cachechars() 2016-04-13 00:34:48 +02:00
errno.h
error.h
event.h
fcntl.h
fmt.h
grp.h
inttypes.h ape: add stdint.h, fix SSIZE_MAX and add SIZE_MAX to limits.h 2015-07-13 02:36:48 +02:00
keyboard.h
lib9.h
libl.h
libnet.h
libsec.h ape: add libauth, libbio, libmp and libsec as replacements for openssl 2016-04-11 20:23:34 +02:00
libv.h
limits.h ape: add stdint.h, fix SSIZE_MAX and add SIZE_MAX to limits.h 2015-07-13 02:36:48 +02:00
locale.h
lock.h reverting semaphore lock changes from sources (r41ccd6d221da, rb28756e5ba29) 2013-09-26 22:24:31 +02:00
mouse.h
mp.h ape: add libauth, libbio, libmp and libsec as replacements for openssl 2016-04-11 20:23:34 +02:00
netdb.h
Plan9libnet.h
pwd.h
qlock.h
regexp.h
select.h
setjmp.h
signal.h
stddef.h
stdint.h ape: add stdint.h, fix SSIZE_MAX and add SIZE_MAX to limits.h 2015-07-13 02:36:48 +02:00
stdio.h
stdlib.h ape: set MB_CUR_MAX to 4 in stdlib.h for 21-bit runes (thanks erik quanstro) 2015-09-29 15:17:21 +02:00
string.h ape: move strdup() from libbsd to libap (from sources) 2013-12-28 05:14:10 +01:00
termios.h
time.h ape: implement altzone for tzset() 2015-08-04 02:01:41 +02:00
u.h ape: add libauth, libbio, libmp and libsec as replacements for openssl 2016-04-11 20:23:34 +02:00
unistd.h
utf.h change Rune from ushort to uint for to 21 bit runes (thanks mischief!) 2013-10-17 12:02:45 +02:00
utime.h
zlib.h