summaryrefslogtreecommitdiffstats
path: root/libc/misc/regex/regexec.c
Commit message (Collapse)AuthorAgeFilesLines
* add hidden aliases for newer regex search functionsBernhard Reutner-Fischer2009-08-171-0/+2
| | | | | | | Fixes 3575b741754b391a27e33bb1866bdb29131b7fea which only changed the old impl but not the new one. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* new regex: stop confusing ourself with _LIBC being undefined;Denis Vlasenko2008-12-261-34/+16
| | | | | | | | | | | | | | | | | nuke one struct initializer which was invisibly becoming a memset - this improves speed by x2: test 0 pattern 0 '.?.?.?.?.?.?.?Log\.13' - 0.249795s + 0.133522s test 0 pattern 1 '(.?)(.?)(.?)(.?)(.?)(.?)(.?)Log\.13' - 0.360115s + 0.191959s text data bss dec hex filename - 515009 2731 15396 533136 82290 lib/libuClibc-0.9.30-svn.so + 514961 2727 15396 533084 8225c lib/libuClibc-0.9.30-svn.so
* regex: remove useless casts on allocations;Denis Vlasenko2008-12-261-11/+8
| | | | | | | | | | remove old-style-C function params declarations; change re_comp_buf from struct to pointer (more static build friendly) text data bss dec hex filename - 514952 2731 15424 533107 82273 lib/libuClibc-0.9.30-svn.so + 515011 2731 15396 533138 82292 lib/libuClibc-0.9.30-svn.so
* regex: drop __<funcname> aliases. remove much of unused code.Denis Vlasenko2008-12-261-41/+1
| | | | | | | | | shrink offset tables. disable "likely/unlikely" BE() macro. text data bss dec hex filename - 515032 2731 15424 533187 822c3 lib/libuClibc-0.9.30-svn.so + 515014 2731 15424 533169 822b1 lib/libuClibc-0.9.30-svn.so
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-231-5/+5
|
* - fix inline keywordBernhard Reutner-Fischer2008-07-231-1/+1
|
* Mark some functions as GNU, provide missing hidden memmem, remove ↵Peter S. Mazinger2006-03-221-1/+1
| | | | _ISOC99/XOPEN_SOURCE
* Sync w/ glibcPeter S. Mazinger2006-02-281-1/+1
|
* s/weak_alias/strong_alias/, only what I knew as needed are kept. We will now ↵Peter S. Mazinger2006-01-161-6/+6
| | | | see what libpthread will do ...
* make new regex code use __mempcpyPeter S. Mazinger2005-12-091-1/+1
|
* Correct regexecPeter S. Mazinger2005-11-281-0/+2
|
* Add new regex code from glibc, this is almost double size of the earlier ↵Peter S. Mazinger2005-11-281-0/+4335
one, but passes sed tests (and thus allows making sed shrink from 91k to 42k