Home
last modified time | relevance | path

Searched refs:Id (Results 1 – 25 of 1621) sorted by relevance

12345678910>>...65

/third_party/glslang/SPIRV/
DSpvBuilder.h92 spv::Id getStringId(const std::string& str) in getStringId()
97 spv::Id strId = getUniqueId(); in getStringId()
106 spv::Id getSourceFile() const in getSourceFile()
149 spv::Id incId = getStringId(name); in addInclude()
152 Id import(const char*);
162 Id getUniqueId() { return ++uniqueId; } in getUniqueId()
165 Id getUniqueIds(int numIds) in getUniqueIds()
167 Id id = uniqueId + 1; in getUniqueIds()
183 void addLine(Id fileName, int line, int column);
184 void addDebugScopeAndLine(Id fileName, int line, int column);
[all …]
DSPVRemapper.h141 typedef std::unordered_map<spv::Id, spv::Id> idmap_t;
142 typedef std::unordered_set<spv::Id> idset_t;
143 typedef std::unordered_map<spv::Id, int> blockmap_t;
148 typedef std::unordered_map<std::string, spv::Id> namemap_t;
153 typedef std::function<void(spv::Id&)> idfn_t;
157 static const spv::Id unmapped; // unchanged from default value
158 static const spv::Id unused; // unused ID
165 typedef std::map<spv::Id, typeentry_t> globaltypes_t;
169 typedef std::unordered_map<spv::Id, int> posmap_rev_t;
172 typedef std::unordered_map<spv::Id, unsigned> typesize_map_t;
[all …]
DSpvBuilder.cpp87 Id Builder::import(const char* name) in import()
127 spv::Id strId = getStringId(filename); in setLine()
136 void Builder::addLine(Id fileName, int lineNum, int column) in addLine()
145 void Builder::addDebugScopeAndLine(Id fileName, int lineNum, int column) in addDebugScopeAndLine()
148 spv::Id resultId = getUniqueId(); in addDebugScopeAndLine()
156 spv::Id resultId = getUniqueId(); in addDebugScopeAndLine()
169 Id Builder::makeVoidType() in makeVoidType()
173 Id typeId = getUniqueId(); in makeVoidType()
187 Id Builder::makeBoolType(bool const compilerGenerated) in makeBoolType()
207 Id Builder::makeSamplerType() in makeSamplerType()
[all …]
DspvIR.h66 const Id NoResult = 0;
67 const Id NoType = 0;
96 …Instruction(Id resultId, Id typeId, Op opCode) : resultId(resultId), typeId(typeId), opCode(opCode… in Instruction()
99 void addIdOperand(Id id) { in addIdOperand()
143 Id getResultId() const { return resultId; } in getResultId()
144 Id getTypeId() const { return typeId; } in getTypeId()
145 Id getIdOperand(int op) const { in getIdOperand()
179 Id resultId;
180 Id typeId;
182 std::vector<Id> operands; // operands, both <id> and immediates (both are unsigned int)
[all …]
DGlslangToSpv.cpp108 void addNoContraction(spv::Builder&, spv::Id) const { } in addNoContraction()
109 void addNonUniform(spv::Builder&, spv::Id) const { } in addNonUniform()
111 …void addNoContraction(spv::Builder& builder, spv::Id t) { builder.addDecoration(t, noContraction);… in addNoContraction()
112 … void addNonUniform(spv::Builder& builder, spv::Id t) { builder.addDecoration(t, nonUniform); } in addNonUniform()
166 spv::Id createSpvVariable(const glslang::TIntermSymbol*, spv::Id forcedType);
167 spv::Id getSampledType(const glslang::TSampler&);
168 spv::Id getInvertedSwizzleType(const glslang::TIntermTyped&);
169 …spv::Id createInvertedSwizzle(spv::Decoration precision, const glslang::TIntermTyped&, spv::Id par…
171 spv::Id convertGlslangToSpvType(const glslang::TType& type, bool forwardReferenceOnly = false);
172 …spv::Id convertGlslangToSpvType(const glslang::TType& type, glslang::TLayoutPacking, const glslang…
[all …]
/third_party/rust/crates/clap/src/util/
Did.rs9 pub struct Id(Str); struct
11 impl Id { implementation
30 impl From<&'_ Id> for Id { implementation
31 fn from(id: &'_ Id) -> Self { in from()
36 impl From<Str> for Id { implementation
42 impl From<&'_ Str> for Id { implementation
49 impl From<std::string::String> for Id { implementation
56 impl From<&'_ std::string::String> for Id { implementation
62 impl From<&'static str> for Id { implementation
68 impl From<&'_ &'static str> for Id { implementation
[all …]
/third_party/rust/crates/tracing/tracing-core/src/
Dsubscriber.rs258 fn new_span(&self, span: &span::Attributes<'_>) -> span::Id; in new_span() argument
298 fn record(&self, span: &span::Id, values: &span::Record<'_>); in record() argument
318 fn record_follows_from(&self, span: &span::Id, follows: &span::Id); in record_follows_from() argument
359 fn enter(&self, span: &span::Id); in enter() argument
371 fn exit(&self, span: &span::Id); in exit() argument
393 fn clone_span(&self, id: &span::Id) -> span::Id { in clone_span() argument
407 fn drop_span(&self, _id: span::Id) {} in drop_span() argument
445 fn try_close(&self, id: span::Id) -> bool { in try_close()
683 fn new_span(&self, _: &span::Attributes<'_>) -> span::Id { in new_span() argument
684 span::Id::from_u64(0xDEAD) in new_span()
[all …]
Dspan.rs16 pub struct Id(NonZeroU64); struct
51 id: Id,
60 impl Id { impl
70 Id(NonZeroU64::new(u).expect("span IDs must be > 0")) in from_u64()
78 Id(id) in from_non_zero_u64()
97 impl<'a> From<&'a Id> for Option<Id> {
98 fn from(id: &'a Id) -> Self { in from()
129 parent: Id, in child_of() argument
171 pub fn parent(&self) -> Option<&Id> { in parent() argument
252 pub fn new(id: Id, metadata: &'static Metadata<'static>) -> Self { in new() argument
[all …]
Ddispatcher.rs532 pub fn new_span(&self, span: &span::Attributes<'_>) -> span::Id { in new_span() argument
544 pub fn record(&self, span: &span::Id, values: &span::Record<'_>) { in record() argument
557 pub fn record_follows_from(&self, span: &span::Id, follows: &span::Id) { in record_follows_from() argument
597 pub fn enter(&self, span: &span::Id) { in enter() argument
608 pub fn exit(&self, span: &span::Id) { in exit() argument
627 pub fn clone_span(&self, id: &span::Id) -> span::Id { in clone_span() argument
655 pub fn drop_span(&self, id: span::Id) { in drop_span() argument
675 pub fn try_close(&self, id: span::Id) -> bool { in try_close()
897 fn new_span(&self, _: &span::Attributes<'_>) -> span::Id { in events_dont_infinite_loop() argument
898 span::Id::from_u64(0xAAAA) in events_dont_infinite_loop()
[all …]
/third_party/rust/crates/clap/src/builder/
Darg_group.rs3 use crate::util::Id;
87 pub(crate) id: Id,
88 pub(crate) args: Vec<Id>,
90 pub(crate) requires: Vec<Id>,
91 pub(crate) conflicts: Vec<Id>,
109 pub fn new(id: impl Into<Id>) -> Self { in new()
123 pub fn id(mut self, id: impl Into<Id>) -> Self { in id()
152 pub fn arg(mut self, arg_id: impl IntoResettable<Id>) -> Self { in arg()
184 pub fn args(mut self, ns: impl IntoIterator<Item = impl Into<Id>>) -> Self { in args()
204 pub fn get_args(&self) -> impl Iterator<Item = &Id> { in get_args()
[all …]
/third_party/rust/crates/tracing/tracing-core/tests/common/
Dmod.rs8 fn new_span(&self, _: &span::Attributes<'_>) -> span::Id { in new_span() argument
9 span::Id::from_u64(1) in new_span()
11 fn record(&self, _: &span::Id, _: &span::Record<'_>) {} in record() argument
12 fn record_follows_from(&self, _: &span::Id, _: &span::Id) {} in record_follows_from() argument
14 fn enter(&self, _: &span::Id) {} in enter() argument
15 fn exit(&self, _: &span::Id) {} in exit() argument
22 fn new_span(&self, _: &span::Attributes<'_>) -> span::Id { in new_span() argument
23 span::Id::from_u64(1) in new_span()
25 fn record(&self, _: &span::Id, _: &span::Record<'_>) {} in record() argument
26 fn record_follows_from(&self, _: &span::Id, _: &span::Id) {} in record_follows_from() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DRemoteObjectLayer.h137 RemoteSymbolId Id) in RemoteSymbolMaterializer() argument
138 : C(C), Id(Id) {} in RemoteSymbolMaterializer()
141 : C(Other.C), Id(Other.Id) { in RemoteSymbolMaterializer()
142 Other.Id = 0; in RemoteSymbolMaterializer()
149 if (Id) in ~RemoteSymbolMaterializer()
150 C.releaseRemoteSymbol(Id); in ~RemoteSymbolMaterializer()
155 auto Addr = C.materializeRemoteSymbol(Id); in materialize()
156 Id = 0; in materialize()
162 RemoteSymbolId Id; variable
185 Error badRemoteSymbolIdError(RemoteSymbolId Id) { in badRemoteSymbolIdError() argument
[all …]
DOrcRemoteTargetClient.h64 Client.destroyRemoteAllocator(Id); in ~RemoteRTDyldMemoryManager()
65 LLVM_DEBUG(dbgs() << "Destroyed remote allocator " << Id << "\n"); in ~RemoteRTDyldMemoryManager()
80 LLVM_DEBUG(dbgs() << "Allocator " << Id << " allocated code for " in allocateCodeSection()
93 LLVM_DEBUG(dbgs() << "Allocator " << Id << " allocated ro-data for " in allocateDataSection()
102 LLVM_DEBUG(dbgs() << "Allocator " << Id << " allocated rw-data for " in allocateDataSection()
114 LLVM_DEBUG(dbgs() << "Allocator " << Id << " reserved:\n"); in reserveAllocationSpace()
118 Client.reserveMem(Id, CodeSize, CodeAlign); in reserveAllocationSpace()
129 Client.reserveMem(Id, RODataSize, RODataAlign); in reserveAllocationSpace()
140 Client.reserveMem(Id, RWDataSize, RWDataAlign); in reserveAllocationSpace()
166 LLVM_DEBUG(dbgs() << "Allocator " << Id << " applied mappings:\n"); in notifyObjectLoaded()
[all …]
/third_party/rust/crates/tracing/tracing-subscriber/src/layer/
Dmod.rs857 fn on_new_span(&self, attrs: &span::Attributes<'_>, id: &span::Id, ctx: Context<'_, S>) { in on_new_span() argument
874 fn on_record(&self, _span: &span::Id, _values: &span::Record<'_>, _ctx: Context<'_, S>) {} in on_record() argument
881 fn on_follows_from(&self, _span: &span::Id, _follows: &span::Id, _ctx: Context<'_, S>) {} in on_follows_from() argument
912 fn on_enter(&self, _id: &span::Id, _ctx: Context<'_, S>) {} in on_enter() argument
915 fn on_exit(&self, _id: &span::Id, _ctx: Context<'_, S>) {} in on_exit() argument
918 fn on_close(&self, _id: span::Id, _ctx: Context<'_, S>) {} in on_close() argument
922 fn on_id_change(&self, _old: &span::Id, _new: &span::Id, _ctx: Context<'_, S>) {} in on_id_change() argument
1439 fn on_new_span(&self, attrs: &span::Attributes<'_>, id: &span::Id, ctx: Context<'_, S>) {
1450 fn on_record(&self, id: &span::Id, values: &span::Record<'_>, ctx: Context<'_, S>) {
1458 fn on_enter(&self, id: &span::Id, ctx: Context<'_, S>) {
[all …]
Dlayered.rs125 fn new_span(&self, span: &span::Attributes<'_>) -> span::Id { in new_span() argument
131 fn record(&self, span: &span::Id, values: &span::Record<'_>) { in record() argument
136 fn record_follows_from(&self, span: &span::Id, follows: &span::Id) { in record_follows_from() argument
156 fn enter(&self, span: &span::Id) { in enter() argument
161 fn exit(&self, span: &span::Id) { in exit() argument
166 fn clone_span(&self, old: &span::Id) -> span::Id { in clone_span() argument
175 fn drop_span(&self, id: span::Id) { in drop_span() argument
179 fn try_close(&self, id: span::Id) -> bool { in try_close()
282 fn on_new_span(&self, attrs: &span::Attributes<'_>, id: &span::Id, ctx: Context<'_, S>) { in on_new_span() argument
288 fn on_record(&self, span: &span::Id, values: &span::Record<'_>, ctx: Context<'_, S>) { in on_record() argument
[all …]
/third_party/rust/crates/rust-openssl/openssl/src/
Dpkey.rs77 pub struct Id(c_int); struct
79 impl Id { implementation
80 pub const RSA: Id = Id(ffi::EVP_PKEY_RSA);
82 pub const HMAC: Id = Id(ffi::EVP_PKEY_HMAC);
84 pub const CMAC: Id = Id(ffi::EVP_PKEY_CMAC);
85 pub const DSA: Id = Id(ffi::EVP_PKEY_DSA);
86 pub const DH: Id = Id(ffi::EVP_PKEY_DH);
87 pub const EC: Id = Id(ffi::EVP_PKEY_EC);
90 pub const HKDF: Id = Id(ffi::EVP_PKEY_HKDF);
93 pub const ED25519: Id = Id(ffi::EVP_PKEY_ED25519);
[all …]
/third_party/rust/crates/tracing/tracing/benches/
Dshared.rs3 use tracing::{field, span, Event, Id, Metadata};
93 fn new_span(&self, span: &span::Attributes<'_>) -> Id { in new_span() argument
96 Id::from_u64(0xDEAD_FACE) in new_span()
99 fn record(&self, _span: &Id, values: &span::Record<'_>) { in record() argument
109 fn record_follows_from(&self, span: &Id, follows: &Id) { in record_follows_from() argument
118 fn enter(&self, span: &Id) { in enter() argument
122 fn exit(&self, span: &Id) { in exit() argument
131 fn new_span(&self, span: &span::Attributes<'_>) -> Id { in new_span() argument
133 Id::from_u64(0xDEAD_FACE) in new_span()
140 fn record(&self, span: &Id, values: &span::Record<'_>) { in record() argument
[all …]
/third_party/rust/crates/clap/src/parser/
Darg_matcher.rs13 use crate::util::Id;
47 pub(crate) fn propagate_globals(&mut self, global_arg_vec: &[Id]) { in propagate_globals() argument
58 global_arg_vec: &[Id], in fill_in_global_values() argument
59 vals_map: &mut FlatMap<Id, MatchedArg>, in fill_in_global_values() argument
96 pub(crate) fn get(&self, arg: &Id) -> Option<&MatchedArg> { in get()
100 pub(crate) fn get_mut(&mut self, arg: &Id) -> Option<&mut MatchedArg> { in get_mut()
104 pub(crate) fn remove(&mut self, arg: &Id) -> bool { in remove()
108 pub(crate) fn contains(&self, arg: &Id) -> bool { in contains()
112 pub(crate) fn arg_ids(&self) -> std::slice::Iter<'_, Id> { in arg_ids() argument
116 pub(crate) fn args(&self) -> crate::util::flat_map::Iter<'_, Id, MatchedArg> { in args() argument
[all …]
/third_party/rust/crates/tracing/tracing-subscriber/src/registry/
Dstack.rs1 pub(crate) use tracing_core::span::Id;
5 id: Id,
20 pub(super) fn push(&mut self, id: Id) -> bool { in push()
27 pub(super) fn pop(&mut self, expected_id: &Id) -> bool { in pop()
42 pub(crate) fn iter(&self) -> impl Iterator<Item = &Id> { in iter()
50 pub(crate) fn current(&self) -> Option<&Id> { in current() argument
57 use super::{Id, SpanStack};
62 let id = Id::from_u64(1); in pop_last_span()
71 stack.push(Id::from_u64(1)); in pop_first_span()
72 stack.push(Id::from_u64(2)); in pop_first_span()
[all …]
Dsharded.rs19 span::{self, Current, Id},
126 parent: Option<Id>,
146 fn idx_to_id(idx: usize) -> Id { in idx_to_id() argument
147 Id::from_u64(idx as u64 + 1) in idx_to_id()
151 fn id_to_idx(id: &Id) -> usize { in id_to_idx()
177 id: Id,
183 fn get(&self, id: &Id) -> Option<Ref<'_, DataInner>> { in get()
191 pub(crate) fn start_close(&self, id: Id) -> CloseGuard<'_> { in start_close()
237 fn new_span(&self, attrs: &span::Attributes<'_>) -> span::Id { in new_span() argument
274 fn record(&self, _: &span::Id, _: &span::Record<'_>) {} in record() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DSymbolCache.cpp183 SymIndexId Id = 0; in findSymbolByTypeIndex() local
186 Id = createSymbolForType<NativeTypeEnum, EnumRecord>(Index, std::move(CVT)); in findSymbolByTypeIndex()
189 Id = createSymbolForType<NativeTypeArray, ArrayRecord>(Index, in findSymbolByTypeIndex()
195 Id = createSymbolForType<NativeTypeUDT, ClassRecord>(Index, std::move(CVT)); in findSymbolByTypeIndex()
198 Id = createSymbolForType<NativeTypeUDT, UnionRecord>(Index, std::move(CVT)); in findSymbolByTypeIndex()
201 Id = createSymbolForType<NativeTypePointer, PointerRecord>(Index, in findSymbolByTypeIndex()
205 Id = createSymbolForModifiedType(Index, std::move(CVT)); in findSymbolByTypeIndex()
208 Id = createSymbolForType<NativeTypeFunctionSig, ProcedureRecord>( in findSymbolByTypeIndex()
212 Id = createSymbolForType<NativeTypeFunctionSig, MemberFunctionRecord>( in findSymbolByTypeIndex()
216 Id = createSymbolForType<NativeTypeVTShape, VFTableShapeRecord>( in findSymbolByTypeIndex()
[all …]
/third_party/rust/crates/tracing/examples/examples/sloggish/
Dsloggish_subscriber.rs16 Id, Level, Subscriber,
35 current: &'static thread::LocalKey<RefCell<Vec<Id>>>,
41 static CURRENT: RefCell<Vec<Id>> = RefCell::new(vec![]); in new()
48 pub fn id(&self) -> Option<Id> { in id() argument
53 pub fn enter(&self, span: Id) { in enter() argument
72 stack: Mutex<Vec<Id>>,
73 spans: Mutex<HashMap<Id, Span>>,
78 parent: Option<Id>,
103 fn new(parent: Option<Id>, attrs: &tracing::span::Attributes<'_>) -> Self { in new() argument
201 fn new_span(&self, span: &tracing::span::Attributes<'_>) -> tracing::Id { in new_span() argument
[all …]
/third_party/rust/crates/tracing/tracing-subscriber/src/filter/env/
Dmod.rs201 by_id: RwLock<HashMap<span::Id, directive::SpanMatcher>>,
548 pub fn on_new_span<S>(&self, attrs: &span::Attributes<'_>, id: &span::Id, _: Context<'_, S>) { in on_new_span() argument
561 pub fn on_enter<S>(&self, id: &span::Id, _: Context<'_, S>) { in on_enter() argument
575 pub fn on_exit<S>(&self, id: &span::Id, _: Context<'_, S>) { in on_exit() argument
586 pub fn on_close<S>(&self, id: span::Id, _: Context<'_, S>) { in on_close() argument
602 pub fn on_record<S>(&self, id: &span::Id, values: &span::Record<'_>, _: Context<'_, S>) { in on_record() argument
608 fn cares_about_span(&self, span: &span::Id) -> bool { in cares_about_span()
659 fn on_new_span(&self, attrs: &span::Attributes<'_>, id: &span::Id, ctx: Context<'_, S>) { in on_new_span() argument
664 fn on_record(&self, id: &span::Id, values: &span::Record<'_>, ctx: Context<'_, S>) { in on_record() argument
669 fn on_enter(&self, id: &span::Id, ctx: Context<'_, S>) { in on_enter() argument
[all …]
/third_party/rust/crates/tracing/examples/examples/
Dserde-yak-shave.rs7 span::{Attributes, Id, Record},
31 fn new_span(&self, attrs: &Attributes<'_>) -> Id { in new_span() argument
33 let id = Id::from_u64(id as u64); in new_span()
43 fn record(&self, span: &Id, values: &Record<'_>) { in record() argument
52 fn record_follows_from(&self, span: &Id, follows: &Id) { in record_follows_from() argument
68 fn enter(&self, span: &Id) { in enter() argument
75 fn exit(&self, span: &Id) { in exit() argument
/third_party/rust/crates/tracing/tracing/tests/
Dregister_callsite_deadlock.rs22 fn new_span(&self, _: &span::Attributes<'_>) -> span::Id { in register_callsite_doesnt_deadlock() argument
23 span::Id::from_u64(1) in register_callsite_doesnt_deadlock()
25 fn record(&self, _: &span::Id, _: &span::Record<'_>) {} in register_callsite_doesnt_deadlock() argument
26 fn record_follows_from(&self, _: &span::Id, _: &span::Id) {} in register_callsite_doesnt_deadlock() argument
28 fn enter(&self, _: &span::Id) {} in register_callsite_doesnt_deadlock() argument
29 fn exit(&self, _: &span::Id) {} in register_callsite_doesnt_deadlock() argument

12345678910>>...65