/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmparse.c | 96 register char c,*rptr; local 99 rptr = ptr; 100 switch(*++rptr) { 126 if (*rptr >= '0' && *rptr <= '7') { 128 c = c*8 + (*rptr - '0'); 129 if (*++rptr < '0' || *rptr > '7') break; 131 rptr--; 136 } else if (*rptr [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | siena_sram.c | 86 unsigned int rptr; local 111 for (wptr = 0, rptr = 0; wptr < rows; ++wptr) { 115 if ((wptr - rptr) < 64 && wptr < rows - 1) 120 for (; rptr <= wptr; ++rptr) { 121 func(rptr, B_FALSE, &qword); 122 EFX_BAR_TBL_READQ(enp, FR_AZ_BUF_HALF_TBL, rptr, 133 for (wptr = 0, rptr = 0; wptr < rows; ++wptr) { 137 if ((wptr - rptr) < 64 && wptr < rows - 1) 142 for (; rptr < [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | deflate.c | 233 u_char *rptr, *wptr; local 237 rptr = mi; 238 if (*rptr == 0) 239 ++rptr; 240 ++rptr; 243 seq = (rptr[0] << 8) + rptr[1]; 244 rptr += 2; 259 state->strm.next_in = rptr; 260 state->strm.avail_in = mi + inlen - rptr; 305 u_char *rptr; local [all...] |
H A D | bsd-comp.c | 444 u_char *rptr; local 447 rptr = dmsg; 448 ent = rptr[0]; /* get the protocol */ 450 ++rptr; 452 ent = rptr[0]; 459 ++rptr; 460 slen = dmsg + mlen - rptr; 463 c = *rptr++; 563 u_char *p, *rptr, *wptr; local 567 rptr [all...] |
/illumos-gate/usr/src/lib/libast/common/uwin/ |
H A D | random.c | 156 (MAX_TYPES * (rptr - state)) + TYPE_3 == TYPE_3. */ 175 (The position of the rear pointer, rptr, is really 0 (as explained above 180 static long int *rptr = &randtbl[1]; variable 220 rptr = &state[0]; 245 state[-1] = (MAX_TYPES * (rptr - state)) + rand_type; 289 state[-1] = (MAX_TYPES * (rptr - state)) + rand_type; 313 state[-1] = (MAX_TYPES * (rptr - state)) + rand_type; 335 rptr = &state[rear]; 366 *fptr += *rptr; 373 ++rptr; [all...] |
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.misc.c | 446 char *rptr, *bp; local 448 if ((rptr = malloc(size)) == NULL) 450 bp = rptr + size; 453 return (rptr); 459 char *rptr = ptr, *bp; local 463 if (rptr < end) { 468 rptr = xalloc(size); 470 (void) memcpy(rptr, ptr, size); 471 return (rptr); 473 if (rptr < xalloc_botto 508 char *rptr = ptr; local [all...] |
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | deflate.c | 303 uchar_t *rptr, *rmax; local 317 if (rptr != NULL) { \ 318 while (rptr >= rmax) { \ 320 rptr = NULL; \ 323 rptr = mp->b_rptr; \ 330 if (rptr != NULL) { \ 331 (v) = *rptr++; \ 340 rptr = mp->b_rptr; 353 if (rptr == NULL) 355 r = *rptr; 537 uchar_t *rptr, *rmax; local 773 uchar_t *rptr, *rmax; local [all...] |
H A D | bsd-comp.c | 571 uchar_t *rptr, *rmax; local 613 if (rptr != NULL) { \ 614 while (rptr >= rmax) { \ 616 rptr = NULL; \ 619 rptr = mp->b_rptr; \ 626 if (rptr != NULL) { \ 627 (v) = *rptr++; \ 639 rptr = mp->b_rptr; 658 if (rptr == NULL || ent == PPP_COMP || ent == PPP_COMPFRAG) 728 if (rptr 914 uchar_t *rptr, *rmax; local 1110 uchar_t *rptr, *rmax; local [all...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | random.c | 117 * fptr and rptr are two pointers into the state info, a front and a rear 123 * (The position of the rear pointer, rptr, is really 0 (as explained above 127 long *fptr, *rptr; member in struct:_randomjunk 152 * MAX_TYPES*(rptr - state) + TYPE_3 == TYPE_3. 218 rp->rptr = &rp->state[0]; 259 MAX_TYPES*(rp->rptr - rp->state) + rp->rand_type; 290 : MAX_TYPES * (rp->rptr - rp->state) + rp->rand_type; 324 : MAX_TYPES*(rp->rptr - rp->state) + rp->rand_type; 341 rp->rptr = &rp->state[rear]; 375 *rp->fptr += *rp->rptr; [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | random.c | 134 * fptr and rptr are two pointers into the state info, a front and a rear 140 * (The position of the rear pointer, rptr, is really 0 (as explained above 144 unsigned int *fptr, *rptr; member in struct:_randomjunk 169 * MAX_TYPES*(rptr - state) + TYPE_3 == TYPE_3. 242 (unsigned int)(MAX_TYPES*(rp->rptr - rp->state) + rp->rand_type); 281 (rp->rptr - rp->state) + rp->rand_type); 318 (rp->rptr - rp->state) + rp->rand_type); 335 rp->rptr = &rp->state[ rear ]; 370 *rp->fptr += *rp->rptr; 374 ++rp->rptr; [all...] |
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_ftp_pxy.c | 433 char *rptr, *wptr, cmd[6], c; local 439 rptr = f->ftps_rptr; 443 c = rptr[i]; 491 while ((*rptr++ != '\n') && (rptr < wptr)) 493 f->ftps_rptr = rptr; 796 char *rptr, *wptr; local 802 rptr = f->ftps_rptr; 805 if (*rptr == ' ') 807 if (!ISDIGIT(*rptr) || !ISDIGI 1040 char *rptr, *wptr, *s; local [all...] |
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | bootdev.c | 217 char *rptr, *optr, *offline; local 263 rptr = ret_buf; 272 (void) snprintf(rptr, rlen, "%s", prom_path); 353 (void) snprintf(rptr, rlen, "%s", prom_path); 354 rlen -= strlen(rptr) + 1; 355 rptr += strlen(rptr) + 1; 374 bcopy(offline, rptr, rlen);
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsddi.c | 611 uchar_t *rptr = mp->b_rptr; local 623 if ((uintptr_t)mp->b_wptr - (uintptr_t)rptr < 628 switch (((union T_primitives *)(uintptr_t)rptr)->type) { 655 if (((union T_primitives *)(uintptr_t)rptr)->type == 673 ((union T_primitives *)(uintptr_t)rptr)->type); 677 if (*rptr & FLUSHW) 714 uchar_t *rptr = mp->b_rptr; local 720 ASSERT(((uintptr_t)mp->b_wptr - (uintptr_t)rptr) <= 722 if ((uintptr_t)mp->b_wptr - (uintptr_t)rptr >= 724 if (((union T_primitives *)(uintptr_t)rptr) 742 uchar_t *rptr = mp->b_rptr; local 827 uchar_t *rptr; local [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | multidata.h | 123 #define PDESC_PLD_SPAN_ADD(p, pbuf_idx, rptr, len) { \ 126 (p)->pld_ary[(p)->pld_cnt].pld_rptr = (rptr); \ 127 (p)->pld_ary[(p)->pld_cnt].pld_wptr = (rptr) + (len); \
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_output.c | 90 uchar_t *rptr; local 125 rptr = mp->b_rptr; 126 if ((mp->b_wptr - rptr) >= sizeof (t_scalar_t)) { 127 type = ((union T_primitives *)rptr)->type; 894 uchar_t *rptr; local 910 rptr = mp->b_rptr; 911 ASSERT((uintptr_t)(mp->b_wptr - rptr) <= (uintptr_t)INT_MAX); 912 if ((mp->b_wptr - rptr) >= sizeof (t_scalar_t)) { 913 type = ((union T_primitives *)rptr)->type; 1085 uchar_t *rptr; local 1794 uchar_t *rptr; local 2332 uchar_t *rptr; local 2683 uchar_t *rptr; local 3027 uchar_t *rptr; local 3621 tcp_fill_header(tcp_t *tcp, uchar_t *rptr, clock_t now, int num_sack_blk) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | i8042.c | 144 * rptr is next byte to read, == wptr means empty 147 int rptr; member in struct:i8042_port 916 port->rptr = 0; 1034 if (new_wptr == port->rptr) { 1185 ret = port->rptr != port->wptr; 1192 if (port->rptr != port->wptr) { 1193 ret = port->buf[port->rptr]; 1194 port->rptr = (port->rptr + 1) % BUFSIZ; 1218 if (port->rptr ! [all...] |
/illumos-gate/usr/src/cmd/diskscan/ |
H A D | diskscan.c | 176 char *rptr; local 246 rptr = fgets(replybuf, 64*sizeof (char), stdin); 247 if (!rptr || !((replybuf[0] == 'Y') || (replybuf[0] == 'y')))
|
/illumos-gate/usr/src/stand/lib/tcp/ |
H A D | tcp.c | 2614 uchar_t *rptr; local 2645 rptr = mp->b_rptr; 2646 iph = (struct ip *)rptr; 2647 ip_hdr_len = IPH_HDR_LENGTH(rptr); 2658 tcph = (tcpha_t *)&rptr[ip_hdr_len]; 2661 assert((uintptr_t)(mp->b_wptr - rptr) <= (uintptr_t)INT_MAX); 2662 seg_len = (int)(mp->b_wptr - rptr) - 3153 uchar_t tos = ((struct ip *)rptr)->ip_tos; 4614 uchar_t *rptr; local 4917 rptr 5518 uchar_t *rptr; local 5619 uchar_t *rptr; local 5736 uchar_t *rptr; local 6074 uchar_t *rptr; local [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/ |
H A D | sparc_elf.c | 113 elf_plt_write(uintptr_t addr, uintptr_t vaddr, void *rptr, uintptr_t symval, argument 116 Rela *rel = (Rela *)rptr; 238 elf_plt_trace_write(caddr_t addr, Rela *rptr, Rt_map *rlmp, Rt_map *dlmp, argument 253 rptr, (uintptr_t)to, pltndx); 329 (void) elf_plt_write((uintptr_t)addr, (uintptr_t)addr, rptr, 355 Rela *rptr; local 410 rptr = (Rela *)(addr + reloff); 411 rsymndx = ELF_R_SYM(rptr->r_info); 476 rptr, lmp, nlmp, nsym, symndx, pltndx, 486 (uintptr_t)vaddr, rptr, symva [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/ |
H A D | sparc_elf.c | 145 elf_plt_write(uintptr_t addr, uintptr_t vaddr, void *rptr, uintptr_t symval, argument 148 Rela *rel = (Rela *)rptr; 386 elf_plt_trace_write(caddr_t addr, Rela *rptr, Rt_map *rlmp, Rt_map *dlmp, argument 401 rptr, (uintptr_t)to, pltndx); 456 (void) elf_plt_write((uintptr_t)addr, (uintptr_t)addr, rptr, 482 Rela *rptr; local 551 rptr = (Rela *)(addr + reloff); 552 rsymndx = ELF_R_SYM(rptr->r_info); 619 rptr, lmp, nlmp, nsym, symndx, pltndx, 629 (uintptr_t)vaddr, rptr, symva [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/ |
H A D | amd64_elf.c | 217 Rela *rptr; local 259 rptr = (Rela *)(addr + reloff); 260 rsymndx = ELF_R_SYM(rptr->r_info); 310 addr = rptr->r_offset; 940 elf_plt_write(uintptr_t addr, uintptr_t vaddr, void *rptr, uintptr_t symval, argument 943 Rela *rel = (Rela*)rptr;
|
/illumos-gate/usr/src/ucbcmd/sed/ |
H A D | sed0.c | 797 union reptr *rptr, *trptr; local 807 rptr = lptr->chain; 808 while(trptr = rptr->r2.lb1) { 809 rptr->r2.lb1 = lptr->address; 810 rptr = trptr; 812 rptr->r2.lb1 = lptr->address;
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip6_input.c | 526 #define rptr ((uchar_t *)ip6h) macro 555 len = mp->b_wptr - rptr; 561 mp = ip_check_length(mp, rptr, len, pkt_len, IPV6_HDR_LEN, ira); 657 rptr + IPV6_HDR_LEN + MIN_EHDR_LEN > mp->b_wptr) { 676 rptr + IPV6_HDR_LEN + ehdrlen > mp->b_wptr) { 822 #undef rptr macro 1994 #define rptr ((uchar_t *)ip6h) macro 2065 len = mp->b_wptr - rptr; 2075 len = mp->b_wptr - rptr; 2129 len = mp->b_wptr - rptr; 2766 #undef rptr macro [all...] |
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_rx.c | 146 uint8_t *rptr; local 204 rptr = DMA_VPTR(*srbdp->bufp); 206 bcopy(rptr + NGE_HEADROOM, mp->b_rptr, len);
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_rx.c | 401 unsigned char *rptr; local 420 rptr = mp->b_rptr; 430 bcopy(rqbd->rqb->base + OCE_RQE_BUF_HEADROOM, rptr, frag_size); 431 rptr += frag_size;
|