/bionic/tests/ |
D | math_data_test.h | 168 void DoMathDataTest(data_1_1_t<RT, T> (&data)[N], RT f(T)) { 173 data[i].expected, f(data[i].input)) << "Failed on element " << i; 181 void DoMathDataTest(data_int_1_t<T> (&data)[N], int f(T)) { 184 EXPECT_EQ(data[i].expected, f(data[i].input)) << "Failed on element " << i; 192 void DoMathDataTest(data_long_1_t<T> (&data)[N], long f(T)) { 195 EXPECT_EQ(data[i].expected, f(data[i].input)) << "Failed on element " << i; 203 void DoMathDataTest(data_llong_1_t<T> (&data)[N], long long f(T)) { 206 EXPECT_EQ(data[i].expected, f(data[i].input)) << "Failed on element " << i; 214 void DoMathDataTest(data_1_2_t<RT, T1, T2> (&data)[N], RT f(T1, T2)) { 219 … data[i].expected, f(data[i].input1, data[i].input2)) << "Failed on element " << i; [all …]
|
D | search_test.cpp | 220 ASSERT_STREQ(expected_data, reinterpret_cast<char*>(e->data)); in AssertEntry() 228 e = hsearch(ENTRY{.key = const_cast<char*>("a"), .data = const_cast<char*>("A")}, ENTER); in TEST() 230 e = hsearch(ENTRY{.key = const_cast<char*>("aa"), .data = const_cast<char*>("B")}, ENTER); in TEST() 232 e = hsearch(ENTRY{.key = const_cast<char*>("aaa"), .data = const_cast<char*>("C")}, ENTER); in TEST() 236 e = hsearch(ENTRY{.key = const_cast<char*>("aaaa"), .data = nullptr}, FIND); in TEST() 240 e = hsearch(ENTRY{.key = const_cast<char*>("aa"), .data = nullptr}, FIND); in TEST() 244 e = hsearch(ENTRY{.key = const_cast<char*>("aa"), .data = const_cast<char*>("X")}, ENTER); in TEST() 246 e->data = const_cast<char*>("X"); in TEST() 249 e = hsearch(ENTRY{.key = const_cast<char*>("aa"), .data = nullptr}, FIND); in TEST() 252 e = hsearch(ENTRY{.key = const_cast<char*>("a"), .data = nullptr}, FIND); in TEST() [all …]
|
D | thread_local_test.cpp | 33 int *data = reinterpret_cast<int*>(p); in inc_shared_var() local 35 *data = shared_var; in inc_shared_var() 40 int *data = reinterpret_cast<int*>(p); in inc_local_var() local 42 *data = local_var; in inc_local_var() 48 int data; in run_one_thread() local 49 int error = pthread_create(&t, nullptr, foo, &data); in run_one_thread() 52 return error ? error : data; in run_one_thread() 113 int *data = reinterpret_cast<int*>(p); in move_shared_triangle() local 115 *data = shared_triangle[1].y; in move_shared_triangle() 120 int *data = reinterpret_cast<int*>(p); in move_local_triangle() local [all …]
|
D | sys_ptrace_test.cpp | 136 unsigned data = ptrace(PTRACE_PEEKUSER, child, offsetof(user, u_debugreg[7]), nullptr); in set_watchpoint() local 145 data &= mask; in set_watchpoint() 146 data |= value; in set_watchpoint() 147 …ASSERT_EQ(0, ptrace(PTRACE_POKEUSER, child, offsetof(user, u_debugreg[7]), data)) << strerror(errn… in set_watchpoint() 157 alignas(16) T data{}; in run_watchpoint_test() local 173 child_func(data); in run_watchpoint_test() 189 set_watchpoint(child, uintptr_t(untag_address(&data)) + offset, size); in run_watchpoint_test() 200 ASSERT_LE(&data, siginfo.si_addr); in run_watchpoint_test() 201 ASSERT_GT((&data) + 1, siginfo.si_addr); in run_watchpoint_test() 206 static void watchpoint_stress_child(unsigned cpu, T& data) { in watchpoint_stress_child() argument [all …]
|
/bionic/libc/bionic/ |
D | pthread_key.cpp | 86 if (SeqOfKeyInUse(seq) && seq == key_data[i].seq && key_data[i].data != nullptr) { in pthread_key_clean_all() 108 void* data = key_data[i].data; in pthread_key_clean_all() local 109 key_data[i].data = nullptr; in pthread_key_clean_all() 111 (*key_destructor)(data); in pthread_key_clean_all() 165 pthread_key_data_t* data = &get_thread_key_data()[key]; in pthread_getspecific() local 168 if (__predict_true(SeqOfKeyInUse(seq) && data->seq == seq)) { in pthread_getspecific() 169 return data->data; in pthread_getspecific() 173 data->data = nullptr; in pthread_getspecific() 185 pthread_key_data_t* data = &get_thread_key_data()[key]; in pthread_setspecific() local 186 data->seq = seq; in pthread_setspecific() [all …]
|
D | ptrace.cpp | 32 extern "C" long __ptrace(int req, pid_t pid, void* addr, void* data); 42 void* data; in ptrace() local 44 data = &peek_result; in ptrace() 46 data = va_arg(args, void*); in ptrace() 50 long result = __ptrace(req, pid, addr, data); in ptrace()
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_142.S | 3 .data 5 .data 20 .data 25 .data 40 .data 60 .data 65 .data 70 .data 90 .data 95 .data [all …]
|
D | liblinker_reloc_bench_113.S | 3 .data 15 .data 20 .data 25 .data 35 .data 40 .data 50 .data 55 .data 60 .data 85 .data [all …]
|
D | liblinker_reloc_bench_063.S | 3 .data 5 .data 50 .data 55 .data 60 .data 85 .data 105 .data 170 .data 180 .data 190 .data [all …]
|
D | liblinker_reloc_bench_167.S | 3 .data 10 .data 15 .data 35 .data 40 .data 50 .data 55 .data 60 .data 75 .data 85 .data [all …]
|
D | liblinker_reloc_bench_068.S | 3 .data 35 .data 40 .data 50 .data 55 .data 60 .data 65 .data 85 .data 90 .data 95 .data [all …]
|
D | liblinker_reloc_bench_104.S | 3 .data 5 .data 10 .data 20 .data 25 .data 30 .data 40 .data 45 .data 55 .data 65 .data [all …]
|
D | liblinker_reloc_bench_061.S | 3 .data 15 .data 45 .data 50 .data 55 .data 85 .data 90 .data 95 .data 100 .data 110 .data [all …]
|
D | liblinker_reloc_bench_149.S | 3 .data 10 .data 25 .data 35 .data 50 .data 90 .data 115 .data 120 .data 130 .data 145 .data [all …]
|
D | liblinker_reloc_bench_138.S | 3 .data 45 .data 100 .data 160 .data 225 .data 245 .data 255 .data 310 .data 330 .data 355 .data [all …]
|
D | liblinker_reloc_bench_124.S | 3 .data 5 .data 10 .data 25 .data 55 .data 70 .data 85 .data 90 .data 115 .data 120 .data [all …]
|
D | liblinker_reloc_bench_109.S | 3 .data 10 .data 50 .data 60 .data 90 .data 110 .data 130 .data 135 .data 155 .data 160 .data [all …]
|
D | liblinker_reloc_bench_101.S | 3 .data 5 .data 15 .data 20 .data 30 .data 75 .data 80 .data 85 .data 90 .data 95 .data [all …]
|
D | liblinker_reloc_bench_154.S | 3 .data 35 .data 75 .data 80 .data 90 .data 105 .data 175 .data 190 .data 265 .data 275 .data [all …]
|
D | liblinker_reloc_bench_078.S | 3 .data 10 .data 25 .data 30 .data 50 .data 55 .data 65 .data 80 .data 85 .data 90 .data [all …]
|
D | liblinker_reloc_bench_153.S | 3 .data 35 .data 70 .data 85 .data 90 .data 105 .data 180 .data 185 .data 240 .data 245 .data [all …]
|
D | liblinker_reloc_bench_090.S | 3 .data 10 .data 25 .data 30 .data 35 .data 45 .data 55 .data 60 .data 80 .data 85 .data [all …]
|
/bionic/build/ |
D | coverage.sh | 25 DEVICE_TEST_DIR32=/data/local/tmp/bionic-coverage32 26 DEVICE_TEST_DIR64=/data/local/tmp/bionic-coverage64 27 DEVICE_PROF_DIR=/data/local/tmp/bionic-profraw 33 adb push $OUT/data/nativetest/bionic-loader-test-libs ${DEVICE_TEST_DIR32} 34 adb push $OUT/data/nativetest/bionic-unit-tests ${DEVICE_TEST_DIR32} 35 adb push $OUT/data/nativetest64/bionic-loader-test-libs ${DEVICE_TEST_DIR64} 36 adb push $OUT/data/nativetest64/bionic-unit-tests ${DEVICE_TEST_DIR64} 58 --object=$OUT/symbols/data/nativetest64/bionic-unit-tests/bionic-unit-tests \ 61 --object=$OUT/symbols/data/nativetest/bionic-unit-tests/bionic-unit-tests \
|
/bionic/libc/malloc_debug/ |
D | GuardData.cpp | 46 memset(cmp_mem_.data(), init_value, cmp_mem_.size()); in GuardData() 49 void GuardData::LogFailure(const Header* header, const void* pointer, const void* data) { in LogFailure() argument 55 const uint8_t* expected = cmp_mem_.data(); in LogFailure() 56 int pointer_idx = reinterpret_cast<uintptr_t>(data) - reinterpret_cast<uintptr_t>(pointer); in LogFailure() 57 const uint8_t* real = reinterpret_cast<const uint8_t*>(data); in LogFailure() 76 memset(cmp_mem_.data(), config.front_guard_value(), cmp_mem_.size()); in FrontGuardData()
|
/bionic/libc/kernel/uapi/linux/ |
D | firewire-cdev.h | 53 __u32 data[]; member 62 __u32 data[]; member 75 __u32 data[]; member 101 __u32 data[]; member 152 __u64 data; member 158 __u64 data; member 179 __u64 data; member 214 __u64 data; member 257 __u64 data; member 263 __u32 data[2]; member
|