HomeSort by: relevance | last modified time | path
    Searched refs:obuf (Results 1 - 25 of 67) sorted by relevancy

1 2 3

  /src/usr.sbin/tcpdchk/
percent_m.c 30 char *percent_m(char *obuf, const char *ibuf)
32 char *bp = obuf;
43 return (obuf);
  /src/usr.bin/ul/
ul.c 149 struct CHAR *obuf = NULL; local in function:filter
151 alloc_buf(&obuf, &obuf_size);
165 alloc_buf(&obuf, &obuf_size);
192 reverse(obuf, obuf_size);
205 fwd(obuf, obuf_size);
210 reverse(obuf, obuf_size);
221 if (obuf[col].c_char)
222 obuf[col].c_mode |= UNDERL | mode;
224 obuf[col].c_char = '_';
231 alloc_buf(&obuf, &obuf_size)
    [all...]
  /src/usr.bin/mail/
quit.c 79 FILE *obuf; local in function:writeback
82 if ((obuf = Fopen(mailname, "ref+")) == NULL) {
89 (void)putc(c, obuf);
90 (void)fflush(obuf);
91 if (ferror(obuf)) {
93 (void)Fclose(obuf);
101 if (sendmessage(mp, obuf, NULL, NULL, NULL) < 0) {
103 (void)Fclose(obuf);
110 (void)putc(c, obuf);
112 (void)fflush(obuf);
140 FILE *obuf; local in function:edstop
269 FILE *ibuf, *obuf, *fbuf, *rbuf, *readstat, *abuf; local in function:quit
    [all...]
mime_header.c 93 decode_word(const char **ibuf, char **obuf, char *oend, const char *to_cs)
124 if (oend < *obuf + 1) {
128 dstend = to_cs ? decword : *obuf;
129 dstlen = (to_cs ? sizeof(decword) : (size_t)(oend - *obuf)) - 1;
149 dstend = *obuf;
150 dstlen = oend - *obuf - 1;
160 *obuf = dstend;
271 decode_comment(char **obuf, char *oend, const char **ibuf, const char *iend, const char *charset)
278 q = *obuf;
332 *obuf = q
    [all...]
cmd1.c 260 show_msgnum(FILE *obuf, struct message *mp, struct message *parent)
264 (void)fprintf(obuf, "Message %s:\n", sget_msgnum(mp, parent));
268 FILE *obuf; member in struct:type1_core_args_s
280 show_msgnum(args->obuf, mp, args->parent);
283 (void)mime_sendmessage(mp, args->obuf, args->igtab, NULL, NULL);
286 (void)mime_sendmessage(mp, args->obuf, args->igtab, NULL, *args->mip);
290 (void)sendmessage(mp, args->obuf, args->igtab, NULL, NULL);
327 FILE *volatile obuf; /* avoid longjmp clobbering */ local in function:type1
337 if ((obuf = last_registered_file(0)) == NULL)
338 obuf = stdout
452 FILE *volatile obuf; \/* void longjmp clobbering *\/ local in function:pipecmd
    [all...]
send.c 97 statusput(struct message *mp, FILE *obuf, const char *prefix)
108 (void)fprintf(obuf, "%sStatus: %s\n",
120 sendmessage(struct message *mp, FILE *obuf, struct ignoretab *doign,
159 obuf = mime_decode_header(mip);
186 statusput(mp, obuf, prefix);
214 statusput(mp, obuf, prefix);
219 (void)putc('\n', obuf);
239 statusput(mp, obuf, prefix);
257 (void)fputs(prefix, obuf);
260 prefixlen, obuf);
    [all...]
cmd2.c 176 FILE *obuf; member in struct:save1_core_args_s
188 if (sendmessage(mp, args->obuf, args->igtab, NULL, NULL) < 0)
209 FILE *obuf; local in function:save1
233 if ((obuf = Fopen(fn, "aef")) == NULL) {
241 args.obuf = obuf;
247 (void)Fclose(obuf);
251 (void)fflush(obuf);
252 if (ferror(obuf))
254 (void)Fclose(obuf);
    [all...]
  /src/distrib/utils/more/
output.c 130 static char obuf[1024]; variable in typeref:typename:char[1024]
131 static char *ob = obuf;
141 n = ob - obuf;
144 if (write(1, obuf, n) != n)
146 ob = obuf;
156 ob = obuf;
166 if (ob >= &obuf[sizeof(obuf)])
  /src/lib/libc/net/
linkaddr.c 140 static char obuf[64]; local in function:link_ntoa
141 char *out = obuf;
151 if (out >= obuf + sizeof(obuf) - 1) \
152 return obuf; \
158 * obuf wil be fully init'd to 0 by default. But after
159 * obuf has been returned to userspace the first time,
164 * if (out < obuf + sizeof(obuf) - ((ch) != '\0'))
169 obuf[sizeof(obuf) - 1] = '\0'
    [all...]
iso_addr.c 116 static char obuf[64]; local in function:iso_ntoa
117 char *out = obuf;
137 return(obuf + 1);
  /src/lib/libc/compat/net/
compat_ns_ntoa.c 52 static char obuf[40]; local in function:ns_ntoa
61 sprintf(obuf, "%x", ntohl(net.long_e));
62 cp = spectHex(obuf);
83 return (obuf);
  /src/tests/crypto/opencrypto/
h_aesctr2.c 56 unsigned char obuf[24]; local in function:main
76 co.dst = obuf;
77 co.dst_len = sizeof(obuf);
85 co.len = sizeof(obuf);
86 co.src = obuf;
  /src/lib/libc/gdtoa/test/
dtest.c 58 static char ibuf[2048], obuf[1024]; variable in typeref:typename:char[2048][1024]
108 se = g_dfmt(obuf, &u.f, ndig, sizeof(obuf));
110 ndig, (int)(se-obuf), se ? obuf : "<null>");
ftest.c 57 static char ibuf[2048], obuf[1024]; variable in typeref:typename:char[2048][1024]
112 se = g_ffmt(obuf, &u.f, ndig, sizeof(obuf));
114 ndig, (int)(se-obuf), se ? obuf : "<null>");
Qtest.c 59 static char ibuf[2048], obuf[2048]; variable in typeref:typename:char[2048][2048]
138 se = g_Qfmt(obuf, u.bits, ndig, sizeof(obuf));
140 (int)(se-obuf), se ? obuf : "<null>");
ddtest.c 58 static char ibuf[2048], obuf[1024]; variable in typeref:typename:char[2048][1024]
140 se = g_ddfmt(obuf, u.dd, ndig, sizeof(obuf));
142 ndig, (int)(se-obuf), se ? obuf : "<null>");
xLtest.c 59 static char ibuf[2048], obuf[2048]; variable in typeref:typename:char[2048][2048]
129 se = g_xLfmt(obuf, u.bits, ndig, sizeof(obuf));
131 ndig, (int)(se-obuf), se ? obuf : "<null>");
xtest.c 59 static char ibuf[2048], obuf[2048]; variable in typeref:typename:char[2048][2048]
127 se = g_xfmt(obuf, u.bits, ndig, sizeof(obuf));
129 ndig, (int)(se-obuf), se ? obuf : "<null>");
  /src/usr.sbin/sdpd/
service.c 115 d.next = srv->obuf + sizeof(uint16_t) + sizeof(uint16_t);
116 d.end = srv->obuf + srv->fdidx[fd].omtu - 1 - sizeof(uint16_t);
137 be16enc(srv->obuf, total);
138 be16enc(srv->obuf + sizeof(uint16_t), count);
160 srv->pdu.len = d.next - srv->obuf;
229 b.start = srv->obuf + sizeof(uint16_t);
231 b.end = srv->obuf + srv->fdidx[fd].omtu - 1;
256 b.next = srv->obuf + srv->fdidx[fd].omtu - 1 - sizeof(uint16_t);
264 be16enc(srv->obuf, (b.next - b.start));
273 be16enc(srv->obuf, (b.next - b.start))
    [all...]
record.c 92 be16enc(srv->obuf, 0x0000);
93 be32enc(srv->obuf + sizeof(uint16_t), srv->handle++);
152 be16enc(srv->obuf, 0x0000);
200 be16enc(srv->obuf, 0x0000);
  /src/tests/lib/libc/locale/
t_io.c 85 wchar_t obuf[20]; local in function:ATF_TC_BODY
88 swprintf(obuf, sizeof(obuf), L"%ls\n", ibuf) < 0);
127 wchar_t obuf[20]; local in function:ATF_TC_BODY
129 ATF_REQUIRE_EQ(swprintf(obuf, sizeof(obuf), L"%ls\n", ibuf), 2);
  /src/usr.sbin/grfconfig/
grfconfig.c 128 char *obuf, tbuf[_POSIX2_LINE_MAX], *tbuf2; local in function:main
141 obuf = buf;
143 while ((*tbuf2 = *obuf) != '\0') {
151 obuf++;
154 obuf = tbuf;
168 "definition file: `%s'\n", obuf);
207 "mode #%d: `%s'", gv->mode_num, obuf);
210 if (strstr(obuf, "default") != NULL) {
216 if (strstr(obuf, grf_flagp->grf_flag_name) != NULL) {
255 "values", obuf);
    [all...]
  /src/usr.bin/gzip/
unxz.c 49 uint8_t obuf[BUFSIZ]; local in function:unxz
72 strm.next_out = obuf;
73 strm.avail_out = sizeof(obuf);
100 const size_t write_size = sizeof(obuf) - strm.avail_out;
103 write(o, obuf, write_size) != (ssize_t)write_size)
106 strm.next_out = obuf;
107 strm.avail_out = sizeof(obuf);
  /src/usr.bin/bdes/
bdes.c 407 cvtkey(char *obuf, char *ibuf)
417 (void)strncpy(obuf, ibuf, 8);
434 obuf[i] =
455 obuf[i] = (obuf[i]<<1)|nbuf[8*i+j];
463 (void)strncpy(obuf, ibuf, 8);
759 char obuf[8]; /* output buffer */ local in function:cfbdec
776 obuf[c] = ibuf[c] ^ UCHAR(msgbuf, c);
782 n = obuf[nbytes-1];
789 WRITE(obuf, n)
805 char obuf[8]; \/* output buffer *\/ local in function:cfbaenc
852 char obuf[8]; \/* output buffer *\/ local in function:cfbadec
900 char obuf[8]; \/* output buffer *\/ local in function:ofbenc
946 char obuf[8]; \/* output buffer *\/ local in function:ofbdec
    [all...]
  /src/sys/dev/acpi/wmi/
wmi_acpi.c 454 acpi_wmi_event_get(device_t self, uint32_t event, ACPI_BUFFER *obuf)
462 if (sc == NULL || obuf == NULL)
476 obuf->Pointer = NULL;
477 obuf->Length = ACPI_ALLOCATE_LOCAL_BUFFER;
487 return AcpiEvaluateObject(hdl, "_WED", &arg, obuf);
637 uint8_t idx, ACPI_BUFFER *obuf)
648 if (obuf == NULL)
667 obuf->Pointer = NULL;
668 obuf->Length = ACPI_ALLOCATE_LOCAL_BUFFER;
680 rv = AcpiEvaluateObject(sc->sc_node->ad_handle, path, &arg, obuf);
    [all...]

Completed in 21 milliseconds

1 2 3