Searched refs:isBlacklisted (Results 1 - 18 of 18) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/property/
H A Dunigram_property.h56 const bool isBlacklisted, const int probability, const int timestamp, const int level,
59 mIsNotAWord(isNotAWord), mIsBlacklisted(isBlacklisted), mProbability(probability),
70 bool isBlacklisted() const { function in class:latinime::UnigramProperty
55 UnigramProperty(const bool representsBeginningOfSentence, const bool isNotAWord, const bool isBlacklisted, const int probability, const int timestamp, const int level, const int count, const std::vector<ShortcutProperty> *const shortcuts) argument
H A Dword_property.cpp30 jboolean flags[] = {mUnigramProperty.isNotAWord(), mUnigramProperty.isBlacklisted(),
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/pt_common/
H A Ddynamic_pt_updating_helper.cpp154 unigramProperty->isNotAWord(), unigramProperty->isBlacklisted(),
189 unigramProperty->isNotAWord(), unigramProperty->isBlacklisted(), true /* isTerminal */,
222 false /* isNotAWord */, false /* isBlacklisted */, false /* isTerminal */,
230 unigramProperty->isNotAWord(), unigramProperty->isBlacklisted(),
249 reallocatingPtNodeParams->isNotAWord(), reallocatingPtNodeParams->isBlacklisted(),
259 unigramProperty->isNotAWord(), unigramProperty->isBlacklisted(),
286 const bool isNotAWord, const bool isBlacklisted, const bool isTerminal, const int parentPos,
289 isBlacklisted, isNotAWord, isTerminal, false /* hasShortcutTargets */,
297 const bool isNotAWord, const bool isBlacklisted, const bool isTerminal,
301 isBlacklisted, isNotAWor
284 getUpdatedPtNodeParams( const PtNodeParams *const originalPtNodeParams, const bool isNotAWord, const bool isBlacklisted, const bool isTerminal, const int parentPos, const int codePointCount, const int *const codePoints, const int probability) const argument
296 getPtNodeParamsForNewPtNode( const bool isNotAWord, const bool isBlacklisted, const bool isTerminal, const int parentPos, const int codePointCount, const int *const codePoints, const int probability) const argument
[all...]
H A Ddynamic_pt_updating_helper.h86 const bool isNotAWord, const bool isBlacklisted, const bool isTerminal,
90 const PtNodeParams getPtNodeParamsForNewPtNode(const bool isNotAWord, const bool isBlacklisted,
H A Dpatricia_trie_reading_utils.h55 static AK_FORCE_INLINE bool isBlacklisted(const NodeFlags flags) { function in class:latinime::PatriciaTrieReadingUtils
83 static AK_FORCE_INLINE NodeFlags createAndGetFlags(const bool isBlacklisted, argument
88 nodeFlags = isBlacklisted ? (nodeFlags | FLAG_IS_BLACKLISTED) : nodeFlags;
H A Dpt_node_params.h146 AK_FORCE_INLINE bool isBlacklisted() const { function in class:latinime::PtNodeParams
147 return PatriciaTrieReadingUtils::isBlacklisted(mFlags);
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/
H A Dver4_patricia_trie_node_writer.cpp248 sourcePtNodeParams.isBlacklisted(), sourcePtNodeParams.isNotAWord(),
319 ptNodeParams->isBlacklisted(), ptNodeParams->isNotAWord(),
333 return updatePtNodeFlags(ptNodeParams->getHeadPos(), ptNodeParams->isBlacklisted(),
389 return updatePtNodeFlags(nodePos, ptNodeParams->isBlacklisted(), ptNodeParams->isNotAWord(),
414 const bool isBlacklisted, const bool isNotAWord, const bool isTerminal,
418 PatriciaTrieReadingUtils::createAndGetFlags(isBlacklisted, isNotAWord, isTerminal,
413 updatePtNodeFlags(const int ptNodePos, const bool isBlacklisted, const bool isNotAWord, const bool isTerminal, const bool hasShortcutTargets, const bool hasBigrams, const bool hasMultipleChars) argument
H A Dver4_patricia_trie_node_writer.h128 bool updatePtNodeFlags(const int ptNodePos, const bool isBlacklisted, const bool isNotAWord,
H A Dver4_patricia_trie_policy.cpp82 ptNodeParams.isBlacklisted()
141 if (ptNodeParams.isDeleted() || ptNodeParams.isBlacklisted() || ptNodeParams.isNotAWord()) {
290 false /* isBlacklisted */, MAX_PROBABILITY /* probability */,
503 ptNodeParams.isNotAWord(), ptNodeParams.isBlacklisted(), ptNodeParams.getProbability(),
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DWordProperty.java73 final boolean isBlacklisted, final boolean hasBigram, final boolean hasShortcuts,
84 mIsBlacklistEntry = isBlacklisted;
72 WordProperty(final int[] codePoints, final boolean isNotAWord, final boolean isBlacklisted, final boolean hasBigram, final boolean hasShortcuts, final boolean isBeginningOfSentence, final int[] probabilityInfo, final ArrayList<int[]> bigramTargets, final ArrayList<int[]> bigramProbabilityInfo, final ArrayList<int[]> shortcutTargets, final ArrayList<Integer> shortcutProbabilities) argument
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/
H A Dver4_patricia_trie_node_writer.h108 bool updatePtNodeFlags(const int ptNodePos, const bool isBlacklisted, const bool isNotAWord,
H A Dver4_patricia_trie_node_writer.cpp349 return updatePtNodeFlags(nodePos, ptNodeParams->isBlacklisted(), ptNodeParams->isNotAWord(),
373 const bool isBlacklisted, const bool isNotAWord, const bool isTerminal,
377 PatriciaTrieReadingUtils::createAndGetFlags(isBlacklisted, isNotAWord, isTerminal,
372 updatePtNodeFlags(const int ptNodePos, const bool isBlacklisted, const bool isNotAWord, const bool isTerminal, const bool hasMultipleChars) argument
H A Dver4_patricia_trie_policy.cpp72 ptNodeParams.isBlacklisted()
131 if (ptNodeParams.isDeleted() || ptNodeParams.isBlacklisted() || ptNodeParams.isNotAWord()) {
302 false /* isBlacklisted */, MAX_PROBABILITY /* probability */,
515 ptNodeParams.isNotAWord(), ptNodeParams.isBlacklisted(), ptNodeParams.getProbability(),
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v2/
H A Dpatricia_trie_policy.cpp307 if (ptNodeParams.isNotAWord() || ptNodeParams.isBlacklisted()) {
373 PatriciaTrieReadingUtils::isBlacklisted(flags)
434 ptNodeParams.isNotAWord(), ptNodeParams.isBlacklisted(), ptNodeParams.getProbability(),
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DExpandableBinaryDictionary.java301 final boolean isBlacklisted, final int timestamp,
320 isNotAWord, isBlacklisted, timestamp);
327 final boolean isBlacklisted, final int timestamp) {
329 false /* isBeginningOfSentence */, isNotAWord, isBlacklisted, timestamp)) {
299 addUnigramEntryWithCheckingDistracter(final String word, final int frequency, final String shortcutTarget, final int shortcutFreq, final boolean isNotAWord, final boolean isBlacklisted, final int timestamp, final DistracterFilter distracterFilter) argument
325 addUnigramLocked(final String word, final int frequency, final String shortcutTarget, final int shortcutFreq, final boolean isNotAWord, final boolean isBlacklisted, final int timestamp) argument
H A DBinaryDictionary.java197 boolean isNotAWord, boolean isBlacklisted, int timestamp);
427 final boolean isBlacklisted, final int timestamp) {
435 shortcutProbability, isBeginningOfSentence, isNotAWord, isBlacklisted, timestamp)) {
195 addUnigramEntryNative(long dict, int[] word, int probability, int[] shortcutTarget, int shortcutProbability, boolean isBeginningOfSentence, boolean isNotAWord, boolean isBlacklisted, int timestamp) argument
424 addUnigramEntry(final String word, final int probability, final String shortcutTarget, final int shortcutProbability, final boolean isBeginningOfSentence, final boolean isNotAWord, final boolean isBlacklisted, final int timestamp) argument
/packages/inputmethods/LatinIME/native/jni/
H A Dcom_android_inputmethod_latin_BinaryDictionary.cpp350 jboolean isBeginningOfSentence, jboolean isNotAWord, jboolean isBlacklisted,
367 isBlacklisted, probability, timestamp, 0 /* level */, 1 /* count */, &shortcuts);
471 jboolean isBlacklisted = env->GetBooleanField(languageModelParam, isBlacklistedFieldId); local
484 isBlacklisted, unigramProbability, timestamp, 0 /* level */, 1 /* count */,
348 latinime_BinaryDictionary_addUnigramEntry(JNIEnv *env, jclass clazz, jlong dict, jintArray word, jint probability, jintArray shortcutTarget, jint shortcutProbability, jboolean isBeginningOfSentence, jboolean isNotAWord, jboolean isBlacklisted, jint timestamp) argument
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DBinaryDictionaryTests.java180 false /* isNotAWord */, false /* isBlacklisted */,
202 false /* isBlacklisted */, BinaryDictionary.NOT_A_VALID_TIMESTAMP /* timestamp */);
1011 final boolean isBlacklisted = random.nextBoolean();
1015 false /* isBeginningOfSentence */, isNotAWord, isBlacklisted,
1027 assertEquals(isBlacklisted, wordProperty.mIsBlacklistEntry);
1195 false /* isNotAWord */, false /* isBlacklisted */, 0 /* timestamp */);
1204 false /* isNotAWord */, false /* isBlacklisted */, 0 /* timestamp */);
1213 false /* isBlacklisted */, 0 /* timestamp */);
1285 false /* isBlacklisted */, 0 /* timestamp */);
1341 false /* isBlacklisted */,
[all...]

Completed in 283 milliseconds