Home
last modified time | relevance | path

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

/frameworks/compile/mclinker/include/mcld/LD/
DDiagnostic.h38 DiagnosticEngine::ArgumentKind getArgKind(unsigned int pIdx) const { in getArgKind() argument
39 assert(pIdx < getNumArgs() && "Argument index is out of range!"); in getArgKind()
40 return (DiagnosticEngine::ArgumentKind)m_Engine.state().ArgumentKinds[pIdx]; in getArgKind()
43 const std::string &getArgStdStr(unsigned int pIdx) const { in getArgStdStr() argument
44 assert(getArgKind(pIdx) == DiagnosticEngine::ak_std_string && in getArgStdStr()
46 return m_Engine.state().ArgumentStrs[pIdx]; in getArgStdStr()
49 const char* getArgCStr(unsigned int pIdx) const { in getArgCStr() argument
50 assert(getArgKind(pIdx) == DiagnosticEngine::ak_c_string && in getArgCStr()
52 return reinterpret_cast<const char*>(m_Engine.state().ArgumentVals[pIdx]); in getArgCStr()
55 int getArgSInt(unsigned int pIdx) const { in getArgSInt() argument
[all …]
DLDContext.h54 const LDSection* getSection(unsigned int pIdx) const;
55 LDSection* getSection(unsigned int pIdx);
66 const LDSymbol* getSymbol(unsigned int pIdx) const;
67 LDSymbol* getSymbol(unsigned int pIdx);
/frameworks/compile/mclinker/lib/LD/
DLDContext.cpp28 LDSection* LDContext::getSection(unsigned int pIdx) in getSection() argument
30 if (pIdx >= m_SectionTable.size()) in getSection()
32 return m_SectionTable[pIdx]; in getSection()
35 const LDSection* LDContext::getSection(unsigned int pIdx) const in getSection()
37 if (pIdx >= m_SectionTable.size()) in getSection()
39 return m_SectionTable[pIdx]; in getSection()
72 LDSymbol* LDContext::getSymbol(unsigned int pIdx) in getSymbol() argument
74 if (pIdx >= m_SymTab.size()) in getSymbol()
76 return m_SymTab[pIdx]; in getSymbol()
79 const LDSymbol* LDContext::getSymbol(unsigned int pIdx) const in getSymbol()
[all …]