Searched defs:bufptr (Results 1 - 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dtparm.c136 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
[all...]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dtparm.c139 char *bufptr = buffer; local
155 *(bufptr++) = *string;
172 bufptr += sprintf(bufptr,
178 bufptr += sprintf(bufptr,
207 *(bufptr++) = '%';
210 *(bufptr++) = (char) npop();
383 *bufptr = '\0';
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_crontab.c49 char **bufptr);
155 * bufptr - pointer to an array of characters with
160 * file not exists (do not free *bufptr in this case)
162 * file exists (do not free *bufptr in this case)
167 audit_crontab_get_diffs(char *cf, char *tmp_name, char **bufptr) argument
207 *bufptr = NULL;
218 *bufptr = err_buf;
223 *bufptr = NULL;
228 *bufptr = buf;
231 *bufptr
[all...]
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_manage.c227 u8 *bufptr = buffer; local
245 *(tmp + j) = *bufptr++;
264 *(tmp + j) = *bufptr++;
274 *(tmp + j) = *bufptr++;
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mangle_name.c357 * the pointer into the buffer (bufptr, edp and dp).
383 #define bufptr u.u_bufptr macro
410 bufptr = buf;
413 while ((bufptr += reclen) < buf + bufsize) {
H A Dsmb_node.c616 #define bufptr u.u_bufptr macro
624 bufptr = buf;
625 while ((bufptr += reclen) < buf + bsize) {
/illumos-gate/usr/src/tools/aw/
H A Daw.c177 char *bufptr; local
207 bufptr = buf;
214 (strncmp(bufptr, wspace, wspace_len) == 0)) {
215 bufptr += wspace_len;
223 (strncmp(bufptr, PROTO_INC, proto_inc_len) == 0)) {
224 bufptr += proto_inc_len;
228 (strncmp(bufptr, SYS_INC, sys_inc_len) == 0)) {
229 bufptr += sys_inc_len;
234 if (out && (fwrite(bufptr, 1, bufcnt, out) != bufcnt)) {
/illumos-gate/usr/src/cmd/boot/installboot/sparc/
H A Dinstallboot.c388 char *bufptr; local
401 bufptr = bblock->buf;
404 if (write_out(device->fd, bufptr, size, SECTOR_SIZE) != BC_SUCCESS) {
411 bufptr += BBLK_DATA_RSVD_SIZE;
414 if (write_out(device->fd, bufptr, size, BBLK_ZFS_EXTRA_OFF)
/illumos-gate/usr/src/cmd/devfsadm/
H A Dcfg_link.c685 char *bufptr; local
709 bufptr = buf;
715 bufptr, bufsz);
723 (void) strncat(bufptr, AP_PATH_IOB_SEP, bufsz);
724 len = strlen(bufptr);
725 bufptr += len;
732 rv = pci_cfg_ap_node(pci_dev, curnode, ph, bufptr, bufsz, 0);
/illumos-gate/usr/src/cmd/msgfmt/
H A Dmsgfmt.c196 char *bufptr = 0; local
205 unsigned int bufptr_index = 0; /* current index of bufptr */
334 bufptr = gmsgid;
379 bufptr = gmsgstr;
430 bufptr = gcurrent_domain;
441 * Now, fill up the buffer pointed by bufptr.
442 * At this point bufptr should point to one of
447 if (!bufptr) {
463 if (bufptr == gmsgid) {
467 bufptr
543 wchar_t *bufptr = buf; local
[all...]
/illumos-gate/usr/src/ucblib/libucb/port/stdio/
H A Ddoprnt.c64 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); \
159 /* bufptr is used inside of doprnt instead of iop->_ptr; */
166 unsigned char *bufptr; local
269 bufptr = iop->_ptr;
271 (unsigned char *)((long)bufptr | (-1L & ~HIBITL))
293 ptrdiff_t d = bufptr
[all...]
/illumos-gate/usr/src/uts/i86pc/os/cpupm/
H A Dcpu_acpi.c989 uint32_t *bufptr; local
998 bufptr = &buffer[2];
1000 *bufptr++ = *capabilities++;
/illumos-gate/usr/src/lib/print/libhttp-core/common/
H A Dhttp.c1282 *bufptr, /* Pointer into input buffer */ local
1304 bufptr = http->buffer;
1307 while (bufptr < bufend)
1308 if (*bufptr == 0x0a)
1311 bufptr ++;
1313 if (bufptr >= bufend && http->used < HTTP_MAX_BUFFER)
1375 bufptr = bufend;
1378 while (bufptr >= bufend && http->used < HTTP_MAX_BUFFER);
1387 bufptr = http->buffer;
1391 while (bufptr < bufen
1437 *bufptr; /* Pointer into buffer */ local
[all...]
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dhistory.c770 register char *bufptr = ((char*)buff)+insize; local
784 while(--bufptr >= (char*)buff)
786 c= *bufptr;
789 if(c=='\\' && *(bufptr+1)!='\n')
790 bufptr++;
795 if(++bufptr <= (char*)buff)
797 *bufptr++ = '\n';
798 *bufptr++ = 0;
799 size = bufptr - (char*)buff;
826 *bufptr
[all...]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dnatsemi.c168 u32 bufptr; member in struct:_BufferDesc
509 txd.bufptr = virt_to_bus(&txb[0]);
538 rxd[i].bufptr = virt_to_bus(&rxb[i*RX_BUF_SIZE]);
540 printf("natsemi_init_rxd: rxd[%d]=%X link=%X cmdsts=%X bufptr=%X\n",
541 i, &rxd[i], rxd[i].link, rxd[i].cmdsts, rxd[i].bufptr);
638 txd.bufptr = virt_to_bus(&txb[0]);
708 rxd[cur_rx].bufptr = virt_to_bus(&rxb[cur_rx*RX_BUF_SIZE]);
H A Dns83820.c360 uint64_t bufptr; member in struct:ring_desc
367 u32 bufptr; member in struct:ring_desc
515 rx_ring[i].bufptr =
577 tx_ring[i].bufptr = 0;
745 tx_ring[cur_tx].bufptr = virt_to_le32desc(&txb);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dcmds.c1060 char buf[MAXPATHLEN], *bufptr; local
1078 bufptr = getcwd(buf, MAXPATHLEN);
1084 (void) printf("Local directory now %s\n", (bufptr ? bufptr : argv[1]));
/illumos-gate/usr/src/uts/common/io/idm/
H A Didm.c958 * layer. If a buffer is not passed on bufptr, the buffer will be allocated
962 * bufptr - allocate memory for buffer if NULL, else assign to buffer
968 idm_buf_alloc(idm_conn_t *ic, void *bufptr, uint64_t buflen) argument
1004 * If bufptr is NULL, we have an implicit request to allocate
1009 * If bufptr is set, then the caller has allocated memory (or more
1013 if (bufptr == NULL) {
1028 * For large transfers, Set the passed bufptr into
1036 buf->idb_buf = bufptr;
H A Didm_text.c1369 * a NULL bufptr. Subsequent calls send in the buffer returned.
1374 int max_xfer_len, char *bufptr, int *transit)
1384 if (bufptr == NULL) {
1405 (uintptr_t)bufptr;
1410 bcopy(bufptr, pdu->isp_data, (size_t)len);
1417 start_ptr = bufptr;
1418 end_ptr = &bufptr[max_xfer_len - 1];
1373 idm_pdu_init_text_data(idm_pdu_t *pdu, void *arg, int max_xfer_len, char *bufptr, int *transit) argument
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_config.c3367 char *bufptr = buffer; local
3379 cfghdr = (ldap_config_out_t *)bufptr;
3380 bufptr = (char *)cfghdr->config_str;
3382 strptr = (char *)strtok_r(bufptr, DOORLINESEP, &rest);
3431 char *bufptr = buffer; local
3448 cfghdr = (ldap_config_out_t *)bufptr;
3450 bufptr = (char *)cfghdr->config_str;
3452 strptr = (char *)strtok_r(bufptr, DOORLINESEP, &rest);
/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); \
127 * if the bufptr lies beyond the end of the buffer. This \
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
300 put_wide(FILE *iop, unsigned char **bufptr, unsigned char *bufferend, wchar_t *p, size_t n, int sflag) argument
359 pad_wide(FILE *iop, unsigned char **bufptr, unsigned char *bufferend, const char *s, size_t n, int sflag) argument
436 unsigned char *bufptr; local
2618 wchar_t *bufptr = buf; local
2622 char *bufptr = buf; local
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c830 char *bufptr, *bufptr2, *pci, *apid; local
843 bufptr = strrchr(apid, '/');
846 pci = ++bufptr;
847 bufptr = strchr(pci, ',');
848 if (bufptr != NULL) {
849 *bufptr = '\0';
852 bufptr = strchr(pci, '@');
853 if (bufptr != NULL) {
854 *bufptr = '\0';
855 bufptr
[all...]
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Drdr_messages.c1733 char *bufptr; local
1771 bufptr = *buf;
1773 (void) memcpy(bufptr, &ses_req, sizeof (rdr_ses_req_t));
1774 bufptr += sizeof (rdr_ses_req_t);
1777 (void) memcpy(bufptr, params->locale_str, locale_str_len);
1778 bufptr += locale_str_len;
1793 char *bufptr; local
1801 bufptr = (char *)buf;
1802 (void) memcpy(&ses_req_data, bufptr, sizeof (rdr_ses_req_t));
1803 bufptr
1894 char *bufptr; local
2015 char *bufptr; local
2106 char *bufptr; local
2174 char *bufptr; local
2213 char *bufptr; local
2350 char *bufptr; local
2444 char *bufptr; local
2511 char *bufptr; local
2549 char *bufptr; local
2659 char *bufptr; local
2734 char *bufptr; local
2800 char *bufptr; local
2838 char *bufptr; local
2961 char *bufptr; local
3045 char *bufptr; local
3136 char *bufptr; local
3198 char *bufptr; local
3302 char *bufptr; local
3367 char *bufptr; local
3461 char *bufptr; local
3570 char *bufptr; local
3650 char *bufptr; local
3701 char *bufptr; local
3753 char *bufptr; local
3796 char *bufptr; local
3875 char *bufptr; local
3920 char *bufptr; local
3994 char *bufptr; local
4039 char *bufptr; local
4103 char *bufptr; local
4138 char *bufptr; local
4212 char *bufptr; local
[all...]
/illumos-gate/usr/src/cmd/backup/restore/
H A Dtape.c1044 char *bufptr; local
1069 for (i = 0, bufptr = buf; i < spcl.c_count; i++) {
1071 readtape(bufptr);
1072 bufptr += tp_bsize;
1080 bufptr = buf;
1089 bufptr = buf;
1116 bufptr = buf;
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_dyndns.c954 char *bufptr; local
965 bufptr = buf;
969 bufptr = dyndns_put_nshort(bufptr,
972 if (dyndns_build_header(&bufptr, BUFLEN_TCP(bufptr, buf), *id, queryReq,
979 if (dyndns_build_quest_zone(&bufptr, BUFLEN_TCP(bufptr, buf), key_name,
984 if (dyndns_build_tkey(&bufptr, BUFLEN_TCP(bufptr, bu
1223 char *bufptr; local
1378 char *bufptr; local
1432 char *bufptr; local
[all...]

Completed in 184 milliseconds

12