Home | History | Annotate | Download | only in executor

Lines Matching refs:offset

109 void ContainerFormatParser::getData (deUint8* dst, int numBytes, int offset)
111 DE_ASSERT(de::inBounds(offset, 0, m_elementLen) && numBytes > 0 && de::inRange(numBytes+offset, 0, m_elementLen));
114 dst[ndx] = m_buf.peekBack(offset+ndx);
117 int ContainerFormatParser::getChar (int offset) const
119 DE_ASSERT(de::inRange(offset, 0, m_buf.getNumElements()));
121 if (offset < m_buf.getNumElements())
122 return m_buf.peekBack(offset);
207 int offset = 1;
216 int bufChar = (offset+ndx < m_elementLen) ? getChar(offset+ndx) : 0;
235 offset += ndx;
249 if (getChar(offset) != ' ')
251 offset += 1;
252 parseContainerValue(m_value, offset);
256 if (getChar(offset) != ' ')
258 offset += 1;
259 parseContainerValue(m_attribute, offset);
260 if (getChar(offset) != ' ')
262 offset += 1;
271 const int curChar = offset < m_elementLen ? getChar(offset) : 0;
279 offset += 1;
283 parseContainerValue(m_value, offset);
293 void ContainerFormatParser::parseContainerValue (std::string& dst, int& offset) const
295 DE_ASSERT(offset < m_elementLen);
297 bool isString = getChar(offset) == '"' || getChar(offset) == '\'';
298 int quotChar = isString ? getChar(offset) : 0;
301 offset += 1;
307 int curChar = offset < m_elementLen ? getChar(offset) : 0;
319 offset += 1;
322 if (isString && getChar(offset) == quotChar)
323 offset += 1;