Home
last modified time | relevance | path

Searched refs:siz (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/string/
Dstrdup.c41 size_t siz; in strdup() local
44 siz = strlen(str) + 1; in strdup()
45 if ((copy = malloc(siz)) == NULL) in strdup()
47 (void)memcpy(copy, str, siz); in strdup()
Dstrlcpy.c28 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() argument
32 size_t n = siz; in strlcpy()
44 if (siz != 0) in strlcpy()
Dwcslcpy.c29 wcslcpy(wchar_t *dst, const wchar_t *src, size_t siz) in wcslcpy() argument
33 size_t n = siz; in wcslcpy()
45 if (siz != 0) in wcslcpy()
Dstrlcat.c30 strlcat(char *dst, const char *src, size_t siz) in strlcat() argument
34 size_t n = siz; in strlcat()
41 n = siz - dlen; in strlcat()
/bionic/libc/upstream-freebsd/lib/libc/string/
Dwcslcat.c49 wcslcat(wchar_t *dst, const wchar_t *src, size_t siz) in wcslcat() argument
53 size_t n = siz; in wcslcat()
60 n = siz - dlen; in wcslcat()
/bionic/libc/dns/nameser/
Dns_print.c591 size_t siz; in ns_sprintrrf() local
601 siz = (edata-rdata)*4/3 + 4; /* "+4" accounts for trailing \0 */ in ns_sprintrrf()
602 if (siz > sizeof(base64_cert) * 3/4) { in ns_sprintrrf()
608 base64_cert, siz); in ns_sprintrrf()
889 unsigned int siz; in ns_sprintrrf() local
893 siz = (int)(edata-rdata)*4/3 + 4; /* "+4" accounts for trailing \0 */ in ns_sprintrrf()
894 if (siz > sizeof(base64_dhcid) * 3/4) { in ns_sprintrrf()
899 base64_dhcid, siz); in ns_sprintrrf()
926 unsigned int siz; in ns_sprintrrf() local
986 siz = (int)(edata-rdata)*4/3 + 4; /* "+4" accounts for trailing \0 */ in ns_sprintrrf()
[all …]
/bionic/libc/dns/resolv/
Dres_query.c423 res_hostalias(const res_state statp, const char *name, char *dst, size_t siz) { in res_hostalias() argument
Dres_debug.c932 u_int8_t siz = 0x12; /* default = 1e2 cm = 1.00m */ in loc_aton() local
991 siz = precsize_aton(&cp); in loc_aton()
1019 *bcp++ = siz; in loc_aton()