/third_party/rust/crates/bindgen/bindgen/ir/ |
D | traversal.rs | 3 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 …]
|
D | context.rs | 38 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 …]
|
D | item.rs | 7 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 …]
|
D | dot.rs | 3 use super::context::{BindgenContext, ItemId}; 48 &mut |sub_id: ItemId, edge_kind| { in write_dot_file()
|
D | objc.rs | 3 use super::context::{BindgenContext, ItemId}; 37 pub conforms_to: Vec<ItemId>, 40 pub parent_class: Option<ItemId>,
|
D | template.rs | 30 use super::context::{BindgenContext, ItemId, TypeId}; 149 Self: AsRef<ItemId>, in used_template_params()
|
D | ty.rs | 4 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
|
D | comp.rs | 5 use super::context::{BindgenContext, FunctionId, ItemId, TypeId, VarId}; 1248 potential_id: ItemId, in from_ty() argument
|
/third_party/rust/crates/bindgen/bindgen/ir/analysis/ |
D | has_vtable.rs | 4 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 …]
|
D | has_destructor.rs | 5 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 …]
|
D | has_type_param_in_array.rs | 6 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 …]
|
D | template_params.rs | 92 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 …]
|
D | has_float.rs | 6 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 …]
|
D | derive.rs | 8 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 …]
|
D | mod.rs | 56 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/ |
D | generateLocalizedDiagnosticMessages.mjs | 100 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/ |
D | parse.rs | 4 use crate::ir::context::{BindgenContext, ItemId}; 22 AlreadyResolved(ItemId),
|
D | lib.rs | 91 use crate::ir::context::{BindgenContext, ItemId}; 2865 parent: Option<ItemId>, in parse_one() argument
|
/third_party/rust/crates/bindgen/ |
D | CONTRIBUTING.md | 277 * 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/ |
D | mod.rs | 29 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()
|