Home
last modified time | relevance | path

Searched refs:AttrValue (Results 1 – 6 of 6) sorted by relevance

/third_party/rust/crates/clap/clap_derive/src/
Dattr.rs23 pub value: Option<AttrValue>,
60 pub fn value_or_abort(&self) -> &AttrValue { in value_or_abort() argument
69 AttrValue::LitStr(tokens) => tokens, in lit_str_or_abort()
70 AttrValue::Expr(_) | AttrValue::Call(_) => { in lit_str_or_abort()
120 Some(AttrValue::LitStr(lit)) in parse()
123 Ok(expr) => Some(AttrValue::Expr(expr)), in parse()
137 Some(AttrValue::Call(Vec::from_iter(method_args))) in parse()
182 pub enum AttrValue { enum
188 impl ToTokens for AttrValue { implementation
Ditem.rs334 if let Some(AttrValue::Call(_)) = &attr.value { in infer_kind()
432 if let Some(AttrValue::Call(tokens)) = &attr.value { in push_attrs()
1160 Skip(Option<AttrValue>, AttrKind),
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDie.cpp677 AttrValue.Offset = D.getOffset() + AbbrDecl->getCodeByteSize(); in attribute_iterator()
688 AttrValue.Attr = AbbrDecl.getAttrByIndex(Index); in updateForIndex()
690 AttrValue.Offset += AttrValue.ByteSize; in updateForIndex()
691 uint64_t ParseOffset = AttrValue.Offset; in updateForIndex()
694 AttrValue.Value = DWARFFormValue::createFromUnit( in updateForIndex()
696 AttrValue.ByteSize = ParseOffset - AttrValue.Offset; in updateForIndex()
699 AttrValue = {}; in updateForIndex()
DDWARFVerifier.cpp170 for (auto AttrValue : Die.attributes()) { in verifyUnitContents() local
171 NumUnitErrors += verifyDebugInfoAttribute(Die, AttrValue); in verifyUnitContents()
172 NumUnitErrors += verifyDebugInfoForm(Die, AttrValue); in verifyUnitContents()
448 DWARFAttribute &AttrValue) { in verifyDebugInfoAttribute() argument
457 const auto Attr = AttrValue.Attr; in verifyDebugInfoAttribute()
461 if (auto SectionOffset = AttrValue.Value.getAsSectionOffset()) { in verifyDebugInfoAttribute()
470 if (auto SectionOffset = AttrValue.Value.getAsSectionOffset()) { in verifyDebugInfoAttribute()
533 DWARFAttribute &AttrValue) { in verifyDebugInfoForm() argument
537 const auto Form = AttrValue.Value.getForm(); in verifyDebugInfoForm()
545 Optional<uint64_t> RefVal = AttrValue.Value.getAsReference(); in verifyDebugInfoForm()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDie.h293 DWARFAttribute AttrValue; variable
313 explicit operator bool() const { return AttrValue.isValid(); }
314 const DWARFAttribute &operator*() const { return AttrValue; }
DDWARFVerifier.h197 DWARFAttribute &AttrValue);
211 unsigned verifyDebugInfoForm(const DWARFDie &Die, DWARFAttribute &AttrValue);