/titanic_50/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | rdr_messages.c | 1733 char *bufptr; in pack_ses_req_request() local 1771 bufptr = *buf; in pack_ses_req_request() 1773 (void) memcpy(bufptr, &ses_req, sizeof (rdr_ses_req_t)); in pack_ses_req_request() 1774 bufptr += sizeof (rdr_ses_req_t); in pack_ses_req_request() 1777 (void) memcpy(bufptr, params->locale_str, locale_str_len); in pack_ses_req_request() 1778 bufptr += locale_str_len; in pack_ses_req_request() 1793 char *bufptr; in unpack_ses_req_request() local 1801 bufptr = (char *)buf; in unpack_ses_req_request() 1802 (void) memcpy(&ses_req_data, bufptr, sizeof (rdr_ses_req_t)); in unpack_ses_req_request() 1803 bufptr += sizeof (rdr_ses_req_t); in unpack_ses_req_request() [all …]
|
/titanic_50/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | tparm.c | 136 char *bufptr = buffer; local 175 *(bufptr++) = *string; 182 *(bufptr++) = '%'; 185 bufptr += sprintf(bufptr, "%ld", npop()); 191 bufptr += sprintf( 192 bufptr, "%0*ld", len, npop() 199 bufptr += sprintf( 200 bufptr, "%*ld", len, npop() 204 *(bufptr++) = (char) npop(); 207 strcpy(bufptr, spop()); [all …]
|
/titanic_50/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | tparm.c | 139 char *bufptr = buffer; in tparm() local 155 *(bufptr++) = *string; in tparm() 172 bufptr += sprintf(bufptr, in tparm() 178 bufptr += sprintf(bufptr, in tparm() 207 *(bufptr++) = '%'; in tparm() 210 *(bufptr++) = (char) npop(); in tparm() 383 *bufptr = '\0'; in tparm()
|
/titanic_50/usr/src/lib/libbsm/common/ |
H A D | audit_crontab.c | 49 char **bufptr); 167 audit_crontab_get_diffs(char *cf, char *tmp_name, char **bufptr) in audit_crontab_get_diffs() argument 207 *bufptr = NULL; in audit_crontab_get_diffs() 218 *bufptr = err_buf; in audit_crontab_get_diffs() 223 *bufptr = NULL; in audit_crontab_get_diffs() 228 *bufptr = buf; in audit_crontab_get_diffs() 231 *bufptr = NULL; in audit_crontab_get_diffs() 238 *bufptr = buf; in audit_crontab_get_diffs() 240 *bufptr = NULL; in audit_crontab_get_diffs()
|
/titanic_50/usr/src/lib/libc/port/print/ |
H A D | doprnt.c | 92 retp = put_wide(iop, &bufptr, bufferend, p, n, sflag); \ 101 retp = pad_wide(iop, &bufptr, bufferend, s, n, sflag); \ 132 if (snflag || bufptr > bufferend ||\ 133 (unsigned long)(bufferend - bufptr) < (n)) {\ 134 if (!_dowrite(p, n, iop, &bufptr)) {\ 138 unsigned char *fbp = bufptr;\ 145 bufptr += 4;\ 151 bufptr += 3;\ 156 bufptr += 2;\ 159 *bufptr++ = *p;\ [all …]
|
/titanic_50/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_dyndns.c | 954 char *bufptr; in dyndns_build_tkey_msg() local 965 bufptr = buf; in dyndns_build_tkey_msg() 969 bufptr = dyndns_put_nshort(bufptr, in dyndns_build_tkey_msg() 972 if (dyndns_build_header(&bufptr, BUFLEN_TCP(bufptr, buf), *id, queryReq, in dyndns_build_tkey_msg() 979 if (dyndns_build_quest_zone(&bufptr, BUFLEN_TCP(bufptr, buf), key_name, in dyndns_build_tkey_msg() 984 if (dyndns_build_tkey(&bufptr, BUFLEN_TCP(bufptr, buf), key_name, in dyndns_build_tkey_msg() 989 return (bufptr - buf); in dyndns_build_tkey_msg() 1223 char *bufptr; in dyndns_build_add_remove_msg() local 1239 bufptr = buf; in dyndns_build_add_remove_msg() 1244 if (dyndns_build_header(&bufptr, BUFLEN_UDP(bufptr, buf), *id, queryReq, in dyndns_build_add_remove_msg() [all …]
|
/titanic_50/usr/src/cmd/msgfmt/ |
H A D | msgfmt.c | 196 char *bufptr = 0; in read_psffm() local 334 bufptr = gmsgid; in read_psffm() 379 bufptr = gmsgstr; in read_psffm() 430 bufptr = gcurrent_domain; in read_psffm() 447 if (!bufptr) { in read_psffm() 463 if (bufptr == gmsgid) { in read_psffm() 467 bufptr = gmsgid; in read_psffm() 470 } else if (bufptr == gmsgstr) { in read_psffm() 474 bufptr = gmsgstr; in read_psffm() 493 bufptr[bufptr_index++] = mb; in read_psffm() [all …]
|
/titanic_50/usr/src/tools/aw/ |
H A D | aw.c | 177 char *bufptr; in copyuntil_path() local 207 bufptr = buf; in copyuntil_path() 214 (strncmp(bufptr, wspace, wspace_len) == 0)) { in copyuntil_path() 215 bufptr += wspace_len; in copyuntil_path() 223 (strncmp(bufptr, PROTO_INC, proto_inc_len) == 0)) { in copyuntil_path() 224 bufptr += proto_inc_len; in copyuntil_path() 228 (strncmp(bufptr, SYS_INC, sys_inc_len) == 0)) { in copyuntil_path() 229 bufptr += sys_inc_len; in copyuntil_path() 234 if (out && (fwrite(bufptr, 1, bufcnt, out) != bufcnt)) { in copyuntil_path()
|
/titanic_50/usr/src/lib/print/libhttp-core/common/ |
H A D | http.c | 1282 *bufptr, /* Pointer into input buffer */ in httpGets() local 1304 bufptr = http->buffer; in httpGets() 1307 while (bufptr < bufend) in httpGets() 1308 if (*bufptr == 0x0a) in httpGets() 1311 bufptr ++; in httpGets() 1313 if (bufptr >= bufend && http->used < HTTP_MAX_BUFFER) in httpGets() 1375 bufptr = bufend; in httpGets() 1378 while (bufptr >= bufend && http->used < HTTP_MAX_BUFFER); in httpGets() 1387 bufptr = http->buffer; in httpGets() 1391 while (bufptr < bufend && bytes < length) in httpGets() [all …]
|
/titanic_50/usr/src/ucblib/libucb/port/stdio/ |
H A D | doprnt.c | 64 if ((newbufptr = bufptr + (n)) > bufferend) { \ 65 _dowrite((p), (n), iop, &bufptr); \ 67 (void) memcpy(bufptr, (p), (n)); \ 68 bufptr = newbufptr; \ 73 _dowrite((s), 20, iop, &bufptr); \ 166 unsigned char *bufptr; in _doprnt() local 269 bufptr = iop->_ptr; in _doprnt() 271 (unsigned char *)((long)bufptr | (-1L & ~HIBITL)) in _doprnt() 293 ptrdiff_t d = bufptr - iop->_ptr; in _doprnt() 295 iop->_ptr = bufptr; in _doprnt() [all …]
|
/titanic_50/usr/src/lib/libshell/common/edit/ |
H A D | history.c | 770 register char *bufptr = ((char*)buff)+insize; in hist_write() local 784 while(--bufptr >= (char*)buff) in hist_write() 786 c= *bufptr; in hist_write() 789 if(c=='\\' && *(bufptr+1)!='\n') in hist_write() 790 bufptr++; in hist_write() 795 if(++bufptr <= (char*)buff) in hist_write() 797 *bufptr++ = '\n'; in hist_write() 798 *bufptr++ = 0; in hist_write() 799 size = bufptr - (char*)buff; in hist_write() 826 *bufptr++ = 0; in hist_write() [all …]
|
/titanic_50/usr/src/grub/grub-0.97/netboot/ |
H A D | natsemi.c | 168 u32 bufptr; member 509 txd.bufptr = virt_to_bus(&txb[0]); in natsemi_init_txd() 538 rxd[i].bufptr = virt_to_bus(&rxb[i*RX_BUF_SIZE]); in natsemi_init_rxd() 541 i, &rxd[i], rxd[i].link, rxd[i].cmdsts, rxd[i].bufptr); in natsemi_init_rxd() 638 txd.bufptr = virt_to_bus(&txb[0]); in natsemi_transmit() 708 rxd[cur_rx].bufptr = virt_to_bus(&rxb[cur_rx*RX_BUF_SIZE]); in natsemi_poll()
|
H A D | ns83820.c | 360 uint64_t bufptr; member 367 u32 bufptr; member 515 rx_ring[i].bufptr = in ns83820_setup_rx() 577 tx_ring[i].bufptr = 0; in ns83820_reset() 745 tx_ring[cur_tx].bufptr = virt_to_le32desc(&txb); in ns83820_transmit()
|
H A D | sis900.c | 700 txd.bufptr = virt_to_bus(&txb[0]); in sis900_init_txd() 729 rxd[i].bufptr = virt_to_bus(&rxb[i*RX_BUF_SIZE]); in sis900_init_rxd() 732 i, &rxd[i], rxd[i].link, rxd[i].cmdsts, rxd[i].bufptr); in sis900_init_rxd() 1107 txd.bufptr = virt_to_bus(&txb[0]); in sis900_transmit() 1180 rxd[cur_rx].bufptr = virt_to_bus(&rxb[cur_rx*RX_BUF_SIZE]); in sis900_poll()
|
/titanic_50/usr/src/uts/common/smbsrv/ndl/ |
H A D | srvsvc.ndl | 52 * OUT char ** bufptr); 54 * The bufptr is a pointer-to-pointer (**). The NetXXXGetInfo() function 55 * malloc()s memory, and sets *bufptr to the memory. The API's 56 * are undiscriminated about what bufptr really points to. 72 * } bufptr); 84 * } bufptr; 102 * union XXXGetInfo_result_u bufptr; 131 * struct ..._result { DWORD level; union ..._ru bufptr; } 146 * param->result.bufptr.nullptr = &rb; // anything fits 190 CASE(NUM) struct INFOPREF##_##NUM * bufptr##NUM; [all …]
|
/titanic_50/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_mangle_name.c | 383 #define bufptr u.u_bufptr in smb_unmangle() macro 410 bufptr = buf; in smb_unmangle() 413 while ((bufptr += reclen) < buf + bufsize) { in smb_unmangle()
|
/titanic_50/usr/src/lib/cfgadm_plugins/pci/common/ |
H A D | cfga.c | 830 char *bufptr, *bufptr2, *pci, *apid; in get_logical_name() local 843 bufptr = strrchr(apid, '/'); in get_logical_name() 846 pci = ++bufptr; in get_logical_name() 847 bufptr = strchr(pci, ','); in get_logical_name() 848 if (bufptr != NULL) { in get_logical_name() 849 *bufptr = '\0'; in get_logical_name() 852 bufptr = strchr(pci, '@'); in get_logical_name() 853 if (bufptr != NULL) { in get_logical_name() 854 *bufptr = '\0'; in get_logical_name() 855 bufptr++; in get_logical_name() [all …]
|
/titanic_50/usr/src/uts/common/io/e1000api/ |
H A D | e1000_manage.c | 227 u8 *bufptr = buffer; in e1000_mng_host_if_write_generic() local 245 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write_generic() 264 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write_generic() 274 *(tmp + j) = *bufptr++; in e1000_mng_host_if_write_generic()
|
/titanic_50/usr/src/cmd/devfsadm/ |
H A D | cfg_link.c | 685 char *bufptr; in pci_cfg_ap_path() local 709 bufptr = buf; in pci_cfg_ap_path() 715 bufptr, bufsz); in pci_cfg_ap_path() 723 (void) strncat(bufptr, AP_PATH_IOB_SEP, bufsz); in pci_cfg_ap_path() 724 len = strlen(bufptr); in pci_cfg_ap_path() 725 bufptr += len; in pci_cfg_ap_path() 732 rv = pci_cfg_ap_node(pci_dev, curnode, ph, bufptr, bufsz, 0); in pci_cfg_ap_path()
|
/titanic_50/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | wkssvc_svc.c | 100 param->result.bufptr.nullptr = (void *)rb; in wkssvc_s_NetWkstaGetInfo() 152 param->result.bufptr.nullptr = 0; in wkssvc_s_NetWkstaGetInfo()
|
H A D | srvsvc_clnt.c | 220 arg.result.bufptr.p = &infonres; in srvsvc_net_session_enum() 231 nsi1 = ((struct mslm_infonres *)arg.result.bufptr.p)->entries; in srvsvc_net_session_enum() 386 sv101 = arg.result.bufptr.bufptr101; in srvsvc_net_server_getinfo() 527 tod = arg.bufptr; in srvsvc_net_remote_tod()
|
/titanic_50/usr/src/cmd/boot/installboot/ |
H A D | installboot.c | 388 char *bufptr; in write_zfs_bootblock() local 401 bufptr = bblock->buf; in write_zfs_bootblock() 404 if (write_out(device->fd, bufptr, size, SECTOR_SIZE) != BC_SUCCESS) { in write_zfs_bootblock() 411 bufptr += BBLK_DATA_RSVD_SIZE; in write_zfs_bootblock() 414 if (write_out(device->fd, bufptr, size, BBLK_ZFS_EXTRA_OFF) in write_zfs_bootblock()
|
/titanic_50/usr/src/uts/common/io/idm/ |
H A D | idm_text.c | 1374 int max_xfer_len, char *bufptr, int *transit) in idm_pdu_init_text_data() argument 1384 if (bufptr == NULL) { in idm_pdu_init_text_data() 1405 (uintptr_t)bufptr; in idm_pdu_init_text_data() 1410 bcopy(bufptr, pdu->isp_data, (size_t)len); in idm_pdu_init_text_data() 1417 start_ptr = bufptr; in idm_pdu_init_text_data() 1418 end_ptr = &bufptr[max_xfer_len - 1]; in idm_pdu_init_text_data()
|
/titanic_50/usr/src/uts/common/sys/idm/ |
H A D | idm_text.h | 185 int max_xfer_len, char *bufptr, int *transit);
|
/titanic_50/usr/src/cmd/backup/restore/ |
H A D | tape.c | 1044 char *bufptr; in getfile() local 1069 for (i = 0, bufptr = buf; i < spcl.c_count; i++) { in getfile() 1071 readtape(bufptr); in getfile() 1072 bufptr += tp_bsize; in getfile() 1080 bufptr = buf; in getfile() 1089 bufptr = buf; in getfile() 1116 bufptr = buf; in getfile()
|