Lines Matching refs:offs
83 BrigObject::getSectionOffset(enum SectionIndex sec, int offs) const
85 // allow offs == size for dummy end pointers
86 assert(offs <= sectionInfo[sec].size);
88 return sectionInfo[sec].ptr + offs;
92 BrigObject::getString(int offs) const
94 return (const char*)(getSectionOffset(DataSectionIndex, offs) + 4);
98 BrigObject::getCodeSectionEntry(int offs) const
100 return (const BrigBase*)getSectionOffset(CodeSectionIndex, offs);
104 BrigObject::getBrigBaseData(int offs) const
106 return (Brig::BrigData*)(getSectionOffset(DataSectionIndex, offs));
110 BrigObject::getData(int offs) const
112 return getSectionOffset(DataSectionIndex, offs);
116 BrigObject::getOperand(int offs) const
118 return (const BrigOperand*)getSectionOffset(OperandsSectionIndex, offs);
122 BrigObject::getOperandPtr(int offs, int index) const
124 unsigned *op_offs = (unsigned*)(getData(offs + 4 * (index + 1)));
130 BrigObject::getInst(int offs) const
132 return (const BrigInstBase*)getSectionOffset(CodeSectionIndex, offs);