Home
last modified time | relevance | path

Searched refs:dstsize (Results 1 – 9 of 9) sorted by relevance

/external/openssh/
Dloginrec.h125 char *line_fullname(char *dst, const char *src, u_int dstsize);
126 char *line_stripname(char *dst, const char *src, int dstsize);
127 char *line_abbrevname(char *dst, const char *src, int dstsize);
Dloginrec.c563 line_fullname(char *dst, const char *src, u_int dstsize) in line_fullname() argument
565 memset(dst, '\0', dstsize); in line_fullname()
566 if ((strncmp(src, "/dev/", 5) == 0) || (dstsize < (strlen(src) + 5))) in line_fullname()
567 strlcpy(dst, src, dstsize); in line_fullname()
569 strlcpy(dst, "/dev/", dstsize); in line_fullname()
570 strlcat(dst, src, dstsize); in line_fullname()
577 line_stripname(char *dst, const char *src, int dstsize) in line_stripname() argument
579 memset(dst, '\0', dstsize); in line_stripname()
581 strlcpy(dst, src + 5, dstsize); in line_stripname()
583 strlcpy(dst, src, dstsize); in line_stripname()
[all …]
/external/libcups/cups/
Dsnmp-private.h110 extern int *_cupsSNMPCopyOID(int *dst, const int *src, int dstsize)
118 size_t dstsize) _CUPS_API_1_4;
124 int *dst, int dstsize)
Dsnmp.c91 int dstsize) /* I - Number of integers in dst */ in _cupsSNMPCopyOID() argument
97 dstsize)); in _cupsSNMPCopyOID()
99 for (i = 0, dstsize --; src[i] >= 0 && i < dstsize; i ++) in _cupsSNMPCopyOID()
258 size_t dstsize) /* I - Size of string buffer */ in _cupsSNMPOIDToString() argument
265 src, dst, CUPS_LLCAST dstsize)); in _cupsSNMPOIDToString()
271 if (!src || !dst || dstsize < 4) in _cupsSNMPOIDToString()
278 for (dstptr = dst, dstend = dstptr + dstsize - 1; in _cupsSNMPOIDToString()
480 int dstsize)/* I - Number of integers in OID array */ in _cupsSNMPStringToOID() argument
487 src, dst, dstsize)); in _cupsSNMPStringToOID()
493 if (!src || !dst || dstsize < 2) in _cupsSNMPStringToOID()
[all …]
Dhttp-private.h441 size_t dstsize);
444 size_t dstsize);
Dhttp-support.c110 int dstsize, const char *term,
1685 size_t dstsize) /* I - Size of destination buffer */ in _httpDecodeURI() argument
1687 if (http_copy_decode(dst, src, (int)dstsize, NULL, 1)) in _httpDecodeURI()
1701 size_t dstsize) /* I - Size of destination buffer */ in _httpEncodeURI() argument
1703 http_copy_encode(dst, src, dst + dstsize - 1, NULL, NULL, 1); in _httpEncodeURI()
2152 int dstsize, /* I - Destination size */ in http_copy_decode() argument
2166 for (ptr = dst, end = dst + dstsize - 1; in http_copy_decode()
Ddest.c230 size_t dstsize);
3480 size_t dstsize) /* I - Size of destination buffer */ argument
3482 char *dstend = dst + dstsize - 1; /* End of destination buffer */
/external/libnl/lib/
Dattr.c378 size_t nla_strlcpy(char *dst, const struct nlattr *nla, size_t dstsize) in nla_strlcpy() argument
386 if (dstsize > 0) { in nla_strlcpy()
387 size_t len = (srclen >= dstsize) ? dstsize - 1 : srclen; in nla_strlcpy()
389 memset(dst, 0, dstsize); in nla_strlcpy()
/external/curl/packages/OS400/
Dos400sys.c1245 unsigned int dstsize; in convert_sockaddr() local
1262 dstsize = sizeof *dstaddr - offsetof(struct sockaddr_un, sun_path); in convert_sockaddr()
1264 i = QadrtConvertA2E(dstu->sun_path, srcu->sun_path, dstsize - 1, srclen); in convert_sockaddr()