Lines Matching defs:buffer
90 * pointers would be set to areas in the buffer if need be. instring and buffer
109 /* Terminate the buffer */
172 _getexecattr(execstr_t *result, char *buffer, int buflen, int *errnop)
177 NSS_XbyY_INIT(&arg, result, buffer, buflen, _str2execattr);
191 char *buffer,
203 NSS_XbyY_INIT(&arg, result, buffer, buflen, _str2execattr);
311 * incrementing the buffer pointer saved in pe->head_exec. When look for
312 * duplicates, we search in the buffer from earlier calls.
343 (void) memset(argp->buf.buffer, 0, argp->buf.buflen);
347 len = strlen(argp->buf.buffer);
351 pe->head_exec = (void *)argp->buf.buffer;
352 } else if ((str = strnstr(result, argp->buf.buffer,
353 argp->buf.buffer - result)) != NULL) {
359 if (argp->buf.buffer[len - 1] != '\n' && len < argp->buf.buflen - 1) {
360 argp->buf.buffer[len] = '\n';
361 argp->buf.buffer[len + 1] = '\0';
365 argp->buf.buffer += len;
476 * buffer and result. Reset the buflen value and make sure
480 if (result != NULL && argp->buf.buffer != result) {
481 argp->returnlen = argp->buf.buffer - result;
483 argp->buf.buffer = argp->buf.result;
750 * to the stack or to (a part of) another buffer. When we convert we