Home
last modified time | relevance | path

Searched refs:begin (Results 1 – 25 of 37) 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);
Dlinker_translate_path.cpp64 std::find_if(std::begin(kPathTranslationQ), std::end(kPathTranslationQ), comparator); in translateSystemPathToApexPath()
DAndroid.bp216 "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
Dlinker_namespaces.cpp44 if (std::find(allowed_libs_.begin(), allowed_libs_.end(), lib_name) == allowed_libs_.end()) { in is_accessible()
Dlinker.h182 bool relocate_relr(const ElfW(Relr)* begin, const ElfW(Relr)* end, ElfW(Addr) load_bias);
/bionic/libc/bionic/
Dandroid_unsafe_frame_pointer_chase.cpp65 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()
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/
Dtest_genseccomp.py13 self.assertEqual(ranges[0].begin, 1)
19 self.assertEqual(ranges[0].begin, 1)
22 self.assertEqual(ranges[1].begin, 3)
Dgenseccomp.py22 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/
Dmntent_test.cpp52 auto it = std::find(fsnames.begin(), fsnames.end(), "proc"); in TEST()
54 size_t proc_index = it - fsnames.begin(); in TEST()
Dfdtrack_test.cpp105 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)); \
Ddlfcn_symlink_support.cpp66 std::copy(source_file_path.begin(), source_file_path.end(), std::back_inserter(buf)); in create_dlfcn_test_symlink()
Dgrp_pwd_test.cpp431 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()
Difaddrs_test.cpp113 ASSERT_TRUE(std::is_permutation(ifaddrs_socks.begin(), ifaddrs_socks.end(), in TEST()
114 sys_class_net.begin())); in TEST()
/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/tools/versioner/src/
DDriver.cpp166 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()
DPreprocessor.cpp204 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()
DArch.h71 ArchMapIterator<T> begin() const { in begin() function
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()
/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(),
Dbionic_benchmarks.cpp521 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/
Dbionic_tests_zipalign.cpp59 std::sort(entries->begin(), entries->end(), in GetEntries()
/bionic/libc/kernel/uapi/linux/
Dincrementalfs.h113 __u32 begin; member
/bionic/libc/malloc_debug/
DMapData.cpp186 if (!entry->valid() && it != entries_.begin()) { in find()

12