Searched refs:tmpstr (Results 1 - 25 of 48) sorted by relevance

12

/freebsd-11-stable/contrib/openpam/lib/libpam/
H A Dopenpam_straddch.c55 char *tmpstr; local
60 if ((tmpstr = malloc(tmpsize)) == NULL) {
65 *str = tmpstr;
71 if ((tmpstr = realloc(*str, tmpsize)) == NULL) {
77 *str = tmpstr;
/freebsd-11-stable/contrib/ncurses/ncurses/widechar/
H A Dlib_get_wstr.c94 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-stable/usr.sbin/zonectl/
H A Dzonectl.c227 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-stable/sbin/camcontrol/
H A Dzone.c143 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 Dattrib.c193 char *tmpstr; local
208 while ((tmpstr = strsep(&optarg, ",")) != NULL) {
211 sizeof(output_format_map[0]), tmpstr,
221 "ambiguous" : "invalid", tmpstr);
/freebsd-11-stable/crypto/heimdal/lib/asn1/
H A Dgen_decode.c212 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 Dgen_length.c64 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 Dgen_encode.c108 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-stable/usr.sbin/bhyve/
H A Dnet_utils.c40 char *tmpstr; local
43 tmpstr = strsep(&mac_str,"=");
45 if ((mac_str != NULL) && (!strcmp(tmpstr,"mac"))) {
H A Dpci_fbuf.c229 char *tmpstr; local
259 tmpstr = strsep(&config, "]");
261 if (tmpstr[0] == '[')
262 tmpstr++;
263 sc->rfb_host = tmpstr;
273 config = tmpstr;
274 tmpstr = strsep(&config, ":");
276 sc->rfb_port = atoi(tmpstr);
279 sc->rfb_host = tmpstr;
/freebsd-11-stable/lib/libcam/
H A Dcamlib.c118 char *tmpstr, *tmpstr2; local
137 tmpstr = newpath;
142 if (*tmpstr == '/') {
143 tmpstr2 = tmpstr;
144 tmpstr = strrchr(tmpstr2, '/');
146 assert(tmpstr != NULL && *tmpstr != '\0');
147 tmpstr++;
150 if (*tmpstr == '\0') {
161 if (*tmpstr
449 char tmpstr[256]; local
[all...]
/freebsd-11-stable/crypto/openssl/crypto/asn1/
H A Da_time.c81 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 Da_gentm.c78 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-stable/usr.bin/systat/
H A Ddevs.c218 char **tempstr, *tmpstr, *tmpstr1; local
228 tmpstr = tmpstr1 = strdup(args);
235 free(tmpstr);
278 char *cp, *tmpstr, *tmpstr1, *buffer; local
297 tmpstr = tmpstr1 = strdup(args);
335 free(tmpstr);
373 char tmpstr[80]; local
374 sprintf(tmpstr, "%s%d", dev_select[i].device_name,
377 " %5.5s", tmpstr);
H A Dcmds.c53 char *cp, *tmpstr, *tmpstr1; local
56 tmpstr = tmpstr1 = strdup(cmd);
147 free(tmpstr);
H A Diostat.c186 char tmpstr[10]; local
212 sprintf(tmpstr, "%s%d", dev_select[i].device_name,
214 mvwaddstr(wnd, row, _col + 4, tmpstr);
227 char tmpstr[10]; local
236 sprintf(tmpstr, "%s%d", dev_select[i].device_name,
239 tmpstr);
H A Dnetcmds.c127 char *cp, *tmpstr, *tmpstr1; local
132 tmpstr = tmpstr1 = strdup(args);
163 free(tmpstr);
/freebsd-11-stable/contrib/amd/amd/
H A Dam_ops.c324 char *tmpstr; /* temp */ local
336 for (tmpstr = strtok(s1, ",");
337 tmpstr;
338 tmpstr = strtok(NULL, ",")) {
340 xstrlcpy(oneopt, tmpstr, sizeof(oneopt));
352 xstrlcat(newstr, tmpstr, len);
354 xstrlcpy(newstr, tmpstr, len);
/freebsd-11-stable/libexec/bootpd/
H A Ddovend.c218 char *tmpstr = hp->hostname->string;
220 while (*tmpstr && (*tmpstr != '.')) {
221 tmpstr++;
H A Dreadfile.c796 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-stable/usr.sbin/nandsim/
H A Dnandsim_cfgparse.c187 char *tmp, *tmpstr, *origstr; local
201 tmpstr = (char *)strtok(array, ",");
203 while (tmpstr != NULL) {
205 if ((tmp = strchr(tmpstr, '-')) != NULL) {
207 if (convert_arguint(tmpstr, &from) ||
215 if (convert_arguint(tmpstr, &from)) {
221 tmpstr = (char *)strtok(NULL, ",");
228 tmpstr = (char *)strtok(origstr, ",");
232 while (tmpstr != NULL) {
234 if ((tmp = strchr(tmpstr, '
[all...]
H A Dnandsim.c187 char *tmpstr; local
203 tmpstr = (char *)strtok(str, ":");
204 if ((tmpstr != NULL) && (*tmpstr != '\0')) {
205 if (convert_arguint(tmpstr, &num) != 0)
210 "value must lie between 0 and 3!", tmpstr);
215 tmpstr = (char *)strtok(NULL, ":");
217 if ((tmpstr != NULL) && (*tmpstr != '\0')) {
218 if (convert_arguint(tmpstr,
[all...]
/freebsd-11-stable/sys/arm/nvidia/
H A Dtegra_usbphy.c593 char *tmpstr; local
597 rv = OF_getprop_alloc(node, name, 1, (void **)&tmpstr);
602 if (strcmp(tmpstr, "utmi") == 0)
604 else if (strcmp(tmpstr, "ulpi") == 0)
607 device_printf(dev, "Unsupported phy type: %s\n", tmpstr);
608 OF_prop_free(tmpstr);
615 char *tmpstr; local
619 rv = OF_getprop_alloc(node, name, 1, (void **)&tmpstr);
624 if (strcmp(tmpstr, "device") == 0)
626 else if (strcmp(tmpstr, "hos
[all...]
/freebsd-11-stable/sys/dev/mpr/
H A Dmpr.c1496 char tmpstr[80]; local
1521 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.debug_level",
1523 TUNABLE_INT_FETCH(tmpstr, &sc->mpr_debug);
1525 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.disable_msix",
1527 TUNABLE_INT_FETCH(tmpstr, &sc->disable_msix);
1529 snprintf(tmpstr, sizeof(tmpstr), "dev.mpr.%d.disable_msi",
1531 TUNABLE_INT_FETCH(tmpstr,
1564 char tmpstr[80], tmpstr2[80]; local
[all...]
/freebsd-11-stable/sys/dev/mps/
H A Dmps.c1355 char tmpstr[80]; local
1380 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.debug_level",
1382 TUNABLE_INT_FETCH(tmpstr, &sc->mps_debug);
1384 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.disable_msix",
1386 TUNABLE_INT_FETCH(tmpstr, &sc->disable_msix);
1388 snprintf(tmpstr, sizeof(tmpstr), "dev.mps.%d.disable_msi",
1390 TUNABLE_INT_FETCH(tmpstr,
1423 char tmpstr[80], tmpstr2[80]; local
[all...]

Completed in 147 milliseconds

12