Commit graph

24919 commits

Author SHA1 Message Date
Elliott Hughes
4ccc650c66 Merge "Remove more trivial char/wchar_t printf differences."
am: 40a5cfa8d1

Change-Id: I2ffe7058aa5dc40f095f9d86eaa5edb6b77688a6
2017-11-14 01:08:36 +00:00
Elliott Hughes
40a5cfa8d1 Merge "Remove more trivial char/wchar_t printf differences." 2017-11-14 00:58:04 +00:00
Elliott Hughes
b70576b048 Remove more trivial char/wchar_t printf differences.
Bug: http://b/67371539
Test: ran tests
Change-Id: I899458af92517dc21f874519716fa3f3a0f0e3d6
2017-11-13 11:10:05 -08:00
Elliott Hughes
97da26384a Merge "Yet more printf de-duplication."
am: 0793e3dd07

Change-Id: I174c65106f88b25fa41691dd79d46398c8ed8c18
2017-11-13 18:10:28 +00:00
Elliott Hughes
0793e3dd07 Merge "Yet more printf de-duplication." 2017-11-13 18:04:18 +00:00
Elliott Hughes
dbc4bc4bb1 Merge "Move public scanf functions away from implementation."
am: 13e86af056

Change-Id: I09aa9459f998d92a5bbfb9149210da1f86fbedd9
2017-11-13 17:19:50 +00:00
Treehugger Robot
13e86af056 Merge "Move public scanf functions away from implementation." 2017-11-13 17:17:10 +00:00
Elliott Hughes
345b727e96 Move public scanf functions away from implementation.
Bug: N/A
Test: ran tests
Change-Id: Ifb8bd91132865f8c6d0b95baf1021af3b3b3c353
2017-11-10 16:20:43 -08:00
Elliott Hughes
bc27bdc24f Yet more printf de-duplication.
Bug: http://b/67371539
Test: ran tests
Change-Id: Iae38055426596919c0de4f5080c99eba95fac3a9
2017-11-10 15:25:49 -08:00
Tom Cherry
e2b484e290 Merge "Better test handling and logging in grp_pwd_test.cpp"
am: 1c9f04464b

Change-Id: I2ec11ad8de3a480ae61aa57092c57f0dc4c1bdff
2017-11-10 21:22:37 +00:00
Treehugger Robot
1c9f04464b Merge "Better test handling and logging in grp_pwd_test.cpp" 2017-11-10 21:11:37 +00:00
Tom Cherry
2c05c0f9b0 Better test handling and logging in grp_pwd_test.cpp
grp_pwd_test.cpp uses ASSERT_ where EXPECT_ is possible, causing
missing failures when multiple failures are present.

Also, print out the uid/gid in the _iterate tests, to make debugging
easier.

Test: these same unit tests
Change-Id: I839b74fb86232b3e896091e76ab862cc5b6b8782
2017-11-10 10:57:21 -08:00
Elliott Hughes
c3f5a89e40 Merge "Add trivial test for __memrchr_chk."
am: 843e340874

Change-Id: I6c5c24cdfa91fc160797a993041ebbb55b716f25
2017-11-10 02:00:06 +00:00
Elliott Hughes
546c416fa4 Merge "Use builtins for fma/fmax/fmin/round on arm64."
am: 9b0def7139

Change-Id: I98996cd4216643c686e985136c9edb92aa6bf397
2017-11-10 01:58:07 +00:00
Treehugger Robot
843e340874 Merge "Add trivial test for __memrchr_chk." 2017-11-10 01:57:24 +00:00
Elliott Hughes
9b0def7139 Merge "Use builtins for fma/fmax/fmin/round on arm64." 2017-11-10 01:50:17 +00:00
Elliott Hughes
9a1bb70ba0 Use builtins for fma/fmax/fmin/round on arm64.
Bug: http://b/27829506
Change-Id: Id243e3ba0041d5efce496f0760815e591a2c00a0
Test: ran tests and inspected arm64 assembler
2017-11-09 15:57:34 -08:00
Elliott Hughes
55a8cc2a0d Add trivial test for __memrchr_chk.
Bug: N/A
Test: ran tests
Change-Id: I42aefcbf1fac6b96e56a0e21f94586a3caa524dc
2017-11-09 15:46:51 -08:00
Elliott Hughes
9b0632011c Merge "Move shared parts of the two printfs out."
am: 5e186f9a8e

Change-Id: Ic4569130f374f6fc16a8d2efcea7fd1fea13f760
2017-11-09 23:28:37 +00:00
Elliott Hughes
0a20534d5a Merge "Add trivial tests for the <resolv.h> base64 functions."
am: a6092a9a75

Change-Id: Ic77e35e35c3e02bb5ad1c797e86b3e1154f10779
2017-11-09 23:28:15 +00:00
Elliott Hughes
51854ae96f Merge "Add trivial ttyname(3) test."
am: 1670e2a298

Change-Id: I96b38a7ace770563cfa8de5432b90dbf1f2babd3
2017-11-09 23:27:53 +00:00
Elliott Hughes
5e186f9a8e Merge "Move shared parts of the two printfs out." 2017-11-09 23:10:01 +00:00
Elliott Hughes
a6092a9a75 Merge "Add trivial tests for the <resolv.h> base64 functions." 2017-11-09 23:09:18 +00:00
Elliott Hughes
1670e2a298 Merge "Add trivial ttyname(3) test." 2017-11-09 23:08:28 +00:00
Elliott Hughes
44733d1cb5 Merge "Revert "Use builtins for fma/fmax/fmin/round on arm/arm64.""
am: 6e59a7817a

Change-Id: Ia1735feae5e8bbe203c2dad24738db7f4e433151
2017-11-09 22:38:29 +00:00
Treehugger Robot
6e59a7817a Merge "Revert "Use builtins for fma/fmax/fmin/round on arm/arm64."" 2017-11-09 22:10:27 +00:00
Pirama Arumuga Nainar
d06f436f43 Merge "Make versioner depend on lib{LLVM,clang}_android.so"
am: c6fa2c3925

Change-Id: Iee1a56c5800fe643b468c4ebb80daf14d743a9ad
2017-11-09 22:10:00 +00:00
Pirama Arumuga Nainar
c6fa2c3925 Merge "Make versioner depend on lib{LLVM,clang}_android.so" 2017-11-09 21:59:54 +00:00
Elliott Hughes
3b583f6330 Revert "Use builtins for fma/fmax/fmin/round on arm/arm64."
Apparently we still build non-NEON variants of bionic!

This reverts commit e57d772353.

Change-Id: I5436d913b1dc9b7d8f5e6afaea9b45002be7e825
2017-11-09 17:47:49 +00:00
Elliott Hughes
31e48e1bed Merge "Remove test that adds no coverage."
am: ccea843084

Change-Id: Icadf70b90dafe0b0b5fcf688ddb0995b2f11fbd6
2017-11-09 17:32:26 +00:00
Elliott Hughes
ccea843084 Merge "Remove test that adds no coverage." 2017-11-09 17:21:32 +00:00
Elliott Hughes
b80b14256e Merge "Use builtins for fma/fmax/fmin/round on arm/arm64."
am: d62d61de30

Change-Id: I932f3fe68b8156c682828c527a08a44df6816d3a
2017-11-09 17:01:54 +00:00
Elliott Hughes
d62d61de30 Merge "Use builtins for fma/fmax/fmin/round on arm/arm64." 2017-11-09 16:55:53 +00:00
Elliott Hughes
728cde5be9 Add trivial ttyname(3) test.
Bug: N/A
Test: ran tests
Change-Id: Id5bf51a9c50db0fdbc9df0225165e87e698d0c83
2017-11-08 21:53:50 -08:00
Elliott Hughes
32f608dd46 Remove test that adds no coverage.
qsort_test doesn't test anything that stdlib's qsort tests don't already cover.

Bug: N/A
Test: ran tests
Change-Id: I6df3008d82083f1120a2027e759dc7cf77cc4e3b
2017-11-08 21:40:55 -08:00
Elliott Hughes
70f020953b Add trivial tests for the <resolv.h> base64 functions.
Bug: N/A
Test: ran tests
Change-Id: Ib57443efb03dbaddbe69e21949ebc8df6cf8a4bb
2017-11-08 21:13:15 -08:00
Elliott Hughes
1f4931751b Move shared parts of the two printfs out.
Bug: http://b/67371539
Test: ran tests
Change-Id: I24eae6a5d2c64ff4fd65c8d508a3709bab5a11c4
2017-11-08 16:27:49 -08:00
Elliott Hughes
e57d772353 Use builtins for fma/fmax/fmin/round on arm/arm64.
Bug: http://b/27829506
Test: ran tests and inspected arm/arm64/x86/x86-64 assembler
Change-Id: I8af60b44c75dddbb11949f208a8a70ed3cff12c8
2017-11-08 15:13:58 -08:00
Nan Zhang
fc48bb3ee2 Merge "Change bool, and string properties to *bool, and *string for cc"
am: 265b1ab966

Change-Id: Ica10882dfd79072011a7b6deae1a313e2c32ed08
2017-11-08 18:49:06 +00:00
Treehugger Robot
265b1ab966 Merge "Change bool, and string properties to *bool, and *string for cc" 2017-11-08 18:41:33 +00:00
Elliott Hughes
8e065c8941 Merge "More printf de-duplication."
am: 08448561e6

Change-Id: I9ad3ff3fa8db3c03941ec4c40e1717bf0f896b31
2017-11-08 17:26:54 +00:00
Elliott Hughes
08448561e6 Merge "More printf de-duplication." 2017-11-08 17:21:39 +00:00
Christopher Ferris
8e1cc513f3 Merge "Fix bionic benchmark unit tests."
am: 946e02d9b0

Change-Id: I1fc260bcc9ad117c69d6319caa08cba050d621a1
2017-11-08 15:34:43 +00:00
Christopher Ferris
946e02d9b0 Merge "Fix bionic benchmark unit tests." 2017-11-08 15:30:50 +00:00
Elliott Hughes
93a1f8b1f5 More printf de-duplication.
Just trivial use of macros.

The %s/%ls case in __find_arguments was backwards in the wide copy of
the code, but not problematically so because all pointers are the same
size anyway.

Bug: http://b/67371539
Test: ran tests
Change-Id: I8d34915d75ae5425c56c59510a16c328fc481d20
2017-11-07 22:52:29 -08:00
Sebastian Pop
a994306561 Merge "[AArch64] Optimized memcmp"
am: 1414802f93

Change-Id: Ic78970ba0181eb3e2f9ca5e71961832aa7d944a9
2017-11-08 05:14:02 +00:00
Treehugger Robot
1414802f93 Merge "[AArch64] Optimized memcmp" 2017-11-08 05:09:15 +00:00
Ryan Prichard
c4ebe06bc7 Merge "Allow 32-bit fseeko/fseeko64 SEEK_CUR/SEEK_SET to exceed 2 GiB"
am: 3404bb11a3

Change-Id: I632a6ae61bbc99d30dffa628870bf5940e2b4221
2017-11-08 02:04:36 +00:00
Treehugger Robot
3404bb11a3 Merge "Allow 32-bit fseeko/fseeko64 SEEK_CUR/SEEK_SET to exceed 2 GiB" 2017-11-08 01:57:38 +00:00
Ryan Prichard
bf54986d19 Allow 32-bit fseeko/fseeko64 SEEK_CUR/SEEK_SET to exceed 2 GiB
Bug: http://b/68837650
Test: /data/nativetest/bionic-unit-tests/bionic-unit-tests
Test: /data/nativetest/bionic-unit-tests-static/bionic-unit-tests-static
Test: /data/nativetest64/bionic-unit-tests/bionic-unit-tests
Change-Id: I367e0238c31d35f76d8ad89fd0aa27ecfeb7c149
2017-11-07 15:34:23 -08:00