HomeSort by relevance Sort by last modified time
    Searched refs:dstLen (Results 1 - 11 of 11) sorted by null

  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
InputPointersTests.java 129 final int dstLen = 50;
131 for (int i = 0; i < dstLen; i++) {
139 assertEquals("size after append zero", dstLen, dst.getPointerSize());
141 dstCopy.getXCoordinates(), 0, dst.getXCoordinates(), 0, dstLen);
143 dstCopy.getYCoordinates(), 0, dst.getYCoordinates(), 0, dstLen);
145 dstCopy.getPointerIds(), 0, dst.getPointerIds(), 0, dstLen);
147 dstCopy.getTimes(), 0, dst.getTimes(), 0, dstLen);
150 assertEquals("size after append", dstLen + srcLen, dst.getPointerSize());
152 dst.getPointerIds().length >= dstLen + srcLen);
154 dstCopy.getXCoordinates(), 0, dst.getXCoordinates(), 0, dstLen);
    [all...]
  /external/chromium_org/third_party/icu/source/test/perf/normperf/
normperf.h 28 typedef int32_t (*NormFn)(const UChar* src,int32_t srcLen, UChar* dest,int32_t dstLen, int32_t options, UErrorCode* status);
257 int32_t ICUNormNFD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) {
258 return unorm_normalize(src,srcLen,UNORM_NFD, options,dest,dstLen,status);
261 int32_t ICUNormNFC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) {
262 return unorm_normalize(src,srcLen,UNORM_NFC, options,dest,dstLen,status);
265 int32_t ICUNormNFKD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) {
266 return unorm_normalize(src,srcLen,UNORM_NFKD, options,dest,dstLen,status);
268 int32_t ICUNormNFKC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) {
269 return unorm_normalize(src,srcLen,UNORM_NFKC, options,dest,dstLen,status);
272 int32_t ICUNormFCD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status)
    [all...]
  /external/icu4c/test/perf/normperf/
normperf.h 28 typedef int32_t (*NormFn)(const UChar* src,int32_t srcLen, UChar* dest,int32_t dstLen, int32_t options, UErrorCode* status);
257 int32_t ICUNormNFD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) {
258 return unorm_normalize(src,srcLen,UNORM_NFD, options,dest,dstLen,status);
261 int32_t ICUNormNFC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) {
262 return unorm_normalize(src,srcLen,UNORM_NFC, options,dest,dstLen,status);
265 int32_t ICUNormNFKD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) {
266 return unorm_normalize(src,srcLen,UNORM_NFKD, options,dest,dstLen,status);
268 int32_t ICUNormNFKC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) {
269 return unorm_normalize(src,srcLen,UNORM_NFKC, options,dest,dstLen,status);
272 int32_t ICUNormFCD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status)
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
ResizableIntArrayTests.java 214 final int dstLen = DEFAULT_CAPACITY / 2;
215 for (int i = 0; i < dstLen; i++) {
223 assertEquals("length after append zero", dstLen, dst.getLength());
226 dstCopy.getPrimitiveArray(), 0, dst.getPrimitiveArray(), 0, dstLen);
229 assertEquals("length after append", dstLen + srcLen, dst.getLength());
232 dst.getPrimitiveArray().length >= dstLen + srcLen);
234 dstCopy.getPrimitiveArray(), 0, dst.getPrimitiveArray(), 0, dstLen);
236 src.getPrimitiveArray(), 0, dst.getPrimitiveArray(), dstLen, srcLen);
239 assertEquals("length after 2nd append", dstLen + srcLen * 2, dst.getLength());
242 dst.getPrimitiveArray().length >= dstLen + srcLen * 2)
    [all...]
  /external/chromium_org/third_party/icu/source/test/perf/convperf/
convperf.h 155 UINT dstLen;
162 dstLen = LENGTHOF(dest);
193 int winSize =MultiByteToWideChar(uiCodePage,CONVERSION_FLAGS,src,srcLen,dest,dstLen);
207 UINT dstLen;
216 dstLen = LENGTHOF(dest);
248 int winSize = WideCharToMultiByte(uiCodePage,CONVERSION_FLAGS,src,srcLen,dest,dstLen,NULL, pUsedDefaultChar);
276 UINT dstLen;
311 dstLen = LENGTHOF(dst);
316 HRESULT err= pConvToUni->DoConversionToUnicode(src,&srcLen,dst, &dstLen);
332 UINT dstLen;
    [all...]
  /external/icu4c/test/perf/convperf/
convperf.h 155 UINT dstLen;
162 dstLen = LENGTHOF(dest);
193 int winSize =MultiByteToWideChar(uiCodePage,CONVERSION_FLAGS,src,srcLen,dest,dstLen);
207 UINT dstLen;
216 dstLen = LENGTHOF(dest);
248 int winSize = WideCharToMultiByte(uiCodePage,CONVERSION_FLAGS,src,srcLen,dest,dstLen,NULL, pUsedDefaultChar);
276 UINT dstLen;
311 dstLen = LENGTHOF(dst);
316 HRESULT err= pConvToUni->DoConversionToUnicode(src,&srcLen,dst, &dstLen);
332 UINT dstLen;
    [all...]
  /build/libs/host/
CopyFile.c 484 int srcLen, dstLen, nameLen;
498 dstLen = strlen(dst);
505 dstFile = malloc(dstLen +1 + nameLen +1);
506 memcpy(dstFile, dst, dstLen);
507 dstFile[dstLen] = FSSEP;
508 memcpy(dstFile + dstLen+1, ent->d_name, nameLen +1);
  /system/core/include/utils/
Unicode.h 169 * the returned pointer will be to the character after dstLen.
171 char16_t* utf8_to_utf16_n(const uint8_t* src, size_t srcLen, char16_t* dst, size_t dstLen);
  /system/core/libutils/
Unicode.cpp 576 char16_t* utf8_to_utf16_n(const uint8_t* src, size_t srcLen, char16_t* dst, size_t dstLen) {
579 const uint16_t* const u16end = dst + dstLen;
  /external/chromium_org/third_party/icu/source/test/cintltst/
nucnvtst.c     [all...]
  /external/icu4c/test/cintltst/
nucnvtst.c     [all...]

Completed in 313 milliseconds