Lines Matching defs:totlen
154 int len, totlen = 1; /* Terminating NULL byte */
162 totlen += 3;
164 MALLOC(keyfilter, totlen);
167 (void) snprintf(keyfilter, totlen, "(|");
175 totlen += strlen(k) + 2;
178 totlen += strlen(attrtype) + strlen(k) + 3;
183 if (!(tmpptr = (char *)realloc(keyfilter, totlen))) {
192 (void) snprintf(keyfilter + len, totlen - len,
195 (void) snprintf(keyfilter + len, totlen - len,
203 (void) strlcat(keyfilter, ")", totlen);
225 int len, totlen = 1; /* Terminating NULL byte */
238 totlen += strlen(k) + 2;
245 totlen += strlen(k) + strlen(attrtype) + 3;
254 if (!(tmpptr = (char *)realloc(pre_filter, totlen))) {
263 (void) snprintf(pre_filter + len, totlen - len,
266 (void) snprintf(pre_filter + len, totlen - len,