/external/chromium/third_party/libjingle/source/talk/base/ |
D | stringencode.cc | 64 const char * source, size_t srclen, in escape() argument 71 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { in escape() 86 const char * source, size_t srclen, in unescape() argument 93 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { in unescape() 95 if ((ch == escape) && (srcpos < srclen)) { in unescape() 105 const char * source, size_t srclen, in encode() argument 112 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { in encode() 130 const char * source, size_t srclen, in decode() argument 137 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { in decode() 140 && (srcpos + 1 < srclen) in decode() [all …]
|
D | stringencode.h | 51 size_t utf8_decode(const char* source, size_t srclen, unsigned long* value); 56 const char * source, size_t srclen, 60 const char * source, size_t srclen, 68 const char * source, size_t srclen, 72 const char * source, size_t srclen, 82 const char * source, size_t srclen); 85 const char * source, size_t srclen); 89 const char * source, size_t srclen); 92 const char * source, size_t srclen); 96 const char * source, size_t srclen); [all …]
|
D | stringutils.cc | 88 const char* source, size_t srclen) { in asccpyn() argument 92 if (srclen == SIZE_UNKNOWN) { in asccpyn() 93 srclen = strlenn(source, buflen - 1); in asccpyn() 94 } else if (srclen >= buflen) { in asccpyn() 95 srclen = buflen - 1; in asccpyn() 99 for (size_t pos = 0; pos < srclen; ++pos) in asccpyn() 102 std::copy(source, source + srclen, buffer); in asccpyn() 103 buffer[srclen] = 0; in asccpyn() 104 return srclen; in asccpyn()
|
D | stringutils.h | 202 const CTYPE* source, size_t srclen = SIZE_UNKNOWN) { 206 if (srclen == SIZE_UNKNOWN) { 207 srclen = strlenn(source, buflen - 1); 208 } else if (srclen >= buflen) { 209 srclen = buflen - 1; 211 memcpy(buffer, source, srclen * sizeof(CTYPE)); 212 buffer[srclen] = 0; 213 return srclen; 218 const CTYPE* source, size_t srclen = SIZE_UNKNOWN) { 223 return bufpos + strcpyn(buffer + bufpos, buflen - bufpos, source, srclen); [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/stdlib/ |
D | SDL_iconv.c | 214 size_t srclen, dstlen; in SDL_iconv() local 226 srclen = (inbytesleft ? *inbytesleft : 0); in SDL_iconv() 235 size_t n = srclen / 2; in SDL_iconv() 257 size_t n = srclen / 4; in SDL_iconv() 303 while ( srclen > 0 ) { in SDL_iconv() 311 --srclen; in SDL_iconv() 319 --srclen; in SDL_iconv() 403 --srclen; in SDL_iconv() 404 if ( srclen < left ) { in SDL_iconv() 419 --srclen; in SDL_iconv() [all …]
|
D | SDL_string.c | 331 size_t srclen = SDL_strlen(src); in SDL_strlcpy() local 333 size_t len = SDL_min(srclen, maxlen-1); in SDL_strlcpy() 337 return srclen; in SDL_strlcpy() 345 size_t srclen = SDL_strlen(src); in SDL_strlcat() local 349 return dstlen+srclen; in SDL_strlcat()
|
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
D | SDL_BWin.h | 235 int32 state, srclen, dstlen; in Translate2Unicode() local 241 srclen = SDL_strlen(buf); in Translate2Unicode() 243 convert_from_utf8(B_UNICODE_CONVERSION, buf, &srclen, (char *)destbuf, &dstlen, &state); in Translate2Unicode()
|
/external/qemu/telephony/ |
D | sms.h | 51 extern int sms_address_from_str( SmsAddress address, const char* src, int srclen ); 52 extern int sms_address_to_str( SmsAddress address, char* src, int srclen );
|
D | gsm.h | 43 extern void gsm_hex_from_bytes( char* hex, cbytes_t src, int srclen );
|
D | gsm.c | 210 gsm_hex_from_bytes( char* hex, cbytes_t src, int srclen ) in gsm_hex_from_bytes() argument 214 for (nn = 0; nn < srclen; nn++) { in gsm_hex_from_bytes()
|
D | sms.c | 285 sms_address_from_str( SmsAddress address, const char* src, int srclen ) in sms_address_from_str() argument 287 const char* end = src + srclen; in sms_address_from_str()
|
/external/bison/lib/ |
D | wchar.in.h | 310 (wchar_t *dest, const char **srcp, size_t srclen, size_t len, 314 (wchar_t *dest, const char **srcp, size_t srclen, size_t len, 319 (wchar_t *dest, const char **srcp, size_t srclen, size_t len, 324 (wchar_t *dest, const char **srcp, size_t srclen, size_t len, 403 (char *dest, const wchar_t **srcp, size_t srclen, size_t len, 407 (char *dest, const wchar_t **srcp, size_t srclen, size_t len, 412 (char *dest, const wchar_t **srcp, size_t srclen, size_t len, 417 (char *dest, const wchar_t **srcp, size_t srclen, size_t len,
|
/external/bison/linux-lib/ |
D | wchar.h | 622 (wchar_t *dest, const char **srcp, size_t srclen, size_t len, 626 (wchar_t *dest, const char **srcp, size_t srclen, size_t len, 631 (wchar_t *dest, const char **srcp, size_t srclen, size_t len, 636 (wchar_t *dest, const char **srcp, size_t srclen, size_t len, 715 (char *dest, const wchar_t **srcp, size_t srclen, size_t len, 719 (char *dest, const wchar_t **srcp, size_t srclen, size_t len, 724 (char *dest, const wchar_t **srcp, size_t srclen, size_t len, 729 (char *dest, const wchar_t **srcp, size_t srclen, size_t len,
|
/external/bison/darwin-lib/ |
D | wchar.h | 622 (wchar_t *dest, const char **srcp, size_t srclen, size_t len, 626 (wchar_t *dest, const char **srcp, size_t srclen, size_t len, 631 (wchar_t *dest, const char **srcp, size_t srclen, size_t len, 636 (wchar_t *dest, const char **srcp, size_t srclen, size_t len, 715 (char *dest, const wchar_t **srcp, size_t srclen, size_t len, 719 (char *dest, const wchar_t **srcp, size_t srclen, size_t len, 724 (char *dest, const wchar_t **srcp, size_t srclen, size_t len, 729 (char *dest, const wchar_t **srcp, size_t srclen, size_t len,
|
/external/qemu/ |
D | loader.c | 404 size_t srclen) in gunzip() argument 427 if (i >= srclen) { in gunzip() 441 s.avail_in = srclen - i; in gunzip()
|
/external/qemu/proxy/ |
D | proxy_int.h | 171 proxy_base64_encode( const char* src, int srclen,
|
D | proxy_common.c | 462 proxy_base64_encode( const char* src, int srclen, in proxy_base64_encode() argument 466 const char* srcend = src + srclen; in proxy_base64_encode()
|
/external/icu4c/test/cintltst/ |
D | citertst.c | 368 int32_t srclen; in TestNormalization() local 380 srclen = u_unescape(testdata[0], source, 10); in TestNormalization() 381 iter = ucol_openElements(coll, source, srclen, &status); in TestNormalization() 385 srclen = u_unescape(testdata[1], source, 10); in TestNormalization() 386 iter = ucol_openElements(coll, source, srclen, &status); in TestNormalization() 391 srclen = u_unescape(testdata[count], source, 10); in TestNormalization() 392 iter = ucol_openElements(coll, source, srclen, &status); in TestNormalization()
|
/external/llvm/test/CodeGen/X86/ |
D | 2008-07-07-DanglingDeadInsts.ll | 96 …l, i32* %offset, float* %dest, i32 %dststep, float* %source, i32 %srcstep, i32 %srclen) nounwind {
|
/external/valgrind/main/memcheck/ |
D | mc_replace_strmem.c | 111 Bool is_overlap ( void* dst, const void* src, SizeT dstlen, SizeT srclen ) in is_overlap() argument 115 if (dstlen == 0 || srclen == 0) in is_overlap() 120 hiS = loS + srclen - 1; in is_overlap()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interceptors.cc | 554 uptr srclen = internal_strlen(src); in TSAN_INTERCEPTOR() local 555 MemoryAccessRange(thr, pc, (uptr)dst, srclen + 1, true); in TSAN_INTERCEPTOR() 556 MemoryAccessRange(thr, pc, (uptr)src, srclen + 1, false); in TSAN_INTERCEPTOR() 562 uptr srclen = internal_strnlen(src, n); in TSAN_INTERCEPTOR() local 564 MemoryAccessRange(thr, pc, (uptr)src, min(srclen + 1, n), false); in TSAN_INTERCEPTOR()
|
/external/doclava/src/com/google/doclava/ |
D | Doclava.java | 1242 int srclen = src.length; in linkTarget() local 1246 while (same < (srclen - 1) && same < (tgtlen - 1) && (src[same].equals(tgt[same]))) { in linkTarget() 1252 int up = srclen - same - 1; in linkTarget()
|
/external/ping6/ |
D | ping6.c | 228 socklen_t srclen; variable 554 srclen = res->ai_addrlen; in main() 670 bind(s, (struct sockaddr *)&src, srclen) != 0) { in main()
|
/external/libmtp/src/ |
D | ptp-pack.c | 109 size_t nconv, srclen, destlen; in ptp_unpack_string() local 124 srclen = length * sizeof(string[0]); in ptp_unpack_string() 129 nconv = iconv(params->cd_ucs2_to_locale, &src, &srclen, in ptp_unpack_string()
|
/external/mdnsresponder/mDNSShared/ |
D | dnsextd.c | 424 unsigned int srclen; in RecvPacket() local 462 srclen = sizeof(pkt->src); in RecvPacket() 464 …if ( getpeername( fd, ( struct sockaddr* ) &pkt->src, &srclen ) || ( srclen != sizeof( pkt->src ) … in RecvPacket()
|