summaryrefslogtreecommitdiff
path: root/sal/rtl/random.cxx
AgeCommit message (Collapse)AuthorFilesLines
2016-04-07Drop pointless "internal" directory level for already internal include filesTor Lillqvist1-1/+1
Change-Id: I496fdbab3e17c806c2d16513412c4c1b9120bc3c
2016-03-10Drop __rtl_random_ prefix from static entities (avoid reserved identifiers)Stephan Bergmann1-28/+28
Change-Id: Ibb7e6fc2a0fdc357e31f02d8b88e6d3c0ae02f44
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann1-2/+2
Change-Id: I1bc6c87fcd6e5e96362623be94c59be216a3b2b8
2015-09-18valgrind: memleak in randompoolCaolán McNamara1-1/+1
regression from commit 91457fb326dda7bd1fc6d9e1b3afe0667425121c Author: Norbert Thiebaud <nthiebaud@gmail.com> Date: Tue Apr 21 20:55:15 2015 -0500 use osl_get_system_random data in rtlRamdomPool Change-Id: Ib5ff6b7fbd08869d9a6dbc1f4df883d701cf765c
2015-07-21loplugin:cstylecastNoel Grandin1-1/+1
Change-Id: If877cd61000fe6b82083a9fff79c25364d49e721
2015-07-20use osl_get_system_random data in rtlRamdomPoolNorbert Thiebaud1-9/+30
substitute as much as possible getting directly random data from the system rather than mixing our own pseudo-random numbers Fall back on the home-grown method if for some reason system random does not work. (on windows rand_s() is said to be able to return errors, beyond EINVAL, but they are just not listed.. so who knows) Change-Id: I71e88e097a9f3587086a710e9a785d61c560785e Reviewed-on: https://gerrit.libreoffice.org/15474 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann1-3/+3
Change-Id: Ibd373cddb1e25f05528e627349953b5f7d115330
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann1-6/+6
Change-Id: I5e370445affbcd32b05588111f74590bf24f39d6
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin1-2/+2
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-01-20Some more loplugin:cstylecast: salStephan Bergmann1-4/+4
Change-Id: Ie54d340478412e62b87d66e287fd8a3963e97898
2014-02-17sal: sal_Bool -> boolStephan Bergmann1-4/+4
Change-Id: I071a931660dafc1ee5950da527b042fb175255b8
2013-09-02MacOSX 10.6 does not like id as a variable nameNorbert Thiebaud1-6/+6
Change-Id: Id1029f777e4f1d03ce7d3fb85ced38deeefca619
2013-08-21osl_getThreadIdentifier(0) -> osl::Thread::getCurrentIdentifier()Stephan Bergmann1-1/+2
Change-Id: Ida9785c4b9fda0459769957734952e69d7a9de44
2013-02-22Bin pointless single-child directory levelTor Lillqvist1-0/+328
Change-Id: I03de46fb6c095bb176fd25fc5f803be6d2d89bcf