Searched refs:compareLength (Results 1 - 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
H A Dver4_patricia_trie_policy.cpp526 const int compareLength = queryLength + 1 /* terminator */; local
527 if (strncmp(query, UNIGRAM_COUNT_QUERY, compareLength) == 0) {
530 } else if (strncmp(query, BIGRAM_COUNT_QUERY, compareLength) == 0) {
532 } else if (strncmp(query, MAX_UNIGRAM_COUNT_QUERY, compareLength) == 0) {
539 } else if (strncmp(query, MAX_BIGRAM_COUNT_QUERY, compareLength) == 0) {
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
H A Dver4_patricia_trie_policy.cpp481 const int compareLength = queryLength + 1 /* terminator */; local
482 if (strncmp(query, UNIGRAM_COUNT_QUERY, compareLength) == 0) {
485 } else if (strncmp(query, BIGRAM_COUNT_QUERY, compareLength) == 0) {
487 } else if (strncmp(query, MAX_UNIGRAM_COUNT_QUERY, compareLength) == 0) {
494 } else if (strncmp(query, MAX_BIGRAM_COUNT_QUERY, compareLength) == 0) {

Completed in 290 milliseconds