Home
last modified time | relevance | path

Searched refs:BTreeSet (Results 1 – 25 of 31) sorted by relevance

12

/third_party/rust/crates/env_logger/ci/src/
Dpermute.rs1 use std::collections::BTreeSet;
3 pub fn all<T>(input: &[T]) -> BTreeSet<BTreeSet<T>> in all()
7 let mut permutations = BTreeSet::new(); in all()
Dtask.rs1 use std::collections::BTreeSet;
7 pub features: BTreeSet<Feature>,
15 features: BTreeSet::new(), in default()
/third_party/rust/crates/bindgen/bindgen/
Ddeps.rs2 use std::{collections::BTreeSet, path::PathBuf};
11 pub fn write(&self, deps: &BTreeSet<String>) -> std::io::Result<()> { in write()
/third_party/rust/crates/serde/test_suite/tests/macros/
Dmod.rs6 BTreeSet::new()
9 let mut set = BTreeSet::new();
/third_party/rust/crates/syn/json/src/
Dlib.rs52 use std::collections::{BTreeMap, BTreeSet};
191 pub any: BTreeSet<String>,
/third_party/rust/crates/cxx/syntax/
Ddiscriminant.rs5 use std::collections::BTreeSet;
13 values: BTreeSet<Discriminant>,
33 values: BTreeSet::new(), in new()
/third_party/rust/crates/serde/serde/src/
Dlib.rs208 pub use alloc::collections::{BTreeMap, BTreeSet, BinaryHeap, LinkedList, VecDeque};
210 pub use std::collections::{BTreeMap, BTreeSet, BinaryHeap, LinkedList, VecDeque};
/third_party/rust/crates/cxx/gen/build/src/
Dlib.rs104 use std::collections::BTreeSet;
300 let mut used_header_links = BTreeSet::new(); in make_this_crate()
301 let mut used_header_prefixes = BTreeSet::new(); in make_this_crate()
Dcargo.rs5 use std::collections::{BTreeMap as Map, BTreeSet as Set};
/third_party/rust/crates/serde/serde_derive/src/internals/
Dattr.rs7 use std::collections::BTreeSet;
161 let mut alias_list = BTreeSet::new(); in from_attrs()
1117 borrowed_lifetimes: BTreeSet<syn::Lifetime>,
1477 pub fn borrowed_lifetimes(&self) -> &BTreeSet<syn::Lifetime> { in borrowed_lifetimes()
1662 ) -> Result<BTreeSet<syn::Lifetime>, ()> { in parse_lit_into_lifetimes()
1678 let mut set = BTreeSet::new(); in parse_lit_into_lifetimes()
1841 ) -> Result<BTreeSet<syn::Lifetime>, ()> { in borrowable_lifetimes()
1842 let mut lifetimes = BTreeSet::new(); in borrowable_lifetimes()
1855 fn collect_lifetimes(ty: &syn::Type, out: &mut BTreeSet<syn::Lifetime>) { in collect_lifetimes()
1922 fn collect_lifetimes_from_tokens(tokens: TokenStream, out: &mut BTreeSet<syn::Lifetime>) { in collect_lifetimes_from_tokens()
/third_party/rust/crates/unicode-ident/generate/src/
Dparse.rs1 use std::collections::BTreeSet as Set;
/third_party/rust/crates/quote/tests/
Dtest.rs9 use std::collections::BTreeSet;
338 let mut set = BTreeSet::new(); in test_btreeset_repetition()
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs1805 use std::collections::BTreeSet;
1810 fn random(n: usize) -> BTreeSet<usize> { in random()
1812 let mut set = BTreeSet::new(); in random()
1820 fn neg(n: usize) -> BTreeSet<i32> { in neg()
1821 let set: BTreeSet<i32> = (-(n as i32)..=-1).collect(); in neg()
1826 fn pos(n: usize) -> BTreeSet<i32> { in pos()
1827 let set: BTreeSet<i32> = (1..=(n as i32)).collect(); in pos()
1832 fn stagger(n1: usize, factor: usize) -> [BTreeSet<u32>; 2] { in stagger()
1834 let mut sets = [BTreeSet::new(), BTreeSet::new()];
1857 fn slim_set(n: usize) -> BTreeSet<usize> { in slim_set()
[all …]
/third_party/rust/crates/cxx/gen/cmd/src/
Dcfg.rs2 use std::collections::{BTreeMap as Map, BTreeSet as Set};
Dmain.rs43 use std::collections::{BTreeMap as Map, BTreeSet as Set};
Dapp.rs11 use std::collections::{BTreeMap as Map, BTreeSet as Set};
/third_party/rust/crates/serde/test_suite/tests/
Dtest_de_error.rs7 use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};
1319 assert_de_tokens_error::<BTreeSet<isize>>( in test_btreeset_from_unit()
1327 assert_de_tokens_error::<BTreeSet<isize>>( in test_btreeset_from_unit_struct()
Dtest_ser.rs5 use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};
205 &BTreeSet::<isize>::new(), in test_btreeset()
Dtest_de.rs11 use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};
950 BTreeSet::<isize>::new(), in test_btreeset()
970 BTreeSet::<isize>::new(), in test_btreeset()
/third_party/rust/crates/aho-corasick/src/
Dnfa.rs2 use std::collections::{BTreeSet, VecDeque};
1049 set: Option<BTreeSet<S>>,
1061 QueuedSet { set: Some(BTreeSet::new()) } in active()
/third_party/rust/crates/quote/src/
Druntime.rs52 use std::collections::btree_set::{self, BTreeSet};
121 impl<'q, T: 'q> RepAsIteratorExt<'q> for BTreeSet<T> { implementation
/third_party/rust/crates/cxx/gen/src/
Dcfg.rs6 use std::collections::BTreeSet as Set;
Dmod.rs26 use std::collections::BTreeSet as Set;
/third_party/rust/crates/syn/codegen/src/
Dparse.rs267 use std::collections::{BTreeMap, BTreeSet};
464 let mut features = BTreeSet::new(); in parse_features()
/third_party/rust/crates/bindgen/bindgen/ir/
Dcontext.rs32 use std::collections::{BTreeSet, HashMap as StdHashMap};
358 deps: BTreeSet<String>,
648 pub fn deps(&self) -> &BTreeSet<String> { in deps()

12