/bionic/libc/upstream-netbsd/libc/string/ |
strxfrm.c | 55 size_t srclen, copysize; local 62 srclen = strlen(src); 65 copysize = srclen < n ? srclen : n - 1; 69 return (srclen);
|
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
SDL_BWin.h | 235 int32 state, srclen, dstlen; local 241 srclen = SDL_strlen(buf); 243 convert_from_utf8(B_UNICODE_CONVERSION, buf, &srclen, (char *)destbuf, &dstlen, &state);
|
/external/qemu/distrib/sdl-1.2.15/src/stdlib/ |
SDL_iconv.c | 214 size_t srclen, dstlen; local 226 srclen = (inbytesleft ? *inbytesleft : 0); 235 size_t n = srclen / 2; 257 size_t n = srclen / 4; 303 while ( srclen > 0 ) { 311 --srclen; 319 --srclen; 403 --srclen; 404 if ( srclen < left ) { 419 --srclen; [all...] |
SDL_string.c | 331 size_t srclen = SDL_strlen(src); local 333 size_t len = SDL_min(srclen, maxlen-1); 337 return srclen; 345 size_t srclen = SDL_strlen(src); local 349 return dstlen+srclen; [all...] |
/frameworks/native/cmds/installd/ |
commands.c | 547 int srclen; local 550 srclen = strlen(src); 557 if (srclen > PKG_PATH_MAX) { // XXX: PKG_NAME_MAX? 561 dstlen = srclen + strlen(DALVIK_CACHE_PREFIX) + [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_interceptors.cc | 554 uptr srclen = internal_strlen(src); local 555 MemoryAccessRange(thr, pc, (uptr)dst, srclen + 1, true); 556 MemoryAccessRange(thr, pc, (uptr)src, srclen + 1, false); 562 uptr srclen = internal_strnlen(src, n); local 564 MemoryAccessRange(thr, pc, (uptr)src, min(srclen + 1, n), false); [all...] |
/frameworks/base/core/java/android/text/ |
SpannableStringBuilder.java | 52 int srclen = end - start; local 54 if (srclen < 0) throw new StringIndexOutOfBoundsException(); 56 int len = ArrayUtils.idealCharArraySize(srclen + 1); 58 mGapStart = srclen; 59 mGapLength = len - srclen; [all...] |
/external/icu4c/test/cintltst/ |
citertst.c | 368 int32_t srclen; local 380 srclen = u_unescape(testdata[0], source, 10); 381 iter = ucol_openElements(coll, source, srclen, &status); 385 srclen = u_unescape(testdata[1], source, 10); 386 iter = ucol_openElements(coll, source, srclen, &status); 391 srclen = u_unescape(testdata[count], source, 10); 392 iter = ucol_openElements(coll, source, srclen, &status); [all...] |
/external/libmtp/src/ |
ptp-pack.c | 109 size_t nconv, srclen, destlen; local 124 srclen = length * sizeof(string[0]); 129 nconv = iconv(params->cd_ucs2_to_locale, &src, &srclen, [all...] |
/external/mdnsresponder/mDNSShared/ |
dnsextd.c | 424 unsigned int srclen; local 462 srclen = sizeof(pkt->src); 464 if ( getpeername( fd, ( struct sockaddr* ) &pkt->src, &srclen ) || ( srclen != sizeof( pkt->src ) ) ) [all...] |
/external/ping6/ |
ping6.c | 228 socklen_t srclen; variable 554 srclen = res->ai_addrlen; 670 bind(s, (struct sockaddr *)&src, srclen) != 0) { [all...] |
/external/doclava/src/com/google/doclava/ |
Doclava.java | 1242 int srclen = src.length; local [all...] |