busybox/miscutils
Denys Vlasenko 7d62801db9 bc: create a few common functions
function                                             old     new   delta
bc_char_vec_init                                       -      12     +12
bc_vec_pop_all                                         -       8      +8
bc_program_index                                      64      66      +2
bc_vec_string                                         64      61      -3
bc_vec_free                                           27      24      -3
bc_read_line                                         317     314      -3
bc_program_execStr                                   564     561      -3
bc_program_exec                                     4153    4150      -3
bc_program_copyToVar                                 340     336      -4
bc_parse_create                                      175     170      -5
dc_lex_token                                         705     699      -6
bc_program_reset                                      78      72      -6
bc_lex_number                                        305     299      -6
bc_program_read                                      353     343     -10
bc_program_addFunc                                   225     209     -16
bc_vm_run                                           1942    1924     -18
bc_parse_reset                                       181     163     -18
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 1/14 up/down: 22/-104)          Total: -82 bytes
   text	   data	    bss	    dec	    hex	filename
 987600	    485	   7296	 995381	  f3035	busybox_old
 987518	    485	   7296	 995299	  f2fe3	busybox_unstripped

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-12-05 15:43:35 +01:00
..
adjtimex.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
bbconfig.c libarchive: add a function to unpack embedded data 2018-11-02 14:14:51 +01:00
bc.c bc: create a few common functions 2018-12-05 15:43:35 +01:00
beep.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
chat.c chat: do not die when HANGUP param is missing. Closes 10016 2017-09-05 19:16:40 +02:00
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
conspy.c getopt32: remove applet_long_options 2017-08-08 17:09:40 +02:00
crond.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
crontab.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
dc.c bc: new applet, throws warning 2018-12-05 15:40:38 +01:00
devfsd.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
devmem.c whitespace and comment format fixes, no code changes 2017-10-05 14:40:24 +02:00
fbsplash.c fbsplash: support configurable image position 2018-03-29 18:42:11 +02:00
fbsplash.cfg
flash_eraseall.c libbb: commonalize a bit of little-endian CRC32 table generation code 2018-02-01 10:56:19 +01:00
flash_lock_unlock.c whitespace and comment format fixes, no code changes 2017-10-05 15:33:28 +02:00
flashcp.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
hdparm.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
hexedit.c hexedit: fixes for redraw and down movement causing SEGV on attempt to access 2018-07-23 14:26:55 +02:00
i2c_tools.c xargs: use bb_ask_y_confirmation_FILE() instead of homegrown copy 2018-04-07 15:23:10 +02:00
inotifyd.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
Kbuild.src Remove trailing empty lines 2016-11-23 10:43:39 +01:00
less.c less: fix fallout from "use common routine to set raw termios" 2018-04-16 10:24:48 +02:00
lsscsi.c lsscsi: fix xchdir("..") from symlink in /sys/bus/scsi/devices 2017-10-22 10:43:43 +02:00
makedevs.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
man.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
microcom.c less,microcom,lineedit: use common routine to set raw termios 2017-09-15 17:14:01 +02:00
mt.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
nandwrite.c nandwrite: cope with old headers which have no MTD_FILE_MODE_RAW 2018-01-14 13:43:31 +01:00
partprobe.c partprobe: make it NOEXEC 2017-08-05 01:46:39 +02:00
raidautorun.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
readahead.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
rfkill.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
runlevel.c runlevel: make it NOEXEC 2017-08-04 17:59:46 +02:00
rx.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
setfattr.c config: add size estimations for a few applets 2018-01-14 12:03:33 +01:00
setserial.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
strings.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
time.c libbb.h: always include sys/resource.h 2018-04-08 17:23:27 +02:00
ttysize.c new NOFORKs: pwdx,kill[all5],ttysize,realpath,readlink NOEXECs: date,resize 2017-08-03 19:03:32 +02:00
ubi_tools.c whitespace and comment format fixes, no code changes 2017-10-05 15:33:28 +02:00
ubirename.c ubi tools: ubiupdatevol supports "-" input and actually respects -s SIZE 2017-08-07 16:00:25 +02:00
volname.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
watchdog.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00