Searched refs:bptr (Results 1 - 25 of 44) sorted by relevance

12

/illumos-gate/usr/src/cmd/vi/port/
H A Dprintf.c80 unsigned char *bptr; local
175 * emit the characters starting at "bptr" and
182 ptr = bptr = &buf[0];
187 bptr = va_arg(ap,unsigned char *);
188 if (bptr==0)
189 bptr = (unsigned char *)"(null pointer)";
192 for (n=0; *bptr++ && n < prec; n++) ;
193 ptr = --bptr;
194 bptr -= n;
218 bptr
[all...]
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dconn.c424 char *bptr, *sptr; local
427 bptr = buf;
433 *bptr++ = '\0';
440 bptr = buf;
443 *bptr++ = '\\';
446 *bptr++ = '\\';
447 *bptr++ = *sptr;
451 *bptr++ = *sptr;
453 *bptr = '\0';
570 if ((bptr
580 char *sptr, *bptr; local
[all...]
/illumos-gate/usr/src/lib/libmp/common/
H A Dmdiv.c66 short *aptr, *bptr; local
73 bptr = b;
77 *bptr, *aptr);
79 borrow -= (*aptr++) * qx - *bptr;
82 *bptr, *aptr);
84 *bptr++ = (short)(borrow & 077777);
87 *bptr, *aptr);
93 *bptr, *aptr);
96 borrow += *bptr;
97 *bptr
[all...]
H A Dmult.c76 short *bptr; local
93 bptr = b->val;
97 bcache = *bptr++;
113 bcache = *bptr++;
/illumos-gate/usr/src/tools/ctf/stabs/common/
H A Dctfstabs.c128 static char *buf, *bptr; local
136 bptr = buf;
140 if (fgets(bptr, buflen - (size_t)(bptr - buf), fp) == NULL)
143 len = strlen(bptr);
145 if (bptr[len - 1] == '\n')
148 off = (size_t)((bptr + len) - buf);
151 bptr = buf + off;
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk2.c692 wchar_t *bptr = (wchar_t *)NULL; local
717 bptr = *cp = emalloc(sizeof (wchar_t) * (cplen + wcslen(fmt)));
722 if (bptr == (wchar_t *)NULL)
725 *bptr++ = c;
734 if (bptr == (wchar_t *)NULL)
737 *bptr++ = c;
750 if (bptr == (wchar_t *)NULL)
757 adjust_buf(cp, &cplen, &bptr, fmtbuf, 0);
764 (void) wsprintf(bptr, (const char *) fmtbuf, c);
765 bptr
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/emlxs/
H A Demlxs.c353 uint8_t *bptr; local
460 bptr = (uint8_t *)mdb_zalloc(size, UM_SLEEP|UM_GC);
462 if (bptr == 0) {
468 if (mdb_vread(bptr, size, (uintptr_t)dump_txtfile.buffer)
477 mdb_printf("%s", bptr);
507 bptr = (uint8_t *)mdb_zalloc(size, UM_SLEEP|UM_GC);
509 if (bptr == 0) {
515 if (mdb_vread(bptr, size, (uintptr_t)dump_dmpfile.buffer)
542 if ((*bptr >= 32) && (*bptr <
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dannounce.c191 char *bptr, *lptr; local
268 bptr = big_buf;
269 *(bptr++) = '\a'; /* send something to wake them up */
270 *(bptr++) = '\r'; /* add a \r in case of raw mode */
271 *(bptr++) = '\n';
276 *(bptr++) = *(lptr++);
281 *(bptr++) = ' ';
284 *(bptr++) = '\r'; /* add a \r in case of raw mode */
285 *(bptr++) = '\n';
287 *bptr
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_parse.c234 char *bptr; local
238 bptr = malloc (BUF_SIZE);
239 if (!bptr)
244 free (bptr);
248 if (fgets(bptr, BUF_SIZE, f) == NULL)
251 retval = parse_line(bptr, &state);
254 if (strstr(bptr, "___"))
256 free (bptr);
263 if (strlen(bptr) >= BUF_SIZE - 1) {
269 char *c = bptr
[all...]
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudio.cc331 caddr_t bptr; local
353 bptr = (caddr_t)tob->GetAddress(topos);
354 bufsiz = bptr - (caddr_t)tob->GetAddress();
355 if ((bptr == NULL) || (tob->GetByteCount() <= bufsiz)) {
369 err = ReadData((void*) bptr, bufsiz, frompos);
387 if ((bptr = new char[bufsiz]) == NULL)
391 err = ReadData((void*)bptr, bufsiz, frompos);
401 err = to->WriteData(bptr, bufsiz, topos);
417 delete bptr;
H A DAudioBuffer.cc468 caddr_t bptr; local
499 bptr = (caddr_t)GetAddress(frompos);
500 if (bptr == 0) {
514 if ((bptr + cnt) > (caddr_t)svcnt) {
516 cnt = (size_t)((caddr_t)svcnt - bptr);
528 err = to->WriteData(bptr, cnt, topos);
H A DAudioFile.cc568 caddr_t bptr; local
626 bptr = mapaddr + hdrsize + offset;
627 err = to->WriteData(bptr, cnt, topos);
/illumos-gate/usr/src/cmd/lp/filter/postscript/postreverse/
H A Dpostreverse.c111 nstrlen(const char *s, char *bptr) argument
115 while (s < bptr && *s != '\0')
131 nstrstr(const char *as1, const char *as2, char *bptr) argument
144 while (s1 < bptr && *s1)
147 while ((s1 < bptr) &&
165 strrstr(caddr_t s1, caddr_t s2, char *bptr) argument
171 t1 = s1 + nstrlen(s1, bptr) - 1;
172 t2 = s2 + nstrlen(s2, bptr) - 1;
183 t2 = s2 + nstrlen(s2, bptr) - 1;
355 WritePage(int fd, PAGE * p, int global, char *bptr) argument
469 char *bptr = document->start + document->size; local
519 char *bptr = document->start + document->size; local
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnss_dbdefs.c879 char **cv, *bptr; local
890 bptr = (char *)buffer + off;
891 uptr = (nssuint_t *)((void *)bptr);
898 arg->key.name = (const char *)bptr;
923 arg->key.serv.serv.name = (const char *)bptr;
925 bptr += len;
926 if (*(const char *)bptr == '\0')
929 arg->key.serv.proto = (const char *)bptr;
936 bptr += sizeof (nssuint_t);
937 arg->key.serv.proto = (const char *)bptr;
1187 char *dbname, *bptr; local
1260 char *bptr; local
[all...]
H A Dnss_common.c1588 char *bptr; local
1591 bptr = (char *)buffer + off;
1621 pdbd = (nss_dbd_t *)((void *)bptr);
1622 bptr += len;
1625 (void) strlcpy(bptr, p->name, n);
1627 bptr += n;
1632 (void) strlcpy(bptr, p->config_name, nc);
1633 bptr += nc;
1637 (void) strlcpy(bptr, p->default_config, dc);
1661 char *bptr; local
1767 char *bptr; local
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Dconn.c626 char *bptr, *sptr; local
629 bptr = buf;
635 *bptr++ = '\0';
642 bptr = buf;
645 *bptr++ = '\\';
648 *bptr++ = '\\';
649 *bptr++ = *sptr;
653 *bptr++ = *sptr;
655 *bptr = '\0';
773 if ((bptr
785 char *sptr, *bptr; local
[all...]
/illumos-gate/usr/src/lib/libeti/form/common/
H A Dform.c334 char *bptr = buf; local
347 bptr = malloc(cols + 1);
356 (void) winnstr(w, bptr, chunk);
358 if (bptr != _data_ahead(bptr, pad, chunk)) {
371 (void) winnstr(w, bptr, cols);
373 if (bptr != _data_ahead(bptr, pad, cols)) {
381 (void) free(bptr);
/illumos-gate/usr/src/cmd/diff/
H A Ddiffh.c291 char b[PATH_MAX], *bptr, *eptr; local
307 for (bptr = b; *bptr = *f1++; bptr++)
309 *bptr++ = '/';
313 while (*bptr++ = *f2++)
/illumos-gate/usr/src/lib/libxcurses/src/tic/
H A Dticparse.c61 struct use_item *fptr, *bptr; member in struct:use_item
80 * | NULL |<--+---- |<--+---- | bptr
142 fprintf(stderr, "ptr %x off %d bptr %x fptr %x str %s",
143 ptr, ptr->offset, ptr->bptr, ptr->fptr, line);
196 item->bptr = use_list.tail;
204 item->fptr = item->bptr = NULL;
220 use_list.tail = ptr->bptr;
222 (ptr->fptr)->bptr = ptr->bptr;
224 if (ptr->bptr
[all...]
/illumos-gate/usr/src/lib/nsswitch/dns/common/
H A Ddns_common.c402 char *bptr; local
447 bptr = (char *)buffer + pbuf->data_off;
731 (void) strlcpy(bptr, np, bsize - blen);
733 bptr += iplen;
734 *bptr++ = ' ';
736 (void) strlcpy(bptr, host, bsize - blen);
738 bptr += hlen;
740 *bptr++ = ' ';
742 (void) strlcpy(bptr, ap, bsize - blen);
744 bptr
[all...]
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Dscanf.c167 unsigned char *aptr, *bptr, *cptr; local
240 bptr = args[i++].a_end;
246 for (; bptr != cptr; *aptr++ = *bptr++);
/illumos-gate/usr/src/cmd/tic/
H A Dtic_parse.c115 struct use_item *fptr, *bptr; member in struct:use_item
138 * | NULL |<--+---- |<--+---- | bptr
190 ptr = ptr->bptr) {
244 fprintf(stderr, "ptr %x off %d bptr %x fptr %x str %s",
245 ptr, ptr->offset, ptr->bptr, ptr->fptr, line);
436 item->bptr = use_list.tail;
442 item->fptr = item->bptr = NULL;
459 use_list.tail = ptr->bptr;
461 (ptr->fptr)->bptr = ptr->bptr;
[all...]
H A Dtic_read.c119 read_entry(filename, bptr, nptr, sptr)
121 struct _bool_struct *bptr;
171 UB = &(bptr->_auto_left_margin);
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dpacklib.c239 register char *bptr; local
270 bptr = buffer;
272 for (ostr = data[0]; *(ostr++) = *(bptr++); /* nothing */)
280 ostr = nstr + *(bptr++);
281 while (*(ostr++) = *(bptr++))
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Donce.h126 CHR *bptr; /* store input position */ variable

Completed in 391 milliseconds

12