HomeSort by: relevance | last modified time | path
    Searched defs:bufp (Results 1 - 25 of 208) sorted by relevancy

1 2 3 4 5 6 7 8 9

  /src/lib/libc/gen/
setproctitle.c 61 static char buf[MAX_PROCTITLE], *bufp; local
76 bufp = buf;
91 __ps_strings->ps_argvstr = &bufp;
setproctitle.c 61 static char buf[MAX_PROCTITLE], *bufp; local
76 bufp = buf;
91 __ps_strings->ps_argvstr = &bufp;
  /src/external/bsd/ipf/dist/lib/
kmem.c 102 char *bufp; local
112 for (bufp = buffer, left = size; left > 0; bufp += r, left -= r) {
113 r = read(*kvm, bufp, left);
kmem.c 102 char *bufp; local
112 for (bufp = buffer, left = size; left > 0; bufp += r, left -= r) {
113 r = read(*kvm, bufp, left);
  /src/lib/libc/stdio/
open_memstream.c 48 char **bufp; member in struct:memstream
70 buf = realloc(*ms->bufp, newsize + 1);
77 *ms->bufp = buf;
108 memcpy(*ms->bufp + ms->offset, buf, tocopy);
181 open_memstream(char **bufp, size_t *sizep)
187 if (bufp == NULL || sizep == NULL) {
191 *bufp = calloc(1, 1);
192 if (*bufp == NULL)
197 free(*bufp);
198 *bufp = NULL
    [all...]
open_wmemstream.c 48 wchar_t **bufp; member in struct:wmemstream
74 buf = realloc(*ms->bufp, (newsize + 1) * sizeof(wchar_t));
81 *ms->bufp = buf;
149 charlen = mbrtowc(*ms->bufp + ms->offset, buf, len,
242 open_wmemstream(wchar_t **bufp, size_t *sizep)
248 if (bufp == NULL || sizep == NULL) {
252 *bufp = calloc(1, sizeof(wchar_t));
253 if (*bufp == NULL)
258 free(*bufp);
259 *bufp = NULL
    [all...]
open_memstream.c 48 char **bufp; member in struct:memstream
70 buf = realloc(*ms->bufp, newsize + 1);
77 *ms->bufp = buf;
108 memcpy(*ms->bufp + ms->offset, buf, tocopy);
181 open_memstream(char **bufp, size_t *sizep)
187 if (bufp == NULL || sizep == NULL) {
191 *bufp = calloc(1, 1);
192 if (*bufp == NULL)
197 free(*bufp);
198 *bufp = NULL
    [all...]
open_wmemstream.c 48 wchar_t **bufp; member in struct:wmemstream
74 buf = realloc(*ms->bufp, (newsize + 1) * sizeof(wchar_t));
81 *ms->bufp = buf;
149 charlen = mbrtowc(*ms->bufp + ms->offset, buf, len,
242 open_wmemstream(wchar_t **bufp, size_t *sizep)
248 if (bufp == NULL || sizep == NULL) {
252 *bufp = calloc(1, sizeof(wchar_t));
253 if (*bufp == NULL)
258 free(*bufp);
259 *bufp = NULL
    [all...]
  /src/sbin/sysctl/
pathconf.c 155 char *bufp, buf[BUFSIZ]; local
157 bufp = buf;
159 if ((indx = findname(string, "top", &bufp, &pclist)) == -1)
161 if (bufp) {
162 fprintf(stderr, "name %s in %s is unknown\n", *bufp, string);
197 findname(string, level, bufp, namelist)
200 char **bufp;
206 if (namelist->list == 0 || (name = strsep(bufp, ".")) == NULL) {
pathconf.c 155 char *bufp, buf[BUFSIZ]; local
157 bufp = buf;
159 if ((indx = findname(string, "top", &bufp, &pclist)) == -1)
161 if (bufp) {
162 fprintf(stderr, "name %s in %s is unknown\n", *bufp, string);
197 findname(string, level, bufp, namelist)
200 char **bufp;
206 if (namelist->list == 0 || (name = strsep(bufp, ".")) == NULL) {
  /src/sys/arch/sh3/sh3/
coff_exec.c 359 char buf[128], *bufp; /* FIXME */ local
373 bufp = buf;
375 slhdr = (struct coff_slhdr *)bufp;
385 bufp += entry_len;
coff_exec.c 359 char buf[128], *bufp; /* FIXME */ local
373 bufp = buf;
375 slhdr = (struct coff_slhdr *)bufp;
385 bufp += entry_len;
  /src/external/bsd/libbind/dist/irs/
lcl_pr.c 203 char *bufp, *ndbuf, *dbuf = NULL; local
214 bufp = pvt->line;
218 if ((p = fgets(bufp + offset, bufsiz - offset, pvt->fp)) == NULL) {
228 strcpy(ndbuf, bufp);
233 bufp = dbuf;
lcl_pr.c 203 char *bufp, *ndbuf, *dbuf = NULL; local
214 bufp = pvt->line;
218 if ((p = fgets(bufp + offset, bufsiz - offset, pvt->fp)) == NULL) {
228 strcpy(ndbuf, bufp);
233 bufp = dbuf;
lcl_nw.c 226 char *bufp, *ndbuf, *dbuf = NULL; local
238 bufp = pvt->line;
242 p = fgets(bufp + offset, bufsiz - offset, pvt->fp);
250 strcpy(ndbuf, bufp);
255 bufp = dbuf;
  /src/external/gpl2/xcvs/dist/src/
buffer.h 113 char *bufp; member in struct:buffer_data
115 /* The number of data bytes found at BUFP. */
buffer.h 113 char *bufp; member in struct:buffer_data
115 /* The number of data bytes found at BUFP. */
  /src/sbin/fsck_ext2fs/
utilities.c 149 char *bufp; local
159 bufp = malloc((size_t)sblock.e2fs_bsize);
160 if (bp == NULL || bufp == NULL) {
162 free(bufp);
167 bp->b_un.b_buf = bufp;
  /src/sys/arch/atari/dev/
md_root.c 90 char *bufp; /* current output buffer */ member in struct:read_info
91 char *ebufp; /* absolute maximum for bufp */
174 rs.bufp = md->md_addr;
223 bp->b_data = rsp->bufp;
242 rsp->bufp += done;
269 if ((rsp->bufp + nbyte) >= rsp->ebufp)
271 memcpy(rsp->bufp, buf, nbyte);
272 rsp->bufp += nbyte;
  /src/sys/arch/ia64/stand/efi/libefi/
efifs.c 130 char *bufp; local
132 bufp = buf;
137 status = file->Read(file, &sz, bufp);
148 bufp += sz;
161 char *bufp; local
163 bufp = buf;
168 status = file->Write(file, &sz, bufp);
179 bufp += sz;
  /src/sys/dev/ofw/
ofnet.c 150 char *bufp; local
162 bufp = buf;
227 memcpy(mtod(m, char *), bufp, l); local
228 bufp += l;
277 char *bufp; local
305 for (bufp = buf; (m = m0) != NULL;) {
306 memcpy(bufp, mtod(m, char *), m->m_len);
307 bufp += m->m_len;
318 memset(bufp, 0, ETHER_MIN_LEN - ETHER_CRC_LEN - len);
319 bufp += ETHER_MIN_LEN - ETHER_CRC_LEN - len
    [all...]
  /src/external/bsd/libpcap/dist/
pcap-libdlpi.c 407 u_char *bufp; local
413 bufp = p->bp;
429 bufp = (u_char *)p->buffer + p->offset;
431 retv = dlpi_recv(pd->dlpi_hd, NULL, NULL, bufp,
451 return (pcap_process_pkts(p, callback, user, count, bufp, len));
  /src/external/bsd/ntp/dist/libparse/
ieee754io.c 105 unsigned char *bufp,
116 snprintf(hex, sizeof(hex), "%02x", bufp[i]);
127 unsigned char *bufp,
134 val = *(bufp + offset[*fieldindex]);
137 printf("fetchieee754: getbyte(0x%08x, %d) = 0x%02x\n", (unsigned int)(bufp)+offset[*fieldindex], *fieldindex, val);
146 unsigned char *bufp,
152 *(bufp + offsets[*fieldindex]) = val;
169 unsigned char *bufp = *buffpp; local
208 val = get_byte(bufp, offsets, &fieldindex); /* fetch sign byte & first part of characteristic */
213 val = get_byte(bufp, offsets, &fieldindex); /* fetch rest of characteristic and start of mantissa *
    [all...]
  /src/external/bsd/pkg_install/dist/lib/
file.c 295 char *bufp, *tmp; local
298 for (bufp = buf, remaining = size; remaining > 1 && *fmt;) {
300 *bufp++ = *fmt++;
311 quoted = shquote(name, bufp, remaining);
316 bufp += quoted;
321 quoted = shquote(dir, bufp, remaining);
326 bufp += quoted;
334 quoted = shquote(tmp, bufp, remaining);
340 bufp += quoted;
347 quoted = shquote(cp, bufp, remaining)
    [all...]
  /src/external/bsd/ppp/dist/pppd/
cbcp.c 368 u_char *bufp = buf; local
387 PUTCHAR(CB_CONF_USER, bufp);
389 PUTCHAR(len , bufp);
390 PUTCHAR(5, bufp); /* delay */
391 PUTCHAR(1, bufp);
392 BCOPY(us->us_number, bufp, slen + 1);
399 PUTCHAR(CB_CONF_ADMIN, bufp);
401 PUTCHAR(len, bufp);
402 PUTCHAR(5, bufp); /* delay */
409 PUTCHAR(CB_CONF_NO, bufp);
    [all...]

Completed in 57 milliseconds

1 2 3 4 5 6 7 8 9