| /external/rust/crates/clang-sys/ |
| D | README.md | 1 # clang-sys 3 [](https://crates.io/crates/clang-sys) 4 [](https://docs.rs/clang-sys) 5 …ithub/actions/workflow/status/KyleMayes/clang-sys/ci.yml?branch=master)](https://github.com/KyleMa… 6  8 Rust bindings for `libclang`. 10 …t idiomatic Rust wrapper for these bindings, see [`clang-rs`](https://github.com/KyleMayes/clang-r… 14 ## [Documentation](https://docs.rs/clang-sys) 16 …rgo feature as well as the Cargo feature for the latest supported version of `libclang` (e.g., `cl… 18 …ain some additional types and functions to manage a dynamically loaded `libclang` instance at runt… [all …]
|
| D | CHANGELOG.md | 1 ## [1.7.0] - 2023-12-31 4 - Added support for `clang` 17.0.x 6 ## [1.6.1] - 2023-03-29 9 - Improved error message when calling a `libclang` function that is not supported by the loaded `li… 11 ## [1.6.0] - 2023-02-18 14 - MinGW directories are not searched for `libclang` instances on Windows when 16 - Bumped minimum supported Rust version (MSRV) to 1.51.0 17 - Changed Windows search directory preferences (`libclang` instances from 21 ## ~~[1.5.1] - 2023-02-05~~ (YANKED) 24 - MinGW directories are not searched for `libclang` instances on Windows when [all …]
|
| /external/rust/crates/clang-sys/build/ |
| D | dynamic.rs | 1 // SPDX-License-Identifier: Apache-2.0 15 fn parse_elf_header(path: &Path) -> io::Result<u8> { in parse_elf_header() 27 fn parse_pe_header(path: &Path) -> io::Result<u16> { in parse_pe_header() 51 /// Checks that a `libclang` shared library matches the target platform. 52 fn validate_library(path: &Path) -> Result<(), String> { in validate_library() 57 return Err("invalid ELF class (64-bit)".into()); in validate_library() 61 return Err("invalid ELF class (32-bit)".into()); in validate_library() 69 return Err("invalid DLL (64-bit)".into()); in validate_library() 73 return Err("invalid DLL (32-bit)".into()); in validate_library() 86 /// Extracts the version components in a `libclang` shared library filename. [all …]
|
| D | common.rs | 1 // SPDX-License-Identifier: Apache-2.0 42 /// script fails to link to an instance of `libclang`. For example, if 43 /// `llvm-config` couldn't be executed but an instance of `libclang` was found 64 if let Some(errors) = errors.get("llvm-config") { in drop() 66 "cargo:warning=could not execute `llvm-config` one or more \ in drop() 68 a full path to valid `llvm-config` executable it will be used \ in drop() 69 to try to find an instance of `libclang` on your system: {}", in drop() 78 if let Some(errors) = errors.get("xcode-select") { in drop() 80 "cargo:warning=could not execute `xcode-select` one or more \ in drop() 82 it will be used to try to find an instance of `libclang` on \ in drop() [all …]
|
| D | static.rs | 1 // SPDX-License-Identifier: Apache-2.0 15 /// Clang static libraries required to link to `libclang` 3.5 and later. 33 fn get_library_name(path: &Path) -> Option<String> { in get_library_name() 44 /// Gets the LLVM static libraries required to link to `libclang`. 45 fn get_llvm_libraries() -> Vec<String> { in get_llvm_libraries() 46 common::run_llvm_config(&["--libs"]) in get_llvm_libraries() 50 // Depending on the version of `llvm-config` in use, listed in get_llvm_libraries() 52 // or simply prefixed with `-l`. in get_llvm_libraries() 53 if let Some(path) = p.strip_prefix("-l") { in get_llvm_libraries() 62 /// Gets the Clang static libraries required to link to `libclang`. [all …]
|
| /external/rust/crates/clang-sys/out/ |
| D | dynamic.rs | 1 // SPDX-License-Identifier: Apache-2.0 15 fn parse_elf_header(path: &Path) -> io::Result<u8> { in parse_elf_header() 27 fn parse_pe_header(path: &Path) -> io::Result<u16> { in parse_pe_header() 51 /// Checks that a `libclang` shared library matches the target platform. 52 fn validate_library(path: &Path) -> Result<(), String> { in validate_library() 57 return Err("invalid ELF class (64-bit)".into()); in validate_library() 61 return Err("invalid ELF class (32-bit)".into()); in validate_library() 69 return Err("invalid DLL (64-bit)".into()); in validate_library() 73 return Err("invalid DLL (32-bit)".into()); in validate_library() 86 /// Extracts the version components in a `libclang` shared library filename. [all …]
|
| D | common.rs | 1 // SPDX-License-Identifier: Apache-2.0 42 /// script fails to link to an instance of `libclang`. For example, if 43 /// `llvm-config` couldn't be executed but an instance of `libclang` was found 64 if let Some(errors) = errors.get("llvm-config") { in drop() 66 "cargo:warning=could not execute `llvm-config` one or more \ in drop() 68 a full path to valid `llvm-config` executable it will be used \ in drop() 69 to try to find an instance of `libclang` on your system: {}", in drop() 78 if let Some(errors) = errors.get("xcode-select") { in drop() 80 "cargo:warning=could not execute `xcode-select` one or more \ in drop() 82 it will be used to try to find an instance of `libclang` on \ in drop() [all …]
|
| /external/sandboxed-api/.github/workflows/ |
| D | ubuntu-cmake.yml | 1 name: ubuntu-cmake 11 fail-fast: false 15 - os: ubuntu-22.04 17 compiler-version: 14 18 libclang-version: 14 19 pip-clang-version: "14.0" 20 ignore-errors: false 21 - os: ubuntu-22.04 23 compiler-version: 13 24 libclang-version: 13 [all …]
|
| /external/rust/crates/clang-sys/src/ |
| D | link.rs | 1 // SPDX-License-Identifier: Apache-2.0 13 fn $name:ident($($pname:ident: $pty:ty), *) $(-> $ret:ty)* 31 fn $name:ident($($pname:ident: $pty:ty), *) $(-> $ret:ty)* 33 link!(@LOAD: #[cfg(feature = "runtime")] fn $name($($pname: $pty), *) $(-> $ret)*); 39 pub fn $name:ident($($pname:ident: $pty:ty), *) $(-> $ret:ty)*; 47 /// The (minimum) version of a `libclang` shared library. 50 pub enum Version { 68 impl fmt::Display for Version { 69 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { 70 use Version::*; [all …]
|
| D | lib.rs | 1 // SPDX-License-Identifier: Apache-2.0 3 //! Rust bindings for `libclang`. 5 //! ## [Documentation](https://docs.rs/clang-sys) 9 //! supported version of `libclang` (e.g., `clang_11_0`), neither of which are 14 //! `libclang` instance at runtime. 16 //! Due to the usage of the Cargo feature for the latest supported version of 17 //! `libclang`, this documentation will contain constants and functions that are 18 //! not available in the oldest supported version of `libclang` (3.5). All of 20 //! minimum `libclang` version required to use the item. 23 #![cfg_attr(feature = "cargo-clippy", allow(clippy::unreadable_literal))] [all …]
|
| /external/clang/tools/libclang/ |
| D | CMakeLists.txt | 33 ../../include/clang-c/Index.h 51 add_definitions(-DCLANG_TOOL_EXTRA_BUILD) 61 "Build libclang as a static library (in addition to a shared one)" OFF) 63 set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/libclang.exports) 66 # Avoid LNK4197 not to spceify libclang.def here. 67 # Each functions is exported as "dllexport" in include/clang-c. 81 set(output_name "libclang") 86 add_clang_library(libclang ${ENABLE_SHARED} ${ENABLE_STATIC} 89 DEPENDS clang-headers 102 set_target_properties(libclang [all …]
|
| /external/clang/unittests/libclang/ |
| D | LibclangTest.cpp | 1 //===- unittests/libclang/LibclangTest.cpp --- libclang tests -------------===// 8 //===----------------------------------------------------------------------===// 10 #include "clang-c/Index.h" 18 #define DEBUG_TYPE "libclang-test" 20 TEST(libclang, clang_parseTranslationUnit2_InvalidArgs) { in TEST() argument 26 TEST(libclang, clang_createTranslationUnit_InvalidArgs) { in TEST() argument 30 TEST(libclang, clang_createTranslationUnit2_InvalidArgs) { in TEST() argument 73 TEST(libclang, VirtualFileOverlay_Basic) { in TEST() argument 76 " 'version': 0,\n" in TEST() 85 " 'external-contents': \"/real/foo.h\"\n" in TEST() [all …]
|
| /external/bcc/debian/ |
| D | control | 5 Standards-Version: 3.9.5 6 Build-Depends: debhelper (>= 9), cmake, 8 llvm-9-dev | llvm-8-dev | llvm-6.0-dev | llvm-3.8-dev [!arm64] | llvm-3.7-dev [!arm64], 9 …libclang-9-dev | libclang-8-dev | libclang-6.0-dev | libclang-3.8-dev [!arm64] | libclang-3.7-dev … 10 …clang-format-9 | clang-format-8 | clang-format-6.0 | clang-format-3.8 [!arm64] | clang-format-3.7 … 11 libelf-dev, bison, flex, libfl-dev, libedit-dev, zlib1g-dev, git, 12 python (>= 2.7), python-netaddr, python-pyroute2 | python3-pyroute2, luajit, 13 libluajit-5.1-dev, arping, inetutils-ping | iputils-ping, iperf, netperf, 14 ethtool, devscripts, python3, dh-python 15 # add 'libdebuginfod-dev' to Build-Depends for libdebuginfod support [all …]
|
| /external/bazelbuild-rules_rust/bindgen/private/ |
| D | bindgen.bzl | 3 # Licensed under the Apache License, Version 2.0 (the "License"); 7 # http://www.apache.org/licenses/LICENSE-2.0 25 # buildifier: disable=bzl-visibility 28 # buildifier: disable=bzl-visibility 60 …Flags to pass directly to the bindgen executable. See https://rust-lang.github.io/rust-bindgen/ fo… 91 for custom_tag in ["__bindgen", "no-clippy", "no-rustfmt"]: 128 rustc_flags.append("-lstatic={}".format(get_lib_name_default(lib.static_library))) 132 … rustc_flags.append("-lstatic={}".format(get_lib_name_default(lib.pic_static_library))) 151 "-Lnative=${{pwd}}/{}".format(path) 178 libclang = toolchain.libclang [all …]
|
| /external/AFLplusplus/ |
| D | Dockerfile | 3 # installs LLVM 14 for afl-clang-lto support. 5 # GCC 11 is used instead of 12 because genhtml for afl-cov doesn't like it. 19 # Current recommended LLVM version is 16 31 RUN apt-get update && apt-get full-upgrade -y && \ 32 apt-get install -y --no-install-recommends wget ca-certificates apt-utils && \ 33 rm -rf /var/lib/apt/lists/* 35 RUN echo "deb [signed-by=/etc/apt/keyrings/llvm-snapshot.gpg.key] http://apt.llvm.org/jammy/ llvm-t… 36 wget -qO /etc/apt/keyrings/llvm-snapshot.gpg.key https://apt.llvm.org/llvm-snapshot.gpg.key 38 RUN apt-get update && \ 39 apt-get -y install --no-install-recommends \ [all …]
|
| /external/cronet/build/rust/ |
| D | rust_bindgen.gni | 2 # Use of this source code is governed by a BSD-style license that can be 19 # On Windows, the libclang.dll is beside the bindgen.exe, otherwise it is in 42 # C compilation targets determine the correct list of -D and -I flags based 83 "--exe", 85 "--header", 87 "--depfile", 89 "--output", 91 "--libclang-path", 99 "--ld-library-path", 105 args += [ "--bindgen-flags" ] [all …]
|
| /external/rust/crates/bindgen/ |
| D | README.md | 23 /* automatically generated by rust-bindgen 0.99.9 */ 38 [ Read the `bindgen` users guide here! ](https://rust-lang.github.io/rust-bindgen) 42 The `bindgen` minimum supported Rust version is **1.60.0**. 44 The `bindgen-cli` minimum supported Rust version is **1.64.0**. 48 The MSRV is the minimum Rust version that can be used to *compile* each crate. However, `bindgen` a… 50 Most of the time, the `bindgen-cli` crate will have a more recent MSRV than `bindgen` as crates suc… 58 …n to the [library API](https://docs.rs/bindgen) and [executable command-line API][bindgen-cmdline], 61 End-users should set these environment variables to modify `bindgen`'s behavior without modifying t… 63 - `BINDGEN_EXTRA_CLANG_ARGS`: extra arguments to pass to `clang` 64 - Arguments are whitespace-separated [all …]
|
| D | lib.rs | 8 //! See the [Users Guide](https://rust-lang.github.io/rust-bindgen/) for 90 fn file_is_cpp(name_file: &str) -> bool { in file_is_cpp() 97 fn args_are_cpp(clang_args: &[Box<str>]) -> bool { in args_are_cpp() 99 if w[0].as_ref() == "-xc++" || w[1].as_ref() == "-xc++" { in args_are_cpp() 102 if w[0].as_ref() == "-x" && w[1].as_ref() == "c++" { in args_are_cpp() 105 if w[0].as_ref() == "-include" && file_is_cpp(w[1].as_ref()) { in args_are_cpp() 133 pub fn functions(self) -> bool { in functions() 138 pub fn types(self) -> bool { in types() 143 pub fn vars(self) -> bool { in vars() 148 pub fn methods(self) -> bool { in methods() [all …]
|
| /external/rust/crates/bindgen-cli/ |
| D | README.md | 23 /* automatically generated by rust-bindgen 0.99.9 */ 38 [ Read the `bindgen` users guide here! ](https://rust-lang.github.io/rust-bindgen) 42 The `bindgen` minimum supported Rust version is **1.60.0**. 44 The `bindgen-cli` minimum supported Rust version is **1.64.0**. 48 The MSRV is the minimum Rust version that can be used to *compile* each crate. However, `bindgen` a… 50 Most of the time, the `bindgen-cli` crate will have a more recent MSRV than `bindgen` as crates suc… 58 …n to the [library API](https://docs.rs/bindgen) and [executable command-line API][bindgen-cmdline], 61 End-users should set these environment variables to modify `bindgen`'s behavior without modifying t… 63 - `BINDGEN_EXTRA_CLANG_ARGS`: extra arguments to pass to `clang` 64 - Arguments are whitespace-separated [all …]
|
| /external/angle/build/rust/ |
| D | rust_bindgen.gni | 2 # Use of this source code is governed by a BSD-style license that can be 19 # On Windows, the libclang.dll is beside the bindgen.exe, otherwise it is in 43 # C compilation targets determine the correct list of -D and -I flags based 94 "--exe", 96 "--header", 98 "--depfile", 100 "--output", 102 "--libclang-path", 110 "--wrap-static-fns", 119 "--ld-library-path", [all …]
|
| /external/mesa3d/.gitlab-ci/container/ |
| D | cross_build.sh | 4 set -e 5 set -o xtrace 15 "crossbuild-essential-$arch" 18 "libdrm-dev:$arch" 19 "libelf-dev:$arch" 20 "libexpat1-dev:$arch" 21 "libffi-dev:$arch" 22 "libpciaccess-dev:$arch" 24 "libvulkan-dev:$arch" 25 "libx11-dev:$arch" [all …]
|
| /external/bcc/docker/build/ |
| D | Dockerfile.ubuntu | 1 ARG VERSION="18.04" 2 FROM ubuntu:${VERSION} 15 RUN apt-get update && apt-get install -y curl gnupg &&\ 17 deb http://apt.llvm.org/${SHORTNAME}/ llvm-toolchain-${SHORTNAME} main\n\ 18 deb-src http://apt.llvm.org/${SHORTNAME}/ llvm-toolchain-${SHORTNAME} main\n\ 19 deb http://apt.llvm.org/${SHORTNAME}/ llvm-toolchain-${SHORTNAME}-${LLVM_VERSION} main\n\ 20 deb-src http://apt.llvm.org/${SHORTNAME}/ llvm-toolchain-${SHORTNAME}-${LLVM_VERSION} main\n" &&\ 22 curl -L https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - 27 RUN apt-get update && apt-get install -y \ 28 util-linux \ [all …]
|
| /external/bcc/ |
| D | INSTALL.md | 3 * [Kernel Configuration](#kernel-configuration) 5 - [Debian](#debian---binary) 6 - [Ubuntu](#ubuntu---binary) 7 - [Fedora](#fedora---binary) 8 - [Arch](#arch---binary) 9 - [Gentoo](#gentoo---portage) 10 - [openSUSE](#opensuse---binary) 11 - [RHEL](#rhel---binary) 12 - [Amazon Linux 1](#amazon-linux-1---binary) 13 - [Amazon Linux 2](#amazon-linux-2---binary) [all …]
|
| /external/clang/bindings/python/clang/ |
| D | cindex.py | 1 #===- cindex.py - Python Indexing Library Bindings -----------*- python -*--===# 8 #===------------------------------------------------------------------------===# 15 low-level interface to the indexing library which attempts to match the Clang 29 The top-level object which manages some global library state. 33 High-level object encapsulating the AST for a single translation unit. These 84 instantiated due to failure in the libclang library. 86 FIXME: Make libclang expose additional error information in this scenario. 123 """Decorator that lazy-loads the value of a property. 191 tu -- TranslationUnit file belongs to 192 file -- File instance to obtain offset from [all …]
|
| /external/icu/tools/icu4c_srcgen/ |
| D | genutil.py | 3 # Licensed under the Apache License, Version 2.0 (the "License"); 7 # http://www.apache.org/licenses/LICENSE-2.0 78 """Find the latest clang version and return the full path""" 79 base_path = android_path('prebuilts/clang/host/linux-x86/') 80 files = [f for f in os.listdir(base_path) if f.startswith('clang-r')] 81 # TODO: Don't use sort() because it assumes the same number of digits in the version name 84 print("Using clang version %s" % selected) 90 """Return the libclang.so path""" 92 files = [f for f in os.listdir(base_path) if f.startswith('libclang.so')] 107 site.addsitedir(os.path.join(CLANG_PATH, 'lib/python3/site-packages/')) [all …]
|