HomeSort by relevance Sort by last modified time
    Searched full:dstlen (Results 1 - 25 of 42) sorted by null

1 2

  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
InputPointersTests.java 127 final int dstLen = 50;
129 for (int i = 0; i < dstLen; i++) {
137 assertEquals("size after append zero", dstLen, dst.getPointerSize());
139 dstCopy.getXCoordinates(), 0, dst.getXCoordinates(), 0, dstLen);
141 dstCopy.getYCoordinates(), 0, dst.getYCoordinates(), 0, dstLen);
143 dstCopy.getPointerIds(), 0, dst.getPointerIds(), 0, dstLen);
145 dstCopy.getTimes(), 0, dst.getTimes(), 0, dstLen);
148 assertEquals("size after append", dstLen + srcLen, dst.getPointerSize());
150 dst.getPointerIds().length >= dstLen + srcLen);
152 dstCopy.getXCoordinates(), 0, dst.getXCoordinates(), 0, dstLen);
    [all...]
ResizableIntArrayTests.java 212 final int dstLen = DEFAULT_CAPACITY / 2;
213 for (int i = 0; i < dstLen; i++) {
221 assertEquals("length after append zero", dstLen, dst.getLength());
224 dstCopy.getPrimitiveArray(), 0, dst.getPrimitiveArray(), 0, dstLen);
227 assertEquals("length after append", dstLen + srcLen, dst.getLength());
230 dst.getPrimitiveArray().length >= dstLen + srcLen);
232 dstCopy.getPrimitiveArray(), 0, dst.getPrimitiveArray(), 0, dstLen);
234 src.getPrimitiveArray(), 0, dst.getPrimitiveArray(), dstLen, srcLen);
237 assertEquals("length after 2nd append", dstLen + srcLen * 2, dst.getLength());
240 dst.getPrimitiveArray().length >= dstLen + srcLen * 2)
    [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...]
  /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...]
  /external/qemu/distrib/sdl-1.2.15/src/stdlib/
SDL_iconv.c 214 size_t srclen, dstlen; local
228 dstlen = *outbytesleft;
282 if ( dstlen < 2 ) {
287 dstlen -= 2;
292 if ( dstlen < 4 ) {
297 dstlen -= 4;
576 if ( dstlen < 1 ) {
585 --dstlen;
591 if ( dstlen < 1 ) {
600 --dstlen;
    [all...]
SDL_string.c 344 size_t dstlen = SDL_strlen(dst); local
346 if ( dstlen < maxlen ) {
347 SDL_strlcpy(dst+dstlen, src, maxlen-dstlen);
349 return dstlen+srclen;
    [all...]
  /bionic/libc/netbsd/nameser/
ns_ttl.c 55 ns_format_ttl(u_long src, char *dst, size_t dstlen) {
68 T(fmt1(weeks, 'W', &dst, &dstlen));
72 T(fmt1(days, 'D', &dst, &dstlen));
76 T(fmt1(hours, 'H', &dst, &dstlen));
80 T(fmt1(mins, 'M', &dst, &dstlen));
84 T(fmt1(secs, 'S', &dst, &dstlen));
  /external/llvm/test/Transforms/InstCombine/
memcpy_chk-1.ll 2 ; for dstlen and len.
16 ; Check cases where dstlen >= len.
38 ; Check cases where dstlen < len.
memmove_chk-1.ll 2 ; for dstlen and len.
16 ; Check cases where dstlen >= len.
38 ; Check cases where dstlen < len.
memset_chk-1.ll 2 ; for dstlen and len.
12 ; Check cases where dstlen >= len.
41 ; Check cases where dstlen < len.
strncpy_chk-1.ll 2 ; for len and dstlen.
12 ; Check cases where dstlen >= len
44 ; Check cases where dstlen < len
  /external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
SDL_BWin.h 235 int32 state, srclen, dstlen; local
242 dstlen = sizeof(destbuf);
243 convert_from_utf8(B_UNICODE_CONVERSION, buf, &srclen, (char *)destbuf, &dstlen, &state);
  /system/core/run-as/
package.c 47 /* Copy 'srclen' string bytes from 'src' into buffer 'dst' of size 'dstlen'
49 * 'dstlen' is 0, even in case of overflow.
51 * has stopped. The copy will stop when dstlen, srclen or a null
55 string_copy(char* dst, size_t dstlen, const char* src, size_t srclen)
58 const char* dstend = dst + dstlen;
60 if (dstlen == 0)
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
cramfs_fs.h 89 int cramfs_uncompress_block(void *dst, int dstlen, void *src, int srclen);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/
cramfs_fs.h 89 int cramfs_uncompress_block(void *dst, int dstlen, void *src, int srclen);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/
cramfs_fs.h 89 int cramfs_uncompress_block(void *dst, int dstlen, void *src, int srclen);
  /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);
  /external/tagsoup/src/org/ccil/cowan/tagsoup/
Parser.java 559 int dstlen = 0; local
562 dst[dstlen++] = ch;
563 // System.err.print("i = " + i + ", d = " + dstlen + ", ch = [" + ch + "] ");
566 refStart = dstlen;
581 // System.err.print("got [" + new String(dst, refStart, dstlen-refStart-1) + "]");
582 int ent = lookupEntity(dst, refStart, dstlen - refStart - 1);
588 dstlen = refStart + 1;
592 dstlen = refStart;
602 return new String(dst, 0, dstlen);
    [all...]
  /external/qemu/proxy/
proxy_common.c 463 char* dst, int dstlen )
469 while (src+3 <= srcend && result+4 <= dstlen)
482 if (result+4 > dstlen)
proxy_int.h 172 char* dst, int dstlen );
  /bionic/libc/tzcode/
localtime.c 967 size_t dstlen; local
1012 dstlen = name - dstname;
1017 dstlen = name - dstname; /* length of DST zone name */
    [all...]
  /external/icu4c/tools/tzcode/
localtime.c 916 size_t dstlen; local
960 dstlen = name - dstname;
965 dstlen = name - dstname; /* length of DST zone name */
1119 dstlen = 0;
1127 if (dstlen != 0)
1128 sp->charcnt += dstlen + 1;
1135 if (dstlen != 0) {
1136 (void) strncpy(cp, dstname, dstlen);
1137 *(cp + dstlen) = '\0';
    [all...]
  /external/qemu/
loader.c 403 static ssize_t gunzip(void *dst, size_t dstlen, uint8_t *src,
443 s.avail_out = dstlen;
  /prebuilts/sdk/tools/linux/
acp 
  /external/valgrind/main/memcheck/
mc_replace_strmem.c 103 /* Figure out if [dst .. dst+dstlen-1] overlaps with
111 Bool is_overlap ( void* dst, const void* src, SizeT dstlen, SizeT srclen )
115 if (dstlen == 0 || srclen == 0)
121 hiD = loD + dstlen - 1;
    [all...]

Completed in 2342 milliseconds

1 2