Home
last modified time | relevance | path

Searched refs:newlen (Results 1 – 6 of 6) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dgetdelim.c50 size_t len, newlen, off; in getdelim() local
87 newlen = off + len + 1; /* reserve space for NUL terminator */ in getdelim()
88 if (newlen > *buflen) { in getdelim()
89 if (newlen < MINBUF) in getdelim()
90 newlen = MINBUF; in getdelim()
92 if (!powerof2(newlen)) { in getdelim()
94 newlen--; in getdelim()
95 newlen |= newlen >> 1; in getdelim()
96 newlen |= newlen >> 2; in getdelim()
97 newlen |= newlen >> 4; in getdelim()
[all …]
/bionic/libc/bionic/
Djemalloc.h33 int je_mallctl(const char *name, void *oldp, size_t *oldlenp, void *newp, size_t newlen) __attribut…
/bionic/libc/dns/nameser/
Dns_print.c1181 size_t newlen, save_buflen = *buflen; in addname() local
1188 newlen = prune_origin(*buf, origin); in addname()
1191 } else if (newlen == 0U) { in addname()
1193 if (newlen + 2 > *buflen) in addname()
1195 (*buf)[newlen++] = '@'; in addname()
1196 (*buf)[newlen] = '\0'; in addname()
1200 (*buf)[newlen] == '\0')) && (*buf)[newlen - 1] != '.') { in addname()
1203 if (newlen + 2 > *buflen) in addname()
1205 (*buf)[newlen++] = '.'; in addname()
1206 (*buf)[newlen] = '\0'; in addname()
[all …]
/bionic/libc/dns/resolv/
Dres_debug.c395 size_t newlen; in p_fqnname() local
399 newlen = strlen(name); in p_fqnname()
400 if (newlen == 0 || name[newlen - 1] != '.') { in p_fqnname()
401 if ((int)newlen + 1 >= namelen) /* Lack space for final dot */ in p_fqnname()
404 strcpy(name + newlen, "."); in p_fqnname()
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregcomp.c1817 sopno newlen; in findmust() local
1830 newlen = 0; in findmust()
1836 if (newlen == 0) /* new sequence */ in findmust()
1838 newlen++; in findmust()
1859 if (newlen > g->mlen) { /* ends one */ in findmust()
1861 g->mlen = newlen; in findmust()
1863 newlen = 0; in findmust()
/bionic/libc/kernel/uapi/linux/
Dsysctl.h31 size_t newlen; member