Home
last modified time | relevance | path

Searched refs:keyString (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnDictionaryImpl.java417 protected void createQuery( String keyString, WnnWord wnnWord, int operation, int order) { in createQuery() argument
433 queryArgs[ 0 ] = keyString; in createQuery()
439 if( keyString.length() <= FAST_QUERY_LENGTH ) { in createQuery()
467 …ueryArgsTemp = OpenWnnDictionaryImplJni.createBindArray( this.mWnnWork, keyString, maxBindsOfQuery… in createQuery()
477 …queryArgs = OpenWnnDictionaryImplJni.createBindArray( this.mWnnWork, keyString, maxBindsOfQuery, M… in createQuery()
535 public int searchWord( int operation, int order, String keyString ) { in searchWord() argument
543 if( keyString.length() > 0 ) { in searchWord()
544 createQuery( keyString, null, operation, order ); in searchWord()
567 … int ret = OpenWnnDictionaryImplJni.searchWord( this.mWnnWork, operation, order, keyString ); in searchWord()
580 public int searchWord( int operation, int order, String keyString, WnnWord wnnWord ) { in searchWord() argument
[all …]
DWnnDictionary.java226 public int searchWord(int operation, int order, String keyString ); in searchWord() argument
244 public int searchWord(int operation, int order, String keyString, WnnWord wnnWord ); in searchWord() argument
DOpenWnnDictionaryImplJni.java229 … public static final native int searchWord(long work, int operation, int order, String keyString ); in searchWord() argument
439 …public static final native String[] createBindArray( long work, String keyString, int maxBindsOfQu… in createBindArray() argument
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
DOpenWnnDictionaryImplJni.c385 (JNIEnv *env, jobject obj, jlong wnnWork, jint operation, jint order, jstring keyString) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord() argument
394 keyString == NULL ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
401 if( ( *env )->GetStringLength( env, keyString ) > NJ_MAX_LEN ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
408 if( convertStringToNjChar( env, work->keyString, keyString, NJ_MAX_LEN ) >= 0 ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
416 work->cursor.cond.yomi = work->keyString; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
1252 NJ_CHAR keyString[ NJ_MAX_LEN + NJ_TERM_LEN ]; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createBindArray() local
1254 if( convertStringToNjChar( env, keyString, keyStringJ, NJ_MAX_LEN ) >= 0 ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createBindArray()
1261 …for( queryLen = 0 ; queryLen < maxBindsOfQuery && keyString[ queryLen ] != NJ_CHAR_NUL ; queryLen+… in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createBindArray()
1265 … if( i == -1 || keyString[ queryLen ] == work->approxSet.from[ i ][ 0 ] ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createBindArray()
1269 … if( *( ( NJ_UINT8* )( &keyString[ queryLen ] ) + 0 ) == 0x00 && in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createBindArray()
[all …]
DOpenWnnJni.h66 NJ_CHAR keyString[ NJ_MAX_LEN + NJ_TERM_LEN ]; member
/packages/inputmethods/LatinIME/native/jni/src/utils/
Djni_data_utils.h49 jstring keyString = static_cast<jstring>( in constructAttributeMap() local
51 const jsize keyUtf8Length = env->GetStringUTFLength(keyString); in constructAttributeMap()
53 env->GetStringUTFRegion(keyString, 0, env->GetStringLength(keyString), keyChars); in constructAttributeMap()
54 env->DeleteLocalRef(keyString); in constructAttributeMap()