• Home
  • Raw
  • Download

Lines Matching refs:fBI

29         fBI(bi), fBreaks(status), fPositionInCache(-1),  in DictionaryCache()
137 UText *text = &fBI->fText; in populateDictionary()
145 category = ucptrie_get(fBI->fData->fTrie, c); in populateDictionary()
146 uint32_t dictStart = fBI->fData->fForwardTable->fDictCategoriesStart; in populateDictionary()
153 category = ucptrie_get(fBI->fData->fTrie, c); in populateDictionary()
161 const LanguageBreakEngine *lbe = fBI->getLanguageBreakEngine(c); in populateDictionary()
171 category = ucptrie_get(fBI->fData->fTrie, c); in populateDictionary()
208 fBI(bi), fSideBuffer(status) { in BreakCache()
228 fBI->fPosition = fTextIdx; in current()
229 fBI->fRuleStatusIndex = fStatuses[fBufIdx]; in current()
230 fBI->fDone = FALSE; in current()
245 fBI->fDone = false; in following()
276 fBI->fDone = !populateFollowing(); in nextOL()
277 fBI->fPosition = fTextIdx; in nextOL()
278 fBI->fRuleStatusIndex = fStatuses[fBufIdx]; in nextOL()
296 fBI->fDone = (fBufIdx == initialBufIdx); in previous()
297 fBI->fPosition = fTextIdx; in previous()
298 fBI->fRuleStatusIndex = fStatuses[fBufIdx]; in previous()
356 int32_t backupPos = fBI->handleSafePrevious(position); in populateNear()
365 fBI->fPosition = backupPos; in populateNear()
366 aBoundary = fBI->handleNext(); in populateNear()
370 utext_setNativeIndex(&fBI->fText, aBoundary); in populateNear()
371 if (backupPos == utext_getPreviousNativeIndex(&fBI->fText)) { in populateNear()
373 aBoundary = fBI->handleNext(); // Safe rules identify safe pairs. in populateNear()
376 ruleStatusIndex = fBI->fRuleStatusIndex; in populateNear()
431 if (fBI->fDictionaryCache->following(fromPosition, &pos, &ruleStatusIdx)) { in populateFollowing()
436 fBI->fPosition = fromPosition; in populateFollowing()
437 pos = fBI->handleNext(); in populateFollowing()
442 ruleStatusIdx = fBI->fRuleStatusIndex; in populateFollowing()
443 if (fBI->fDictionaryCharCount > 0) { in populateFollowing()
446fBI->fDictionaryCache->populateDictionary(fromPosition, pos, fromRuleStatusIdx, ruleStatusIdx); in populateFollowing()
447 if (fBI->fDictionaryCache->following(fromPosition, &pos, &ruleStatusIdx)) { in populateFollowing()
465 pos = fBI->handleNext(); in populateFollowing()
466 if (pos == UBRK_DONE || fBI->fDictionaryCharCount > 0) { in populateFollowing()
469 addFollowing(pos, fBI->fRuleStatusIndex, RetainCachePosition); in populateFollowing()
489 if (fBI->fDictionaryCache->preceding(fromPosition, &position, &positionStatusIdx)) { in populatePreceding()
502 backupPosition = fBI->handleSafePrevious(backupPosition); in populatePreceding()
514 fBI->fPosition = backupPosition; in populatePreceding()
515 position = fBI->handleNext(); in populatePreceding()
519 utext_setNativeIndex(&fBI->fText, position); in populatePreceding()
520 if (backupPosition == utext_getPreviousNativeIndex(&fBI->fText)) { in populatePreceding()
522 position = fBI->handleNext(); // Safe rules identify safe pairs. in populatePreceding()
525 positionStatusIdx = fBI->fRuleStatusIndex; in populatePreceding()
537 int32_t prevPosition = fBI->fPosition = position; in populatePreceding()
539 position = fBI->handleNext(); in populatePreceding()
540 positionStatusIdx = fBI->fRuleStatusIndex; in populatePreceding()
546 if (fBI->fDictionaryCharCount != 0) { in populatePreceding()
550fBI->fDictionaryCache->populateDictionary(prevPosition, dictSegEndPosition, prevStatusIdx, positio… in populatePreceding()
551 while (fBI->fDictionaryCache->following(prevPosition, &position, &positionStatusIdx)) { in populatePreceding()