Home
last modified time | relevance | path

Searched refs:ItemId (Results 1 – 19 of 19) sorted by relevance

/external/rust/crates/bindgen/src/ir/
Dtraversal.rs3 use super::context::{BindgenContext, ItemId};
16 to: ItemId,
22 pub fn new(to: ItemId, kind: EdgeKind) -> Edge { in new() argument
27 impl Into<ItemId> for Edge {
28 fn into(self) -> ItemId { in into() argument
252 fn add(&mut self, from: Option<ItemId>, item: ItemId) -> bool; in add() argument
260 fn add(&mut self, _: Option<ItemId>, item: ItemId) -> bool { in add() argument
269 pub struct Paths<'ctx>(BTreeMap<ItemId, ItemId>, &'ctx BindgenContext);
276 fn add(&mut self, from: Option<ItemId>, item: ItemId) -> bool { in add() argument
312 fn push(&mut self, item: ItemId); in push() argument
[all …]
Dcontext.rs38 pub struct ItemId(usize); struct
43 pub struct $name:ident(ItemId)
54 pub struct $name(ItemId);
59 let id: ItemId = self.into();
66 T: Copy + Into<ItemId>
69 let rhs: ItemId = (*rhs).into();
74 impl From<$name> for ItemId {
75 fn from(id: $name) -> ItemId {
80 impl<'a> From<&'a $name> for ItemId {
81 fn from(id: &'a $name) -> ItemId {
[all …]
Ditem.rs8 use super::context::{BindgenContext, ItemId, PartialType, TypeId};
116 fn contains(&self, _id: &ItemId) -> bool { in contains()
120 fn insert(&mut self, _id: ItemId) {} in insert() argument
125 item: ItemId,
131 fn new<Id: Into<ItemId>>(ctx: &'a BindgenContext, id: Id) -> Self { in new()
141 type Item = ItemId;
161 T: Copy + Into<ItemId>,
205 T: Copy + Into<ItemId>,
218 T: Copy + Into<ItemId>,
242 T: Copy + Into<ItemId>,
[all …]
Ddot.rs3 use super::context::{BindgenContext, ItemId};
48 &mut |sub_id: ItemId, edge_kind| { in write_dot_file()
Dobjc.rs3 use super::context::{BindgenContext, ItemId};
38 pub conforms_to: Vec<ItemId>,
41 pub parent_class: Option<ItemId>,
Dtemplate.rs30 use super::context::{BindgenContext, ItemId, TypeId};
150 Self: AsRef<ItemId>, in used_template_params()
Dty.rs4 use super::context::{BindgenContext, ItemId, TypeId};
236 pub fn is_incomplete_array(&self, ctx: &BindgenContext) -> Option<ItemId> { in is_incomplete_array() argument
689 Option<ItemId>,
718 potential_id: ItemId, in from_clang_ty() argument
721 parent_id: Option<ItemId>, in from_clang_ty() argument
Dcomp.rs5 use super::context::{BindgenContext, FunctionId, ItemId, TypeId, VarId};
1225 potential_id: ItemId, in from_ty() argument
/external/rust/crates/bindgen/src/
Dparse.rs4 use crate::ir::context::{BindgenContext, ItemId, TypeId};
23 AlreadyResolved(ItemId),
48 parent: Option<ItemId>, in parse() argument
50 ) -> Result<ItemId, ParseError>; in parse() argument
56 parent: Option<ItemId>, in from_ty() argument
63 id: ItemId, in from_ty_with_id() argument
66 parent: Option<ItemId>, in from_ty_with_id() argument
75 parent_id: Option<ItemId>, in from_ty_or_ref() argument
82 potential_id: ItemId, in from_ty_or_ref_with_id() argument
85 parent_id: Option<ItemId>, in from_ty_or_ref_with_id() argument
[all …]
Dlib.rs73 use crate::ir::context::{BindgenContext, ItemId};
2458 parent: Option<ItemId>, in parse_one() argument
/external/rust/crates/bindgen/src/ir/analysis/
Dhas_vtable.rs4 use crate::ir::context::{BindgenContext, ItemId};
68 have_vtable: HashMap<ItemId, HasVtableResult>,
77 dependencies: HashMap<ItemId, Vec<ItemId>>,
92 fn insert<Id: Into<ItemId>>( in insert()
120 Id1: Into<ItemId>, in forward()
121 Id2: Into<ItemId>, in forward() argument
134 type Node = ItemId;
136 type Output = HashMap<ItemId, HasVtableResult>;
149 fn initial_worklist(&self) -> Vec<ItemId> { in initial_worklist() argument
153 fn constrain(&mut self, id: ItemId) -> ConstrainResult { in constrain()
[all …]
Dhas_destructor.rs5 use crate::ir::context::{BindgenContext, ItemId};
30 have_destructor: HashSet<ItemId>,
39 dependencies: HashMap<ItemId, Vec<ItemId>>,
56 fn insert<Id: Into<ItemId>>(&mut self, id: Id) -> ConstrainResult { in insert()
70 type Node = ItemId;
72 type Output = HashSet<ItemId>;
85 fn initial_worklist(&self) -> Vec<ItemId> { in initial_worklist() argument
89 fn constrain(&mut self, id: ItemId) -> ConstrainResult { in constrain()
159 fn each_depending_on<F>(&self, id: ItemId, mut f: F) in each_depending_on() argument
161 F: FnMut(ItemId), in each_depending_on() argument
[all …]
Dhas_type_param_in_array.rs6 use crate::ir::context::{BindgenContext, ItemId};
30 has_type_parameter_in_array: HashSet<ItemId>,
39 dependencies: HashMap<ItemId, Vec<ItemId>>,
66 fn insert<Id: Into<ItemId>>(&mut self, id: Id) -> ConstrainResult { in insert()
87 type Node = ItemId;
89 type Output = HashSet<ItemId>;
102 fn initial_worklist(&self) -> Vec<ItemId> { in initial_worklist() argument
106 fn constrain(&mut self, id: ItemId) -> ConstrainResult { in constrain()
235 fn each_depending_on<F>(&self, id: ItemId, mut f: F) in each_depending_on() argument
237 F: FnMut(ItemId), in each_depending_on() argument
[all …]
Dhas_float.rs6 use crate::ir::context::{BindgenContext, ItemId};
30 has_float: HashSet<ItemId>,
39 dependencies: HashMap<ItemId, Vec<ItemId>>,
64 fn insert<Id: Into<ItemId>>(&mut self, id: Id) -> ConstrainResult { in insert()
81 type Node = ItemId;
83 type Output = HashSet<ItemId>;
96 fn initial_worklist(&self) -> Vec<ItemId> { in initial_worklist() argument
100 fn constrain(&mut self, id: ItemId) -> ConstrainResult { in constrain()
235 fn each_depending_on<F>(&self, id: ItemId, mut f: F) in each_depending_on() argument
237 F: FnMut(ItemId), in each_depending_on() argument
[all …]
Dtemplate_params.rs92 use crate::ir::context::{BindgenContext, ItemId};
154 used: HashMap<ItemId, Option<ItemSet>>,
156 dependencies: HashMap<ItemId, Vec<ItemId>>,
161 allowlisted_items: HashSet<ItemId>,
206 fn take_this_id_usage_set<Id: Into<ItemId>>( in take_this_id_usage_set()
231 this_id: ItemId, in constrain_instantiation_of_blocklisted_template() argument
272 this_id: ItemId, in constrain_instantiation() argument
375 type Node = ItemId;
377 type Output = HashMap<ItemId, ItemSet>;
410 &mut |sub_item: ItemId, _| { in new()
[all …]
Dderive.rs8 use crate::ir::context::{BindgenContext, ItemId};
70 can_derive: HashMap<ItemId, CanDerive>,
79 dependencies: HashMap<ItemId, Vec<ItemId>>,
107 fn insert<Id: Into<ItemId>>( in insert()
637 type Node = ItemId;
639 type Output = HashMap<ItemId, CanDerive>;
655 fn initial_worklist(&self) -> Vec<ItemId> { in initial_worklist() argument
676 fn constrain(&mut self, id: ItemId) -> ConstrainResult { in constrain()
710 fn each_depending_on<F>(&self, id: ItemId, mut f: F) in each_depending_on() argument
712 F: FnMut(ItemId), in each_depending_on() argument
[all …]
Dmod.rs56 use crate::ir::context::{BindgenContext, ItemId};
180 ) -> HashMap<ItemId, Vec<ItemId>> in generate_dependencies() argument
194 &mut |sub_item: ItemId, edge_kind| { in generate_dependencies()
/external/rust/crates/bindgen/src/codegen/
Dmod.rs27 use crate::ir::context::{BindgenContext, ItemId};
210 items_seen: HashSet<ItemId>,
278 fn seen<Id: Into<ItemId>>(&self, item: Id) -> bool { in seen()
282 fn set_seen<Id: Into<ItemId>>(&mut self, item: Id) { in set_seen()
1005 item_id: ItemId,
1014 item_id: ItemId, in new() argument
3390 T: Copy + Into<ItemId>,
3405 T: Copy + Into<ItemId>,
4053 let mut protocol_set: HashSet<ItemId> = Default::default(); in codegen()
/external/llvm-project/llvm/tools/llvm-rc/
DResourceScriptStmt.h527 MenuItem(StringRef Caption, uint32_t ItemId, uint16_t ItemFlags) in MenuItem() argument
528 : Name(Caption), Id(ItemId), Flags(ItemFlags) {} in MenuItem()