summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-17[automerger skipped] DO NOT MERGE: Fix bug in random. am: 4151c1e35a am: ↵android-mainline-10.0.0_r9android-mainline-10.0.0_r7android-mainline-10.0.0_r5android-mainline-10.0.0_r4android-mainline-10.0.0_r10android-10.0.0_r41android-10.0.0_r40android-10.0.0_r39android-10.0.0_r38android-10.0.0_r37android-10.0.0_r36android-10.0.0_r35android-10.0.0_r34android-10.0.0_r33android-10.0.0_r32android-10.0.0_r31android-10.0.0_r30android10-qpr3-s1-releaseandroid10-qpr3-releaseandroid10-qpr2-s4-releaseandroid10-qpr2-s3-releaseandroid10-qpr2-s2-releaseandroid10-qpr2-s1-releaseandroid10-qpr2-releaseandroid10-qpr1-mainline-releaseandroid10-mainline-media-releaseDan Albert
8449105f92 am: acd0f55f5a -s ours am: 6a7b102d0d -s ours am: 26b83d7bb1 am: 2627678ada Change-Id: Icae4b962a39be27bbf20e9367471d167df14e207
2019-09-17[automerger skipped] DO NOT MERGE: [libc++] Move __clamp_to_integral to ↵Louis Dionne
<cmath>, and harden against min()/max() macros am: 7af7a63c2e am: d190f65c64 am: f0f107c222 -s ours am: b3d336063c -s ours am: c940a9b998 am: 30b59adf32 Change-Id: I157308c69de8a160b08b45caa6d2680713282d64
2019-09-17[automerger skipped] DO NOT MERGE: [libc++] Add `__truncating_cast` for ↵Louis Dionne
safely casting float types to integers am: 55b6136b3a am: 9546d85a3d am: c3a80bd37a -s ours am: f126b4ea11 -s ours am: 9432e1044b am: f4f52f6f73 Change-Id: Ia2dcbf166f24f34bb727abe7dc11cc5ab3b1f0db
2019-09-17[automerger skipped] DO NOT MERGE: Fix bug in random. am: 4151c1e35a am: ↵Dan Albert
8449105f92 am: acd0f55f5a -s ours am: 6a7b102d0d -s ours am: 26b83d7bb1 Change-Id: I82b55f5e129679fac16720c7c6e41fed43030422
2019-09-17[automerger skipped] DO NOT MERGE: [libc++] Move __clamp_to_integral to ↵Louis Dionne
<cmath>, and harden against min()/max() macros am: 7af7a63c2e am: d190f65c64 am: f0f107c222 -s ours am: b3d336063c -s ours am: c940a9b998 Change-Id: Ibc6ef8eb7d2345f361ab2aad8aec5fd962e1861c
2019-09-17[automerger skipped] DO NOT MERGE: [libc++] Add `__truncating_cast` for ↵Louis Dionne
safely casting float types to integers am: 55b6136b3a am: 9546d85a3d am: c3a80bd37a -s ours am: f126b4ea11 -s ours am: 9432e1044b Change-Id: I119d98960f63fafb4f15c141b29dbc92d13cfd5b
2019-09-17[automerger skipped] DO NOT MERGE: Fix bug in random. am: 4151c1e35a am: ↵Dan Albert
8449105f92 am: acd0f55f5a -s ours am: 6a7b102d0d -s ours am skip reason: subject contains skip directive Change-Id: I6f1ff483a1840c10f316143a0fd3444a03140e77
2019-09-17[automerger skipped] DO NOT MERGE: [libc++] Move __clamp_to_integral to ↵Louis Dionne
<cmath>, and harden against min()/max() macros am: 7af7a63c2e am: d190f65c64 am: f0f107c222 -s ours am: b3d336063c -s ours am skip reason: subject contains skip directive Change-Id: I0e7df6c385fc603eeac5febb4d703b0fecb22c99
2019-09-17[automerger skipped] DO NOT MERGE: [libc++] Add `__truncating_cast` for ↵Louis Dionne
safely casting float types to integers am: 55b6136b3a am: 9546d85a3d am: c3a80bd37a -s ours am: f126b4ea11 -s ours am skip reason: subject contains skip directive Change-Id: Ie7823dcce173a2171e36f818d97b76aa29a39629
2019-09-17[automerger skipped] DO NOT MERGE: Fix bug in random. am: 4151c1e35a am: ↵Dan Albert
8449105f92 am: acd0f55f5a -s ours am skip reason: subject contains skip directive Change-Id: I4e96ce8bad3035bd478d1b7aca51f686736ae5c8
2019-09-17[automerger skipped] DO NOT MERGE: [libc++] Move __clamp_to_integral to ↵Louis Dionne
<cmath>, and harden against min()/max() macros am: 7af7a63c2e am: d190f65c64 am: f0f107c222 -s ours am skip reason: subject contains skip directive Change-Id: I1123bb1c4d74301f0df1f55fc06f9eae614358bc
2019-09-17[automerger skipped] DO NOT MERGE: [libc++] Add `__truncating_cast` for ↵Louis Dionne
safely casting float types to integers am: 55b6136b3a am: 9546d85a3d am: c3a80bd37a -s ours am skip reason: subject contains skip directive Change-Id: I7f4c24495e654dc6aff6d452118438c35af5226b
2019-09-17DO NOT MERGE: Fix bug in random. am: 4151c1e35aDan Albert
am: 8449105f92 Change-Id: Ib7b8eafc1b77a835073736229dfa67f3123bf531
2019-09-17DO NOT MERGE: [libc++] Move __clamp_to_integral to <cmath>, and harden ↵Louis Dionne
against min()/max() macros am: 7af7a63c2e am: d190f65c64 Change-Id: If4680e91b42c8d183de0b7e15a9b682f3efa7fb5
2019-09-17DO NOT MERGE: [libc++] Add `__truncating_cast` for safely casting float ↵Louis Dionne
types to integers am: 55b6136b3a am: 9546d85a3d Change-Id: I48b42cca42e5a4eeb763de585b72cb0dfb854cd7
2019-09-17DO NOT MERGE: Fix bug in random.Dan Albert
am: 4151c1e35a Change-Id: I49f7617ddb21955b7f7c8ea2fba95f46eb7b2fc8
2019-09-17DO NOT MERGE: [libc++] Move __clamp_to_integral to <cmath>, and harden ↵Louis Dionne
against min()/max() macros am: 7af7a63c2e Change-Id: I2e4e0cdbbfa903ab8785f6d71f1afd0468cd1394
2019-09-17DO NOT MERGE: [libc++] Add `__truncating_cast` for safely casting float ↵Louis Dionne
types to integers am: 55b6136b3a Change-Id: I621f34d4fdde4ddcf2ca2083e0ab524428e2e188
2019-09-16[automerger skipped] DO NOT MERGE: Fix bug in random. am: 188246de28 -s ours ↵Dan Albert
am: f7c9cee159 -s ours am: 5d8e33dc3b am: abb6e0eaea Change-Id: I58ae41b7f088068cebd863aab5b3868bb7b302fe
2019-09-16[automerger skipped] DO NOT MERGE: Fix bug in random. am: 188246de28 -s ours ↵Dan Albert
am: f7c9cee159 -s ours am: 5d8e33dc3b Change-Id: Icf03abb8c5e14be613898fbcc337fbebf87de18f
2019-09-16[automerger skipped] DO NOT MERGE: Fix bug in random. am: 188246de28 -s oursDan Albert
am: f7c9cee159 -s ours am skip reason: subject contains skip directive Change-Id: I1f741eee132b134939cee8a66f5558d9be4af7f8
2019-09-16[automerger skipped] DO NOT MERGE: Fix bug in random.Dan Albert
am: 188246de28 -s ours am skip reason: subject contains skip directive Change-Id: Id9f19c6cb973bd6313772dc0edbe0f5f7f648f31
2019-09-16Merge changes I71708114,Ice92a8ea,Icc81b5f6 into pi-dev am: 74bbe171bb am: ↵Dan Albert
8e233cb5c6 am: 11569624aa Change-Id: I2d1646f3c49f9eb64b8df86264508afdc7d6212b
2019-09-16[automerger skipped] DO NOT MERGE: Fix bug in random. am: 01ed1e9c7b -s ours ↵Dan Albert
am: 4c056ce646 am: 7858a1bf96 Change-Id: I2da4654f10d4ba598061c988ed4e3bb8a47e550f
2019-09-16Merge changes I71708114,Ice92a8ea,Icc81b5f6 into pi-dev am: 74bbe171bbDan Albert
am: 8e233cb5c6 Change-Id: I4b54697533c5c92f2a0bb3e8aada41746c4b637c
2019-09-16[automerger skipped] DO NOT MERGE: Fix bug in random. am: 01ed1e9c7b -s oursDan Albert
am: 4c056ce646 Change-Id: I01cdc10fa37bfa77d10e45f2b83a365f710b63c3
2019-09-16Merge changes I71708114,Ice92a8ea,Icc81b5f6 into pi-devDan Albert
am: 74bbe171bb Change-Id: I596577098430bf27c7817aaa71ec10a13a44c609
2019-09-16[automerger skipped] DO NOT MERGE: Fix bug in random.Dan Albert
am: 01ed1e9c7b -s ours am skip reason: subject contains skip directive Change-Id: I4cb1a4848ba0f07eef10dde43161bad22152ffc1
2019-09-16Merge changes I71708114,Ice92a8ea,Icc81b5f6 into pi-devTreeHugger Robot
* changes: DO NOT MERGE: Fix bug in random. DO NOT MERGE: [libc++] Move __clamp_to_integral to <cmath>, and harden against min()/max() macros DO NOT MERGE: [libc++] Add `__truncating_cast` for safely casting float types to integers
2019-09-13Merge changes I71708114,Ice92a8ea,I300b6565 into qt-dev am: 0540b9fc0bDan Albert
am: 93fa160993 Change-Id: Id3f527a4b8d185b8b907dade75e4a9835ea904eb
2019-09-13Merge changes I71708114,Ice92a8ea,I300b6565 into qt-devDan Albert
am: 0540b9fc0b Change-Id: I874bfe8e7f05e4f0fa107108607fd864afdeec5d
2019-09-14Merge changes I71708114,Ice92a8ea,I300b6565 into qt-devTreeHugger Robot
* changes: Fix bug in random. [libc++] Move __clamp_to_integral to <cmath>, and harden against min()/max() macros [libc++] Add `__truncating_cast` for safely casting float types to integers
2019-09-13[automerger skipped] DO NOT MERGE: [libc++] Move __clamp_to_integral to ↵Louis Dionne
<cmath>, and harden against min()/max() macros am: 280d459517 -s ours am: 2a6b690b1d -s ours am: 00305f086b am: 6bda858567 Change-Id: Ia4f8f7554507da7c489f665c63c4464b749316a0
2019-09-13[automerger skipped] DO NOT MERGE: [libc++] Add `__truncating_cast` for ↵Louis Dionne
safely casting float types to integers am: baeddde44d -s ours am: c05874bc7f -s ours am: 88e2778807 am: 43b3af6225 Change-Id: I8f53fd278c4fa858e7e0ea213854f5104a1d8a44
2019-09-13[automerger skipped] DO NOT MERGE: [libc++] Move __clamp_to_integral to ↵Louis Dionne
<cmath>, and harden against min()/max() macros am: 280d459517 -s ours am: 2a6b690b1d -s ours am: 00305f086b Change-Id: I1d7d9299aa3c34bb8a957d229f7260e030655696
2019-09-13[automerger skipped] DO NOT MERGE: [libc++] Add `__truncating_cast` for ↵Louis Dionne
safely casting float types to integers am: baeddde44d -s ours am: c05874bc7f -s ours am: 88e2778807 Change-Id: I9b2da949187f515aebc8f8d55cf4c90340b07b5a
2019-09-13[automerger skipped] DO NOT MERGE: [libc++] Move __clamp_to_integral to ↵Louis Dionne
<cmath>, and harden against min()/max() macros am: 280d459517 -s ours am: 2a6b690b1d -s ours am skip reason: subject contains skip directive Change-Id: Ia0119dff04bbfa079557d8ef584a33015a8a026b
2019-09-13[automerger skipped] DO NOT MERGE: [libc++] Add `__truncating_cast` for ↵Louis Dionne
safely casting float types to integers am: baeddde44d -s ours am: c05874bc7f -s ours am skip reason: subject contains skip directive Change-Id: Ib6288231862ab8412834eadbc4969dc3c287b920
2019-09-13[automerger skipped] DO NOT MERGE: [libc++] Move __clamp_to_integral to ↵Louis Dionne
<cmath>, and harden against min()/max() macros am: 280d459517 -s ours am skip reason: subject contains skip directive Change-Id: I001eb20e4ab08eb7b6ad1071aaeedc444f3fbfb2
2019-09-13[automerger skipped] DO NOT MERGE: [libc++] Add `__truncating_cast` for ↵Louis Dionne
safely casting float types to integers am: baeddde44d -s ours am skip reason: subject contains skip directive Change-Id: I221f8d2e33ebe88267c42f4784c9ccee87c510e7
2019-09-13Fix bug in random.Dan Albert
Test: ./run_test.py --bitness 32 Test: ./run_test.py --bitness 64 Test: ./run_test.py --bitness 64 --host Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957 Bug: http://b/139690488 Change-Id: I71708114d7fc8ed90c30b4d32b01d3f3aef7600b (cherry picked from commit a1d1caa3d831030ce802ed335a9743180911d553)
2019-09-13[libc++] Move __clamp_to_integral to <cmath>, and harden against min()/max() ↵Louis Dionne
macros git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@370900 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit 87e6185621d332d2ef8695b94778663380c83bb9) Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957 Bug: http://b/139690488 Change-Id: Ice92a8ea6f675be069a70c5ad1003cf99b4fc474 (cherry picked from commit 82e0483c4a47233ed2f7bab545b32e5ddd474e59)
2019-09-13[libc++] Add `__truncating_cast` for safely casting float types to integersLouis Dionne
This is needed anytime we need to clamp an arbitrary floating point value to an integer type. Thanks to Eric Fiselier for the patch. Differential Revision: https://reviews.llvm.org/D66836 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@370891 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit c9ac8d533010d8915bcfdecab891fb451f71ce74) (cherry picked from commit 4561f55204960c0b3bc4594089ddcf56e5655cad) Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957 Bug: http://b/139690488 Change-Id: I300b6565137b51bb3051bb629ec3316edf7f71e9
2019-09-13[automerger skipped] DO NOT MERGE: Suppress warnings in tests. am: ↵Dan Albert
bb8457c3f4 -s ours am: 4da6874156 am: 6d385bfc4f Change-Id: I3dafc79fa5d70d05f6f6ff3d2c587ff855fc09a5
2019-09-13[automerger skipped] DO NOT MERGE: Suppress warnings in tests. am: ↵Dan Albert
bb8457c3f4 -s ours am: 4da6874156 Change-Id: If1680d371d39e5b692877b40024c09a1c0cc1454
2019-09-13[automerger skipped] DO NOT MERGE: Suppress warnings in tests.Dan Albert
am: bb8457c3f4 -s ours am skip reason: subject contains skip directive Change-Id: Iebd963b473cb4cd7699de6203b31691aff868ecf
2019-09-13DO NOT MERGE: Fix bug in random.Dan Albert
Test: ./run_test.py --bitness 32 Test: ./run_test.py --bitness 64 Test: ./run_test.py --bitness 64 --host Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957 Bug: http://b/139690488 Change-Id: I71708114d7fc8ed90c30b4d32b01d3f3aef7600b (cherry picked from commit a1d1caa3d831030ce802ed335a9743180911d553) (cherry picked from commit b8d9dff1befd40627b8c2c6e021cd5a3e4fe8b52)
2019-09-13DO NOT MERGE: [libc++] Move __clamp_to_integral to <cmath>, and harden ↵Louis Dionne
against min()/max() macros git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@370900 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit 87e6185621d332d2ef8695b94778663380c83bb9) Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957 Bug: http://b/139690488 Change-Id: Ice92a8ea6f675be069a70c5ad1003cf99b4fc474 (cherry picked from commit 82e0483c4a47233ed2f7bab545b32e5ddd474e59) (cherry picked from commit 21beede0ddfffab3e31961a68f7282b54f3ab52a)
2019-09-13DO NOT MERGE: [libc++] Add `__truncating_cast` for safely casting float ↵Louis Dionne
types to integers This is needed anytime we need to clamp an arbitrary floating point value to an integer type. Thanks to Eric Fiselier for the patch. Differential Revision: https://reviews.llvm.org/D66836 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@370891 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit c9ac8d533010d8915bcfdecab891fb451f71ce74) (cherry picked from commit 4561f55204960c0b3bc4594089ddcf56e5655cad) (cherry picked from commit f4471784fdb5799b9862febc385a26becfbe53b3) Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957 Bug: http://b/139690488 Change-Id: I3d402ed0237a2f5f934a5d368ca91304bfcd9ed0
2019-09-13DO NOT MERGE: Fix bug in random.Dan Albert
Test: ./run_test.py --bitness 32 Test: ./run_test.py --bitness 64 Test: ./run_test.py --bitness 64 --host Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957 Bug: http://b/139690488 Change-Id: I71708114d7fc8ed90c30b4d32b01d3f3aef7600b (cherry picked from commit a1d1caa3d831030ce802ed335a9743180911d553)