Home
last modified time | relevance | path

Searched refs:srclen (Results 1 – 17 of 17) sorted by relevance

/external/libvncserver/client_examples/
Dscrap.c82 static int convert_data(int type, char *dst, const char *src, int srclen) in convert_data() argument
90 while (--srclen >= 0) { in convert_data()
116 while (--srclen >= 0) { in convert_data()
138 *(int *)dst = srclen; in convert_data()
140 memcpy(dst, src, srclen); in convert_data()
142 dstlen = sizeof(int)+srclen; in convert_data()
149 static int convert_scrap(int type, char *dst, char *src, int srclen) in convert_scrap() argument
157 if (srclen == 0) in convert_scrap()
158 srclen = strlen(src); in convert_scrap()
160 while (--srclen >= 0) { in convert_scrap()
[all …]
Dscrap.h12 extern void put_scrap(int type, int srclen, const char *src);
/external/libnl/lib/
Dattr.c722 size_t srclen = nla_len(nla); in nla_strlcpy() local
725 if (srclen > 0 && src[srclen - 1] == '\0') in nla_strlcpy()
726 srclen--; in nla_strlcpy()
729 size_t len = (srclen >= dstsize) ? dstsize - 1 : srclen; in nla_strlcpy()
735 return srclen; in nla_strlcpy()
/external/pdfium/core/src/fxcrt/
Dfx_basic_gcc.cpp98 int srclen = FXSYS_strlen(filename); in FXSYS_GetFullPathName() local
99 if (buf == NULL || (int)buflen < srclen + 1) { in FXSYS_GetFullPathName()
100 return srclen + 1; in FXSYS_GetFullPathName()
103 return srclen; in FXSYS_GetFullPathName()
/external/boringssl/src/crypto/x509/
Dx509_vpm.c341 const char *src, size_t srclen) in int_x509_param_set1() argument
346 if (srclen == 0) in int_x509_param_set1()
349 srclen = strlen(src); in int_x509_param_set1()
352 tmp = BUF_memdup(src, srclen); in int_x509_param_set1()
359 srclen = 0; in int_x509_param_set1()
365 *pdestlen = srclen; in int_x509_param_set1()
/external/bison/lib/
Dwchar.in.h310 (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/
Dwchar.h622 (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/
Dwchar.h622 (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/icu/icu4c/source/test/cintltst/
Dcitertst.c363 int32_t srclen; in TestNormalization() local
375 srclen = u_unescape(testdata[0], source, 10); in TestNormalization()
376 iter = ucol_openElements(coll, source, srclen, &status); in TestNormalization()
380 srclen = u_unescape(testdata[1], source, 10); in TestNormalization()
381 iter = ucol_openElements(coll, source, srclen, &status); in TestNormalization()
386 srclen = u_unescape(testdata[count], source, 10); in TestNormalization()
387 iter = ucol_openElements(coll, source, srclen, &status); in TestNormalization()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_decode.cpp479 int srclen = src.GetLength(); in PDF_EncodeString() local
482 for (int i = 0; i < srclen; i ++) { in PDF_EncodeString()
490 for (int i = 0; i < srclen; i ++) { in PDF_EncodeString()
/external/llvm/test/CodeGen/X86/
D2008-07-07-DanglingDeadInsts.ll96 …l, i32* %offset, float* %dest, i32 %dststep, float* %source, i32 %srcstep, i32 %srclen) nounwind {
/external/valgrind/shared/
Dvg_replace_strmem.c115 Bool is_overlap ( void* dst, const void* src, SizeT dstlen, SizeT srclen ) in is_overlap() argument
119 if (dstlen == 0 || srclen == 0) in is_overlap()
124 hiS = loS + srclen - 1; in is_overlap()
/external/doclava/src/com/google/doclava/
DDoclava.java1322 int srclen = src.length; in linkTarget() local
1326 while (same < (srclen - 1) && same < (tgtlen - 1) && (src[same].equals(tgt[same]))) { in linkTarget()
1332 int up = srclen - same - 1; in linkTarget()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors.cc740 uptr srclen = internal_strlen(src); in TSAN_INTERCEPTOR() local
741 MemoryAccessRange(thr, pc, (uptr)dst, srclen + 1, true); in TSAN_INTERCEPTOR()
742 MemoryAccessRange(thr, pc, (uptr)src, srclen + 1, false); in TSAN_INTERCEPTOR()
748 uptr srclen = internal_strnlen(src, n); in TSAN_INTERCEPTOR() local
750 MemoryAccessRange(thr, pc, (uptr)src, min(srclen + 1, n), false); in TSAN_INTERCEPTOR()
/external/libmtp/src/
Dptp-pack.c109 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/
Ddnsextd.c424 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()
/external/squashfs-tools/kernel-2.4/include/linux/
Dsquashfs_fs.h352 extern int squashfs_uncompress_block(void *d, int dstlen, void *s, int srclen);