Lines Matching refs:Expected
56 Expected<StringRef> NameOrErr = ArMemHeader->getName(Size); in createMemberHeaderParseError()
118 Expected<StringRef> NameOrErr = getName(Size); in ArchiveMemberHeader()
155 Expected<StringRef> ArchiveMemberHeader::getRawName() const { in getRawName()
180 Expected<uint64_t>
198 Expected<uint64_t>
216 Expected<StringRef> BigArchiveMemberHeader::getRawName() const { in getRawName()
217 Expected<uint64_t> NameLenOrErr = getArchiveMemberDecField( in getRawName()
245 Expected<StringRef> ArchiveMemberHeader::getName(uint64_t Size) const { in getName()
259 Expected<StringRef> NameOrErr = getRawName(); in getName()
353 Expected<StringRef> BigArchiveMemberHeader::getName(uint64_t Size) const { in getName()
357 Expected<uint64_t> ArchiveMemberHeader::getSize() const { in getSize()
362 Expected<uint64_t> BigArchiveMemberHeader::getSize() const { in getSize()
363 Expected<uint64_t> SizeOrErr = getArchiveMemberDecField( in getSize()
368 Expected<uint64_t> NameLenOrErr = getRawNameSize(); in getSize()
375 Expected<uint64_t> BigArchiveMemberHeader::getRawNameSize() const { in getRawNameSize()
380 Expected<uint64_t> BigArchiveMemberHeader::getNextOffset() const { in getNextOffset()
385 Expected<sys::fs::perms> AbstractArchiveMemberHeader::getAccessMode() const { in getAccessMode()
386 Expected<uint64_t> AccessModeOrErr = in getAccessMode()
393 Expected<sys::TimePoint<std::chrono::seconds>>
395 Expected<uint64_t> SecondsOrErr = getArchiveMemberDecField( in getLastModified()
404 Expected<unsigned> AbstractArchiveMemberHeader::getUID() const { in getUID()
411 Expected<unsigned> AbstractArchiveMemberHeader::getGID() const { in getGID()
418 Expected<bool> ArchiveMemberHeader::isThin() const { in isThin()
419 Expected<StringRef> NameOrErr = getRawName(); in isThin()
426 Expected<const char *> ArchiveMemberHeader::getNextChildLoc() const { in getNextChildLoc()
428 Expected<bool> isThinOrErr = isThin(); in getNextChildLoc()
434 Expected<uint64_t> MemberSize = getSize(); in getNextChildLoc()
451 Expected<const char *> BigArchiveMemberHeader::getNextChildLoc() const { in getNextChildLoc()
456 Expected<uint64_t> NextOffsetOrErr = getNextOffset(); in getNextChildLoc()
497 Expected<bool> isThinOrErr = isThinMember(); in Child()
504 Expected<uint64_t> MemberSize = getRawSize(); in Child()
516 Expected<StringRef> NameOrErr = getRawName(); in Child()
543 Expected<uint64_t> Archive::Child::getSize() const { in getSize()
549 Expected<uint64_t> Archive::Child::getRawSize() const { in getRawSize()
553 Expected<bool> Archive::Child::isThinMember() const { return Header->isThin(); } in isThinMember()
555 Expected<std::string> Archive::Child::getFullName() const { in getFullName()
556 Expected<bool> isThin = isThinMember(); in getFullName()
560 Expected<StringRef> NameOrErr = getName(); in getFullName()
573 Expected<StringRef> Archive::Child::getBuffer() const { in getBuffer()
574 Expected<bool> isThinOrErr = isThinMember(); in getBuffer()
579 Expected<uint64_t> Size = getSize(); in getBuffer()
584 Expected<std::string> FullNameOrErr = getFullName(); in getBuffer()
595 Expected<Archive::Child> Archive::Child::getNext() const { in getNext()
596 Expected<const char *> NextLocOrErr = Header->getNextChildLoc(); in getNext()
610 Expected<StringRef> NameOrErr = getName(); in getNext()
633 Expected<StringRef> Archive::Child::getName() const { in getName()
634 Expected<uint64_t> RawSizeOrErr = getRawSize(); in getName()
638 Expected<StringRef> NameOrErr = in getName()
646 Expected<MemoryBufferRef> Archive::Child::getMemoryBufferRef() const { in getMemoryBufferRef()
647 Expected<StringRef> NameOrErr = getName(); in getMemoryBufferRef()
651 Expected<StringRef> Buf = getBuffer(); in getMemoryBufferRef()
657 Expected<std::unique_ptr<Binary>>
659 Expected<MemoryBufferRef> BuffOrErr = getMemoryBufferRef(); in getAsBinary()
669 Expected<std::unique_ptr<Archive>> Archive::create(MemoryBufferRef Source) { in create()
756 Expected<StringRef> NameOrErr = C->getRawName(); in Archive()
789 Expected<StringRef> BufOrErr = C->getBuffer(); in Archive()
806 Expected<StringRef> NameOrErr = C->getName(); in Archive()
815 Expected<StringRef> BufOrErr = C->getBuffer(); in Archive()
827 Expected<StringRef> BufOrErr = C->getBuffer(); in Archive()
849 Expected<StringRef> BufOrErr = C->getBuffer(); in Archive()
864 Expected<StringRef> NameOrErr = C->getRawName(); in Archive()
876 Expected<StringRef> BufOrErr = C->getBuffer(); in Archive()
904 Expected<StringRef> BufOrErr = C->getBuffer(); in Archive()
930 Expected<StringRef> BufOrErr = C->getBuffer(); in Archive()
958 Expected<StringRef> BufOrErr = C->getBuffer(); in Archive()
1021 Expected<Archive::Child> Archive::Symbol::getMember() const { in getMember()
1195 Expected<iterator_range<Archive::symbol_iterator>> Archive::ec_symbols() const { in ec_symbols()
1264 Expected<std::optional<Archive::Child>> Archive::findSym(StringRef name) const { in findSym()