Lines Matching refs:dst

48     NJ_UINT8*   dst;  in convertUTFCharToNjChar()  local
51 dst = ( NJ_UINT8* )&ret; in convertUTFCharToNjChar()
52 dst[ 0 ] = src[ 0 ]; in convertUTFCharToNjChar()
53 dst[ 1 ] = src[ 1 ]; in convertUTFCharToNjChar()
58 static int convertStringToNjChar( JNIEnv *env, NJ_CHAR* dst, jstring srcJ, int maxChars ) in convertStringToNjChar() argument
69 dst_tmp = ( NJ_UINT8* )&( dst[ o ] ); in convertStringToNjChar()
127 dst[ o ] = NJ_CHAR_NUL; in convertStringToNjChar()
138 char dst[ (NJ_MAX_LEN + NJ_MAX_RESULT_LEN + NJ_TERM_LEN ) * 3 + 1 ]; in convertNjCharToString() local
150 dst[ o + 0 ] = src_tmp[ 1 ] & 0x007f; in convertNjCharToString()
156dst[ o + 0 ] = 0xc0 | ( ( src_tmp[ 0 ] & 0x07 ) << 2 ) | ( ( src_tmp[ 1 ] & 0xc0 ) >> 6 ); in convertNjCharToString()
157 dst[ o + 1 ] = 0x80 | ( ( src_tmp[ 1 ] & 0x3f ) ); in convertNjCharToString()
176 dst[ o + 0 ] = 0xf0 | ( ( src1 & 0x1c ) >> 2 ); in convertNjCharToString()
177 dst[ o + 1 ] = 0x80 | ( ( src1 & 0x03 ) << 4 ) | ( ( src2 & 0xf0 ) >> 4 ); in convertNjCharToString()
178dst[ o + 2 ] = 0x80 | ( ( src2 & 0x0f ) << 2 ) | ( ( src3 & 0xc0 ) >> 6… in convertNjCharToString()
179dst[ o + 3 ] = 0x80 | ( src3 & 0x3f ); in convertNjCharToString()
185 dst[ o + 0 ] = 0xe0 | ( ( src_tmp[ 0 ] & 0xf0 ) >> 4 ); in convertNjCharToString()
186dst[ o + 1 ] = 0x80 | ( ( src_tmp[ 0 ] & 0x0f ) << 2 ) | ( ( src_tmp[ 1 ] & 0xc0 ) >> 6 ); in convertNjCharToString()
187 dst[ o + 2 ] = 0x80 | ( ( src_tmp[ 1 ] & 0x3f ) ); in convertNjCharToString()
192 dst[ o ] = 0x00; in convertNjCharToString()
194 *dstJ = ( *env )->NewStringUTF( env, dst ); in convertNjCharToString()
1357 char *dst = ( char* )malloc( maxBindsOfQuery * ( ( 1 + keyLength + 18 + 1 + 5 ) + in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createQueryStringBase() local
1360 if( dst != NULL ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createQueryStringBase()
1366 strcpy( &dst[ dstPtr ], "(" ); in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createQueryStringBase()
1367 strcpy( &dst[ dstPtr + 1 ], ( char* )keyName ); 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()
1372 strcpy( &dst[ dstPtr ], " or " ); in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createQueryStringBase()
1373 strcpy( &dst[ dstPtr + 4 ], ( char* )keyName ); 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()
1377 strcpy( &dst[ dstPtr ], ")" ); in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createQueryStringBase()
1381 strcpy( &dst[ dstPtr ], " and " ); in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createQueryStringBase()
1386 dst[ dstPtr ] = '\0'; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createQueryStringBase()
1387 retJ = ( *env )->NewStringUTF( env, dst ); in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createQueryStringBase()
1389 free( dst ); in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createQueryStringBase()