Home
last modified time | relevance | path

Searched refs:siz (Results 1 – 6 of 6) 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()
/bionic/libc/upstream-freebsd/lib/libc/string/
Dwcslcat.c51 wcslcat(wchar_t *dst, const wchar_t *src, size_t siz) in wcslcat() argument
55 size_t n = siz; in wcslcat()
62 n = siz - dlen; in wcslcat()
/bionic/libc/dns/nameser/
Dns_print.c585 size_t siz; in ns_sprintrrf() local
595 siz = (edata-rdata)*4/3 + 4; /* "+4" accounts for trailing \0 */ in ns_sprintrrf()
596 if (siz > sizeof(base64_cert) * 3/4) { in ns_sprintrrf()
602 base64_cert, siz); in ns_sprintrrf()
883 unsigned int siz; in ns_sprintrrf() local
887 siz = (int)(edata-rdata)*4/3 + 4; /* "+4" accounts for trailing \0 */ in ns_sprintrrf()
888 if (siz > sizeof(base64_dhcid) * 3/4) { in ns_sprintrrf()
893 base64_dhcid, siz); in ns_sprintrrf()
920 unsigned int siz; in ns_sprintrrf() local
980 siz = (int)(edata-rdata)*4/3 + 4; /* "+4" accounts for trailing \0 */ in ns_sprintrrf()
[all …]
/bionic/libc/dns/net/
Dgethnamaddr.c97 #define addalias(d, s, arr, siz) do { \ argument
98 if (d >= &arr[siz]) { \
99 char **xptr = realloc(arr, (siz + 10) * sizeof(*arr)); \
104 siz += 10; \
109 #define setup(arr, siz) do { \ argument
110 arr = malloc((siz = 10) * sizeof(*arr)); \
/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.c942 u_int8_t siz = 0x12; /* default = 1e2 cm = 1.00m */ in loc_aton() local
1001 siz = precsize_aton(&cp); in loc_aton()
1029 *bcp++ = siz; in loc_aton()