HomeSort by relevance Sort by last modified time
    Searched refs:mHeaderPolicy (Results 1 - 16 of 16) sorted by null

  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
ver4_patricia_trie_node_reader.h 57 mHeaderPolicy(headerPolicy) {}
71 const HeaderPolicy *const mHeaderPolicy;
ver4_patricia_trie_policy.h 67 : mBuffers(std::move(buffers)), mHeaderPolicy(mBuffers->getHeaderPolicy()),
70 mBuffers->getTerminalPositionLookupTable(), mHeaderPolicy),
73 mNodeReader(mDictBuffer, mBuffers->getProbabilityDictContent(), mHeaderPolicy),
75 mNodeWriter(mDictBuffer, mBuffers.get(), mHeaderPolicy, &mNodeReader,
79 mEntryCounters(mHeaderPolicy->getNgramCounts().getCountArray()),
107 return mHeaderPolicy;
156 const HeaderPolicy *const mHeaderPolicy;
ver4_dict_buffers.h 57 return mHeaderBuffer && mDictBuffer && mHeaderPolicy.isValid()
71 return &mHeaderPolicy;
140 const HeaderPolicy mHeaderPolicy;
ver4_dict_buffers.cpp 134 mHeaderPolicy(mHeaderBuffer->getReadOnlyByteArrayView().data(), formatVersion),
142 mProbabilityDictContent(dictPath, mHeaderPolicy.hasHistoricalInfoOfWords(), isUpdatable),
143 mBigramDictContent(dictPath, mHeaderPolicy.hasHistoricalInfoOfWords(), isUpdatable),
148 : mHeaderBuffer(nullptr), mDictBuffer(nullptr), mHeaderPolicy(headerPolicy),
ver4_patricia_trie_node_reader.cpp 64 dictBuf, flags, MAX_WORD_LENGTH, mHeaderPolicy->getCodePointTable(), codePoints, &pos);
78 probabilityEntry.getHistoricalInfo(), mHeaderPolicy);
ver4_patricia_trie_node_writer.h 64 : mTrieBuffer(trieBuffer), mBuffers(buffers), mHeaderPolicy(headerPolicy),
141 const HeaderPolicy *const mHeaderPolicy;
ver4_patricia_trie_policy.cpp 70 if (isTerminal && mHeaderPolicy->isDecayingDict()) {
223 if (mHeaderPolicy->hasHistoricalInfoOfWords()) {
509 } else if (mHeaderPolicy->getExtendedRegionSize() + mDictBuffer->getUsedAdditionalBufferSize()
517 } else if (mHeaderPolicy->isDecayingDict()) {
519 mHeaderPolicy);
534 mHeaderPolicy->isDecayingDict() ?
536 mHeaderPolicy->getMaxNgramCounts().getNgramCount(
541 mHeaderPolicy->isDecayingDict() ?
543 mHeaderPolicy->getMaxNgramCounts().getNgramCount(
588 bigramEntry.getHistoricalInfo(), mHeaderPolicy)
    [all...]
ver4_patricia_trie_node_writer.cpp 174 originalProbabilityEntry.getHistoricalInfo(), mHeaderPolicy);
183 const bool isValid = ForgettingCurveUtils::needsToKeep(&historicalInfo, mHeaderPolicy);
399 if (mHeaderPolicy->hasHistoricalInfoOfWords()) {
404 unigramProperty->getProbability(), &historicalInfoForUpdate, mHeaderPolicy);
429 if (!mHeaderPolicy->hasHistoricalInfoOfWords()) {
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/bigram/
ver4_bigram_list_policy.h 56 mHeaderPolicy(headerPolicy) {}
89 const HeaderPolicy *const mHeaderPolicy;
ver4_bigram_list_policy.cpp 52 mHeaderPolicy);
194 bigramEntry.getHistoricalInfo(), mHeaderPolicy);
195 if (ForgettingCurveUtils::needsToKeep(&historicalInfo, mHeaderPolicy)) {
269 if (mHeaderPolicy->hasHistoricalInfoOfWords()) {
274 &historicalInfoForUpdate, mHeaderPolicy);
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
patricia_trie_policy.h 46 mHeaderPolicy(mMmappedBuffer->getReadOnlyByteArrayView().data(),
48 mBuffer(mMmappedBuffer->getReadOnlyByteArrayView().skip(mHeaderPolicy.getSize())),
51 mHeaderPolicy.getCodePointTable()),
80 return &mHeaderPolicy;
157 const HeaderPolicy mHeaderPolicy;
patricia_trie_policy.cpp 88 const int *const codePointTable = mHeaderPolicy.getCodePointTable();
412 const int *const codePointTable = mHeaderPolicy.getCodePointTable();
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
ver4_dict_buffers.h 48 return mHeaderBuffer && mDictBuffer && mHeaderPolicy.isValid();
59 return &mHeaderPolicy;
123 const HeaderPolicy mHeaderPolicy;
ver4_patricia_trie_policy.h 45 : mBuffers(std::move(buffers)), mHeaderPolicy(mBuffers->getHeaderPolicy()),
54 mEntryCounters(mHeaderPolicy->getNgramCounts().getCountArray()),
86 return mHeaderPolicy;
134 const HeaderPolicy *const mHeaderPolicy;
ver4_patricia_trie_policy.cpp 114 false /* mustMatchAllPrevWords */, mHeaderPolicy);
124 true /* mustMatchAllPrevWords */, mHeaderPolicy);
419 mHeaderPolicy, &mEntryCounters)) {
424 wordId, updateAsAValidWord, historicalInfo, mHeaderPolicy, &mEntryCounters)) {
464 } else if (mHeaderPolicy->getExtendedRegionSize() + mDictBuffer->getUsedAdditionalBufferSize()
472 } else if (mHeaderPolicy->isDecayingDict()) {
474 mHeaderPolicy);
489 mHeaderPolicy->isDecayingDict() ?
491 mHeaderPolicy->getMaxNgramCounts().getNgramCount(
496 mHeaderPolicy->isDecayingDict()
    [all...]
ver4_dict_buffers.cpp 175 mHeaderPolicy(mHeaderBuffer->getReadOnlyByteArrayView().data(), formatVersion),
183 mHeaderPolicy.hasHistoricalInfoOfWords()),
188 : mHeaderBuffer(nullptr), mDictBuffer(nullptr), mHeaderPolicy(headerPolicy),

Completed in 142 milliseconds