| /freebsd-13.1/usr.sbin/zonectl/ |
| H A D | zonectl.c | 301 snprintf(tmpstr, sizeof(tmpstr), "Conventional"); in zonectl_print_rz() 305 snprintf(tmpstr, sizeof(tmpstr), "Seq%c%s", in zonectl_print_rz() 319 snprintf(tmpstr, sizeof(tmpstr), "NWP"); in zonectl_print_rz() 322 snprintf(tmpstr, sizeof(tmpstr), "Empty"); in zonectl_print_rz() 333 snprintf(tmpstr, sizeof(tmpstr), "Closed"); in zonectl_print_rz() 336 snprintf(tmpstr, sizeof(tmpstr), "Readonly"); in zonectl_print_rz() 339 snprintf(tmpstr, sizeof(tmpstr), "Full"); in zonectl_print_rz() 342 snprintf(tmpstr, sizeof(tmpstr), "Offline"); in zonectl_print_rz() 345 snprintf(tmpstr, sizeof(tmpstr), "%#x", in zonectl_print_rz() 356 snprintf(tmpstr, sizeof(tmpstr), "Sequential"); in zonectl_print_rz() [all …]
|
| /freebsd-13.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-13.1/contrib/ncurses/ncurses/widechar/ |
| H A D | lib_get_wstr.c | 95 wint_t *tmpstr = str; in wgetn_wstr() local 160 if (tmpstr > oldstr) { in wgetn_wstr() 161 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, oldecho); in wgetn_wstr() 165 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, oldecho); in wgetn_wstr() 173 *tmpstr++ = ch; in wgetn_wstr() 174 *tmpstr = 0; in wgetn_wstr() 185 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, oldecho); in wgetn_wstr() 222 *tmpstr = 0; in wgetn_wstr() 224 if (tmpstr == oldstr) { in wgetn_wstr() 225 *tmpstr++ = WEOF; in wgetn_wstr() [all …]
|
| /freebsd-13.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-13.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-13.1/lib/libcam/ |
| H A D | camlib.c | 141 tmpstr = newpath; in cam_get_device() 147 tmpstr2 = tmpstr; in cam_get_device() 150 assert(tmpstr != NULL && *tmpstr != '\0'); in cam_get_device() 151 tmpstr++; in cam_get_device() 165 if (*tmpstr == 'n' || *tmpstr == 'e') { in cam_get_device() 170 tmpstr++; in cam_get_device() 207 if (!isdigit(tmpstr[strlen(tmpstr) - 1])) { in cam_get_device() 233 *unit = atoi(&tmpstr[strlen(tmpstr) - unit_offset]); in cam_get_device() 239 tmpstr[strlen(tmpstr) - unit_offset] = '\0'; in cam_get_device() 453 char tmpstr[256]; in cam_lookup_pass() local [all …]
|
| /freebsd-13.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-13.1/usr.bin/systat/ |
| H A D | devs.c | 220 char **tempstr, *tmpstr, *tmpstr1; in dsmatchselect() local 235 tmpstr = tmpstr1 = strdup(args); in dsmatchselect() 242 free(tmpstr); in dsmatchselect() 285 char *cp, *tmpstr, *tmpstr1, *buffer; in dsselect() local 309 tmpstr = tmpstr1 = strdup(args); in dsselect() 347 free(tmpstr); in dsselect() 385 char tmpstr[80]; in dslabel() local 386 sprintf(tmpstr, "%s%d", dev_select[i].device_name, in dslabel() 389 " %5.5s", tmpstr); in dslabel()
|
| H A D | iostat.c | 188 char tmpstr[10]; in numlabels() local 214 sprintf(tmpstr, "%s%d", dev_select[i].device_name, in numlabels() 216 mvwaddstr(wnd, row, _col + 4, tmpstr); in numlabels() 229 char tmpstr[10]; in barlabels() local 238 sprintf(tmpstr, "%s%d", dev_select[i].device_name, in barlabels() 241 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-13.1/sys/arm/nvidia/ |
| H A D | tegra_usbphy.c | 586 char *tmpstr; in usb_get_ifc_mode() local 590 rv = OF_getprop_alloc(node, name, (void **)&tmpstr); in usb_get_ifc_mode() 595 if (strcmp(tmpstr, "utmi") == 0) in usb_get_ifc_mode() 597 else if (strcmp(tmpstr, "ulpi") == 0) in usb_get_ifc_mode() 601 OF_prop_free(tmpstr); in usb_get_ifc_mode() 608 char *tmpstr; in usb_get_dr_mode() local 612 rv = OF_getprop_alloc(node, name, (void **)&tmpstr); in usb_get_dr_mode() 617 if (strcmp(tmpstr, "device") == 0) in usb_get_dr_mode() 619 else if (strcmp(tmpstr, "host") == 0) in usb_get_dr_mode() 621 else if (strcmp(tmpstr, "otg") == 0) in usb_get_dr_mode() [all …]
|
| /freebsd-13.1/sys/dev/mps/ |
| H A D | mps.c | 1586 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.debug_level", in mps_get_tunables() 1592 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.disable_msix", in mps_get_tunables() 1596 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.disable_msi", in mps_get_tunables() 1600 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.max_msix", in mps_get_tunables() 1604 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.max_chains", in mps_get_tunables() 1608 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.max_io_pages", in mps_get_tunables() 1613 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.exclude_ids", in mps_get_tunables() 1617 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.enable_ssu", in mps_get_tunables() 1625 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.use_phy_num", in mps_get_tunables() 1629 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.max_reqframes", in mps_get_tunables() [all …]
|
| /freebsd-13.1/usr.sbin/bluetooth/hccontrol/ |
| H A D | adv_data.c | 226 char* tmpstr; in adv_uuid2str() local 242 uuid_to_string(&uuid, &tmpstr, &ustatus); in adv_uuid2str() 244 strlcpy(buffer, tmpstr, size); in adv_uuid2str() 246 free(tmpstr); in adv_uuid2str()
|
| /freebsd-13.1/sys/dev/mpr/ |
| H A D | mpr.c | 1744 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.debug_level", in mpr_get_tunables() 1750 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.disable_msix", in mpr_get_tunables() 1754 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.disable_msi", in mpr_get_tunables() 1758 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.max_msix", in mpr_get_tunables() 1762 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.max_chains", in mpr_get_tunables() 1766 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.max_io_pages", in mpr_get_tunables() 1771 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.exclude_ids", in mpr_get_tunables() 1775 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.enable_ssu", in mpr_get_tunables() 1783 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.use_phy_num", in mpr_get_tunables() 1787 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.max_reqframes", in mpr_get_tunables() [all …]
|
| /freebsd-13.1/libexec/bootpd/ |
| H A D | readfile.c | 782 char tmpstr[MAXSTRINGLEN]; local 913 len = sizeof(tmpstr); 915 makelower(tmpstr); 968 len = sizeof(tmpstr); 1662 char tmpstr[MAXSTRINGLEN]; local 1672 t = tmpstr; 1680 n = lookup_ipa(tmpstr, result); 1764 char tmpstr[MAXSTRINGLEN]; local 1774 tmplen = sizeof(tmpstr); 1775 get_string(src, tmpstr, &tmplen); [all …]
|
| H A D | dovend.c | 209 char *tmpstr = hp->hostname->string; 211 while (*tmpstr && (*tmpstr != '.')) { 212 tmpstr++;
|
| /freebsd-13.1/sys/cam/ctl/ |
| H A D | ctl_backend_ramdisk.c | 937 char tmpstr[32]; in ctl_backend_ramdisk_create() local 1054 snprintf(tmpstr, sizeof(tmpstr), "MYSERIAL%04d", in ctl_backend_ramdisk_create() 1056 strncpy((char *)cbe_lun->serial_num, tmpstr, in ctl_backend_ramdisk_create() 1057 MIN(sizeof(cbe_lun->serial_num), sizeof(tmpstr))); in ctl_backend_ramdisk_create() 1060 strncpy((char *)params->serial_num, tmpstr, in ctl_backend_ramdisk_create() 1061 MIN(sizeof(params->serial_num), sizeof(tmpstr))); in ctl_backend_ramdisk_create() 1068 snprintf(tmpstr, sizeof(tmpstr), "MYDEVID%04d", softc->num_luns); in ctl_backend_ramdisk_create() 1069 strncpy((char *)cbe_lun->device_id, tmpstr, in ctl_backend_ramdisk_create() 1070 MIN(sizeof(cbe_lun->device_id), sizeof(tmpstr))); in ctl_backend_ramdisk_create() 1073 strncpy((char *)params->device_id, tmpstr, in ctl_backend_ramdisk_create() [all …]
|
| /freebsd-13.1/usr.sbin/ctladm/ |
| H A D | ctladm.c | 445 char *tmpstr; in cctl_port() local 464 free(tmpstr); in cctl_port() 904 free(tmpstr); in cctl_error_inject() 913 free(tmpstr); in cctl_error_inject() 917 free(tmpstr); in cctl_error_inject() 2419 char *tmpstr; in cctl_create_lun() local 2437 free(tmpstr); in cctl_create_lun() 2576 char *tmpstr; in cctl_rm_lun() local 2594 free(tmpstr); in cctl_rm_lun() 2679 char *tmpstr; in cctl_modify_lun() local [all …]
|
| /freebsd-13.1/contrib/ofed/infiniband-diags/src/ |
| H A D | perfquery.c | 815 char *tmpstr; in main() local 873 tmpstr = strtok(argv[1], ","); in main() 874 while (tmpstr) { in main() 875 ports[ports_count++] = strtoul(tmpstr, 0, 0); in main() 876 tmpstr = strtok(NULL, ","); in main() 880 else if ((tmpstr = strchr(argv[1], '-'))) { in main() 883 *tmpstr = '\0'; in main() 884 tmpstr++; in main() 887 pmax = strtoul(tmpstr, 0, 0); in main()
|
| /freebsd-13.1/sys/cam/scsi/ |
| H A D | scsi_sa.c | 2363 char tmpstr[80]; in saloadtotunables() local 2369 snprintf(tmpstr, sizeof(tmpstr), "kern.cam.sa.timeout.%s", in saloadtotunables() 2379 snprintf(tmpstr, sizeof(tmpstr), "kern.cam.sa.%u.timeout.%s", in saloadtotunables() 2404 snprintf(tmpstr, sizeof(tmpstr), "CAM SA unit %d", periph->unit_number); in sasysctlinit() 2436 snprintf(tmpstr, sizeof(tmpstr), "%s timeout", in sasysctlinit() 2469 char tmpstr[80]; in saregister() local 2595 snprintf(tmpstr, sizeof(tmpstr), "kern.cam.sa.%u.allow_io_split", in saregister() 4709 char tmpstr[80]; in saextget() local 4786 tmpstr2 = tmpstr; in saextget() 4801 tmpstr[0] = '\0'; in saextget() [all …]
|