• Home
  • Raw
  • Download

Lines Matching refs:Parent

85 Archive::Child::Child(const Archive *Parent, StringRef Data,  in Child()  argument
87 : Parent(Parent), Data(Data), StartOfFile(StartOfFile) {} in Child()
89 Archive::Child::Child(const Archive *Parent, const char *Start, in Child() argument
91 : Parent(Parent) { in Child()
118 if (Parent->IsThin) { in getSize()
136 return Parent->IsThin && Name != "/" && Name != "//"; in isThinMember()
150 Parent->getMemoryBufferRef().getBufferIdentifier()); in getBuffer()
155 Parent->ThinBuffers.push_back(std::move(*Buf)); in getBuffer()
156 return Parent->ThinBuffers.back()->getBuffer(); in getBuffer()
168 if (NextLoc == Parent->Data.getBufferEnd()) in getNext()
169 return Child(Parent, nullptr, nullptr); in getNext()
172 if (NextLoc > Parent->Data.getBufferEnd()) in getNext()
176 Child Ret(Parent, NextLoc, &EC); in getNext()
183 const char *a = Parent->Data.getBuffer().data(); in getChildOffset()
204 if (offset >= Parent->StringTable.size()) in getName()
206 const char *addr = Parent->StringTable.begin() + offset; in getName()
209 if (Parent->kind() == K_GNU || Parent->kind() == K_MIPS64) { in getName()
440 return Parent->getSymbolTable().begin() + StringIndex; in getName()
444 const char *Buf = Parent->getSymbolTable().begin(); in getMember()
446 if (Parent->kind() == K_MIPS64) in getMember()
451 if (Parent->kind() == K_GNU) { in getMember()
453 } else if (Parent->kind() == K_MIPS64) { in getMember()
455 } else if (Parent->kind() == K_BSD) { in getMember()
487 const char *Loc = Parent->getData().begin() + Offset; in getMember()
489 Child C(Parent, Loc, &EC); in getMember()
497 if (Parent->kind() == K_BSD) { in getNext()
511 const char *Buf = Parent->getSymbolTable().begin(); in getNext()
528 t.StringIndex = Parent->getSymbolTable().find('\0', t.StringIndex) + 1; in getNext()