Home
last modified time | relevance | path

Searched refs:bufptr (Results 1 – 25 of 37) sorted by relevance

12

/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Drdr_messages.c1731 char *bufptr; in pack_ses_req_request() local
1769 bufptr = *buf; in pack_ses_req_request()
1771 (void) memcpy(bufptr, &ses_req, sizeof (rdr_ses_req_t)); in pack_ses_req_request()
1772 bufptr += sizeof (rdr_ses_req_t); in pack_ses_req_request()
1775 (void) memcpy(bufptr, params->locale_str, locale_str_len); in pack_ses_req_request()
1776 bufptr += locale_str_len; in pack_ses_req_request()
1791 char *bufptr; in unpack_ses_req_request() local
1799 bufptr = (char *)buf; in unpack_ses_req_request()
1800 (void) memcpy(&ses_req_data, bufptr, sizeof (rdr_ses_req_t)); in unpack_ses_req_request()
1801 bufptr += sizeof (rdr_ses_req_t); in unpack_ses_req_request()
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dtparm.c134 char *bufptr = buffer; local
173 *(bufptr++) = *string;
180 *(bufptr++) = '%';
183 bufptr += sprintf(bufptr, "%ld", npop());
189 bufptr += sprintf(
190 bufptr, "%0*ld", len, npop()
197 bufptr += sprintf(
198 bufptr, "%*ld", len, npop()
202 *(bufptr++) = (char) npop();
205 strcpy(bufptr, spop());
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dtparm.c137 char *bufptr = buffer; in tparm() local
153 *(bufptr++) = *string; in tparm()
170 bufptr += sprintf(bufptr, in tparm()
176 bufptr += sprintf(bufptr, in tparm()
205 *(bufptr++) = '%'; in tparm()
208 *(bufptr++) = (char) npop(); in tparm()
381 *bufptr = '\0'; in tparm()
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_crontab.c49 char **bufptr);
167 audit_crontab_get_diffs(char *cf, char *tmp_name, char **bufptr) in audit_crontab_get_diffs() argument
208 *bufptr = NULL; in audit_crontab_get_diffs()
219 *bufptr = err_buf; in audit_crontab_get_diffs()
224 *bufptr = NULL; in audit_crontab_get_diffs()
229 *bufptr = buf; in audit_crontab_get_diffs()
232 *bufptr = NULL; in audit_crontab_get_diffs()
239 *bufptr = buf; in audit_crontab_get_diffs()
241 *bufptr = NULL; in audit_crontab_get_diffs()
/illumos-gate/usr/src/lib/libc/port/print/
H A Ddoprnt.c92 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 …]
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_dyndns.c954 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 …]
/illumos-gate/usr/src/cmd/msgfmt/
H A Dmsgfmt.c194 char *bufptr = 0; in read_psffm() local
332 bufptr = gmsgid; in read_psffm()
377 bufptr = gmsgstr; in read_psffm()
428 bufptr = gcurrent_domain; in read_psffm()
445 if (!bufptr) { in read_psffm()
461 if (bufptr == gmsgid) { in read_psffm()
465 bufptr = gmsgid; in read_psffm()
468 } else if (bufptr == gmsgstr) { in read_psffm()
472 bufptr = gmsgstr; in read_psffm()
491 bufptr[bufptr_index++] = mb; in read_psffm()
[all …]
/illumos-gate/usr/src/lib/print/libhttp-core/common/
H A Dhttp.c1280 *bufptr, /* Pointer into input buffer */ in httpGets() local
1302 bufptr = http->buffer; in httpGets()
1305 while (bufptr < bufend) in httpGets()
1306 if (*bufptr == 0x0a) in httpGets()
1309 bufptr ++; in httpGets()
1311 if (bufptr >= bufend && http->used < HTTP_MAX_BUFFER) in httpGets()
1373 bufptr = bufend; in httpGets()
1376 while (bufptr >= bufend && http->used < HTTP_MAX_BUFFER); in httpGets()
1385 bufptr = http->buffer; in httpGets()
1389 while (bufptr < bufend && bytes < length) in httpGets()
[all …]
/illumos-gate/usr/src/ucblib/libucb/port/stdio/
H A Ddoprnt.c62 if ((newbufptr = bufptr + (n)) > bufferend) { \
63 _dowrite((p), (n), iop, &bufptr); \
65 (void) memcpy(bufptr, (p), (n)); \
66 bufptr = newbufptr; \
71 _dowrite((s), 20, iop, &bufptr); \
164 unsigned char *bufptr; in _doprnt() local
267 bufptr = iop->_ptr; in _doprnt()
269 (unsigned char *)((long)bufptr | (-1L & ~HIBITL)) in _doprnt()
291 ptrdiff_t d = bufptr - iop->_ptr; in _doprnt()
293 iop->_ptr = bufptr; in _doprnt()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mangle_name.c375 char *bufptr; in smb_unmangle() local
392 bufptr = buf; in smb_unmangle()
414 bufptr = buf; in smb_unmangle()
417 dp = (dirent64_t *)bufptr; in smb_unmangle()
424 bufptr += dp->d_reclen; in smb_unmangle()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dhistory.c803 register char *bufptr = ((char*)buff)+insize; in hist_write() local
817 while(--bufptr >= (char*)buff) in hist_write()
819 c= *bufptr; in hist_write()
822 if(c=='\\' && *(bufptr+1)!='\n') in hist_write()
823 bufptr++; in hist_write()
828 if(++bufptr <= (char*)buff) in hist_write()
830 *bufptr++ = '\n'; in hist_write()
831 *bufptr++ = 0; in hist_write()
832 size = bufptr - (char*)buff; in hist_write()
858 *bufptr++ = 0; in hist_write()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dnatsemi.c168 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 Dns83820.c360 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 Dsis900.c700 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()
/illumos-gate/usr/src/uts/common/smbsrv/ndl/
H A Dsrvsvc.ndl54 * OUT char ** bufptr);
56 * The bufptr is a pointer-to-pointer (**). The NetXXXGetInfo() function
57 * malloc()s memory, and sets *bufptr to the memory. The API's
58 * are undiscriminated about what bufptr really points to.
74 * } bufptr);
86 * } bufptr;
104 * union XXXGetInfo_result_u bufptr;
133 * struct ..._result { DWORD level; union ..._ru bufptr; }
148 * param->result.bufptr.nullptr = &rb; // anything fits
192 CASE(NUM) struct INFOPREF##_##NUM * bufptr##NUM;
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c824 char *bufptr, *bufptr2, *pci, *apid; in get_logical_name() local
837 bufptr = strrchr(apid, '/'); in get_logical_name()
840 pci = ++bufptr; in get_logical_name()
841 bufptr = strchr(pci, ','); in get_logical_name()
842 if (bufptr != NULL) { in get_logical_name()
843 *bufptr = '\0'; in get_logical_name()
846 bufptr = strchr(pci, '@'); in get_logical_name()
847 if (bufptr != NULL) { in get_logical_name()
848 *bufptr = '\0'; in get_logical_name()
849 bufptr++; in get_logical_name()
[all …]
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_manage.c227 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()
/illumos-gate/usr/src/cmd/devfsadm/
H A Dcfg_link.c694 char *bufptr; in pci_cfg_ap_path() local
718 bufptr = buf; in pci_cfg_ap_path()
724 bufptr, bufsz); in pci_cfg_ap_path()
732 (void) strncat(bufptr, AP_PATH_IOB_SEP, bufsz); in pci_cfg_ap_path()
733 len = strlen(bufptr); in pci_cfg_ap_path()
734 bufptr += len; in pci_cfg_ap_path()
741 rv = pci_cfg_ap_node(pci_dev, curnode, ph, bufptr, bufsz, 0); in pci_cfg_ap_path()
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dwkssvc_svc.c100 param->result.bufptr.nullptr = (void *)rb; in wkssvc_s_NetWkstaGetInfo()
152 param->result.bufptr.nullptr = 0; in wkssvc_s_NetWkstaGetInfo()
H A Dsrvsvc_clnt.c222 arg.result.bufptr.p = &infonres; in srvsvc_net_session_enum()
233 nsi1 = ((struct mslm_infonres *)arg.result.bufptr.p)->entries; in srvsvc_net_session_enum()
509 tod = arg.bufptr; in srvsvc_net_remote_tod()
/illumos-gate/usr/src/cmd/boot/installboot/sparc/
H A Dinstallboot.c388 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()
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/
H A Dsrvsvc1.ndl58 * } bufptr,
118 * } bufptr,
/illumos-gate/usr/src/uts/common/io/idm/
H A Didm_text.c1374 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()
/illumos-gate/usr/src/uts/common/sys/idm/
H A Didm_text.h185 int max_xfer_len, char *bufptr, int *transit);
/illumos-gate/usr/src/cmd/backup/restore/
H A Dtape.c1045 char *bufptr; in getfile() local
1070 for (i = 0, bufptr = buf; i < spcl.c_count; i++) { in getfile()
1072 readtape(bufptr); in getfile()
1073 bufptr += tp_bsize; in getfile()
1081 bufptr = buf; in getfile()
1090 bufptr = buf; in getfile()
1117 bufptr = buf; in getfile()

12