Home
last modified time | relevance | path

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

/external/iproute2/lib/
Dmpls_ntop.c11 size_t destlen = buflen; in mpls_ntop1() local
18 int len = snprintf(dest, destlen, "%u", label); in mpls_ntop1()
20 if (len >= destlen) in mpls_ntop1()
28 destlen -= len; in mpls_ntop1()
29 if (destlen) { in mpls_ntop1()
32 destlen--; in mpls_ntop1()
/external/zlib/src/contrib/puff/
Dpufftest.c95 unsigned long sourcelen, destlen; in main() local
137 ret = puff(NIL, &destlen, source + skip, &sourcelen); in main()
141 fprintf(stderr, "puff() succeeded uncompressing %lu bytes\n", destlen); in main()
149 destlen >>= 1; in main()
150 dest = malloc(destlen); in main()
156 puff(dest, &destlen, source + skip, &sourcelen); in main()
158 fwrite(dest, 1, destlen, stdout); in main()
DREADME33 unsigned long *destlen, /* amount of output space */
44 If destlen is not enough space for the uncompressed data, then inflate will
45 return an error without writing more than destlen bytes. Note that this means
51 the initial value of *destlen is ignored and *destlen is set to the length of
62 *destlen is updated to the size of the uncompressed data. See the comments
Dpuff.h33 unsigned long *destlen, /* amount of output space */
Dpuff.c794 unsigned long *destlen, /* amount of output space */ in puff() argument
804 s.outlen = *destlen; /* ignored if dest is NIL */ in puff()
836 *destlen = s.outcnt; in puff()
/external/vboot_reference/firmware/lib/
Dutility_string.c56 uint32_t StrnAppend(char *dest, const char *src, uint32_t destlen) in StrnAppend() argument
60 if (!dest || !src || !destlen) in StrnAppend()
64 while (dest[used] && used < destlen - 1) in StrnAppend()
68 while (*src && used < destlen - 1) in StrnAppend()
/external/u-boot/include/jffs2/
Djffs2.h221 u32 srclen, u32 destlen);
223 unsigned char *page_out, __u32 destlen);
227 __u32 srclen, __u32 destlen);
230 u32 srclen, u32 destlen);
/external/u-boot/fs/jffs2/
Dcompr_rtime.c52 u32 srclen, u32 destlen) in rtime_decompress() argument
63 while (outpos<destlen) { in rtime_decompress()
Dcompr_rubin.c47 unsigned char *page_out, __u32 destlen) in rubin_do_decompress() argument
50 char *end = (char *)(page_out + destlen); in rubin_do_decompress()
Dcompr_zlib.c44 __u32 srclen, __u32 destlen) in zlib_decompress() argument
Dcompr_lzo.c397 u32 srclen, u32 destlen) in lzo_decompress() argument
399 lzo_uint outlen = destlen; in lzo_decompress()
/external/u-boot/test/dm/
Dvideo.c58 uint destlen; in compress_frame_buffer() local
62 destlen = priv->fb_size; in compress_frame_buffer()
66 ret = BZ2_bzBuffToBuffCompress(dest, &destlen, in compress_frame_buffer()
73 return destlen; in compress_frame_buffer()
/external/clang/test/Analysis/
Dbstring.c39 size_t destlen);
159 size_t destlen);
318 void *__memmove_chk(void *s1, const void *s2, size_t n, size_t destlen);
Dstring.c254 char *__strcpy_chk(char *restrict s1, const char *restrict s2, size_t destlen);
313 char *__stpcpy_chk(char *restrict s1, const char *restrict s2, size_t destlen);
352 char *__strcat_chk(char *restrict s1, const char *restrict s2, size_t destlen);
449 char *__strncpy_chk(char *restrict s1, const char *restrict s2, size_t n, size_t destlen);
541 char *__strncat_chk(char *restrict s1, const char *restrict s2, size_t n, size_t destlen);
Dsecurity-syntax-checks.m131 char *__strcpy_chk(char *restrict s1, const char *restrict s2, size_t destlen);
155 char *__strcat_chk(char *restrict s1, const char *restrict s2, size_t destlen);
/external/vboot_reference/firmware/lib/include/
Dutility.h105 uint32_t StrnAppend(char *dest, const char *src, uint32_t destlen);
/external/libmtp/src/
Dptp-pack.c136 size_t nconv, srclen, destlen; in ptp_unpack_string() local
159 destlen = sizeof(loclstr)-1; in ptp_unpack_string()
163 nconv = iconv(params->cd_ucs2_to_locale, &src, &srclen, &dest, &destlen); in ptp_unpack_string()