Home
last modified time | relevance | path

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

/frameworks/compile/mclinker/include/mcld/LD/
DDiagnostic.h34 DiagnosticEngine::ArgumentKind getArgKind(unsigned int pIdx) const { in getArgKind() argument
35 assert(pIdx < getNumArgs() && "Argument index is out of range!"); in getArgKind()
36 return (DiagnosticEngine::ArgumentKind)m_Engine.state().ArgumentKinds[pIdx]; in getArgKind()
39 const std::string &getArgStdStr(unsigned int pIdx) const { in getArgStdStr() argument
40 assert(getArgKind(pIdx) == DiagnosticEngine::ak_std_string && in getArgStdStr()
42 return m_Engine.state().ArgumentStrs[pIdx]; in getArgStdStr()
45 const char* getArgCStr(unsigned int pIdx) const { in getArgCStr() argument
46 assert(getArgKind(pIdx) == DiagnosticEngine::ak_c_string && in getArgCStr()
48 return reinterpret_cast<const char*>(m_Engine.state().ArgumentVals[pIdx]); in getArgCStr()
51 int getArgSInt(unsigned int pIdx) const { in getArgSInt() argument
[all …]
DLDContext.h51 const LDSection* getSection(unsigned int pIdx) const;
52 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
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 …]