Lines Matching defs:buffer
98 char buffer[8 + LINE_MAX], p[sizeof("PRIORITY=")-1 + DECIMAL_STR_MAX(int) + 1];
107 memcpy(buffer, "MESSAGE=", 8);
108 vsnprintf(buffer+8, sizeof(buffer) - 8, format, ap);
111 IOVEC_SET_STRING(iov[0], buffer);
137 char *buffer;
152 if (vasprintf(&buffer, format, aq) < 0) {
161 IOVEC_SET_STRING(iov[i++], buffer);
353 char buffer[n];
357 j = strerror_r(_saved_errno_, buffer + 8 + k, n - 8 - k);
361 if (j != buffer + 8 + k)
362 memmove(buffer + 8 + k, j, strlen(j)+1);
364 memcpy(buffer, "MESSAGE=", 8);
367 memcpy(buffer + 8, message, k - 2);
368 memcpy(buffer + 8 + k - 2, ": ", 2);
375 IOVEC_SET_STRING(iov[skip+1], buffer);
461 char buffer[8 + LINE_MAX], p[sizeof("PRIORITY=")-1 + DECIMAL_STR_MAX(int) + 1];
471 memcpy(buffer, "MESSAGE=", 8);
472 vsnprintf(buffer+8, sizeof(buffer) - 8, format, ap);
480 IOVEC_SET_STRING(iov[0], buffer);