Home
last modified time | relevance | path

Searched refs:actual (Results 1 – 17 of 17) sorted by relevance

/bionic/tests/
D__cxa_atexit_test.cpp46 static std::vector<int> actual; in TEST() local
52 actual.push_back(*idx); in TEST()
73 ASSERT_EQ(expected.size(), actual.size()); in TEST()
75 ASSERT_EQ(expected[i], actual[i]) << "index=" << i; in TEST()
Dsetjmp_test.cpp88 sigset64_t actual; in AssertSigmaskEquals() local
89 sigprocmask64(SIG_SETMASK, nullptr, &actual); in AssertSigmaskEquals()
92 EXPECT_EQ(sigismember64(&expected, i), sigismember64(&actual, i)) << i; in AssertSigmaskEquals()
Dmath_data_test.h154 T actual) {
155 if (!isnan(expected) && !isnan(actual) && UlpDistance(expected, actual) <= ULP) {
160 << "expected (" << std::hexfloat << expected << ") != actual (" << actual << ")";
Dstring_test.cpp483 int actual; in TEST() local
488 actual = strcmp(state.ptr1, state.ptr2); in TEST()
500 actual = strcmp(state.ptr1, state.ptr2); in TEST()
503 ASSERT_EQ(expected, signum(actual)); in TEST()
631 size_t actual = random() % state.len[i]; in TEST() local
632 strncpy(state.ptr + state.MAX_LEN - 1, state.ptr1, std::min(actual, pos)); in TEST()
633 state.ptr[state.MAX_LEN + std::min(actual, pos) - 1] = '\0'; in TEST()
635 ASSERT_TRUE(strncat(state.ptr2, state.ptr1, actual) == state.ptr2); in TEST()
651 int actual; in TEST() local
656 actual = strncmp(state.ptr1, state.ptr2, state.len[i]); in TEST()
[all …]
Dsys_mman_test.cpp296 std::string actual; in TEST()
297 ASSERT_TRUE(android::base::ReadFdToString(fd, &actual)); in TEST()
298 ASSERT_EQ(expected, actual); in TEST()
/bionic/linker/
Dlinker_gnu_hash_test.cpp37 auto actual = calculate_gnu_hash_neon(name); in TEST() local
38 EXPECT_EQ(expected.first, actual.first) << name; in TEST()
39 EXPECT_EQ(expected.second, actual.second) << name; in TEST()
/bionic/libc/private/
Dbionic_fortify.h77 size_t claim, size_t actual) { in __check_buffer_access() argument
78 if (__predict_false(claim > actual)) { in __check_buffer_access()
79 __fortify_fatal("%s: prevented %zu-byte %s %zu-byte buffer", fn, claim, action, actual); in __check_buffer_access()
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp166 ssize_t actual = android_logger_list_read(list, &msg); in GetLogStr() local
167 if (actual < 0) { in GetLogStr()
168 if (actual == -EINTR) { in GetLogStr()
171 } else if (actual == -EAGAIN) { in GetLogStr()
177 } else if (actual == 0) { in GetLogStr()
Dmalloc_debug_unit_tests.cpp1390 std::string actual; in BacktraceDumpOnSignal() local
1392 ASSERT_TRUE(android::base::ReadFileToString(name, &actual)); in BacktraceDumpOnSignal()
1395 std::string sanitized(SanitizeHeapData(actual)); in BacktraceDumpOnSignal()
1415 ASSERT_STREQ(expected.c_str(), sanitized.c_str()) << "Actual data: \n" << actual; in BacktraceDumpOnSignal()
1452 std::string actual; in TEST_F() local
1454 ASSERT_TRUE(android::base::ReadFileToString(name, &actual)); in TEST_F()
1457 std::string sanitized(SanitizeHeapData(actual)); in TEST_F()
1474 ASSERT_STREQ(expected.c_str(), sanitized.c_str()) << "Actual data: \n" << actual; in TEST_F()
1501 std::string actual; in TEST_F() local
1503 ASSERT_TRUE(android::base::ReadFileToString(name, &actual)); in TEST_F()
[all …]
/bionic/libc/kernel/uapi/linux/
Dvirtio_balloon.h35 __u32 actual; member
/bionic/libdl/
DAndroid.bp104 // This is placeholder library the actual implementation is (currently)
182 // This is placeholder library the actual implementation is (currently)
/bionic/
Dandroid-changes-for-ndk-developers.md267 entry/flag but without any actual text relocations. This doesn't happen
413 of libraries. Note also that `dlerror` doesn't correspond to actual
/bionic/tests/libs/
DAndroid.bp982 // This library is empty, the actual implementation will provide an unversioned
/bionic/docs/
Dnative_allocator.md315 bit of performance testing on actual traces taken from running applications.
Delf-tls.md623 suspect the actual platform breakage happened with Android M's [lock-free pthread key
/bionic/libc/
DAndroid.bp1165 // which will be overridden by the actual one in libc.so.
DNOTICE5776 actual system based on the constraints.