/bionic/linker/ |
D | linker_cfi.cpp | 64 uint16_t* begin() { in begin() function in ShadowWrite 85 void CFIShadowWriter::AddConstant(uintptr_t begin, uintptr_t end, uint16_t v) { in AddConstant() argument 86 uint16_t* shadow_begin = MemToShadow(begin); in AddConstant() 90 std::fill(sw.begin(), sw.end(), v); in AddConstant() 93 void CFIShadowWriter::AddUnchecked(uintptr_t begin, uintptr_t end) { in AddUnchecked() argument 94 AddConstant(begin, end, kUncheckedShadow); in AddUnchecked() 97 void CFIShadowWriter::AddInvalid(uintptr_t begin, uintptr_t end) { in AddInvalid() argument 98 AddConstant(begin, end, kInvalidShadow); in AddInvalid() 101 void CFIShadowWriter::Add(uintptr_t begin, uintptr_t end, uintptr_t cfi_check) { in Add() argument 107 begin = std::max(begin, cfi_check) & ~(kShadowAlign - 1); in Add() [all …]
|
D | linker_cfi.h | 52 void AddConstant(uintptr_t begin, uintptr_t end, uint16_t v); 55 void AddUnchecked(uintptr_t begin, uintptr_t end); 58 void AddInvalid(uintptr_t begin, uintptr_t end); 61 void Add(uintptr_t begin, uintptr_t end, uintptr_t cfi_check);
|
D | linker_translate_path.cpp | 64 std::find_if(std::begin(kPathTranslationQ), std::end(kPathTranslationQ), comparator); in translateSystemPathToApexPath()
|
D | Android.bp | 216 "arch/arm/begin.S", 224 "arch/arm64/begin.S", 233 "arch/riscv64/begin.S", 241 "arch/x86/begin.S", 248 "arch/x86_64/begin.S", 353 // we don't want crtbegin.o (because we have begin.o), so unset it
|
D | linker_namespaces.cpp | 44 if (std::find(allowed_libs_.begin(), allowed_libs_.end(), lib_name) == allowed_libs_.end()) { in is_accessible()
|
D | linker.h | 182 bool relocate_relr(const ElfW(Relr)* begin, const ElfW(Relr)* end, ElfW(Addr) load_bias);
|
/bionic/libc/bionic/ |
D | android_unsafe_frame_pointer_chase.cpp | 65 auto begin = reinterpret_cast<uintptr_t>(__builtin_frame_address(0)); in android_unsafe_frame_pointer_chase() local 80 auto* frame = reinterpret_cast<frame_record*>(begin - 16); in android_unsafe_frame_pointer_chase() 82 auto* frame = reinterpret_cast<frame_record*>(begin); in android_unsafe_frame_pointer_chase() 92 if (frame->next_frame < begin + sizeof(frame_record) || frame->next_frame >= end || in android_unsafe_frame_pointer_chase() 96 begin = frame->next_frame; in android_unsafe_frame_pointer_chase()
|
D | grp_pwd_file.cpp | 74 const char* ParseLine(const char* begin, const char* end, const char** fields, size_t num_fields) { in ParseLine() argument 76 const char* position = begin; in ParseLine()
|
/bionic/libc/tools/ |
D | test_genseccomp.py | 13 self.assertEqual(ranges[0].begin, 1) 19 self.assertEqual(ranges[0].begin, 1) 22 self.assertEqual(ranges[1].begin, 3)
|
D | genseccomp.py | 22 self.begin = value 23 self.end = self.begin + 1 26 return "(%s, %s, %s)" % (self.begin, self.end, self.names) 168 jump = [BPF_JGE.format(ranges[half].begin, len(first), 0) + ","] 206 bpf.insert(0, BPF_JGE.format(ranges[0].begin, 0, str(len(bpf))) + ',')
|
/bionic/tests/ |
D | mntent_test.cpp | 52 auto it = std::find(fsnames.begin(), fsnames.end(), "proc"); in TEST() 54 size_t proc_index = it - fsnames.begin(); in TEST()
|
D | fdtrack_test.cpp | 105 events.erase(events.begin() + j); in FdtrackRun() 106 events.erase(events.begin() + i); in FdtrackRun() 216 std::find(expected_fds.begin(), expected_fds.end(), events[0].fd)); \
|
D | dlfcn_symlink_support.cpp | 66 std::copy(source_file_path.begin(), source_file_path.end(), std::back_inserter(buf)); in create_dlfcn_test_symlink()
|
D | grp_pwd_test.cpp | 431 std::set_difference(expected_ids.begin(), expected_ids.end(), ids.begin(), ids.end(), in expect_ids() 432 std::inserter(missing_from_ids, missing_from_ids.begin())); in expect_ids() 434 std::set_difference(ids.begin(), ids.end(), expected_ids.begin(), expected_ids.end(), in expect_ids() 435 std::inserter(extra_in_ids, extra_in_ids.begin())); in expect_ids()
|
D | ifaddrs_test.cpp | 113 ASSERT_TRUE(std::is_permutation(ifaddrs_socks.begin(), ifaddrs_socks.end(), in TEST() 114 sys_class_net.begin())); in TEST()
|
/bionic/libfdtrack/ |
D | fdtrack_test.cpp | 86 ASSERT_EQ(fd, result.begin()->first); in TEST() 87 ASSERT_NE(nullptr, strstr(result.begin()->second.at(0).function_name, "open")); in TEST()
|
/bionic/tools/versioner/src/ |
D | Driver.cpp | 166 const driver::Command& driver_cmd = llvm::cast<driver::Command>(*jobs.begin()); in generateTargetCC1Flags() 173 std::vector<std::string> result(cc_args.begin(), cc_args.end()); in generateTargetCC1Flags()
|
D | Preprocessor.cpp | 204 to_string(*it.second.begin()).c_str(), to_string(arch).c_str()); in generateGuardCondition() 217 to_string(*it.second.begin()).c_str(), to_string(arch).c_str()); in generateGuardCondition() 279 auto current = guard_map.begin(); in mergeGuards()
|
D | Arch.h | 71 ArchMapIterator<T> begin() const { in begin() function
|
D | versioner.cpp | 143 auto new_end = std::remove_if(headers.begin(), headers.end(), [&arch](llvm::StringRef header) { in collectRequirements() 275 std::set_intersection(a.begin(), a.end(), b.begin(), b.end(), std::back_inserter(intersection)); in Intersection()
|
/bionic/benchmarks/ |
D | math_benchmark.cpp | 263 static const std::vector<double> exp_input (expf_input.begin(), 335 (powf_input.begin(), powf_input.end()); 383 static const std::vector<double> log_input (logf_input.begin(),
|
D | bionic_benchmarks.cpp | 521 all_sizes.insert(all_sizes.end(), kMediumSizes.begin(), kMediumSizes.end()); in GetShorthand() 522 all_sizes.insert(all_sizes.end(), kLargeSizes.begin(), kLargeSizes.end()); in GetShorthand() 529 all_page_sizes.insert(all_page_sizes.end(), multi_page_sizes.begin(), multi_page_sizes.end()); in GetShorthand()
|
/bionic/tests/libs/ |
D | bionic_tests_zipalign.cpp | 59 std::sort(entries->begin(), entries->end(), in GetEntries()
|
/bionic/libc/kernel/uapi/linux/ |
D | incrementalfs.h | 113 __u32 begin; member
|
/bionic/libc/malloc_debug/ |
D | MapData.cpp | 186 if (!entry->valid() && it != entries_.begin()) { in find()
|