aboutsummaryrefslogtreecommitdiffstats
path: root/src/string (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-10-06Update e-mailMattias Andrée70-70/+70
Signed-off-by: Mattias Andrée <m@maandree.se>
2018-09-01m + strdup and strndup: use aligned_alloc(1, n) instead of malloc(n)Mattias Andrée2-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2018-05-17memcmp: compare unsigned charsMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-03-30whoops, wrong typeMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-03-30strfry: forgot to declare bMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-03-30strfry: reset n to max when the do..while loop resetsMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-03-26strfry: fix random int range boundary, document that srand should have been called, support huge strings, and use uniform randomMattias Andrée1-3/+32
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-03-26mMattias Andrée1-3/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-03-26strfry: fix support for empty stringsMattias Andrée1-2/+3
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-03-01derpMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-03-01strfry: use Durstenfeld's algorithm instead of Satallo's algorithmMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-02-29strfry: non-uniform random number generationMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-01-01bump yearMattias Andrée70-70/+70
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-27fix errors and warningsMattias Andrée7-2/+18
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-27fix errorsMattias Andrée1-22/+27
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-27suppress a bunch of warningsMattias Andrée1-0/+79
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-16fix issue #5 on githubMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-11-26docMattias Andrée1-3/+51
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-25tell in doc in which version things were introducedMattias Andrée69-0/+148
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-20add todoMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-20add optimised variants of *casecmpMattias Andrée1-0/+76
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-20more etymologyMattias Andrée2-0/+4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-19docMattias Andrée1-2/+32
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-18doc some new functionsMattias Andrée1-4/+48
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-18add more string.h and wchar.h functionsMattias Andrée1-0/+217
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-18whitespaceMattias Andrée1-1/+0
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-18add memmemmove, memmemcpy, wmemmemmove, and wmemmemcpyMattias Andrée1-0/+22
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-18typoMattias Andrée2-2/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-18fix errorsMattias Andrée8-8/+8
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-18implement additional string.h and wchar.h functionsMattias Andrée1-0/+418
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-18mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-17split out string/strn/ from string/str/Mattias Andrée15-0/+0
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-17m docMattias Andrée1-0/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-17m + split wchar/*.cMattias Andrée1-1/+0
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-17rearrange filesMattias Andrée62-0/+0
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-17add strsetMattias Andrée1-0/+39
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-17split strstr.c and strchr.cMattias Andrée18-343/+683
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-17move strerror*.c to new dir: strerror/Mattias Andrée4-0/+0
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-17m + typo + split (almost all) string/*.cMattias Andrée45-840/+1496
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-17split libgen.cMattias Andrée1-0/+52
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-11-13improve performance on strstr and wcsstr if the needle is one character wideMattias Andrée1-0/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-31docMattias Andrée1-0/+12
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-17fix errorsMattias Andrée4-37/+37
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-13fix strrchr bug, return the end of the string if c is 0Mattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-10add strstarts strends strcasestarts strcaseends wcsstarts wcsends wcscasestarts wcscaseendsMattias Andrée1-0/+84
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-10m docMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-09-03mMattias Andrée1-1/+0
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-09-03remove some todosMattias Andrée4-4/+0
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-09-02miscMattias Andrée1-2/+3
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-09-02add memcasecmp and wmemcasecmpMattias Andrée1-0/+29
Signed-off-by: Mattias Andrée <maandree@operamail.com>