Lines Matching refs:index
138 * @param children The children of this element. Each integer is an index within
139 * the <code>StringPool</code> of the child element name. An index
145 * @return The value -1 if fully valid, else the 0 based index of the child
160 // If there is not a child, then report an error at index 0
169 // If more than one child, report an error at index 1
177 // then its an error at index 0.
187 // bad, so report an error at index 1.
197 // type that we stored. If not, report the index of the first
202 for (int index = 0; index < length; index++) {
203 if (children[offset + index].rawname != fFirstChild.rawname) {
204 return index;
213 // an error at index 0.
220 // are of the correct child type. If not, then report the index
223 for (int index = 0; index < length; index++) {
224 if (children[offset + index].rawname != fFirstChild.rawname) {
225 return index;
233 // is zero, return an error at index 0.