Home
last modified time | relevance | path

Searched refs:rust (Results 1 – 25 of 495) sorted by relevance

12345678910>>...20

/third_party/rust/crates/cxx/tests/ffi/
Dtests.h54 rust::String cOverloadedMethod(int32_t x) const;
55 rust::String cOverloadedMethod(rust::Str x) const;
93 rust::Box<R> c_return_box();
101 rust::Str c_return_str(const Shared &shared);
102 rust::Slice<const char> c_return_slice_char(const Shared &shared);
103 rust::Slice<uint8_t> c_return_mutsliceu8(rust::Slice<uint8_t> slice);
104 rust::String c_return_rust_string();
105 rust::String c_return_rust_string_lossy();
114 rust::Vec<uint8_t> c_return_rust_vec_u8();
115 const rust::Vec<uint8_t> &c_return_ref_rust_vec(const C &c);
[all …]
Dtests.cc63 rust::Box<R> c_return_box() { in c_return_box()
65 rust::Box<Shared> box{shared}; // explicit constructor from const T& in c_return_box()
66 rust::Box<Shared> other{std::move(shared)}; // explicit constructor from T&& in c_return_box()
68 rust::Box<Shared> box2(*box); // copy from another Box in c_return_box()
69 rust::Box<Shared> other2(std::move(other)); // move constructor in c_return_box()
70 rust::Box<Shared>::in_place(shared.z); // placement static factory in c_return_box()
71 rust::Box<Shared>::in_place<size_t>(0); in c_return_box()
72 return rust::Box<R>::from_raw(cxx_test_suite_get_box()); in c_return_box()
99 rust::Str c_return_str(const Shared &shared) { in c_return_str()
104 rust::Slice<const char> c_return_slice_char(const Shared &shared) { in c_return_slice_char()
[all …]
/third_party/rust/crates/nix/
DCHANGELOG.md9 ([#1964](https://github.com/nix-rust/nix/pull/1964))
14 ([#1821](https://github.com/nix-rust/nix/pull/1821))
20 ([#1871](https://github.com/nix-rust/nix/pull/1871))
23 ([#1877](https://github.com/nix-rust/nix/pull/1877))
25 ([#1849](https://github.com/nix-rust/nix/pull/1849))
27 ([#1849](https://github.com/nix-rust/nix/pull/1849))
29 ([#1829](https://github.com/nix-rust/nix/pull/1829))
31 ([#1825](https://github.com/nix-rust/nix/pull/1825))
33 ([#1804](https://github.com/nix-rust/nix/pull/1804))
35 ([#1805](https://github.com/nix-rust/nix/pull/1805))
[all …]
/third_party/rust/crates/bindgen/
DCargo.lock8 source = "registry+https://github.com/rust-lang/crates.io-index"
17 source = "registry+https://github.com/rust-lang/crates.io-index"
26 source = "registry+https://github.com/rust-lang/crates.io-index"
35 source = "registry+https://github.com/rust-lang/crates.io-index"
96 source = "registry+https://github.com/rust-lang/crates.io-index"
102 source = "registry+https://github.com/rust-lang/crates.io-index"
108 source = "registry+https://github.com/rust-lang/crates.io-index"
114 source = "registry+https://github.com/rust-lang/crates.io-index"
123 source = "registry+https://github.com/rust-lang/crates.io-index"
129 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/third_party/rust/crates/clap/
DCargo.lock8 source = "registry+https://github.com/rust-lang/crates.io-index"
17 source = "registry+https://github.com/rust-lang/crates.io-index"
23 source = "registry+https://github.com/rust-lang/crates.io-index"
29 source = "registry+https://github.com/rust-lang/crates.io-index"
40 source = "registry+https://github.com/rust-lang/crates.io-index"
46 source = "registry+https://github.com/rust-lang/crates.io-index"
61 source = "registry+https://github.com/rust-lang/crates.io-index"
67 source = "registry+https://github.com/rust-lang/crates.io-index"
73 source = "registry+https://github.com/rust-lang/crates.io-index"
79 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
DBUILD.gn27 "//third_party/rust/crates/bitflags:lib",
28 "//third_party/rust/crates/clap/clap_derive:lib(${host_toolchain})",
29 "//third_party/rust/crates/clap/clap_lex:lib",
30 "//third_party/rust/crates/is-terminal:lib",
31 "//third_party/rust/crates/once_cell:lib",
32 "//third_party/rust/crates/strsim-rs:lib",
33 "//third_party/rust/crates/termcolor:lib",
56 "//third_party/rust/crates/bitflags:lib",
57 "//third_party/rust/crates/clap:lib",
58 "//third_party/rust/crates/clap/clap_derive:lib(${host_toolchain})",
[all …]
/third_party/rust/crates/memchr/bench/
DCargo.lock6 source = "registry+https://github.com/rust-lang/crates.io-index"
17 source = "registry+https://github.com/rust-lang/crates.io-index"
23 source = "registry+https://github.com/rust-lang/crates.io-index"
29 source = "registry+https://github.com/rust-lang/crates.io-index"
33 "memchr 2.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
41 source = "registry+https://github.com/rust-lang/crates.io-index"
47 source = "registry+https://github.com/rust-lang/crates.io-index"
53 source = "registry+https://github.com/rust-lang/crates.io-index"
62 source = "registry+https://github.com/rust-lang/crates.io-index"
68 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/third_party/rust/crates/signal-hook/
DCargo.lock8 source = "registry+https://github.com/rust-lang/crates.io-index"
18 source = "registry+https://github.com/rust-lang/crates.io-index"
29 source = "registry+https://github.com/rust-lang/crates.io-index"
43 source = "registry+https://github.com/rust-lang/crates.io-index"
58 source = "registry+https://github.com/rust-lang/crates.io-index"
77 source = "registry+https://github.com/rust-lang/crates.io-index"
86 source = "registry+https://github.com/rust-lang/crates.io-index"
114 source = "registry+https://github.com/rust-lang/crates.io-index"
120 source = "registry+https://github.com/rust-lang/crates.io-index"
126 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/third_party/rust/crates/num-traits/
DRELEASES.md20 [195]: https://github.com/rust-num/num-traits/pull/195
21 [196]: https://github.com/rust-num/num-traits/pull/196
22 [201]: https://github.com/rust-num/num-traits/pull/201
23 [202]: https://github.com/rust-num/num-traits/pull/202
24 [205]: https://github.com/rust-num/num-traits/pull/205
25 [207]: https://github.com/rust-num/num-traits/pull/207
26 [210]: https://github.com/rust-num/num-traits/pull/210
27 [214]: https://github.com/rust-num/num-traits/pull/214
43 behavior, but [rust#15536] resolved that such casts are fine.
50 [180]: https://github.com/rust-num/num-traits/pull/180
[all …]
/third_party/rust/crates/once_cell/
DCargo.lock.msrv8 source = "registry+https://github.com/rust-lang/crates.io-index"
17 source = "registry+https://github.com/rust-lang/crates.io-index"
26 source = "registry+https://github.com/rust-lang/crates.io-index"
32 source = "registry+https://github.com/rust-lang/crates.io-index"
38 source = "registry+https://github.com/rust-lang/crates.io-index"
44 source = "registry+https://github.com/rust-lang/crates.io-index"
48 "once_cell 1.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
54 source = "registry+https://github.com/rust-lang/crates.io-index"
60 source = "registry+https://github.com/rust-lang/crates.io-index"
66 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/third_party/rust/crates/cxx/syntax/
Dcheck.rs83 let ident = &name.rust; in check_type_ident()
88 && !cx.types.rust.contains(ident) in check_type_ident()
97 if cx.types.cxx.contains(&ident.rust) in check_type_box()
98 && !cx.types.aliases.contains_key(&ident.rust) in check_type_box()
99 && !cx.types.structs.contains_key(&ident.rust) in check_type_box()
100 && !cx.types.enums.contains_key(&ident.rust) in check_type_box()
105 if Atom::from(&ident.rust).is_none() { in check_type_box()
116 if cx.types.cxx.contains(&ident.rust) in check_type_rust_vec()
117 && !cx.types.aliases.contains_key(&ident.rust) in check_type_rust_vec()
118 && !cx.types.structs.contains_key(&ident.rust) in check_type_rust_vec()
[all …]
/third_party/rust/crates/bindgen/releases/
Drelease-announcement-template.md40 [GitHub]: https://github.com/rust-lang/rust-bindgen
42 [guide]: https://rust-lang.github.io/rust-bindgen
44 [contributing]: https://github.com/rust-lang/rust-bindgen/blob/main/CONTRIBUTING.md
45 [easy]: https://github.com/rust-lang/rust-bindgen/issues?q=is%3Aopen+is%3Aissue+label%3AE-easy
46 [less-easy]: https://github.com/rust-lang/rust-bindgen/issues?q=is%3Aopen+is%3Aissue+label%3AE-less…
47 [looking]: https://github.com/rust-lang/rust-bindgen/issues/747
48 [docs-issues]: https://github.com/rust-lang/rust-bindgen/issues?q=is%3Aopen+is%3Aissue+label%3AI-ne…
49 [file-issue]: https://github.com/rust-lang/rust-bindgen/issues/new
/third_party/rust/crates/bitflags/
DCHANGELOG.md70 [#183]: https://github.com/rust-lang-nursery/bitflags/pull/183
71 [#188]: https://github.com/rust-lang-nursery/bitflags/pull/188
85 [#171]: https://github.com/rust-lang-nursery/bitflags/pull/171
86 [#173]: https://github.com/rust-lang-nursery/bitflags/pull/173
87 [#175]: https://github.com/rust-lang-nursery/bitflags/pull/175
93 ```rust
97 [#165]: https://github.com/rust-lang-nursery/bitflags/pull/165
103 [#157]: https://github.com/rust-lang-nursery/bitflags/pull/157
113 [#156]: https://github.com/rust-lang-nursery/bitflags/pull/156
114 [#153]: https://github.com/rust-lang-nursery/bitflags/pull/153
[all …]
/third_party/rust/crates/bindgen/bindgen/
DBUILD.gn28 "//third_party/rust/crates/bitflags:lib",
29 "//third_party/rust/crates/rust-cexpr:lib",
30 "//third_party/rust/crates/clang-sys:lib",
31 "//third_party/rust/crates/lazy-static.rs:lib",
32 "//third_party/rust/crates/lazycell:lib",
33 "//third_party/rust/crates/log:lib",
34 "//third_party/rust/crates/peeking_take_while:lib",
35 "//third_party/rust/crates/proc-macro2:lib",
36 "//third_party/rust/crates/quote:lib",
37 "//third_party/rust/crates/regex:lib",
[all …]
/third_party/rust/crates/cxx/third-party/
DCargo.lock8 source = "registry+https://github.com/rust-lang/crates.io-index"
14 source = "registry+https://github.com/rust-lang/crates.io-index"
20 source = "registry+https://github.com/rust-lang/crates.io-index"
30 source = "registry+https://github.com/rust-lang/crates.io-index"
39 source = "registry+https://github.com/rust-lang/crates.io-index"
49 source = "registry+https://github.com/rust-lang/crates.io-index"
55 source = "registry+https://github.com/rust-lang/crates.io-index"
61 source = "registry+https://github.com/rust-lang/crates.io-index"
70 source = "registry+https://github.com/rust-lang/crates.io-index"
79 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/third_party/rust/crates/regex/
DCHANGELOG.md8 * [PERF #930](https://github.com/rust-lang/regex/pull/930):
13 * [BUG #945](https://github.com/rust-lang/regex/issues/945):
23 * [FEATURE #832](https://github.com/rust-lang/regex/issues/916):
33 * [FEATURE #832](https://github.com/rust-lang/regex/pull/832):
35 * [FEATURE #857](https://github.com/rust-lang/regex/pull/857):
37 * [FEATURE #861](https://github.com/rust-lang/regex/pull/861):
39 * [FEATURE #877](https://github.com/rust-lang/regex/issues/877):
44 * [BUG #792](https://github.com/rust-lang/regex/issues/792):
53 * [BUG #680](https://github.com/rust-lang/regex/issues/680):
55 * [BUG #859](https://github.com/rust-lang/regex/issues/859):
[all …]
/third_party/rust/crates/cxx/book/src/binding/
Dbox.md1 {{#title rust::Box<T> — Rust ♡ C++}}
2 # rust::Box\<T\>
7 // rust/cxx.h
11 # namespace rust {
46 # } // namespace rust
59 [Sized]: https://doc.rust-lang.org/std/marker/trait.Sized.html
67 ```rust,noplayground
105 #include "rust/cxx.h"
107 void f(rust::Fn<void(rust::Box<File>, rust::Str, rust::Str)> callback,
108 rust::Box<File> out);
[all …]
Dstr.md1 {{#title rust::Str — Rust ♡ C++}}
2 # rust::Str
7 // rust/cxx.h
12 # namespace rust {
54 # } // namespace rust
59 **Be aware that rust::Str behaves like &amp;str i.e. it is a borrow!**&ensp;C++
62 Just to reiterate: &amp;str is rust::Str. Do not try to write &amp;str as `const
63 rust::Str &`. A language-level C++ reference is not able to capture the fat
74 ```rust,noplayground
103 #include "rust/cxx.h"
[all …]
/third_party/rust/crates/rust-openssl/openssl-sys/
DCHANGELOG.md402 [Unreleased]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.82..master
403 [v0.9.82]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.81...openssl-sys-v0.9.…
404 [v0.9.81]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.80...openssl-sys-v0.9.…
405 [v0.9.80]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.79...openssl-sys-v0.9.…
406 [v0.9.79]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.78...openssl-sys-v0.9.…
407 [v0.9.78]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.77...openssl-sys-v0.9.…
408 [v0.9.77]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.76...openssl-sys-v0.9.…
409 [v0.9.76]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.75...openssl-sys-v0.9.…
410 [v0.9.75]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.74...openssl-sys-v0.9.…
411 [v0.9.74]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.73...openssl-sys-v0.9.…
[all …]
/third_party/rust/crates/serde/serde_test/
DREADME.md9 [Rust 1.13]: https://blog.rust-lang.org/2016/11/10/Rust-1.13.html
10 [Rust 1.31]: https://blog.rust-lang.org/2018/12/06/Rust-1.31-and-rust-2018.html
30 <a href="https://play.rust-lang.org/?edition=2018&gist=72755f28f99afc95e01d63174b28c1f5" target="_b…
50 ```rust
80 [#rust-questions] or [#rust-beginners] channels of the unofficial community
81 Discord (invite: <https://discord.gg/rust-lang-community>), the [#rust-usage] or
83 <https://discord.gg/rust-lang>), or the [#general][zulip] stream in Zulip. For
84 asynchronous, consider the [\[rust\] tag on StackOverflow][stackoverflow], the
85 [/r/rust] subreddit which has a pinned weekly easy questions post, or the Rust
90 [#rust-questions]: https://discord.com/channels/273534239310479360/274215136414400513
[all …]
/third_party/rust/crates/serde/serde_derive/
DREADME.md9 [Rust 1.13]: https://blog.rust-lang.org/2016/11/10/Rust-1.13.html
10 [Rust 1.31]: https://blog.rust-lang.org/2018/12/06/Rust-1.31-and-rust-2018.html
30 <a href="https://play.rust-lang.org/?edition=2018&gist=72755f28f99afc95e01d63174b28c1f5" target="_b…
50 ```rust
80 [#rust-questions] or [#rust-beginners] channels of the unofficial community
81 Discord (invite: <https://discord.gg/rust-lang-community>), the [#rust-usage] or
83 <https://discord.gg/rust-lang>), or the [#general][zulip] stream in Zulip. For
84 asynchronous, consider the [\[rust\] tag on StackOverflow][stackoverflow], the
85 [/r/rust] subreddit which has a pinned weekly easy questions post, or the Rust
90 [#rust-questions]: https://discord.com/channels/273534239310479360/274215136414400513
[all …]
/third_party/rust/crates/serde/serde/
DREADME.md9 [Rust 1.13]: https://blog.rust-lang.org/2016/11/10/Rust-1.13.html
10 [Rust 1.31]: https://blog.rust-lang.org/2018/12/06/Rust-1.31-and-rust-2018.html
30 <a href="https://play.rust-lang.org/?edition=2018&gist=72755f28f99afc95e01d63174b28c1f5" target="_b…
50 ```rust
80 [#rust-questions] or [#rust-beginners] channels of the unofficial community
81 Discord (invite: <https://discord.gg/rust-lang-community>), the [#rust-usage] or
83 <https://discord.gg/rust-lang>), or the [#general][zulip] stream in Zulip. For
84 asynchronous, consider the [\[rust\] tag on StackOverflow][stackoverflow], the
85 [/r/rust] subreddit which has a pinned weekly easy questions post, or the Rust
90 [#rust-questions]: https://discord.com/channels/273534239310479360/274215136414400513
[all …]
/third_party/rust/crates/serde/
DREADME.md9 [Rust 1.13]: https://blog.rust-lang.org/2016/11/10/Rust-1.13.html
10 [Rust 1.31]: https://blog.rust-lang.org/2018/12/06/Rust-1.31-and-rust-2018.html
30 <a href="https://play.rust-lang.org/?edition=2018&gist=72755f28f99afc95e01d63174b28c1f5" target="_b…
50 ```rust
80 [#rust-questions] or [#rust-beginners] channels of the unofficial community
81 Discord (invite: <https://discord.gg/rust-lang-community>), the [#rust-usage] or
83 <https://discord.gg/rust-lang>), or the [#general][zulip] stream in Zulip. For
84 asynchronous, consider the [\[rust\] tag on StackOverflow][stackoverflow], the
85 [/r/rust] subreddit which has a pinned weekly easy questions post, or the Rust
90 [#rust-questions]: https://discord.com/channels/273534239310479360/274215136414400513
[all …]
/third_party/rust/crates/cxx/src/
Dcxx.cc38 void cxxbridge1$string$new(rust::String *self) noexcept;
39 void cxxbridge1$string$clone(rust::String *self,
40 const rust::String &other) noexcept;
41 bool cxxbridge1$string$from_utf8(rust::String *self, const char *ptr,
43 void cxxbridge1$string$from_utf8_lossy(rust::String *self, const char *ptr,
45 bool cxxbridge1$string$from_utf16(rust::String *self, const char16_t *ptr,
47 void cxxbridge1$string$from_utf16_lossy(rust::String *self, const char16_t *ptr,
49 void cxxbridge1$string$drop(rust::String *self) noexcept;
50 const char *cxxbridge1$string$ptr(const rust::String *self) noexcept;
51 std::size_t cxxbridge1$string$len(const rust::String *self) noexcept;
[all …]
/third_party/rust/crates/pin-project-lite/
D.rustfmt.toml2 # https://github.com/rust-lang/rustfmt/blob/HEAD/Configurations.md
5 # This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/3391)
9 # See https://internals.rust-lang.org/t/running-rustfmt-on-rust-lang-rust-and-other-rust-lang-repos…
11 # See https://github.com/rust-dev-tools/fmt-rfcs/issues/149.
12 # This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/3370)
20 # This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/3348).

12345678910>>...20