• Home
  • Raw
  • Download

Lines Matching refs:unitIndex

233 UCharsTrieBuilder::getElementUnit(int32_t i, int32_t unitIndex) const {  in getElementUnit()
234 return elements[i].charAt(unitIndex, strings); in getElementUnit()
243 UCharsTrieBuilder::getLimitOfLinearMatch(int32_t first, int32_t last, int32_t unitIndex) const { in getLimitOfLinearMatch()
247 while(++unitIndex<minStringLength && in getLimitOfLinearMatch()
248 firstElement.charAt(unitIndex, strings)== in getLimitOfLinearMatch()
249 lastElement.charAt(unitIndex, strings)) {} in getLimitOfLinearMatch()
250 return unitIndex; in getLimitOfLinearMatch()
254 UCharsTrieBuilder::countElementUnits(int32_t start, int32_t limit, int32_t unitIndex) const { in countElementUnits()
258 UChar unit=elements[i++].charAt(unitIndex, strings); in countElementUnits()
259 while(i<limit && unit==elements[i].charAt(unitIndex, strings)) { in countElementUnits()
268 UCharsTrieBuilder::skipElementsBySomeUnits(int32_t i, int32_t unitIndex, int32_t count) const { in skipElementsBySomeUnits() argument
270 UChar unit=elements[i++].charAt(unitIndex, strings); in skipElementsBySomeUnits()
271 while(unit==elements[i].charAt(unitIndex, strings)) { in skipElementsBySomeUnits()
279 UCharsTrieBuilder::indexOfElementWithNextUnit(int32_t i, int32_t unitIndex, UChar unit) const { in indexOfElementWithNextUnit() argument
280 while(unit==elements[i].charAt(unitIndex, strings)) { in indexOfElementWithNextUnit()
312 UCharsTrieBuilder::createLinearMatchNode(int32_t i, int32_t unitIndex, int32_t length, in createLinearMatchNode() argument
315 elements[i].getString(strings).getBuffer()+unitIndex, in createLinearMatchNode()
368 UCharsTrieBuilder::writeElementUnits(int32_t i, int32_t unitIndex, int32_t length) { in writeElementUnits() argument
369 return write(elements[i].getString(strings).getBuffer()+unitIndex, length); in writeElementUnits()