Home
last modified time | relevance | path

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

12345678910>>...33

/external/rust/cxx/tests/ffi/
Dtests.h54 rust::String cOverloadedMethod(int32_t x) const;
55 rust::String cOverloadedMethod(rust::Str x) const;
91 rust::Box<R> c_return_box();
99 rust::Str c_return_str(const Shared &shared);
100 rust::Slice<const char> c_return_slice_char(const Shared &shared);
101 rust::Slice<uint8_t> c_return_mutsliceu8(rust::Slice<uint8_t> slice);
102 rust::String c_return_rust_string();
111 rust::Vec<uint8_t> c_return_rust_vec();
112 const rust::Vec<uint8_t> &c_return_ref_rust_vec(const C &c);
113 rust::Vec<uint8_t> &c_return_mut_rust_vec(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()
97 rust::Str c_return_str(const Shared &shared) { in c_return_str()
102 rust::Slice<const char> c_return_slice_char(const Shared &shared) { in c_return_slice_char()
[all …]
/external/rust/crates/nix/
DCHANGELOG.md9 - Added a `passwd` field to `Group` (#[1338](https://github.com/nix-rust/nix/pull/1338))
10 - Added `mremap` (#[1306](https://github.com/nix-rust/nix/pull/1306))
11 - Added `personality` (#[1331](https://github.com/nix-rust/nix/pull/1331))
12 - Added limited Fuchsia support (#[1285](https://github.com/nix-rust/nix/pull/1285))
13 - Added `getpeereid` (#[1342](https://github.com/nix-rust/nix/pull/1342))
15 (#[1333](https://github.com/nix-rust/nix/pull/1333)).
20 ([#1356](https://github.com/nix-rust/nix/pull/1356))
23 (#[1350](https://github.com/nix-rust/nix/pull/1350))
25 (#[1344](https://github.com/nix-rust/nix/pull/1344))
29 ([#1381](https://github.com/nix-rust/nix/pull/1381))
[all …]
/external/rust/crates/getrandom/
DCHANGELOG.md12 [#198]: https://github.com/rust-random/getrandom/pull/198
13 [#200]: https://github.com/rust-random/getrandom/pull/200
28 [#165]: https://github.com/rust-random/getrandom/pull/165
29 [#166]: https://github.com/rust-random/getrandom/pull/166
30 [#167]: https://github.com/rust-random/getrandom/pull/167
31 [#177]: https://github.com/rust-random/getrandom/pull/177
32 [#178]: https://github.com/rust-random/getrandom/pull/178
33 [#184]: https://github.com/rust-random/getrandom/pull/184
53 [#106]: https://github.com/rust-random/getrandom/pull/106
54 [#107]: https://github.com/rust-random/getrandom/pull/107
[all …]
/external/rust/crates/codespan-reporting/
DCargo.lock6 source = "registry+https://github.com/rust-lang/crates.io-index"
15 source = "registry+https://github.com/rust-lang/crates.io-index"
21 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"
50 source = "registry+https://github.com/rust-lang/crates.io-index"
56 source = "registry+https://github.com/rust-lang/crates.io-index"
87 source = "registry+https://github.com/rust-lang/crates.io-index"
100 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/external/rust/crates/async-stream/
DCargo.lock6 source = "registry+https://github.com/rust-lang/crates.io-index"
24 source = "registry+https://github.com/rust-lang/crates.io-index"
35 source = "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"
59 source = "registry+https://github.com/rust-lang/crates.io-index"
69 source = "registry+https://github.com/rust-lang/crates.io-index"
75 source = "registry+https://github.com/rust-lang/crates.io-index"
81 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/external/rust/crates/quiche/
DCargo.lock6 source = "registry+https://github.com/rust-lang/crates.io-index"
12 source = "registry+https://github.com/rust-lang/crates.io-index"
18 source = "registry+https://github.com/rust-lang/crates.io-index"
24 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"
63 source = "registry+https://github.com/rust-lang/crates.io-index"
74 source = "registry+https://github.com/rust-lang/crates.io-index"
80 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/external/rust/crates/grpcio-compiler/
DCargo.lock6 source = "registry+https://github.com/rust-lang/crates.io-index"
12 source = "registry+https://github.com/rust-lang/crates.io-index"
18 source = "registry+https://github.com/rust-lang/crates.io-index"
24 source = "registry+https://github.com/rust-lang/crates.io-index"
30 source = "registry+https://github.com/rust-lang/crates.io-index"
36 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"
59 source = "registry+https://github.com/rust-lang/crates.io-index"
82 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/external/rust/crates/bitflags/
DCHANGELOG.md13 [#183]: https://github.com/rust-lang-nursery/bitflags/pull/183
14 [#188]: https://github.com/rust-lang-nursery/bitflags/pull/188
28 [#171]: https://github.com/rust-lang-nursery/bitflags/pull/171
29 [#173]: https://github.com/rust-lang-nursery/bitflags/pull/173
30 [#175]: https://github.com/rust-lang-nursery/bitflags/pull/175
36 ```rust
40 [#165]: https://github.com/rust-lang-nursery/bitflags/pull/165
46 [#157]: https://github.com/rust-lang-nursery/bitflags/pull/157
56 [#156]: https://github.com/rust-lang-nursery/bitflags/pull/156
57 [#153]: https://github.com/rust-lang-nursery/bitflags/pull/153
[all …]
/external/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"
59 source = "registry+https://github.com/rust-lang/crates.io-index"
65 source = "registry+https://github.com/rust-lang/crates.io-index"
74 source = "registry+https://github.com/rust-lang/crates.io-index"
80 source = "registry+https://github.com/rust-lang/crates.io-index"
86 source = "registry+https://github.com/rust-lang/crates.io-index"
97 source = "registry+https://github.com/rust-lang/crates.io-index"
112 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/external/rust/cxx/third-party/
DCargo.lock8 source = "registry+https://github.com/rust-lang/crates.io-index"
17 source = "registry+https://github.com/rust-lang/crates.io-index"
28 source = "registry+https://github.com/rust-lang/crates.io-index"
34 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"
151 source = "registry+https://github.com/rust-lang/crates.io-index"
157 source = "registry+https://github.com/rust-lang/crates.io-index"
163 source = "registry+https://github.com/rust-lang/crates.io-index"
172 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/external/rust/crates/num-traits/
DRELEASES.md15 behavior, but [rust#15536] resolved that such casts are fine.
22 [180]: https://github.com/rust-num/num-traits/pull/180
23 [185]: https://github.com/rust-num/num-traits/pull/185
24 [186]: https://github.com/rust-num/num-traits/pull/186
25 [192]: https://github.com/rust-num/num-traits/issues/192
26 [rust#15536]: https://github.com/rust-lang/rust/issues/15536
40 [153]: https://github.com/rust-num/num-traits/pull/153
41 [165]: https://github.com/rust-num/num-traits/pull/165
42 [171]: https://github.com/rust-num/num-traits/pull/171
51 [145]: https://github.com/rust-num/num-traits/pull/145
[all …]
/external/libchromeos-rs/
DCargo.lock10 source = "registry+https://github.com/rust-lang/crates.io-index"
16 source = "registry+https://github.com/rust-lang/crates.io-index"
30 source = "registry+https://github.com/rust-lang/crates.io-index"
45 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"
73 source = "registry+https://github.com/rust-lang/crates.io-index"
79 source = "registry+https://github.com/rust-lang/crates.io-index"
91 source = "registry+https://github.com/rust-lang/crates.io-index"
97 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/external/rust/crates/crossbeam-epoch/
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"
26 source = "registry+https://github.com/rust-lang/crates.io-index"
46 source = "registry+https://github.com/rust-lang/crates.io-index"
58 source = "registry+https://github.com/rust-lang/crates.io-index"
71 source = "registry+https://github.com/rust-lang/crates.io-index"
82 source = "registry+https://github.com/rust-lang/crates.io-index"
88 source = "registry+https://github.com/rust-lang/crates.io-index"
94 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/external/crosvm/
DCargo.lock35 source = "registry+https://github.com/rust-lang/crates.io-index"
41 source = "registry+https://github.com/rust-lang/crates.io-index"
71 source = "registry+https://github.com/rust-lang/crates.io-index"
77 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"
139 source = "registry+https://github.com/rust-lang/crates.io-index"
145 source = "registry+https://github.com/rust-lang/crates.io-index"
151 source = "registry+https://github.com/rust-lang/crates.io-index"
157 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/external/rust/crates/rand/
DCargo.lock6 source = "registry+https://github.com/rust-lang/crates.io-index"
16 source = "registry+https://github.com/rust-lang/crates.io-index"
22 source = "registry+https://github.com/rust-lang/crates.io-index"
28 source = "registry+https://github.com/rust-lang/crates.io-index"
34 source = "registry+https://github.com/rust-lang/crates.io-index"
45 source = "registry+https://github.com/rust-lang/crates.io-index"
51 source = "registry+https://github.com/rust-lang/crates.io-index"
57 source = "registry+https://github.com/rust-lang/crates.io-index"
66 source = "registry+https://github.com/rust-lang/crates.io-index"
76 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/external/rust/cxx/syntax/
Dcheck.rs67 let ident = &name.rust; in check_type_ident()
72 && !cx.types.rust.contains(ident) in check_type_ident()
81 if cx.types.cxx.contains(&ident.rust) in check_type_box()
82 && !cx.types.aliases.contains_key(&ident.rust) in check_type_box()
83 && !cx.types.structs.contains_key(&ident.rust) in check_type_box()
84 && !cx.types.enums.contains_key(&ident.rust) in check_type_box()
89 if Atom::from(&ident.rust).is_none() { in check_type_box()
100 if cx.types.cxx.contains(&ident.rust) in check_type_rust_vec()
101 && !cx.types.aliases.contains_key(&ident.rust) in check_type_rust_vec()
102 && !cx.types.structs.contains_key(&ident.rust) in check_type_rust_vec()
[all …]
/external/rust/crates/crossbeam-channel/
DCargo.lock6 source = "registry+https://github.com/rust-lang/crates.io-index"
12 source = "registry+https://github.com/rust-lang/crates.io-index"
18 source = "registry+https://github.com/rust-lang/crates.io-index"
24 source = "registry+https://github.com/rust-lang/crates.io-index"
30 source = "registry+https://github.com/rust-lang/crates.io-index"
47 source = "registry+https://github.com/rust-lang/crates.io-index"
59 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"
85 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/external/rust/crates/num-derive/
DRELEASES.md5 [41]: https://github.com/rust-num/num-derive/pull/41
11 [40]: https://github.com/rust-num/num-derive/pull/40
18 [35]: https://github.com/rust-num/num-derive/pull/35
19 [39]: https://github.com/rust-num/num-derive/pull/39
26 [28]: https://github.com/rust-num/num-derive/pull/28
32 [23]: https://github.com/rust-num/num-derive/pull/23
38 [22]: https://github.com/rust-num/num-derive/pull/22
46 [17]: https://github.com/rust-num/num-derive/pull/17
52 [14]: https://github.com/rust-num/num-derive/pull/14
58 [12]: https://github.com/rust-num/num-derive/pull/12
[all …]
/external/rust/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 …]
/external/rust/crates/protobuf-codegen/
DREADME.md3 This crate contains protobuf code generator and a `protoc-gen-rust` `protoc` plugin.
5 ## protoc-gen-rust
7 `protoc-gen-rust` implements standard protobuf `protoc` plugin conventions.
11 * [protoc-rust crate](https://github.com/stepancheg/rust-protobuf/tree/master/protoc-rust)
13 which requires only `protoc` in `$PATH` but not `protoc-gen-rust`.
14 * [protobuf-codegen-pure crate](https://github.com/stepancheg/rust-protobuf/tree/master/protobuf-co…
15 which behaves like protoc-rust, but does not depend on `protoc` binary
20 [protoc crate](https://github.com/stepancheg/rust-protobuf/tree/master/protoc/))
36 Protobuf is needed only for code generation, `rust-protobuf` runtime
39 1) Install `protoc-gen-rust` program (which is `protoc` plugin)
[all …]
DCargo.toml.orig6 homepage = "https://github.com/stepancheg/rust-protobuf/"
7 repository = "https://github.com/stepancheg/rust-protobuf/"
9 Code generator for rust-protobuf.
11 Includes a library and `protoc-gen-rust` binary.
13 See `protoc-rust` and `protobuf-codegen-pure` crates.
24 name = "protoc-gen-rust"
25 path = "src/bin/protoc-gen-rust.rs"
30 name = "protobuf-bin-gen-rust-do-not-use"
31 path = "src/bin/protobuf-bin-gen-rust-do-not-use.rs"
/external/rust/crates/mio/
DCargo.lock8 source = "registry+https://github.com/rust-lang/crates.io-index"
14 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"
35 source = "registry+https://github.com/rust-lang/crates.io-index"
57 source = "registry+https://github.com/rust-lang/crates.io-index"
67 source = "registry+https://github.com/rust-lang/crates.io-index"
76 source = "registry+https://github.com/rust-lang/crates.io-index"
89 source = "registry+https://github.com/rust-lang/crates.io-index"
98 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/external/rust/crates/pin-project-lite/
D.rustfmt.toml2 # https://github.com/rust-lang/rustfmt/blob/HEAD/Configurations.md
6 # This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/3383).
9 # This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/3391)
13 # See https://internals.rust-lang.org/t/running-rustfmt-on-rust-lang-rust-and-other-rust-lang-repos…
15 # See https://github.com/rust-dev-tools/fmt-rfcs/issues/149.
16 # 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/3362).
22 # This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/3348).
/external/rust/crates/syn-mid/
D.rustfmt.toml2 # https://github.com/rust-lang/rustfmt/blob/HEAD/Configurations.md
6 # This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/3383).
9 # This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/3391)
13 # See https://internals.rust-lang.org/t/running-rustfmt-on-rust-lang-rust-and-other-rust-lang-repos…
15 # See https://github.com/rust-dev-tools/fmt-rfcs/issues/149.
16 # 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/3362).
22 # This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/3348).

12345678910>>...33