Lines Matching refs:childNdx
256 for (size_t childNdx = 0; childNdx < group->children.size(); childNdx++) in addToSparseIndex() local
258 if (group->children[childNdx]->word == curWord) in addToSparseIndex()
260 child = group->children[childNdx]; in addToSparseIndex()
287 for (size_t childNdx = 0; childNdx < group->children.size(); childNdx++) in normalizeSparseIndex() local
289 normalizeSparseIndex(group->children[childNdx]); in normalizeSparseIndex()
291 if (group->children[childNdx]->word == 0) in normalizeSparseIndex()
294 zeroChildPos = (int)childNdx; in normalizeSparseIndex()
318 for (size_t childNdx = 0; childNdx < group->children.size(); childNdx++) in getIndexSize() local
319 numNodes += getIndexSize(group->children[childNdx]); in getIndexSize()
334 for (size_t childNdx = 0; childNdx < numLocalNodes; childNdx++) in addAndCountNodes() local
336 const SparseIndexNode* child = group->children[childNdx]; in addAndCountNodes()
339 index[childNdx].word = child->word; in addAndCountNodes()
342 index[childNdx].index = child->index; in addAndCountNodes()
346 index[childNdx].index = baseOffset+curOffset; in addAndCountNodes()