| /freebsd-12.1/usr.sbin/zonectl/ |
| H A D | zonectl.c | 304 snprintf(tmpstr, sizeof(tmpstr), "Conventional"); in zonectl_print_rz() 308 snprintf(tmpstr, sizeof(tmpstr), "Seq%c%s", in zonectl_print_rz() 322 snprintf(tmpstr, sizeof(tmpstr), "NWP"); in zonectl_print_rz() 325 snprintf(tmpstr, sizeof(tmpstr), "Empty"); in zonectl_print_rz() 336 snprintf(tmpstr, sizeof(tmpstr), "Closed"); in zonectl_print_rz() 339 snprintf(tmpstr, sizeof(tmpstr), "Readonly"); in zonectl_print_rz() 342 snprintf(tmpstr, sizeof(tmpstr), "Full"); in zonectl_print_rz() 345 snprintf(tmpstr, sizeof(tmpstr), "Offline"); in zonectl_print_rz() 348 snprintf(tmpstr, sizeof(tmpstr), "%#x", in zonectl_print_rz() 359 snprintf(tmpstr, sizeof(tmpstr), "Sequential"); in zonectl_print_rz() [all …]
|
| /freebsd-12.1/sbin/camcontrol/ |
| H A D | zone.c | 246 snprintf(tmpstr, sizeof(tmpstr), "Conventional"); in zone_rz_print() 250 snprintf(tmpstr, sizeof(tmpstr), "Seq%c%s", in zone_rz_print() 265 snprintf(tmpstr, sizeof(tmpstr), "NWP"); in zone_rz_print() 268 snprintf(tmpstr, sizeof(tmpstr), "Empty"); in zone_rz_print() 279 snprintf(tmpstr, sizeof(tmpstr), "Closed"); in zone_rz_print() 282 snprintf(tmpstr, sizeof(tmpstr), "Readonly"); in zone_rz_print() 285 snprintf(tmpstr, sizeof(tmpstr), "Full"); in zone_rz_print() 288 snprintf(tmpstr, sizeof(tmpstr), "Offline"); in zone_rz_print() 291 snprintf(tmpstr, sizeof(tmpstr), "%#x", in zone_rz_print() 302 snprintf(tmpstr, sizeof(tmpstr), "Sequential"); in zone_rz_print() [all …]
|
| H A D | persist.c | 137 const char *tmpstr; in persist_print_scopetype() local 142 tmpstr = scsi_nv_to_str(persist_scope_table, num_entries, in persist_print_scopetype() 144 fprintf(stdout, "Scope: %s (%#x)\n", (tmpstr != NULL) ? tmpstr : in persist_print_scopetype() 149 tmpstr = scsi_nv_to_str(persist_type_table, num_entries, in persist_print_scopetype() 151 fprintf(stdout, "Type: %s (%#x)\n", (tmpstr != NULL) ? tmpstr : in persist_print_scopetype()
|
| H A D | attrib.c | 193 char *tmpstr; in scsiattrib() local 208 while ((tmpstr = strsep(&optarg, ",")) != NULL) { in scsiattrib() 211 sizeof(output_format_map[0]), tmpstr, in scsiattrib() 221 "ambiguous" : "invalid", tmpstr); in scsiattrib()
|
| /freebsd-12.1/contrib/ncurses/ncurses/widechar/ |
| H A D | lib_get_wstr.c | 94 wint_t *tmpstr = str; in wgetn_wstr() local 157 if (tmpstr > oldstr) { in wgetn_wstr() 158 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, oldecho); in wgetn_wstr() 162 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, oldecho); in wgetn_wstr() 170 *tmpstr++ = ch; in wgetn_wstr() 171 *tmpstr = 0; in wgetn_wstr() 182 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, oldecho); in wgetn_wstr() 219 *tmpstr = 0; in wgetn_wstr() 221 if (tmpstr == oldstr) { in wgetn_wstr() 222 *tmpstr++ = WEOF; in wgetn_wstr() [all …]
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/acl/nontrivial/ |
| H A D | zfs_acl_chmod_aclmode_001_pos.ksh | 134 typeset tmpstr 171 tmpstr=${tmpstr}/read_data 173 tmpstr=${tmpstr}/list_directory/read_data 181 tmpstr=${tmpstr}/write_data 183 tmpstr=${tmpstr}/add_file/write_data 189 tmpstr=${tmpstr}/append_data 191 tmpstr=${tmpstr}/add_subdirectory/append_data 197 tmpstr=${tmpstr}/execute 200 tmpstr=${tmpstr#/} 202 $ECHO "$tmpstr"
|
| /freebsd-12.1/crypto/heimdal/lib/asn1/ |
| H A D | gen_decode.c | 420 tmpstr, in decode_type() 421 tmpstr, in decode_type() 422 tmpstr, in decode_type() 423 tmpstr, in decode_type() 436 tmpstr, tmpstr, name, in decode_type() 437 tmpstr, tmpstr, forwstr, in decode_type() 438 tmpstr, tmpstr, in decode_type() 439 tmpstr, name, tmpstr, in decode_type() 455 tmpstr, tmpstr); in decode_type() 482 tmpstr, tmpstr, typestring); in decode_type() [all …]
|
| H A D | gen_length.c | 64 const char *variable, const char *tmpstr) in length_type() argument 162 "%s = 0;\n", tmpstr, variable, variable); in length_type() 164 fprintf (codefile, "ret += %s_oldret;\n", tmpstr); in length_type() 193 tmpstr, variable, variable); in length_type() 197 "%s = 0;\n", tmpstr, variable, variable); in length_type() 200 if (asprintf (&sname, "%s_S_Of", tmpstr) < 0 || sname == NULL) in length_type() 204 variable, tmpstr); in length_type() 209 "}\n", variable, tmpstr); in length_type() 249 if (asprintf(&tname, "%s_tag", tmpstr) < 0 || tname == NULL) in length_type()
|
| H A D | gen_encode.c | 108 encode_type (const char *name, const Type *t, const char *tmpstr) in encode_type() argument 277 fprintf (codefile, "size_t %s_oldret HEIMDAL_UNUSED_ATTRIBUTE = ret;\n", tmpstr); in encode_type() 280 fprintf (codefile, "ret += %s_oldret;\n", tmpstr); in encode_type() 361 name, tmpstr); in encode_type() 364 if (asprintf (&sname, "%s_S_Of", tmpstr) < 0 || sname == NULL) in encode_type() 370 tmpstr); in encode_type() 390 if (asprintf (&tname, "%s_tag", tmpstr) < 0 || tname == NULL) in encode_type() 429 fprintf (codefile, "size_t %s_oldret = ret;\n", tmpstr); in encode_type() 432 fprintf (codefile, "ret += %s_oldret;\n", tmpstr); in encode_type()
|
| /freebsd-12.1/lib/libcam/ |
| H A D | camlib.c | 139 tmpstr = newpath; in cam_get_device() 145 tmpstr2 = tmpstr; in cam_get_device() 148 assert(tmpstr != NULL && *tmpstr != '\0'); in cam_get_device() 149 tmpstr++; in cam_get_device() 163 if (*tmpstr == 'n' || *tmpstr == 'e') { in cam_get_device() 168 tmpstr++; in cam_get_device() 205 if (!isdigit(tmpstr[strlen(tmpstr) - 1])) { in cam_get_device() 231 *unit = atoi(&tmpstr[strlen(tmpstr) - unit_offset]); in cam_get_device() 237 tmpstr[strlen(tmpstr) - unit_offset] = '\0'; in cam_get_device() 451 char tmpstr[256]; in cam_lookup_pass() local [all …]
|
| /freebsd-12.1/contrib/openpam/lib/libpam/ |
| H A D | openpam_straddch.c | 55 char *tmpstr; in openpam_straddch() local 60 if ((tmpstr = malloc(tmpsize)) == NULL) { in openpam_straddch() 65 *str = tmpstr; in openpam_straddch() 71 if ((tmpstr = realloc(*str, tmpsize)) == NULL) { in openpam_straddch() 77 *str = tmpstr; in openpam_straddch()
|
| /freebsd-12.1/usr.sbin/bhyve/ |
| H A D | pci_fbuf.c | 229 char *tmpstr; in pci_fbuf_parse_opts() local 259 tmpstr = strsep(&config, "]"); in pci_fbuf_parse_opts() 261 if (tmpstr[0] == '[') in pci_fbuf_parse_opts() 262 tmpstr++; in pci_fbuf_parse_opts() 263 sc->rfb_host = tmpstr; in pci_fbuf_parse_opts() 273 config = tmpstr; in pci_fbuf_parse_opts() 274 tmpstr = strsep(&config, ":"); in pci_fbuf_parse_opts() 276 sc->rfb_port = atoi(tmpstr); in pci_fbuf_parse_opts() 279 sc->rfb_host = tmpstr; in pci_fbuf_parse_opts()
|
| H A D | net_utils.c | 42 char *tmpstr; in net_parsemac() local 45 tmpstr = strsep(&mac_str,"="); in net_parsemac() 47 if ((mac_str != NULL) && (!strcmp(tmpstr,"mac"))) { in net_parsemac()
|
| /freebsd-12.1/sys/dev/mps/ |
| H A D | mps.c | 1617 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.debug_level", in mps_get_tunables() 1623 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.disable_msix", in mps_get_tunables() 1627 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.disable_msi", in mps_get_tunables() 1631 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.max_msix", in mps_get_tunables() 1635 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.max_chains", in mps_get_tunables() 1639 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.max_io_pages", in mps_get_tunables() 1644 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.exclude_ids", in mps_get_tunables() 1648 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.enable_ssu", in mps_get_tunables() 1656 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.use_phy_num", in mps_get_tunables() 1660 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.max_reqframes", in mps_get_tunables() [all …]
|
| /freebsd-12.1/usr.bin/systat/ |
| H A D | devs.c | 190 char **tempstr, *tmpstr, *tmpstr1; in dsmatchselect() local 205 tmpstr = tmpstr1 = strdup(args); in dsmatchselect() 212 free(tmpstr); in dsmatchselect() 255 char *cp, *tmpstr, *tmpstr1, *buffer; in dsselect() local 279 tmpstr = tmpstr1 = strdup(args); in dsselect() 317 free(tmpstr); in dsselect()
|
| H A D | iostat.c | 196 char tmpstr[10]; in numlabels() local 222 sprintf(tmpstr, "%s%d", dev_select[i].device_name, in numlabels() 224 mvwaddstr(wnd, row, _col + 4, tmpstr); in numlabels() 237 char tmpstr[10]; in barlabels() local 246 sprintf(tmpstr, "%s%d", dev_select[i].device_name, in barlabels() 249 tmpstr); in barlabels()
|
| H A D | cmds.c | 55 char *cp, *tmpstr, *tmpstr1; in command() local 58 tmpstr = tmpstr1 = strdup(cmd); in command() 149 free(tmpstr); in command()
|
| H A D | netcmds.c | 129 char *cp, *tmpstr, *tmpstr1; in changeitems() local 134 tmpstr = tmpstr1 = strdup(args); in changeitems() 165 free(tmpstr); in changeitems()
|
| /freebsd-12.1/contrib/amd/amd/ |
| H A D | am_ops.c | 324 char *tmpstr; /* temp */ in merge_opts() local 336 for (tmpstr = strtok(s1, ","); in merge_opts() 337 tmpstr; in merge_opts() 338 tmpstr = strtok(NULL, ",")) { in merge_opts() 340 xstrlcpy(oneopt, tmpstr, sizeof(oneopt)); in merge_opts() 352 xstrlcat(newstr, tmpstr, len); in merge_opts() 354 xstrlcpy(newstr, tmpstr, len); in merge_opts()
|
| /freebsd-12.1/sys/arm/nvidia/ |
| H A D | tegra_usbphy.c | 592 char *tmpstr; in usb_get_ifc_mode() local 596 rv = OF_getprop_alloc(node, name, (void **)&tmpstr); in usb_get_ifc_mode() 601 if (strcmp(tmpstr, "utmi") == 0) in usb_get_ifc_mode() 603 else if (strcmp(tmpstr, "ulpi") == 0) in usb_get_ifc_mode() 607 OF_prop_free(tmpstr); in usb_get_ifc_mode() 614 char *tmpstr; in usb_get_dr_mode() local 618 rv = OF_getprop_alloc(node, name, (void **)&tmpstr); in usb_get_dr_mode() 623 if (strcmp(tmpstr, "device") == 0) in usb_get_dr_mode() 625 else if (strcmp(tmpstr, "host") == 0) in usb_get_dr_mode() 627 else if (strcmp(tmpstr, "otg") == 0) in usb_get_dr_mode() [all …]
|
| /freebsd-12.1/usr.sbin/nandsim/ |
| H A D | nandsim_cfgparse.c | 187 char *tmp, *tmpstr, *origstr; in parse_intarray() local 201 tmpstr = (char *)strtok(array, ","); in parse_intarray() 203 while (tmpstr != NULL) { in parse_intarray() 207 if (convert_arguint(tmpstr, &from) || in parse_intarray() 221 tmpstr = (char *)strtok(NULL, ","); in parse_intarray() 228 tmpstr = (char *)strtok(origstr, ","); in parse_intarray() 232 while (tmpstr != NULL) { in parse_intarray() 236 from = strtol(tmpstr, NULL, 0); in parse_intarray() 238 tmpstr = strtok(NULL, ","); in parse_intarray() 244 from = (int)strtol(tmpstr, NULL, 0); in parse_intarray() [all …]
|
| H A D | nandsim.c | 187 char *tmpstr; in parse_devstring() local 203 tmpstr = (char *)strtok(str, ":"); in parse_devstring() 204 if ((tmpstr != NULL) && (*tmpstr != '\0')) { in parse_devstring() 205 if (convert_arguint(tmpstr, &num) != 0) in parse_devstring() 210 "value must lie between 0 and 3!", tmpstr); in parse_devstring() 215 tmpstr = (char *)strtok(NULL, ":"); in parse_devstring() 217 if ((tmpstr != NULL) && (*tmpstr != '\0')) { in parse_devstring() 218 if (convert_arguint(tmpstr, &num) != 0) in parse_devstring() 225 tmpstr); in parse_devstring()
|
| /freebsd-12.1/sys/dev/mpr/ |
| H A D | mpr.c | 1749 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.debug_level", in mpr_get_tunables() 1755 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.disable_msix", in mpr_get_tunables() 1759 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.disable_msi", in mpr_get_tunables() 1763 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.max_msix", in mpr_get_tunables() 1767 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.max_chains", in mpr_get_tunables() 1771 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.max_io_pages", in mpr_get_tunables() 1776 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.exclude_ids", in mpr_get_tunables() 1780 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.enable_ssu", in mpr_get_tunables() 1788 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.use_phy_num", in mpr_get_tunables() 1792 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.max_reqframes", in mpr_get_tunables() [all …]
|
| /freebsd-12.1/libexec/bootpd/ |
| H A D | readfile.c | 790 char tmpstr[MAXSTRINGLEN]; local 921 len = sizeof(tmpstr); 923 makelower(tmpstr); 976 len = sizeof(tmpstr); 1670 char tmpstr[MAXSTRINGLEN]; local 1680 t = tmpstr; 1688 n = lookup_ipa(tmpstr, result); 1772 char tmpstr[MAXSTRINGLEN]; local 1782 tmplen = sizeof(tmpstr); 1783 get_string(src, tmpstr, &tmplen); [all …]
|
| H A D | dovend.c | 218 char *tmpstr = hp->hostname->string; 220 while (*tmpstr && (*tmpstr != '.')) { 221 tmpstr++;
|