Home
last modified time | relevance | path

Searched refs:pIdx (Results 1 – 3 of 3) sorted by relevance

/frameworks/compile/mclinker/include/mcld/LD/
DDiagnostic.h32 DiagnosticEngine::ArgumentKind getArgKind(unsigned int pIdx) const { in getArgKind() argument
33 assert(pIdx < getNumArgs() && "Argument index is out of range!"); in getArgKind()
34 return (DiagnosticEngine::ArgumentKind)m_Engine.state().ArgumentKinds[pIdx]; in getArgKind()
37 const std::string& getArgStdStr(unsigned int pIdx) const { in getArgStdStr() argument
38 assert(getArgKind(pIdx) == DiagnosticEngine::ak_std_string && in getArgStdStr()
40 return m_Engine.state().ArgumentStrs[pIdx]; in getArgStdStr()
43 const char* getArgCStr(unsigned int pIdx) const { in getArgCStr() argument
44 assert(getArgKind(pIdx) == DiagnosticEngine::ak_c_string && in getArgCStr()
46 return reinterpret_cast<const char*>(m_Engine.state().ArgumentVals[pIdx]); in getArgCStr()
49 int getArgSInt(unsigned int pIdx) const { in getArgSInt() argument
[all …]
DLDContext.h52 const LDSection* getSection(unsigned int pIdx) const;
53 LDSection* getSection(unsigned int pIdx);
63 const LDSymbol* getSymbol(unsigned int pIdx) const;
64 LDSymbol* getSymbol(unsigned int pIdx);
/frameworks/compile/mclinker/lib/LD/
DLDContext.cpp28 LDSection* LDContext::getSection(unsigned int pIdx) { in getSection() argument
29 if (pIdx >= m_SectionTable.size()) in getSection()
31 return m_SectionTable[pIdx]; in getSection()
34 const LDSection* LDContext::getSection(unsigned int pIdx) const { in getSection()
35 if (pIdx >= m_SectionTable.size()) in getSection()
37 return m_SectionTable[pIdx]; in getSection()
67 LDSymbol* LDContext::getSymbol(unsigned int pIdx) { in getSymbol() argument
68 if (pIdx >= m_SymTab.size()) in getSymbol()
70 return m_SymTab[pIdx]; in getSymbol()
73 const LDSymbol* LDContext::getSymbol(unsigned int pIdx) const { in getSymbol()
[all …]