Home
last modified time | relevance | path

Searched full:cxx (Results 1 – 25 of 1223) sorted by relevance

12345678910>>...49

/third_party/icu/icu4c/source/
DrunConfigureICU61 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/flutter/skia/third_party/externals/icu/source/
DrunConfigureICU61 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 xlC_r`; 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/skia/third_party/externals/icu/source/
DrunConfigureICU61 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/rust/crates/cxx/macro/src/
Dexpand.rs187 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 …]
Dderive.rs18 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/
Dtutorial.md2 # 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 …]
Dextern-c++.md5 #[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 …]
Dindex.md2cxx"><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 …]
Dcontext.md5 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&ndash;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 …]
Dshared.md12 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/libexif/contrib/c++/
DMakefile5 CXX = g++ macro
10 LIBCXX = $(LIBTOOL) --tag=CXX --mode=compile $(CXX)
11 LINKCXX = $(LIBTOOL) --tag=CXX --mode=link $(CXX)
34 %.o: %.cxx
35 $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $*.cxx
37 %.lo: %.cxx
38 $(LIBCXX) $(CXXFLAGS) $(CPPFLAGS) -c $*.cxx
40 %.d: %.cxx
41 @echo updating header dependencies for $*.cxx
43 @$(CXX) -M $(CXXFLAGS) $(CPPFLAGS) -c $*.cxx | sed "s@$*.o@$*.d $*.o@" > $*.d \
[all …]
/third_party/elfutils/debuginfod/
DChangeLog14 * debuginfod.cxx (extract_section): New function.
34 * debuginfod.cxx (main): Report libmicrohttpd version.
55 * debuginfod.cxx (handle_buildid): Clean up header forwarding
68 * debuginfod.cxx (handle_buildid): Add headers prefixed with
76 * debuginfod.cxx (parse_opt): If '-C' is given with no arg, do not
83 * debuginfod.cxx (handle_buildid): Update HTTP statistics only if
88 * debuginfod.cxx: Print filename for "cannot open archive".
93 * debuginfod.cxx (handle_buildid_r_match): Don't trigger false-404's
98 * debuginfod.cxx (groom): Don't evaluate regex unless needed.
102 * debuginfod.cxx: Create db indexes for fast delete while grooming.
[all …]
/third_party/jsoncpp/.travis_scripts/
Dmeson_builder.sh21 if ${CXX+false}; then
22 echo "CXX not set in environment."
28 echo "USAGE: CXX=$(which clang++) BUILD_TYPE=[release|debug] LIB_TYPE=[static|shared] $0"
31 …echo " CXX=$(which clang++) BUILD_TYPE=release LIB_TYPE=shared DESTDIR=/tmp/meson_json_c…
32 …echo " CXX=$(which clang++) BUILD_TYPE=debug LIB_TYPE=shared DESTDIR=/tmp/meson_json_c…
33 …echo " CXX=$(which clang++) BUILD_TYPE=release LIB_TYPE=static DESTDIR=/tmp/meson_json_c…
34 …echo " CXX=$(which clang++) BUILD_TYPE=debug LIB_TYPE=static DESTDIR=/tmp/meson_json_c…
36 …echo " CXX=$(which g++) BUILD_TYPE=release LIB_TYPE=shared DESTDIR=/tmp/meson_json_c…
37 …echo " CXX=$(which g++) BUILD_TYPE=debug LIB_TYPE=shared DESTDIR=/tmp/meson_json_c…
38 …echo " CXX=$(which g++) BUILD_TYPE=release LIB_TYPE=static DESTDIR=/tmp/meson_json_c…
[all …]
Dcmake_builder.sh29 if ${CXX+false}; then
30 echo "CXX not set in environment."
36 echo "USAGE: CXX=$(which clang++) BUILD_TYPE=[Release|Debug] LIB_TYPE=[static|shared] $0"
39 …echo " CXX=$(which clang++) BUILD_TYPE=Release LIB_TYPE=shared DESTDIR=/tmp/cmake_json_c…
40 …echo " CXX=$(which clang++) BUILD_TYPE=Debug LIB_TYPE=shared DESTDIR=/tmp/cmake_json_c…
41 …echo " CXX=$(which clang++) BUILD_TYPE=Release LIB_TYPE=static DESTDIR=/tmp/cmake_json_c…
42 …echo " CXX=$(which clang++) BUILD_TYPE=Debug LIB_TYPE=static DESTDIR=/tmp/cmake_json_c…
44 …echo " CXX=$(which g++) BUILD_TYPE=Release LIB_TYPE=shared DESTDIR=/tmp/cmake_json_c…
45 …echo " CXX=$(which g++) BUILD_TYPE=Debug LIB_TYPE=shared DESTDIR=/tmp/cmake_json_c…
46 …echo " CXX=$(which g++) BUILD_TYPE=Release LIB_TYPE=static DESTDIR=/tmp/cmake_json_c…
[all …]
/third_party/rust/crates/cxx/
DREADME.md1 CXX &mdash; 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 …]
DCargo.toml2 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.91", 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" }
DBUILD.gn17 crate_name = "cxx"
25 cargo_pkg_name = "cxx"
27 deps = [ "//third_party/rust/crates/cxx/macro:lib(${host_toolchain})" ]
41 "//third_party/rust/crates/cxx/include/cxx.h",
42 "//third_party/rust/crates/cxx/src/cxx.cc",
44 deps = [ "//third_party/rust/crates/cxx:lib" ]
/third_party/rust/crates/cxx/src/
Dextern_type.rs14 /// `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 …]
Dlib.rs1 …]](https://github.com/dtolnay/cxx)&ensp;[![crates-io]](https://crates.io/crates/cxx)&ensp;[![docs-…
22 //! *[Release notes](https://github.com/dtolnay/cxx/releases)*
28 //! Please see **<https://cxx.rs>** for a tutorial, reference material, and
37 //! From this, CXX receives a complete picture of the boundary to perform static
41 //! If everything checks out statically, then CXX uses a pair of code generators
56 //! combination. CXX guarantees an ABI-compatible signature that both sides
75 //! <https://github.com/dtolnay/cxx>. To try it out, run `cargo run` from that
79 //! #[cxx::bridge]
129 //! - [demo/src/main.rs](https://github.com/dtolnay/cxx/blob/master/demo/src/main.rs)
130 //! - [demo/build.rs](https://github.com/dtolnay/cxx/blob/master/demo/build.rs)
[all …]
/third_party/rust/crates/cxx/book/src/binding/
Dresult.md12 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/cups/
DBUILD.gn197 "$ppdc_code_dir/ppdc-array.cxx",
198 "$ppdc_code_dir/ppdc-attr.cxx",
199 "$ppdc_code_dir/ppdc-catalog.cxx",
200 "$ppdc_code_dir/ppdc-choice.cxx",
201 "$ppdc_code_dir/ppdc-constraint.cxx",
202 "$ppdc_code_dir/ppdc-driver.cxx",
203 "$ppdc_code_dir/ppdc-file.cxx",
204 "$ppdc_code_dir/ppdc-filter.cxx",
205 "$ppdc_code_dir/ppdc-font.cxx",
206 "$ppdc_code_dir/ppdc-group.cxx",
[all …]
/third_party/libsnd/.github/workflows/
Daction.yml30 cxx: g++
36 cxx: clang++
42 cxx: g++
48 cxx: clang++
54 cxx: g++
65 cxx: g++
77 cxx: clang++
88 cxx: clang++
100 cxx: clang++
111 cxx: clang++
[all …]
/third_party/skia/third_party/externals/imgui/examples/example_glfw_metal/
DMakefile6 #CXX = g++
7 #CXX = clang++
25 $(CXX) $(CXXFLAGS) -c -o $@ $<
28 $(CXX) $(CXXFLAGS) -c -o $@ $<
31 $(CXX) $(CXXFLAGS) -c -o $@ $<
34 $(CXX) $(CXXFLAGS) -ObjC++ -fobjc-weak -fobjc-arc -c -o $@ $<
37 $(CXX) $(CXXFLAGS) -ObjC++ -fobjc-weak -fobjc-arc -c -o $@ $<
43 $(CXX) -o $@ $^ $(CXXFLAGS) $(LIBS)
/third_party/skia/third_party/externals/imgui/examples/example_sdl_metal/
DMakefile6 #CXX = g++
7 #CXX = clang++
26 $(CXX) $(CXXFLAGS) -c -o $@ $<
29 $(CXX) $(CXXFLAGS) -c -o $@ $<
32 $(CXX) $(CXXFLAGS) -c -o $@ $<
35 $(CXX) $(CXXFLAGS) -ObjC++ -fobjc-weak -fobjc-arc -c -o $@ $<
38 $(CXX) $(CXXFLAGS) -ObjC++ -fobjc-weak -fobjc-arc -c -o $@ $<
44 $(CXX) -o $@ $^ $(CXXFLAGS) $(LIBS)
/third_party/openh264/build/
Dplatform-android.mk44 CXX = $(TOOLCHAINPREFIX)g++
61 CXX = $(LLVM_INSTALL_DIR)/clang++
82 ifneq ($(findstring /,$(CXX)),$(findstring \,$(CXX)))
83 ifneq ($(CXX),$(wildcard $(CXX)))
84 ifneq ($(CXX).exe,$(wildcard $(CXX).exe))
92 -I$(NDKROOT)/sources/cxx-stl/llvm-libc++/include \
93 -I$(NDKROOT)/sources/cxx-stl/llvm-libc++abi/include
95 $(NDKROOT)/sources/cxx-stl/llvm-libc++/libs/$(APP_ABI)/libc++_static.a
98 -I$(NDKROOT)/sources/cxx-stl/stlport/stlport
100 $(NDKROOT)/sources/cxx-stl/stlport/libs/$(APP_ABI)/libstlport_static.a

12345678910>>...49