Home
last modified time | relevance | path

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

/third_party/rust/crates/bindgen/bindgen/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 From<Edge> for ItemId { implementation
245 fn add(&mut self, from: Option<ItemId>, item: ItemId) -> bool; in add() argument
253 fn add(&mut self, _: Option<ItemId>, item: ItemId) -> bool { in add() argument
262 pub struct Paths<'ctx>(BTreeMap<ItemId, ItemId>, &'ctx BindgenContext);
269 fn add(&mut self, from: Option<ItemId>, item: ItemId) -> bool { in add() argument
305 fn push(&mut self, item: ItemId); in push() argument
308 fn next(&mut self) -> Option<ItemId>; in next() 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.rs7 use super::context::{BindgenContext, ItemId, PartialType, TypeId};
113 fn contains(&self, _id: &ItemId) -> bool { in contains()
117 fn insert(&mut self, _id: ItemId) {} in insert() argument
122 item: ItemId,
128 fn new<Id: Into<ItemId>>(ctx: &'a BindgenContext, id: Id) -> Self { in new()
138 type Item = ItemId;
158 T: Copy + Into<ItemId>,
202 T: Copy + Into<ItemId>,
215 T: Copy + Into<ItemId>,
239 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};
37 pub conforms_to: Vec<ItemId>,
40 pub parent_class: Option<ItemId>,
Dtemplate.rs30 use super::context::{BindgenContext, ItemId, TypeId};
149 Self: AsRef<ItemId>, in used_template_params()
Dty.rs4 use super::context::{BindgenContext, ItemId, TypeId};
206 pub fn is_incomplete_array(&self, ctx: &BindgenContext) -> Option<ItemId> { in is_incomplete_array() argument
655 Option<ItemId>,
684 potential_id: ItemId, in from_clang_ty() argument
687 parent_id: Option<ItemId>, in from_clang_ty() argument
Dcomp.rs5 use super::context::{BindgenContext, FunctionId, ItemId, TypeId, VarId};
1248 potential_id: ItemId, in from_ty() argument
/third_party/rust/crates/bindgen/bindgen/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 …]
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 …]
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 …]
Dderive.rs8 use crate::ir::context::{BindgenContext, ItemId};
71 can_derive: HashMap<ItemId, CanDerive>,
80 dependencies: HashMap<ItemId, Vec<ItemId>>,
108 fn insert<Id: Into<ItemId>>( in insert()
624 type Node = ItemId;
626 type Output = HashMap<ItemId, CanDerive>;
642 fn initial_worklist(&self) -> Vec<ItemId> { in initial_worklist() argument
663 fn constrain(&mut self, id: ItemId) -> ConstrainResult { in constrain()
697 fn each_depending_on<F>(&self, id: ItemId, mut f: F) in each_depending_on() argument
699 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()
/third_party/typescript/scripts/
DgenerateLocalizedDiagnosticMessages.mjs100 let ItemId = item.$.ItemId;
103 if (typeof ItemId !== "string" || typeof val !== "string") {
108 if (ItemId.charAt(0) === ";") {
109 ItemId = ItemId.slice(1); // remove leading semicolon
113 out[ItemId] = val;
177 <Item ItemId=";${key}" ItemType="0" PsrId="306" Leaf="true">
196 <Item ItemId=";String Table" ItemType="0" PsrId="306" Leaf="false">
198 <Item ItemId=";Strings" ItemType="0" PsrId="306" Leaf="false">
/third_party/rust/crates/bindgen/bindgen/
Dparse.rs4 use crate::ir::context::{BindgenContext, ItemId};
22 AlreadyResolved(ItemId),
Dlib.rs91 use crate::ir::context::{BindgenContext, ItemId};
2865 parent: Option<ItemId>, in parse_one() argument
/third_party/rust/crates/bindgen/
DCONTRIBUTING.md277 * An `ItemId` to uniquely identify it.
280 module. It contains the set of `ItemId`s of `Item`s that are defined
288 * A function pointer type, with `ItemId`s of its parameter types
302 * The `ItemId` of its function pointer type.
305 * Its type's `ItemId`
/third_party/rust/crates/bindgen/bindgen/codegen/
Dmod.rs29 use crate::ir::context::{BindgenContext, ItemId};
244 items_seen: HashSet<ItemId>,
269 items_to_serialize: Vec<ItemId>,
315 fn seen<Id: Into<ItemId>>(&self, item: Id) -> bool { in seen()
319 fn set_seen<Id: Into<ItemId>>(&mut self, item: Id) { in set_seen()
1084 item_id: ItemId,
1091 fn new(item_id: ItemId, comp_info: &'a CompInfo) -> Self { in new() argument
3631 T: Copy + Into<ItemId>,
3646 T: Copy + Into<ItemId>,
4358 let mut protocol_set: HashSet<ItemId> = Default::default(); in codegen()