/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
D | unigram_property.h | 58 const bool isPossiblyOffensive, const int probability, in UnigramProperty() argument 62 mIsPossiblyOffensive(isPossiblyOffensive), mProbability(probability), in UnigramProperty() 67 const bool isPossiblyOffensive, const int probability, in UnigramProperty() argument 71 mIsPossiblyOffensive(isPossiblyOffensive), mProbability(probability), in UnigramProperty() 76 const bool isBlacklisted, const bool isPossiblyOffensive, const int probability, in UnigramProperty() argument 80 mIsPossiblyOffensive(isPossiblyOffensive), mProbability(probability), in UnigramProperty() 85 const bool isBlacklisted, const bool isPossiblyOffensive, const int probability, in UnigramProperty() argument 89 mIsPossiblyOffensive(isPossiblyOffensive), mProbability(probability), in UnigramProperty() 100 bool isPossiblyOffensive() const { in isPossiblyOffensive() function
|
D | word_attributes.h | 30 const bool isPossiblyOffensive) in WordAttributes() argument 32 mIsPossiblyOffensive(isPossiblyOffensive) {} in WordAttributes() 54 bool isPossiblyOffensive() const { in isPossiblyOffensive() function
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 104 final boolean isPossiblyOffensive) { in PtNode() argument 111 mIsPossiblyOffensive = isPossiblyOffensive; in PtNode() 116 final boolean isPossiblyOffensive, final PtNodeArray children) { in PtNode() argument 122 mIsPossiblyOffensive = isPossiblyOffensive; in PtNode() 206 final boolean isNotAWord, final boolean isPossiblyOffensive) { in update() argument 226 mIsPossiblyOffensive = isPossiblyOffensive; in update() 275 final boolean isNotAWord, final boolean isPossiblyOffensive) { in add() argument 276 add(getCodePoints(word), probabilityInfo, isNotAWord, isPossiblyOffensive); in add() local 334 final boolean isNotAWord, final boolean isPossiblyOffensive) { in add() argument 364 isPossiblyOffensive); in add() [all …]
|
D | BinaryDictEncoderUtils.java | 518 final boolean isNotAWord, final boolean isPossiblyOffensive) { in makePtNodeFlags() argument 540 if (isPossiblyOffensive) flags |= FormatSpec.FLAG_IS_POSSIBLY_OFFENSIVE; in makePtNodeFlags()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
D | dynamic_pt_updating_helper.cpp | 149 unigramProperty->isNotAWord(), unigramProperty->isPossiblyOffensive(), in setPtNodeProbability() 183 unigramProperty->isNotAWord(), unigramProperty->isPossiblyOffensive(), in createNewPtNodeArrayWithAChildPtNode() 226 unigramProperty->isNotAWord(), unigramProperty->isPossiblyOffensive(), in reallocatePtNodeAndAddNewPtNodes() 244 reallocatingPtNodeParams->isNotAWord(), reallocatingPtNodeParams->isPossiblyOffensive(), in reallocatePtNodeAndAddNewPtNodes() 253 unigramProperty->isNotAWord(), unigramProperty->isPossiblyOffensive(), in reallocatePtNodeAndAddNewPtNodes() 280 const bool isPossiblyOffensive, const bool isTerminal, const int parentPos, in getUpdatedPtNodeParams() argument 283 isPossiblyOffensive, isNotAWord, isTerminal, false /* hasShortcutTargets */, in getUpdatedPtNodeParams() 290 const bool isPossiblyOffensive, const bool isTerminal, const int parentPos, in getPtNodeParamsForNewPtNode() argument 293 isPossiblyOffensive, isNotAWord, isTerminal, false /* hasShortcutTargets */, in getPtNodeParamsForNewPtNode()
|
D | patricia_trie_reading_utils.h | 57 static AK_FORCE_INLINE bool isPossiblyOffensive(const NodeFlags flags) { in isPossiblyOffensive() function 85 static AK_FORCE_INLINE NodeFlags createAndGetFlags(const bool isPossiblyOffensive, in createAndGetFlags() argument 90 nodeFlags = isPossiblyOffensive ? (nodeFlags | FLAG_IS_POSSIBLY_OFFENSIVE) : nodeFlags; in createAndGetFlags()
|
D | dynamic_pt_updating_helper.h | 88 const bool isNotAWord, const bool isPossiblyOffensive, const bool isTerminal, 92 const bool isPossiblyOffensive, const bool isTerminal, const int parentPos,
|
D | pt_node_params.h | 147 AK_FORCE_INLINE bool isPossiblyOffensive() const { in isPossiblyOffensive() function 148 return PatriciaTrieReadingUtils::isPossiblyOffensive(mFlags); in isPossiblyOffensive()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | CombinedInputOutput.java | 101 boolean isPossiblyOffensive = false; in readDictionaryCombined() 109 dict.add(word, probabilityInfo, isNotAWord, isPossiblyOffensive); in readDictionaryCombined() 117 isPossiblyOffensive = false; in readDictionaryCombined() 146 isPossiblyOffensive = CombinedFormatUtils.isLiteralTrue(params[1]); in readDictionaryCombined() 183 dict.add(word, probabilityInfo, isNotAWord, isPossiblyOffensive); in readDictionaryCombined()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | probability_entry.h | 54 unigramProperty->isPossiblyOffensive())), in ProbabilityEntry() 96 bool isPossiblyOffensive() const { in isPossiblyOffensive() function 158 const bool isNotAWord, const bool isBlacklisted, const bool isPossiblyOffensive) { in createFlags() argument 169 if (isPossiblyOffensive) { in createFlags()
|
D | language_model_dict_content.cpp | 111 unigramProbabilityEntry.isPossiblyOffensive()); in getWordAttributes()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | WordProperty.java | 53 final boolean isNotAWord, final boolean isPossiblyOffensive) { in WordProperty() argument 67 mIsPossiblyOffensive = isPossiblyOffensive; in WordProperty() 82 final boolean isPossiblyOffensive, final boolean hasBigram, in WordProperty() argument 92 mIsPossiblyOffensive = isPossiblyOffensive; in WordProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_node_writer.cpp | 248 sourcePtNodeParams.isPossiblyOffensive(), sourcePtNodeParams.isNotAWord(), in addNgramEntry() 319 ptNodeParams->isPossiblyOffensive(), ptNodeParams->isNotAWord(), in addShortcutTarget() 333 return updatePtNodeFlags(ptNodeParams->getHeadPos(), ptNodeParams->isPossiblyOffensive(), in updatePtNodeHasBigramsAndShortcutTargetsFlags() 389 return updatePtNodeFlags(nodePos, ptNodeParams->isPossiblyOffensive(), in writePtNodeAndGetTerminalIdAndAdvancePosition()
|
D | ver4_patricia_trie_policy.cpp | 618 ptNodeParams.isNotAWord(), ptNodeParams.isPossiblyOffensive(), in getWordProperty()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | ExpandableBinaryDictionary.java | 298 final boolean isNotAWord, final boolean isPossiblyOffensive, final int timestamp) { in addUnigramEntry() argument 302 addUnigramLocked(word, frequency, isNotAWord, isPossiblyOffensive, timestamp); in addUnigramEntry() 308 final boolean isNotAWord, final boolean isPossiblyOffensive, final int timestamp) { in addUnigramLocked() argument 310 false /* isBeginningOfSentence */, isNotAWord, isPossiblyOffensive, timestamp)) { in addUnigramLocked()
|
D | BinaryDictionary.java | 203 boolean isNotAWord, boolean isPossiblyOffensive, int timestamp); in addUnigramEntryNative() argument 447 final boolean isNotAWord, final boolean isPossiblyOffensive, final int timestamp) { in addUnigramEntry() argument 454 isBeginningOfSentence, isNotAWord, isPossiblyOffensive, timestamp)) { in addUnigramEntry()
|
D | SuggestedWords.java | 338 public boolean isPossiblyOffensive() { in isPossiblyOffensive() method in SuggestedWords.SuggestedWordInfo
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/ |
D | suggestions_output_utils.cpp | 89 wordAttributes.isPossiblyOffensive(); in shouldBlockWord() 151 (wordAttributes.isPossiblyOffensive() ? Dictionary::KIND_FLAG_POSSIBLY_OFFENSIVE : 0) in outputSuggestionsOfDicNode()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
D | patricia_trie_policy.cpp | 320 ptNodeParams.isPossiblyOffensive()); in getWordAttributes() 479 ptNodeParams.isNotAWord(), ptNodeParams.isPossiblyOffensive(), in getWordProperty()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryTests.java | 736 final boolean isPossiblyOffensive = random.nextBoolean(); in testGetWordProperties() 739 false /* isBeginningOfSentence */, isNotAWord, isPossiblyOffensive, in testGetWordProperties() 751 assertEquals(isPossiblyOffensive, wordProperty.mIsPossiblyOffensive); in testGetWordProperties()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.cpp | 38 jboolean flags[] = {unigramProperty.isNotAWord(), unigramProperty.isPossiblyOffensive(), in outputWordProperty()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 361 jboolean isBeginningOfSentence, jboolean isNotAWord, jboolean isPossiblyOffensive, in latinime_BinaryDictionary_addUnigramEntry() argument 380 isPossiblyOffensive, probability, HistoricalInfo(timestamp, 0 /* level */, in latinime_BinaryDictionary_addUnigramEntry()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_policy.cpp | 567 wordAttributes.isPossiblyOffensive(), wordAttributes.getProbability(), in getWordProperty()
|