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

  /packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
word_attributes.h 30 const bool isPossiblyOffensive)
32 mIsPossiblyOffensive(isPossiblyOffensive) {}
54 bool isPossiblyOffensive() const {
unigram_property.h 58 const bool isPossiblyOffensive, const int probability,
62 mIsPossiblyOffensive(isPossiblyOffensive), mProbability(probability),
67 const bool isPossiblyOffensive, const int probability,
71 mIsPossiblyOffensive(isPossiblyOffensive), mProbability(probability),
76 const bool isBlacklisted, const bool isPossiblyOffensive, const int probability,
80 mIsPossiblyOffensive(isPossiblyOffensive), mProbability(probability),
85 const bool isBlacklisted, const bool isPossiblyOffensive, const int probability,
89 mIsPossiblyOffensive(isPossiblyOffensive), mProbability(probability),
100 bool isPossiblyOffensive() const {
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
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,
dynamic_pt_updating_helper.cpp 149 unigramProperty->isNotAWord(), unigramProperty->isPossiblyOffensive(),
183 unigramProperty->isNotAWord(), unigramProperty->isPossiblyOffensive(),
218 false /* isNotAWord */, false /* isPossiblyOffensive */, false /* isTerminal */,
226 unigramProperty->isNotAWord(), unigramProperty->isPossiblyOffensive(),
244 reallocatingPtNodeParams->isNotAWord(), reallocatingPtNodeParams->isPossiblyOffensive(),
253 unigramProperty->isNotAWord(), unigramProperty->isPossiblyOffensive(),
280 const bool isPossiblyOffensive, const bool isTerminal, const int parentPos,
283 isPossiblyOffensive, isNotAWord, isTerminal, false /* hasShortcutTargets */,
290 const bool isPossiblyOffensive, const bool isTerminal, const int parentPos,
293 isPossiblyOffensive, isNotAWord, isTerminal, false /* hasShortcutTargets */
    [all...]
patricia_trie_reading_utils.h 57 static AK_FORCE_INLINE bool isPossiblyOffensive(const NodeFlags flags) {
85 static AK_FORCE_INLINE NodeFlags createAndGetFlags(const bool isPossiblyOffensive,
90 nodeFlags = isPossiblyOffensive ? (nodeFlags | FLAG_IS_POSSIBLY_OFFENSIVE) : nodeFlags;
pt_node_params.h 147 AK_FORCE_INLINE bool isPossiblyOffensive() const {
148 return PatriciaTrieReadingUtils::isPossiblyOffensive(mFlags);
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
probability_entry.h 54 unigramProperty->isPossiblyOffensive())),
96 bool isPossiblyOffensive() const {
158 const bool isNotAWord, const bool isBlacklisted, const bool isPossiblyOffensive) {
169 if (isPossiblyOffensive) {
language_model_dict_content.cpp 111 unigramProbabilityEntry.isPossiblyOffensive());
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
FusionDictionary.java 104 final boolean isPossiblyOffensive) {
111 mIsPossiblyOffensive = isPossiblyOffensive;
116 final boolean isPossiblyOffensive, final PtNodeArray children) {
122 mIsPossiblyOffensive = isPossiblyOffensive;
206 final boolean isNotAWord, final boolean isPossiblyOffensive) {
226 mIsPossiblyOffensive = isPossiblyOffensive;
272 * @param isPossiblyOffensive true if this word is possibly offensive
275 final boolean isNotAWord, final boolean isPossiblyOffensive) {
276 add(getCodePoints(word), probabilityInfo, isNotAWord, isPossiblyOffensive);
311 false /* isPossiblyOffensive */);
    [all...]
BinaryDictEncoderUtils.java 513 * @param isPossiblyOffensive whether the PtNode is a possibly offensive entry.
518 final boolean isNotAWord, final boolean isPossiblyOffensive) {
540 if (isPossiblyOffensive) flags |= FormatSpec.FLAG_IS_POSSIBLY_OFFENSIVE;
    [all...]
  /packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
CombinedInputOutput.java 101 boolean isPossiblyOffensive = false;
110 isNotAWord, isPossiblyOffensive);
118 isPossiblyOffensive = false;
147 isPossiblyOffensive = CombinedFormatUtils.isLiteralTrue(params[1]);
204 isPossiblyOffensive);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
WordProperty.java 53 final boolean isNotAWord, final boolean isPossiblyOffensive) {
67 mIsPossiblyOffensive = isPossiblyOffensive;
82 final boolean isPossiblyOffensive, final boolean hasBigram,
92 mIsPossiblyOffensive = isPossiblyOffensive;
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
ver4_patricia_trie_node_writer.cpp 248 sourcePtNodeParams.isPossiblyOffensive(), sourcePtNodeParams.isNotAWord(),
319 ptNodeParams->isPossiblyOffensive(), ptNodeParams->isNotAWord(),
333 return updatePtNodeFlags(ptNodeParams->getHeadPos(), ptNodeParams->isPossiblyOffensive(),
389 return updatePtNodeFlags(nodePos, ptNodeParams->isPossiblyOffensive(),
ver4_patricia_trie_policy.cpp 618 ptNodeParams.isNotAWord(), ptNodeParams.isPossiblyOffensive(),
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/
suggestions_output_utils.cpp 89 wordAttributes.isPossiblyOffensive();
151 (wordAttributes.isPossiblyOffensive() ? Dictionary::KIND_FLAG_POSSIBLY_OFFENSIVE : 0)
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
ExpandableBinaryDictionary.java 298 final boolean isNotAWord, final boolean isPossiblyOffensive, final int timestamp) {
302 addUnigramLocked(word, frequency, isNotAWord, isPossiblyOffensive, timestamp);
308 final boolean isNotAWord, final boolean isPossiblyOffensive, final int timestamp) {
310 false /* isBeginningOfSentence */, isNotAWord, isPossiblyOffensive, timestamp)) {
BinaryDictionary.java 203 boolean isNotAWord, boolean isPossiblyOffensive, int timestamp);
447 final boolean isNotAWord, final boolean isPossiblyOffensive, final int timestamp) {
454 isBeginningOfSentence, isNotAWord, isPossiblyOffensive, timestamp)) {
SuggestedWords.java 338 public boolean isPossiblyOffensive() {
  /packages/inputmethods/LatinIME/native/jni/src/utils/
jni_data_utils.cpp 38 jboolean flags[] = {unigramProperty.isNotAWord(), unigramProperty.isPossiblyOffensive(),
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
patricia_trie_policy.cpp 320 ptNodeParams.isPossiblyOffensive());
479 ptNodeParams.isNotAWord(), ptNodeParams.isPossiblyOffensive(),
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
BinaryDictionaryTests.java 160 false /* isNotAWord */, false /* isPossiblyOffensive */,
179 false /* isPossiblyOffensive */,
    [all...]
  /packages/inputmethods/LatinIME/native/jni/
com_android_inputmethod_latin_BinaryDictionary.cpp 361 jboolean isBeginningOfSentence, jboolean isNotAWord, jboolean isPossiblyOffensive,
380 isPossiblyOffensive, probability, HistoricalInfo(timestamp, 0 /* level */,
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
ver4_patricia_trie_policy.cpp 307 false /* isBlacklisted */, false /* isPossiblyOffensive */,
386 false /* isNotAWord */, false /* isBlacklisted */, false /* isPossiblyOffensive */,
406 true /* isNotAWord */, false /* isPossiblyOffensive */, NOT_A_PROBABILITY,
567 wordAttributes.isPossiblyOffensive(), wordAttributes.getProbability(),

Completed in 2201 milliseconds