Searched refs:newlen (Results 1 – 6 of 6) sorted by relevance
50 size_t len, newlen, off; in getdelim() local87 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 …]
33 int je_mallctl(const char *name, void *oldp, size_t *oldlenp, void *newp, size_t newlen) __attribut…
1181 size_t newlen, save_buflen = *buflen; in addname() local1188 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 …]
395 size_t newlen; in p_fqnname() local399 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()
1817 sopno newlen; in findmust() local1830 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()
31 size_t newlen; member