Lines Matching refs:obuf

1768 	char obuf[MAXLINE];  local
1955 (void) sm_strlcpyn(obuf, sizeof(obuf), 2,
1957 if (!putline(obuf, mci))
2002 (void) sm_snprintf(obuf, sizeof(obuf),
2005 if (!putline(obuf, mci))
2040 char obuf[MAXLINE + 256]; /* additional length for h_field */ local
2045 (void) sm_snprintf(obuf, sizeof(obuf), "%.200s:", h->h_field);
2046 obp = obuf + strlen(obuf);
2058 if (SPACELEFT(obuf, obp) - 1 < (size_t) l)
2059 l = SPACELEFT(obuf, obp) - 1;
2061 (void) sm_snprintf(obp, SPACELEFT(obuf, obp), "%.*s", l, v);
2062 if (!putxline(obuf, strlen(obuf), mci, putflags))
2065 obp = obuf;
2071 (void) sm_snprintf(obp, SPACELEFT(obuf, obp), "%.*s",
2072 (int) (SPACELEFT(obuf, obp) - 1), v);
2073 return putxline(obuf, strlen(obuf), mci, putflags);
2110 char obuf[MAXLINE + 3]; local
2127 (void) sm_snprintf(obuf, sizeof(obuf), "%.200s:%s", h->h_field,
2129 return putxline(obuf, strlen(obuf), mci, putflags);
2133 obp = obuf;
2134 (void) sm_snprintf(obp, SPACELEFT(obuf, obp), "%.200s:", h->h_field);
2149 SM_ASSERT(sizeof(obuf) > opos * 2);
2157 if (spaces > sizeof(obuf) / 2)
2158 spaces = sizeof(obuf) / 2;
2159 (void) sm_snprintf(obp, SPACELEFT(obuf, obp), "%*s", spaces,
2163 SM_ASSERT(obp < &obuf[MAXLINE]);
2281 (void) sm_strlcpy(obp, ",\n", SPACELEFT(obuf, obp));
2282 if (!putxline(obuf, strlen(obuf), mci, putflags))
2284 obp = obuf;
2285 (void) sm_strlcpy(obp, " ", sizeof(obuf));
2292 (void) sm_strlcpy(obp, ", ", SPACELEFT(obuf, obp));
2296 while ((c = *name++) != '\0' && obp < &obuf[MAXLINE])
2301 if (obp < &obuf[sizeof(obuf)])
2304 obuf[sizeof(obuf) - 1] = '\0';
2305 return putxline(obuf, strlen(obuf), mci, putflags);