Home
last modified time | relevance | path

Searched refs:keyLength (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
DOpenWnnDictionaryImplJni.c1355 int keyLength = strlen( ( char* )keyName ); in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createQueryStringBase() local
1357 char *dst = ( char* )malloc( maxBindsOfQuery * ( ( 1 + keyLength + 18 + 1 + 5 ) + in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createQueryStringBase()
1358 … ( ( 4 + keyLength + 18 ) * maxPatternOfApprox ) + in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createQueryStringBase()
1368 strcpy( &dst[ dstPtr + 1 + keyLength ], " like ? escape '\x5c'" ); in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createQueryStringBase()
1369 dstPtr += 1 + keyLength + 18; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createQueryStringBase()
1374 strcpy( &dst[ dstPtr + 4 + keyLength ], " like ? escape '\x5c'" ); in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createQueryStringBase()
1375 dstPtr += 4 + keyLength + 18; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createQueryStringBase()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
Dheader_read_write_utils.cpp81 const int keyLength = ByteArrayUtils::readStringAndAdvancePosition(dictBuf, in fetchAllHeaderAttributes() local
84 key.insert(key.end(), keyBuffer, keyBuffer + keyLength); in fetchAllHeaderAttributes()