/bionic/libc/tools/ |
D | check-symbols.py | 11 arch = re.sub(r'.*/linux-x86/([^/]+)/.*', r'\1', toolchain) variable 13 sys.stderr.write('Checking symbols for arch "%s"...\n' % arch) 17 global arch 20 if library == 'libm' and arch == 'arm': 24 if '64' in arch: 28 if arch == 'aarch64': 29 arch = 'arm64' 31 …%s/arch-%s/symbols/%s.so.%s.txt' % (os.environ['ANDROID_BUILD_TOP'], api, arch, library, functions… 42 if '64' in arch: 70 …derr.write('%d missing %s in %s for %s:\n' % (len(missing), functions_or_variables, library, arch)) [all …]
|
D | gensyscalls.py | 398 for arch in SupportedArchitectures: 399 t[arch] = True 401 for arch in string.split(arch_list, ','): 402 if arch == "lp32": 403 for arch in SupportedArchitectures: 404 if "64" not in arch: 405 t[arch] = True 406 elif arch == "lp64": 407 for arch in SupportedArchitectures: 408 if "64" in arch: [all …]
|
D | check-symbols-glibc.py | 31 arch = re.sub(r'.*/linux-x86/([^/]+)/.*', r'\1', toolchain) variable 32 if arch == 'aarch64': 33 arch = 'arm64' variable 40 def GetNdkIgnored(arch): # pylint: disable=redefined-outer-name argument 43 (os.getenv('ANDROID_BUILD_TOP'), arch)) 68 ndk_ignored = GetNdkIgnored(arch)
|
D | genfunctosyscallnrs.py | 25 for arch in SupportedArchitectures: 26 base_names = load_syscall_names_from_file(base_syscall_file, arch) 29 … out_file.write("#define __" + arch + "_" + func + " " + str(syscall_NRs[arch][syscall]) + ";\n")
|
D | genseccomp.py | 231 for arch in SupportedArchitectures: 232 base_names = load_syscall_names_from_file(base_syscall_file, arch) 237 blacklist_names |= load_syscall_names_from_file(f, arch) 239 whitelist_names |= load_syscall_names_from_file(f, arch) 247 allowed_syscalls.append((name, syscall_NRs[arch][name])) 249 logging.exception("Failed to find %s in %s", name, arch) 251 output = construct_bpf(allowed_syscalls, arch, name_modifier, priorities) 257 "{}{}_policy.cpp".format(arch, filename_modifier))
|
D | test_genseccomp.py | 14 def get_config(self, arch): argument 16 if i[0] == arch: 20 def get_headers(self, arch): argument 21 return self.get_config(arch)[1] 23 def get_switches(self, arch): argument 24 return self.get_config(arch)[2]
|
/bionic/libc/ |
D | Android.bp | 152 arch: { 154 srcs: ["arch-arm64/bionic/__set_tls.c"], 158 "arch-x86/bionic/__libc_init_sysinfo.cpp", 159 "arch-x86/bionic/__set_tls.cpp", 163 srcs: ["arch-x86_64/bionic/__set_tls.c"], 312 arch: { 586 // May be overriden by per-arch optimized versions 600 arch: { 725 arch: { 733 "arch-arm/generic/bionic/__memcpy_chk.S", [all …]
|
/bionic/tools/ |
D | generate-version-script.py | 11 for arch in ["arm", "arm64", "x86", "x86_64"]: 12 if arch in tags: 16 def GenerateVersionScript(arch, in_filename, out_filename): argument 23 if arch not in tags and has_arch_tags(tags): 27 arch = sys.argv[1] variable 30 GenerateVersionScript(arch, in_filename, out_filename)
|
/bionic/libc/kernel/tools/ |
D | generate_uapi_headers.sh | 225 for arch in "${ARCH_LIST[@]}"; do 226 echo "Generating headers for arch ${arch}" 227 make ARCH=${arch} headers_install 252 for arch in "${ARCH_LIST[@]}"; do 254 copy_hdrs "${KERNEL_DIR}/arch/${arch}/include/uapi" \ 255 "${ANDROID_KERNEL_DIR}/uapi/asm-${arch}" 257 copy_hdrs "${KERNEL_DIR}/arch/${arch}/include/generated/uapi" \ 258 "${ANDROID_KERNEL_DIR}/uapi/asm-${arch}" 263 "${KERNEL_DIR}/arch/${arch}/include/generated/asm" \ 264 "${ANDROID_KERNEL_DIR}/uapi/asm-${arch}/asm"
|
D | clean_header.py | 96 arch = None 99 arch = m.group(2) 109 if arch and arch in kernel_default_arch_macros: 110 macros.update(kernel_default_arch_macros[arch]) 112 if arch and arch in kernel_arch_token_replacements: 113 blocks.replaceTokens(kernel_arch_token_replacements[arch])
|
D | kernel.py | 106 def parseFile(self, path, arch=None, kernel_root=None): argument 138 if arch and arch in kernel_default_arch_macros: 139 macros.update(kernel_default_arch_macros[arch]) 214 self.setArch(arch=None) 216 def setArch(self,arch=None): argument 217 self.curr_arch = arch 219 if arch: 220 self.prefix = "asm-%s/" % arch 253 arch=self.curr_arch, kernel_root=self.kernel_root) 273 for arch in self.archs: [all …]
|
/bionic/tools/versioner/src/ |
D | CompilationType.h | 27 Arch arch; member 34 return std::tie(arch, cpp, api_level, file_offset_bits); in tie() 52 int32_t arch : 3; 58 packed.arch = static_cast<int32_t>(type.arch);
|
D | Preprocessor.cpp | 63 if (arch_visibility[type.arch] == 0 || arch_visibility[type.arch] > type.api_level) { in calculateRequiredGuard() 64 arch_visibility[type.arch] = type.api_level; in calculateRequiredGuard() 80 for (Arch arch : supported_archs) { in calculateRequiredGuard() local 81 if (arch_visibility[arch] != 0) { in calculateRequiredGuard() 82 arch_visibility_str += to_string(arch); in calculateRequiredGuard() 84 arch_visibility_str += std::to_string(arch_visibility[arch]); in calculateRequiredGuard() 100 for (Arch arch : supported_archs) { in calculateRequiredGuard() local 101 if (result.arch_availability[arch].introduced <= arch_visibility[arch]) { in calculateRequiredGuard() 102 result.arch_availability[arch].introduced = 0; in calculateRequiredGuard() 162 for (Arch arch : supported_archs) { in generateGuardCondition() local [all …]
|
D | Arch.h | 35 std::string to_string(const Arch& arch); 53 T& operator[](Arch arch) { 54 return data_[size_t(arch)]; 57 const T& operator[](Arch arch) const { 58 return data_[size_t(arch)]; 90 ArchMapIterator(const ArchMap<T>& map, Arch arch) : map_(map), arch_(arch) { in ArchMapIterator() argument
|
D | versioner.cpp | 98 static CompilationRequirements collectRequirements(const Arch& arch, in collectRequirements() argument 140 collect_children(location.dependency_dir + "/" + to_string(arch)); in collectRequirements() 143 auto new_end = std::remove_if(headers.begin(), headers.end(), [&arch](llvm::StringRef header) { in collectRequirements() 145 if (it.second.find(arch) == it.second.end()) { in collectRequirements() 165 for (const auto& arch : selected_architectures) { in generateCompilationTypes() local 166 int min_api = arch_min_api[arch]; in generateCompilationTypes() 175 .arch = arch, .cpp = cpp, .api_level = api_level, .file_offset_bits = file_offset_bits in generateCompilationTypes() 201 if (requirements.count(type.arch) == 0) { in compileHeaders() 202 requirements[type.arch] = collectRequirements(type.arch, location); in compileHeaders() 211 CompilationRequirements& req = requirements[type.arch]; in compileHeaders() [all …]
|
D | Arch.cpp | 23 std::string to_string(const Arch& arch) { in to_string() argument 24 switch (arch) { in to_string() 38 errx(1, "unknown arch '%zu'", size_t(arch)); in to_string()
|
D | SymbolFileParser.cpp | 56 api_level_arch_prefix("api-level-" + to_string(type.arch) + "="), in SymbolFileParser() 57 intro_arch_perfix("introduced-" + to_string(type.arch) + "="), in SymbolFileParser() 217 std::optional<Arch> arch = arch_from_string(tag); in isInArch() local 218 if (!arch) { in isInArch() 221 if (*arch == compilation_type.arch) { in isInArch()
|
D | DeclarationDatabase.cpp | 283 for (Arch arch : supported_archs) { in merge() local 284 if (!other.arch_availability[arch].empty()) { in merge() 285 check_avail(arch_availability[arch]); in merge() 286 this->arch_availability[arch] = other.arch_availability[arch]; in merge()
|
D | CompilationType.cpp | 24 ss << to_string(type.arch) << "-" << type.api_level << " [" << (type.cpp ? "c++" : "c") in to_string()
|
/bionic/linker/ |
D | Android.bp | 41 arch: { 43 srcs: ["arch/x86_64/begin.S"], 60 arch: { 180 "arch/arm/begin.S", 181 "arch/arm_neon/linker_gnu_hash_neon.cpp", 188 "arch/arm64/begin.S", 189 "arch/arm64/tlsdesc_resolver.S", 190 "arch/arm_neon/linker_gnu_hash_neon.cpp", 197 "arch/x86/begin.S", 204 "arch/x86_64/begin.S", [all …]
|
/bionic/libc/arch-arm/cortex-a53/bionic/ |
D | memcpy.S | 64 .arch armv7-a
|
/bionic/libc/arch-arm/cortex-a15/bionic/ |
D | memcpy.S | 64 .arch armv7-a
|
/bionic/libc/arch-arm/cortex-a7/bionic/ |
D | memcpy.S | 64 .arch armv7-a
|
/bionic/libc/arch-arm/cortex-a55/bionic/ |
D | memcpy.S | 66 .arch armv7-a
|
/bionic/libc/kernel/uapi/linux/ |
D | seccomp.h | 48 __u32 arch; member
|