Searched refs:wbuf (Results 1 - 25 of 46) sorted by relevance

12

/freebsd-9.3-release/crypto/heimdal/kdc/
H A Dv4_dump.c41 char wbuf[5]; local
50 strlcpy(wbuf, cp, sizeof(wbuf));
51 tp.tm_year = atoi(wbuf) - 1900;
55 wbuf[0] = *cp++;
56 wbuf[1] = *cp++;
57 wbuf[2] = '\0';
58 tp.tm_year = atoi(wbuf);
64 wbuf[0] = *cp++;
65 wbuf[
[all...]
/freebsd-9.3-release/contrib/bmake/
H A Drealpath.c72 char *p, wbuf[2][MAXPATHLEN], *fres; local
180 n = readlink(resolved, wbuf[idx], sizeof(wbuf[0]) - 1);
189 if (n + (len = strlen(q)) + 1 > sizeof(wbuf[0])) {
193 memcpy(&wbuf[idx][n], q, len + 1);
194 path = wbuf[idx];
/freebsd-9.3-release/contrib/tcsh/
H A Dsh.dol.c164 Dpack(struct Strbuf *wbuf) argument
191 Strbuf_append1(wbuf, (Char) c);
205 struct Strbuf *wbuf = Strbuf_alloc(); local
210 cleanup_push(wbuf, Strbuf_free);
217 cleanup_until(wbuf);
233 Strbuf_append1(wbuf, (Char) c);
252 if (wbuf->len != 0 && (wbuf->s[wbuf->len - 1] & TRIM) == '\\')
253 wbuf
418 static struct Strbuf wbuf; /* = Strbuf_INIT; */ local
[all...]
H A Dtc.who.c536 char *wbuf; local
575 wbuf = xmalloc(strlen(pb) + 1);
576 wb = wbuf;
587 return wbuf;
595 wbuf = xmalloc(strlen(pb) + 1);
596 wb = wbuf;
601 return wbuf;
609 wbuf = xmalloc(3);
610 wbuf[0] = '%';
611 wbuf[
[all...]
H A Dsh.lex.c287 struct Strbuf wbuf = Strbuf_INIT; local
292 cleanup_push(&wbuf, Strbuf_cleanup);
302 Strbuf_append1(&wbuf, c);
305 Strbuf_append1(&wbuf, c1);
333 Strbuf_append1(&wbuf, c);
344 Strbuf_append1(&wbuf, '\\');
400 Strbuf_append1(&wbuf, '\\');
412 Strbuf_append1(&wbuf, c);
416 cleanup_ignore(&wbuf);
417 cleanup_until(&wbuf);
972 struct Strbuf wbuf = Strbuf_INIT; local
[all...]
/freebsd-9.3-release/usr.bin/mail/
H A Dhead.c250 nextword(char *wp, char *wbuf) argument
255 *wbuf = '\0';
259 *wbuf++ = c;
262 *wbuf++ = c;
264 *wbuf++ = c;
269 *wbuf = '\0';
/freebsd-9.3-release/usr.sbin/fwcontrol/
H A Dfwdv.c106 struct iovec wbuf[NPACKET_R]; local
118 bzero(wbuf, sizeof(wbuf));
220 wbuf[vec].iov_base = pad;
221 wbuf[vec++].iov_len = npad;
223 writev(fd, wbuf, vec);
235 wbuf[vec].iov_base = (char *) dv;
236 wbuf[vec++].iov_len = DSIZE;
238 writev(fd, wbuf, vec);
247 writev(fd, wbuf, ve
264 struct iovec wbuf[TNBUF*2 + NEMPTY]; local
[all...]
/freebsd-9.3-release/lib/libstand/
H A Dtftp.c147 } __packed __aligned(4) wbuf;
152 if (len > sizeof(wbuf.space))
153 len = sizeof(wbuf.space);
155 wbuf.t.th_opcode = htons((u_short) ERROR);
156 wbuf.t.th_code = htons(errcode);
158 wtail = wbuf.t.th_msg;
163 sendudp(h->iodesc, &wbuf.t, wtail - (char *) &wbuf.t);
172 } __packed __aligned(4) wbuf;
175 wbuf
[all...]
H A Drarp.c74 } wbuf; local
96 bzero((char*)&wbuf.data, sizeof(wbuf.data));
97 ap = &wbuf.data.arp;
107 rarpsend, &wbuf.data, sizeof(wbuf.data),
H A Darp.c85 } wbuf; local
110 bzero((char*)&wbuf.data, sizeof(wbuf.data));
111 ah = &wbuf.data.arp;
126 arpsend, &wbuf.data, sizeof(wbuf.data),
/freebsd-9.3-release/contrib/diff/lib/
H A Derror.c150 wchar_t *wbuf = (len < ALLOCA_LIMIT local
151 ? alloca (len * sizeof *wbuf)
152 : len <= SIZE_MAX / sizeof *wbuf
153 ? malloc (len * sizeof *wbuf)
156 if (wbuf)
162 res = mbsrtowcs (wbuf, &tmp, len, &st);
163 wmessage = res == (size_t) -1 ? L"???" : wbuf;
168 free (wbuf);
/freebsd-9.3-release/contrib/gnu-sort/lib/
H A Derror.c146 wchar_t *wbuf = (len < ALLOCA_LIMIT local
147 ? alloca (len * sizeof *wbuf)
148 : len <= SIZE_MAX / sizeof *wbuf
149 ? malloc (len * sizeof *wbuf)
152 if (wbuf)
158 res = mbsrtowcs (wbuf, &tmp, len, &st);
159 wmessage = res == (size_t) -1 ? L"???" : wbuf;
164 free (wbuf);
/freebsd-9.3-release/crypto/openssl/ssl/
H A Ds2_lib.c269 * wbuf needs one byte more because when using two-byte headers, we leave
272 if ((s2->wbuf =
281 if (s2->wbuf != NULL)
282 OPENSSL_free(s2->wbuf);
300 if (s2->wbuf != NULL)
301 OPENSSL_free(s2->wbuf);
310 unsigned char *rbuf, *wbuf; local
315 wbuf = s2->wbuf;
320 s2->wbuf
[all...]
H A Ds3_pkt.c635 if (s->s3->wbuf.left != 0)
650 wb = &(s->s3->wbuf);
682 if (s->s3->wbuf.len <
780 /* if s->s3->wbuf.left != 0, we need to call this */
800 (char *)&(s->s3->wbuf.buf[s->s3->wbuf.offset]),
801 (unsigned int)s->s3->wbuf.left);
806 if (i == s->s3->wbuf.left) {
807 s->s3->wbuf.left = 0;
816 s->s3->wbuf
[all...]
/freebsd-9.3-release/sys/dev/advansys/
H A Dadwlib.c270 u_int16_t *wbuf; local
275 wbuf = (u_int16_t *)eep_buf;
280 eep_addr++, wbuf++) {
283 *wbuf = wval;
287 *wbuf = adw_eeprom_read_16(adw, eep_addr);
288 wbuf++;
293 eep_addr++, wbuf++)
294 *wbuf = adw_eeprom_read_16(adw, eep_addr);
302 u_int16_t *wbuf; local
306 wbuf
[all...]
H A Dadvlib.c497 u_int16_t *wbuf; local
502 wbuf = (u_int16_t *)eeprom_config;
505 for (s_addr = 0; s_addr < 2; s_addr++, wbuf++) {
506 *wbuf = adv_read_eeprom_16(adv, s_addr);
507 sum += *wbuf;
518 for (s_addr = cfg_beg; s_addr <= (cfg_end - 1); s_addr++, wbuf++) {
519 *wbuf = adv_read_eeprom_16(adv, s_addr);
520 sum += *wbuf;
522 printf("Addr 0x%x: 0x%04x\n", s_addr, *wbuf);
525 *wbuf
1381 u_int16_t *wbuf; local
[all...]
/freebsd-9.3-release/contrib/gdb/gdb/
H A Dia64-fbsd-nat.c113 const char *annex, void *rbuf, const void *wbuf,
125 if (ptrace (PT_SETKSTACK, PIDGET(inferior_ptid), (PTRACE_ARG3_TYPE)wbuf,
112 ia64_fbsd_xfer_dirty(struct target_ops *ops, enum target_object obj, const char *annex, void *rbuf, const void *wbuf, ULONGEST ofs, LONGEST len) argument
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/
H A Dregress_iocp.c211 static struct evbuffer *rbuf = NULL, *wbuf = NULL; variable in typeref:struct:
229 evbuffer_commit_write_(wbuf, nbytes);
254 wbuf = evbuffer_overlapped_new_(data->pair[1]);
256 evbuffer_enable_locking(wbuf, NULL);
261 tt_assert(wbuf);
267 evbuffer_add(wbuf, junk, sizeof(junk));
278 tt_assert(!evbuffer_launch_write_(wbuf, 512, &wol));
290 evbuffer_free(wbuf);
/freebsd-9.3-release/sys/dev/xen/console/
H A Dconsole.c69 static char wbuf[WBUF_SIZE]; variable
195 if ((wbuf[WBUF_MASK(wp++)] = c) == '\n') {
196 wbuf[WBUF_MASK(wp++)] = '\r';
315 HYPERVISOR_console_io(CONSOLEIO_write, sz, &wbuf[WBUF_MASK(wc)]);
318 sent = xencons_ring_send(&wbuf[WBUF_MASK(wc)], sz);
368 wbuf[WBUF_MASK(wp++)] = _ch;
439 sent = xencons_ring_send(&wbuf[WBUF_MASK(wc)], sz);
/freebsd-9.3-release/crypto/heimdal/kadmin/
H A Dadd-random-users.c51 char *wbuf = NULL, *wptr = NULL, *wend = NULL; local
67 wptr = wbuf = emalloc (WORDBUF_SIZE);
68 wend = wbuf + WORDBUF_SIZE;
/freebsd-9.3-release/bin/ln/
H A Dln.c229 char wbuf[PATH_MAX]; local
282 (void)snprintf(wbuf, sizeof(wbuf), "%s/%s",
284 if (stat(wbuf, &sb) != 0)
/freebsd-9.3-release/lib/libc/gen/
H A Dwordexp.c107 char wbuf[9]; /* Buffer for word count */ local
174 if (we_read_fully(pdes[0], wbuf, 8) != 8 ||
180 wbuf[8] = bbuf[8] = '\0';
181 nwords = strtol(wbuf, NULL, 16);
/freebsd-9.3-release/contrib/libarchive/tar/test/
H A Dtest_copy.c75 char wbuf[PATH_MAX];
82 cygwin_conv_to_full_win32_path(pbuf, wbuf);
83 wcwdlen = strlen(wbuf);
/freebsd-9.3-release/contrib/libc++/src/
H A Dlocale.cpp4880 wchar_t wbuf[100]; local
4881 wchar_t* wbb = wbuf;
4885 size_t j = mbsrtowcs_l( wbb, &bb, countof(wbuf), &mb, __loc_);
4887 size_t j = __mbsrtowcs_l( wbb, &bb, countof(wbuf), &mb, __loc_);
5058 wchar_t wbuf[100]; local
5069 size_t j = mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_);
5071 size_t j = __mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_);
5075 wbe = wbuf
5938 wchar_t wbuf[100]; local
6021 wchar_t wbuf[100]; local
[all...]
/freebsd-9.3-release/lib/libsm/
H A DMakefile31 wbuf.c wsetup.c string.c stringf.c \

Completed in 320 milliseconds

12