| /third_party/lzma/CPP/7zip/ |
| D | 7zip_gcc.mak | 242 # ifeq ($(CXX), $(CROSS_COMPILE)g++) 261 $(CXX) -o $(PROGPATH) $(LFLAGS_ALL) 264 $(CXX) -static -o $(PROGPATH_STATIC) $(LFLAGS_ALL) 284 $(CXX) $(CXXFLAGS) $< 288 $(CXX) $(CXXFLAGS) $< 290 $(CXX) $(CXXFLAGS) $< 293 $(CXX) $(CXXFLAGS) $< 296 $(CXX) $(CXXFLAGS) $< 298 $(CXX) $(CXXFLAGS) $< 300 $(CXX) $(CXXFLAGS) $< [all …]
|
| /third_party/skia/third_party/externals/icu/source/ |
| D | runConfigureICU | 61 TRU64V5.1/CXX Use the Compaq cxx compiler on Tru64 (OSF) 62 zOS Use the IBM cxx compiler on z/OS (os/390) 63 zOSV1R2 Use the IBM cxx compiler for z/OS 1.2 142 CXX=`which xlclang++`; export CXX 143 if [ ! -x $CXX ]; then 153 CXX=g++; export CXX 161 CXX=`which CC`; export CXX 169 CXX=g++; export CXX 177 CXX=`which CC`; export CXX 186 CXX=aCC; export CXX [all …]
|
| /third_party/icu/icu4c/source/ |
| D | runConfigureICU | 62 TRU64V5.1/CXX Use the Compaq cxx compiler on Tru64 (OSF) 63 zOS Use the IBM cxx compiler on z/OS (os/390) 64 zOSV1R2 Use the IBM cxx compiler for z/OS 1.2 143 CXX=`which xlclang++`; export CXX 144 if [ ! -x $CXX ]; then 154 CXX=g++; export CXX 165 CXX=`which ibm-clang++_r`; export CXX 166 if [ ! -x $CXX ]; then 176 CXX=`which CC`; export CXX 184 CXX=g++; export CXX [all …]
|
| /third_party/skia/m133/third_party/externals/icu/source/ |
| D | runConfigureICU | 62 TRU64V5.1/CXX Use the Compaq cxx compiler on Tru64 (OSF) 63 zOS Use the IBM cxx compiler on z/OS (os/390) 64 zOSV1R2 Use the IBM cxx compiler for z/OS 1.2 143 CXX=`which xlclang++`; export CXX 144 if [ ! -x $CXX ]; then 154 CXX=g++; export CXX 165 CXX=`which ibm-clang++_r`; export CXX 166 if [ ! -x $CXX ]; then 176 CXX=`which CC`; export CXX 184 CXX=g++; export CXX [all …]
|
| /third_party/rust/crates/cxx/macro/src/ |
| D | expand.rs | 187 unsafe impl #generics ::cxx::ExternType for #ident #generics { in expand_struct() 191 type Kind = ::cxx::kind::Trivial; in expand_struct() 215 ::cxx::private::prevent_unwind(__fn, || *lhs == *rhs) in expand_struct_operators() 228 ::cxx::private::prevent_unwind(__fn, || *lhs != *rhs) in expand_struct_operators() 242 ::cxx::private::prevent_unwind(__fn, || *lhs < *rhs) in expand_struct_operators() 254 ::cxx::private::prevent_unwind(__fn, || *lhs <= *rhs) in expand_struct_operators() 267 ::cxx::private::prevent_unwind(__fn, || *lhs > *rhs) in expand_struct_operators() 279 ::cxx::private::prevent_unwind(__fn, || *lhs >= *rhs) in expand_struct_operators() 294 ::cxx::private::prevent_unwind(__fn, || ::cxx::private::hash(this)) in expand_struct_operators() 363 unsafe impl ::cxx::ExternType for #ident { in expand_enum() [all …]
|
| D | derive.rs | 18 Trait::Eq => traits.push(quote_spanned!(span=> ::cxx::core::cmp::Eq)), in expand_struct() 20 Trait::Hash => traits.push(quote_spanned!(span=> ::cxx::core::hash::Hash)), in expand_struct() 22 Trait::PartialEq => traits.push(quote_spanned!(span=> ::cxx::core::cmp::PartialEq)), in expand_struct() 60 traits.push(quote_spanned!(span=> ::cxx::core::cmp::Eq)); in expand_enum() 64 Trait::Hash => traits.push(quote_spanned!(span=> ::cxx::core::hash::Hash)), in expand_enum() 67 traits.push(quote_spanned!(span=> ::cxx::core::cmp::PartialEq)); in expand_enum() 86 traits.push(quote!(::cxx::core::cmp::Eq)); in expand_enum() 89 traits.push(quote!(::cxx::core::cmp::PartialEq)); in expand_enum() 102 impl #generics ::cxx::core::marker::Copy for #ident #generics {} in struct_copy() 121 #(#fields: ::cxx::core::clone::Clone::clone(#values),)* in struct_clone() [all …]
|
| /third_party/rust/crates/cxx/book/src/ |
| D | tutorial.md | 2 # Tutorial: CXX blobstore client 11 <https://github.com/dtolnay/cxx>. To try it out directly, run `cargo run` from 20 projects. (CXX works with other build systems too; refer to chapter 5.) 22 Create a blank Cargo project: `mkdir cxx-demo`; `cd cxx-demo`; `cargo init`. 24 Edit the Cargo.toml to add a dependency on the `cxx` crate: 29 # name = "cxx-demo" 34 cxx = "1.0" 41 CXX relies on a description of the function signatures that will be exposed from 43 in a Rust module annotated with the `#[cxx::bridge]` attribute macro. 51 #[cxx::bridge] [all …]
|
| D | extern-c++.md | 5 #[cxx::bridge] 16 The `extern "C++"` section of a CXX bridge declares C++ types and signatures to 28 # #[cxx::bridge] 51 **Thread safety:** Be aware that CXX does not assume anything about the thread 53 CXX produces for you in Rust *do not* come with `Send` and `Sync` impls. If you 59 # #[cxx::bridge] 87 in are accurate; that would be unreasonable. CXX performs static assertions that 101 #[cxx::bridge] 137 #[cxx::bridge] 161 #[cxx::bridge(namespace = "path::to")] [all …]
|
| D | index.md | 2 …cxx"><img src="https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&lo… 5 # CXX — safe interop between Rust and C++ 10 boundary effectively within this regime. CXX fills in the low level stuff so 18 From a high level description of the language boundary, CXX uses static analysis 28 they please. In addition, CXX provides builtin bindings for key standard library 41 #[cxx::bridge] 67 of <https://github.com/dtolnay/cxx>. To try it out, run `cargo run` from that 70 - [demo/src/main.rs](https://github.com/dtolnay/cxx/blob/master/demo/src/main.rs) 71 - [demo/include/blobstore.h](https://github.com/dtolnay/cxx/blob/master/demo/include/blobstore.h) 72 - [demo/src/blobstore.cc](https://github.com/dtolnay/cxx/blob/master/demo/src/blobstore.cc) [all …]
|
| D | context.md | 5 from the other language, the generally applicable approaches outside of the CXX 62 The CXX project attempts a different approach to C++ FFI. 82 You should think of the `cxx` crate as being the midpoint of the Rust–C++ 99 ## Role of CXX 101 The role of CXX is to capture the language boundary with more fidelity than what 102 `extern "C"` is able to represent. You can think of CXX as being a replacement 105 From this perspective, CXX is a lower level tool than the bindgens. Just as 107 about higher level tools built on top of CXX. Such a tool might consume a C++ 109 safe cxx::bridge language boundary, leveraging CXX's static analysis and 112 way that CXX on its own is. [all …]
|
| D | shared.md | 12 sensitive but CXX will topologically sort and forward-declare your types as 20 #[cxx::bridge] 46 base type decided by CXX. 108 #[cxx::bridge] 130 #[cxx::bridge] 145 By default CXX represents your enum using the smallest integer type capable of 150 #[cxx::bridge] 181 #[cxx::bridge] 195 CXX will recognize this pattern and, instead of generating a C++ definition of 201 discriminants, repr). Again, CXX will static assert that all of those things you [all …]
|
| /third_party/elfutils/debuginfod/ |
| D | ChangeLog | 3 * debuginfod.cxx (groom): Fix -r / -X logic. 7 * debuginfod.cxx (archive_classify, scan_archive_file): Catch and 19 * debuginfod.cxx (extract_section, handle_buildid_r_match): Ditto. 29 * debuginfod.cxx (extract_section, handle_buildid_r_match): Ditto. 60 * debuginfod.cxx (default_concurrency): New function to guess a 88 * debuginfod.cxx (handle_buildid): Correctly manage lifetime 108 * debuginfod.cxx (extract_section): New function. 128 * debuginfod.cxx (main): Report libmicrohttpd version. 149 * debuginfod.cxx (handle_buildid): Clean up header forwarding 162 * debuginfod.cxx (handle_buildid): Add headers prefixed with [all …]
|
| /third_party/rust/crates/cxx/ |
| D | README.md | 1 CXX — safe FFI between Rust and C++ 4 …o/badge/github-dtolnay/cxx-8da0cb?style=for-the-badge&labelColor=555555&logo=github" height="20">]… 5 …ps://img.shields.io/crates/v/cxx.svg?style=for-the-badge&color=fc8d62&logo=rust" height="20">](htt… 6 …mg.shields.io/badge/docs.rs-cxx-66c2a5?style=for-the-badge&labelColor=555555&logo=docs.rs" height=… 7 …ctions/workflow/status/dtolnay/cxx/ci.yml?branch=master&style=for-the-badge" height="20">](https:/… 21 cxx = "1.0" 24 cxx-build = "1.0" 28 *[Release notes](https://github.com/dtolnay/cxx/releases)* 34 Please see **<https://cxx.rs>** for a tutorial, reference material, and example 43 this, CXX receives a complete picture of the boundary to perform static analyses [all …]
|
| D | Cargo.toml | 2 name = "cxx" 7 documentation = "https://docs.rs/cxx" 10 homepage = "https://cxx.rs" 14 repository = "https://github.com/dtolnay/cxx" 34 cxx-build = { version = "=1.0.97", path = "gen/build" } 35 cxx-gen = { version = "0.7", path = "gen/lib" } 36 cxx-test-suite = { version = "0", path = "tests/ffi" } 51 cxx = { path = "." } 52 cxx-build = { path = "gen/build" }
|
| D | BUILD.gn | 17 crate_name = "cxx" 25 cargo_pkg_name = "cxx" 27 deps = [ "//third_party/rust/crates/cxx/macro:macro_lib(${host_toolchain})" ] 48 "//third_party/rust/crates/cxx/include/cxx.h", 49 "//third_party/rust/crates/cxx/src/cxx.cc", 51 deps = [ "//third_party/rust/crates/cxx:lib" ]
|
| D | BUILD | 5 name = "cxx", 28 data = ["gen/cmd/src/gen/include/cxx.h"], 41 hdrs = ["include/cxx.h"], 49 srcs = ["src/cxx.cc"], 50 hdrs = ["include/cxx.h"], 65 name = "cxx-build", 67 data = ["gen/build/src/gen/include/cxx.h"], 81 name = "cxx-gen", 83 data = ["gen/lib/src/gen/include/cxx.h"],
|
| /third_party/liburing/.github/workflows/ |
| D | build.yml | 21 cxx: x86_64-linux-gnu-g++ 28 cxx: clang++ 37 cxx: i686-linux-gnu-g++ 44 cxx: aarch64-linux-gnu-g++ 51 cxx: arm-linux-gnueabi-g++ 58 cxx: riscv64-linux-gnu-g++ 65 cxx: powerpc64-linux-gnu-g++ 72 cxx: powerpc-linux-gnu-g++ 79 cxx: alpha-linux-gnu-g++ 86 cxx: mips64-linux-gnuabi64-g++ [all …]
|
| /third_party/rust/crates/cxx/src/ |
| D | extern_type.rs | 14 /// `ExternType` makes it possible for CXX to safely share a consistent Rust 15 /// type across multiple #\[cxx::bridge\] invocations that refer to a common 18 /// In the following snippet, two #\[cxx::bridge\] invocations in different 26 /// the same type in Rust. The CXX code generator will use an automatically 34 /// #[cxx::bridge(namespace = "example")] 45 /// #[cxx::bridge(namespace = "example")] 62 /// emitted by bindgen as the definition of a C++ type emitted by CXX. 77 /// use cxx::{type_id, ExternType}; 81 /// type Kind = cxx::kind::Opaque; 84 /// #[cxx::bridge(namespace = "folly")] [all …]
|
| /third_party/rust/crates/cxx/book/src/binding/ |
| D | result.md | 12 by the CXX bridge to return Result, the program calls C++'s `std::terminate`. 17 declared by the CXX bridge to return Result, a message is logged and the program 25 Note that the return type written inside of cxx::bridge must be written without 33 #[cxx::bridge] 54 The exception that gets thrown by CXX on the C++ side is always of type 59 // rust/cxx.h 83 Note that the return type written inside of cxx::bridge must be written without 85 FFI. The resulting error type created by CXX when an `extern "C++"` function 86 throws will always be of type **[`cxx::Exception`]**. 88 [`cxx::Exception`]: https://docs.rs/cxx/*/cxx/struct.Exception.html [all …]
|
| /third_party/ncurses/package/ |
| D | ncurses.sym | 6 …-enable-hard-tabs --enable-termcap --enable-widec --with-termlib --with-trace --without-cxx-binding 7 …-getcap-cache --enable-hard-tabs --enable-termcap --with-termlib --with-trace --without-cxx-binding 8 …--enable-widec --with-broken_linker --with-termlib --with-ticlib --with-trace --without-cxx-binding 9 …able-hard-tabs --with-broken_linker --with-termlib --with-ticlib --with-trace --without-cxx-binding 11 …-getcap-cache --enable-hard-tabs --enable-termcap --with-termlib --with-trace --without-cxx-binding 12 …able-hard-tabs --with-broken_linker --with-termlib --with-ticlib --with-trace --without-cxx-binding 14 …-getcap-cache --enable-hard-tabs --enable-termcap --with-termlib --with-trace --without-cxx-binding 15 …able-hard-tabs --with-broken_linker --with-termlib --with-ticlib --with-trace --without-cxx-binding 17 …-getcap-cache --enable-hard-tabs --enable-termcap --with-termlib --with-trace --without-cxx-binding 18 …able-hard-tabs --with-broken_linker --with-termlib --with-ticlib --with-trace --without-cxx-binding [all …]
|
| D | ncursesw.sym | 6 …-enable-hard-tabs --enable-termcap --enable-widec --with-termlib --with-trace --without-cxx-binding 7 …--enable-widec --with-broken_linker --with-termlib --with-ticlib --with-trace --without-cxx-binding 9 …-enable-hard-tabs --enable-termcap --enable-widec --with-termlib --with-trace --without-cxx-binding 10 …--enable-widec --with-broken_linker --with-termlib --with-ticlib --with-trace --without-cxx-binding 12 …-enable-hard-tabs --enable-termcap --enable-widec --with-termlib --with-trace --without-cxx-binding 13 …--enable-widec --with-broken_linker --with-termlib --with-ticlib --with-trace --without-cxx-binding 15 …-enable-hard-tabs --enable-termcap --enable-widec --with-termlib --with-trace --without-cxx-binding 16 …--enable-widec --with-broken_linker --with-termlib --with-ticlib --with-trace --without-cxx-binding 18 …-enable-hard-tabs --enable-termcap --enable-widec --with-termlib --with-trace --without-cxx-binding 19 …--enable-widec --with-broken_linker --with-termlib --with-ticlib --with-trace --without-cxx-binding [all …]
|
| /third_party/cups/ |
| D | BUILD.gn | 92 cups_driverd_generated_sources = [ "$scheduler_code_dir/cups-driverd.cxx" ] 132 "$backend_code_dir/usb_manager.cxx", 170 "$ppdc_code_dir/ppdc-array.cxx", 171 "$ppdc_code_dir/ppdc-attr.cxx", 172 "$ppdc_code_dir/ppdc-catalog.cxx", 173 "$ppdc_code_dir/ppdc-choice.cxx", 174 "$ppdc_code_dir/ppdc-constraint.cxx", 175 "$ppdc_code_dir/ppdc-driver.cxx", 176 "$ppdc_code_dir/ppdc-file.cxx", 177 "$ppdc_code_dir/ppdc-filter.cxx", [all …]
|
| /third_party/rust/crates/cxx/gen/build/ |
| D | Cargo.toml | 2 name = "cxx-build" 6 description = "C++ code generator for integrating `cxx` crate into a Cargo build." 7 documentation = "https://docs.rs/cxx-build" 10 homepage = "https://cxx.rs" 13 repository = "https://github.com/dtolnay/cxx" 31 cxx = { version = "1.0", path = "../.." } 32 cxx-gen = { version = "0.7", path = "../lib" }
|
| /third_party/rust/crates/cxx/tests/ui/ |
| D | raw_ident_namespace.rs | 1 use cxx::{type_id, ExternType}; 8 type Kind = cxx::kind::Trivial; 16 type Kind = cxx::kind::Trivial; 24 type Kind = cxx::kind::Trivial; 32 type Kind = cxx::kind::Trivial; 35 #[cxx::bridge] 47 // Not allowed by rustc (independent of cxx):
|
| /third_party/vulkan-loader/ |
| D | CMakeLists.txt | 171 target_compile_options(loader_common_options INTERFACE $<$<COMPILE_LANGUAGE::CXX,C>:/WX>) 173 target_compile_options(loader_common_options INTERFACE $<$<COMPILE_LANGUAGE::CXX,C>:/W4>) 177 … target_compile_options(loader_common_options INTERFACE $<$<COMPILE_LANGUAGE::CXX,C>:-Werror>) 180 $<$<COMPILE_LANGUAGE::CXX,C>:-Wall> 181 $<$<COMPILE_LANGUAGE::CXX,C>:-Wextra> 186 …target_compile_options(loader_common_options INTERFACE $<$<COMPILE_LANGUAGE::CXX,C>:-Wno-missing-f… 190 …target_compile_options(loader_common_options INTERFACE $<$<COMPILE_LANGUAGE::CXX,C>:/clang:-fno-st… 192 …target_compile_options(loader_common_options INTERFACE $<$<COMPILE_LANGUAGE::CXX,C>:-fno-strict-al… 197 $<$<COMPILE_LANGUAGE::CXX,C>:-Wno-stringop-truncation> 198 $<$<COMPILE_LANGUAGE::CXX,C>:-Wno-stringop-overflow> [all …]
|