Lines Matching refs:ErrorOr
46 ErrorOr<uint32_t> ArchiveMemberHeader::getSize() const { in getSize()
98 ErrorOr<uint64_t> MemberSize = getRawSize(); in Child()
117 ErrorOr<uint64_t> Archive::Child::getSize() const { in getSize()
119 ErrorOr<uint32_t> Size = getHeader()->getSize(); in getSize()
127 ErrorOr<uint64_t> Archive::Child::getRawSize() const { in getRawSize()
128 ErrorOr<uint32_t> Size = getHeader()->getSize(); in getRawSize()
139 ErrorOr<StringRef> Archive::Child::getBuffer() const { in getBuffer()
141 ErrorOr<uint32_t> Size = getSize(); in getBuffer()
146 ErrorOr<StringRef> Name = getName(); in getBuffer()
152 ErrorOr<std::unique_ptr<MemoryBuffer>> Buf = MemoryBuffer::getFile(FullName); in getBuffer()
159 ErrorOr<Archive::Child> Archive::Child::getNext() const { in getNext()
189 ErrorOr<StringRef> Archive::Child::getName() const { in getName()
227 ErrorOr<MemoryBufferRef> Archive::Child::getMemoryBufferRef() const { in getMemoryBufferRef()
228 ErrorOr<StringRef> NameOrErr = getName(); in getMemoryBufferRef()
232 ErrorOr<StringRef> Buf = getBuffer(); in getMemoryBufferRef()
238 ErrorOr<std::unique_ptr<Binary>>
240 ErrorOr<MemoryBufferRef> BuffOrErr = getMemoryBufferRef(); in getAsBinary()
247 ErrorOr<std::unique_ptr<Archive>> Archive::create(MemoryBufferRef Source) { in create()
330 ErrorOr<StringRef> NameOrErr = C->getName(); in Archive()
443 ErrorOr<Archive::Child> Archive::Symbol::getMember() const { in getMember()
601 ErrorOr<Archive::child_iterator> ResultOrErr = bs->getMember(); in findSym()