Home
last modified time | relevance | path

Searched refs:cxx (Results 1 - 25 of 193) sorted by relevance

12345678

/third_party/rust/crates/cxx/macro/src/
H A 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 in expand_struct_operators()
[all...]
H A 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 in struct_clone()
[all...]
/third_party/libexif/contrib/c++/
H A DMakefile34 %.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 | se
[all...]
/third_party/rust/crates/cxx/tests/ui/
H A Draw_ident_namespace.rs1 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):
H A Dunique_ptr_to_opaque.rs6 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()
H A Dslice_of_type_alias.rs1 use cxx::{type_id, ExternType};
9 #[cxx::bridge]
22 type Kind = cxx::kind::Trivial;
27 type Kind = cxx::kind::Opaque;
H A Ddeny_missing_docs.rs9 #[cxx::bridge]
70 use cxx::{type_id, ExternType};
77 type Kind = cxx::kind::Opaque;
82 type Kind = cxx::kind::Opaque;
H A Dvec_opaque.rs0 #[cxx::bridge]
8 #[cxx::bridge]
19 #[cxx::bridge]
/third_party/rust/crates/cxx/gen/lib/src/syntax/
H A Dtypes.rs19 pub cxx: UnorderedSet<&'a Ident>,
35 let mut cxx = UnorderedSet::new(); variables
75 && (!cxx.contains(ident)
100 && (!cxx.contains(ident)
113 cxx.insert(&enm.name.rust);
120 && (cxx.contains(ident)
128 cxx.insert(ident);
160 cxx.insert(ident);
198 trivial::required_trivial_reasons(apis, &all, &structs, &enums, &cxx);
204 cxx,
[all...]
H A Dtokens.rs16 tokens.extend(quote_spanned!(span=> ::cxx::private::)); in to_tokens()
19 tokens.extend(quote_spanned!(span=> ::cxx::)); in to_tokens()
22 tokens.extend(quote_spanned!(span=> ::cxx::alloc::string::)); in to_tokens()
70 tokens.extend(quote_spanned!(span=> ::cxx::)); in to_tokens()
73 tokens.extend(quote_spanned!(span=> ::cxx::alloc::boxed::)); in to_tokens()
76 tokens.extend(quote_spanned!(span=> ::cxx::alloc::vec::)); in to_tokens()
99 tokens.extend(quote_spanned!(pin.span=> ::cxx::core::pin::Pin)); in to_tokens()
/third_party/rust/crates/cxx/gen/build/src/syntax/
H A Dtypes.rs19 pub cxx: UnorderedSet<&'a Ident>,
35 let mut cxx = UnorderedSet::new(); variables
75 && (!cxx.contains(ident)
100 && (!cxx.contains(ident)
113 cxx.insert(&enm.name.rust);
120 && (cxx.contains(ident)
128 cxx.insert(ident);
160 cxx.insert(ident);
198 trivial::required_trivial_reasons(apis, &all, &structs, &enums, &cxx);
204 cxx,
[all...]
H A Dtokens.rs16 tokens.extend(quote_spanned!(span=> ::cxx::private::)); in to_tokens()
19 tokens.extend(quote_spanned!(span=> ::cxx::)); in to_tokens()
22 tokens.extend(quote_spanned!(span=> ::cxx::alloc::string::)); in to_tokens()
70 tokens.extend(quote_spanned!(span=> ::cxx::)); in to_tokens()
73 tokens.extend(quote_spanned!(span=> ::cxx::alloc::boxed::)); in to_tokens()
76 tokens.extend(quote_spanned!(span=> ::cxx::alloc::vec::)); in to_tokens()
99 tokens.extend(quote_spanned!(pin.span=> ::cxx::core::pin::Pin)); in to_tokens()
/third_party/rust/crates/cxx/gen/cmd/src/syntax/
H A Dtypes.rs19 pub cxx: UnorderedSet<&'a Ident>,
35 let mut cxx = UnorderedSet::new(); variables
75 && (!cxx.contains(ident)
100 && (!cxx.contains(ident)
113 cxx.insert(&enm.name.rust);
120 && (cxx.contains(ident)
128 cxx.insert(ident);
160 cxx.insert(ident);
198 trivial::required_trivial_reasons(apis, &all, &structs, &enums, &cxx);
204 cxx,
[all...]
H A Dtokens.rs16 tokens.extend(quote_spanned!(span=> ::cxx::private::)); in to_tokens()
19 tokens.extend(quote_spanned!(span=> ::cxx::)); in to_tokens()
22 tokens.extend(quote_spanned!(span=> ::cxx::alloc::string::)); in to_tokens()
70 tokens.extend(quote_spanned!(span=> ::cxx::)); in to_tokens()
73 tokens.extend(quote_spanned!(span=> ::cxx::alloc::boxed::)); in to_tokens()
76 tokens.extend(quote_spanned!(span=> ::cxx::alloc::vec::)); in to_tokens()
99 tokens.extend(quote_spanned!(pin.span=> ::cxx::core::pin::Pin)); in to_tokens()
/third_party/rust/crates/cxx/syntax/
H A Dtypes.rs19 pub cxx: UnorderedSet<&'a Ident>,
35 let mut cxx = UnorderedSet::new(); variables
75 && (!cxx.contains(ident)
100 && (!cxx.contains(ident)
113 cxx.insert(&enm.name.rust);
120 && (cxx.contains(ident)
128 cxx.insert(ident);
160 cxx.insert(ident);
198 trivial::required_trivial_reasons(apis, &all, &structs, &enums, &cxx);
204 cxx,
[all...]
H A Dtokens.rs16 tokens.extend(quote_spanned!(span=> ::cxx::private::)); in to_tokens()
19 tokens.extend(quote_spanned!(span=> ::cxx::)); in to_tokens()
22 tokens.extend(quote_spanned!(span=> ::cxx::alloc::string::)); in to_tokens()
70 tokens.extend(quote_spanned!(span=> ::cxx::)); in to_tokens()
73 tokens.extend(quote_spanned!(span=> ::cxx::alloc::boxed::)); in to_tokens()
76 tokens.extend(quote_spanned!(span=> ::cxx::alloc::vec::)); in to_tokens()
99 tokens.extend(quote_spanned!(pin.span=> ::cxx::core::pin::Pin)); in to_tokens()
/third_party/rust/crates/cxx/macro/src/syntax/
H A Dtypes.rs19 pub cxx: UnorderedSet<&'a Ident>,
35 let mut cxx = UnorderedSet::new(); variables
75 && (!cxx.contains(ident)
100 && (!cxx.contains(ident)
113 cxx.insert(&enm.name.rust);
120 && (cxx.contains(ident)
128 cxx.insert(ident);
160 cxx.insert(ident);
198 trivial::required_trivial_reasons(apis, &all, &structs, &enums, &cxx);
204 cxx,
[all...]
H A Dtokens.rs16 tokens.extend(quote_spanned!(span=> ::cxx::private::)); in to_tokens()
19 tokens.extend(quote_spanned!(span=> ::cxx::)); in to_tokens()
22 tokens.extend(quote_spanned!(span=> ::cxx::alloc::string::)); in to_tokens()
70 tokens.extend(quote_spanned!(span=> ::cxx::)); in to_tokens()
73 tokens.extend(quote_spanned!(span=> ::cxx::alloc::boxed::)); in to_tokens()
76 tokens.extend(quote_spanned!(span=> ::cxx::alloc::vec::)); in to_tokens()
99 tokens.extend(quote_spanned!(pin.span=> ::cxx::core::pin::Pin)); in to_tokens()
/third_party/skia/infra/bots/recipe_modules/build/
H A Ddefault.py19 def compile_swiftshader(api, extra_tokens, swiftshader_root, cc, cxx, out):
27 cc, cxx: compiler binaries to use
38 'CXX': cxx,
98 cc, cxx, ccache = None, None, None
173 cxx = clang_linux + '/bin/clang++'
183 cc, cxx = 'clang', 'clang++'
187 cxx = skia_dir.join("tools/clang-tidy.sh")
242 compile_swiftshader(api, extra_tokens, swiftshader_root, cc, cxx, swiftshader_out)
331 'cxx': cxx,
[all...]
/third_party/node/benchmark/napi/function_call/
H A Dindex.js4 // Note that JS speed goes up, while cxx speed stays about the same.
21 const cxx = binding.hello;
37 assert(js() === cxx());
40 type: ['js', 'cxx', 'napi'],
45 const fn = type === 'cxx' ? cxx : type === 'napi' ? napi : js;
/third_party/skia/third_party/externals/harfbuzz/test/shape/data/aots/
H A Dupdate.py10 cxx = shutil.which ('c++'); assert cxx variable
24 subprocess.run ([cxx, '-std=c++11', '-Wno-narrowing', 'aots/harfbuzz/hb-aots-tester.cpp',
/third_party/gn/build/
H A Dgen.py231 def is_gcc(cxx):
232 """Return True iff the compiler at `cxx` is GCC based."""
234 f'{cxx} -dM -E -',
261 cxx, ar, ld, platform, host, options,
269 'cxx = ' + cxx,
324 'build %s: cxx %s' % (src_to_obj(src_file),
375 cxx = os.environ.get('CXX', 'cl.exe')
379 cxx = os.environ.get('CXX', 'g++')
383 cxx
[all...]
/third_party/rust/crates/cxx/gen/cmd/src/gen/
H A Dwrite.rs38 Api::Enum(enm) => !out.types.cxx.contains(&enm.name.rust), in write_forward_declarations()
88 if !out.types.cxx.contains(&strct.name.rust) {
104 if !out.types.cxx.contains(&enm.name.rust) {
258 writeln!(out, "struct {} final {{", strct.name.cxx);
264 writeln!(out, "{};", field.name.cxx);
276 let local_name = method.name.cxx.to_string();
289 strct.name.cxx,
294 strct.name.cxx,
302 strct.name.cxx,
307 strct.name.cxx,
[all...]
/third_party/rust/crates/cxx/gen/src/
H A Dwrite.rs38 Api::Enum(enm) => !out.types.cxx.contains(&enm.name.rust), in write_forward_declarations()
88 if !out.types.cxx.contains(&strct.name.rust) {
104 if !out.types.cxx.contains(&enm.name.rust) {
258 writeln!(out, "struct {} final {{", strct.name.cxx);
264 writeln!(out, "{};", field.name.cxx);
276 let local_name = method.name.cxx.to_string();
289 strct.name.cxx,
294 strct.name.cxx,
302 strct.name.cxx,
307 strct.name.cxx,
[all...]
/third_party/rust/crates/cxx/gen/lib/src/gen/
H A Dwrite.rs38 Api::Enum(enm) => !out.types.cxx.contains(&enm.name.rust), in write_forward_declarations()
88 if !out.types.cxx.contains(&strct.name.rust) {
104 if !out.types.cxx.contains(&enm.name.rust) {
258 writeln!(out, "struct {} final {{", strct.name.cxx);
264 writeln!(out, "{};", field.name.cxx);
276 let local_name = method.name.cxx.to_string();
289 strct.name.cxx,
294 strct.name.cxx,
302 strct.name.cxx,
307 strct.name.cxx,
[all...]

Completed in 13 milliseconds

12345678