Searched refs:compareLength (Results 1 – 3 of 3) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_policy.cpp | 481 const int compareLength = queryLength + 1 /* terminator */; in getProperty() local 482 if (strncmp(query, UNIGRAM_COUNT_QUERY, compareLength) == 0) { in getProperty() 485 } else if (strncmp(query, BIGRAM_COUNT_QUERY, compareLength) == 0) { in getProperty() 487 } else if (strncmp(query, MAX_UNIGRAM_COUNT_QUERY, compareLength) == 0) { in getProperty() 494 } else if (strncmp(query, MAX_BIGRAM_COUNT_QUERY, compareLength) == 0) { in getProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_policy.cpp | 526 const int compareLength = queryLength + 1 /* terminator */; in getProperty() local 527 if (strncmp(query, UNIGRAM_COUNT_QUERY, compareLength) == 0) { in getProperty() 530 } else if (strncmp(query, BIGRAM_COUNT_QUERY, compareLength) == 0) { in getProperty() 532 } else if (strncmp(query, MAX_UNIGRAM_COUNT_QUERY, compareLength) == 0) { in getProperty() 539 } else if (strncmp(query, MAX_BIGRAM_COUNT_QUERY, compareLength) == 0) { in getProperty()
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfV61GeneratorBase.java | 243 final int compareLength = deduplicatedList.get(0).length; in addJumpIfBytesAtOffsetEqualsHelper() local 244 if (compareLength > 16) { in addJumpIfBytesAtOffsetEqualsHelper() 264 .addU8((currentCount - 1) * 16 + (compareLength - 1)) in addJumpIfBytesAtOffsetEqualsHelper()
|