• Home
  • Raw
  • Download

Lines Matching refs:unitIndex

235 UCharsTrieBuilder::getElementUnit(int32_t i, int32_t unitIndex) const {  in getElementUnit()
236 return elements[i].charAt(unitIndex, strings); in getElementUnit()
245 UCharsTrieBuilder::getLimitOfLinearMatch(int32_t first, int32_t last, int32_t unitIndex) const { in getLimitOfLinearMatch()
249 while(++unitIndex<minStringLength && in getLimitOfLinearMatch()
250 firstElement.charAt(unitIndex, strings)== in getLimitOfLinearMatch()
251 lastElement.charAt(unitIndex, strings)) {} in getLimitOfLinearMatch()
252 return unitIndex; in getLimitOfLinearMatch()
256 UCharsTrieBuilder::countElementUnits(int32_t start, int32_t limit, int32_t unitIndex) const { in countElementUnits()
260 UChar unit=elements[i++].charAt(unitIndex, strings); in countElementUnits()
261 while(i<limit && unit==elements[i].charAt(unitIndex, strings)) { in countElementUnits()
270 UCharsTrieBuilder::skipElementsBySomeUnits(int32_t i, int32_t unitIndex, int32_t count) const { in skipElementsBySomeUnits() argument
272 UChar unit=elements[i++].charAt(unitIndex, strings); in skipElementsBySomeUnits()
273 while(unit==elements[i].charAt(unitIndex, strings)) { in skipElementsBySomeUnits()
281 UCharsTrieBuilder::indexOfElementWithNextUnit(int32_t i, int32_t unitIndex, UChar unit) const { in indexOfElementWithNextUnit() argument
282 while(unit==elements[i].charAt(unitIndex, strings)) { in indexOfElementWithNextUnit()
314 UCharsTrieBuilder::createLinearMatchNode(int32_t i, int32_t unitIndex, int32_t length, in createLinearMatchNode() argument
317 elements[i].getString(strings).getBuffer()+unitIndex, in createLinearMatchNode()
370 UCharsTrieBuilder::writeElementUnits(int32_t i, int32_t unitIndex, int32_t length) { in writeElementUnits() argument
371 return write(elements[i].getString(strings).getBuffer()+unitIndex, length); in writeElementUnits()