/illumos-gate/usr/src/uts/sparc/krtld/ |
H A D | kobj_convrelstr.c | 90 static char strbuf[32]; local 96 strbuf[ndx--] = '\0'; 98 strbuf[ndx--] = '0' + (type % 10); 102 return (&strbuf[ndx + 1]);
|
/illumos-gate/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_convrelstr.c | 63 static char strbuf[32]; local 69 strbuf[ndx--] = '\0'; 71 strbuf[ndx--] = '0' + (type % 10); 75 return (&strbuf[ndx + 1]);
|
/illumos-gate/usr/src/uts/intel/ia32/krtld/ |
H A D | kobj_convrelstr.c | 66 static char strbuf[32]; local 72 strbuf[ndx--] = '\0'; 74 strbuf[ndx--] = '0' + (type % 10); 78 return (&strbuf[ndx + 1]);
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | vscanf.c | 117 FILE strbuf; local 124 strbuf._flag = _IOREAD | _IOWRT; 125 strbuf._ptr = strbuf._base = (unsigned char *)str; 126 strbuf._cnt = strlen(str); 127 SET_FILE(&strbuf, _NFILE); 138 if (__fsetlocking(&strbuf, FSETLOCKING_BYCALLER) == -1) { 144 return (__doscan_u(&strbuf, fmt, ap, _F_INTMAX32)); 146 return (__doscan_u(&strbuf, fmt, ap, 0));
|
H A D | vwscanf.c | 101 FILE strbuf; local 126 strbuf._flag = _IOREAD | _IOWRT; 127 strbuf._ptr = strbuf._base = (unsigned char *)tmp_buf; 128 strbuf._cnt = strlen(tmp_buf); 129 SET_FILE(&strbuf, _NFILE); 132 /* _setorientation(&strbuf, _WC_MODE); */ 135 ret = __wdoscan_u(&strbuf, fmt, ap, _F_INTMAX32); 137 ret = __wdoscan_u(&strbuf, fmt, ap, 0);
|
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/ |
H A D | scanf.c | 119 FILE strbuf; local 124 strbuf._flag = _IOREAD|_IOSTRG; 125 strbuf._ptr = strbuf._base = (unsigned char*)str; 126 strbuf._cnt = strlen(str); 127 strbuf._bufsiz = strbuf._cnt; 141 return(_doscan(&strbuf, newform, newap)); 143 ret_val = _doscan(&strbuf, fmt, ap);
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | util.c | 51 char strbuf[81]; variable 87 (void) memset(strbuf, 8, pos); 88 strbuf[pos] = 0; 89 (void) printf(strbuf); 90 (void) memset(strbuf, ' ', pos); 91 strbuf[pos] = 0; 92 (void) printf(strbuf); 93 (void) memset(strbuf, 8, pos); 94 strbuf[pos] = 0; 95 (void) printf(strbuf); [all...] |
/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | getexecattr.c | 90 * and call it to match exec_attr data in strbuf and argp->key.attrp 93 check_match_strbuf(nss_XbyY_args_t *argp, char *strbuf, int check_policy) argument 106 if (strbuf[argp->returnlen] == '\n') { 107 strbuf[argp->returnlen] = '\0'; 110 execp->name = _strtok_escape(strbuf, sep, &last); 121 free(strbuf); 135 char *strbuf; local 148 if ((strbuf = strdup(instr)) == NULL) 151 strbuf, check_policy);
|
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | stropts.h | 119 struct strbuf { struct 131 struct strbuf ctlbuf; 132 struct strbuf databuf; 140 struct strbuf ctlbuf; 141 struct strbuf databuf;
|
/illumos-gate/usr/src/lib/libkvm/common/ |
H A D | test.c | 230 static char strbuf[40]; local 248 (void) sprintf(strbuf, "unknown (%d)", nl[i].n_scnum); 249 s = strbuf;
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_comm.c | 454 char *strbuf; local 458 strbuf = kmem_zalloc(MOD_MAXPATH, KM_SLEEP); 460 if (copyinstr(name, strbuf, MOD_MAXPATH, 0)) { 464 sdcmn_err6(("file %s is registering\n", strbuf)); 466 n = strlen(strbuf) + 1; 467 namep = i_ddi_strdup(strbuf, KM_SLEEP); 479 kmem_free(strbuf, MOD_MAXPATH);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | kstat.c | 182 char *strbuf = (char *)((kstat_named_t *)kn + local 218 strbuf, local 222 strbuf; 223 strbuf += 225 ASSERT(strbuf <= 305 char *strbuf = (char *)((kstat_named_t *)kn + local 333 strbuf, local 337 strbuf; 338 strbuf += 340 ASSERT(strbuf < [all...] |
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psymtab_machelf32.c | 616 char strbuf[sizeof ("_PROCEDURE_LINKAGE_TABLE_")]; local 657 if (Pread_string(P, strbuf, sizeof (strbuf), 664 if (strcmp("_PROCEDURE_LINKAGE_TABLE_", strbuf) == 0)
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_open.c | 803 void *cbuf, *symbuf, *strbuf; local 806 cbuf = symbuf = strbuf = NULL; 843 strbuf = ctf_data_alloc(strsect.cts_size); 844 if (strbuf == NULL) { 848 bcopy(strsect.cts_data, strbuf, strsect.cts_size); 849 ctf_data_protect(strbuf, strsect.cts_size); 850 strsect.cts_data = strbuf; 871 if (strbuf != NULL) 872 ctf_data_free(strbuf, strsect.cts_size);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | taskq.c | 259 char strbuf[128]; local 267 mdb_snprintf(strbuf, sizeof (strbuf), 272 ret = mdb_eval(strbuf);
|
/illumos-gate/usr/src/cmd/modload/ |
H A D | add_drv.c | 653 char strbuf[MAXPATHLEN]; local 689 (void) snprintf(strbuf, sizeof (strbuf), 699 if ((new_entry->dev_name = strdup(strbuf)) == NULL) {
|
/illumos-gate/usr/src/uts/common/io/zyd/ |
H A D | zyd.c | 587 char strbuf[32]; local 641 (void) snprintf(strbuf, sizeof (strbuf), ZYD_DRV_NAME"%d", instance); 642 err = ddi_create_minor_node(dip, strbuf, S_IFCHR,
|
/illumos-gate/usr/src/common/smbclnt/ |
H A D | smbfs_ntacl.c | 765 char strbuf[256]; local 770 if (smbfs_sid2str(sid, strbuf, sizeof (strbuf), &rid) < 0) 772 sid_prefix = strbuf;
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.file.c | 484 static tchar strbuf[MAXNAMLEN+1]; local 492 return (strtots(strbuf, pw->pw_name)); 495 return (strtots(strbuf, dirp->d_name));
|
/illumos-gate/usr/src/cmd/mdb/common/modules/usba/ |
H A D | prtusb.c | 548 char strbuf[STRLEN]; local 600 mdb_devinfo2driver((uintptr_t)usb_dev.usb_dip, strbuf, STRLEN); 601 mdb_printf("%-12s%-6d", strbuf, usb_dip.devi_instance); 604 if (mdb_readstr(strbuf, STRLEN, 607 mdb_printf("%-16s", strbuf); 622 if (mdb_readstr(strbuf, STRLEN, 625 mdb_printf("%s\n", strbuf); 637 if (mdb_readstr(strbuf, STRLEN, 639 mdb_printf("%s - ", strbuf); 643 if (mdb_readstr(strbuf, STRLE 752 char strbuf[STRLEN] = ""; local [all...] |
/illumos-gate/usr/src/uts/common/io/usb/clients/usbecm/ |
H A D | usbecm.c | 244 char strbuf[32]; local 310 (void) snprintf(strbuf, sizeof (strbuf), "usbecm%d", instance); 311 err = ddi_create_minor_node(dip, strbuf, S_IFCHR,
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | stropts.h | 335 struct strbuf { struct 354 struct strbuf ctlbuf; 355 struct strbuf databuf; 373 struct strbuf ctlbuf; 374 struct strbuf databuf;
|
/illumos-gate/usr/src/uts/common/io/ipw/ |
H A D | ipw2100.c | 261 char strbuf[32]; local 468 (void) snprintf(strbuf, sizeof (strbuf), "%s%d", 470 err = ddi_create_minor_node(dip, strbuf, S_IFCHR,
|
/illumos-gate/usr/src/uts/common/io/iwi/ |
H A D | ipw2200.c | 336 char strbuf[32]; local 600 (void) snprintf(strbuf, sizeof (strbuf), "%s%d", 602 err = ddi_create_minor_node(dip, strbuf, S_IFCHR,
|
/illumos-gate/usr/src/uts/common/io/ath/ |
H A D | ath_main.c | 1971 char strbuf[32]; local 2308 (void) snprintf(strbuf, sizeof (strbuf), "%s%d", 2310 err = ddi_create_minor_node(devinfo, strbuf, S_IFCHR,
|