Lines Matching refs:NameOrErr
66 Expected<StringRef> NameOrErr = getName(Size); in ArchiveMemberHeader() local
67 if (!NameOrErr) { in ArchiveMemberHeader()
68 consumeError(NameOrErr.takeError()); in ArchiveMemberHeader()
72 *Err = malformedError(Msg + "for " + NameOrErr.get()); in ArchiveMemberHeader()
86 Expected<StringRef> NameOrErr = getName(Size); in ArchiveMemberHeader() local
87 if (!NameOrErr) { in ArchiveMemberHeader()
88 consumeError(NameOrErr.takeError()); in ArchiveMemberHeader()
92 *Err = malformedError(Msg + "for " + NameOrErr.get()); in ArchiveMemberHeader()
142 Expected<StringRef> NameOrErr = getRawName(); in getName() local
143 if (!NameOrErr) in getName()
144 return NameOrErr.takeError(); in getName()
145 StringRef Name = NameOrErr.get(); in getName()
370 Expected<StringRef> NameOrErr = getRawName(); in Child() local
371 if (!NameOrErr){ in Child()
372 *Err = NameOrErr.takeError(); in Child()
375 StringRef Name = NameOrErr.get(); in Child()
405 Expected<StringRef> NameOrErr = Header.getRawName(); in isThinMember() local
406 if (!NameOrErr) in isThinMember()
407 return NameOrErr.takeError(); in isThinMember()
408 StringRef Name = NameOrErr.get(); in isThinMember()
417 Expected<StringRef> NameOrErr = getName(); in getFullName() local
418 if (!NameOrErr) in getFullName()
419 return NameOrErr.takeError(); in getFullName()
420 StringRef Name = *NameOrErr; in getFullName()
468 Expected<StringRef> NameOrErr = getName(); in getNext() local
469 if (!NameOrErr) { in getNext()
470 consumeError(NameOrErr.takeError()); in getNext()
474 return malformedError(Msg + NameOrErr.get()); in getNext()
496 Expected<StringRef> NameOrErr = Header.getName(Header.getSizeOf() + RawSize); in getName() local
497 if (!NameOrErr) in getName()
498 return NameOrErr.takeError(); in getName()
499 StringRef Name = NameOrErr.get(); in getName()
504 Expected<StringRef> NameOrErr = getName(); in getMemoryBufferRef() local
505 if (!NameOrErr) in getMemoryBufferRef()
506 return NameOrErr.takeError(); in getMemoryBufferRef()
507 StringRef Name = NameOrErr.get(); in getMemoryBufferRef()
582 Expected<StringRef> NameOrErr = C->getRawName(); in Archive() local
583 if (!NameOrErr) { in Archive()
584 Err = NameOrErr.takeError(); in Archive()
587 StringRef Name = NameOrErr.get(); in Archive()
632 Expected<StringRef> NameOrErr = C->getName(); in Archive() local
633 if (!NameOrErr) { in Archive()
634 Err = NameOrErr.takeError(); in Archive()
637 Name = NameOrErr.get(); in Archive()
691 Expected<StringRef> NameOrErr = C->getRawName(); in Archive() local
692 if (!NameOrErr) { in Archive()
693 Err = NameOrErr.takeError(); in Archive()
696 Name = NameOrErr.get(); in Archive()
747 NameOrErr = C->getRawName(); in Archive()
748 if (!NameOrErr) { in Archive()
749 Err = NameOrErr.takeError(); in Archive()
752 Name = NameOrErr.get(); in Archive()