summaryrefslogtreecommitdiff
path: root/sal/rtl
AgeCommit message (Expand)AuthorFilesLines
46 hoursclang-tidy modernize-pass-by-value in salNoel Grandin1-3/+4
6 daysUse calloc instead of malloc and memsetdante1-4/+2
8 daysRevert "Disable -fsanitize=float-divide-by-zero in rtl_math_atanh"Stephan Bergmann1-3/+0
8 daystdf#148430 Use atanh from <cmath> instead of our ownofftkp1-1/+1
2022-05-03add o3tl::matchIgnoreAsciiCaseNoel Grandin1-4/+4
2022-04-15Introduce rtl::createUriCharClassStephan Bergmann1-133/+26
2022-04-12loplugin:stringview more o3tl conversionNoel Grandin1-2/+2
2022-04-10Move impl functions to the only place they are usedMike Kaganski3-38/+34
2022-04-10loplugin:stringview check for getToken and trimNoel Grandin1-2/+3
2022-04-01Use some more string_viewStephan Bergmann1-18/+20
2022-03-22tdf#145614 Convert #define to enum or constexprDeep171-2/+2
2022-03-21Removed duplicated includesAndrea Gelmini1-1/+0
2022-03-21Move implementation of doubleToString to sal/rtl/strtmpl.hxxMike Kaganski4-492/+387
2022-03-21Reorganize the code a bit to drop some detail::* helper functionsMike Kaganski2-139/+117
2022-03-18tdf#145614 Convert #define to enum or constexprDeep171-2/+2
2022-03-11Remove redundant checkStephan Bergmann1-7/+0
2022-03-09Drop misguided test added in 82a1d32d3d3ac1b4b0a6d4cfaca791c77d9b3c03Mike Kaganski1-0/+1
2022-03-09Simplify getTokenMike Kaganski1-37/+26
2022-03-05Add checks to avoid finding empty substring / zero characterMike Kaganski1-0/+9
2022-03-03Deduplicate some char replacement functionsMike Kaganski3-125/+47
2022-03-03Use a more conventional begin() / end() syntaxMike Kaganski1-17/+23
2022-03-02Unify normal/shortened, null-terminated/with-length comparisonsMike Kaganski3-165/+131
2022-03-02Drop useless indirection and unused templateMike Kaganski3-62/+20
2022-03-02Unify and deduplicate to[U]Int[_WithLength]Mike Kaganski1-89/+56
2022-03-01No need to memset the allocated buffer in new_WithLengthMike Kaganski1-3/+1
2022-02-28Use 'assert' where appropriateMike Kaganski1-2/+2
2022-02-28Deduplicate string buffer codeMike Kaganski5-303/+162
2022-02-27More replacement functions deduplicationMike Kaganski1-86/+46
2022-02-27Unify creation of character string copyMike Kaganski3-87/+34
2022-02-27Deduplicate newToAscii*CaseMike Kaganski3-129/+47
2022-02-27Simplify newTrimMike Kaganski1-17/+2
2022-02-27Deduplicate more comparison functionsMike Kaganski3-232/+154
2022-02-26Slightly cleanup newReplaceStrAtMike Kaganski2-25/+6
2022-02-25Slightly optimize newReplaceAllFromIndexMike Kaganski1-5/+7
2022-02-25Deduplicate rtl_uString_newReplaceFirst*Mike Kaganski2-117/+38
2022-02-25Make an -fsanitize=undefined workaround conditionalStephan Bergmann1-1/+10
2022-02-25Don't invent another strlenMike Kaganski1-11/+1
2022-02-25Use some rtl functionsMike Kaganski1-32/+10
2022-02-25Deduplicate some comparison functionsMike Kaganski2-106/+46
2022-02-24Deduplicate rtl_*String_newConcat*LMike Kaganski3-89/+68
2022-02-24Deduplicate rtl_*str_valueOf{Float,Double}Mike Kaganski3-48/+28
2022-02-24Fix warning textMike Kaganski1-1/+1
2022-02-24Deduplicate valueOf*Int*Mike Kaganski3-119/+22
2022-02-23Use rtl::isAsciiMike Kaganski1-1/+1
2022-02-23Simplify NewCopy a bit; avoid direct use of memcpyMike Kaganski1-9/+8
2022-02-23Deduplicate newFromStr*Mike Kaganski1-47/+9
2022-02-23Deduplicate shortenedCompare*_WithLengthMike Kaganski1-28/+4
2022-02-23Drop obsolete codeMike Kaganski1-11/+2
2022-02-22Deduplicate newReplaceMike Kaganski2-56/+9
2022-02-18Define policy to optimize to_decimal to our use caseMike Kaganski1-8/+12