/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/libexif/contrib/c++/ |
D | Makefile | 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 \ 46 %.ld: %.cxx 47 @echo updating header dependencies for $*.cxx 49 @$(CXX) -M $(CXXFLAGS) $(CPPFLAGS) -c $*.cxx | sed "s@$*.o@$*.ld $*.lo@" > $*.ld \
|
/third_party/rust/crates/cxx/ |
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.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" }
|
D | BUILD.gn | 17 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" ]
|
D | BUILD | 5 name = "cxx", 22 data = ["gen/cmd/src/gen/include/cxx.h"], 36 hdrs = ["include/cxx.h"], 44 srcs = ["src/cxx.cc"], 45 hdrs = ["include/cxx.h"], 62 data = ["gen/build/src/gen/include/cxx.h"], 79 data = ["gen/lib/src/gen/include/cxx.h"],
|
/third_party/elfutils/debuginfod/ |
D | ChangeLog | 14 * 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/rust/crates/cxx/book/src/ |
D | tutorial.md | 11 <https://github.com/dtolnay/cxx>. To try it out directly, run `cargo run` from 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" 43 in a Rust module annotated with the `#[cxx::bridge]` attribute macro. 51 #[cxx::bridge] 83 #[cxx::bridge] 86 include!("cxx-demo/include/blobstore.h"); 120 …= /bin/ld: target/debug/deps/cxx-demo-7cb7fddf3d67d880.rcgu.o: in function `cxx_demo::ffi::new_blo… [all …]
|
D | extern-c++.md | 5 #[cxx::bridge] 28 # #[cxx::bridge] 59 # #[cxx::bridge] 101 #[cxx::bridge] 137 #[cxx::bridge] 161 #[cxx::bridge(namespace = "path::to")] 184 [`ExternType`]: https://docs.rs/cxx/*/cxx/trait.ExternType.html 190 In the following snippet, two #\[cxx::bridge\] invocations in different files 201 #[cxx::bridge(namespace = "example")] 213 #[cxx::bridge(namespace = "example")] [all …]
|
D | attributes.md | 6 The top-level cxx::bridge attribute macro takes an optional `namespace` argument 11 #[cxx::bridge(namespace = "path::of::my::company")] 26 namespace specified with the top level cxx::bridge attribute if any, otherwise 30 #[cxx::bridge(namespace = "third_priority")] 49 ## rust\_name, cxx\_name 56 #[cxx::bridge]
|
/third_party/cups/ |
D | BUILD.gn | 197 "$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/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]
|
D | unique_ptr_to_opaque.rs | 6 unsafe impl cxx::ExternType for C { 7 type Id = cxx::type_id!("C"); 8 type Kind = cxx::kind::Opaque; 12 #[cxx::bridge] 22 cxx::UniquePtr::new(outside::C { a: 4 }); in main()
|
D | async_fn.stderr | 1 …cxx.rs/async.html for a working approach, and https://github.com/pcwalton/cxx-async for some helpe… 7 …cxx.rs/async.html for a working approach, and https://github.com/pcwalton/cxx-async for some helpe…
|
D | slice_of_type_alias.rs | 1 use cxx::{type_id, ExternType}; 9 #[cxx::bridge] 22 type Kind = cxx::kind::Trivial; 27 type Kind = cxx::kind::Opaque;
|
D | deny_missing_docs.rs | 9 #[cxx::bridge] 70 use cxx::{type_id, ExternType}; 77 type Kind = cxx::kind::Opaque; 82 type Kind = cxx::kind::Opaque;
|
D | opaque_autotraits.stderr | 1 error[E0277]: `*const cxx::void` cannot be sent between threads safely 5 | ^^^^^^^^^^^ `*const cxx::void` cannot be sent between threads safely 7 = help: within `ffi::Opaque`, the trait `Send` is not implemented for `*const cxx::void` 21 error[E0277]: `*const cxx::void` cannot be shared between threads safely 25 | ^^^^^^^^^^^ `*const cxx::void` cannot be shared between threads safely 27 = help: within `ffi::Opaque`, the trait `Sync` is not implemented for `*const cxx::void`
|
/third_party/rust/crates/cxx/gen/src/ |
D | write.rs | 38 Api::Enum(enm) => !out.types.cxx.contains(&enm.name.rust), in write_forward_declarations() 88 if !out.types.cxx.contains(&strct.name.rust) { in write_data_structures() 104 if !out.types.cxx.contains(&enm.name.rust) { in write_data_structures() 258 writeln!(out, "struct {} final {{", strct.name.cxx); in write_struct() 264 writeln!(out, "{};", field.name.cxx); in write_struct() 276 let local_name = method.name.cxx.to_string(); in write_struct() 289 strct.name.cxx, in write_struct() 294 strct.name.cxx, in write_struct() 302 strct.name.cxx, in write_struct() 307 strct.name.cxx, in write_struct() [all …]
|
/third_party/rust/crates/cxx/demo/ |
D | Cargo.toml | 5 description = "Toy project from https://github.com/dtolnay/cxx" 9 repository = "https://github.com/dtolnay/cxx" 12 cxx = "1.0" 15 cxx-build = "1.0"
|
/third_party/libabigail/tests/data/test-abidiff-exit/ |
D | test-leaf-cxx-members-report.txt | 18 …[C] 'method virtual int ops::changed_fn()' at test-leaf-cxx-members-v1.cc:5:1 has some sub-type ch… 23 'struct ops at test-leaf-cxx-members-v0.cc:2:1' changed: 26 …'method virtual int ops::deleted_fn()' at test-leaf-cxx-members-v0.cc:6:1, virtual at voffset 1/1 … 28 …'method virtual long int ops::added_fn()' at test-leaf-cxx-members-v1.cc:11:1, virtual at voffset … 35 'int deleted_var', at offset 96 (in bits) at test-leaf-cxx-members-v0.cc:5:1 37 'long int added_var', at offset 128 (in bits) at test-leaf-cxx-members-v1.cc:10:1
|
/third_party/rust/crates/cxx/syntax/ |
D | types.rs | 19 pub cxx: UnorderedSet<&'a Ident>, field 35 let mut cxx = UnorderedSet::new(); in collect() localVariable 75 && (!cxx.contains(ident) in collect() 100 && (!cxx.contains(ident) in collect() 113 cxx.insert(&enm.name.rust); in collect() 120 && (cxx.contains(ident) in collect() 128 cxx.insert(ident); in collect() 160 cxx.insert(ident); in collect() 198 trivial::required_trivial_reasons(apis, &all, &structs, &enums, &cxx); in collect() 204 cxx, in collect()
|
/third_party/rust/crates/cxx/book/src/binding/ |
D | result.md | 25 Note that the return type written inside of cxx::bridge must be written without 33 #[cxx::bridge] 59 // rust/cxx.h 83 Note that the return type written inside of cxx::bridge must be written without 86 throws will always be of type **[`cxx::Exception`]**. 88 [`cxx::Exception`]: https://docs.rs/cxx/*/cxx/struct.Exception.html 93 #[cxx::bridge] 113 headers `include!`'d by your cxx::bridge.
|
/third_party/gn/examples/ios/build/toolchain/mac/ |
D | BUILD.gn | 15 cxx = "clang++" 23 … command = "$cxx {{ldflags}} -o $output -Wl,-filelist,$rspfile {{libs}} {{solibs}} {{frameworks}}" 37 …command = "$cxx -dynamiclib {{ldflags}} -o $dylib -Wl,-filelist,$rspfile {{libs}} {{solibs}} {{fra… 54 tool("cxx") { 57 …command = "$cxx -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}} -c {{sourc… 75 …command = "$cxx -MMD -MF $depfile {{defines}} {{include_dirs}} {{framework_dirs}} {{cflags}} {{cfl…
|
/third_party/libabigail/tests/data/test-diff-dwarf-abixml/ |
D | test0-pr19026-libvtkIOSQL-6.1.so.1-report-0.txt | 8 …in pointed to type 'struct vtkSQLDatabaseSchemaInternals::Column' at vtkSQLDatabaseSchema.cxx:46:1: 34 … in pointed to type 'struct vtkSQLDatabaseSchemaInternals::Index' at vtkSQLDatabaseSchema.cxx:54:1: 85 … in pointed to type 'struct vtkSQLDatabaseSchemaInternals::Table' at vtkSQLDatabaseSchema.cxx:75:1: 226 …[C] 'method bool vtkDatabaseToTableReader::CheckIfTableExists()' at vtkDatabaseToTableReader.cxx:7… 233 …[C] 'method virtual bool vtkSQLiteQuery::BeginTransaction()' at vtkSQLiteQuery.cxx:415:1 has some … 243 …'method virtual bool vtkSQLQuery::BindParameter(int, const char*)' at vtkSQLQuery.cxx:161:1, virtu… 244 … bool vtkSQLQuery::BindParameter(int, const char*, size_t)' at vtkSQLQuery.cxx:167:1, virtual at v… 245 … bool vtkSQLQuery::BindParameter(int, const vtkStdString&)' at vtkSQLQuery.cxx:174:1, virtual at v… 246 …'method virtual bool vtkSQLQuery::BindParameter(int, double)' at vtkSQLQuery.cxx:155:1, virtual at… 247 …'method virtual bool vtkSQLQuery::BindParameter(int, float)' at vtkSQLQuery.cxx:149:1, virtual at … [all …]
|