Home
last modified time | relevance | path

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

/external/rust/android-crates-io/crates/fragile/src/
Dregistry.rs23 pub fn insert(thread_id: NonZeroUsize, entry: Entry) -> ItemId { in insert()
28 pub fn with<R, F: FnOnce(&Entry) -> R>(item_id: ItemId, thread_id: NonZeroUsize, f: F) -> R { in with()
33 pub fn remove(item_id: ItemId, thread_id: NonZeroUsize) -> Entry { in remove()
38 pub fn try_remove(item_id: ItemId, thread_id: NonZeroUsize) -> Option<Entry> { in try_remove()
56 pub type ItemId = NonZeroUsize; typedef
64 pub fn insert(thread_id: NonZeroUsize, entry: Entry) -> ItemId { in insert()
71 pub fn with<R, F: FnOnce(&Entry) -> R>(item_id: ItemId, thread_id: NonZeroUsize, f: F) -> R { in with()
80 pub fn remove(item_id: ItemId, thread_id: NonZeroUsize) -> Entry { in remove()
85 pub fn try_remove(item_id: ItemId, thread_id: NonZeroUsize) -> Option<Entry> { in try_remove()
/external/rust/android-crates-io/crates/bindgen/ir/
Dtraversal.rs22 pub(crate) fn new(to: ItemId, kind: EdgeKind) -> Edge { in new()
27 impl From<Edge> for ItemId { implementation
246 fn add(&mut self, from: Option<ItemId>, item: ItemId) -> bool; in add()
254 fn add(&mut self, _: Option<ItemId>, item: ItemId) -> bool { in add()
270 fn add(&mut self, from: Option<ItemId>, item: ItemId) -> bool { in add()
306 fn push(&mut self, item: ItemId); in push()
309 fn next(&mut self) -> Option<ItemId>; in next()
313 fn push(&mut self, item: ItemId) { in push()
317 fn next(&mut self) -> Option<ItemId> { in next()
323 fn push(&mut self, item: ItemId) { in push()
[all …]
Dcontext.rs37 pub(crate) struct ItemId(usize); struct
88 impl ItemId { impl
197 impl ItemId { impl
204 impl<T> ::std::cmp::PartialEq<T> for ItemId implementation
502 fn next(&mut self) -> Option<ItemId> { in next()
930 ) -> Vec<(ItemId, clang::Type, clang::Cursor, Option<ItemId>)> { in collect_typerefs()
994 fn with_loaned_item<F, T>(&mut self, id: ItemId, f: F) -> T in with_loaned_item()
1399 item: ItemId, in uses_template_parameter()
1532 parent_id: ItemId, in add_semantic_parent()
1541 ) -> Option<ItemId> { in known_semantic_parent()
[all …]
Ditem.rs117 fn insert(&mut self, _id: ItemId) {} in insert()
422 fn as_ref(&self) -> &ItemId { in as_ref()
430 id: ItemId, in new()
433 parent_id: ItemId, in new()
454 with_id: ItemId, in new_opaque_type()
471 pub(crate) fn id(&self) -> ItemId { in id()
478 pub(crate) fn parent_id(&self) -> ItemId { in parent_id()
688 fn name_target(&self, ctx: &BindgenContext) -> ItemId { in name_target()
1290 id: ItemId, in visit_child()
1292 parent_id: Option<ItemId>, in visit_child()
[all …]
Dty.rs192 ) -> Option<ItemId> { in is_incomplete_array()
673 potential_id: ItemId, in from_clang_ty()
676 parent_id: Option<ItemId>, in from_clang_ty()
Dtemplate.rs147 fn used_template_params(&self, ctx: &BindgenContext) -> Vec<TypeId> in used_template_params()
Dcomp.rs1234 potential_id: ItemId, in from_ty()
/external/rust/android-crates-io/crates/bindgen/ir/analysis/
Dtemplate_params.rs231 this_id: ItemId, in constrain_instantiation_of_blocklisted_template()
272 this_id: ItemId, in constrain_instantiation()
495 fn initial_worklist(&self) -> Vec<ItemId> { in initial_worklist()
586 fn each_depending_on<F>(&self, item: ItemId, mut f: F) in each_depending_on()
588 F: FnMut(ItemId), in each_depending_on()
Dhas_vtable.rs118 fn forward<Id1, Id2>(&mut self, from: Id1, to: Id2) -> ConstrainResult in forward()
121 Id2: Into<ItemId>, in forward()
149 fn initial_worklist(&self) -> Vec<ItemId> { in initial_worklist()
202 fn each_depending_on<F>(&self, id: ItemId, mut f: F) in each_depending_on()
204 F: FnMut(ItemId), in each_depending_on()
Dhas_destructor.rs85 fn initial_worklist(&self) -> Vec<ItemId> { in initial_worklist()
159 fn each_depending_on<F>(&self, id: ItemId, mut f: F) in each_depending_on()
161 F: FnMut(ItemId), in each_depending_on()
Dhas_float.rs96 fn initial_worklist(&self) -> Vec<ItemId> { in initial_worklist()
235 fn each_depending_on<F>(&self, id: ItemId, mut f: F) in each_depending_on()
237 F: FnMut(ItemId), in each_depending_on()
Dhas_type_param_in_array.rs102 fn initial_worklist(&self) -> Vec<ItemId> { in initial_worklist()
235 fn each_depending_on<F>(&self, id: ItemId, mut f: F) in each_depending_on()
237 F: FnMut(ItemId), in each_depending_on()
Dderive.rs642 fn initial_worklist(&self) -> Vec<ItemId> { in initial_worklist()
697 fn each_depending_on<F>(&self, id: ItemId, mut f: F) in each_depending_on()
699 F: FnMut(ItemId), in each_depending_on()
726 can_derive: HashMap<ItemId, CanDerive>, in as_cannot_derive_set()
727 ) -> HashSet<ItemId> { in as_cannot_derive_set()
Dmod.rs185 ) -> HashMap<ItemId, Vec<ItemId>> in generate_dependencies()
/external/rust/android-crates-io/crates/bindgen/
Dlib.rs1106 parent: Option<ItemId>, in parse_one()
/external/aws-sdk-java-v2/services/personalizeevents/src/main/resources/codegen-resources/
Dservice-2.json290 "ItemId":{ object
/external/rust/android-crates-io/crates/bindgen/codegen/
Dmod.rs1123 fn new(item_id: ItemId, comp_info: &'a CompInfo) -> Self { in new()
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/windows-sys-0.52.0/src/Windows/Win32/System/Diagnostics/Etw/
Dmod.rs2959 pub ItemId: u32, field
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/windows-sys-0.52.0/src/Windows/Win32/System/Diagnostics/Etw/
Dmod.rs2959 pub ItemId: u32, field
/external/aws-sdk-java-v2/services/lexmodelsv2/src/main/resources/codegen-resources/
Dservice-2.json8847 "ItemId":{ object