Searched refs:dst (Results 1 - 18 of 18) sorted by relevance

/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
H A Dnj_str.c21 NJ_CHAR *nj_strcpy(NJ_CHAR *dst, NJ_CHAR *src) { argument
23 NJ_CHAR *ret = dst;
27 *dst++ = *src++;
29 *dst = *src;
33 NJ_CHAR *nj_strncpy(NJ_CHAR *dst, NJ_CHAR *src, NJ_UINT16 n) { argument
35 NJ_CHAR *d = dst;
50 return dst;
122 NJ_CHAR *nj_charncpy(NJ_CHAR *dst, NJ_CHAR *src, NJ_UINT16 n) { argument
124 NJ_CHAR *d = dst;
132 return dst;
143 nj_memcpy(NJ_UINT8 *dst, NJ_UINT8 *src, NJ_UINT16 n) argument
[all...]
H A Dndldic.c100 #define COPY_QUE(handle, src, dst) \
101 nj_memcpy(POS_TO_ADDRESS((handle), (dst)), POS_TO_ADDRESS((handle), (src)), QUE_SIZE(handle))
148 #define COPY_UINT16(dst,src) (*(NJ_UINT16 *)(dst) = *(NJ_UINT16 *)(src))
682 NJ_UINT8 *src, *dst; local
722 dst = (NJ_UINT8*)&(iwnn->learn_string_tmp[0]);
728 *dst++ = *src++;
758 *dst++ = *src++;
768 NJ_UINT8 *src, *dst; local
824 dst
[all...]
/packages/inputmethods/PinyinIME/jni/share/
H A Dutf16char.cpp123 char16* utf16_strcpy(char16 *dst, const char16 *src) { argument
124 if (NULL == src || NULL == dst)
127 char16* cp = dst;
137 return dst;
140 char16* utf16_strncpy(char16 *dst, const char16 *src, size_t size) { argument
141 if (NULL == src || NULL == dst || 0 == size)
144 if (src == dst)
145 return dst;
147 char16* cp = dst;
149 if (dst < sr
163 utf16_strcpy_tochar(char *dst, const char16 *src) argument
[all...]
H A Duserdict.cpp1591 size_t dst = 0;
1595 while (dst < real_size) {
1596 unsigned char flag = get_lemma_flag(dst);
1597 unsigned char nchr = get_lemma_nchar(dst);
1599 dst += nchr * 4 + 2;
1604 if (dst >= real_size)
1607 end = dst;
1630 memmove(lemmas_ + dst, lemmas_ + begin, end - begin);
1633 offsets_[j] -= (begin - dst);
1638 predicts_[j] -= (begin - dst);
[all...]
/packages/inputmethods/PinyinIME/jni/include/
H A Dutf16char.h45 char16* utf16_strcpy(char16 *dst, const char16 *src);
46 char16* utf16_strncpy(char16 *dst, const char16 *src, size_t size);
49 char* utf16_strcpy_tochar(char *dst, const char16 *src);
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
H A Dnj_ext.h41 #define NJ_CHAR_COPY(dst, src) \
43 ((NJ_UINT8*)(dst))[0] = ((NJ_UINT8*)(src))[0]; \
44 ((NJ_UINT8*)(dst))[1] = ((NJ_UINT8*)(src))[1]; \
145 extern NJ_CHAR *nj_strcpy(NJ_CHAR *dst, NJ_CHAR *src);
146 extern NJ_CHAR *nj_strncpy(NJ_CHAR *dst, NJ_CHAR *src, NJ_UINT16 n);
152 extern NJ_CHAR *nj_charncpy(NJ_CHAR *dst, NJ_CHAR *src, NJ_UINT16 n);
153 extern NJ_UINT8 *nj_memcpy(NJ_UINT8 *dst, NJ_UINT8 *src, NJ_UINT16 n);
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
H A DOpenWnnDictionaryImplJni.c48 NJ_UINT8* dst; local
51 dst = ( NJ_UINT8* )&ret;
52 dst[ 0 ] = src[ 0 ];
53 dst[ 1 ] = src[ 1 ];
58 static int convertStringToNjChar( JNIEnv *env, NJ_CHAR* dst, jstring srcJ, int maxChars ) argument
69 dst_tmp = ( NJ_UINT8* )&( dst[ o ] );
127 dst[ o ] = NJ_CHAR_NUL;
138 char dst[ (NJ_MAX_LEN + NJ_MAX_RESULT_LEN + NJ_TERM_LEN ) * 3 + 1 ]; local
150 dst[ o + 0 ] = src_tmp[ 1 ] & 0x007f;
156 dst[
1357 char *dst = ( char* )malloc( maxBindsOfQuery * ( ( 1 + keyLength + 18 + 1 + 5 ) + local
[all...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DWnnDictionary.java161 * The pattern rule is defined as replacing a character({@code src}) to characters({@code dst}).
163 * The length of {@code src} must be 1 and the length of {@code dst} must be lower than 4.<br>
167 * @param dst Characters replace to
170 public int setApproxPattern( String src, String dst );
H A DOpenWnnDictionaryImplJni.java300 * @param dst The string (after)
303 public static final native int setApproxPattern( long work, String src, String dst );
H A DOpenWnnDictionaryImpl.java754 public int setApproxPattern( String src, String dst ) {
756 return OpenWnnDictionaryImplJni.setApproxPattern( this.mWnnWork, src, dst );
/packages/apps/Music/tests/src/com/android/music/functional/
H A DTestSongs.java86 private void copy(File src, File dst) throws IOException { argument
88 OutputStream out = new FileOutputStream(dst);
/packages/apps/Gallery3D/src/com/cooliris/media/
H A DUtil.java85 Rect dst = new Rect(dstX, dstY, targetWidth - dstX, targetHeight - dstY);
86 c.drawBitmap(source, src, dst, null);
H A DUtils.java237 // Copies src file to dst file.
238 // If the dst file does not exist, it is created
239 public static void Copy(File src, File dst) throws IOException { argument
241 OutputStream out = new FileOutputStream(dst);
/packages/apps/Gallery/src/com/android/camera/
H A DUtil.java178 Rect dst = new Rect(
183 c.drawBitmap(source, src, dst, null);
H A DViewImage.java743 ImageViewTouchBase dst = mImageView;
/packages/apps/Phone/src/com/android/phone/
H A DPhoneUtils.java2174 * @param dst Intent where a copy of the extras will be added if applicable.
2176 /* package */ static void checkAndCopyPhoneProviderExtras(Intent src, Intent dst) { argument
2182 dst.putExtra(InCallScreen.EXTRA_GATEWAY_PROVIDER_PACKAGE,
2184 dst.putExtra(InCallScreen.EXTRA_GATEWAY_URI,
/packages/apps/Contacts/src/com/android/contacts/
H A DContactsListActivity.java1994 Rect dst = new Rect(0,0, mIconSize, mIconSize);
1995 canvas.drawBitmap(photo, src, dst, photoPaint);
2035 dst.set(iconWidth - ((int) (20 * scaleDensity)), -1,
2037 canvas.drawBitmap(phoneIcon, src, dst, photoPaint);
2054 Rect dst = new Rect(0,0, mIconSize, mIconSize);
2055 canvas.drawBitmap(photo, src, dst, photoPaint);
/packages/apps/Email/src/com/android/exchange/utility/
H A DCalendarUtilities.java766 // of dst. That's the best we can do for now, since there's no other info
889 * @param dst whether we're entering daylight time
891 static String transitionMillisToVCalendarTime(long millis, TimeZone tz, boolean dst) { argument

Completed in 143 milliseconds