/freebsd-11.0-release/contrib/openpam/lib/libpam/ |
H A D | openpam_straddch.c | 55 char *tmpstr; local 60 if ((tmpstr = malloc(tmpsize)) == NULL) { 65 *str = tmpstr; 71 if ((tmpstr = realloc(*str, tmpsize)) == NULL) { 77 *str = tmpstr;
|
/freebsd-11.0-release/contrib/ncurses/ncurses/widechar/ |
H A D | lib_get_wstr.c | 94 wint_t *tmpstr = str; local 157 if (tmpstr > oldstr) { 158 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, oldecho); 161 while (tmpstr > oldstr) { 162 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, oldecho); 167 } else if (maxlen >= 0 && tmpstr - oldstr >= maxlen) { 170 *tmpstr++ = ch; 171 *tmpstr [all...] |
/freebsd-11.0-release/sbin/camcontrol/ |
H A D | zone.c | 143 char tmpstr[80]; local 246 snprintf(tmpstr, sizeof(tmpstr), "Conventional"); 250 snprintf(tmpstr, sizeof(tmpstr), "Seq%c%s", 256 snprintf(tmpstr, sizeof(tmpstr), "Zone%ctype%c%#x", 261 printf("%*s, ", field_widths[ZONE_FW_TYPE], tmpstr); 265 snprintf(tmpstr, sizeof(tmpstr), "NW [all...] |
H A D | attrib.c | 192 char *tmpstr; local 207 while ((tmpstr = strsep(&optarg, ",")) != NULL) { 210 sizeof(output_format_map[0]), tmpstr, 220 "ambiguous" : "invalid", tmpstr);
|
/freebsd-11.0-release/usr.sbin/zonectl/ |
H A D | zonectl.c | 227 char tmpstr[80]; local 304 snprintf(tmpstr, sizeof(tmpstr), "Conventional"); 308 snprintf(tmpstr, sizeof(tmpstr), "Seq%c%s", 314 snprintf(tmpstr, sizeof(tmpstr), "Zone%ctype%c%#x", 318 printf("%*s, ", field_widths[ZONE_FW_TYPE], tmpstr); 322 snprintf(tmpstr, sizeof(tmpstr), "NW [all...] |
/freebsd-11.0-release/crypto/heimdal/lib/asn1/ |
H A D | gen_decode.c | 212 const char *forwstr, const char *tmpstr, const char *dertype, 420 tmpstr, 421 tmpstr, 422 tmpstr, 423 tmpstr, 435 tmpstr, 436 tmpstr, tmpstr, name, 437 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) 162 "%s = 0;\n", tmpstr, variable, variable); 164 fprintf (codefile, "ret += %s_oldret;\n", tmpstr); 193 tmpstr, variable, variable); 197 "%s = 0;\n", tmpstr, variable, variable); 200 if (asprintf (&sname, "%s_S_Of", tmpstr) < 0 || sname == NULL) 204 variable, tmpstr); 209 "}\n", variable, tmpstr); 249 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 277 fprintf (codefile, "size_t %s_oldret HEIMDAL_UNUSED_ATTRIBUTE = ret;\n", tmpstr); 280 fprintf (codefile, "ret += %s_oldret;\n", tmpstr); 361 name, tmpstr); 364 if (asprintf (&sname, "%s_S_Of", tmpstr) < 0 || sname == NULL) 370 tmpstr); 390 if (asprintf (&tname, "%s_tag", tmpstr) < 0 || tname == NULL) 429 fprintf (codefile, "size_t %s_oldret = ret;\n", tmpstr); 432 fprintf (codefile, "ret += %s_oldret;\n", tmpstr);
|
/freebsd-11.0-release/lib/libcam/ |
H A D | camlib.c | 118 char *tmpstr, *tmpstr2; local 135 tmpstr = newpath; 140 if (*tmpstr == '/') { 141 tmpstr2 = tmpstr; 142 tmpstr = strrchr(tmpstr2, '/'); 143 if ((tmpstr != NULL) && (*tmpstr != '\0')) 144 tmpstr++; 147 if (*tmpstr == '\0') { 158 if (*tmpstr 443 char tmpstr[256]; local [all...] |
/freebsd-11.0-release/crypto/openssl/crypto/asn1/ |
H A D | a_time.c | 81 ASN1_STRING tmpstr; 86 tmpstr = *(ASN1_STRING *)a; 87 len = tmpstr.length; 88 ebcdic2ascii(tmp, tmpstr.data, 90 tmpstr.data = tmp; 91 a = (ASN1_GENERALIZEDTIME *)&tmpstr;
|
H A D | a_gentm.c | 78 ASN1_STRING tmpstr = *(ASN1_STRING *)a; 80 len = tmpstr.length; 81 ebcdic2ascii(tmp, tmpstr.data, (len >= sizeof tmp) ? sizeof tmp : len); 82 tmpstr.data = tmp; 84 a = (ASN1_GENERALIZEDTIME *)&tmpstr;
|
/freebsd-11.0-release/sys/nfs/ |
H A D | nfs_fha.c | 54 char tmpstr[128]; local 72 snprintf(tmpstr, sizeof(tmpstr), "vfs.%s.fha.enable", 74 TUNABLE_INT_FETCH(tmpstr, &softc->ctls.enable); 75 snprintf(tmpstr, sizeof(tmpstr), "vfs.%s.fha.bin_shift", 77 TUNABLE_INT_FETCH(tmpstr, &softc->ctls.bin_shift); 78 snprintf(tmpstr, sizeof(tmpstr), "vfs.%s.fha.max_nfsds_per_fh", 80 TUNABLE_INT_FETCH(tmpstr, [all...] |
/freebsd-11.0-release/usr.bin/systat/ |
H A D | devs.c | 188 char **tempstr, *tmpstr, *tmpstr1; local 198 tmpstr = tmpstr1 = strdup(args); 205 free(tmpstr); 248 char *cp, *tmpstr, *tmpstr1, *buffer; local 267 tmpstr = tmpstr1 = strdup(args); 305 free(tmpstr);
|
H A D | cmds.c | 53 char *cp, *tmpstr, *tmpstr1; local 56 tmpstr = tmpstr1 = strdup(cmd); 147 free(tmpstr);
|
H A D | iostat.c | 194 char tmpstr[10]; local 220 sprintf(tmpstr, "%s%d", dev_select[i].device_name, 222 mvwaddstr(wnd, row, _col + 4, tmpstr); 235 char tmpstr[10]; local 244 sprintf(tmpstr, "%s%d", dev_select[i].device_name, 247 tmpstr);
|
H A D | netcmds.c | 127 char *cp, *tmpstr, *tmpstr1; local 132 tmpstr = tmpstr1 = strdup(args); 163 free(tmpstr);
|
/freebsd-11.0-release/contrib/amd/amd/ |
H A D | am_ops.c | 314 char *tmpstr; /* temp */ local 326 for (tmpstr = strtok(s1, ","); 327 tmpstr; 328 tmpstr = strtok(NULL, ",")) { 330 xstrlcpy(oneopt, tmpstr, 80); 342 xstrlcat(newstr, tmpstr, len); 344 xstrlcpy(newstr, tmpstr, len);
|
/freebsd-11.0-release/libexec/bootpd/ |
H A D | dovend.c | 218 char *tmpstr = hp->hostname->string; 220 while (*tmpstr && (*tmpstr != '.')) { 221 tmpstr++;
|
H A D | readfile.c | 796 char tmpstr[MAXSTRINGLEN]; 927 len = sizeof(tmpstr); 928 (void) get_string(symbol, tmpstr, &len); 929 makelower(tmpstr); 933 if (!strcmp(htnamemap[i].name, tmpstr)) { 982 len = sizeof(tmpstr); 983 (void) get_string(symbol, tmpstr, &len); 984 if (!strncmp(tmpstr, "auto", 4)) { 987 if (sscanf(tmpstr, "%d", (int*)&timeoff) != 1) 1686 char tmpstr[MAXSTRINGLE 790 char tmpstr[MAXSTRINGLEN]; local 1670 char tmpstr[MAXSTRINGLEN]; local 1772 char tmpstr[MAXSTRINGLEN]; local [all...] |
/freebsd-11.0-release/usr.sbin/nandsim/ |
H A D | nandsim_cfgparse.c | 185 char *tmp, *tmpstr, *origstr; local 199 tmpstr = (char *)strtok(array, ","); 201 while (tmpstr != NULL) { 203 if ((tmp = strchr(tmpstr, '-')) != NULL) { 205 if (convert_arguint(tmpstr, &from) || 213 if (convert_arguint(tmpstr, &from)) { 219 tmpstr = (char *)strtok(NULL, ","); 226 tmpstr = (char *)strtok(origstr, ","); 230 while (tmpstr != NULL) { 232 if ((tmp = strchr(tmpstr, ' [all...] |
/freebsd-11.0-release/sys/cam/ctl/ |
H A D | ctl_backend_ramdisk.c | 500 char tmpstr[32]; local 580 snprintf(tmpstr, sizeof(tmpstr), "MYSERIAL%4d", 582 strncpy((char *)cbe_lun->serial_num, tmpstr, 583 MIN(sizeof(cbe_lun->serial_num), sizeof(tmpstr))); 586 strncpy((char *)params->serial_num, tmpstr, 587 MIN(sizeof(params->serial_num), sizeof(tmpstr))); 594 snprintf(tmpstr, sizeof(tmpstr), "MYDEVID%4d", softc->num_luns); 595 strncpy((char *)cbe_lun->device_id, tmpstr, [all...] |
/freebsd-11.0-release/sys/arm/nvidia/ |
H A D | tegra_usbphy.c | 581 char *tmpstr; local 585 rv = OF_getprop_alloc(node, name, 1, (void **)&tmpstr); 590 if (strcmp(tmpstr, "utmi") == 0) 592 else if (strcmp(tmpstr, "ulpi") == 0) 595 device_printf(dev, "Unsupported phy type: %s\n", tmpstr); 596 OF_prop_free(tmpstr); 603 char *tmpstr; local 607 rv = OF_getprop_alloc(node, name, 1, (void **)&tmpstr); 612 if (strcmp(tmpstr, "device") == 0) 614 else if (strcmp(tmpstr, "hos [all...] |
/freebsd-11.0-release/usr.sbin/bhyve/ |
H A D | pci_fbuf.c | 224 char *tmpstr; local 257 tmpstr = strsep(&config, ":"); 259 sc->rfb_port = atoi(tmpstr); 262 sc->rfb_host = tmpstr;
|
/freebsd-11.0-release/sys/dev/mpr/ |
H A D | mpr.c | 1369 char tmpstr[80]; local 1392 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.debug_level", 1394 TUNABLE_INT_FETCH(tmpstr, &sc->mpr_debug); 1396 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.disable_msix", 1398 TUNABLE_INT_FETCH(tmpstr, &sc->disable_msix); 1400 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.disable_msi", 1402 TUNABLE_INT_FETCH(tmpstr, 1431 char tmpstr[80], tmpstr2[80]; local [all...] |
/freebsd-11.0-release/sys/dev/mps/ |
H A D | mps.c | 1346 char tmpstr[80]; local 1369 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.debug_level", 1371 TUNABLE_INT_FETCH(tmpstr, &sc->mps_debug); 1373 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.disable_msix", 1375 TUNABLE_INT_FETCH(tmpstr, &sc->disable_msix); 1377 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.disable_msi", 1379 TUNABLE_INT_FETCH(tmpstr, 1408 char tmpstr[80], tmpstr2[80]; local [all...] |