Searched refs:pbuf (Results 26 - 50 of 82) sorted by relevance

1234

/freebsd-10.0-release/lib/libusb/
H A Dlibusb20.h223 void libusb20_tr_setup_bulk(struct libusb20_transfer *xfer, void *pbuf, uint32_t length, uint32_t timeout);
224 void libusb20_tr_setup_control(struct libusb20_transfer *xfer, void *psetup, void *pbuf, uint32_t timeout);
225 void libusb20_tr_setup_intr(struct libusb20_transfer *xfer, void *pbuf, uint32_t length, uint32_t timeout);
226 void libusb20_tr_setup_isoc(struct libusb20_transfer *xfer, void *pbuf, uint32_t length, uint16_t fr_index);
227 uint8_t libusb20_tr_bulk_intr_sync(struct libusb20_transfer *xfer, void *pbuf, uint32_t length, uint32_t *pactlen, uint32_t timeout);
/freebsd-10.0-release/sys/dev/sound/pci/
H A Dhdspe.c175 /* pbuf (play buffer). */
176 if (bus_dmamem_alloc(sc->dmat, (void **)&sc->pbuf,
178 device_printf(sc->dev, "Can't alloc pbuf.\n");
182 if (bus_dmamap_load(sc->dmat, sc->pmap, sc->pbuf, sc->bufsize,
184 device_printf(sc->dev, "Can't load pbuf.\n");
201 bzero(sc->pbuf, sc->bufsize);
213 paddr = vtophys(sc->pbuf);
346 bus_dmamem_free(sc->dmat, sc->pbuf, sc->pmap);
348 sc->rbuf = sc->pbuf = NULL;
H A Dneomagic.c71 u_int32_t buftop, pbuf, rbuf, cbuf, acbuf; member in struct:sc_info
356 chnbuf = (dir == PCMDIR_PLAY)? sc->pbuf : sc->rbuf;
424 nm_wr(sc, NM_PBUFFER_START, sc->pbuf, 4);
425 nm_wr(sc, NM_PBUFFER_END, sc->pbuf + NM_BUFFSIZE - ssz, 4);
426 nm_wr(sc, NM_PBUFFER_CURRP, sc->pbuf, 4);
427 nm_wr(sc, NM_PBUFFER_WMARK, sc->pbuf + ch->wmark, 4);
461 return nm_rd(sc, NM_PBUFFER_CURRP, 4) - sc->pbuf;
500 nm_wr(sc, NM_PBUFFER_WMARK, sc->pbuf + sc->pch.wmark, 4);
587 sc->pbuf = sc->rbuf - NM_BUFFSIZE;
588 sc->acbuf = sc->pbuf
[all...]
H A Dhdspe.h158 uint32_t *pbuf; member in struct:sc_info
/freebsd-10.0-release/contrib/ntp/libisc/
H A Dsockaddr.c127 char pbuf[sizeof("65000")]; local
140 snprintf(pbuf, sizeof(pbuf), "%u", ntohs(sockaddr->type.sin.sin_port));
143 snprintf(pbuf, sizeof(pbuf), "%u", ntohs(sockaddr->type.sin6.sin6_port));
149 plen = strlen(pbuf);
150 INSIST(plen < sizeof(pbuf));
161 isc_buffer_putmem(target, (const unsigned char *)pbuf, plen);
/freebsd-10.0-release/usr.bin/mail/
H A Dhead.c93 parse(char line[], struct headline *hl, char pbuf[]) argument
102 sp = pbuf;
H A Dcmd1.c169 char pbuf[BUFSIZ]; local
193 parse(headline, &hl, pbuf);
/freebsd-10.0-release/contrib/gdb/gdb/
H A Dser-e7kpc.c189 static char pbuf[1000]; local
195 x = pbuf[pbuf_index++];
209 pbuf[i] = tmp[i ^ 1];
212 x = pbuf[pbuf_index++];
H A Dsolib-svr4.c478 char *pbuf; local
481 pbuf = alloca (pbuf_size);
486 if (target_read_memory (dyn_ptr, pbuf, pbuf_size))
488 return extract_unsigned_integer (pbuf, pbuf_size);
513 char *pbuf; local
516 pbuf = alloca (pbuf_size);
521 if (target_read_memory (dyn_ptr, pbuf, pbuf_size))
523 return extract_unsigned_integer (pbuf, pbuf_size);
/freebsd-10.0-release/contrib/libarchive/tar/test/
H A Dtest_copy.c79 char pbuf[PATH_MAX];
83 assert(getcwd(pbuf, PATH_MAX) != NULL);
84 pcwdlen = strlen(pbuf);
85 cygwin_conv_to_full_win32_path(pbuf, wbuf);
/freebsd-10.0-release/lib/libipsec/
H A Dpfkey_dump.c370 char pbuf[NI_MAXSERV]; local
401 pbuf, sizeof(pbuf), NI_NUMERICSERV) != 0)
404 sport = atoi(pbuf);
421 pbuf, sizeof(pbuf), NI_NUMERICSERV) != 0)
424 dport = atoi(pbuf);
/freebsd-10.0-release/contrib/wpa/wpa_supplicant/
H A Dctrl_iface_unix.c194 char *pbuf, *dir = NULL, *gid_str = NULL; local
200 pbuf = os_strdup(wpa_s->conf->ctrl_interface);
201 if (pbuf == NULL)
203 if (os_strncmp(pbuf, "DIR=", 4) == 0) {
204 dir = pbuf + 4;
211 dir = pbuf;
216 os_free(pbuf);
222 os_free(pbuf);
238 os_free(pbuf);
/freebsd-10.0-release/contrib/nvi/ex/
H A Dex_cscope.c324 MALLOC_RET(sp, csc->pbuf, char *, len + 1);
326 read(fd, csc->pbuf, len) != len) {
335 csc->pbuf[len] = '\0';
338 for (nentries = 0, p = csc->pbuf; *p != '\0'; ++p)
345 for (pathp = csc->paths, p = strtok(csc->pbuf, ":");
356 if ((csc->pbuf = strdup(csc->dname)) == NULL) {
361 csc->paths[0] = csc->pbuf;
365 if (csc->pbuf != NULL) {
366 free(csc->pbuf);
367 csc->pbuf
[all...]
/freebsd-10.0-release/contrib/one-true-awk/
H A Dlib.c109 int getrec(char **pbuf, int *pbufsize, int isrecord) /* get next input record */ argument
112 char *buf = *pbuf;
163 *pbuf = buf;
174 *pbuf = buf;
187 int readrec(char **pbuf, int *pbufsize, FILE *inf) /* read one record into buf */ argument
190 char *rr, *buf = *pbuf;
224 *pbuf = buf;
H A Dlex.c101 int gettok(char **pbuf, int *psz) /* get next input token */ argument
104 char *buf = *pbuf;
159 *pbuf = buf;
/freebsd-10.0-release/contrib/ntp/parseutil/
H A Ddcfd.c1536 char pbuf[61]; /* printable version */ local
1665 pbuf[60] = '\0';
1667 pbuf[i] = '.';
1702 PRINTF("%c %.*s ", pat[i % (sizeof(pat)-1)], 59 - offset, &pbuf[offset]);
1730 pbuf[0] = '?';
1732 pbuf[0] = type(c) ? '#' : '-';
1735 pbuf[i] = '.';
1750 pbuf[i] = '?';
1752 pbuf[i] = type(c) ? '#' : '-';
1754 PRINTF("%c %.*s ", pat[i % (sizeof(pat)-1)], 59 - offset, &pbuf[offse
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Support/
H A Dregengine.inc1014 static char pbuf[10];
1017 (void)snprintf(pbuf, sizeof pbuf, "%c", ch);
1019 (void)snprintf(pbuf, sizeof pbuf, "\\%o", ch);
1020 return(pbuf);
/freebsd-10.0-release/sys/compat/linux/
H A Dlinux_util.c107 char **pbuf, int cflag, int dfd)
111 LIN_SDT_PROBE5(util, linux_emul_convpath, entry, path, pathseg, pbuf,
114 retval = kern_alternate_path(td, linux_emul_path, path, pathseg, pbuf,
106 linux_emul_convpath(struct thread *td, const char *path, enum uio_seg pathseg, char **pbuf, int cflag, int dfd) argument
/freebsd-10.0-release/usr.bin/finger/
H A Dutil.c244 static char pbuf[20]; local
251 p = pbuf;
285 return(pbuf);
/freebsd-10.0-release/contrib/apr-util/include/
H A Dapr_xml.h282 * @param pbuf Buffer to put the converted text into
287 int *ns_map, const char **pbuf,
/freebsd-10.0-release/usr.sbin/fwcontrol/
H A Dfwdv.c265 char *pbuf; local
275 pbuf = malloc(DSIZE * TNBUF);
326 len = read(fd, pbuf + tlen, DSIZE * TNBUF - tlen);
342 dv = (struct dvdbc *)(pbuf + offset * DSIZE);
/freebsd-10.0-release/sys/compat/svr4/
H A Dsvr4_sysvec.c259 char **pbuf, int create)
262 return (kern_alternate_path(td, svr4_emul_path, path, pathseg, pbuf,
258 svr4_emul_find(struct thread *td, char *path, enum uio_seg pathseg, char **pbuf, int create) argument
/freebsd-10.0-release/lib/libc/net/
H A Drcmd.c450 char pbuf[MAXPATHLEN]; local
474 (void)strcpy(pbuf, pwd->pw_dir);
475 (void)strcat(pbuf, "/.rhosts");
484 hostf = fopen(pbuf, "re");
494 if (lstat(pbuf, &sbuf) < 0)
/freebsd-10.0-release/sys/boot/zfs/
H A Dzfsimpl.c1093 char *pbuf; local
1109 pbuf = buf;
1115 if (zio_read(spa, gbp, pbuf))
1117 pbuf += BP_GET_PSIZE(gbp);
1130 void *pbuf; local
1160 pbuf = zfs_alloc(size);
1162 pbuf = buf;
1165 error = zio_read_gang(spa, bp, pbuf);
1167 error = vdev->v_read(vdev, bp, pbuf, offset, size);
1170 error = zio_decompress_data(cpfunc, pbuf,
[all...]
/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Dgetcap.c288 char pbuf[_POSIX_PATH_MAX]; local
294 (void)snprintf(pbuf, sizeof(pbuf), "%s.db", *db_p);
295 if ((capdbp = dbopen(pbuf, O_RDONLY, 0, DB_HASH, 0))

Completed in 365 milliseconds

1234