Home
last modified time | relevance | path

Searched refs:begin (Results 1 – 25 of 36) sorted by relevance

12

/bionic/linker/
Dlinker_cfi.cpp64 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 …]
Dlinker_cfi.h52 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);
DAndroid.bp43 srcs: ["arch/x86_64/begin.S"],
182 "arch/arm/begin.S",
190 "arch/arm64/begin.S",
199 "arch/x86/begin.S",
206 "arch/x86_64/begin.S",
262 // we don't want crtbegin.o (because we have begin.o), so unset it
Dlinker_translate_path.cpp64 std::find_if(std::begin(kPathTranslationQ), std::end(kPathTranslationQ), comparator); in translateSystemPathToApexPath()
Dlinker_namespaces.cpp44 if (std::find(whitelisted_libs_.begin(), whitelisted_libs_.end(), in is_accessible()
Dlinker_soinfo.cpp126 const SymbolLookupLib* it = lookup_list.begin(); in ElfW()
499 int begin = reverse ? (count - 1) : 0; in call_array() local
503 for (int i = begin; i != end; i += step) { in call_array()
Dlinker.cpp744 auto start = soinfo_list.begin(); in ElfW()
1608 std::find_if(load_list.begin(), load_list.end(), pred) == load_list.end() ) { in find_libraries()
1707 auto it = std::find(local_group_roots.begin(), local_group_roots.end(), si); in find_libraries()
2393 paths.insert(paths.begin() + i, std::string(kSystemLibDir) + "/bootstrap"); in fix_lib_paths()
2434 std::copy(parent_namespace->get_ld_library_paths().begin(), in create_namespace()
2438 std::copy(parent_namespace->get_default_library_paths().begin(), in create_namespace()
2442 std::copy(parent_namespace->get_permitted_paths().begin(), in create_namespace()
2494 std::unordered_set<std::string> sonames_set(sonames.begin(), sonames.end()); in link_namespaces()
2733 ElfW(Relr)* begin = relr_; in relocate_relr()
2738 for (ElfW(Relr)* current = begin; current < end; ++current) { in relocate_relr()
/bionic/libc/bionic/
Dandroid_unsafe_frame_pointer_chase.cpp58 auto begin = reinterpret_cast<uintptr_t>(__builtin_frame_address(0)); in android_unsafe_frame_pointer_chase() local
68 auto* frame = reinterpret_cast<frame_record*>(begin); in android_unsafe_frame_pointer_chase()
73 if (frame->next_frame < begin + sizeof(frame_record) || frame->next_frame >= end || in android_unsafe_frame_pointer_chase()
77 begin = frame->next_frame; in android_unsafe_frame_pointer_chase()
Dgrp_pwd_file.cpp74 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/
Dgenseccomp.py22 self.begin = value
23 self.end = self.begin + 1
26 return "(%s, %s, %s)" % (self.begin, self.end, self.names)
155 jump = [BPF_JGE.format(ranges[half].begin, len(first), 0) + ","]
193 bpf.insert(0, BPF_JGE.format(ranges[0].begin, 0, str(len(bpf))) + ',')
Dtest_genseccomp.py126 self.assertEquals(ranges[0].begin, 1)
132 self.assertEquals(ranges[0].begin, 1)
135 self.assertEquals(ranges[1].begin, 3)
/bionic/libfdtrack/
Dfdtrack_test.cpp86 ASSERT_EQ(fd, result.begin()->first); in TEST()
87 ASSERT_NE(nullptr, strstr(result.begin()->second.at(0).function_name, "open")); in TEST()
/bionic/tests/
Dfdtrack_test.cpp99 events.erase(events.begin() + j); in FdtrackRun()
100 events.erase(events.begin() + i); in FdtrackRun()
195 std::find(expected_fds.begin(), expected_fds.end(), events[0].fd)); \
Dgrp_pwd_test.cpp429 std::set_difference(expected_ids.begin(), expected_ids.end(), ids.begin(), ids.end(), in expect_ids()
430 std::inserter(missing_from_ids, missing_from_ids.begin())); in expect_ids()
432 std::set_difference(ids.begin(), ids.end(), expected_ids.begin(), expected_ids.end(), in expect_ids()
433 std::inserter(extra_in_ids, extra_in_ids.begin())); in expect_ids()
Ddlfcn_symlink_support.cpp66 std::copy(source_file_path.begin(), source_file_path.end(), std::back_inserter(buf)); in create_dlfcn_test_symlink()
Difaddrs_test.cpp108 ASSERT_TRUE(std::is_permutation(ifaddrs_socks.begin(), ifaddrs_socks.end(), in TEST()
109 sys_class_net.begin())); in TEST()
/bionic/libc/malloc_debug/
DPointerData.h144 static iterator begin() { return pointers_.begin(); }
DMapData.cpp197 if (!entry->valid && it != entries_.begin()) { in find()
/bionic/tools/versioner/src/
DDriver.cpp165 const driver::Command& driver_cmd = llvm::cast<driver::Command>(*jobs.begin()); in generateTargetCC1Flags()
172 std::vector<std::string> result(cc_args.begin(), cc_args.end()); in generateTargetCC1Flags()
DPreprocessor.cpp188 int version = avail.arch_availability[*it.second.begin()].introduced; in generateGuardCondition()
199 to_string(*it.second.begin()).c_str(), to_string(arch).c_str()); in generateGuardCondition()
269 auto current = guard_map.begin(); in mergeGuards()
Dversioner.cpp143 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()
DArch.h70 ArchMapIterator<T> begin() const { in begin() function
/bionic/libc/kernel/uapi/linux/
Dincrementalfs.h104 __u32 begin; member
/bionic/benchmarks/
Dmath_benchmark.cpp263 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(),
/bionic/tests/libs/
Dbionic_tests_zipalign.cpp59 std::sort(entries->begin(), entries->end(), in GetEntries()

12