/freebsd-current/contrib/openpam/lib/libpam/ |
H A D | openpam_straddch.c | 53 char *tmpstr; local 58 if ((tmpstr = malloc(tmpsize)) == NULL) { 62 *str = tmpstr; 68 if ((tmpstr = realloc(*str, tmpsize)) == NULL) { 73 *str = tmpstr;
|
/freebsd-current/contrib/ncurses/ncurses/widechar/ |
H A D | lib_get_wstr.c | 95 wint_t *tmpstr = str; local 160 if (tmpstr > oldstr) { 161 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, oldecho); 164 while (tmpstr > oldstr) { 165 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, oldecho); 170 } else if (tmpstr - oldstr >= maxlen) { 173 *tmpstr++ = ch; 174 *tmpstr [all...] |
/freebsd-current/sbin/camcontrol/ |
H A D | zone.c | 139 char tmpstr[80]; local 241 snprintf(tmpstr, sizeof(tmpstr), "Conventional"); 245 snprintf(tmpstr, sizeof(tmpstr), "Seq%c%s", 251 snprintf(tmpstr, sizeof(tmpstr), "Zone%ctype%c%#x", 256 printf("%*s, ", field_widths[ZONE_FW_TYPE], tmpstr); 260 snprintf(tmpstr, sizeof(tmpstr), "NW [all...] |
H A D | attrib.c | 189 char *tmpstr; local 204 while ((tmpstr = strsep(&optarg, ",")) != NULL) { 207 sizeof(output_format_map[0]), tmpstr, 217 "ambiguous" : "invalid", tmpstr);
|
H A D | persist.c | 135 const char *tmpstr; local 140 tmpstr = scsi_nv_to_str(persist_scope_table, num_entries, 142 fprintf(stdout, "Scope: %s (%#x)\n", (tmpstr != NULL) ? tmpstr : 147 tmpstr = scsi_nv_to_str(persist_type_table, num_entries, 149 fprintf(stdout, "Type: %s (%#x)\n", (tmpstr != NULL) ? tmpstr :
|
/freebsd-current/usr.sbin/zonectl/ |
H A D | zonectl.c | 225 char tmpstr[80]; local 299 snprintf(tmpstr, sizeof(tmpstr), "Conventional"); 303 snprintf(tmpstr, sizeof(tmpstr), "Seq%c%s", 309 snprintf(tmpstr, sizeof(tmpstr), "Zone%ctype%c%#x", 313 printf("%*s, ", field_widths[ZONE_FW_TYPE], tmpstr); 317 snprintf(tmpstr, sizeof(tmpstr), "NW [all...] |
/freebsd-current/tests/sys/cddl/zfs/tests/acl/nontrivial/ |
H A D | zfs_acl_chmod_aclmode_001_pos.ksh | 129 typeset tmpstr 166 tmpstr=${tmpstr}/read_data 168 tmpstr=${tmpstr}/list_directory/read_data 176 tmpstr=${tmpstr}/write_data 178 tmpstr=${tmpstr}/add_file/write_data 184 tmpstr [all...] |
/freebsd-current/crypto/heimdal/lib/asn1/ |
H A D | gen_decode.c | 212 const char *forwstr, const char *tmpstr, const char *dertype, 422 tmpstr, 423 tmpstr, 424 tmpstr, 425 tmpstr, 437 tmpstr, 438 tmpstr, tmpstr, name, 439 tmpstr, tmpstr, forwst 211 decode_type(const char *name, const Type *t, int optional, const char *forwstr, const char *tmpstr, const char *dertype, unsigned int depth) argument [all...] |
H A D | gen_length.c | 64 const char *variable, const char *tmpstr) 164 "%s = 0;\n", tmpstr, variable, variable); 166 fprintf (codefile, "ret += %s_oldret;\n", tmpstr); 195 tmpstr, variable, variable); 199 "%s = 0;\n", tmpstr, variable, variable); 202 if (asprintf (&sname, "%s_S_Of", tmpstr) < 0 || sname == NULL) 206 variable, tmpstr); 211 "}\n", variable, tmpstr); 251 if (asprintf(&tname, "%s_tag", tmpstr) < 0 || tname == NULL) 63 length_type(const char *name, const Type *t, const char *variable, const char *tmpstr) argument
|
H A D | gen_encode.c | 108 encode_type (const char *name, const Type *t, const char *tmpstr) argument 279 fprintf (codefile, "size_t %s_oldret HEIMDAL_UNUSED_ATTRIBUTE = ret;\n", tmpstr); 282 fprintf (codefile, "ret += %s_oldret;\n", tmpstr); 363 name, tmpstr); 366 if (asprintf (&sname, "%s_S_Of", tmpstr) < 0 || sname == NULL) 372 tmpstr); 392 if (asprintf (&tname, "%s_tag", tmpstr) < 0 || tname == NULL) 431 fprintf (codefile, "size_t %s_oldret = ret;\n", tmpstr); 434 fprintf (codefile, "ret += %s_oldret;\n", tmpstr);
|
/freebsd-current/lib/libcam/ |
H A D | camlib.c | 116 char *tmpstr, *tmpstr2; local 138 tmpstr = newpath; 143 if (*tmpstr == '/') { 144 tmpstr2 = tmpstr; 145 tmpstr = strrchr(tmpstr2, '/'); 147 assert(tmpstr != NULL && *tmpstr != '\0'); 148 tmpstr++; 151 if (*tmpstr == '\0') { 162 if (*tmpstr 450 char tmpstr[256]; local [all...] |
/freebsd-current/usr.bin/systat/ |
H A D | devs.c | 214 char **tempstr, *tmpstr, *tmpstr1; local 229 tmpstr = tmpstr1 = strdup(args); 236 free(tmpstr); 279 char *cp, *tmpstr, *tmpstr1, *buffer; local 303 tmpstr = tmpstr1 = strdup(args); 341 free(tmpstr); 379 char tmpstr[80]; local 380 sprintf(tmpstr, "%s%d", dev_select[i].device_name, 383 " %5.5s", tmpstr);
|
H A D | iostat.c | 183 char tmpstr[32]; local 209 snprintf(tmpstr, sizeof(tmpstr), "%s%d", dev_select[i].device_name, 211 mvwaddstr(wnd, row, _col + 4, tmpstr); 224 char tmpstr[32]; local 233 snprintf(tmpstr, sizeof(tmpstr), "%s%d", dev_select[i].device_name, 236 tmpstr);
|
H A D | cmds.c | 49 char *cp, *tmpstr, *tmpstr1; local 52 tmpstr = tmpstr1 = strdup(cmd); 143 free(tmpstr);
|
H A D | iolat.c | 387 char tmpstr[32]; local 420 snprintf(tmpstr, sizeof(tmpstr), "%s%d", isp->dev_name, isp->unit); 421 mvwaddstr(wnd, row, _col + (COLWIDTH - strlen(tmpstr)) / 2, tmpstr); 452 char tmpstr[32]; local 454 fmt(lat, tmpstr, sizeof(tmpstr)); 465 mvwaddstr(wnd, y, x, tmpstr);
|
H A D | netcmds.c | 123 char *cp, *tmpstr, *tmpstr1; local 128 tmpstr = tmpstr1 = strdup(args); 159 free(tmpstr);
|
/freebsd-current/usr.sbin/bluetooth/hccontrol/ |
H A D | adv_data.c | 225 char* tmpstr; local 241 uuid_to_string(&uuid, &tmpstr, &ustatus); 243 strlcpy(buffer, tmpstr, size); 245 free(tmpstr);
|
/freebsd-current/sys/dev/mpi3mr/ |
H A D | mpi3mr_pci.c | 112 char tmpstr[80], tmpstr2[80]; local 118 snprintf(tmpstr, sizeof(tmpstr), "MPI3MR controller %d", 130 CTLFLAG_RD, 0, tmpstr); 173 char tmpstr[80]; local 189 snprintf(tmpstr, sizeof(tmpstr), "dev.mpi3mr.%d.debug_level", 191 TUNABLE_INT_FETCH(tmpstr, &sc->mpi3mr_debug); 193 snprintf(tmpstr, sizeof(tmpstr), "de [all...] |
/freebsd-current/libexec/bootpd/ |
H A D | dovend.c | 204 char *tmpstr = hp->hostname->string; 206 while (*tmpstr && (*tmpstr != '.')) { 207 tmpstr++;
|
H A D | readfile.c | 777 char tmpstr[MAXSTRINGLEN]; 908 len = sizeof(tmpstr); 909 (void) get_string(symbol, tmpstr, &len); 910 makelower(tmpstr); 914 if (!strcmp(htnamemap[i].name, tmpstr)) { 963 len = sizeof(tmpstr); 964 (void) get_string(symbol, tmpstr, &len); 965 if (!strncmp(tmpstr, "auto", 4)) { 968 if (sscanf(tmpstr, "%d", (int*)&timeoff) != 1) 1649 char tmpstr[MAXSTRINGLE 771 char tmpstr[MAXSTRINGLEN]; local 1633 char tmpstr[MAXSTRINGLEN]; local 1733 char tmpstr[MAXSTRINGLEN]; local [all...] |
/freebsd-current/sys/arm/nvidia/ |
H A D | tegra_usbphy.c | 584 char *tmpstr; local 588 rv = OF_getprop_alloc(node, name, (void **)&tmpstr); 593 if (strcmp(tmpstr, "utmi") == 0) 595 else if (strcmp(tmpstr, "ulpi") == 0) 598 device_printf(dev, "Unsupported phy type: %s\n", tmpstr); 599 OF_prop_free(tmpstr); 606 char *tmpstr; local 610 rv = OF_getprop_alloc(node, name, (void **)&tmpstr); 615 if (strcmp(tmpstr, "device") == 0) 617 else if (strcmp(tmpstr, "hos [all...] |
/freebsd-current/sys/dev/mpr/ |
H A D | mpr.c | 1707 char tmpstr[80], mpr_debug[80]; local 1744 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.debug_level", 1747 if (TUNABLE_STR_FETCH(tmpstr, mpr_debug, 80) != 0) 1750 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.disable_msix", 1752 TUNABLE_INT_FETCH(tmpstr, &sc->disable_msix); 1754 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.disable_msi", 1756 TUNABLE_INT_FETCH(tmpstr, 1809 char tmpstr[80], tmpstr2[80]; local [all...] |
/freebsd-current/sys/dev/mps/ |
H A D | mps.c | 1550 char tmpstr[80], mps_debug[80]; local 1587 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.debug_level", 1590 if (TUNABLE_STR_FETCH(tmpstr, mps_debug, 80) != 0) 1593 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.disable_msix", 1595 TUNABLE_INT_FETCH(tmpstr, &sc->disable_msix); 1597 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.disable_msi", 1599 TUNABLE_INT_FETCH(tmpstr, 1653 char tmpstr[80], tmpstr2[80]; local [all...] |
/freebsd-current/contrib/ofed/infiniband-diags/src/ |
H A D | perfquery.c | 815 char *tmpstr; local 873 tmpstr = strtok(argv[1], ","); 874 while (tmpstr) { 875 ports[ports_count++] = strtoul(tmpstr, 0, 0); 876 tmpstr = strtok(NULL, ","); 880 else if ((tmpstr = strchr(argv[1], '-'))) { 883 *tmpstr = '\0'; 884 tmpstr++; 887 pmax = strtoul(tmpstr, 0, 0);
|
/freebsd-current/sys/cam/ctl/ |
H A D | ctl_backend_ramdisk.c | 1131 char tmpstr[32]; local 1248 snprintf(tmpstr, sizeof(tmpstr), "MYSERIAL%04d", 1250 strncpy((char *)cbe_lun->serial_num, tmpstr, 1251 MIN(sizeof(cbe_lun->serial_num), sizeof(tmpstr))); 1254 strncpy((char *)params->serial_num, tmpstr, 1255 MIN(sizeof(params->serial_num), sizeof(tmpstr))); 1262 snprintf(tmpstr, sizeof(tmpstr), "MYDEVID%04d", softc->num_luns); 1263 strncpy((char *)cbe_lun->device_id, tmpstr, [all...] |